
:root {
  --bg:            #FAF8F5;
  --bg-2:          #F0EBE3;
  --bg-3:          #E5DDD3;
  --gold:          #8B6200;
  --gold-light:    #A07200;
  --gold-pale:     #FDF3D0;
  --cream:         #1A1614;
  --text:          #1A1614;
  --text-muted:    #6B6460;
  --border:        rgba(139,98,0,0.3);
  --border-subtle: rgba(26,22,20,0.09);
  --glass:         rgba(250,248,245,0.92);
  --radius: 2px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* Reset médias responsive — un média ne déborde jamais de son conteneur (anti-scroll latéral mobile) */
img, video, iframe, canvas { max-width: 100%; }
img, video { height: auto; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Cormorant', serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(3rem, 7vw, 6rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }

.label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

.gold { color: var(--gold); }
.italic { font-style: italic; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1400px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  transition: all 0.4s ease;
}
#navbar.scrolled {
  top: 12px;
  background: rgba(250,248,245,0.97);
  border-color: rgba(26,22,20,0.14);
  box-shadow: 0 4px 24px rgba(26,22,20,0.07);
}
.nav-logo {
  font-family: 'Cormorant', serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--cream);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-logo-mark { height: 26px; width: auto; flex-shrink: 0; display: block; }
.nav-logo-text { color: var(--cream); white-space: nowrap; }
.nav-logo-text b { color: var(--gold); font-weight: inherit; }
/* Logo navbar : rétrécit sur petits écrans pour que « Dr Frédéric Germain » tienne
   à côté de la recherche + du menu, sans débordement. */
@media (max-width: 600px) {
  .nav-logo { font-size: 1.05rem; gap: 0.5rem; }
  .nav-logo-mark { height: 23px; }
}
@media (max-width: 400px) {
  .nav-logo { font-size: 0.92rem; gap: 0.4rem; }
  .nav-logo-mark { height: 20px; }
  .navbar { padding-left: max(0.9rem, env(safe-area-inset-left)); padding-right: max(0.9rem, env(safe-area-inset-right)); }
}
@media (max-width: 360px) {
  .nav-logo { font-size: 0.88rem; gap: 0.3rem; }
  .nav-logo-mark { height: 19px; }
}
@media (max-width: 340px) {
  /* écrans minuscules (≤ iPhone SE 1) : nom seul, lisible, sans à-l'étroit */
  .nav-logo-mark { display: none; }
  .nav-logo { font-size: 0.95rem; }
}
.nav-links { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.nav-links li { display: flex; align-items: center; }
.nav-links a {
  display: flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s;
  line-height: 1;
}
.nav-links a:hover { color: var(--cream); }

/* ── NAV DROPDOWN ── */
.nav-item-drop { position: relative; }
.nav-item-drop > a { gap: 0.35rem; }
.nav-item-drop > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.55;
  transition: transform 0.25s;
  flex-shrink: 0;
}
.nav-item-drop:hover > a::after { transform: rotate(180deg); opacity: 0.9; }
.nav-dropdown {
  position: absolute;
  top: 100%;            /* colle au trigger — pas de gap */
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #FAF8F5;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 48px rgba(26,22,20,0.1);
  min-width: 210px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 200;
  padding: 14px 0 0.6rem; /* padding-top = pont invisible sur le gap visuel */
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: 9px; left: 50%;  /* aligné sur le bord visible (après padding) */
  transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px;
  background: rgba(250,248,245,0.98);
  border-left: 1px solid var(--border-subtle);
  border-top: 1px solid var(--border-subtle);
}
.nav-item-drop:hover .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 0.65rem 1.5rem;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  transition: color 0.2s, padding-left 0.2s, border-left-color 0.2s;
  border-left: 2px solid transparent;
}
.nav-dropdown a:hover { color: var(--gold); padding-left: 1.75rem; border-left-color: var(--gold); }
.nav-dropdown a.dropdown-active { color: var(--gold); border-left-color: var(--gold); }
.nav-dropdown-divider { height: 1px; background: var(--border-subtle); margin: 0.4rem 1.5rem; }

/* ── MEGA DROPDOWN (Services) ── */
.nav-dropdown.mega {
  left: 0;
  transform: translateX(0) translateY(-6px);
  width: 720px;
  min-width: 720px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--gold);
  /* override base .nav-dropdown padding */
  padding-top: 0;
  padding-bottom: 0;
}
.nav-dropdown.mega::before { display: none; }
.nav-item-drop:hover .nav-dropdown.mega {
  transform: translateX(0) translateY(0);
}
.mega-col {
  padding: 1.4rem 0.8rem 1.6rem;
  border-right: 1px solid var(--border-subtle);
  min-width: 0;
}
.mega-col:last-child { border-right: none; }
.mega-col-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  opacity: 0.85;
}
.nav-dropdown.mega a {
  display: block;
  padding: 0.28rem 0;
  font-family: 'Cormorant', serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--text-muted);
  text-decoration: none;
  border-left: none;
  transition: color 0.2s, padding-left 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-dropdown.mega a:hover { color: var(--gold); padding-left: 0.4rem; border-left-color: transparent; }
/* Footer "see all" row */
.mega-see-all {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border-subtle);
  padding: 0.65rem 1.4rem;
  display: flex;
  justify-content: flex-end;
}
.mega-see-all a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
  padding: 0 !important;
  border: none !important;
  white-space: nowrap;
}
.mega-see-all a:hover { opacity: 1; padding-left: 0 !important; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.5rem;
  background: var(--gold);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.25s;
  cursor: pointer;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* Mobile nav */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--cream); transition: all 0.3s;
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;                      /* AU-DESSUS de la navbar (z100) → overlay plein écran propre */
  background: var(--bg);
  flex-direction: column;
  align-items: stretch;              /* liens pleine largeur → même bord gauche pour tous */
  justify-content: flex-start;       /* démarre en haut → les 44 liens sont atteignables */
  gap: 0;                            /* l'espacement vient du padding des liens */
  overflow-y: auto;                  /* DÉFILEMENT : sans ça, la moitié du menu est coupée */
  -webkit-overflow-scrolling: touch; /* inertie iOS */
  overscroll-behavior: contain;      /* pas de chaînage du scroll vers la page */
  padding: 4.5rem 0 3rem;            /* place pour le ✕ en haut */
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Cormorant', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);               /* foncé = lisible sur fond clair */
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;                    /* bloc centré, texte aligné à gauche */
  text-align: left;
  padding: 0.5rem 1.75rem;
  line-height: 1.3;
}
.mobile-menu a:hover, .mobile-menu a:active { color: var(--gold); }

/* Sous-items : remplace le blanc invisible par un gris lisible + hiérarchie par l'indentation */
.mobile-menu a[style*="padding-left:1.5rem"] {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem !important;
  color: var(--text-muted) !important;
  padding: 0.32rem 1.75rem 0.32rem 3rem !important;
}
.mobile-menu a[style*="padding-left:2.5rem"] {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem !important;
  color: var(--text-muted) !important;
  padding: 0.28rem 1.75rem 0.28rem 4.25rem !important;
}
/* « Prendre RDV → » : accent or, séparé en bas de liste */
.mobile-menu a[style*="var(--gold)"] {
  color: var(--gold) !important;
  font-size: 1.2rem !important;
  margin-top: 1.5rem !important;
  padding-top: 1.1rem !important;
  border-top: 1px solid var(--border-subtle);
}
/* Bouton de fermeture : fixe, visible, vraie cible tactile */
#mobileClose {
  position: fixed !important;
  top: max(1rem, env(safe-area-inset-top)) !important;
  right: max(1rem, env(safe-area-inset-right)) !important;
  z-index: 201 !important;
  width: 44px !important; height: 44px !important;
  display: flex !important; align-items: center; justify-content: center;
  line-height: 1 !important;
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

/* ── HERO ── */
#hero {
  position: relative;
  height: 100vh;
  height: 100svh;   /* évite le débordement sous la barre d'adresse mobile */
  min-height: 640px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  padding-top: 0;    /* annule la règle globale "section { padding: clamp... }" */
  padding-bottom: 0; /* seul hero-content gère le padding vertical */
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #EDE8DF 0%, #FAF8F5 45%, #E8E1D6 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(250,248,245,0.98) 0%,
    rgba(250,248,245,0.65) 55%,
    rgba(250,248,245,0.05) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(5.5rem, 9vh, 6.5rem) clamp(1.5rem, 5vw, 6rem) clamp(1.5rem, 3vh, 2.5rem);
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s forwards;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--gold);
}
.hero-title {
  /* max-width moved to .hero-title-text to not constrain the kicker */
  margin-bottom: 1.2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s 0.5s forwards;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
/* Keyword kicker inside H1 — small overline, full SEO value */
.hero-kicker {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
  margin-bottom: 0.7rem;
}
/* Main title text — inherits h1 font, constrained to 3-line wrap */
.hero-title-text {
  display: block;
  max-width: 20ch;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.1;
}
.hero-sub {
  max-width: 45ch;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.7s forwards;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.9s forwards;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: var(--gold);
  color: var(--bg);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(202,138,4,0.3); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(26,22,20,0.18);
  border-radius: var(--radius);
  transition: all 0.3s;
  cursor: pointer;
  background: transparent;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  opacity: 0;
  animation: fadeIn 1s 1.2s forwards;
}
.stat-item { text-align: left; }
.stat-num {
  font-family: 'Cormorant', serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
}
.stat-num span { color: var(--gold); }
.stat-label {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.3rem;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s 1.5s forwards;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
.hero-scroll span {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── HERO: compacte sur petits viewports (hauteur ≤ 820px, ex. laptop 768px) ── */
@media (max-height: 820px) {
  .hero-content { padding-top: 5.25rem; }     /* 84px = juste sous la navbar */
  .hero-title   { margin-bottom: 1rem; }
  .hero-sub     { margin-bottom: 1.2rem; }
  .hero-stats   { margin-top: 1rem; padding-top: 0.75rem; }
  .stat-num     { font-size: 1.8rem; }
}

/* ── SECTIONS GENERAL ── */
section { padding: clamp(5rem, 10vh, 9rem) clamp(1.5rem, 5vw, 6rem); }

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 4rem;
}
.section-header.center { align-items: center; text-align: center; }

.gold-line {
  display: block;
  width: 50px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 0.5rem;
}
.gold-line.center { margin: 0 auto 0.5rem; }

/* ── SERVICES GRID ── */
#services { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
}
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  position: relative;
  background: var(--bg);
  padding: 3rem;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.4s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(202,138,4,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover { background: var(--bg-2); }

.service-num {
  font-family: 'Cormorant', serif;
  font-size: 4rem;
  font-weight: 300;
  color: rgba(202,138,4,0.12);
  line-height: 1;
  margin-bottom: 1.5rem;
  transition: color 0.4s;
}
.service-card:hover .service-num { color: rgba(202,138,4,0.25); }
.service-icon {
  width: 44px; height: 44px;
  margin-bottom: 1.5rem;
  color: var(--gold);
}
.service-card h3 { margin-bottom: 0.75rem; color: var(--cream); }
.service-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.tag {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 50px;
  transition: all 0.3s;
}
.service-card:hover .tag { border-color: var(--gold); color: var(--gold); }
.service-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: gap 0.3s;
}
.service-card:hover .service-arrow { gap: 0.75rem; }

/* ── ABOUT SECTION ── */
#about {
  background: var(--bg-2);
  padding-top: 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
}
.about-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  max-height: 650px;
}
.about-img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
}
.about-img-frame {
  position: absolute;
  inset: -16px 16px 16px -16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  z-index: -1;
}
.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 120px; height: 120px;
  background: var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.about-badge-num {
  font-family: 'Cormorant', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--bg);
  line-height: 1;
}
.about-badge-label {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  text-align: center;
  padding: 0 8px;
}
.about-content { display: flex; flex-direction: column; gap: 1.75rem; }
.about-content p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.9; }
.about-credentials {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: rgba(202,138,4,0.03);
}
.credential {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.credential::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── BEFORE/AFTER ── */
#before-after { background: var(--bg); }
.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 900px) {
  .ba-grid { grid-template-columns: 1fr; }
}
.ba-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-2);
}
.ba-slider-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  user-select: none;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.ba-img.after { clip-path: inset(0 50% 0 0); transition: clip-path 0s; }
.ba-slider-line {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--gold);
  z-index: 3;
  transform: translateX(-50%);
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  cursor: ew-resize;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.ba-labels {
  position: absolute;
  bottom: 1rem;
  left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 5;
  pointer-events: none;
}
.ba-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  background: rgba(250,248,245,0.88);
  color: var(--text-muted);
  backdrop-filter: blur(4px);
}
.ba-card-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
}
.ba-card-footer h4 {
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 0.25rem;
}
.ba-card-footer p { font-size: 0.75rem; color: var(--text-muted); }

/* ── TESTIMONIALS ── */
#testimonials { background: var(--bg-2); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}
.testimonial-card {
  padding: 2.5rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg);
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.testimonial-card:hover { border-color: var(--border); transform: translateY(-4px); }
.testimonial-card::before {
  content: '\201C';
  font-family: 'Cormorant', serif;
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.25;
  position: absolute;
  top: 1rem; left: 1.5rem;
  line-height: 1;
}
.stars {
  display: flex; gap: 3px;
  margin-bottom: 1.25rem;
}
.star { color: var(--gold); font-size: 0.8rem; }
.testimonial-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 1.75rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant', serif;
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
}
.author-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.1rem;
}
.author-proc { font-size: 0.7rem; color: var(--text-muted); }

/* ── FAQ / CHATBOT ── */
#faq { background: var(--bg); }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  cursor: pointer;
  gap: 1rem;
}
.faq-question h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--cream);
  line-height: 1.5;
}
.faq-icon {
  width: 28px; height: 28px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
  color: var(--gold);
}
.faq-item.open .faq-icon { background: var(--gold); color: var(--bg); transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 1.5rem; }
.faq-answer p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.9; }

/* ── INSTAGRAM ── */
#instagram { background: var(--bg-2); }
.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-top: 2.5rem;
}
@media (max-width: 900px) {
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 500px) {
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
}
.insta-item {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--bg-3);
  text-decoration: none;
}
.insta-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s, filter 0.4s;
  filter: grayscale(20%);
}
.insta-item:hover img { transform: scale(1.08); filter: grayscale(0%); }
.insta-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(202,138,4,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.insta-item:hover .insta-item-overlay { opacity: 1; }

/* ── CTA BAND ── */
#cta-band {
  padding: 6rem clamp(1.5rem, 5vw, 6rem);
  background: linear-gradient(135deg, #EDE8DF 0%, #F5F2EC 50%, #EDE8DF 100%);
  border-top: 1px solid rgba(139,98,0,0.2);
  border-bottom: 1px solid rgba(139,98,0,0.2);
  text-align: center;
}
.cta-band-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.cta-band-inner h2 { color: var(--cream); }
.cta-band-inner p { color: var(--text-muted); font-size: 0.9rem; }
.cta-band-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ── FOOTER ── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem clamp(1.5rem, 5vw, 6rem) 2rem;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
}
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}
.footer-brand p { font-size: 0.82rem; color: var(--text-muted); margin-top: 1rem; line-height: 1.9; max-width: 28ch; }
.footer-col h5 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul li a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--cream); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.footer-contact-item svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding-right: clamp(0px, 0px, 0px); /* liens à gauche, hors de la zone du sticky RDV */
}
.footer-bottom p { font-size: 0.72rem; color: var(--text-muted); margin: 0; }
.footer-legal-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-socials { display: flex; gap: 1rem; }
.footer-socials a {
  width: 36px; height: 36px;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.25s;
}
.footer-socials a:hover { border-color: var(--gold); color: var(--gold); }
.footer-logo {
  font-family: 'Cormorant', serif;
  font-size: 1.1rem;
  color: var(--cream);
  text-decoration: none;
  display: inline-block;
}
.footer-logo img { width: clamp(165px, 46vw, 200px); height: auto; display: block; }

/* ── REVEAL ANIMATIONS ── */
/* Visible par défaut : si le JS ne tourne pas (ou tard), le contenu reste lisible.
   L'animation n'est armée que lorsque <html> porte la classe .js (posée en <head>). */
.reveal { opacity: 1; }
html.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
html.js .reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── KEYFRAMES ── */
@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes reelEnter {
  from { transform: translateX(28px) scale(0.97); opacity: 0.01; }
  to   { transform: none; opacity: 1; }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* ── FLOATING RDV BTN ── */
.floating-rdv {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  background: var(--gold);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(202,138,4,0.4);
  transition: all 0.3s;
  cursor: pointer;
}
.floating-rdv:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(202,138,4,0.5); }

/* ── PAGE HEADER ── */
.page-hero {
  padding: 10rem clamp(1.5rem, 5vw, 6rem) 5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}
/* Anti-débordement horizontal : certaines pages passent overflow:visible en inline
   (badge qui dépasse en bas). On re-clippe UNIQUEMENT l'axe horizontal → le décor
   ::before (600px, right:-20%) ne crée plus de scroll latéral, le badge reste visible. */
.page-hero { overflow-x: clip !important; }
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(202,138,4,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { max-width: 1400px; margin: 0 auto; }

/* ── PAGE HERO SPLIT (services) ── */
.page-hero-split {
  display: flex;
  align-items: center;
  gap: clamp(3rem, 5vw, 6rem);
}
.page-hero-content {
  flex: 1 1 0;
  min-width: 0;
}
/* Hero titles across every page template: capped size + balanced lines so a
   long title never falls through to the 96px global h1 and orphans a single
   word on an otherwise-empty second line. The homepage .hero-title (in .hero,
   not .page-hero) is intentionally excluded so it keeps its large display size. */
.page-hero h1,
.guide-hero h1,
.actu-hero h1,
.blog-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  text-wrap: balance;
  overflow-wrap: break-word;
}
.page-hero-reel {
  flex: 0 0 clamp(360px, 46vw, 620px);
  width: clamp(360px, 46vw, 620px);
  display: flex;
  justify-content: center;
}
.reel-frame-wrap {
  position: relative;
  width: clamp(260px, 26vw, 360px);
}
/* Reel entrance — transform only so video is never opacity:0 (avoids browser pause) */
.reveal-reel {
  animation: reelEnter 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}
.reel-deco-border {
  position: absolute;
  inset: -10px 10px 10px -10px;
  border: 1px solid var(--border);
  z-index: 0;
  pointer-events: none;
}

/* ── REEL CARD (vidéo autoplay) ── */
.reel-card {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #111;
}
.reel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.reel-gradient-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}
.reel-gradient-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}
.reel-top-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  color: white;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  z-index: 3;
  text-decoration: none;
  transition: opacity 0.2s;
}
.reel-top-bar:hover { opacity: 0.8; }
.reel-bottom-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1rem 1rem;
  z-index: 3;
  text-decoration: none;
  transition: opacity 0.2s;
}
.reel-bottom-info:hover { opacity: 0.8; }
.reel-bottom-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: white;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.reel-bottom-desc {
  color: rgba(255,255,255,0.85);
  font-size: 0.72rem;
  line-height: 1.4;
  margin: 0;
}
.reel-profile-tag {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.reel-profile-tag:hover { color: var(--gold); }

@media (max-width: 960px) {
  .page-hero-split { flex-direction: column; align-items: flex-start; }
  .page-hero-reel { align-self: center; }
  .reel-frame-wrap { width: min(260px, 70vw); }
}
@media (max-width: 600px) {
  .page-hero-reel { display: none; }
}

/* ── CABINET SLIDESHOW (contact hero) ── */
.cabinet-slideshow-wrap {
  position: relative;
  width: clamp(380px, 42vw, 580px);
}
.cabinet-deco-border {
  position: absolute;
  inset: -10px 10px 10px -10px;
  border: 1px solid var(--border);
  z-index: 0;
  pointer-events: none;
}
.cabinet-slideshow {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg-2);
}
.cabinet-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.cabinet-slide.active { opacity: 1; }
.cabinet-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Indicateurs */
.cabinet-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.cabinet-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transition: background 0.3s, transform 0.3s;
  cursor: pointer;
}
.cabinet-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}
.cabinet-address-tag {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}
@media (max-width: 960px) {
  .cabinet-slideshow-wrap { width: min(380px, 85vw); }
}
@media (max-width: 600px) {
  .page-hero-reel { display: none; }
}

/* ── TYPING CURSOR ── */
.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--gold);
  margin-left: 2px;
  animation: blink 0.8s infinite;
  vertical-align: text-bottom;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── GOLD DIVIDER ── */
.gold-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0.4;
  margin: 0;
}

/* ── SERVICES DETAIL PAGE ── */
.services-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(12,10,9,1) 40%, transparent);
}
.service-detail-section {
  padding: 5rem clamp(1.5rem, 5vw, 6rem);
  border-bottom: 1px solid var(--border-subtle);
}
.service-detail-section:nth-child(even) { background: var(--bg-2); }
.service-detail-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .service-detail-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }
.service-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.service-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-detail-grid:hover .service-img-wrap img { transform: scale(1.03); }
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.5rem 0;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.service-list li::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-info-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.contact-icon-wrap {
  width: 48px; height: 48px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.contact-info-item h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.contact-info-item p, .contact-info-item a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1.7;
}
.contact-info-item a:hover { color: var(--cream); }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-2);
  border: 1px solid var(--border-subtle);
  color: var(--cream);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.25s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg-2); }
.form-note { font-size: 0.75rem; color: var(--text-muted); }

/* ── ABOUT PAGE ── */
.about-full-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 900px) {
  .about-full-grid { grid-template-columns: 1fr; gap: 3rem; }
}
.about-timeline { display: flex; flex-direction: column; }
.timeline-item {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  position: relative;
}
.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 1px;
  background: var(--border-subtle);
}
.timeline-dot {
  width: 40px; height: 40px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-family: 'Cormorant', serif;
  font-size: 0.85rem;
  font-weight: 500;
}
.timeline-content h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.25rem;
}
.timeline-content p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.7; }

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.expertise-item {
  padding: 1.5rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-2);
  transition: border-color 0.3s;
}
.expertise-item:hover { border-color: var(--border); }
.expertise-item h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.4rem;
}
.expertise-item p { font-size: 0.75rem; color: var(--text-muted); line-height: 1.7; }

/* ── CHATBOT TYPING INDICATOR ── */
.typing-dots {
  display: flex !important;
  align-items: center;
  gap: 5px;
  padding: 0.75rem 1rem !important;
  min-height: auto !important;
}
.typing-dots span {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typingBounce 1.3s ease-in-out infinite;
  opacity: 0.5;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%           { transform: translateY(-7px); opacity: 1; }
}

/* ── HERO IMAGE PANEL ── */
.hero-img-panel {
  position: absolute;
  right: clamp(6rem, 10vw, 14rem);
  top: 50%;
  transform: translateY(-52%);
  width: min(32vw, 400px);
  aspect-ratio: 3/4;
  z-index: 1;
  overflow: visible;
}
.hero-img-panel-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.hero-img-panel-inner::before {
  content: '';
  position: absolute;
  inset: -14px 14px 14px -14px;
  border: 1px solid var(--border);
  z-index: -1;
  pointer-events: none;
}
.hero-img-panel-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.9s ease;
}
.hero-img-panel-inner:hover img { transform: scale(1.04); }
.hero-img-panel-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(250,248,245,0.45) 100%);
  pointer-events: none;
}
.hero-img-badge {
  position: absolute;
  bottom: -1.25rem;
  left: -1.25rem;
  z-index: 4;
  padding: 0.85rem 1.4rem;
  background: var(--gold);
  line-height: 1.5;
  pointer-events: none;
}
.hero-img-badge-top {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg);
}
.hero-img-badge-sub {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: rgba(250,248,245,0.72);
  margin-top: 0.15rem;
}
@media (max-width: 1100px) {
  .hero-img-panel {
    width: min(28vw, 320px);
    right: clamp(2rem, 4vw, 7rem);
  }
}
@media (max-width: 900px) {
  .hero-img-panel { display: none; }
}

/* ══════════════════════════════════════════════════
   LEGAL PAGES (Mentions légales · Confidentialité)
══════════════════════════════════════════════════ */
.legal-header {
  padding: 9rem clamp(1.5rem, 5vw, 6rem) 3.5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}
.legal-header::before {
  content: '';
  position: absolute;
  top: -40%; right: -15%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(202,138,4,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.legal-header-inner { max-width: 860px; margin: 0 auto; }
.legal-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 3.5rem clamp(1.5rem, 5vw, 6rem) 6rem;
}
.legal-body h2 {
  font-family: 'Cormorant', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  margin: 3.5rem 0 0.8rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-subtle);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 2rem 0 0.6rem;
}
.legal-body p {
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin: 0 0 0.9rem;
}
.legal-body ul, .legal-body ol {
  padding-left: 1.6rem;
  margin: 0.5rem 0 1rem;
}
.legal-body li {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.legal-body strong { color: var(--text); font-weight: 600; }
.legal-body a { color: var(--gold); text-decoration: none; }
.legal-body a:hover { text-decoration: underline; }
.legal-box {
  background: var(--bg-2);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 4px 4px 0;
}
.legal-box p { margin: 0; font-size: 0.84rem; }
.legal-placeholder {
  display: inline-block;
  background: rgba(139,98,0,0.12);
  border: 1px dashed rgba(139,98,0,0.5);
  padding: 0.1rem 0.45rem;
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.legal-updated {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}
.legal-toc {
  background: var(--bg-2);
  padding: 1.5rem 1.75rem;
  margin-bottom: 3rem;
  border-radius: 4px;
}
.legal-toc h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.75rem;
}
.legal-toc ol { margin: 0; padding-left: 1.2rem; }
.legal-toc li { font-size: 0.83rem; line-height: 1.7; margin-bottom: 0.2rem; }
.legal-toc a { color: var(--text-muted); text-decoration: none; }
.legal-toc a:hover { color: var(--gold); }

/* ══════════════════════════════════════════════════
   COOKIE CONSENT BANNER (CNIL/RGPD)
══════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  z-index: 10000;
  transform: translateY(110%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 -8px 40px rgba(26,22,20,0.14);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.4rem clamp(1.5rem, 5vw, 6rem);
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cookie-text { flex: 1 1 300px; }
.cookie-text strong {
  display: block;
  font-family: 'Cormorant', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.cookie-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}
.cookie-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 0.58rem 1.4rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
  white-space: nowrap;
  line-height: 1;
}
.cookie-btn-refuse {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}
.cookie-btn-refuse:hover { border-color: var(--text-muted); color: var(--text); }
.cookie-btn-accept {
  background: var(--gold);
  color: #fff;
  border: 1px solid var(--gold);
}
.cookie-btn-accept:hover { opacity: 0.85; }
@media (max-width: 580px) {
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}

/* ══════════════════════════════════════════════════════════════
   SEARCH — Barre de recherche navbar + overlay (search.js)
   ══════════════════════════════════════════════════════════════ */

/* ── Bouton loupe dans la navbar ── */
/* ── Bouton recherche — pill icône + séparateur + texte ── */
.nav-search-btn {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 0.9rem 0 0.75rem;
  gap: 0.55rem;
  background: rgba(139,98,0,0.06);
  border: 1px solid rgba(139,98,0,0.22);
  border-radius: 17px;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-search-btn:hover {
  background: rgba(139,98,0,0.11);
  border-color: rgba(139,98,0,0.4);
  color: var(--gold);
  box-shadow: 0 2px 10px rgba(139,98,0,0.1);
}
.nav-search-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Séparateur vertical (élément DOM explicite pour fiabilité) */
.nav-search-sep {
  display: block;
  width: 1px;
  height: 15px;
  background: rgba(139,98,0,0.22);
  flex-shrink: 0;
}

/* Label texte */
.nav-search-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  color: inherit;
}

/* Mobile : icône seule */
@media (max-width: 900px) {
  .nav-search-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    justify-content: center;
    border-radius: var(--radius);
    background: none;
    border-color: var(--border-subtle);
    margin-left: auto;
    gap: 0;
  }
  .nav-search-sep,
  .nav-search-label { display: none; }
}

/* ── Verrou scroll quand overlay ouvert ── */
body.s-body-lock { overflow: hidden; }

/* ── Overlay backdrop — animation 3 couches ── */
#sOverlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(26,22,20,0.0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(70px, 10vh, 130px);
  pointer-events: none;
  /* Backdrop fade + blur progressif à l'ouverture */
  transition:
    background 0.32s ease,
    backdrop-filter 0.36s ease;
}
#sOverlay.s-open {
  background: rgba(26,22,20,0.46);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  pointer-events: all;
}

/* Fermeture rapide du backdrop */
#sOverlay.s-closing {
  background: rgba(26,22,20,0.0) !important;
  backdrop-filter: blur(0px) !important;
  -webkit-backdrop-filter: blur(0px) !important;
  pointer-events: none !important;
  transition:
    background 0.18s ease,
    backdrop-filter 0.18s ease !important;
}

/* ── Panneau de recherche — spring + opacity ── */
#sPanel {
  width: 100%;
  max-width: 700px;
  margin: 0 1.25rem;
  background: var(--bg);
  border: 1px solid rgba(139,98,0,0.18);
  border-top: 2.5px solid var(--gold);
  border-radius: 10px;
  box-shadow:
    0 4px 6px rgba(26,22,20,0.04),
    0 24px 72px rgba(26,22,20,0.20),
    0 0 0 1px rgba(139,98,0,0.04);
  overflow: hidden;
  will-change: transform, opacity;
  /* État fermé */
  opacity: 0;
  transform: translateY(-20px) scale(0.96);
  /* Entrée : spring expo-out avec léger délai */
  transition:
    opacity  0.34s cubic-bezier(0.16, 1, 0.3, 1) 40ms,
    transform 0.42s cubic-bezier(0.16, 1, 0.3, 1) 40ms;
}
#sOverlay.s-open:not(.s-closing) #sPanel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Fermeture rapide du panneau */
#sOverlay.s-closing #sPanel {
  opacity: 0;
  transform: translateY(-10px) scale(0.975);
  transition:
    opacity  0.14s ease-in 0ms,
    transform 0.14s ease-in 0ms !important;
}

/* ── Accessibilité : désactive les animations si demandé ── */
@media (prefers-reduced-motion: reduce) {
  #sOverlay, #sPanel, #sOverlay.s-closing, #sOverlay.s-closing #sPanel {
    transition: none !important;
  }
}

/* ── Ligne d'input ── */
#sInputRow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--border-subtle);
}
.s-icon-mag {
  color: var(--gold);
  flex-shrink: 0;
  opacity: 0.85;
}
#sInput {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text);
  caret-color: var(--gold);
  letter-spacing: 0.01em;
}
#sInput::placeholder {
  color: var(--text-muted);
  font-style: italic;
  font-weight: 300;
}
#sInput::-webkit-search-cancel-button { display: none; }

/* Bouton effacer */
.s-clear-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  background: var(--bg-2);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s;
}
.s-clear-btn:hover { color: var(--text); border-color: var(--border); }

/* Badge Esc */
.s-kbd-esc {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: var(--bg-2);
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  padding: 0.2rem 0.45rem;
  cursor: pointer;
  flex-shrink: 0;
  user-select: none;
  transition: all 0.15s;
}
.s-kbd-esc:hover { color: var(--text); }

/* ── Zone de résultats ── */
#sResults {
  max-height: 400px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
#sResults::-webkit-scrollbar { width: 3px; }
#sResults::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* Label suggestions */
.s-suggestions-label {
  padding: 0.85rem 1.4rem 0.4rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.s-suggestions-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

/* ── Chips de suggestions rapides ── */
.s-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.4rem 1.4rem 1.3rem;
}
.s-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.88rem;
  background: var(--bg-2);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.16s, border-color 0.16s, color 0.16s, transform 0.16s, box-shadow 0.16s;
  user-select: none;
}
.s-chip:hover {
  background: var(--gold-pale);
  border-color: rgba(139,98,0,0.3);
  color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(139,98,0,0.12);
}
/* Premier chip (plus visible — accès rapide RDV) */
.s-chip:first-child {
  background: rgba(139,98,0,0.07);
  border-color: rgba(139,98,0,0.22);
  color: var(--gold);
}
.s-chip:first-child:hover {
  background: rgba(139,98,0,0.14);
  border-color: rgba(139,98,0,0.38);
}

/* ── Ligne de résultat — stagger à l'apparition ── */
@keyframes sResultIn {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}
.s-result {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.85rem 1.4rem;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.15s, border-left-color 0.15s;
  cursor: pointer;
  border-left: 2px solid transparent;
  animation: sResultIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
}
/* Délai progressif sur les 8 premiers résultats */
.s-result:nth-child(1) { animation-delay: 0ms; }
.s-result:nth-child(2) { animation-delay: 28ms; }
.s-result:nth-child(3) { animation-delay: 56ms; }
.s-result:nth-child(4) { animation-delay: 84ms; }
.s-result:nth-child(5) { animation-delay: 112ms; }
.s-result:nth-child(6) { animation-delay: 140ms; }
.s-result:nth-child(7) { animation-delay: 168ms; }
.s-result:nth-child(8) { animation-delay: 196ms; }
.s-result:last-child { border-bottom: none; }
.s-result:hover    { background: var(--bg-2); border-left-color: rgba(139,98,0,0.28); }
.s-result.s-active { background: var(--gold-pale); border-left-color: var(--gold); }
@media (prefers-reduced-motion: reduce) {
  .s-result { animation: none; }
}
.s-result.s-suggestion { padding: 0.7rem 1.25rem; }

/* Badge catégorie */
.s-cat {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 56px;
  text-align: center;
}

/* Icône suggestion */
.s-suggest-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  background: var(--bg-2);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* Corps du résultat */
.s-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.s-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.s-short {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.s-result.s-suggestion .s-title {
  font-family: 'Cormorant', serif;
  font-size: 1rem;
  font-weight: 400;
}

/* Flèche */
.s-arrow {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.15s, color 0.15s;
}
.s-result:hover   .s-arrow,
.s-result.s-active .s-arrow {
  transform: translateX(3px);
  color: var(--gold);
}

/* Surbrillance des termes trouvés */
.s-result mark {
  background: var(--gold-pale);
  color: var(--gold);
  font-weight: 700;
  border-radius: 1px;
  padding: 0 1px;
}

/* État vide */
.s-empty {
  padding: 2.5rem 1.25rem;
  text-align: center;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.s-empty p { font-size: 0.9rem; margin: 0; }
.s-empty p strong { color: var(--text); }
.s-empty-hint { font-size: 0.78rem; opacity: 0.7; }

/* ── Pied du panneau (raccourcis clavier) ── */
#sFooter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding: 0.55rem 1.25rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-2);
  font-size: 0.68rem;
  color: var(--text-muted);
  user-select: none;
}
#sFooter kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid rgba(26,22,20,0.12);
  border-radius: 3px;
  padding: 0.1rem 0.35rem;
  font-size: 0.62rem;
  font-family: monospace;
  margin-right: 0.15rem;
}
.s-footer-hint { margin-left: auto; }

/* ── Responsive ── */
@media (max-width: 680px) {
  #sPanel { margin: 0 0.75rem; border-radius: 4px; }
  #sOverlay { padding-top: 52px; align-items: flex-start; }
  .s-footer-hint { display: none; }
  #sFooter { gap: 0.5rem 0.9rem; font-size: 0.65rem; }
  .s-short { display: none; }
  .s-result { padding: 0.75rem 1rem; }
}
@media (max-width: 400px) {
  #sFooter { display: none; }
}

/* ════════════════════════════════════════════════════
   Maillage interne — bloc « Votre parcours » + « Pour aller plus loin »
   (inséré en bas des pages procédure, avant le CTA final)
   ════════════════════════════════════════════════════ */
.maillage {
  padding: clamp(3.5rem, 7vh, 5.5rem) clamp(1.5rem, 5vw, 6rem);
  background: var(--bg);
  border-top: 1px solid var(--border-subtle);
}
.maillage-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.maillage-col { min-width: 0; }
.maillage-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.4rem;
}
.maillage-links { display: flex; flex-direction: column; }
.maillage-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.maillage-links a:hover { color: var(--gold); padding-left: 0.45rem; }
.maillage-links a::after {
  content: '→';
  color: var(--gold);
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.maillage-links a:hover::after { opacity: 1; transform: translateX(0); }
@media (max-width: 760px) {
  .maillage-inner { grid-template-columns: 1fr; gap: 2.75rem; }
}

/* ── Date de mise à jour visible (E-E-A-T / fraîcheur) ── */
.page-updated {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin: 0.75rem 0 0;
}
.page-updated time,
.page-updated strong { color: var(--text); font-weight: 600; }

/* ── Sources & recommandations (citations d'autorité — E-E-A-T) ── */
.page-sources {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.25rem clamp(1.5rem, 5vw, 6rem);
  border-top: 1px solid var(--border-subtle);
}
.page-sources-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.55rem;
}
.page-sources p {
  font-size: 0.76rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}
.page-sources a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.page-sources a:hover { color: var(--gold); }

/* ── Preuve sociale dans le CTA band (M-C) ── */
.cta-band-trust { margin-top: 1.5rem; font-size: 0.82rem; }
.cta-band-trust a { color: var(--text-muted); text-decoration: none; transition: color 0.2s ease; }
.cta-band-trust a:hover { color: var(--gold); }
.cta-band-trust .stars { color: var(--gold); letter-spacing: 1px; }
.cta-band-trust strong { color: var(--text); font-weight: 700; }

/* ── Section « Suis-je un bon candidat ? » (M-B) ── */
.candidate {
  padding: clamp(3.5rem, 7vh, 5.5rem) clamp(1.5rem, 5vw, 6rem);
  background: var(--bg-2);
}
.candidate-inner { max-width: 1000px; margin: 0 auto; }
.candidate-inner > h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0.5rem 0 2rem;
  text-wrap: balance;
}
.candidate-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.candidate-yes, .candidate-no {
  padding: 1.75rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg);
}
.candidate-yes h3, .candidate-no h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 1.1rem;
}
.candidate-yes h3 { color: #2E7D5B; }
.candidate-no h3 { color: var(--text-muted); }
.candidate-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.candidate-cols li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.candidate-yes li::before { content: '✓'; position: absolute; left: 0; color: #2E7D5B; font-weight: 700; }
.candidate-no li::before { content: '–'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.candidate-note { margin-top: 1.75rem; font-size: 0.8rem; font-style: italic; color: var(--text-muted); }
@media (max-width: 680px) { .candidate-cols { grid-template-columns: 1fr; } }

/* ── Encadré discrétion (M-G, gynécomastie) ── */
.discretion-callout {
  padding: clamp(3rem, 6vh, 4.5rem) clamp(1.5rem, 5vw, 6rem);
  background: var(--bg-2);
}
.discretion-inner {
  max-width: 780px;
  margin: 0 auto;
  border-left: 3px solid var(--gold);
  padding-left: clamp(1.25rem, 3vw, 2.25rem);
}
.discretion-inner h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0.5rem 0 1.25rem; text-wrap: balance; }
.discretion-inner p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.85; margin: 0 0 1rem; }
.discretion-inner p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════════════════
   CORRECTIFS MOBILE — durcissement responsive (juin 2026)
   Buts : zéro débordement horizontal · contenu toujours visible ·
   cibles tactiles ≥44px · pas de zoom auto iOS · encoches (safe-area) gérées.
   ═══════════════════════════════════════════════════════════════════════ */

/* 1 — Grilles inline rendues responsive SANS toucher au HTML.
   Une déclaration !important d'une feuille de style l'emporte sur le style
   inline (non-important) : un seul endroit corrige les ~180 grilles du site.
   minmax(0,1fr) empêche le contenu de forcer un débordement horizontal.
   NB : on NE touche PAS aux grilles « icône + texte » (auto 1fr, 80px 1fr…)
   ni aux auto-fit à petit plancher, déjà responsives par nature. */

/* 1a — Grilles 3+ colonnes → 2 colonnes sur tablette/grand mobile */
@media (max-width: 768px) {
  [style*="repeat(3,1fr)"], [style*="repeat(3, 1fr)"],
  [style*="repeat(4,1fr)"], [style*="repeat(4, 1fr)"],
  [style*="repeat(5,1fr)"], [style*="repeat(5, 1fr)"],
  [style*="grid-template-columns:1.5fr 1fr 1fr"], [style*="grid-template-columns: 1.5fr 1fr 1fr"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* 1b — Grilles 2 colonnes (1fr 1fr, 1fr 2fr, repeat(2,1fr)) → 1 colonne sur mobile */
@media (max-width: 680px) {
  [style*="grid-template-columns:1fr 1fr"], [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 2fr"], [style*="grid-template-columns: 1fr 2fr"],
  [style*="repeat(2,1fr)"], [style*="repeat(2, 1fr)"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* 1c — Grilles 3+ colonnes → 1 colonne sur petit téléphone */
@media (max-width: 540px) {
  [style*="repeat(3,1fr)"], [style*="repeat(3, 1fr)"],
  [style*="repeat(5,1fr)"], [style*="repeat(5, 1fr)"],
  [style*="grid-template-columns:1.5fr 1fr 1fr"], [style*="grid-template-columns: 1.5fr 1fr 1fr"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* 1d — Auto-fit à grand plancher : ne jamais déborder sur petit écran */
@media (max-width: 480px) {
  [style*="minmax(260px"], [style*="minmax(270px"], [style*="minmax(280px"],
  [style*="minmax(290px"], [style*="minmax(300px"], [style*="minmax(320px"],
  [style*="minmax(340px"], [style*="minmax(350px"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* 2 — Hero : les stats s'enroulent au lieu de déborder ; séparateurs masqués */
@media (max-width: 600px) {
  .hero-stats { flex-wrap: wrap; gap: 1.1rem 1.5rem; }
  .stat-divider { display: none; }
}
@media (max-width: 480px) {
  .hero-stats .stat-item { flex: 1 1 calc(50% - 0.75rem); }
}

/* 3 — Champs de formulaire ≥16px sur mobile → empêche le zoom auto d'iOS Safari */
@media (max-width: 900px) {
  input, textarea, select,
  .form-group input, .form-group select, .form-group textarea { font-size: 16px; }
}

/* 4 — Cibles tactiles confortables + encoches iPhone (safe-area-inset) */
@media (max-width: 900px) {
  .nav-hamburger { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .navbar {
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
  }
  .mobile-menu {
    padding-top: max(4.5rem, calc(env(safe-area-inset-top) + 3.25rem));
    padding-bottom: max(3rem, calc(env(safe-area-inset-bottom) + 1.5rem));
  }
  .floating-rdv {
    bottom: max(1.25rem, env(safe-area-inset-bottom));
    right: max(1.25rem, env(safe-area-inset-right));
    padding: 0.8rem 1.3rem;
  }
}

/* 5 — Glissière avant/après : la poignée capte le geste tactile (le doigt
   déplace le curseur au lieu de faire défiler la page). JS associé dans main.js. */
.ba-handle { touch-action: none; width: 46px; height: 46px; }

/* 6 — Garde-fou ultime : aucun élément ne crée de scroll latéral */
html, body { max-width: 100%; }

/* ── FIN ── */

