/* ═══════════════════════════════════════════════════════════
   TEMPLATE « SITE IMMERSIF » — feuille de style canonique
   NE PAS MODIFIER en dehors des tokens :root (thème + accent).
   Le thème se choisit par <html data-theme="dark"> (light par
   défaut) ; l'accent par --lime / --lime-ink.
   ═══════════════════════════════════════════════════════════ */

:root {
  /* ═══ THÈME LIGHT (défaut) — surcharge dark plus bas ═══ */
  --ink-rgb: 26, 25, 21;          /* composantes RGB du texte (pour les rgba) */
  --bone: #f4f3f0;                /* toile de fond */
  --ink: #1a1915;                 /* texte principal */
  --ash: #82868e;                 /* texte secondaire */
  --white: #ffffff;               /* surfaces élevées (header, panneau, tuiles) */

  /* ═══ ACCENT — les 2 seules variables à changer pour une autre couleur ═══ */
  --lime: #f4c2c2;                /* accent (bouton CTA, bande devise, éléments accent) */
  --lime-ink: #1a1915;            /* texte posé SUR l'accent */
  --accent: #b86260;              /* couleur d'accentuation pour les mots mis en valeur */

  --ink-faint: rgba(var(--ink-rgb), 0.16);

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Montserrat', ui-sans-serif, system-ui, sans-serif;
  --geo: var(--serif);
  --mono: 'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --t-heading: clamp(36px, 5.2vw, 68px);
  --radius: 2px;
  --gutter: clamp(20px, 4vw, 64px);

  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-inout: cubic-bezier(0.77, 0, 0.175, 1);
}

/* ═══ THÈME DARK — activé par <html data-theme="dark"> ═══ */
html[data-theme="dark"] {
  --ink-rgb: 242, 241, 236;
  --bone: #141311;
  --ink: #f2f1ec;
  --ash: #8f938f;
  --white: #201f1c;
  --accent: #f4c2c2;
  --ink-faint: rgba(var(--ink-rgb), 0.16);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.007em;
  line-height: 1.3;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; border-radius: var(--radius); }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 400; }

.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  line-height: 1.4;
  text-transform: uppercase;
  font-weight: 400;
}
.ash { color: var(--ash); }

/* ═══════════ SMOOTH WRAPPER ═══════════ */
body.is-smooth .smooth {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  will-change: transform;
}

/* ═══════════ PRELOADER ═══════════ */
/* preloader : le nom + un trait qui se remplit. À la fin le voile
   s'efface et le nom REJOINT sa place dans le dock — la page ne se
   substitue pas au loader, elle en sort. */
.loader {
  position: fixed; inset: 0;
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
}
.loader::before {
  content: ''; position: absolute; inset: 0;
  background: var(--bone);
  transition: opacity .75s var(--ease-inout);
}
.loader.done { pointer-events: none; }
.loader.done::before { opacity: 0; }
.loader-inner {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.loader-wordmark {
  font-family: var(--serif);
  font-size: 28px; letter-spacing: 0.02em; font-weight: 500;
  transform-origin: center center;
  transition: transform .9s var(--ease-inout);
  will-change: transform;
}
/* posé : le nom du loader s'efface pendant que le dock se révèle, sur la
   MÊME durée et au même endroit — un fondu croisé, jamais une bascule
   sèche ni un instant sans nom à l'écran */
.loader-wordmark.landed { opacity: 0; transition: opacity .32s var(--ease-out); }
.loader-rule {
  display: block; width: 128px; height: 1px;
  background: var(--ink-faint); overflow: hidden;
  transition: opacity .3s var(--ease-out), transform .5s var(--ease-inout);
}
.loader.done .loader-rule { opacity: 0; transform: scaleX(0.4); }
.loader-rule i {
  display: block; width: 100%; height: 100%;
  background: var(--ink);
  transform: scaleX(0); transform-origin: left;
}
/* pendant le relais le dock est déjà à sa place, simplement invisible :
   il ne descend pas en même temps que le wordmark vole vers lui. */
body.handoff .dock {
  transform: translate(-50%, 0);
  opacity: 0;
  transition: none;
}

/* ═══════════ SCÈNES (pin émulé) ═══════════ */
.scene { position: relative; }
.scene .pin {
  height: 100vh;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

/* ═══════════ RÉVÉLATIONS GÉNÉRIQUES ═══════════ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ═══════════ S1 · HERO ═══════════ */
.s-hero .pin { background: var(--bone); }

.floaters { position: absolute; inset: 0; z-index: 1; }
.fl {
  position: absolute;
  left: var(--x); top: var(--y);
  width: var(--w);
  overflow: hidden;
  border-radius: var(--radius);
  will-change: transform;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.2s var(--ease-inout);
  transition-delay: calc(var(--fi, 0) * 90ms + .15s);
}
.fl img { width: 100%; height: auto; transform: scale(1.3); transition: transform 1.7s var(--ease-out); transition-delay: calc(var(--fi, 0) * 90ms + .15s); }
body.is-ready .fl { clip-path: inset(0 0 0 0); }
body.is-ready .fl img { transform: scale(1); }

.hero-copy {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 2;
  text-align: center;
  pointer-events: none;
}
.hero-kicker { margin-bottom: 28px; letter-spacing: 0.12em; will-change: opacity; }
.hero-title {
  font-family: var(--serif);
  font-size: var(--t-heading);
  letter-spacing: -0.01em;
  line-height: 1.08;
  font-weight: 400;
}
.hero-line1 { display: block; will-change: opacity; }
.hero-line2 {
  display: flex; align-items: center; justify-content: center;
  white-space: nowrap;
}
.hero-line2 .hl { flex: 0 0 auto; }

/* image qui naît puis grandit dans le texte */
.grow {
  display: block; flex: 0 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
  width: 0; height: 0;
  will-change: width, height;
  position: relative;
}
.grow img,
.grow video {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw; height: 100vh;
  object-fit: cover;
  border-radius: 0;
  max-width: none;
}

/* calque série en lumière */
.spot { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.spot-intro {
  position: absolute; top: 44%; left: 0;
  width: 100%;
  text-align: center;
  color: #ffffff;
  font-family: var(--serif);
  font-size: var(--t-heading);
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-shadow:
    0 2px 18px rgba(0,0,0,0.55),
    0 1px 4px  rgba(0,0,0,0.40);
}
.spot-intro span { display: inline-block; will-change: opacity, transform; opacity: 0; }

/* Badge mariages.net dans le hero — pill en bas à droite du calque plein écran */
.spot-badge {
  position: absolute;
  bottom: 8vh;
  right: var(--gutter);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 13px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(26, 25, 21, 0.12);
  border-radius: 40px;
  color: #1a1915;
  text-decoration: none;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: background .25s, transform .25s var(--ease-out), box-shadow .25s, border-color .25s;
  will-change: opacity;
  opacity: 0;
  pointer-events: none;
}
/* révélé en même temps que le kicker hero */
body.is-ready .spot-badge {
  opacity: 1;
  pointer-events: auto;
  transition: opacity .8s var(--ease-out) .6s, background .25s, transform .25s var(--ease-out), box-shadow .25s;
}
.spot-badge:hover {
  background: #ffffff;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
}
.spot-badge-heart { display: flex; align-items: center; line-height: 1; }
.spot-badge-heart path {
  fill: #e88b88;
  stroke: #e88b88;
}
.spot-badge-stars {
  color: #e5a93c;
  font-size: 13px;
  letter-spacing: -1px;
  line-height: 1;
}
.spot-badge-half {
  position: relative;
  display: inline-block;
}
.spot-badge-half::before {
  content: '★';
  position: absolute;
  left: 0;
  color: #d8d3cd;
}
.spot-badge-half::after {
  content: '★';
  position: absolute;
  left: 0;
  color: #e5a93c;
  clip-path: inset(0 40% 0 0);
}
.spot-badge-half { color: transparent; width: 13px; }
.spot-badge-score {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #1a1915;
}
.spot-badge-slash { font-size: 11px; color: #73706a; }
.spot-badge-sep { color: #8e8a82; }
.spot-badge-label {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 14px;
  color: #2c1f1a;
  font-weight: 500;
}
/* ═══════════ S2 · MANIFESTE ═══════════ */
.s-fill .pin {
  background: var(--bone);
  display: flex;
  align-items: center;
  justify-content: center;
}
.fill-text {
  width: min(880px, 74vw);
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 58px);
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-align: left;
}
.fill-text .fc { color: var(--ink-faint); transition: color .25s linear; }
.fill-text .fc.on { color: var(--ink); }
.fill-text.greyed .fc { color: rgba(var(--ink-rgb), 0.34); transition: color .6s; }

.highlighted {
  position: relative;
  white-space: nowrap;
  color: var(--accent);
  font-weight: 600;
  transition: color .4s;
}
.fill-text .highlighted .fc {
  color: inherit;
}
.fill-text .highlighted .fc.on {
  color: var(--accent);
}
.fill-text.greyed .highlighted {
  color: var(--accent);
  opacity: 0.7;
  transition: opacity .6s;
}

/* ═══════════ S3 · SÉLECTION ═══════════ */
.collection {
  position: relative;
  background: var(--white);
  padding: 14vh var(--gutter) 30vh;
  margin-top: -100vh; /* recouvre le manifeste grisé SUR PLACE, pendant son épinglage */
  z-index: 2;
  overflow: visible;
}
.coll-head { text-align: center; margin-bottom: 10vh; position: relative; z-index: 1; }
.coll-title {
  font-family: var(--serif);
  font-size: var(--t-heading);
  letter-spacing: -0.01em;
  font-weight: 400;
  margin: 16px 0 10px;
}
.coll-sub { color: var(--ash); margin-bottom: 18px; font-weight: 300; }
.coll-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 28px);
  align-items: start;
  position: relative; z-index: 2;
}
.col { display: grid; gap: clamp(44px, 5vw, 84px); will-change: transform; }
.col:nth-child(2) { margin-top: 14vh; }
.col:nth-child(3) { margin-top: 4vh; }
.col:nth-child(4) { margin-top: 9vh; }
.card { position: relative; }
.card-img { position: relative; overflow: hidden; border-radius: var(--radius); }
.card-img img { width: 100%; transition: transform .9s var(--ease-out); }
.card:hover .card-img img { transform: scale(1.045); }
.card figcaption { margin-top: 12px; font-size: 19px; letter-spacing: -0.007em; }
.card figcaption .mono { display: block; color: var(--ash); margin-top: 3px; }

/* carte vedette : voyage du centre du titre vers sa case */
#featuredCard { will-change: transform; position: relative; z-index: 3; }

/* ═══════════ S3bis · FEATURES BENTO ═══════════ */
/* VRAI bento : 4 tuiles de tailles CONTRASTÉES, jamais 4 cases égales
   (une grille régulière n'est pas un bento). 3 colonnes, 4 rangées :
   une grande, une haute, une haute, une grande — en diagonale.
   Toutes couvrent 2 rangées : aucune tuile écrasée en bandeau. */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(230px, 31vh);
  gap: clamp(12px, 1.4vw, 20px);
  position: relative; z-index: 2;
}
.b-big  { grid-column: span 2; grid-row: span 2; }
.b-tall { grid-column: span 1; grid-row: span 2; }
.bento-grid .card {
  background: var(--white);
  border: 1px solid rgba(var(--ink-rgb), 0.08);
  border-radius: var(--radius);
  padding: 12px 12px 16px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.bento-grid .card-img { flex: 1; min-height: 0; }
.bento-grid .card-img img { width: 100%; height: 100%; object-fit: cover; }
.bento-grid figcaption { margin-top: 12px; }

/* ═══════════ S4 · BANDE LIME ═══════════ */
.band { position: relative; z-index: 3; margin-top: -20vh; }
.diag { height: 12vw; position: relative; margin: -1px 0; }
.to-lime   { background: linear-gradient(to bottom right, transparent 49.7%, var(--lime) 50.3%); }
.from-lime { background: linear-gradient(to bottom right, var(--lime) 49.7%, transparent 50.3%); }
/* ═══════════ 5 · DEVISE — train de mots-clés (scène épinglée) ═══════════ */
.s-motto .pin { background: var(--lime); overflow: hidden; }
.motto-kicker {
  position: absolute; top: 13vh; left: 50%;
  transform: translateX(-50%);
  color: var(--lime-ink); opacity: 0.7;
}
.motto-track {
  position: absolute; top: 50%; left: 0;
  display: flex; align-items: baseline;
  gap: 7vw;
  white-space: nowrap;
  will-change: transform;
}
.mw {
  font-family: var(--geo);
  font-weight: 300;
  font-size: clamp(96px, 16vw, 250px);
  letter-spacing: -0.02em; line-height: 1;
  color: var(--lime-ink);
  will-change: opacity;
}
.mw .sc { display: inline-block; will-change: transform; }
.motto-hint {
  position: absolute; bottom: 14vh; left: 50%;
  transform: translateX(-50%);
  color: var(--lime-ink);
  transition: opacity .25s;
  text-align: center;
  max-width: 80vw;
}
.motto-hint.swap { opacity: 0; }

/* ═══════════ S5 · NUIT + EXPLORER ═══════════ */
.s-night .pin { background: var(--bone); }
.night-line {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: var(--t-heading);
  letter-spacing: -0.01em;
  z-index: 2;
}
.night-line .nw { will-change: opacity, transform; opacity: 0; }
.night-line .nw + .nw { margin-left: 0.28em; }
/* compteur monumental : le numéro d'étape, en filigrane, qui défile */
.bignum {
  position: absolute; right: max(var(--gutter), calc(50vw - 560px)); top: 50%;
  transform: translateY(-50%);
  display: flex; align-items: flex-start;
  font-size: min(40vh, 26vw);
  font-weight: 300; line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  color: var(--ink-faint);
  z-index: 11; opacity: 0; pointer-events: none;
}
.bignum-roll { display: block; height: 1em; overflow: hidden; }
.bignum-roll > span { display: block; will-change: transform; }
.bignum-roll i { display: block; height: 1em; font-style: normal; letter-spacing: normal; padding-right: 0.06em; }
/* rideau de lames : couvre puis découvre, l'image ne recule jamais */
/* débord de 2 px sur les quatre côtés : le pin est translaté sur des
   valeurs fractionnaires, et un rideau calé à 0 laisse transparaître une
   ligne d'image sur les bords. */
.wipe { position: absolute; inset: -2px; z-index: 9; display: flex; pointer-events: none; overflow: hidden; }
.wipe span {
  flex: 1 1 0; position: relative; margin-right: -2px;
  min-width: 0;
  background: var(--bone);
  transform: scaleY(0); transform-origin: bottom;
  will-change: transform;
}
/* PAS d'arête dessinée sur les lames. Une lame rétractée sur un fond de
   même couleur ne doit RIEN laisser : un liseré ::before/::after y trace
   des traits parasites en travers de l'écran pendant le relais entre deux
   étapes (visibles en accent comme en neutre). La lame se lit à son
   remplissage quand elle passe sur l'image, pas à un filet. */
.wipe span:last-child { margin-right: 0; }
/* contenu de l'étape à gauche */
.psteps { position: absolute; left: max(var(--gutter), calc(50vw - 540px)); top: 50%; width: min(520px, 46vw); z-index: 12; }
.pstep {
  position: absolute; left: 0; top: 0;
  opacity: 0;
  will-change: opacity, transform;
}
.pstep-meta { display: block; margin-bottom: 14px; }
.pstep h3 {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 68px);
  letter-spacing: -0.01em;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 16px;
}
.pstep p { font-size: 17px; line-height: 1.55; max-width: 26em; font-weight: 300; }

/* Vignette photo d'ambiance pour chaque étape */
.pstep-thumb {
  margin-top: 22px;
  width: min(420px, 100%);
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--hairline-heavy, rgba(0,0,0,0.12));
  box-shadow: 0 16px 36px rgba(0,0,0,0.14);
  background: var(--surface);
}
.pstep-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .psteps {
    left: var(--gutter);
    width: calc(100vw - var(--gutter) * 2);
  }
  .bignum {
    right: var(--gutter);
    font-size: 32vw;
    opacity: 0.15 !important;
  }
  .pstep-thumb {
    width: 100%;
    height: 180px;
    margin-top: 16px;
  }
}


/* CTA de conversion en fin de processus */
.steps-cta {
  position: absolute; left: 50%; bottom: 8vh;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.01em;
  color: var(--ink);
  opacity: 0;
  z-index: 12;
  will-change: opacity, transform;
}
.steps-cta a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.4em 0.9em;
  background: var(--white);
  color: var(--accent);
  border: 1px solid rgba(var(--ink-rgb), 0.1);
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  transition: transform .25s var(--ease-out), box-shadow .25s, border-color .25s;
}
.steps-cta a:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
  border-color: var(--accent);
}

/* ═══════════ 9 · OBJECTIONS (FINALE) ═══════════ */
.s-final .pin {
  background: var(--bone);
  display: flex; align-items: center; justify-content: center;
}
.final-text {
  position: relative; z-index: 2;
  text-align: center;
  font-family: var(--serif);
  font-size: var(--t-heading);
  letter-spacing: -0.01em;
  line-height: 1.25;
  padding: 0 var(--gutter);
  max-width: min(940px, 74vw); margin: 0 auto;
}
.fs { color: var(--ink-faint); transition: color .5s; }
.fs.on { color: var(--ink); }
.fs.on .highlighted { color: var(--accent); }

/* ═══════════ 8 · PREUVE SOCIALE (scène épinglée) ═══════════ */
.s-quote .pin {
  background: var(--bone);
  display: flex; align-items: center; justify-content: center;
}
/* témoignage : guillemet, parole, filet, signature — la grammaire d'un avis */
.q-stack { position: relative; z-index: 2; width: min(980px, 84vw); }
.q-glyph {
  display: block;
  font-size: clamp(88px, 8.5vw, 146px); line-height: 0.62;
  color: var(--ink-faint);
  margin-bottom: 6px;
  opacity: 0; will-change: opacity, transform;
}
.q-block { position: relative; }
.q-text {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 50px);
  font-style: italic;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  opacity: 0; will-change: opacity, transform;
}
.q-sign { margin-top: clamp(34px, 4.4vw, 58px); }
.q-rule {
  display: block; height: 1px; background: var(--ink-faint);
  transform: scaleX(0); transform-origin: left;
}
.q-sign-row {
  display: flex; align-items: baseline; gap: 20px;
  padding-top: 18px;
}
.q-name { font-size: 20px; font-weight: 500; opacity: 0; }
.q-ctx { flex: 1; opacity: 0; }
.q-fig {
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 300; letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
  opacity: 0;
}
.q-fig .fig-pre { font-size: 0.58em; }
.q-fig .fig-unit { font-size: 0.46em; margin-left: 0.08em; }
/* pas de chiffre fourni : la signature se resserre, rien ne flotte */
.q-stack.no-fig .q-fig { display: none; }

.s-final .pin {
  background: var(--bone);
  display: flex; align-items: center; justify-content: center;
}
/* ═══════════ FOOTER ═══════════ */
.footer {
  position: relative; z-index: 2;
  background: var(--bone);
  padding: 14vh var(--gutter) 80px;
  text-align: center;
  overflow: hidden;
}
.footer-kicker { margin-bottom: 12px; }
.contact-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 680px;
  margin: 0 auto 12px;
}
.footer-reassurance { margin-bottom: 40px; }

/* ─── Formulaire de contact ─── */
.contact-form-wrap {
  width: min(840px, 100%);
  margin: 0 auto;
  background: var(--white);
  padding: clamp(24px, 4.5vw, 48px);
  border-radius: calc(var(--radius) * 3);
  box-shadow: 0 16px 48px rgba(0,0,0,0.04);
  border: 1px solid rgba(var(--ink-rgb), 0.08);
  text-align: left;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ash);
  font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--bone);
  border: 1px solid rgba(var(--ink-rgb), 0.12);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(184, 98, 96, 0.12);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.form-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}
.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.12em;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(184, 98, 96, 0.28);
  transition: transform .25s var(--ease-out), box-shadow .25s, opacity .25s;
}
.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(184, 98, 96, 0.38);
  opacity: 0.95;
}
.contact-submit .submit-arrow {
  transition: transform .25s;
}
.contact-submit:hover .submit-arrow {
  transform: translateX(4px);
}
.form-success-msg {
  display: none;
  font-size: 13px;
  color: #2b7a4b;
  text-align: center;
  padding: 12px 20px;
  background: rgba(43, 122, 75, 0.08);
  border-radius: var(--radius);
  width: 100%;
}
.contact-form.sent .contact-submit {
  display: none;
}
.contact-form.sent .form-success-msg {
  display: block;
}
.form-error-msg {
  font-size: 13px;
  color: #b85050;
  text-align: center;
  padding: 12px 20px;
  background: rgba(184, 80, 80, 0.08);
  border-radius: var(--radius);
  width: 100%;
}

.mariages-badge {
  display: block;
  margin-top: 44px;
}
.mariages-badge-link {
  display: inline-block;
  transition: transform .3s var(--ease-out), opacity .3s;
  opacity: 0.88;
}
.mariages-badge-link:hover {
  transform: translateY(-3px);
  opacity: 1;
}

/* ─── Rangée icônes réseaux & contact ─── */
.social-icons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 48px;
  margin-bottom: 24px;
}
.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  border: 1px solid rgba(var(--ink-rgb), 0.08);
  transition: transform .25s var(--ease-out), background-color .25s, color .25s, box-shadow .25s;
}
.social-icon-btn:hover {
  transform: translateY(-3px) scale(1.06);
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(184, 98, 96, 0.28);
}

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  margin-top: 4vh; padding-top: 24px;
  border-top: 1px solid rgba(var(--ink-rgb), 0.12);
  text-align: left;
  flex-wrap: wrap;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.footer-bottom-links a:hover { color: var(--ink); }

/* ═══════════ BANNIÈRE & MODALE COOKIES RGPD 100% GRATUITE ═══════════ */
.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 99999;
  width: min(440px, calc(100vw - 48px));
  background: var(--white);
  color: var(--ink);
  padding: 24px 26px 22px;
  border-radius: 14px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.14), 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(var(--ink-rgb), 0.14);
  font-family: var(--sans);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .4s cubic-bezier(0.16, 1, 0.3, 1), transform .4s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 85vh;
  overflow-y: auto;
}
.cookie-banner.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-header h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 10px;
}
.cookie-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ash);
  margin-bottom: 20px;
  font-weight: 300;
}
.cookie-actions {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr;
  gap: 8px;
}
.cookie-btn {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 11px 6px;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  transition: all .2s ease;
}
.cookie-btn-custom {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(var(--ink-rgb), 0.22);
}
.cookie-btn-custom:hover {
  background: var(--bone);
  border-color: var(--accent);
  color: var(--accent);
}
.cookie-btn-reject {
  background: transparent;
  color: var(--ash);
  border: 1px solid rgba(var(--ink-rgb), 0.15);
}
.cookie-btn-reject:hover {
  background: var(--bone);
  color: var(--ink);
}
.cookie-btn-accept,
.cookie-btn-save {
  background: var(--accent);
  color: #ffffff;
  border: 1px solid var(--accent);
  box-shadow: 0 4px 14px rgba(184, 98, 96, 0.25);
}
.cookie-btn-accept:hover,
.cookie-btn-save:hover {
  background: #a35351;
  border-color: #a35351;
  box-shadow: 0 6px 18px rgba(184, 98, 96, 0.35);
}

/* Panneau de préférences */
.cookie-header-prefs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.cookie-header-prefs h3 {
  font-family: var(--serif);
  font-size: 17px;
  margin: 0;
}
.cookie-back-btn {
  background: transparent;
  border: none;
  font-size: 12px;
  font-family: var(--sans);
  color: var(--accent);
  cursor: pointer;
  padding: 4px 8px;
}
.cookie-back-btn:hover {
  text-decoration: underline;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.cookie-cat-item {
  background: var(--bone);
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(var(--ink-rgb), 0.08);
}
.cookie-cat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.cookie-cat-top strong {
  font-size: 12.5px;
  color: var(--ink);
}
.cookie-badge-req {
  font-size: 10px;
  font-family: var(--mono);
  background: rgba(var(--ink-rgb), 0.1);
  color: var(--ash);
  padding: 2px 6px;
  border-radius: 4px;
}
.cookie-cat-item p {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ash);
  margin: 0;
  font-weight: 300;
}
.cookie-switch {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--accent);
}
.cookie-actions-prefs {
  display: flex;
}
.cookie-actions-prefs .cookie-btn {
  width: 100%;
}

/* ═══════════ HEADER GLASSMORPHISM PLEINE LARGEUR (Sticky) ═══════════ */
.dock {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  transform: translateY(-100%);
  background: rgba(253, 251, 247, 0.78);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(var(--ink-rgb), 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(var(--gutter), calc((100vw - 1240px) / 2));
  height: 72px;
  z-index: 100;
  border-radius: 0;
  transition: transform .8s var(--ease-out) .15s, opacity .32s var(--ease-out), background .3s, border-color .3s;
}
body.is-ready .dock {
  transform: translateY(0);
}
body.handoff .dock {
  transform: translateY(0);
  opacity: 0;
}
.dock-wordmark {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.01em;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.dock-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  margin-right: 28px;
}
.dock-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ash);
  padding: 10px 14px;
  position: relative;
  text-decoration: none;
  transition: color .25s;
}
.dock-link:hover {
  color: var(--ink);
}
.dock-link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease-inout);
}
.dock-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.dock-cta {
  background: var(--accent);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 11px 20px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(184, 98, 96, 0.22);
  transition: all .25s ease;
  white-space: nowrap;
}
.dock-cta:hover {
  background: #a35351;
  box-shadow: 0 6px 20px rgba(184, 98, 96, 0.35);
  transform: translateY(-1px);
}


/* ═══════════ MODE STATIQUE (tactile / réduit / étroit) ═══════════ */
body.static .scene { height: auto !important; }
body.static .scene .pin { height: auto; overflow: visible; }

body.static .s-hero .pin { min-height: 92vh; padding: 16vh 0 8vh; }
body.static .fl, body.static .fl img { clip-path: none; transform: none; transition: none; }
body.static .floaters { z-index: 0; }
body.static .hero-copy { position: relative; inset: auto; min-height: 56vh; z-index: 5; padding: 0 var(--gutter); }
body.static .grow { width: 1.6em; height: 1em; margin: 0 0.18em; }
body.static .grow img,
body.static .grow video { width: 100%; height: 100%; position: static; transform: none; object-fit: cover; }
body.static .spot { position: relative; inset: auto; height: 92vh; pointer-events: auto; overflow: hidden; }
body.static .spot::before {
  content: ''; position: absolute; inset: 0;
  background: url('images/hero.jpg') center/cover;
}
body.static .spot-intro { top: 50%; transform: translateY(-50%); }
body.static .spot-intro span { opacity: 1; transform: none; }
body.static .callout { display: none; }

body.static .s-fill .pin { padding: 14vh 0; }
body.static .fill-text { width: auto; max-width: 800px; padding: 0 var(--gutter); }
body.static .fill-text .fc { color: var(--ink); }
body.static .collection { padding-bottom: 26vh; margin-top: 0; }
body.static .coll-grid { grid-template-columns: repeat(2, 1fr); }
body.static .bento-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(240px, auto); }
body.static .b-big  { grid-column: span 2; grid-row: span 1; }
body.static .b-tall { grid-column: span 1; grid-row: span 1; }
body.static .col { margin-top: 0 !important; }

body.static .band { margin-top: 0; }

body.static .s-night .pin { padding: 0; }
body.static .night-line { position: relative; inset: auto; height: 46vh; }
body.static .night-line .nw { opacity: 1; }
/* les étapes s'empilent normalement : sans ça elles restent superposées
   et invisibles (elles sont absolues + opacity 0 pour la scène scrubée) */
body.static .psteps { position: static; width: auto; padding: 20px var(--gutter) 6vh; }
body.static .pstep {
  position: static; opacity: 1 !important; transform: none !important;
  padding: 24px 0; border-top: 1px solid var(--ink-faint);
}
body.static .steps-cta {
  position: static; opacity: 1 !important; transform: none !important;
  text-align: center; padding-bottom: 8vh;
}
body.static .disc-bgs, body.static .disc-shade, body.static .disc-thumbs, body.static .disc-card { display: none; }
body.static .disc-ui { position: relative; inset: auto; opacity: 1; }
body.static .disc-label { position: static; color: var(--ash); padding: 0 var(--gutter); font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
body.static .disc-list { position: static; padding: 16px var(--gutter) 8vh; }
body.static .disc-list li {
  height: auto; padding: 20px 0;
  color: var(--ink); opacity: 1;
  border-top: 1px solid var(--ink);
  flex-direction: column; align-items: flex-start;
}
body.static .disc-desc { opacity: 1 !important; color: var(--ink); }

body.static .s-motto .pin { padding: 12vh var(--gutter); }
body.static .motto-kicker { position: static; transform: none; margin-bottom: 26px; }
body.static .motto-track { position: static; transform: none !important; flex-direction: column; align-items: flex-start; gap: 12px; white-space: normal; }
body.static .mw { opacity: 1 !important; font-size: clamp(56px, 13vw, 110px); }
body.static .mw .sc { transform: none !important; }
body.static .motto-hint { display: none; }
body.static .disc-cta { position: static; transform: none !important; opacity: 1 !important; color: var(--ink); margin: 4vh var(--gutter) 8vh; display: inline-block; }
body.static .s-quote .pin { padding: 12vh var(--gutter); }
body.static .wipe, body.static .bignum { display: none; }
body.static .q-glyph, body.static .q-text, body.static .q-name,
body.static .q-ctx, body.static .q-fig { opacity: 1; }
body.static .q-rule { transform: scaleX(1); }
body.static .q-sign-row { flex-wrap: wrap; gap: 10px; }

body.static .s-final .pin { min-height: 60vh; padding: 14vh 0; }
body.static .fs { color: var(--ink); }
body.static .footer-name .chi { transform: none; }

/* ═══════════ RESPONSIVE ÉTROIT ═══════════ */
@media (max-width: 900px) {
  :root {
    --gutter: 20px;
    --t-heading: clamp(27px, 6.6vw, 40px);
  }
  body { font-size: 17px; }

  /* ── barre de navigation pleine largeur Glassmorphism responsive ── */
  .dock {
    top: 0; left: 0; right: 0;
    width: 100%;
    height: 60px;
    padding: 0 var(--gutter);
    border-radius: 0;
    transform: translateY(-100%);
    justify-content: space-between;
    white-space: nowrap;
    transition: transform .8s var(--ease-out) .1s, opacity .32s var(--ease-out);
  }
  body.is-ready .dock { transform: translateY(0); }
  body.handoff .dock { transform: translateY(0); opacity: 0; }
  .dock-wordmark { font-size: 19px; margin-right: 0; white-space: nowrap; }
  .dock-nav { display: flex; margin-right: 0; margin-left: auto; gap: 6px; }
  .dock-nav .dock-link:first-child { display: none; }
  .dock-link { font-size: 10px; padding: 6px 8px; }
  .dock-cta { padding: 8px 14px; font-size: 10px; }
  .loader-rule { width: 96px; }

      body.is-scrolled 
  /* ── hero : le nuage reste DENSE et grand, il déborde des bords ; ce qui
     protège le titre, c'est le vide au centre, pas le nombre d'images.
     Les deux visuels de la bande centrale sont renvoyés en haut et en bas
     (leur `top` vient de --y en style inline, on surcharge `top`). */
  .hero-title { font-size: clamp(26px, 7vw, 40px); }
  .hero-kicker {
    font-size: 10px; line-height: 1.5; margin-bottom: 18px;
    white-space: normal; padding: 0 var(--gutter);
  }
  /* échelle bornée : sans plancher ni plafond, un 3:2 tombe à 70 px de
     large (un timbre) pendant qu'un 2:3 monte à 250 px. Le clamp resserre
     les extrêmes pour que les dix visuels pèsent le même poids visuel. */
  /* La largeur doit suivre celle de l'écran, pas rester en px fixes : le pas
     entre deux visuels d'une bande est de ~21 % de l'écran, donc en dessous
     de ~24 vw ils cessent de se toucher et la bande se troue (net à 768 px).
     Le plancher en vw garantit le recouvrement, le plafond évite qu'un 2:3
     ne fasse trois fois la hauteur des autres. */
  .fl { width: calc(var(--w) * 0.52); }
  /* les visuels débordent des DEUX bords. À gauche c'est gratuit (un `left`
     négatif n'allonge pas le document), à droite non : sans ce clip, le
     dernier visuel de chaque bande pousse scrollWidth au-delà de innerWidth
     et le mobile défile latéralement. On coupe au cadre, qui fait exactement
     la largeur de l'écran : le débord reste visible, le scroll disparaît. */
  .floaters { overflow: hidden; }
  /* placement explicite en DEUX BANDES : 0-30 % en haut, 70-100 % en bas.
     La bande centrale reste entièrement libre — c'est le vide qui rend le
     titre lisible, pas la suppression des visuels. Certains débordent
     volontairement des bords, comme sur la référence. */
  /* Deux bandes, centre libre pour le kicker + le titre.
     La bande HAUTE est ancrée par le BAS (`bottom`, `top:auto`) : ancrée
     par le haut, un visuel portrait descend dans la boîte du titre — la
     hauteur d'un .fl dépend du ratio de l'image, donc elle varie d'un
     site à l'autre. Ancrée par le bas, l'arête basse est garantie. */
  /* Chaque bande porte CINQ visuels, posés sur un pas régulier d'environ
     21 % : un qui déborde à gauche, trois dans le cadre, un qui déborde à
     droite. Les `left` d'une même bande ne doivent jamais laisser de trou
     de plus de ~25 % — c'est un trou au milieu d'une bande qui fait
     « images jetées au hasard », pas le chevauchement.
     L'amplitude verticale d'une bande reste dans 8 % : au-delà, les
     visuels s'égrènent en diagonale au lieu de faire bloc. */
  /* Les visuels gardent les positions --x/--y posées dans index.html : le
     hero fait exactement 100 vh, ces pourcentages retombent donc juste et
     le nuage s'éparpille tout autour du titre, comme sur desktop. La
     variété des largeurs vient de --w, qui change d'une position à
     l'autre — c'est elle qui empêche le nuage de se lire comme une grille,
     ne pas la remplacer par une largeur unique.
     Seuls trois visuels sont décalés, et VERTICALEMENT seulement : au
     début de la scène le moteur resserre le nuage vers le centre (pull de
     16 %), et sur un écran étroit ce resserrement pose 1, 6 et 7 en plein
     sur le titre. On les sort de sa bande sans toucher leur flanc, pour
     garder l'éparpillement gauche/droite. Décaler en `top` est sans risque :
     `measureFloaters()` lit la position de repos APRÈS le CSS. */
  .floaters .fl:nth-child(3) { top:  2%; }   /* x 40 % */
  .floaters .fl:nth-child(5) { top:  5%; }   /* x 85 % */
  .floaters .fl:nth-child(2) { top: 11%; }   /* x 21 % */
  .floaters .fl:nth-child(4) { top: 17%; }   /* x 63 % */
  .floaters .fl:nth-child(1) { top: 23%; }   /* x -4 % */
  .floaters .fl:nth-child(7)  { top: 59%; }  /* x 94 % */
  .floaters .fl:nth-child(10) { top: 63%; }  /* x 73 % */
  .floaters .fl:nth-child(6)  { top: 68%; }  /* x -2 % */
  .floaters .fl:nth-child(8)  { top: 73%; }  /* x 13 % */
  .floaters .fl:nth-child(9)  { top: 79%; }  /* x 44 % */
  /* le positionnement est en nowrap sur grand écran : il doit pouvoir
     revenir à la ligne ici, sinon il sort du cadre */
  .spot-intro {
    white-space: normal;
    font-size: clamp(23px, 6.2vw, 34px); line-height: 1.16;
    padding: 0 var(--gutter);
  }
  .spot-badge {
    bottom: 5vh;
    right: var(--gutter);
    font-size: 12px;
    padding: 8px 14px 8px 11px;
    gap: 6px;
  }
  .spot-badge-score { font-size: 13px; }

  /* manifeste, sélection, devise */
  .fill-text { font-size: clamp(20px, 5.4vw, 28px); }
  .coll-title { font-size: clamp(27px, 7vw, 38px); }
  .coll-sub { font-size: 17px; }
  .coll-grid { grid-template-columns: 1fr 1fr !important; }
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .card figcaption { font-size: 15px; }
  .mw { font-size: clamp(40px, 13vw, 68px); }

  /* processus */
  .pstep h3 { font-size: clamp(29px, 7.8vw, 42px); }
  .pstep p { font-size: 16px; }
  .steps-cta { font-size: clamp(21px, 5.8vw, 28px); }

  /* témoignage */
  .q-glyph { font-size: clamp(54px, 15vw, 88px); }
  .q-text { font-size: clamp(20px, 5.6vw, 30px); }
  .q-name { font-size: 17px; }
  .q-fig { font-size: clamp(26px, 7.4vw, 36px); }

  /* objections + footer */
  .final-text { max-width: none; }
  .contact-title { font-size: 24px; }
  .form-row { grid-template-columns: 1fr; gap: 14px; }
  .contact-form-wrap { padding: 20px 16px; }
  .contact-submit { width: 100%; }
  .footer-bottom { flex-direction: column; gap: 10px; }

  /* ── RYTHME VERTICAL : les paddings du mode statique sont en vh et
     mangent 70 % d'un écran mobile. On les resserre section par section. */
  /* la copie du hero tient une hauteur d'écran : c'est elle qui donne au
     nuage la place de s'éparpiller AUTOUR du titre. À 44vh il ne restait
     que ~8vh sous le titre, donc les visuels du bas s'alignaient en une
     rangée collée au texte au lieu d'entourer la zone. */
  body.static .s-hero .pin { min-height: 88vh; padding: 10vh 0 6vh; }
  body.static .hero-copy { min-height: 64vh; }
  body.static .spot { height: 74vh; }
  body.static .s-fill .pin { padding: 9vh 0; }
  body.static .collection { padding-bottom: 12vh; }
  body.static .s-motto .pin { padding: 8vh var(--gutter); }
  body.static .s-quote .pin { padding: 9vh var(--gutter); }
  body.static .s-final .pin { min-height: 0; padding: 9vh 0; }
  body.static .psteps { padding: 14px var(--gutter) 4vh; }
  body.static .steps-cta { padding-bottom: 5vh; }
  body.static .night-line { height: 34vh; }
  /* la devise doit rester monumentale, c'est son rôle */
  body.static .mw { font-size: clamp(46px, 17vw, 92px) !important; }

  /* ══ SCÈNES ANIMÉES SUR MOBILE ══
     Le mode statique ne se déclenche plus que sur « prefers-reduced-motion » :
     les scènes scrubées tournent donc aussi sur téléphone, et trois mises en
     page pensées pour un grand écran doivent y être reprises. Les règles
     `body.static` plus haut ne suffisent pas — elles ne s'appliquent plus. */

  /* Processus : le texte de l'étape et le compteur géant sont CÔTE À CÔTE sur
     desktop (texte à gauche sur 42vw, chiffre à droite). À 375 px ça donne
     deux colonnes de 150 px illisibles — on les EMPILE, chiffre au-dessus,
     texte en dessous, chacun sur toute la largeur. */
  .psteps {
    left: var(--gutter); right: var(--gutter);
    width: auto; top: 40%;
  }
  .pstep h3 { font-size: clamp(32px, 9vw, 46px); }
  .pstep p { font-size: 17px; max-width: none; }
  .bignum {
    top: 11vh; bottom: auto; transform: none;
    font-size: min(30vh, 46vw);
  }

  /* CTA du processus : il est posé en `left: 50%`, donc sa largeur utile
     n'est que la moitié droite de l'écran et « Réserver une séance → » passe
     à la ligne. On lui rend toute la largeur et on interdit la coupure. */
  .steps-cta {
    /* NE PAS toucher à `left` ni à `transform` : app.js repose en inline un
       `translate(-50%, …)` pour l'entrée du CTA, il écrase tout `transform`
       posé en CSS. L'élément DOIT donc rester en `left: 50%`. Le vrai
       problème est ailleurs : sans largeur, un absolu posé à 50 % ne
       dispose que de la moitié droite de l'écran, et le libellé passe à la
       ligne. On lui donne sa largeur naturelle, bornée à l'écran. */
    width: max-content;
    max-width: calc(100% - 2 * var(--gutter));
    font-size: clamp(17px, 5.2vw, 26px);
  }
  .steps-cta a { white-space: nowrap; }

  /* Témoignage : nom / contexte / chiffre sont une rangée flex de trois
     colonnes. À cette largeur le contexte se réduit à une colonne de mots
     coupés — on empile, en gardant l'ordre parole → signature → chiffre. */
  .q-sign-row {
    flex-direction: column; align-items: flex-start;
    gap: 10px; padding-top: 16px;
  }
  .q-ctx { flex: none; }
}

@media (max-width: 480px) {
  :root { --gutter: 18px; }
  /* 8 projets en une seule colonne font cinq écrans de haut : on reste
     sur deux colonnes, quitte à réduire les légendes. */
  .coll-grid { grid-template-columns: 1fr 1fr !important; }
  .bento-grid { grid-template-columns: 1fr; }
  .card figcaption { font-size: 13px; }

  .dock-nav { display: none; }   /* sous 480 px, wordmark + CTA seulement */

  /* À 320-480 px le titre du hero occupe presque toute la largeur : deux
     visuels du nuage viennent mordre dessus. On les écarte de sa bande. */
  .floaters .fl:nth-child(1) { top: 12%; }
  .floaters .fl:nth-child(7) { top: 66%; }
}

/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
