/* ==========================================================================
   AG Formalités — feuille de style
   Palette : bleu marine, or, crème (d'après la plaquette)
   ========================================================================== */

@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni-moda-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #071328;
  --navy-900: #0E1F3D;
  --navy-800: #15294C;
  --navy-700: #1F3762;
  --navy-600: #2D4A7C;
  --slate: #7D8DAA;

  --gold-200: #F3E4BC;
  --gold-300: #EBD49B;
  --gold-400: #D9B86A;
  --gold-500: #C6A15B;
  --gold-600: #A9853D;
  --gold-700: #85662A;

  --cream-50: #FCF9F3;
  --cream-100: #F6F0E4;
  --cream-200: #EDE3CF;
  --cream-300: #E2D4B8;

  --text: #26324D;
  --muted: #56617C;
  --line: rgba(14, 31, 61, .12);
  --line-light: rgba(246, 240, 228, .14);

  --gold-grad: linear-gradient(120deg, #A9853D 0%, #D9B86A 45%, #F1DDA6 70%, #C6A15B 100%);

  --font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 5vw, 48px);
  --section: clamp(84px, 11vw, 160px);
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 76px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --shadow-lg: 0 40px 80px -30px rgba(7, 19, 40, .45), 0 18px 36px -18px rgba(7, 19, 40, .3);
  --shadow-md: 0 24px 48px -24px rgba(14, 31, 61, .28);

  interpolate-size: allow-keywords;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
em { font-style: italic; }
strong { font-weight: 700; }
abbr[title] { text-decoration: none; }
section[id], [id="contact"] { scroll-margin-top: calc(var(--header-h) - 1px); }

::selection { background: var(--gold-300); color: var(--navy-950); }

:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
  border-radius: 4px;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--gold-400);
  color: var(--navy-950);
  font-weight: 700;
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform .3s var(--ease-out);
}
.skip-link:focus { transform: none; }

.grain {
  position: absolute;
  inset: 0;
  opacity: .07;
  pointer-events: none;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typographie ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.15rem, 4.4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--navy-900);
  text-wrap: balance;
}
.display em {
  font-weight: 400;
  color: var(--gold-700);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--gold-700);
}
.eyebrow__line {
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.eyebrow--light { color: var(--gold-400); }
.eyebrow--center { justify-content: center; }

.link {
  color: var(--gold-700);
  font-weight: 600;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .35s var(--ease-out);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Boutons ---------- */
.btn {
  --h: 50px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background-color .3s, color .3s, border-color .3s;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .4s var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }
.btn--sm { --h: 42px; padding: 0 20px; font-size: .88rem; }
.btn--lg { --h: 58px; padding: 0 32px; font-size: 1rem; }

.btn--gold {
  color: var(--navy-950);
  background: var(--gold-grad);
  background-size: 160% 100%;
  background-position: 0 0;
  box-shadow: 0 10px 30px -12px rgba(198, 161, 91, .65), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn--gold::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .55) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease-out);
}
.btn--gold:hover { background-position: 100% 0; box-shadow: 0 16px 40px -14px rgba(198, 161, 91, .85), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--gold:hover::after { transform: translateX(120%); }

.btn--ghost-light {
  color: var(--cream-100);
  border-color: rgba(246, 240, 228, .3);
  background: rgba(246, 240, 228, .04);
  backdrop-filter: blur(6px);
}
.btn--ghost-light:hover { border-color: var(--gold-400); color: var(--gold-300); }

.btn--outline-gold {
  color: var(--gold-300);
  border-color: rgba(217, 184, 106, .5);
}
.btn--outline-gold:hover { background: var(--gold-400); color: var(--navy-950); border-color: var(--gold-400); }

.btn--navy {
  color: var(--cream-50);
  background: var(--navy-900);
}
.btn--navy:hover { background: var(--navy-700); }

/* ==========================================================================
   En-tête
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: var(--cream-100);
  transition: background-color .4s, box-shadow .4s, transform .5s var(--ease-out), height .4s var(--ease-out);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(10, 24, 48, .9);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(217, 184, 106, .16);
  opacity: 0;
  transition: opacity .4s;
}
.site-header.is-scrolled { --header-h: 66px; }
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--cream-50);
  line-height: 1;
}
.brand__mark {
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2.1rem;
  letter-spacing: -.06em;
  padding-right: 2px;
}
.brand__swoosh {
  position: absolute;
  left: -10%;
  top: 30%;
  width: 125%;
  height: auto;
  fill: url(#gold-grad);
  transform: rotate(-4deg);
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .25));
}
.brand__word {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.55rem;
  letter-spacing: -.01em;
}

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__list a {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-size: .9rem;
  font-weight: 600;
  color: rgba(246, 240, 228, .82);
  transition: color .3s;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav__list a:hover, .nav__list a.is-active { color: var(--gold-300); }
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); transform-origin: left; }

.burger {
  display: none;
  position: relative;
  z-index: 120;
  width: 48px; height: 48px;
  margin-left: auto;
  border: 1px solid rgba(246, 240, 228, .22);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.burger__lines, .burger__lines::before, .burger__lines::after {
  position: absolute;
  left: 50%;
  width: 18px; height: 1.5px;
  background: var(--cream-50);
  border-radius: 2px;
  transition: transform .45s var(--ease-out), opacity .3s;
}
.burger__lines { top: 50%; transform: translate(-50%, -50%); }
.burger__lines::before, .burger__lines::after { content: ""; transform: translateX(-50%); }
.burger__lines::before { top: -6px; }
.burger__lines::after { top: 6px; }
.burger[aria-expanded="true"] .burger__lines { background: transparent; }
.burger[aria-expanded="true"] .burger__lines::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(198, 161, 91, .18), transparent 60%),
    var(--navy-950);
  color: var(--cream-50);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease-out), visibility 0s .45s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease-out); }
.mobile-menu[hidden] { display: none; }
.mobile-menu__list li {
  overflow: hidden;
  border-bottom: 1px solid var(--line-light);
}
.mobile-menu__list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  line-height: 1.1;
  transform: translateY(100%);
  transition: transform .6s var(--ease-out), color .3s;
}
.mobile-menu__list a:hover { color: var(--gold-300); }
.mobile-menu.is-open .mobile-menu__list a { transform: none; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(2) a { transition-delay: .05s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(3) a { transition-delay: .1s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(4) a { transition-delay: .15s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(5) a { transition-delay: .2s; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(6) a { transition-delay: .25s; }
.mobile-menu__sign {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--gold-300);
}
body.menu-open { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 48px) 0 110px;
  color: var(--cream-100);
  background:
    radial-gradient(90% 70% at 85% 10%, rgba(45, 74, 124, .55), transparent 60%),
    radial-gradient(70% 60% at 0% 100%, rgba(31, 55, 98, .7), transparent 60%),
    var(--navy-900);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 35%), rgba(217, 184, 106, .16), transparent 70%);
  transition: background .2s;
}
.hero__arcs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.arc {
  fill: none;
  stroke: var(--gold-400);
  stroke-width: 1;
  stroke-dasharray: 2200;
  stroke-dashoffset: 2200;
  animation: draw 3.2s var(--ease-in-out) forwards;
}
.arc--1 { opacity: .45; animation-delay: .3s; }
.arc--2 { opacity: .2; animation-delay: .55s; }
.arc--3 { opacity: .16; animation-delay: .8s; }
.arc--4 { opacity: .12; animation-delay: 1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__swoosh {
  position: absolute;
  right: -14vw;
  top: 8%;
  width: min(1100px, 82vw);
  height: auto;
  opacity: .1;
  transform: rotate(-8deg);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.hero__eyebrow {
  font-size: .78rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  animation: fade-up 1s var(--ease-out) .1s both;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.7rem, 6.6vw, 6.2rem);
  line-height: .98;
  letter-spacing: -.03em;
  color: var(--cream-50);
}
.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: .1em;
  margin-bottom: -.1em;
}
.hero__title .line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.2s var(--ease-out) forwards;
}
.hero__title .line:nth-child(1) > span { animation-delay: .2s; }
.hero__title .line:nth-child(2) > span { animation-delay: .3s; }
.hero__title .line:nth-child(3) > span { animation-delay: .42s; }
.hero__title .line:nth-child(4) > span { animation-delay: .52s; }
.hero__title em {
  font-weight: 400;
  padding-right: .06em;
  color: var(--gold-300);
}
@keyframes rise { to { transform: none; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero__lead {
  max-width: 36em;
  margin-top: 30px;
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  color: rgba(246, 240, 228, .78);
  animation: fade-up 1s var(--ease-out) .75s both;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
  animation: fade-up 1s var(--ease-out) .9s both;
}
.hero__note {
  margin-top: 22px;
  font-size: .9rem;
  color: rgba(246, 240, 228, .6);
  animation: fade-up 1s var(--ease-out) 1.05s both;
}
.hero__note strong { color: var(--gold-300); font-weight: 700; }

/* Carte « dossier » */
.hero__visual {
  position: relative;
  perspective: 1200px;
  animation: fade-up 1.2s var(--ease-out) .6s both;
}
.dossier {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  max-width: 440px;
  margin-inline: auto;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .8s var(--ease-out);
}
.dossier__back {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-800));
  border: 1px solid rgba(217, 184, 106, .3);
  transform: translate3d(22px, 22px, -40px) rotate(4deg);
}
.dossier__card {
  position: relative;
  padding: 30px 30px 26px;
  border-radius: 22px;
  color: var(--navy-900);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(235, 212, 155, .35), transparent 55%),
    linear-gradient(180deg, var(--cream-50), var(--cream-100));
  box-shadow: var(--shadow-lg), inset 0 1px 0 #fff;
  transform: translateZ(30px);
}
.dossier__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.dossier__kicker {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--muted);
}
.dossier__title {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 600;
  line-height: 1;
}
.dossier__tag {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gold-700);
  background: rgba(198, 161, 91, .14);
  border: 1px solid rgba(198, 161, 91, .35);
}
.dossier__steps {
  display: grid;
  gap: 4px;
  padding: 18px 0;
}
.dossier__steps li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 0;
  font-size: .95rem;
  font-weight: 600;
  opacity: 0;
  animation: fade-up .8s var(--ease-out) both;
  animation-delay: calc(1.1s + var(--d) * .32s);
}
.dossier__steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 13px; top: 38px;
  width: 1px; height: 14px;
  background: var(--gold-500);
  opacity: .5;
}
.dossier__steps .dot {
  display: grid;
  place-items: center;
  width: 27px; height: 27px;
  border-radius: 50%;
  flex: none;
}
.dossier__steps .is-done .dot {
  color: var(--navy-950);
  background: var(--gold-grad);
  box-shadow: 0 4px 10px -4px rgba(169, 133, 61, .8);
}
.dossier__steps .dot .icon { width: 15px; height: 15px; stroke-width: 2.4; }
.dossier__steps .is-current { color: var(--navy-700); }
.dossier__steps .is-current .dot {
  border: 1.5px solid var(--gold-500);
  position: relative;
}
.dossier__steps .is-current .dot::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold-500);
  animation: pulse 1.8s var(--ease-in-out) infinite;
}
.dossier__steps em {
  margin-left: auto;
  padding: 3px 10px;
  font-style: normal;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--navy-700);
  border-radius: 999px;
  background: rgba(14, 31, 61, .08);
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(.55); opacity: .5; }
}
.dossier__foot {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--navy-900);
  color: var(--cream-100);
}
.dossier__sep { width: 1px; align-self: stretch; background: var(--line-light); }
.dossier__label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: rgba(246, 240, 228, .6);
}
.dossier__price {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--gold-300);
}
.dossier__price small { font-family: var(--font-body); font-size: .72rem; font-weight: 700; color: var(--gold-400); }
.dossier__muted { margin-top: 4px; font-size: .9rem; font-weight: 600; }

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--cream-50);
  white-space: nowrap;
  background: rgba(14, 31, 61, .72);
  border: 1px solid rgba(217, 184, 106, .35);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateZ(70px);
}
.chip .icon { color: var(--gold-400); width: 18px; height: 18px; }
.chip--a { top: -22px; left: -34px; }
.chip--b { bottom: -24px; right: -30px; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { position: relative; padding-block: var(--section); }

.section-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__lead {
  margin-top: 24px;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 40em;
}
.section-head--center .section-head__lead { margin-inline: auto; }
.section-head--light .display { color: var(--cream-50); }
.section-head--light .display em { color: var(--gold-300); }
.section-head--light .section-head__lead { color: rgba(246, 240, 228, .72); }

/* ---------- Engagements ---------- */
.engagements { padding-block: clamp(64px, 8vw, 110px); background: var(--cream-50); }
.engagements__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.engagement {
  padding: 8px clamp(18px, 2.4vw, 36px);
  border-left: 1px solid var(--line);
}
.engagement:first-child { border-left: 0; padding-left: 0; }
.engagement__icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--navy-900);
  border: 1px solid rgba(198, 161, 91, .55);
  background: radial-gradient(circle at 30% 25%, #fff, var(--cream-100));
  transition: transform .6s var(--ease-out), background .4s, color .4s;
}
.engagement__icon .icon { width: 25px; height: 25px; }
.engagement h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy-900);
  margin-bottom: 10px;
}
.engagement p { font-size: .96rem; color: var(--muted); }

/* ---------- À propos ---------- */
.about { background: var(--cream-100); overflow: hidden; }
.about::before {
  content: "AG";
  position: absolute;
  right: -2vw;
  bottom: -8vw;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(14rem, 34vw, 32rem);
  line-height: 1;
  letter-spacing: -.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(198, 161, 91, .28);
  pointer-events: none;
}
.about__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.about__title { font-size: clamp(2.2rem, 4.4vw, 4.1rem); }
.about__body { display: grid; gap: 22px; padding-top: 12px; color: var(--muted); }
.about__lead {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.4;
  color: var(--navy-900);
}
/* ---------- Formules ---------- */
.formules { background: var(--cream-50); }
.formules__list { border-top: 1px solid var(--line); }
.formule {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.9fr) minmax(0, 1.5fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 2.4vw, 36px);
  padding: 30px clamp(8px, 1.4vw, 20px);
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.formule::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(235, 212, 155, .38), rgba(246, 240, 228, .7));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .55s var(--ease-out);
}
.formule:hover::before { transform: scaleY(1); }
.formule__name { display: flex; align-items: center; gap: 14px; color: var(--navy-900); }
.formule__name .icon { width: 26px; height: 26px; color: var(--gold-600); }
.formule h3 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.9vw, 1.85rem);
  font-weight: 600;
  line-height: 1.1;
  transition: transform .5s var(--ease-out);
}
.formule:hover h3 { transform: translateX(6px); }
.formule__desc { font-size: .97rem; color: var(--text); }
.formule__for { font-size: .9rem; color: var(--muted); }
.formule__for span {
  display: block;
  margin-bottom: 2px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--gold-700);
}
.formule__price {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy-900);
  white-space: nowrap;
}
.formule__price small {
  display: block;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--muted);
}
.formule__price abbr { font-family: var(--font-body); font-size: .75rem; font-weight: 700; color: var(--gold-700); }
.formule__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 4px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy-900);
  white-space: nowrap;
}
.formule__cta .icon {
  width: 34px; height: 34px;
  padding: 8px;
  border-radius: 50%;
  border: 1px solid rgba(14, 31, 61, .2);
  transition: background .35s, color .35s, transform .5s var(--ease-out), border-color .35s;
}
.formule:hover .formule__cta .icon,
.formule__cta:focus-visible .icon { background: var(--navy-900); color: var(--gold-300); border-color: var(--navy-900); transform: rotate(45deg); }
.formules__note {
  display: flex;
  gap: 12px;
  max-width: 820px;
  margin-top: 32px;
  font-size: .9rem;
  color: var(--muted);
}
.formules__note .icon { color: var(--gold-600); margin-top: 3px; }

/* ---------- Prestations ---------- */
.prestations { color: var(--cream-100); overflow: hidden; isolation: isolate; }
.prestations__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 90% 0%, rgba(198, 161, 91, .16), transparent 70%),
    radial-gradient(60% 60% at 0% 100%, rgba(45, 74, 124, .5), transparent 70%),
    var(--navy-900);
}
.presta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
}
.presta {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  border: 1px solid rgba(217, 184, 106, .2);
  transition: transform .6s var(--ease-out), border-color .4s, box-shadow .6s var(--ease-out);
}
.presta__top { padding-bottom: 24px; border-bottom: 1px solid var(--line-light); }
.presta__kicker {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--gold-400);
}
.presta h3 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--cream-50);
}
.presta__price {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.4vw, 2.9rem);
  font-weight: 500;
  line-height: 1;
  color: var(--gold-300);
}
.presta__price span { font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .08em; color: var(--gold-400); }
.presta__price--text { font-style: italic; }
.presta__list { display: grid; gap: 14px; }
.presta__list li { display: flex; gap: 12px; font-weight: 600; color: var(--cream-50); }
.presta__list .icon { color: var(--gold-400); margin-top: 3px; stroke-width: 2.2; }
.presta__fees { margin-top: auto; font-size: .88rem; color: rgba(246, 240, 228, .62); }
.presta__fees a { color: var(--gold-300); text-decoration: underline; text-underline-offset: 3px; }
.presta__text { color: rgba(246, 240, 228, .76); }
.presta--quiet .presta__text { margin-bottom: auto; }
.presta .btn { align-self: flex-start; }

.presta--featured {
  color: var(--navy-900);
  background:
    radial-gradient(120% 70% at 100% 0%, rgba(235, 212, 155, .5), transparent 55%),
    linear-gradient(180deg, var(--cream-50), var(--cream-100));
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.presta--featured .presta__top { border-color: var(--line); }
.presta--featured .presta__kicker { color: var(--gold-700); }
.presta--featured h3 { color: var(--navy-900); }
.presta--featured .presta__price { color: var(--navy-900); }
.presta--featured .presta__price span { color: var(--gold-700); }
.presta--featured .presta__list li { color: var(--navy-900); }
.presta--featured .presta__list .icon { color: var(--gold-600); }
.presta--featured .presta__fees { color: var(--muted); }
.presta--featured .presta__fees a { color: var(--gold-700); }

/* ---------- Méthode ---------- */
.methode { background: var(--cream-100); }
.methode__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 120px);
}
.methode__sticky { position: sticky; top: calc(var(--header-h) + 48px); }
.methode__sticky .btn { margin-top: 36px; }
.steps { position: relative; display: grid; gap: clamp(20px, 3vw, 36px); padding-left: 0; }
.steps__rail {
  position: absolute;
  left: 39px;
  top: 40px;
  bottom: 40px;
  width: 1px;
  background: var(--line);
}
.steps__rail span {
  position: absolute;
  inset: 0 0 auto;
  height: 100%;
  background: linear-gradient(var(--gold-400), var(--gold-600));
  transform: scaleY(var(--p, 0));
  transform-origin: top;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 36px);
  align-items: start;
  padding: 26px clamp(20px, 2.6vw, 36px) 30px 0;
}
.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 80px; height: 80px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold-700);
  background: var(--cream-100);
  border: 1px solid rgba(198, 161, 91, .5);
  transition: background .5s, color .5s, box-shadow .5s, border-color .5s;
}
.step.is-active .step__num {
  color: var(--navy-950);
  background: var(--gold-grad);
  border-color: transparent;
  box-shadow: 0 14px 30px -12px rgba(169, 133, 61, .7);
}
.step__body {
  padding: 26px 28px;
  border-radius: var(--radius);
  background: rgba(252, 249, 243, .6);
  border: 1px solid var(--line);
  transition: background .5s, box-shadow .5s, border-color .5s;
}
.step.is-active .step__body { background: var(--cream-50); box-shadow: var(--shadow-md); border-color: rgba(198, 161, 91, .4); }
.step h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy-900);
  margin-bottom: 10px;
}
.step p { color: var(--muted); }

/* ---------- Tarifs ---------- */
.tarifs { background: var(--cream-50); }

.simulateur {
  max-width: 1080px;
  margin: 0 auto clamp(56px, 7vw, 96px);
  padding: clamp(10px, 1.2vw, 14px);
  border-radius: 28px;
  background: var(--navy-900);
  box-shadow: var(--shadow-lg);
}
.simulateur__tabs {
  position: relative;
  display: flex;
  gap: 4px;
  padding: 6px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  overflow-x: auto;
  scrollbar-width: none;
}
.simulateur__tabs::-webkit-scrollbar { display: none; }
.simulateur__tabs button {
  flex: 1 0 auto;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 700;
  color: rgba(246, 240, 228, .75);
  background: transparent;
  cursor: pointer;
  transition: color .3s, background .4s var(--ease-out);
}
.simulateur__tabs button:hover { color: var(--gold-300); }
.simulateur__tabs button[aria-selected="true"] {
  color: var(--navy-950);
  background: var(--gold-grad);
  box-shadow: 0 8px 20px -10px rgba(198, 161, 91, .9);
}
.simulateur__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 12px;
  border-radius: 20px;
}
.simulateur__panel:focus-visible { outline-offset: 4px; }
.sim-col {
  padding: clamp(24px, 3vw, 36px);
  border-radius: 20px;
}
.sim-col--hono {
  color: var(--navy-900);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(235, 212, 155, .55), transparent 60%),
    var(--cream-50);
}
.sim-col--frais { background: rgba(255, 255, 255, .05); color: var(--cream-100); }
.sim-col__label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .01em;
}
.sim-col--hono .sim-col__label { color: var(--gold-700); }
.sim-col--frais .sim-col__label { color: var(--gold-300); }
.pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: none;
  color: var(--cream-50);
  background: rgba(255, 255, 255, .1);
}
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; flex: none; }
.swatch--gold { background: var(--gold-grad); }
.swatch--navy { background: var(--navy-600); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.swatch--slate { background: var(--slate); }
.sim-col__amount {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.sim-col__sub { margin-top: 10px; font-size: .88rem; color: var(--muted); }
.sim-col__list { display: grid; gap: 10px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.sim-col__list li {
  position: relative;
  padding-left: 22px;
  font-size: .95rem;
  font-weight: 600;
}
.sim-col__list li::before {
  content: "";
  position: absolute;
  left: 2px; top: .45em;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--gold-500);
  transform: rotate(45deg);
}
.sim-lines { display: grid; margin-top: 18px; }
.sim-lines > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
}
.sim-lines dt { display: block; font-size: .95rem; line-height: 1.45; color: rgba(246, 240, 228, .85); }
.sim-lines dt .swatch { margin-right: 10px; vertical-align: 1px; }
.sim-lines dt small { color: rgba(246, 240, 228, .55); font-size: .82rem; }
.sim-lines dd {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: var(--cream-50);
}
.sim-lines__total { border-bottom: 0 !important; }
.sim-lines__total dt { font-weight: 700; color: var(--cream-50); }
.sim-lines__total dd { color: var(--gold-300); }

.sim-total {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 32px;
  padding: clamp(22px, 2.6vw, 30px) clamp(24px, 3vw, 36px);
  border-radius: 20px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(217, 184, 106, .22);
  color: var(--cream-100);
}
.sim-total__bar {
  grid-column: 1 / -1;
  display: flex;
  gap: 3px;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, .06);
}
.seg {
  flex: 0 0 var(--w);
  min-width: 0;
  transition: flex-basis .9s var(--ease-out);
}
.seg--gold { background: var(--gold-grad); }
.seg--navy { background: var(--navy-600); }
.seg--slate { background: var(--slate); }
.sim-total__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; }
.sim-total__note { max-width: 46em; font-size: .98rem; color: rgba(246, 240, 228, .8); }
.sim-col__sub--light { margin-top: 14px; font-size: .85rem; color: rgba(246, 240, 228, .55); }
.sim-lines > div:last-child { border-bottom: 0; }
.sim-total__label { font-weight: 700; }
.sim-total__label small { display: block; font-weight: 500; font-size: .85rem; color: rgba(246, 240, 228, .6); }
.sim-total__amount {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1;
  color: var(--gold-300);
  font-variant-numeric: tabular-nums;
}

.tarifs__tables { display: grid; gap: clamp(28px, 4vw, 48px); }
.tarifs__frais {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(20px, 2.4vw, 32px);
  align-items: start;
}
.table-wrap {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  overflow-x: auto;
  box-shadow: 0 20px 40px -32px rgba(14, 31, 61, .35);
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}
.table caption {
  padding: 20px 26px;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 600;
  color: var(--cream-50);
  background: var(--navy-900);
}
.table caption span { font-family: var(--font-body); font-size: .85rem; font-weight: 500; color: rgba(246, 240, 228, .65); }
.table thead th {
  padding: 14px 20px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-align: left;
  color: var(--navy-900);
  background: var(--cream-200);
}
.table tbody th, .table tbody td {
  padding: 18px 20px;
  text-align: left;
  vertical-align: middle;
  border-top: 1px solid var(--line);
}
.table tbody th {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy-900);
  white-space: nowrap;
}
.table tbody tr { transition: background .3s; }
.table tbody tr:hover { background: var(--cream-50); }
.table td { color: var(--muted); }
.table .num { font-variant-numeric: tabular-nums; color: var(--navy-900); font-weight: 600; white-space: nowrap; }
.price-tag {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy-950);
  background: var(--gold-grad);
}

.savoir {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: var(--radius);
  font-size: .92rem;
  color: var(--text);
  background: var(--cream-200);
  border: 1px solid rgba(198, 161, 91, .35);
}
.savoir__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--navy-900);
}
.savoir__title .icon { width: 24px; height: 24px; color: var(--gold-700); }
.savoir p + p { padding-top: 14px; border-top: 1px solid rgba(14, 31, 61, .1); }

/* ---------- Pourquoi ---------- */
.pourquoi { background: var(--cream-100); overflow: hidden; }
.pourquoi__head { margin-bottom: clamp(48px, 6vw, 80px); }
.pourquoi__quote {
  position: relative;
  font-size: clamp(2.6rem, 7.6vw, 7rem);
  line-height: 1;
  letter-spacing: -.035em;
}
.pourquoi__mark {
  display: block;
  height: .5em;
  font-size: 1.6em;
  line-height: 1;
  color: var(--gold-500);
}
.reasons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 40px);
}
.reason {
  position: relative;
  padding-top: 28px;
}
.reason::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 1px;
  background: var(--line);
}
.reason::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease-out) calc(var(--i, 0) * .12s + .2s);
}
.reason.is-in::after, .no-js .reason::after { transform: scaleX(1); }
.reason .icon { width: 30px; height: 30px; color: var(--gold-600); margin-bottom: 18px; }
.reason h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy-900);
  margin-bottom: 10px;
}
.reason p { font-size: .96rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { background: var(--cream-50); }
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.faq__head { position: sticky; top: calc(var(--header-h) + 48px); }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 20px 56px 20px 0;
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1.6vw, 1.35rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
  transition: color .3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 16px; height: 1.5px;
  background: var(--gold-600);
  transition: transform .45s var(--ease-out);
}
.qa summary::after { transform: rotate(90deg); }
.qa[open] summary::after { transform: rotate(0); }
.qa summary:hover { color: var(--gold-700); }
.qa::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size .5s var(--ease-out), content-visibility .5s allow-discrete;
}
.qa[open]::details-content { block-size: auto; }
.qa__body { padding: 0 48px 26px 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact {
  position: relative;
  padding: clamp(110px, 12vw, 170px) 0 var(--section);
  margin-top: 60px;
  color: var(--cream-100);
  background: var(--navy-900);
  isolation: isolate;
}
.contact__curve {
  position: absolute;
  left: 0;
  bottom: calc(100% - 1px);
  width: 100%;
  height: clamp(40px, 7vw, 110px);
  fill: var(--navy-900);
}
.contact__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.contact__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 50% at 0% 30%, rgba(45, 74, 124, .6), transparent 70%),
    radial-gradient(40% 40% at 100% 100%, rgba(198, 161, 91, .14), transparent 70%);
}
.contact__swoosh {
  position: absolute;
  left: -20vw;
  bottom: 4%;
  width: min(1000px, 90vw);
  opacity: .08;
  transform: rotate(-6deg);
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact .display { color: var(--cream-50); font-size: clamp(2.5rem, 5.4vw, 4.8rem); }
.contact .display em { color: var(--gold-300); }
.contact__lead { margin-top: 24px; font-size: 1.1rem; color: rgba(246, 240, 228, .75); max-width: 30em; }
.next-steps { display: grid; gap: 16px; margin-top: 40px; }
.next-steps li { display: flex; align-items: flex-start; gap: 16px; color: rgba(246, 240, 228, .85); }
.next-steps span {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  flex: none;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold-300);
  border: 1px solid rgba(217, 184, 106, .45);
}
.contact__direct { display: grid; gap: 10px; margin-top: 36px; }
.contact__direct a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-weight: 700;
  color: var(--cream-50);
  overflow-wrap: anywhere;
  transition: color .3s;
}
.contact__direct a:hover { color: var(--gold-300); }
.contact__direct .icon { flex: none; width: 20px; height: 20px; color: var(--gold-300); }
.contact__sign {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 44px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--gold-300);
}
.contact__sign .icon { width: 28px; height: 28px; }

.form-card {
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: 24px;
  color: var(--navy-900);
  background:
    radial-gradient(100% 60% at 100% 0%, rgba(235, 212, 155, .35), transparent 60%),
    var(--cream-50);
  box-shadow: var(--shadow-lg);
}
.form { display: grid; gap: 20px; }
.form__row--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-size: .88rem; font-weight: 700; color: var(--navy-900); }
.req { color: var(--gold-700); }
.opt { font-weight: 500; color: var(--muted); }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  font-size: 1rem;
  color: var(--navy-900);
  background: #fff;
  border: 1px solid rgba(14, 31, 61, .18);
  border-radius: var(--radius-sm);
  transition: border-color .3s, box-shadow .3s;
  appearance: none;
  -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.field ::placeholder { color: #8B93A8; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(14, 31, 61, .35); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(198, 161, 91, .22);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3261E; }
.field.has-error input:focus, .field.has-error select:focus, .field.has-error textarea:focus { box-shadow: 0 0 0 4px rgba(179, 38, 30, .15); }
.field__error { min-height: 0; font-size: .84rem; font-weight: 600; color: #B3261E; }
.field__error:empty { display: none; }
.select { position: relative; }
.select::after {
  content: "";
  position: absolute;
  right: 18px; top: 50%;
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--navy-700);
  border-bottom: 1.5px solid var(--navy-700);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select select { padding-right: 44px; cursor: pointer; }

.field--check {
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
}
.field--check input {
  width: 22px; height: 22px;
  margin: 2px 0 0;
  accent-color: var(--navy-900);
  cursor: pointer;
}
.field--check label { font-size: .86rem; font-weight: 500; color: var(--muted); line-height: 1.5; }
.field--check .field__error { grid-column: 2; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 4px;
}
.form__legal { font-size: .82rem; color: var(--muted); }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn.is-loading .icon { animation: send 1s var(--ease-in-out) infinite; }
@keyframes send { 50% { transform: translate(4px, -4px); opacity: .4; } }

.form__status:empty { display: none; }
.form__status {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  line-height: 1.5;
}
.form__status .icon { width: 24px; height: 24px; margin-top: 1px; }
.form__status > div { flex: 1; min-width: 0; }
.form__status.is-success { color: #1D4D2E; background: #E3F1E6; border: 1px solid #B5D8BE; }
.form__status.is-error { color: #7A1A14; background: #FBE9E7; border: 1px solid #F0C2BD; }
.form__status strong { display: block; }

/* ---------- Pied de page ---------- */
.footer {
  padding-top: clamp(64px, 8vw, 100px);
  color: rgba(246, 240, 228, .7);
  background: var(--navy-950);
  font-size: .95rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  padding-bottom: clamp(48px, 6vw, 72px);
}
.brand--footer .brand__mark { font-size: 2.6rem; }
.brand--footer .brand__word { font-size: 1.9rem; }
.footer__tag {
  margin-top: 18px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.footer__script {
  margin-top: 22px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--cream-50);
}
.footer__contact { display: grid; gap: 2px; margin-top: 22px; font-size: .95rem; }
.footer__contact li, .footer__contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; }
.footer__contact a { overflow-wrap: anywhere; transition: color .3s; }
.footer__contact a:hover { color: var(--gold-300); }
.footer__contact .icon { flex: none; width: 17px; height: 17px; color: var(--gold-400); }
.footer__title {
  margin-bottom: 16px;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--gold-400);
}
.footer__nav ul { display: grid; gap: 4px; }
.footer__nav a { display: inline-block; padding: 6px 0; transition: color .3s; }
.footer__nav a:hover { color: var(--gold-300); }
.footer__cta p:not(.footer__title) { margin-bottom: 20px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 26px calc(26px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-light);
  font-size: .85rem;
}
.footer__bottom ul { display: flex; gap: 24px; }
.footer__bottom a:hover { color: var(--gold-300); }

/* ---------- Bouton fixe mobile ---------- */
.sticky-cta {
  position: fixed;
  left: 16px; right: 16px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  border-radius: 999px;
  font-weight: 800;
  color: var(--navy-950);
  background: var(--gold-grad);
  box-shadow: 0 18px 40px -14px rgba(7, 19, 40, .7);
  transform: translateY(150%);
  transition: transform .5s var(--ease-out);
}
.sticky-cta.is-visible { transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__list a { padding: 10px 10px; }
  .formule { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr) auto; }
  .formule__for { display: none; }
  .chip--b { right: -14px; }
  .chip--a { left: -14px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .nav, .site-header__cta { display: none; }
  .burger { display: block; }
  .site-header.is-scrolled { --header-h: 62px; }

  .hero { padding-bottom: 96px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 64px; }
  .hero__copy { max-width: 720px; }
  .hero__visual { max-width: 460px; width: 100%; margin-inline: auto; }

  .engagements__grid { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .engagement:nth-child(3) { border-left: 0; padding-left: 0; }

  .about__grid, .methode__grid, .faq__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .methode__sticky, .faq__head { position: static; }
  .about::before { font-size: 40vw; }

  .formule {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "name price" "desc desc" "for for" "cta cta";
    gap: 12px 20px;
    padding: 28px 4px;
  }
  .formule__name { grid-area: name; }
  .formule__price { grid-area: price; text-align: right; align-items: flex-end; }
  .formule__desc { grid-area: desc; }
  .formule__for { grid-area: for; display: block; }
  .formule__cta { grid-area: cta; justify-self: start; }

  .presta-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }

  .tarifs__frais { grid-template-columns: 1fr; }
  .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 1rem; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 40px); }
  .hero__title { font-size: clamp(2.5rem, 11.5vw, 3.6rem); }
  .hero__actions .btn { flex: 1 1 100%; }
  .dossier__card { padding: 24px 20px 20px; }
  .dossier__foot { padding: 16px; gap: 16px; }
  .chip { font-size: .76rem; padding: 9px 13px; }
  .chip--a { top: -20px; left: -6px; }
  .chip--b { bottom: -22px; right: -6px; }
  .dossier__back { transform: translate3d(12px, 14px, -40px) rotate(3deg); }

  .engagements__grid { grid-template-columns: 1fr; row-gap: 0; }
  .engagement, .engagement:first-child, .engagement:nth-child(3) {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    column-gap: 18px;
    padding: 24px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .engagement:first-child { border-top: 0; }
  .engagement__icon { grid-row: span 2; margin: 0; }


  .formule {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "name name" "desc desc" "for for" "price cta";
  }
  .formule h3 { white-space: normal; }
  .formule__price { font-size: 1.3rem; text-align: left; align-items: flex-start; }
  .formule__cta { justify-self: end; }
  .hero__eyebrow { font-size: .72rem; letter-spacing: .18em; gap: 10px; }
  .eyebrow__line { width: 24px; }
  .dossier__steps em { white-space: nowrap; }

  .step { grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 12px 0; }
  .step__num { width: 56px; height: 56px; font-size: 1.2rem; }
  .steps__rail { left: 27px; }
  .step__body { padding: 20px; }

  .simulateur { border-radius: 22px; margin-inline: calc(var(--gutter) * -0.5); }
  .simulateur__tabs { flex-wrap: wrap; border-radius: 18px; }
  .simulateur__tabs button { flex: 1 1 auto; min-height: 44px; padding: 0 14px; font-size: .86rem; }
  .simulateur__panel { grid-template-columns: 1fr; }
  .sim-total { grid-template-columns: 1fr; }
  .sim-total .btn { width: 100%; }
  .sim-lines dd { font-size: 1.2rem; }

  /* Tableaux en cartes */
  .table-wrap { overflow: hidden; }
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table, .table tbody, .table tr, .table th, .table td { display: block; width: 100%; }
  .table caption { display: block; padding: 18px 20px; }
  .table tbody tr { padding: 16px 20px; border-top: 1px solid var(--line); }
  .table tbody th, .table tbody td { padding: 6px 0; border: 0; white-space: normal; }
  .table tbody th { font-size: 1.3rem; margin-bottom: 4px; }
  .table td[data-label] { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
  .table td[data-label]::before {
    content: attr(data-label);
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 600;
    color: var(--muted);
    white-space: normal;
  }
  .table:not(.table--frais) td:last-child { display: block; font-size: .9rem; }
  .table:not(.table--frais) td:last-child::before { display: block; margin-bottom: 4px; }
  .table--frais td.num { white-space: nowrap; }

  .reasons { grid-template-columns: 1fr; row-gap: 36px; }

  .contact { margin-top: 40px; }
  .form__row--2 { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
  .qa__body { padding-right: 0; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .sticky-cta { display: flex; }
}

@media (max-width: 380px) {
  .brand__word { font-size: 1.35rem; }
  .brand__mark { font-size: 1.85rem; }
  .chip--b { display: none; }
  .sim-col__amount { font-size: 2.5rem; }
}

@media (hover: none) {
  .formule::before { display: none; }
}

/* ==========================================================================
   Réduction des animations
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .hero__title .line > span { transform: none; }
  .arc { stroke-dashoffset: 0; }
  .reason::after { transform: scaleX(1); }
}

/* ==========================================================================
   Page mentions légales
   ========================================================================== */
.legal-back { margin-left: auto; }
.legal__hero {
  padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) 0 clamp(48px, 6vw, 80px);
  color: var(--cream-100);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(198, 161, 91, .16), transparent 60%),
    var(--navy-900);
}
.legal__hero .display { color: var(--cream-50); }
.legal__hero .display em { color: var(--gold-300); }
.legal__body {
  max-width: calc(820px + var(--gutter) * 2);
  padding-block: clamp(48px, 7vw, 96px);
}
.legal__body section { padding-block: 28px; border-bottom: 1px solid var(--line); }
.legal__body h2 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 600;
  color: var(--navy-900);
}
.legal__body h3 { margin: 22px 0 6px; font-size: 1rem; font-weight: 800; color: var(--navy-900); }
.legal__body p + p { margin-top: 12px; }
.legal__body ul { display: grid; gap: 6px; margin-top: 10px; }
.legal__body ul li { position: relative; padding-left: 20px; }
.legal__body ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: .62em;
  width: 6px; height: 6px;
  background: var(--gold-500);
  transform: rotate(45deg);
}
.legal__todo {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--cream-200);
  border: 1px dashed var(--gold-600);
  font-size: .95rem;
}
.legal__update { margin: 32px 0 28px; font-size: .9rem; color: var(--muted); }
.footer--slim { padding-top: 0; }
.footer--slim .footer__bottom { border-top: 0; padding-bottom: calc(26px + env(safe-area-inset-bottom)); }

/* ==========================================================================
   Tunnel : le dossier pièce par pièce
   Sans JavaScript ou avec animations réduites : grille de pièces statique.
   Avec JavaScript (.is-3d) : scène fixe, les pièces traversent l'écran au défilement.
   ========================================================================== */
.tunnel {
  position: relative;
  padding-block: var(--section);
  color: var(--cream-100);
  background: var(--navy-950);
  isolation: isolate;
}
.tunnel__stage { position: relative; }
.tunnel__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(180deg, var(--navy-900), transparent 22%),
    radial-gradient(55% 50% at 50% 50%, rgba(198, 161, 91, .13), transparent 70%);
}
.tunnel__ring {
  position: absolute;
  left: 50%; top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.tunnel__ring--inner { width: 48vmin; height: 48vmin; border: 1px solid rgba(217, 184, 106, .2); }
.tunnel__ring--outer { width: 80vmin; height: 80vmin; border: 1px dashed rgba(246, 240, 228, .1); }

.tunnel__copy {
  position: relative;
  max-width: calc(36rem + var(--gutter) * 2);
  margin: 0 auto 56px;
  padding-inline: var(--gutter);
  text-align: center;
}
.tunnel__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.3rem, 5.2vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.025em;
  color: var(--cream-50);
  text-wrap: balance;
}
.tunnel__lead {
  max-width: 30em;
  margin: 22px auto 0;
  font-size: 1.08rem;
  color: rgba(246, 240, 228, .74);
}

/* Les pièces du dossier */
.tunnel__space {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.piece {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  aspect-ratio: 4 / 5;
  padding: 18px 18px 16px;
  overflow: hidden;
  border-radius: 6px;
  color: var(--navy-900);
  background: linear-gradient(165deg, #FFFDF8 0%, #F3EADA 100%);
  box-shadow: 0 34px 50px -26px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(14, 31, 61, .06);
}
.piece::after {
  /* coin corné */
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 26px; height: 26px;
  background: linear-gradient(225deg, var(--navy-950) 50%, var(--cream-300) 50%);
  box-shadow: -2px 2px 4px rgba(14, 31, 61, .12);
}
.piece__top { display: flex; align-items: center; gap: 10px; }
.piece__seal {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--gold-500);
  color: transparent;
  transition: background .45s var(--ease-out), color .3s, transform .6s var(--ease-out), border-color .3s;
}
.piece__seal .icon { width: 15px; height: 15px; stroke-width: 2.6; }
.piece.is-checked .piece__seal,
.tunnel:not(.is-3d) .piece__seal {
  color: var(--navy-950);
  border-color: transparent;
  background: var(--gold-grad);
}
.piece.is-checked .piece__seal { transform: scale(1.12); }
.piece__num { font-size: .8rem; font-weight: 600; color: var(--muted); }
.piece__title {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.12;
}
.piece__lines {
  flex: 1;
  min-height: 28px;
  background: repeating-linear-gradient(180deg, rgba(14, 31, 61, .13) 0 2px, transparent 2px 11px);
  -webkit-mask-image: linear-gradient(90deg, #000 62%, transparent 92%);
  mask-image: linear-gradient(90deg, #000 62%, transparent 92%);
}
.piece__note { font-size: .8rem; line-height: 1.4; color: var(--muted); }

/* L'aboutissement : l'extrait Kbis */
.tunnel__final {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 72px;
  padding-inline: var(--gutter);
  text-align: center;
}
.kbis {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(320px, 78vw);
  padding: 24px 24px 20px;
  border-radius: 8px;
  text-align: left;
  color: var(--navy-900);
  background: linear-gradient(165deg, #FFFDF8 0%, #F1E5CC 100%);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .85), 0 0 0 1px rgba(198, 161, 91, .55);
}
.kbis__stamp {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px 5px 8px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy-950);
  background: var(--gold-grad);
}
.kbis__stamp .icon { width: 15px; height: 15px; stroke-width: 2.6; }
.kbis__title {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1;
}
.kbis__lines {
  height: 50px;
  background: repeating-linear-gradient(180deg, rgba(14, 31, 61, .13) 0 2px, transparent 2px 12px);
  -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent 95%);
  mask-image: linear-gradient(90deg, #000 70%, transparent 95%);
}
.kbis__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.tunnel__done {
  margin-top: 36px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--cream-50);
}
.tunnel__after {
  max-width: 30em;
  margin: 14px 0 26px;
  color: rgba(246, 240, 228, .74);
}

.tunnel__meter { display: none; }
.tunnel__caption {
  max-width: calc(40rem + var(--gutter) * 2);
  margin: 44px auto 0;
  padding-inline: var(--gutter);
  font-size: .85rem;
  text-align: center;
  color: rgba(246, 240, 228, .55);
}

/* ---------- Mode 3D (activé par le script) ---------- */
.tunnel.is-3d {
  height: 340vh;
  padding: 0;
}
.tunnel.is-3d .tunnel__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  perspective: 1200px;
}
.tunnel.is-3d .tunnel__copy {
  position: absolute;
  left: 50%; top: 50%;
  width: min(calc(36rem + var(--gutter) * 2), 100%);
  margin: 0;
  transform: translate(-50%, -50%) scale(var(--copy-s, .92));
  opacity: var(--copy-o, 1);
  will-change: transform, opacity;
}
.tunnel.is-3d .tunnel__space {
  position: absolute;
  inset: 0;
  display: block;
  max-width: none;
  margin: 0;
  padding: 0;
  transform-style: preserve-3d;
  pointer-events: none;
}
.tunnel.is-3d .piece {
  position: absolute;
  left: 50%; top: 50%;
  width: var(--piece-w, 210px);
  opacity: 0;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
.tunnel.is-3d .tunnel__final {
  position: absolute;
  inset: 0;
  justify-content: center;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s var(--ease-out), visibility 0s .6s;
}
.tunnel.is-3d .tunnel__final.is-on {
  opacity: 1;
  visibility: visible;
  transition: opacity .8s var(--ease-out);
}
.tunnel.is-3d .kbis {
  transform: perspective(900px) translate3d(0, 40px, -260px) rotateX(14deg);
  transition: transform 1.1s var(--ease-out);
}
.tunnel.is-3d .tunnel__final.is-on .kbis { transform: none; }
.tunnel.is-3d .kbis__stamp {
  opacity: 0;
  transform: scale(1.8) rotate(-10deg);
  transition: transform .55s cubic-bezier(.3, 1.6, .5, 1) .55s, opacity .2s .55s;
}
.tunnel.is-3d .tunnel__final.is-on .kbis__stamp { opacity: 1; transform: none; }

.tunnel.is-3d .tunnel__meter {
  position: absolute;
  left: 50%;
  bottom: 58px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
  color: rgba(246, 240, 228, .82);
  transform: translateX(-50%);
  transition: opacity .4s;
}
.tunnel.is-done .tunnel__meter { opacity: 0; }
.tunnel__bar {
  width: 140px;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(246, 240, 228, .16);
}
.tunnel__bar span {
  display: block;
  height: 100%;
  background: var(--gold-grad);
  transform: scaleX(var(--m, 0));
  transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.tunnel.is-3d .tunnel__caption {
  position: absolute;
  left: 0; right: 0;
  bottom: 18px;
  margin: 0 auto;
  font-size: .78rem;
}

@media (max-width: 760px) {
  .tunnel__space { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .piece { padding: 14px 14px 12px; }
  .piece__title { font-size: 1.1rem; }
  .tunnel.is-3d { height: 300vh; }
  .tunnel.is-3d .tunnel__stage { perspective: 900px; }
  .tunnel.is-3d .tunnel__copy { top: 27%; }
  .tunnel.is-3d .piece,
  .tunnel.is-3d .tunnel__ring { top: 62%; }
  .tunnel.is-3d .piece { padding: 12px 12px 10px; gap: 6px; }
  .tunnel.is-3d .piece__title { font-size: 1rem; }
  .tunnel.is-3d .piece__note { font-size: .72rem; }
  .tunnel.is-3d .piece__seal { width: 24px; height: 24px; }
  .tunnel.is-3d .tunnel__meter { bottom: 64px; font-size: .84rem; }
  .tunnel.is-3d .tunnel__caption { bottom: 16px; padding-inline: 24px; }
  .tunnel__done { margin-top: 26px; }
  .tunnel__after { margin-bottom: 20px; }
}

/* ==========================================================================
   Motion design : vidéos HyperFrames et animations interactives
   (les animations au défilement ne s'activent qu'avec la classe .motion,
   posée par le script quand l'appareil ne demande pas moins d'animations)
   ========================================================================== */
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Vidéo d'ouverture de l'accueil ---------- */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .5s var(--ease-out);
}
.hero.has-video .hero__video { opacity: 1; }
.hero__arcs, .hero__swoosh { transition: opacity .6s var(--ease-out); }
.hero--video .hero__arcs, .hero--video .hero__swoosh { opacity: 0; }

/* ---------- Boucle « formes juridiques » ---------- */
.formules__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.formules__top .section-head { margin-bottom: 0; }
.loop-video { position: relative; aspect-ratio: 16 / 9; }
.loop-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* le crème de la vidéo se fond exactement dans celui de la page */
  mix-blend-mode: darken;
}
.loop-video__toggle {
  position: absolute;
  right: 6px;
  bottom: 6px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy-900);
  background: rgba(252, 249, 243, .92);
  cursor: pointer;
  opacity: .6;
  transition: opacity .3s;
}
.loop-video:hover .loop-video__toggle, .loop-video__toggle:focus-visible { opacity: 1; }
.loop-video__toggle .icon { width: 18px; height: 18px; }

/* ---------- Film « Le dossier de Camille » ---------- */
.film {
  position: relative;
  padding-block: var(--section);
  overflow: hidden;
  color: var(--cream-100);
  isolation: isolate;
}
.film__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 50% 62%, rgba(45, 74, 124, .55), transparent 72%),
    var(--navy-950);
}
.film__inner { display: grid; justify-items: center; gap: clamp(28px, 4vw, 48px); }
.film__head { max-width: 46rem; text-align: center; }
.film .display { color: var(--cream-50); }
.film__lead { margin-top: 18px; font-size: 1.1rem; color: rgba(246, 240, 228, .74); }
.film__frame {
  position: relative;
  width: min(1100px, 100%);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background: var(--navy-900);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .85), 0 0 0 1px rgba(217, 184, 106, .35);
}
.film__video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--navy-900); }
.film__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 18px;
  padding: clamp(16px, 3vw, 36px);
  border: 0;
  font: inherit;
  text-align: left;
  color: var(--cream-50);
  background: linear-gradient(180deg, rgba(7, 19, 40, 0) 45%, rgba(7, 19, 40, .6));
  cursor: pointer;
  transition: opacity .35s var(--ease-out), visibility 0s;
}
.film__icon {
  display: grid;
  place-items: center;
  width: clamp(60px, 7vw, 88px);
  height: clamp(60px, 7vw, 88px);
  flex: none;
  border-radius: 50%;
  color: var(--navy-950);
  background: var(--gold-grad);
  box-shadow: 0 16px 40px -10px rgba(198, 161, 91, .75);
  transition: transform .5s var(--ease-out);
}
.film__icon .icon { width: 42%; height: 42%; margin-left: 6%; }
.film__play:hover .film__icon, .film__play:focus-visible .film__icon { transform: scale(1.08); }
.film__label {
  display: flex;
  flex-direction: column;
  font-weight: 800;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.3;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}
.film__label small { font-weight: 600; font-size: .85rem; color: rgba(246, 240, 228, .85); }
.film.is-playing .film__play { opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.film__note { font-size: .85rem; text-align: center; color: rgba(246, 240, 228, .55); }

/* ---------- Titres : mot à mot (même langage que les films) ---------- */
.motion .w {
  display: inline-block;
  opacity: 0;
  filter: blur(6px);
  transition: opacity .6s var(--ease-out), filter .6s var(--ease-out);
  transition-delay: calc(var(--wi, 0) * 60ms);
}
.motion .is-in .w { opacity: 1; filter: blur(0); }

/* ---------- Formules : chaque ligne se dévoile de gauche à droite ---------- */
.motion .formule[data-anim] {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s var(--ease-out);
  transition-delay: calc(var(--ai, 0) * 110ms);
}
.motion .formule[data-anim].is-in { clip-path: inset(0 0 0 0); }

/* ---------- Prestations : entrée en relief, inclinaison et reflet sous la souris ---------- */
.presta {
  --lift: 0px;
  --enter-y: 0px;
  --enter-rx: 0deg;
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  transform: perspective(1100px) translateY(calc(var(--lift) + var(--enter-y))) rotateX(calc(var(--rx) + var(--enter-rx))) rotateY(var(--ry));
  transition: transform .9s var(--ease-out), opacity .9s var(--ease-out), border-color .4s, box-shadow .6s var(--ease-out);
}
.presta--featured { --lift: -18px; }
.presta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(235, 212, 155, .18), transparent 62%);
  opacity: 0;
  transition: opacity .4s;
}
.presta:hover::after { opacity: 1; }
.presta:hover { border-color: rgba(217, 184, 106, .55); }
.motion .presta[data-anim] {
  --enter-y: 70px;
  --enter-rx: 16deg;
  opacity: 0;
  transition-delay: calc(var(--ai, 0) * 130ms);
}
.motion .presta[data-anim].is-in { --enter-y: 0px; --enter-rx: 0deg; opacity: 1; }

/* ---------- Engagements : les icônes se dessinent ---------- */
.motion .engagement[data-anim] { opacity: 0; transition: opacity .8s var(--ease-out); transition-delay: calc(var(--ai, 0) * 160ms); }
.motion .engagement[data-anim].is-in { opacity: 1; }
.motion .engagement[data-anim] .engagement__icon .icon {
  stroke-dasharray: 130;
  stroke-dashoffset: 130;
  transition: stroke-dashoffset 1.6s var(--ease-out);
  transition-delay: calc(var(--ai, 0) * 160ms + .2s);
}
.motion .engagement[data-anim].is-in .engagement__icon .icon { stroke-dashoffset: 0; }

/* ---------- Méthode : chaque étape glisse en place ---------- */
.motion .step[data-anim] .step__body {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity .8s var(--ease-out), transform .9s var(--ease-out), background .5s, box-shadow .5s, border-color .5s;
}
.motion .step[data-anim].is-in .step__body { opacity: 1; transform: none; }

/* ---------- Tableaux de tarifs : lignes en cascade ---------- */
.motion .table tbody tr[data-anim] {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity .6s var(--ease-out), transform .7s var(--ease-out), background .3s;
  transition-delay: calc(var(--ai, 0) * 70ms);
}
.motion .table tbody tr[data-anim].is-in { opacity: 1; transform: none; }

/* ---------- Formulaire de contact ---------- */
.motion .form-card[data-anim] {
  opacity: 0;
  transform: translateY(40px) scale(.98);
  transition: opacity .9s var(--ease-out), transform 1s var(--ease-out);
}
.motion .form-card[data-anim].is-in { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .formules__top { grid-template-columns: minmax(0, 1fr); }
  .presta--featured { --lift: 0px; }
}
@media (hover: none) {
  .presta::after { display: none; }
}

/* ==========================================================================
   Lisibilité de la Bodoni
   En grand corps, la Bodoni passe d'elle-même à sa version « affiche », aux déliés
   presque invisibles (surtout en italique sur fond clair). On impose une taille
   optique plus robuste et des italiques un peu plus nourris.
   ========================================================================== */
html {
  font-optical-sizing: none;
  font-variation-settings: "opsz" 9;
}
/* Graisse minimale pour tous les textes en Bodoni : plus de traits qui disparaissent */
.display, .hero__title, .tunnel__title, .tunnel__done, .about__title,
.formule h3, .formule__price, .presta h3, .presta__price, .step h3, .step__num,
.engagement h3, .reason h3, .qa summary, .piece__title, .kbis__title,
.table caption, .table tbody th, .price-tag, .sim-col__amount, .sim-lines dd,
.dossier__title, .dossier__price, .pourquoi__quote, .film .display, .contact .display,
.brand__word, .footer__script, .contact__sign, .mobile-menu__list a, .legal__body h2 { font-weight: 600; }
.about__lead { font-weight: 500; }
em,
.display em,
.hero__title em { font-weight: 500; }
.display em { color: #6F5321; }
