/* ==========================================================================
   HOME CONSILIUM — Courtier en travaux (Calvados)
   Feuille de style principale
   --------------------------------------------------------------------------
   Sommaire
   01. Jetons de design (variables)
   02. Réinitialisation & bases
   03. Utilitaires & typographie
   04. Boutons & liens
   05. Animations d'apparition
   06. Écran de chargement
   07. En-tête, navigation, menu mobile
   08. Hero
   09. Atouts
   10. À propos
   11. Chiffres clés
   12. Méthode
   13. Services
   14. Galerie + lightbox
   15. Zone d'intervention
   16. Avis
   17. FAQ
   18. Contact & formulaire
   19. Pied de page
   20. Éléments flottants (retour haut, barre mobile)
   21. Pages secondaires (mentions légales…)
   22. Responsive
   23. Préférences d'accessibilité & impression
   ========================================================================== */

/* ==========================================================================
   01. JETONS DE DESIGN
   ========================================================================== */
:root {
  /* — Palette, reprise des couleurs du flyer — */
  --navy-950: #05182C;
  --navy-900: #08213C;
  --navy-800: #0C2C4E;
  --navy-700: #123A63;
  --navy-600: #1B4E80;

  --gold-600: #A9803C;
  --gold-500: #C69C55;
  --gold-400: #D6B274;
  --gold-200: #EBD9B4;

  --cream-50: #FBF9F6;
  --cream-100: #F5F1EA;
  --cream-200: #ECE5DA;

  --ink-900: #101B26;
  --ink-700: #2C3B4A;
  --ink-500: #5A6B7B;
  --ink-300: #8C9AA7;

  --white: #FFFFFF;

  /* — Rôles — */
  --bg: var(--white);
  --bg-alt: var(--cream-50);
  --text: var(--ink-700);
  --title: var(--navy-900);
  --accent: var(--gold-500);
  --line: rgba(8, 33, 60, .10);
  --line-strong: rgba(8, 33, 60, .18);
  --line-light: rgba(255, 255, 255, .14);

  /* — Typographie — */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-ui: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Échelle fluide : tout s'adapte sans palier brutal */
  --fs-hero: clamp(2.9rem, 1.4rem + 6.2vw, 6.6rem);
  --fs-h2:   clamp(2.1rem, 1.2rem + 3.2vw, 3.9rem);
  --fs-h3:   clamp(1.15rem, 1rem + .5vw, 1.4rem);
  --fs-lead: clamp(1.02rem, .96rem + .35vw, 1.22rem);
  --fs-body: clamp(.96rem, .92rem + .2vw, 1.04rem);
  --fs-small: .84rem;

  /* — Rythme & mise en page — */
  --shell: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 3rem + 7vw, 9rem);

  /* — Formes — */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* — Profondeur (ombres discrètes, jamais lourdes) — */
  --sh-xs: 0 1px 2px rgba(8, 33, 60, .05);
  --sh-sm: 0 4px 14px rgba(8, 33, 60, .06);
  --sh-md: 0 14px 38px rgba(8, 33, 60, .09);
  --sh-lg: 0 28px 70px rgba(8, 33, 60, .14);
  --sh-gold: 0 12px 32px rgba(169, 128, 60, .28);

  /* — Mouvement — */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: .22s var(--ease);
  --t-mid: .4s var(--ease);
  --t-slow: .7s var(--ease-out);

  --header-h: 84px;
}

/* ==========================================================================
   02. RÉINITIALISATION & BASES
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  /* Garde-fou anti-débordement horizontal. Placé sur `html` et non sur `body` :
     sur `body`, `overflow-x: hidden` force `overflow-y: auto` et transforme
     l'élément en conteneur de défilement, ce qui perturbe le défilement de la
     page et les éléments `position: fixed` sur iOS. */
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.68;
  letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

/* L'attribut `hidden` doit toujours l'emporter. Sans cette règle, une classe
   qui déclare `display: flex/grid` (lightbox, menu mobile…) écrase la feuille
   du navigateur : l'élément reste invisible mais continue d'intercepter les
   clics sur toute la page. */
[hidden] { display: none !important; }

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

img { height: auto; }

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

button,
input,
select,
textarea { font: inherit; color: inherit; }

button { background: none; border: 0; cursor: pointer; }

ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--title);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.012em;
}

em { font-style: italic; }

::selection { background: var(--gold-200); color: var(--navy-900); }

/* Focus toujours visible et lisible sur fond clair comme foncé */
:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Barre de défilement discrète (WebKit) */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--cream-100); }
::-webkit-scrollbar-thumb { background: var(--navy-700); border-radius: 99px; border: 3px solid var(--cream-100); }
::-webkit-scrollbar-thumb:hover { background: var(--navy-900); }

/* ==========================================================================
   03. UTILITAIRES & TYPOGRAPHIE
   ========================================================================== */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.section--cream { background: var(--cream-50); }

.section--navy {
  background:
    radial-gradient(120% 90% at 12% 0%, var(--navy-800) 0%, transparent 60%),
    linear-gradient(165deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: rgba(255, 255, 255, .78);
}

.section__head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head--center { margin-inline: auto; text-align: center; }

/* Lien d'évitement (accessibilité clavier) */
.skip-link {
  position: fixed;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  padding: .8rem 1.4rem;
  background: var(--navy-900);
  color: #fff;
  border-radius: 0 0 var(--r-md) var(--r-md);
  transition: top var(--t-fast);
}
.skip-link:focus { top: 0; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Sur-titre de section */
.eyebrow {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 1.15rem;
}
.section__head--center .eyebrow { justify-content: center; }
.eyebrow--light { color: var(--gold-400); }

.rule {
  display: inline-block;
  width: 34px; height: 1px;
  background: currentColor;
  opacity: .7;
  flex: none;
}

.h2 {
  font-size: var(--fs-h2);
  margin-bottom: 1.1rem;
}
.h2 em { color: var(--gold-600); }
.h2--light { color: #fff; }
.h2--light em { color: var(--gold-400); }

.lead {
  font-size: var(--fs-lead);
  color: var(--ink-500);
  line-height: 1.75;
  max-width: 62ch;
}
.section__head--center .lead { margin-inline: auto; }
.lead--light { color: rgba(255, 255, 255, .74); }
.lead--light strong { color: var(--gold-400); font-weight: 600; }

/* Mention « contenu d'exemple » — supprimable en une ligne */
.note {
  display: inline-block;
  margin-top: .7rem;
  padding: .28rem .8rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold-600);
  background: rgba(198, 156, 85, .11);
  border: 1px dashed rgba(198, 156, 85, .5);
  border-radius: var(--r-pill);
}

.link-gold {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 600;
  color: var(--gold-600);
  border-bottom: 1px solid rgba(198, 156, 85, .35);
  padding-bottom: 3px;
  transition: gap var(--t-fast), border-color var(--t-fast);
}
.link-gold:hover { gap: .9rem; border-color: var(--gold-500); }

/* ==========================================================================
   04. BOUTONS
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: 1.02rem 2rem;
  font-family: var(--font-ui);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .045em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--t-fast), box-shadow var(--t-mid), color var(--t-mid), border-color var(--t-mid);
}
.btn i { font-size: .85em; transition: transform var(--t-mid); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:hover i.fa-arrow-right { transform: translateX(4px); }
.btn:hover i.fa-arrow-down { transform: translateY(3px); }

/* Voile lumineux qui balaie le bouton au survol */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .3) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .75s var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 45%, var(--gold-600) 100%);
  color: #fff;
  box-shadow: var(--sh-gold);
}
.btn--gold:hover { box-shadow: 0 18px 40px rgba(169, 128, 60, .38); }

.btn--navy {
  background: var(--navy-900);
  color: #fff;
  box-shadow: 0 10px 28px rgba(8, 33, 60, .22);
}
.btn--navy:hover { background: var(--navy-800); box-shadow: 0 16px 38px rgba(8, 33, 60, .3); }

.btn--ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, .06);
}
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .14); }

.btn--sm { padding: .78rem 1.4rem; font-size: .78rem; }
.btn--block { width: 100%; }

/* ==========================================================================
   05. ANIMATIONS D'APPARITION AU SCROLL
   ========================================================================== */
/* Masqué uniquement si JS est actif : sans JS, tout reste lisible. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .85s var(--ease-out),
    transform .85s var(--ease-out);
  will-change: opacity, transform;
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* Décalages en cascade */
.js .reveal[data-delay="1"] { transition-delay: .09s; }
.js .reveal[data-delay="2"] { transition-delay: .18s; }
.js .reveal[data-delay="3"] { transition-delay: .27s; }
.js .reveal[data-delay="4"] { transition-delay: .36s; }

/* ==========================================================================
   06. ÉCRAN DE CHARGEMENT
   ========================================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--navy-900);
  transition: opacity .55s var(--ease), visibility .55s;
}
.loader.is-done { opacity: 0; visibility: hidden; }

.loader__inner { display: grid; justify-items: center; gap: 1.6rem; }

.loader__mark {
  width: 62px;
  color: var(--gold-400);
  animation: markIn 1.1s var(--ease-out) both;
}
@keyframes markIn {
  from { opacity: 0; transform: translateY(10px) scale(.94); }
  to   { opacity: 1; transform: none; }
}

.loader__bar {
  display: block;
  width: 160px; height: 2px;
  background: rgba(255, 255, 255, .16);
  overflow: hidden;
  border-radius: 2px;
}
.loader__bar i {
  display: block;
  width: 40%; height: 100%;
  background: var(--gold-500);
  animation: barSlide 1.15s var(--ease) infinite;
}
@keyframes barSlide {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ==========================================================================
   07. EN-TÊTE / NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  transition: background var(--t-mid), box-shadow var(--t-mid), backdrop-filter var(--t-mid);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.4rem);
  height: var(--header-h);
  transition: height var(--t-mid);
}

/* État « scrollé » : le bandeau devient opaque */
.header.is-solid {
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(8, 33, 60, .06);
}
.header.is-solid .header__inner { height: 70px; }

/* Barre de progression de lecture */
.header__progress {
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  transition: width .1s linear;
}

/* — Logo — */
.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex: none;
  color: #fff;
  transition: color var(--t-mid);
}
.header.is-solid .logo { color: var(--navy-900); }

.logo__mark { width: 38px; height: 38px; flex: none; color: var(--gold-500); }

.logo__txt { display: grid; line-height: 1; }
.logo__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -.01em;
}
.logo__name em { font-style: normal; font-weight: 400; color: var(--gold-500); }
.logo__sub {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  opacity: .72;
  margin-top: 5px;
}

/* — Navigation principale — */
.nav { margin-left: auto; }

.nav__list { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }

.nav__link {
  position: relative;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .88);
  padding-block: .5rem;
  transition: color var(--t-fast);
}
.header.is-solid .nav__link { color: var(--ink-700); }

.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .38s var(--ease-out);
}
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__link:hover,
.nav__link.is-active { color: var(--gold-400); }
.header.is-solid .nav__link:hover,
.header.is-solid .nav__link.is-active { color: var(--gold-600); }

.header__cta { flex: none; }

/* — Bouton hamburger — */
.burger { display: none; width: 46px; height: 46px; place-items: center; flex: none; }
.burger__box { display: grid; gap: 6px; width: 26px; }
.burger__box span {
  display: block;
  height: 2px; width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--t-mid), opacity var(--t-fast), background var(--t-mid), width var(--t-mid);
}
.header.is-solid .burger__box span { background: var(--navy-900); }
.burger__box span:nth-child(3) { width: 62%; margin-left: auto; }

.burger.is-open .burger__box span { background: #fff; }
.burger.is-open .burger__box span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open .burger__box span:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.burger.is-open .burger__box span:nth-child(3) { width: 100%; transform: translateY(-8px) rotate(-45deg); }

/* — Panneau mobile — */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5rem;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
  background:
    radial-gradient(100% 70% at 80% 0%, var(--navy-800) 0%, transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
  /* Présence pilotée par l'attribut `hidden` (voir le script), jamais par
     `visibility` : une transition de visibilité qui n'avance pas — onglet en
     arrière-plan, animations réduites — laisserait le menu ouvert mais
     invisible et inutilisable. L'opacité reste purement décorative. */
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity var(--t-mid), transform var(--t-mid);
  overflow-y: auto;
}
.drawer.is-open { opacity: 1; transform: none; }

.drawer__nav ul { display: grid; gap: .35rem; }

.drawer__nav a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: .55rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 8vw, 2.4rem);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  opacity: 0;
  transform: translateX(-18px);
  transition: color var(--t-fast);
}
.drawer.is-open .drawer__nav a {
  animation: drawerIn .5s var(--ease-out) forwards;
}
.drawer.is-open li:nth-child(1) a { animation-delay: .06s; }
.drawer.is-open li:nth-child(2) a { animation-delay: .11s; }
.drawer.is-open li:nth-child(3) a { animation-delay: .16s; }
.drawer.is-open li:nth-child(4) a { animation-delay: .21s; }
.drawer.is-open li:nth-child(5) a { animation-delay: .26s; }
.drawer.is-open li:nth-child(6) a { animation-delay: .31s; }
.drawer.is-open li:nth-child(7) a { animation-delay: .36s; }
.drawer.is-open li:nth-child(8) a { animation-delay: .41s; }
@keyframes drawerIn { to { opacity: 1; transform: none; } }

.drawer__nav a span {
  font-family: var(--font-ui);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--gold-500);
}
.drawer__nav a:hover { color: var(--gold-400); }

.drawer__foot { display: grid; gap: .5rem; color: rgba(255, 255, 255, .7); }
.drawer__tel {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: 1.25rem; font-weight: 700; color: var(--gold-400);
}
.drawer__mail { font-size: .9rem; }

/* ==========================================================================
   08. HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: calc(var(--header-h) + 3rem) clamp(6rem, 12vh, 9rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: -8% 0 -8% 0;   /* marge pour la parallaxe, sans bord vide */
  z-index: -2;
  will-change: transform;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
  animation: heroZoom 16s var(--ease-out) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.1); }
  to   { transform: scale(1); }
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(5, 24, 44, .93) 0%, rgba(5, 24, 44, .72) 42%, rgba(5, 24, 44, .28) 75%, rgba(5, 24, 44, .5) 100%),
    linear-gradient(to top, rgba(5, 24, 44, .8) 0%, transparent 45%);
}

.hero__inner { position: relative; max-width: 62ch; }

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: .85rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1.6rem;
}

.hero__title {
  font-size: var(--fs-hero);
  color: #fff;
  line-height: .98;
  letter-spacing: -.025em;
  margin-bottom: 1.6rem;
}
.hero__title em { color: var(--gold-400); font-weight: 400; }

.hero__lead {
  font-size: clamp(1.05rem, .98rem + .45vw, 1.32rem);
  color: rgba(255, 255, 255, .82);
  line-height: 1.7;
  max-width: 54ch;
  margin-bottom: 2.4rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.8rem; }

.hero__baseline {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + .7vw, 1.7rem);
  color: rgba(255, 255, 255, .62);
  padding-left: 1.3rem;
  border-left: 2px solid var(--gold-500);
}
.hero__baseline em { color: var(--gold-400); }

/* Invitation à descendre */
.hero__scroll {
  position: absolute;
  left: 50%; bottom: clamp(1.4rem, 4vh, 2.6rem);
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: .7rem;
  color: rgba(255, 255, 255, .62);
  transition: color var(--t-fast);
}
.hero__scroll:hover { color: #fff; }
.hero__scroll-line {
  width: 1px; height: 46px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .6));
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--gold-400);
  animation: scrollDot 2.2s var(--ease) infinite;
}
@keyframes scrollDot {
  0%   { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}
.hero__scroll-txt {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}

/* ==========================================================================
   09. ATOUTS (bandeau sous le hero)
   ========================================================================== */
.atouts {
  position: relative;
  z-index: 2;
  margin-top: clamp(-5rem, -6vw, -3.5rem);
  padding-bottom: var(--section-y);
}

.atouts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}

.atout {
  background: #fff;
  padding: clamp(2rem, 3.4vw, 3rem) clamp(1.5rem, 2.6vw, 2.4rem);
  text-align: center;
  transition: background var(--t-mid), transform var(--t-mid);
}
.atout:hover { background: var(--cream-50); }

.atout__icon {
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  margin: 0 auto 1.3rem;
  border-radius: 50%;
  color: var(--gold-600);
  font-size: 1.35rem;
  background: linear-gradient(150deg, var(--cream-100), #fff);
  border: 1px solid rgba(198, 156, 85, .3);
  transition: transform .5s var(--ease-out), color var(--t-mid), background var(--t-mid), border-color var(--t-mid);
}
.atout:hover .atout__icon {
  transform: translateY(-4px) scale(1.06);
  color: #fff;
  background: linear-gradient(150deg, var(--gold-400), var(--gold-600));
  border-color: transparent;
}

.atout h3 {
  font-family: var(--font-ui);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--navy-900);
  margin-bottom: .7rem;
}
.atout p { color: var(--ink-500); font-size: .94rem; max-width: 30ch; margin-inline: auto; }

/* ==========================================================================
   10. À PROPOS
   ========================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.about__visual { position: relative; }

.about__img {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-md);
}
.about__img img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.about__visual:hover .about__img img { transform: scale(1.04); }

.about__img--float {
  position: absolute;
  right: -8%;
  bottom: -10%;
  width: 46%;
  border: 8px solid #fff;
  box-shadow: var(--sh-lg);
}
.about__img--float img { aspect-ratio: 1 / 1; }

.about__badge {
  position: absolute;
  top: -1.6rem; left: -1.6rem;
  display: grid;
  place-items: center;
  width: 116px; height: 116px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-400), var(--gold-600));
  color: #fff;
  text-align: center;
  box-shadow: var(--sh-gold);
  animation: floaty 6s ease-in-out infinite;
}
.about__badge strong { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; }
.about__badge span { font-size: .58rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

.about__body .lead { margin-bottom: 1.2rem; }
.about__body > p { margin-bottom: 1.2rem; }

.about__values { display: grid; gap: .85rem; margin: 2rem 0; }
.about__values li {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  font-size: .96rem;
  color: var(--ink-500);
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--line);
}
.about__values li:last-child { border-bottom: 0; padding-bottom: 0; }
.about__values strong { color: var(--navy-900); font-weight: 700; }
.about__values i {
  flex: none;
  margin-top: .38rem;
  font-size: .72rem;
  color: var(--gold-600);
}

/* ==========================================================================
   11. CHIFFRES CLÉS
   ========================================================================== */
.stats {
  background: var(--cream-50);
  border-block: 1px solid var(--line);
  padding-block: clamp(3rem, 5vw, 4.5rem);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}
.stat { display: grid; gap: .5rem; position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(.75rem, 1.5vw, 1.25rem));
  top: 12%; bottom: 12%;
  width: 1px;
  background: var(--line);
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1.8rem + 2.4vw, 4rem);
  font-weight: 500;
  line-height: 1;
  color: var(--navy-900);
}
.stat__lbl {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-300);
}

/* ==========================================================================
   12. MÉTHODE
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.2rem, 2.2vw, 2rem);
  counter-reset: step;
}

.step {
  position: relative;
  padding: clamp(2rem, 2.8vw, 2.6rem) clamp(1.4rem, 2vw, 1.9rem);
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .035);
  backdrop-filter: blur(2px);
  overflow: hidden;
  transition: transform var(--t-mid), border-color var(--t-mid), background var(--t-mid);
}
.step::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold-400), transparent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .55s var(--ease-out);
}
.step:hover {
  transform: translateY(-6px);
  border-color: rgba(214, 178, 116, .38);
  background: rgba(255, 255, 255, .06);
}
.step:hover::before { transform: scaleY(1); }

.step__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: rgba(214, 178, 116, .32);
  margin-bottom: 1.1rem;
  transition: color var(--t-mid);
}
.step:hover .step__num { color: rgba(214, 178, 116, .6); }

.step__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--gold-400);
  border: 1px solid rgba(214, 178, 116, .35);
  transition: transform .5s var(--ease-out), background var(--t-mid), color var(--t-mid);
}
.step:hover .step__icon {
  transform: rotate(-6deg) scale(1.05);
  background: rgba(214, 178, 116, .14);
}

.step h3 {
  color: #fff;
  font-family: var(--font-ui);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}
.step p { font-size: .92rem; color: rgba(255, 255, 255, .68); }

/* ==========================================================================
   13. SERVICES
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(1.2rem, 2vw, 1.75rem);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(2rem, 2.8vw, 2.6rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  overflow: hidden;
  transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
}
/* Voile doré qui monte au survol */
.card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 100%;
  background: linear-gradient(to top, rgba(198, 156, 85, .07), transparent 55%);
  opacity: 0;
  transition: opacity var(--t-mid);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-md);
  border-color: rgba(198, 156, 85, .4);
}
.card:hover::before { opacity: 1; }

.card__icon {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  margin-bottom: 1.5rem;
  border-radius: var(--r-md);
  font-size: 1.3rem;
  color: var(--navy-900);
  background: linear-gradient(150deg, var(--cream-100), var(--cream-50));
  border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), background var(--t-mid), color var(--t-mid), border-color var(--t-mid);
}
.card:hover .card__icon {
  transform: translateY(-3px) rotate(-5deg);
  color: #fff;
  background: linear-gradient(145deg, var(--navy-800), var(--navy-900));
  border-color: transparent;
}

.card__title { font-size: var(--fs-h3); margin-bottom: .75rem; }
.card__txt { color: var(--ink-500); font-size: .95rem; margin-bottom: 1.3rem; }

.card__list { display: grid; gap: .45rem; margin-bottom: 1.6rem; }
.card__list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: .87rem;
  color: var(--ink-500);
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold-500);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: auto;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--navy-900);
  transition: color var(--t-fast), gap var(--t-fast);
}
.card__link i { font-size: .75em; }
.card:hover .card__link { color: var(--gold-600); gap: .85rem; }

/* Carte d'appel à l'action */
.card--cta {
  justify-content: center;
  background:
    radial-gradient(120% 100% at 100% 0%, var(--navy-800), transparent 60%),
    linear-gradient(150deg, var(--navy-900), var(--navy-950));
  border-color: transparent;
  color: rgba(255, 255, 255, .74);
}
.card--cta .card__title { color: #fff; }
.card--cta .card__txt { color: rgba(255, 255, 255, .7); }
.card--cta .btn { align-self: flex-start; }

/* ==========================================================================
   14. GALERIE
   ========================================================================== */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-bottom: clamp(1.8rem, 3vw, 2.6rem);
}
.filter {
  padding: .6rem 1.25rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink-500);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.filter:hover { color: var(--navy-900); border-color: var(--line-strong); transform: translateY(-1px); }
.filter.is-active {
  color: #fff;
  background: var(--navy-900);
  border-color: var(--navy-900);
  box-shadow: 0 8px 20px rgba(8, 33, 60, .18);
}

.grid-gal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: clamp(.7rem, 1.2vw, 1.1rem);
}

.shot {
  position: relative;
  grid-row: span 1;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--cream-200);
  transition: opacity .45s var(--ease), transform .45s var(--ease), box-shadow var(--t-mid);
}
.shot--wide { grid-column: span 2; }
.shot--tall { grid-row: span 2; }

.shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease-out), filter .5s var(--ease);
}
.shot::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5, 24, 44, .82) 0%, rgba(5, 24, 44, .12) 48%, transparent 75%);
  opacity: .45;
  transition: opacity var(--t-mid);
}
.shot:hover { box-shadow: var(--sh-md); }
.shot:hover img { transform: scale(1.08); }
.shot:hover::after { opacity: .95; }

.shot figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: grid;
  gap: .25rem;
  padding: 1.2rem 1.3rem;
  color: #fff;
  transform: translateY(10px);
  opacity: 0;
  transition: transform .45s var(--ease-out), opacity .45s var(--ease);
}
.shot:hover figcaption,
.shot:focus-within figcaption { transform: none; opacity: 1; }

.shot__cat {
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.shot__ttl { font-family: var(--font-display); font-size: 1.2rem; }

/* Masquage par filtre */
.shot.is-hidden {
  opacity: 0;
  transform: scale(.94);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

/* — Lightbox — */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(5, 24, 44, .94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  /* Comme le menu mobile : c'est `hidden` qui décide de la présence, pas
     `visibility`. La règle globale `[hidden] { display: none !important }`
     garantit que la visionneuse fermée n'intercepte aucun clic. */
  opacity: 0;
  transition: opacity var(--t-mid);
}
.lightbox.is-open { opacity: 1; }

.lightbox__stage {
  display: grid;
  gap: 1rem;
  justify-items: center;
  max-width: min(1100px, 100%);
}
.lightbox__stage img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  border-radius: var(--r-md);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55);
  animation: lbIn .45s var(--ease-out);
}
@keyframes lbIn {
  from { opacity: 0; transform: scale(.96); }
  to   { opacity: 1; transform: none; }
}
.lightbox__stage figcaption {
  color: rgba(255, 255, 255, .8);
  font-size: .9rem;
  text-align: center;
}

.lightbox__close,
.lightbox__nav {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  flex: none;
  color: #fff;
  font-size: 1.05rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); transform: scale(1.06); }
.lightbox__close { position: absolute; top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }

/* ==========================================================================
   15. ZONE D'INTERVENTION
   ========================================================================== */
.zone {
  position: relative;
  padding-block: var(--section-y);
  background:
    radial-gradient(90% 120% at 100% 20%, var(--navy-700) 0%, transparent 55%),
    linear-gradient(150deg, var(--navy-900), var(--navy-950));
  color: rgba(255, 255, 255, .78);
  overflow: hidden;
}

.zone__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.zone__list { display: grid; gap: .8rem; margin-top: 2rem; }
.zone__list li {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, .84);
}
.zone__list i { color: var(--gold-400); font-size: .95rem; }

.zone__map { text-align: center; color: var(--gold-400); }
.zone__map svg { width: 100%; max-width: 380px; margin-inline: auto; }
.zone__pin { fill: var(--gold-500); animation: pinPulse 2.6s var(--ease) infinite; transform-origin: 150px 104px; }
@keyframes pinPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.22); opacity: .75; }
}
.zone__caption {
  margin-top: 1rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}

/* ==========================================================================
   16. AVIS
   ========================================================================== */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(1.2rem, 2vw, 1.8rem);
}

.review {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(2rem, 2.8vw, 2.6rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  transition: transform var(--t-mid), box-shadow var(--t-mid), border-color var(--t-mid);
}
.review::before {
  content: "\201C";
  position: absolute;
  top: -.05em; right: .35em;
  font-family: var(--font-display);
  font-size: 8rem;
  line-height: 1;
  color: rgba(198, 156, 85, .13);
  pointer-events: none;
}
.review:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
  border-color: rgba(198, 156, 85, .35);
}

.review__stars { display: flex; gap: .2rem; color: var(--gold-500); font-size: .88rem; }

.review blockquote p {
  font-family: var(--font-display);
  font-size: 1.24rem;
  line-height: 1.55;
  color: var(--navy-900);
}

.review figcaption {
  display: grid;
  gap: .18rem;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.review__who { font-weight: 700; color: var(--navy-900); font-size: .94rem; }
.review__what { font-size: .8rem; color: var(--ink-300); letter-spacing: .04em; }

.reviews__more { margin-top: 2.5rem; text-align: center; }

/* ==========================================================================
   17. FAQ
   ========================================================================== */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.faq__intro .btn { margin-top: 2rem; }

.accordion { display: grid; gap: .7rem; }

.acc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-mid), box-shadow var(--t-mid);
}
.acc.is-open { border-color: rgba(198, 156, 85, .45); box-shadow: var(--sh-sm); }

.acc h3 { margin: 0; }

.acc__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  width: 100%;
  padding: 1.3rem 1.5rem;
  text-align: left;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-900);
  transition: color var(--t-fast), background var(--t-fast);
}
.acc__btn:hover { color: var(--gold-600); background: var(--cream-50); }

.acc__chev {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  font-size: .72rem;
  color: var(--gold-600);
  background: var(--cream-100);
  border-radius: 50%;
  transition: transform var(--t-mid), background var(--t-mid), color var(--t-mid);
}
.acc.is-open .acc__chev {
  transform: rotate(135deg);
  background: var(--gold-500);
  color: #fff;
}

/* Le panneau est animé via max-height/opacity depuis le JS */
.acc__panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease-out), opacity .35s var(--ease);
}
/* Le JS retire l'attribut `hidden` AVANT d'animer l'ouverture, et ne le
   remet qu'une fois la fermeture terminée : le panneau reste ainsi hors de
   l'arbre d'accessibilité tant qu'il est replié. */
.acc.is-open .acc__panel { opacity: 1; }
.acc__panel p { padding: 0 1.5rem 1.5rem; color: var(--ink-500); font-size: .95rem; }

/* ==========================================================================
   18. CONTACT & FORMULAIRE
   ========================================================================== */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.contact__list { display: grid; gap: 1.4rem; margin-top: 2.4rem; }
.contact__list li { display: flex; gap: 1.1rem; align-items: flex-start; }

.contact__ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  font-size: .95rem;
  color: var(--gold-400);
  border: 1px solid rgba(214, 178, 116, .32);
  transition: background var(--t-mid), color var(--t-mid), transform var(--t-mid);
}
.contact__list li:hover .contact__ic {
  background: var(--gold-500);
  color: #fff;
  transform: scale(1.06);
}

.contact__lbl {
  display: block;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .42);
  margin-bottom: .2rem;
}
.contact__list a { color: #fff; font-size: 1.04rem; font-weight: 600; border-bottom: 1px solid transparent; transition: border-color var(--t-fast), color var(--t-fast); }
.contact__list a:hover { color: var(--gold-400); border-color: currentColor; }

.contact__sign {
  margin-top: 2.6rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line-light);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: rgba(255, 255, 255, .6);
}
.contact__sign em { color: var(--gold-400); }

/* — Carte formulaire — */
.form {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.7rem, 3vw, 2.6rem);
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
}
.form__intro { font-size: .93rem; color: var(--ink-500); margin-bottom: .3rem; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.field { display: grid; gap: .4rem; }

.field label {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy-900);
}
.field label span { color: var(--gold-600); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .9rem 1rem;
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: .95rem;
  color: var(--ink-900);
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 130px; }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='%235A6B7B' d='M6 8 0 2l1.4-1.4L6 5.2 10.6.6 12 2z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 11px;
  padding-right: 2.6rem;
  cursor: pointer;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--ink-300); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  background: #fff;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(198, 156, 85, .16);
}

/* État d'erreur */
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #C0453C;
  background: #FDF5F4;
  animation: shake .35s var(--ease);
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(-4px); }
  75%      { transform: translateX(4px); }
}
.field__err {
  min-height: 0;
  font-size: .78rem;
  color: #C0453C;
  opacity: 0;
  max-height: 0;
  transition: opacity var(--t-fast), max-height var(--t-fast);
}
.field.has-error .field__err { opacity: 1; max-height: 3rem; }

/* Case à cocher RGPD */
.field--check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .7rem;
  margin-top: .3rem;
}
.field--check input {
  width: 19px; height: 19px;
  margin-top: .18rem;
  padding: 0;
  accent-color: var(--gold-600);
  cursor: pointer;
}
.field--check label {
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-500);
  line-height: 1.55;
}
.field--check label a { color: var(--gold-600); text-decoration: underline; text-underline-offset: 2px; }
.field--check .field__err { grid-column: 1 / -1; }

/* Piège à robots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__status {
  margin-top: .3rem;
  font-size: .9rem;
  font-weight: 600;
  padding: 0 0;
  max-height: 0;
  opacity: 0;
  transition: opacity var(--t-mid), max-height var(--t-mid), padding var(--t-mid);
  border-radius: var(--r-sm);
}
.form__status.is-visible { opacity: 1; max-height: 12rem; padding: .9rem 1.1rem; }
.form__status.is-ok { background: #EEF7F0; color: #2A6B41; border: 1px solid #C7E4D2; }
.form__status.is-ko { background: #FDF2F1; color: #A63A32; border: 1px solid #F1CFCB; }

.form__legal { font-size: .76rem; color: var(--ink-300); text-align: center; }
.form__legal span { color: var(--gold-600); }

/* Bouton en cours d'envoi */
.btn.is-busy { pointer-events: none; opacity: .75; }

/* ==========================================================================
   19. PIED DE PAGE
   ========================================================================== */
.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, .62);
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.logo--footer { color: #fff; margin-bottom: 1.3rem; }

.footer__pitch { font-size: .92rem; max-width: 34ch; margin-bottom: 1.6rem; }

.socials { display: flex; gap: .6rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: .85rem;
  color: rgba(255, 255, 255, .8);
  border: 1px solid var(--line-light);
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast), border-color var(--t-fast);
}
.socials a:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: #fff;
  transform: translateY(-3px);
}

.footer__h {
  font-family: var(--font-ui);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.3rem;
}

.footer__col ul { display: grid; gap: .62rem; }
.footer__col a {
  font-size: .9rem;
  color: rgba(255, 255, 255, .62);
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.footer__col a:hover { color: var(--gold-400); padding-left: 5px; }

.footer__contact li { display: flex; gap: .7rem; align-items: baseline; font-size: .9rem; }
.footer__contact i { color: var(--gold-500); font-size: .8rem; width: 15px; flex: none; }
.footer__cta { margin-top: 1.5rem; }

.footer__bar { border-top: 1px solid var(--line-light); }
.footer__bar-in {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.4rem;
  font-size: .8rem;
  color: rgba(255, 255, 255, .45);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer__legal a { transition: color var(--t-fast); }
.footer__legal a:hover { color: var(--gold-400); }

/* ==========================================================================
   20. ÉLÉMENTS FLOTTANTS
   ========================================================================== */
.to-top {
  position: fixed;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  color: #fff;
  background: var(--navy-900);
  box-shadow: var(--sh-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity var(--t-mid), transform var(--t-mid), visibility var(--t-mid), background var(--t-fast);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-600); }

/* Barre d'action rapide (mobile uniquement) */
.quickbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  display: none;
  gap: 1px;
  background: var(--line);
  box-shadow: 0 -6px 24px rgba(8, 33, 60, .14);
  padding-bottom: env(safe-area-inset-bottom);
}
.quickbar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem .5rem;
  background: #fff;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--navy-900);
}
.quickbar__cta {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600)) !important;
  color: #fff !important;
}

/* ==========================================================================
   21. PAGES SECONDAIRES (mentions légales, confidentialité)
   ========================================================================== */
.page-head {
  padding: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)) 0 clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(110% 90% at 15% 0%, var(--navy-800), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950));
  color: rgba(255, 255, 255, .72);
}
.page-head h1 { color: #fff; font-size: clamp(2.3rem, 1.5rem + 3vw, 3.6rem); margin-bottom: .8rem; }
.page-head h1 em { color: var(--gold-400); }

.prose { max-width: 78ch; padding-block: var(--section-y); }
.prose h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem);
  margin: 2.6rem 0 .9rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.prose h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 1.6rem 0 .5rem; }
.prose p, .prose li { color: var(--ink-500); margin-bottom: .9rem; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose a { color: var(--gold-600); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--navy-900); }
.prose .callout {
  padding: 1.2rem 1.4rem;
  background: var(--cream-50);
  border-left: 3px solid var(--gold-500);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin-bottom: 1.6rem;
}

/* Sur les pages secondaires, l'en-tête est opaque dès le départ */
.header--static { position: fixed; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); }

/* ==========================================================================
   22. RESPONSIVE
   ========================================================================== */

/* — Grands écrans / 4K : on élargit sans étirer le texte — */
@media (min-width: 1800px) {
  :root { --shell: 1400px; }
}

/* — Portables — */
@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .grid-gal { grid-auto-rows: 190px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

/* — Tablettes — */
@media (max-width: 980px) {
  :root { --header-h: 72px; }

  .nav,
  .header__cta { display: none; }
  .burger { display: grid; margin-left: auto; }

  .about__grid,
  .zone__grid,
  .faq__grid,
  .contact__grid { grid-template-columns: 1fr; }

  .about__visual { max-width: 520px; margin-inline: auto; }
  .about__img--float { width: 42%; right: -4%; }
  .about__badge { width: 96px; height: 96px; top: -1rem; left: -1rem; }

  .zone__map { order: -1; max-width: 320px; margin-inline: auto; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .stat:nth-child(3)::before { display: none; }

  .grid-gal { grid-template-columns: repeat(2, 1fr); }
  .shot--tall { grid-row: span 1; }

  /* Barre d'action mobile + place pour ne rien masquer */
  .quickbar { display: flex; }
  body { padding-bottom: 56px; }
  .to-top { bottom: calc(56px + 1rem); }
}

/* — Grands téléphones — */
@media (max-width: 760px) {
  .atouts { margin-top: 0; padding-top: 3rem; }
  .atouts__grid { grid-template-columns: 1fr; box-shadow: var(--sh-sm); }

  .hero { min-height: 92svh; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }

  .steps { grid-template-columns: 1fr; }

  .form__row { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bar-in { flex-direction: column; text-align: center; }
}

/* — Petits téléphones — */
@media (max-width: 480px) {
  :root { --gutter: 1.1rem; }

  .logo__name { font-size: 1.3rem; }
  .logo__sub { font-size: .52rem; letter-spacing: .22em; }
  .logo__mark { width: 32px; height: 32px; }

  .grid-gal { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .shot--wide { grid-column: span 1; }

  .about__img--float { display: none; }
  .stats__grid { grid-template-columns: 1fr; }
  .stat::before { display: none !important; }

  .review blockquote p { font-size: 1.1rem; }
  .lightbox__nav { width: 42px; height: 42px; }
}

/* ==========================================================================
   23. PRÉFÉRENCES D'ACCESSIBILITÉ & IMPRESSION
   ========================================================================== */

/* Respect de « réduire les animations » : le site reste entièrement lisible */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .hero__media img { animation: none; }
}

/* Contraste renforcé */
@media (prefers-contrast: more) {
  :root { --ink-500: #3B4A59; --ink-300: #55636F; }
  .lead, .card__txt, .atout p { color: var(--ink-700); }
}

@media print {
  .header, .drawer, .quickbar, .to-top, .lightbox, .hero__scroll, .loader { display: none !important; }
  body { color: #000; background: #fff; }
  .section--navy, .zone, .footer { background: #fff !important; color: #000 !important; }
  .h2--light, .lead--light, .step h3, .step p { color: #000 !important; }
  a::after { content: " (" attr(href) ")"; font-size: .8em; }
}
