/* ============================================
   Helveteck — Feuille de style partagée
   Palette : navy profond + accent or
   ============================================ */

:root {
  --navy: #0d1729;
  --navy-2: #12203b;
  --navy-3: #1a2c4d;
  --gold: #e9b96e;
  --gold-2: #d9a355;
  --ink: #1c2430;
  --ink-soft: #4a5568;
  --paper: #ffffff;
  --paper-soft: #f4f6fa;
  --line: #e4e9f0;
  --white: #ffffff;
  --radius: 10px;
  --max: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-2);
  margin-bottom: 14px;
}
.kicker::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--gold-2);
  display: inline-block;
}
.kicker.on-dark { color: var(--gold); }

h1, h2, h3, h4 { margin: 0; color: var(--navy); font-weight: 700; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-2) 100%);
  color: var(--navy);
}
.btn-gold:hover { box-shadow: 0 8px 20px rgba(217,163,85,.35); }
.btn-outline-dark {
  border-color: rgba(255,255,255,.35);
  color: var(--white);
  background: transparent;
}
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-light {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline-light:hover { background: var(--navy); color: var(--white); }

/* ---------- Header ---------- */
header.site {
  background: var(--navy-2);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
header.site .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max);
  margin: 0 auto;
  gap: 24px;
}
.brand { display: flex; flex-direction: column; color: var(--white); }
.brand .name { font-size: 22px; font-weight: 700; letter-spacing: .5px; }
.brand .baseline { font-size: 9.5px; letter-spacing: 3px; color: rgba(255,255,255,.55); margin-top: 2px; }

nav.main { display: flex; gap: 30px; }
nav.main a {
  color: rgba(255,255,255,.8);
  font-size: 14.5px;
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
nav.main a:hover, nav.main a.active { color: var(--white); border-color: var(--gold); }

.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 26px; cursor: pointer; }

@media (max-width: 900px) {
  nav.main { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-2); flex-direction: column; padding: 10px 24px 20px; gap: 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
  nav.main.open { display: flex; }
  nav.main a { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-toggle { display: block; }
  header.site .cta-desktop { display: none; }
}

/* ---------- Page hero (pages secondaires) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy-3) 100%);
  color: var(--white);
  padding: 64px 0 56px;
}
.page-hero h1 { color: var(--white); font-size: 38px; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 16px; max-width: 640px; margin: 0; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section.tight { padding: 48px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: 30px; line-height: 1.25; }
.section-head .lead { color: var(--ink-soft); max-width: 420px; font-size: 15px; }

.bg-soft { background: var(--paper-soft); }
.bg-navy { background: var(--navy-2); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.card.dark {
  background: var(--navy-2);
  color: var(--white);
  border-color: transparent;
  position: relative;
}
.card .icon {
  width: 42px; height: 42px;
  border-radius: 9px;
  background: var(--paper-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card.dark .icon { background: rgba(255,255,255,.08); }
.card .tag {
  font-size: 10.5px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 700;
  color: var(--ink-soft);
}
.card.dark .tag { color: rgba(255,255,255,.65); }
.card h3 { font-size: 17px; margin: 14px 0 10px; }
.card.dark h3 { color: var(--white); }
.card p.desc { color: var(--ink-soft); font-size: 14px; margin-bottom: 18px; min-height: 42px; }
.card.dark p.desc { color: rgba(255,255,255,.72); }
.card .price { font-size: 28px; font-weight: 700; color: var(--navy); margin-bottom: 18px; }
.card.dark .price { color: var(--gold); }
.card .price sup { font-size: 13px; font-weight: 500; }
.card ul.feat li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13.8px; padding: 6px 0; color: var(--ink);
}
.card.dark ul.feat li { color: rgba(255,255,255,.9); }
.card ul.feat li::before { content: '✓'; color: var(--gold-2); font-weight: 700; }
.card.dark ul.feat li::before { color: var(--gold); }
.badge-pop {
  position: absolute; top: -14px; right: 24px;
  background: var(--gold); color: var(--navy);
  font-size: 11.5px; font-weight: 700;
  padding: 6px 14px; border-radius: 999px;
}

/* ---------- Tables (offres détaillées) ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.compare { width: 100%; border-collapse: collapse; font-size: 13.8px; min-width: 640px; }
table.compare th, table.compare td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; }
table.compare thead th { background: var(--navy-2); color: var(--white); font-size: 12.5px; }
table.compare th.plan { text-align: center; }
table.compare td.plan { text-align: center; font-weight: 600; }
table.compare tbody tr:nth-child(even) td { background: var(--paper-soft); }
table.compare td.feat-name { font-weight: 600; color: var(--navy); white-space: nowrap; }
table.compare td.yes { color: #1a7a4c; font-weight: 700; text-align: center; }
table.compare td.no { color: #b7bfcb; text-align: center; }
table.compare tr.price-row td { font-weight: 700; font-size: 15px; }
table.compare tr.price-row td.plan { color: var(--navy); }

/* ---------- Portfolio placeholders ---------- */
.pf-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}
.pf-thumb {
  height: 190px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.85);
  position: relative;
}
.pf-thumb .sector { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; }
.pf-thumb svg { opacity: .9; }
.pf-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-thumb.has-photo { color: #fff; align-items: flex-end; justify-content: flex-start; padding: 14px 16px; }
.pf-thumb.has-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13,23,41,.82) 0%, rgba(13,23,41,.05) 60%); }
.pf-thumb.has-photo .sector { position: relative; z-index: 1; }
.pf-body { padding: 18px 20px; }
.pf-body .sector-label { font-size: 12px; color: var(--gold-2); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.pf-body h3 { font-size: 15.5px; }
.pf-body p { font-size: 13px; color: var(--ink-soft); margin: 6px 0 0; }

/* ---------- Testimonial placeholder ---------- */
.testi-placeholder {
  border: 1.5px dashed rgba(255,255,255,.35);
  border-radius: var(--radius);
  padding: 26px 28px;
  color: rgba(255,255,255,.8);
  font-size: 14.5px;
  font-style: italic;
}

/* ---------- Form ---------- */
form.contact-form { display: grid; gap: 16px; }
form.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { form.contact-form .row2 { grid-template-columns: 1fr; } }
form.contact-form label { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; display: block; }
form.contact-form input, form.contact-form select, form.contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: 14.5px; color: var(--ink); background: var(--white);
}
form.contact-form textarea { resize: vertical; min-height: 120px; }
form.contact-form input:focus, form.contact-form select:focus, form.contact-form textarea:focus {
  outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(217,163,85,.18);
}

/* ---------- Info tiles ---------- */
.info-tile { display: flex; gap: 14px; align-items: flex-start; }
.info-tile .icon-sm {
  width: 38px; height: 38px; border-radius: 8px; background: var(--paper-soft);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.info-tile h4 { font-size: 14.5px; margin-bottom: 3px; }
.info-tile p, .info-tile a { font-size: 13.8px; color: var(--ink-soft); }

/* ---------- Footer ---------- */
footer.site {
  background: var(--navy-2);
  color: rgba(255,255,255,.7);
  padding: 56px 0 0;
}
footer.site .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1fr;
  gap: 28px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 900px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
footer.site .brand .name { color: var(--white); font-size: 20px; font-weight: 700; }
footer.site .brand .baseline { font-size: 9.5px; letter-spacing: 3px; color: rgba(255,255,255,.45); margin-top: 4px; }
footer.site h5 { color: var(--white); font-size: 13px; margin-bottom: 14px; letter-spacing: .5px; }
footer.site ul li { margin-bottom: 9px; font-size: 13.8px; }
footer.site ul li a:hover { color: var(--gold); }
footer.site .bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-size: 12.5px; color: rgba(255,255,255,.45); flex-wrap: wrap; gap: 10px;
}
footer.site .bottom a:hover { color: var(--gold); }

/* ---------- Misc utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.note-box {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 13.6px;
  color: var(--ink-soft);
}
