/* =====================================================================
   VERRIÈRE & ASSOCIÉS — Cabinet d'avocats
   Feuille de style principale
   Sommaire :
   1.  Design system (variables)
   2.  Reset & bases
   3.  Utilitaires & conteneurs
   4.  Boutons & liens
   5.  Header & navigation
   6.  Hero
   7.  Chiffres clés
   8.  Sections génériques / titres
   9.  Expertises
   10. Le cabinet
   11. Équipe
   12. Approche (étapes)
   13. Témoignages
   14. FAQ
   15. Contact & formulaire
   16. Footer
   17. Bouton retour haut
   18. Animations (reveal) & accessibilité
   19. Responsive
   ===================================================================== */

/* ===================== 1. DESIGN SYSTEM ===================== */
:root {
  /* Couleurs */
  --navy:        #0F2540;
  --navy-2:      #13294B;
  --navy-soft:   #1B3A63;
  --gold:        #B8924A;
  --gold-soft:   #C9A968;
  --cream:       #FBFAF7;
  --white:       #FFFFFF;
  --slate:       #4A5568;
  --slate-light: #6B7585;
  --line:        #E6E2D8;
  --line-strong: #D8D2C4;

  /* Surfaces sémantiques */
  --bg:          var(--cream);
  --bg-alt:      #F4F1EA;
  --text:        #1C2A3F;
  --text-soft:   #5A6577;

  /* Échelle d'espacement (cohérente) */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.5rem;
  --sp-6:  2rem;
  --sp-7:  3rem;
  --sp-8:  4rem;
  --sp-9:  6rem;

  /* Rayons */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* Ombres */
  --sh-sm: 0 1px 2px rgba(15, 37, 64, .06);
  --sh-md: 0 12px 30px -12px rgba(15, 37, 64, .18);
  --sh-lg: 0 30px 60px -20px rgba(15, 37, 64, .25);
  --sh-gold: 0 14px 30px -12px rgba(184, 146, 74, .45);

  /* Transitions */
  --t-fast: .18s ease;
  --t:      .32s cubic-bezier(.22, .61, .36, 1);
  --t-slow: .6s cubic-bezier(.22, .61, .36, 1);

  /* Typographies */
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans:  "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Largeur de contenu */
  --maxw: 1200px;

  /* Hauteur header */
  --header-h: 84px;
}

/* ===================== 2. RESET & BASES ===================== */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  /* Clippe la gouttière de scrollbar atteinte par le tiroir tablette
     (position:fixed, right:0) — empêche tout scroll horizontal.
     Sûr ici : aucune règle position:sticky sur <html>. */
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.14;
  color: var(--navy);
  letter-spacing: -0.01em;
}

ul { list-style: none; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

::selection { background: var(--gold); color: var(--white); }

/* ===================== 3. UTILITAIRES & CONTENEURS ===================== */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.2rem, 4vw, 3rem);
}

.section {
  padding-block: clamp(4rem, 8vw, 7.5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-4);
}
.eyebrow-line {
  width: 34px;
  height: 1.5px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow-center { justify-content: center; }

.inline-link {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--t-fast);
}
.inline-link:hover { color: var(--navy); }

/* ===================== 4. BOUTONS & LIENS ===================== */
.btn {
  --btn-pad-y: 0.92rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--btn-pad-y) 1.6rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t),
              background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap;
}
.btn svg { transition: transform var(--t); }

.btn-primary {
  background: var(--navy);
  color: var(--cream);
  box-shadow: var(--sh-md);
}
.btn-primary:hover {
  background: var(--gold);
  color: var(--navy);
  box-shadow: var(--sh-gold);
  transform: translateY(-2px);
}
.btn-primary:hover svg { transform: translateX(4px); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--cream);
  transform: translateY(-2px);
}
.btn-ghost:hover svg { transform: translateX(4px); }

.btn-block { width: 100%; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  transition: gap var(--t), color var(--t);
}
.card-link span { transition: transform var(--t); }
.card-link:hover { color: var(--gold); gap: var(--sp-3); }
.card-link:hover span { transform: translateX(3px); }

/* ===================== 5. HEADER & NAVIGATION ===================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(251, 250, 247, 0.72);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: height var(--t), background var(--t),
              border-color var(--t), box-shadow var(--t);
}
.site-header.scrolled {
  height: 70px;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--line);
  box-shadow: var(--sh-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
}
.brand-mark {
  flex: none;
  transition: transform var(--t);
}
.brand:hover .brand-mark { transform: rotate(-6deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.22rem;
  color: var(--navy);
}
.brand-name .amp { color: var(--gold); font-style: italic; }
.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-light);
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}
.nav-link {
  position: relative;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--text);
  padding-block: 0.4rem;
  transition: color var(--t-fast);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.nav-link:hover { color: var(--navy); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-cta { padding-block: 0.7rem; padding-inline: 1.3rem; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  background: transparent;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color var(--t);
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----- Sélecteur de langue FR | NL (commutateur segmenté) ----- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: var(--bg-alt);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
}
.lang-btn {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--slate);
  background: transparent;
  border: none;
  border-radius: var(--r-pill);
  padding: 0.42rem 0.72rem;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}
.lang-btn:hover { color: var(--navy); }
.lang-btn.active {
  background: var(--navy);
  color: var(--cream);
  box-shadow: var(--sh-sm);
}
.lang-btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
/* Le commutateur du menu mobile est masqué en desktop, et inversement */
.lang-switch-mobile { display: none; }
.lang-switch-desktop { margin-left: var(--sp-2); }

/* Lien téléphone intégré au menu mobile (masqué en desktop) */
.nav-phone { display: none; }

/* Voile (backdrop) du tiroir tablette — masqué par défaut PARTOUT
   (desktop, mobile ≤600px). Il n'est activé (display:block) que dans la
   tranche tablette (601px → breakpoint burger). Cf. section 19. */
.nav-scrim { display: none; }

/* ===================== 6. HERO ===================== */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 7vw, 6rem);
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(184,146,74,.10), transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, #F6F3EC 100%);
  overflow: hidden;
}
/* fine grille décorative */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15,37,64,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,37,64,.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 30% 20%, #000 0%, transparent 80%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.4rem);
  font-weight: 600;
  margin-bottom: var(--sp-5);
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero-lead {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  color: var(--text-soft);
  max-width: 38ch;
  margin-bottom: var(--sp-6);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}
.hero-trust svg { color: var(--gold); }

/* visuel */
.hero-visual { position: relative; }
.hero-card {
  position: relative;
  z-index: 2;
  background: linear-gradient(160deg, var(--navy-soft), var(--navy) 70%);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  box-shadow: var(--sh-lg);
  border: 1px solid rgba(184,146,74,.25);
}
.hero-emblem { display: block; margin-inline: auto; max-width: 240px; }
.hero-card-quote {
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center;
}
.hero-card-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--cream);
  line-height: 1.4;
}
.hero-card-quote span {
  display: block;
  margin-top: var(--sp-3);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
}
.hero-deco {
  position: absolute;
  border-radius: var(--r-lg);
  z-index: 1;
}
.hero-deco-1 {
  width: 70%;
  height: 70%;
  right: -22px;
  bottom: -22px;
  border: 1.5px solid var(--gold);
  opacity: .5;
}
.hero-deco-2 {
  width: 90px;
  height: 90px;
  left: -28px;
  top: -28px;
  background: radial-gradient(circle, rgba(184,146,74,.25), transparent 70%);
}

/* ===================== 7. CHIFFRES CLÉS ===================== */
.stats {
  background: var(--navy);
  color: var(--cream);
  position: relative;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 25% 100%;
  pointer-events: none;
}
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  padding-block: clamp(2.6rem, 5vw, 4rem);
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 1.6rem + 2.5vw, 3.5rem);
  color: var(--gold-soft);
  line-height: 1;
  letter-spacing: -0.01em;
}
.stat-label {
  display: block;
  margin-top: var(--sp-3);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: rgba(251,250,247,.78);
}

/* ===================== 8. SECTIONS / TITRES ===================== */
.section-head {
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem);
}
.section-head-left { text-align: left; margin-inline: 0; }
.section-intro {
  margin-top: var(--sp-4);
  font-size: 1.1rem;
  color: var(--text-soft);
}

/* ===================== 9. EXPERTISES ===================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: var(--sp-5);
}
.expertise-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.expertise-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.expertise-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
  border-color: transparent;
}
.expertise-card:hover::before { transform: scaleX(1); }
.expertise-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: var(--r-md);
  background: var(--bg-alt);
  color: var(--gold);
  margin-bottom: var(--sp-4);
  transition: background var(--t), color var(--t), transform var(--t);
}
.expertise-card:hover .expertise-icon {
  background: var(--navy);
  color: var(--gold-soft);
  transform: scale(1.05) rotate(-4deg);
}
.expertise-card h3 {
  font-size: 1.4rem;
  margin-bottom: var(--sp-3);
}
.expertise-card p { color: var(--text-soft); font-size: 1rem; }

/* ===================== 10. LE CABINET ===================== */
.section-cabinet { background: var(--bg-alt); }
.cabinet-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.cabinet-media { position: relative; }
.cabinet-image {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  background: linear-gradient(160deg, var(--navy-soft), var(--navy));
}
.cabinet-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: relative; z-index: 2;
}
.cabinet-image-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1;
}
.cabinet-badge {
  position: absolute;
  right: -16px;
  bottom: 32px;
  z-index: 3;
  background: var(--white);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  box-shadow: var(--sh-md);
  text-align: center;
  border: 1px solid var(--line);
}
.cabinet-badge-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.cabinet-badge-label {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-light);
  font-weight: 600;
}
.cabinet-content h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.7rem); margin-bottom: var(--sp-5); }
.cabinet-content p { color: var(--text-soft); margin-bottom: var(--sp-4); }
.values-list {
  display: grid;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}
.values-list li {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}
.values-list svg {
  flex: none;
  width: 34px;
  height: 34px;
  padding: 6px;
  color: var(--gold);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}
.values-list strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.18rem;
  color: var(--navy);
  margin-bottom: 2px;
}
.values-list span { color: var(--text-soft); font-size: 0.98rem; }

/* ===================== 11. ÉQUIPE ===================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: var(--sp-5);
}
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.team-portrait {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(155deg, var(--p1, var(--navy-soft)), var(--p2, var(--navy)));
  display: grid;
  place-items: center;
}
/* Placeholder élégant : initiales sur dégradé */
.team-portrait::before {
  content: attr(data-initials);
  font-family: var(--font-serif);
  font-size: 3.4rem;
  font-weight: 600;
  color: rgba(184,146,74,.85);
  letter-spacing: 0.05em;
}
.team-portrait img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: transform var(--t-slow);
}
.team-card:hover .team-portrait img { transform: scale(1.05); }
.team-info { padding: var(--sp-5); }
.team-info h3 { font-size: 1.3rem; margin-bottom: 2px; }
.team-role {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  margin-bottom: var(--sp-3);
}
.team-bio { color: var(--text-soft); font-size: 0.95rem; margin-bottom: var(--sp-4); }
.team-bar {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--bg-alt);
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-pill);
}

/* ===================== 12. APPROCHE ===================== */
.section-approche { background: var(--navy); color: var(--cream); }
.section-approche .eyebrow { color: var(--gold-soft); }
.section-approche .eyebrow-line { background: var(--gold-soft); }
.section-approche .section-head h2 { color: var(--cream); }
.section-approche .section-intro { color: rgba(251,250,247,.75); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: var(--sp-5);
  counter-reset: step;
}
.step {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(184,146,74,.22);
  border-radius: var(--r-md);
  transition: transform var(--t), background var(--t), border-color var(--t);
}
.step:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,.07);
  border-color: rgba(184,146,74,.5);
}
.step-num {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--sp-4);
}
.step h3 { color: var(--cream); font-size: 1.3rem; margin-bottom: var(--sp-3); }
.step p { color: rgba(251,250,247,.72); font-size: 0.98rem; }

/* ===================== 13. TÉMOIGNAGES ===================== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: var(--sp-5);
}
.testi-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(1.8rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t);
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.testi-quote { color: var(--gold); opacity: .35; margin-bottom: var(--sp-3); }
.testi-card blockquote p {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: var(--sp-5);
}
.testi-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: auto;
}
.testi-avatar {
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: var(--r-pill);
  background: linear-gradient(155deg, var(--p1), var(--p2));
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1rem;
  color: var(--gold-soft);
}
.testi-author strong { display: block; color: var(--navy); font-family: var(--font-serif); font-size: 1.05rem; }
.testi-author em { color: var(--slate-light); font-style: normal; font-size: 0.88rem; }
.testi-stars {
  margin-top: var(--sp-4);
  color: var(--gold);
  letter-spacing: 3px;
  font-size: 0.95rem;
}

/* ===================== 14. FAQ ===================== */
.section-faq { background: var(--bg-alt); }
.faq-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.faq-list { display: grid; gap: var(--sp-4); }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.faq-item[open] { border-color: var(--line-strong); box-shadow: var(--sh-sm); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: clamp(1.1rem, 2vw, 1.5rem);
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  transition: color var(--t-fast);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold); }
.faq-icon {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--gold);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.faq-icon::before { top: 11px; left: 3px; width: 18px; height: 2px; }
.faq-icon::after  { left: 11px; top: 3px; width: 2px; height: 18px; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-body {
  padding: 0 clamp(1.1rem, 2vw, 1.5rem) clamp(1.1rem, 2vw, 1.5rem);
}
.faq-body p { color: var(--text-soft); }

/* ===================== 15. CONTACT & FORMULAIRE ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.contact-info h2 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem); margin-bottom: var(--sp-4); }
.contact-details {
  display: grid;
  gap: var(--sp-4);
  margin-block: var(--sp-6);
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.contact-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--bg-alt);
  color: var(--gold);
}
.contact-details strong { display: block; font-family: var(--font-serif); color: var(--navy); font-size: 1.05rem; }
.contact-details a, .contact-details span:not(.contact-ic) { color: var(--text-soft); }
.contact-details a { transition: color var(--t-fast); }
.contact-details a:hover { color: var(--gold); }

.hours {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  margin-bottom: var(--sp-5);
}
.hours h3 {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: var(--sp-3);
}
.hours h3 svg { color: var(--gold); }
.hours ul { display: grid; gap: var(--sp-2); }
.hours li {
  display: flex;
  justify-content: space-between;
  padding-block: var(--sp-2);
  border-bottom: 1px dashed var(--line-strong);
  font-size: 0.96rem;
}
.hours li:last-child { border-bottom: none; }
.hours li span:first-child { color: var(--text-soft); }
.hours li span:last-child { font-weight: 600; color: var(--navy); }

.map {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  line-height: 0;
}
.map-pin-label {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  background: rgba(251,250,247,.95);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-pill);
  line-height: 1.4;
  white-space: nowrap;
  box-shadow: var(--sh-sm);
}

/* Carte du formulaire */
.contact-form-wrap {
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  box-shadow: var(--sh-md);
}
.form-title {
  font-size: 1.5rem;
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--line);
}
.field { margin-bottom: var(--sp-4); }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: var(--sp-2);
}
.field label span { color: var(--gold); }
.field input,
.field textarea,
.select-wrap select {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--cream);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 0.8rem 1rem;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--slate-light); }
.field input:focus,
.field textarea:focus,
.select-wrap select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(184,146,74,.18);
}
.field textarea { resize: vertical; min-height: 110px; }

/* select custom arrow */
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.6rem; }
.select-arrow {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  pointer-events: none;
}

/* états d'erreur */
.field.invalid input,
.field.invalid textarea,
.field.invalid .select-wrap select { border-color: #C0392B; background: #FCF3F2; }
.error {
  display: block;
  min-height: 0;
  font-size: 0.82rem;
  color: #C0392B;
  margin-top: var(--sp-1);
  font-weight: 600;
}

/* checkbox custom */
.checkbox {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  cursor: pointer;
  margin-bottom: var(--sp-2);
  font-size: 0.9rem;
  color: var(--text-soft);
}
.checkbox input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checkbox-box {
  flex: none;
  width: 22px; height: 22px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--cream);
  display: grid;
  place-items: center;
  transition: background var(--t), border-color var(--t);
  margin-top: 1px;
}
.checkbox-box::after {
  content: "";
  width: 11px; height: 6px;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg) scale(0);
  transform-origin: center;
  transition: transform var(--t);
  margin-top: -2px;
}
.checkbox input:checked + .checkbox-box { background: var(--gold); border-color: var(--gold); }
.checkbox input:checked + .checkbox-box::after { transform: rotate(-45deg) scale(1); }
.checkbox input:focus-visible + .checkbox-box { outline: 3px solid var(--gold); outline-offset: 3px; }
.checkbox.invalid .checkbox-box { border-color: #C0392B; }

.form-note {
  margin-top: var(--sp-4);
  font-size: 0.85rem;
  color: var(--slate-light);
  text-align: center;
}

/* message succès */
.form-success {
  text-align: center;
  padding: var(--sp-7) var(--sp-4) var(--sp-5);
  color: var(--navy);
  animation: pop var(--t);
}
.form-success svg { color: var(--gold); margin-inline: auto; margin-bottom: var(--sp-4); }
.form-success h4 { font-size: 1.5rem; margin-bottom: var(--sp-2); }
.form-success p { color: var(--text-soft); max-width: 32ch; margin-inline: auto; }
@keyframes pop {
  from { opacity: 0; transform: scale(.94); }
  to   { opacity: 1; transform: scale(1); }
}

/* ===================== 16. FOOTER ===================== */
.site-footer {
  background: var(--navy);
  color: rgba(251,250,247,.78);
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.footer-brand .brand-footer { margin-bottom: var(--sp-4); }
.footer-brand .brand-name { color: var(--cream); }
.footer-brand .brand-sub { color: var(--gold-soft); }
.footer-desc { font-size: 0.95rem; max-width: 38ch; margin-bottom: var(--sp-5); }
.socials { display: flex; gap: var(--sp-3); }
.social {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(184,146,74,.35);
  color: var(--gold-soft);
  transition: background var(--t), color var(--t), transform var(--t), border-color var(--t);
}
.social:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.footer-col h4 {
  color: var(--cream);
  font-size: 1.1rem;
  margin-bottom: var(--sp-4);
}
.footer-col ul { display: grid; gap: var(--sp-3); }
.footer-col a, .footer-contact li {
  font-size: 0.95rem;
  color: rgba(251,250,247,.72);
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.footer-col a:hover { color: var(--gold-soft); padding-left: 4px; }
.footer-contact { display: grid; gap: var(--sp-3); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: var(--sp-5);
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}
.footer-bottom p { font-size: 0.85rem; color: rgba(251,250,247,.6); }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--sp-5); }
.footer-legal a { font-size: 0.85rem; color: rgba(251,250,247,.6); transition: color var(--t-fast); }
.footer-legal a:hover { color: var(--gold-soft); }

/* ===================== 17. BOUTON RETOUR HAUT ===================== */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--gold-soft);
  border: none;
  border-radius: var(--r-pill);
  cursor: pointer;
  box-shadow: var(--sh-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity var(--t), transform var(--t), visibility var(--t), background var(--t), color var(--t);
}
.to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); }

/* ===================== 18. ANIMATIONS (REVEAL) ===================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slow), transform var(--t-slow);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: none; }
/* léger décalage en cascade dans les grilles */
.cards-grid .reveal:nth-child(2),
.team-grid .reveal:nth-child(2),
.steps .reveal:nth-child(2),
.testi-grid .reveal:nth-child(2) { transition-delay: .08s; }
.cards-grid .reveal:nth-child(3),
.team-grid .reveal:nth-child(3),
.steps .reveal:nth-child(3),
.testi-grid .reveal:nth-child(3) { transition-delay: .16s; }
.cards-grid .reveal:nth-child(4),
.team-grid .reveal:nth-child(4),
.steps .reveal:nth-child(4) { transition-delay: .24s; }
.cards-grid .reveal:nth-child(5) { transition-delay: .32s; }
.cards-grid .reveal:nth-child(6) { transition-delay: .4s; }

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

/* ===================== 19. RESPONSIVE ===================== */
@media (max-width: 980px) {
  :root { --header-h: 76px; }

  /* =================================================================
     NAV MOBILE — overlay plein écran
     -----------------------------------------------------------------
     Le panneau ne sort JAMAIS du viewport (pas de translateX hors-écran
     qui élargirait le document et provoquerait un scroll horizontal).
     État fermé : opacity/visibility (+ léger translateY) — l'élément
     reste dans le flux fixe, à l'intérieur du viewport.
     ================================================================= */
  .main-nav {
    position: fixed;
    /* Démarre sous le header pour laisser le burger cliquable au-dessus.
       top/left/right=0 (sauf top=header-h) bornent le panneau au viewport :
       il ne déborde JAMAIS horizontalement (pas de translateX hors-écran
       => pas de scroll-x). */
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    /* Hauteur EXPLICITE = viewport - header : on ne dépend pas de la
       résolution implicite de top+bottom (qui, sur un conteneur flex en
       hauteur auto, peut se réduire au contenu et n'occuper qu'une bande).
       100dvh suit la barre d'adresse mobile ; fallback vh si dvh absent. */
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: var(--sp-4);
    padding: clamp(1.5rem, 5vw, 2.25rem) clamp(1.4rem, 5vw, 2rem) calc(2rem + env(safe-area-inset-bottom, 0px));
    /* Fond OPAQUE (couvre le contenu de la page) + léger dégradé premium */
    background:
      radial-gradient(120% 60% at 100% 0%, rgba(184,146,74,.08), transparent 60%),
      var(--cream);
    border-top: 1px solid var(--line);
    box-shadow: 0 30px 60px -24px rgba(15,37,64,.35);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* État FERMÉ : invisible et non interactif, mais jamais hors-viewport.
       Micro-translation verticale uniquement (aucun translateX). */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity var(--t), transform var(--t), visibility var(--t);
  }
  .main-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* Le voile ne sert qu'à la version tablette (tiroir latéral). */
  .nav-scrim { display: none; }

  /* Liens empilés, grandes zones tactiles */
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-link {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
    padding-block: 0.85rem;
    padding-inline: 0.85rem;
    border-radius: var(--r-md);
    font-size: 1.18rem;
    transition: color var(--t-fast), background var(--t-fast);
  }
  .nav-link::after { display: none; }
  /* Barre d'accent verticale (état interactif du menu mobile/tablette) */
  .nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 22px;
    border-radius: 3px;
    background: var(--gold);
    transform: translateY(-50%) scaleY(0);
    transform-origin: center;
    transition: transform var(--t-fast);
  }
  .nav-link:hover,
  .nav-link:focus-visible,
  .nav-link:active {
    /* Or foncé : contraste fort & lisible sur le panneau crème */
    color: #7A5E28;
    /* Teinte or nettement visible sur le fond crème du panneau
       (10% était quasi invisible). */
    background: rgba(184, 146, 74, .18);
  }
  .nav-link:hover::before,
  .nav-link:focus-visible::before,
  .nav-link:active::before {
    transform: translateY(-50%) scaleY(1);
  }

  /* CTA pleine largeur */
  .nav-cta {
    margin-top: var(--sp-2);
    width: 100%;
    min-height: 52px;
    font-size: 1.05rem;
  }

  /* Téléphone cliquable, joliment intégré */
  .nav-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-3);
    min-height: 48px;
    margin-top: var(--sp-1);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--navy);
    transition: color var(--t-fast);
  }
  .nav-phone svg { color: var(--gold); flex: none; }
  .nav-phone:hover { color: var(--gold); }

  .burger { display: flex; }

  /* Sélecteur de langue : on masque la version desktop et on affiche
     celle intégrée au menu mobile (burger). */
  .lang-switch-desktop { display: none; }
  .lang-switch-mobile {
    display: inline-flex;
    align-self: center;
    margin-top: var(--sp-3);
  }

  /* Hero empilé */
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 420px; margin-inline: auto; width: 100%; }
  .hero-lead { max-width: none; }

  /* Sections deux colonnes -> une */
  .cabinet-grid,
  .faq-wrap,
  .contact-grid { grid-template-columns: 1fr; }
  .cabinet-media { max-width: 460px; margin-inline: auto; width: 100%; }
  .contact-form-wrap { position: static; }
  .section-head-left { text-align: center; }
  .section-head-left .eyebrow { justify-content: center; }
}

/* =================================================================
   NAV TABLETTE — version TIROIR latéral (601px → 980px)
   -----------------------------------------------------------------
   Sur tablette, le panneau ne s'étale plus en plein écran : il
   devient un tiroir ancré à droite, accompagné d'un voile sombre
   cliquable. Le téléphone reste en overlay plein écran (≤600px).
   Aucun translateX hors-écran : le panneau reste borné au viewport
   (right:0), le clip overflow-x sur <html> neutralise la gouttière
   de scrollbar. Le header (z-index 100) reste au-dessus du voile
   (80) et du panneau (90), donc le burger demeure cliquable.
   ================================================================= */
@media (min-width: 601px) and (max-width: 980px) {
  .main-nav {
    left: auto;
    right: 0;
    width: min(80vw, 400px);
    z-index: 90;
    border-top: none;
    border-left: 1px solid var(--line);
    box-shadow: -24px 0 60px -20px rgba(0, 0, 0, .5);
  }
  .nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(0, 0, 0, .5);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s, visibility .3s;
  }
  .nav-scrim.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6) var(--sp-4); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .cabinet-badge { right: 12px; }
}
