/* ============================================================
   Office Notarial Cosquer & Le Haillan — Design System
   ============================================================ */

:root {
  /* Palette */
  --navy:      #16233f;
  --navy-900:  #0f1a30;
  --navy-700:  #24365a;
  --gold:      #b08d57;
  --gold-soft: #c9a97a;
  --gold-deep: #96733f;
  --cream:     #faf7f1;
  --cream-2:   #f2ede3;
  --ink:       #1f2733;
  --muted:     #5c6577;
  --line:      #e4ddd0;
  --white:     #ffffff;

  /* Type */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;

  /* Spacing scale */
  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px;
  --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;

  --radius: 4px;
  --shadow-sm: 0 4px 16px rgba(22,35,63,.06);
  --shadow-md: 0 14px 40px rgba(22,35,63,.10);
  --shadow-lg: 0 30px 70px rgba(22,35,63,.16);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.container { width: min(1160px, 90%); margin-inline: auto; }

img, svg, iframe { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* ---- Typography ---- */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.14; color: var(--navy); letter-spacing: -.01em; }

.section-eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: var(--s3);
}
.section-eyebrow.light { color: var(--gold-soft); }

.section-title { font-size: clamp(2rem, 3.6vw, 2.85rem); margin-bottom: var(--s3); letter-spacing: -.015em; }
.section-title.light { color: var(--white); }

.section-head.center { text-align: center; max-width: 640px; margin: 0 auto var(--s7); }
.section-head.center .section-eyebrow { margin-bottom: var(--s2); }
.section-intro { color: var(--muted); font-size: 1.06rem; line-height: 1.72; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 15px 30px; font-size: .92rem; font-weight: 500;
  letter-spacing: .03em; border-radius: var(--radius); cursor: pointer;
  border: 1px solid transparent; transition: all .35s var(--ease);
  font-family: var(--sans);
}
.btn-gold {
  background: var(--gold); color: #fff; box-shadow: 0 10px 26px rgba(176,141,87,.32);
}
.btn-gold:hover { background: var(--gold-deep); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(176,141,87,.42); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn.full { width: 100%; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 22px 0; transition: all .4s var(--ease);
}
.site-header.scrolled {
  padding: 12px 0; background: rgba(250,247,241,.92);
  backdrop-filter: blur(14px); box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  display: grid; place-items: center; width: 46px; height: 46px;
  font-family: var(--serif); font-weight: 700; font-size: 1rem; letter-spacing: .5px;
  color: var(--gold); border: 1.5px solid var(--gold); border-radius: 3px;
  transition: color .4s, border-color .4s;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.28rem; font-weight: 600; color: #fff; transition: color .4s; }
.brand-sub { font-size: .64rem; letter-spacing: .28em; text-transform: uppercase; color: rgba(255,255,255,.72); transition: color .4s; }

.site-header.scrolled .brand-name { color: var(--navy); }
.site-header.scrolled .brand-sub { color: var(--muted); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav > a, .nav-drop > .nav-drop-toggle { font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.9); position: relative; transition: color .3s; }
.nav a:not(.nav-cta):not(.dropdown-link)::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 1.5px;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav a:not(.nav-cta):not(.dropdown-link):hover::after { width: 100%; }
.site-header.scrolled .nav > a,
.site-header.scrolled .nav-drop > .nav-drop-toggle { color: var(--navy); }
.nav-cta {
  padding: 10px 22px; border: 1px solid var(--gold); border-radius: var(--radius);
  color: var(--gold) !important; font-weight: 500;
}
.nav-cta:hover { background: var(--gold); color: #fff !important; }

/* ---- Header dropdown "Domaines" ---- */
.nav-drop { position: relative; }
.nav-drop-toggle {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  background: none; border: 0; font-family: var(--sans); font-size: .9rem; font-weight: 500;
  color: rgba(255,255,255,.9); padding: 0; letter-spacing: inherit; transition: color .3s;
}
.nav-drop-toggle .caret {
  width: 8px; height: 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .35s var(--ease); opacity: .8;
}
.nav-drop:hover .nav-drop-toggle .caret,
.nav-drop.open .nav-drop-toggle .caret { transform: rotate(-135deg) translateY(-1px); }
.nav-drop:hover .nav-drop-toggle { color: var(--gold-soft); }
.site-header.scrolled .nav-drop:hover .nav-drop-toggle,
.site-header.solid .nav-drop:hover .nav-drop-toggle { color: var(--gold-deep); }

.nav-menu {
  position: absolute; top: calc(100% + 16px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 264px; background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--shadow-md); padding: 10px; display: grid; gap: 2px;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .28s var(--ease), transform .28s var(--ease);
  z-index: 120;
}
.nav-menu::before {
  content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
}
.nav-drop:hover .nav-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dropdown-link {
  display: flex; align-items: center; gap: 13px; padding: 10px 12px; border-radius: 6px;
  color: var(--navy) !important; font-size: .9rem; font-weight: 500; transition: background .25s, color .25s;
}
.dropdown-link:hover { background: var(--cream-2); }
.dropdown-link .dl-ico {
  width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%;
  background: rgba(176,141,87,.1); color: var(--gold); transition: background .25s, color .25s;
}
.dropdown-link .dl-ico svg { width: 18px; height: 18px; }
.dropdown-link:hover .dl-ico { background: var(--gold); color: #fff; }
.dropdown-link .dl-text { display: flex; flex-direction: column; line-height: 1.25; }
.dropdown-link .dl-sub { font-size: .74rem; font-weight: 400; color: var(--muted); }
.dropdown-link.active { color: var(--gold-deep) !important; }
.dropdown-link.active .dl-ico { background: var(--gold); color: #fff; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { width: 26px; height: 2px; background: #fff; transition: .3s; }
.site-header.scrolled .burger span { background: var(--navy); }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 80% -10%, #2a3d63 0%, transparent 55%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 55%, var(--navy-700) 100%);
  transform: scale(1.05);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(80% 80% at 70% 20%, #000 0%, transparent 75%);
}
.hero-overlay {
  position: absolute; right: -8%; top: 50%; transform: translateY(-50%);
  width: 620px; height: 620px; border: 1px solid rgba(176,141,87,.25); border-radius: 50%;
}
.hero-overlay::before {
  content: ''; position: absolute; inset: 70px; border: 1px solid rgba(176,141,87,.18); border-radius: 50%;
}
.hero-content { position: relative; z-index: 2; padding: 130px 0 96px; max-width: 740px; }
.hero-eyebrow {
  font-size: .76rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: var(--s4); font-weight: 500;
}
.hero-title { font-size: clamp(2.6rem, 5.6vw, 4.4rem); color: #fff; margin-bottom: var(--s4); font-weight: 500; letter-spacing: -.02em; line-height: 1.08; }
.hero-title em { font-style: italic; color: var(--gold-soft); }
.hero-lead { font-size: 1.16rem; color: rgba(255,255,255,.8); max-width: 560px; margin-bottom: 0; font-weight: 300; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: var(--s5); }

.scroll-cue { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 3; }
.scroll-cue span {
  display: block; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 20px; position: relative;
}
.scroll-cue span::after {
  content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--gold); border-radius: 4px; animation: scrolldot 1.8s var(--ease) infinite;
}
@keyframes scrolldot { 0%{opacity:0;top:8px} 40%{opacity:1} 80%{opacity:0;top:22px} 100%{opacity:0} }

/* ============================================================
   Stats
   ============================================================ */
.stats { background: var(--navy); padding: var(--s6) 0; position: relative; margin-top: -1px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); text-align: center; }
.stat { display: flex; flex-direction: column; align-items: center; position: relative; }
.stat:not(:last-child)::after {
  content: ''; position: absolute; right: calc(var(--s4) / -2); top: 10%; height: 80%; width: 1px; background: rgba(255,255,255,.12);
}
.stat-num { font-family: var(--serif); font-size: 3.2rem; font-weight: 600; color: var(--gold-soft); line-height: 1; }
.stat-plus { font-family: var(--serif); font-size: 2rem; color: var(--gold-soft); margin-top: -6px; }
.stat-label { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-top: var(--s2); }

/* ============================================================
   L'office
   ============================================================ */
.office { padding: var(--s8) 0; }
.office-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--s7); align-items: center; }
.office-visual { position: relative; }
.office-panel {
  background: linear-gradient(160deg, var(--navy) 0%, #1d2c4f 100%);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: var(--s5); color: #fff; position: relative; overflow: hidden;
}
.office-panel::before {
  content: ''; position: absolute; top: -60px; right: -60px; width: 220px; height: 220px;
  border: 1px solid rgba(176,141,87,.35); border-radius: 50%;
}
.office-panel::after {
  content: ''; position: absolute; top: -30px; right: -30px; width: 220px; height: 220px;
  border: 1px solid rgba(176,141,87,.18); border-radius: 50%;
}
.office-panel-monogram {
  font-family: var(--serif); font-size: 1.15rem; letter-spacing: .12em;
  color: var(--gold-soft); border: 1px solid rgba(176,141,87,.5);
  width: 64px; height: 64px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; margin-bottom: var(--s3);
}
.office-panel-title {
  font-family: var(--serif); font-size: 1.7rem; line-height: 1.2; margin-bottom: var(--s4);
}
.office-panel-facts { list-style: none; display: grid; gap: 14px; }
.office-panel-facts li {
  font-size: .95rem; color: rgba(255,255,255,.85); line-height: 1.5;
  padding-left: 0;
}
.office-panel-facts li span {
  display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 2px;
}
.office-panel-facts a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(176,141,87,.5); }
.office-copy p { color: var(--muted); margin-bottom: var(--s3); font-size: 1.05rem; }
.office-copy strong { color: var(--navy); font-weight: 600; }
.values { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2) var(--s4); margin-top: var(--s4); }
.values li { display: flex; align-items: center; gap: 12px; font-size: .98rem; color: var(--ink); font-weight: 500; }
.v-mark { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 4px rgba(176,141,87,.15); }

/* ============================================================
   Services / cards
   ============================================================ */
.services { padding: var(--s8) 0; background: var(--cream-2); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.card {
  background: var(--white); padding: var(--s5); border-radius: var(--radius);
  border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 60px; height: 60px; display: grid; place-items: center; margin-bottom: var(--s3);
  color: var(--gold); background: rgba(176,141,87,.1); border-radius: 50%; transition: all .45s var(--ease);
}
.card-icon svg { width: 28px; height: 28px; }
.card:hover .card-icon { background: var(--gold); color: #fff; }
.card h3 { font-size: 1.42rem; margin-bottom: var(--s2); letter-spacing: -.01em; }
.card p { color: var(--muted); font-size: .95rem; line-height: 1.65; }

/* ============================================================
   Labels / certifications
   ============================================================ */
.labels { padding: var(--s7) 0; background: var(--navy); }
.labels-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.label { display: flex; align-items: center; gap: var(--s2); color: #fff; }
.label-ico {
  width: 54px; height: 54px; flex-shrink: 0; display: grid; place-items: center;
  border: 1px solid rgba(176,141,87,.5); border-radius: 50%; color: var(--gold-soft);
  font-family: var(--serif); font-weight: 700; font-size: .95rem; letter-spacing: .5px;
}
.label-ico svg { width: 24px; height: 24px; }
.label strong { display: block; font-size: .98rem; font-weight: 600; }
.label span { display: block; font-size: .82rem; color: rgba(255,255,255,.6); margin-top: 2px; }

/* ============================================================
   Équipe
   ============================================================ */
.team { padding: var(--s8) 0; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.member { text-align: center; }
.member-avatar {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto var(--s3);
  background: linear-gradient(160deg, var(--navy), #1d2c4f);
  color: var(--gold-soft); font-family: var(--serif); font-size: 1.5rem; letter-spacing: .06em;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm), 0 0 0 5px rgba(176,141,87,.12);
  transition: transform .4s var(--ease);
}
.member:hover .member-avatar { transform: translateY(-4px); }
.member h3 { font-size: 1.35rem; margin-bottom: 2px; }
.member-role { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: var(--s2); font-weight: 600; }
.member p { color: var(--muted); font-size: .9rem; }
.team-note { text-align: center; margin-top: var(--s5); font-size: .8rem; color: var(--muted); font-style: italic; }

/* ============================================================
   Zone
   ============================================================ */
.zone { padding: var(--s8) 0; background: var(--cream-2); }
.zone-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s7); align-items: center; }
.zone-copy p { color: var(--muted); font-size: 1.05rem; margin-bottom: var(--s4); }
.communes { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s4); }
.communes li {
  padding: 9px 18px; background: var(--white); border: 1px solid var(--line);
  border-radius: 40px; font-size: .9rem; font-weight: 500; color: var(--navy);
}
.zone-address { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--navy); }
.zone-address svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }
.zone-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.zone-map iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.2); }

/* ============================================================
   Contact
   ============================================================ */
.contact { padding: var(--s8) 0; background: var(--navy); position: relative; overflow: hidden; }
.contact::before {
  content: ''; position: absolute; top: -120px; left: -120px; width: 380px; height: 380px;
  border: 1px solid rgba(176,141,87,.2); border-radius: 50%;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: var(--s7); position: relative; z-index: 2; }
.contact-lead { color: rgba(255,255,255,.75); font-size: 1.08rem; margin-bottom: var(--s5); max-width: 420px; }
.contact-list { list-style: none; display: grid; gap: var(--s3); }
.contact-list li { display: flex; align-items: center; gap: 16px; color: rgba(255,255,255,.9); }
.contact-list a { color: rgba(255,255,255,.9); transition: color .3s; }
.contact-list a:hover { color: var(--gold-soft); }
.ci { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid rgba(176,141,87,.4); border-radius: 50%; color: var(--gold-soft); }
.ci svg { width: 20px; height: 20px; }

.contact-form { background: var(--white); padding: var(--s5); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.field { margin-bottom: var(--s3); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.field label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--navy); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--sans); font-size: .95rem; color: var(--ink); background: var(--cream); transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176,141,87,.15); background: #fff;
}
.field textarea { resize: vertical; }
.form-note { font-size: .78rem; color: var(--muted); text-align: center; margin-top: var(--s2); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding: var(--s6) 0 var(--s2); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1.6fr; gap: var(--s5); align-items: start; padding-bottom: var(--s5); border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand .brand-name { color: #fff; }
.footer-nav { display: flex; flex-direction: column; gap: var(--s2); }
.footer-nav a { font-size: .92rem; transition: color .3s; }
.footer-nav a:hover { color: var(--gold-soft); }
.footer-legal p { font-size: .86rem; margin-bottom: 6px; }
.footer-demo { text-align: center; padding-top: var(--s3); font-size: .78rem; color: rgba(255,255,255,.4); letter-spacing: .04em; }

/* ============================================================
   Reveal animations
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .office-grid, .zone-grid, .contact-grid { grid-template-columns: 1fr; gap: var(--s6); }
  .cards, .team-grid, .labels-inner { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s5); }
  .stat:nth-child(2)::after { display: none; }
  .office-visual { max-width: 440px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr; gap: var(--s4); }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); padding: var(--s3); gap: 4px; box-shadow: var(--shadow-md); align-items: stretch;
    border-top: 1px solid var(--line);
  }
  .nav.open > a { color: var(--navy); padding: 13px 8px; border-bottom: 1px solid var(--line); font-size: .98rem; }
  .nav.open .nav-cta { border: 1px solid var(--gold); text-align: center; margin-top: 8px; border-bottom: 1px solid var(--gold); }
  .nav.open .nav-phone { justify-content: flex-start; }
  .burger { display: flex; }

  /* Mobile accordion for "Domaines" */
  .nav-drop { display: flex; flex-direction: column; }
  .nav-drop .nav-drop-toggle {
    color: var(--navy); padding: 13px 8px; justify-content: space-between; width: 100%;
    border-bottom: 1px solid var(--line); font-size: .98rem;
  }
  .nav-drop .caret { opacity: .55; }
  .nav-menu,
  .nav-drop:hover .nav-menu {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    left: auto;
    min-width: 0; box-shadow: none; border: 0; border-radius: 0; padding: 4px 0 8px 8px;
    display: grid; max-height: 0; overflow: hidden; transition: max-height .38s var(--ease);
  }
  .nav-drop.open .nav-menu { max-height: 520px; }
  .nav-menu::before { display: none; }
  .dropdown-link { padding: 9px 8px; }
  .dropdown-link .dl-sub { display: none; }
}

@media (max-width: 640px) {
  .cards, .team-grid, .labels-inner, .field-row { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .hero-content { padding-top: 120px; }
    .stat:not(:last-child)::after { display: none; }
  .contact-form { padding: var(--s4); }
}

/* ============================================================
   CONVERSION + TRUST LAYER (added iteration 2)
   ============================================================ */

/* ---- Header: solid variant for sub-pages (no dark hero behind) ---- */
.site-header.solid {
  background: rgba(250,247,241,.96); backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm); padding: 14px 0;
}
.site-header.solid .brand-name { color: var(--navy); }
.site-header.solid .brand-sub { color: var(--muted); }
.site-header.solid .nav > a,
.site-header.solid .nav-drop > .nav-drop-toggle { color: var(--navy); }
.site-header.solid .burger span { background: var(--navy); }
.nav a.active { color: var(--gold-deep) !important; }
.nav a.active::after { width: 100% !important; }

/* ---- Header phone quick-action ---- */
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  font-size: .9rem; color: var(--gold) !important;
}
.nav-phone svg { width: 17px; height: 17px; }

/* ---- Reassurance band (right under hero) — single, refined KPI band ---- */
.reassure { background: var(--cream); border-bottom: 1px solid var(--line); padding: var(--s5) 0; }
.reassure-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.reassure-item { display: flex; align-items: center; gap: 16px; }
.reassure-item:not(:last-child) { border-right: 1px solid var(--line); padding-right: var(--s5); }
.reassure-ico {
  width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center;
  border-radius: 50%; background: rgba(176,141,87,.1); color: var(--gold-deep);
}
.reassure-ico svg { width: 21px; height: 21px; }
.reassure-item h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 3px; letter-spacing: -.005em; }
.reassure-item p { font-size: .85rem; color: var(--muted); line-height: 1.5; }

/* ---- Card as link (services grid on home) ---- */
.card.card-link { display: flex; flex-direction: column; }
.card .card-more {
  margin-top: auto; padding-top: var(--s3); display: inline-flex; align-items: center; gap: 8px;
  font-size: .86rem; font-weight: 600; color: var(--gold-deep); letter-spacing: .02em;
}
.card .card-more svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.card.card-link:hover .card-more svg { transform: translateX(5px); }

/* ---- Process / parcours steps ---- */
.process { padding: var(--s8) 0; background: var(--cream); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); counter-reset: step; }
.step { position: relative; padding: var(--s4) var(--s3); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.step-num {
  counter-increment: step; font-family: var(--serif); font-size: 2.4rem; font-weight: 600;
  color: var(--gold-soft); line-height: 1; display: block; margin-bottom: var(--s2);
}
.step-num::before { content: counter(step, decimal-leading-zero); }
.step h4 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: .9rem; color: var(--muted); }
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 50%; right: calc(var(--s3) / -2 - 4px); width: 12px; height: 12px;
  border-top: 1.5px solid var(--gold); border-right: 1.5px solid var(--gold);
  transform: translateY(-50%) rotate(45deg); opacity: .5;
}

/* ---- Testimonials / social proof ---- */
.testimonials { padding: var(--s8) 0; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.testi {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s4); position: relative; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.testi:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.testi-quote { font-family: var(--serif); font-size: 3rem; line-height: .6; color: var(--gold-soft); opacity: .5; margin-bottom: var(--s2); display: block; }
.testi-stars { display: flex; gap: 3px; margin-bottom: var(--s2); color: var(--gold); }
.testi-stars svg { width: 16px; height: 16px; }
.testi p { color: var(--ink); font-size: .98rem; line-height: 1.6; margin-bottom: var(--s3); }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: var(--navy); color: var(--gold-soft); font-family: var(--serif); font-weight: 600; font-size: 1.05rem;
}
.testi-name { font-size: .92rem; font-weight: 600; color: var(--navy); }
.testi-meta { font-size: .78rem; color: var(--muted); }
.testi-note { text-align: center; margin-top: var(--s5); font-size: .8rem; color: var(--muted); font-style: italic; }

/* ---- Mid-page CTA band ---- */
.cta-band { background: var(--navy); padding: var(--s7) 0; position: relative; overflow: hidden; }
.cta-band::before {
  content: ''; position: absolute; top: 50%; right: -100px; transform: translateY(-50%);
  width: 340px; height: 340px; border: 1px solid rgba(176,141,87,.22); border-radius: 50%;
}
.cta-band::after {
  content: ''; position: absolute; top: 50%; right: -60px; transform: translateY(-50%);
  width: 220px; height: 220px; border: 1px solid rgba(176,141,87,.16); border-radius: 50%;
}
.cta-band-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; }
.cta-band-text h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 10px; }
.cta-band-text p { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 520px; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.45); }

/* ---- Sticky mobile CTA bar ---- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none;
  background: rgba(15,26,48,.97); backdrop-filter: blur(10px);
  padding: 10px 14px; gap: 10px; box-shadow: 0 -8px 24px rgba(0,0,0,.22);
  transform: translateY(110%); transition: transform .45s var(--ease);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta a { flex: 1; padding: 13px 8px; font-size: .9rem; }
.sticky-cta .btn-call {
  background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.25);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--radius); font-weight: 500;
}
.sticky-cta .btn-call svg { width: 17px; height: 17px; }

/* ============================================================
   SUB-PAGE (service) layouts
   ============================================================ */
.subhero {
  position: relative; color: #fff; overflow: hidden;
  padding: 168px 0 var(--s7);
  background:
    radial-gradient(110% 90% at 82% -20%, #2a3d63 0%, transparent 55%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy) 60%, var(--navy-700) 100%);
}
.subhero::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(75% 80% at 75% 10%, #000 0%, transparent 72%);
}
.subhero-ring {
  position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
  width: 460px; height: 460px; border: 1px solid rgba(176,141,87,.22); border-radius: 50%;
}
.subhero-ring::before { content: ''; position: absolute; inset: 56px; border: 1px solid rgba(176,141,87,.16); border-radius: 50%; }
.subhero-inner { position: relative; z-index: 2; max-width: 760px; }
.breadcrumb { display: flex; align-items: center; gap: 9px; font-size: .8rem; color: rgba(255,255,255,.6); margin-bottom: var(--s3); letter-spacing: .02em; }
.breadcrumb a { color: rgba(255,255,255,.6); transition: color .3s; }
.breadcrumb a:hover { color: var(--gold-soft); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .cur { color: var(--gold-soft); }
.subhero-eyebrow { font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-soft); font-weight: 500; margin-bottom: var(--s2); display: inline-flex; align-items: center; gap: 10px; }
.subhero-eyebrow .sh-ico { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(176,141,87,.45); border-radius: 50%; color: var(--gold-soft); }
.subhero-eyebrow .sh-ico svg { width: 18px; height: 18px; }
.subhero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); color: #fff; margin-bottom: var(--s3); font-weight: 500; }
.subhero h1 em { font-style: italic; color: var(--gold-soft); }
.subhero-lead { font-size: 1.14rem; color: rgba(255,255,255,.82); max-width: 600px; margin-bottom: var(--s4); font-weight: 300; }
.subhero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* content blocks */
.svc-body { padding: var(--s8) 0; }
.svc-layout { display: grid; grid-template-columns: 1fr 320px; gap: var(--s7); align-items: start; }
.svc-main > p { color: var(--muted); font-size: 1.06rem; margin-bottom: var(--s4); }
.svc-main h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: var(--s6) 0 var(--s3); }
.svc-main h2:first-child { margin-top: 0; }
.svc-main h3 { font-size: 1.4rem; margin: var(--s4) 0 var(--s2); }
.svc-checklist { list-style: none; display: grid; gap: var(--s2); margin: var(--s3) 0 var(--s4); }
.svc-checklist li { display: flex; align-items: flex-start; gap: 14px; color: var(--ink); font-size: 1rem; }
.svc-checklist li::before {
  content: ''; flex-shrink: 0; margin-top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(176,141,87,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2396733f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}
.svc-cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); margin: var(--s4) 0; }
.svc-case {
  background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s4);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.svc-case:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.svc-case h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.svc-case p { font-size: .92rem; color: var(--muted); }

/* sticky aside CTA card */
.svc-aside { position: sticky; top: 100px; }
.aside-card {
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: var(--s5) var(--s4);
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.aside-card::before { content: ''; position: absolute; top: -80px; right: -80px; width: 220px; height: 220px; border: 1px solid rgba(176,141,87,.2); border-radius: 50%; }
.aside-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: var(--s2); position: relative; }
.aside-card p { color: rgba(255,255,255,.75); font-size: .95rem; margin-bottom: var(--s4); position: relative; }
.aside-card .btn { position: relative; }
.aside-contact { list-style: none; margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 12px; position: relative; }
.aside-contact li { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: rgba(255,255,255,.9); }
.aside-contact a { color: rgba(255,255,255,.9); }
.aside-contact a:hover { color: var(--gold-soft); }
.aside-contact svg { width: 18px; height: 18px; color: var(--gold-soft); flex-shrink: 0; }

/* related services */
.related { padding: var(--s7) 0 var(--s8); background: var(--cream-2); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.related-card {
  display: flex; align-items: center; gap: 16px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--s3); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.related-ico { width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: rgba(176,141,87,.1); color: var(--gold); transition: all .4s var(--ease); }
.related-ico svg { width: 24px; height: 24px; }
.related-card:hover .related-ico { background: var(--gold); color: #fff; }
.related-card h4 { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.related-card span { font-size: .84rem; color: var(--muted); }

/* FAQ */
.faq { padding: var(--s8) 0; }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: var(--s2); }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; transition: box-shadow .3s; }
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: var(--s3) var(--s4); font-weight: 600; color: var(--navy);
  font-size: 1.05rem; display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ''; width: 12px; height: 12px; flex-shrink: 0;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg); transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item .faq-a { padding: 0 var(--s4) var(--s4); color: var(--muted); font-size: .98rem; line-height: 1.6; }

/* ---- Responsive additions ---- */
@media (max-width: 980px) {
  .reassure-inner { grid-template-columns: 1fr; gap: 0; }
  .reassure-item { padding: var(--s3) 0; }
  .reassure-item:not(:last-child) { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after, .step:nth-child(4)::after { display: none; }
  .testi-grid { grid-template-columns: 1fr; }
  .svc-layout { grid-template-columns: 1fr; gap: var(--s5); }
  .svc-aside { position: static; }
  .related-grid { grid-template-columns: 1fr; }
  .svc-cases { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none !important; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 64px; }
}
