/* ════════════════════════════════════════════════════════════
   BLISSS · ébauche 2 de la refonte (10/11/2026)
   Pensée pour le téléphone d'abord. Technologies récentes, toutes en
   amélioration progressive (le site reste complet sans elles) :
   WebGL (la soie), animations pilotées par le défilement, View
   Transitions, Popover, @starting-style, @property, accordéon exclusif
   à hauteur animée, tiroir qu'on ferme d'un geste.
   Aucune photo. Or, scintillement, brun. Ni vert, ni bleu.
   ════════════════════════════════════════════════════════════ */

@property --reflet{ syntax: '<percentage>'; inherits: false; initial-value: -60%; }
@property --tour{ syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@property --mx{ syntax: '<number>'; inherits: true; initial-value: .5; }
@property --my{ syntax: '<number>'; inherits: true; initial-value: .5; }

:root{
  --encre:    #0a0806;
  --brun:     #120d09;
  --brun-2:   #1a130d;
  --brun-3:   #251b12;
  --cuir:     #3a2b1d;

  --or:       #c9a35e;
  --or-clair: #ecd6a2;
  --or-fonce: #8c6a36;
  --or-voile: rgba(201,163,94,.12);
  --or-trait: rgba(201,163,94,.3);
  --sur-or:   #1a1209;

  --ivoire:   #f2e9da;
  --ivoire-2: rgba(242,233,218,.74);
  --ivoire-3: rgba(242,233,218,.58);
  --trait:    rgba(242,233,218,.1);
  --alerte:   #e39a7c;

  --feuille-or: linear-gradient(100deg,
      #8c6a36 0%, #e8cd93 18%, #b48945 34%, #f7e8bf 50%,
      #a87d3e 66%, #e3c487 84%, #8c6a36 100%);

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans:  'Jost', 'Futura', 'Avenir Next', system-ui, sans-serif;
  --script: 'Tangerine', 'Cormorant Garamond', cursive; /* signature manuscrite BLISSS, sur les mots clés seulement */

  --marge: 22px;
  --large: 1180px;
  --barre-h: 64px;
  --doux: cubic-bezier(.2,.8,.2,1);
  --luxe: cubic-bezier(.7,0,.2,1);
  --depart: 1.55s;

  interpolate-size: allow-keywords;
}
.sans-rideau{ --depart: .1s; }
@media (min-width: 768px){ :root{ --marge: 44px; --barre-h: 76px; } }

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: var(--barre-h); -webkit-text-size-adjust: 100%; background: var(--encre); }
html:has(dialog[open]){ overflow: hidden; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior: auto; } }

body{
  margin: 0;
  background: var(--encre);
  color: var(--ivoire);
  font-family: var(--sans);
  font-size: 17px; font-weight: 400; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, canvas, svg{ display: block; max-width: 100%; }
a{ color: inherit; }
button{ font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
::selection{ background: var(--or); color: var(--sur-or); }
:focus-visible{ outline: 2px solid var(--or-clair); outline-offset: 3px; border-radius: 6px; }

/* ── Or en feuille ───────────────────────────────────────── */
/* Newsreader dessine plus haut que sa boîte (chiffres, capitales accentuées) :
   le dégradé déborde de .22em en haut et en bas pour couvrir tout le dessin,
   sinon le haut des lettres est coupé. Compensé : la mise en page ne bouge pas. */
.or{
  padding-block: .22em; margin-block: -.22em;
  background: var(--feuille-or); background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: reflet 9s ease-in-out infinite;
}
@keyframes reflet{ 0%,100%{ background-position: 0% 50%; } 50%{ background-position: 100% 50%; } }
.sss{ font-style: normal; letter-spacing: .02em; color: var(--or); }
.or .sss{ color: inherit; }

/* ── Grain de film ───────────────────────────────────────── */
.grain{
  position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .95  0 0 0 0 .85  0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ── Rideau d'ouverture ──────────────────────────────────── */
/* Le carton (carton.js) joue dans ce rideau. Pendant qu'il se prépare,
   un filet d'or s'étire. S'il n'est pas prêt à temps : repli, le logo
   balayé puis le rideau qui se lève. Tant que .attente est posée sur <html>,
   les animations du site ne démarrent pas : elles partent à la levée. */
.intro{ --depart: .15s; }
.attente body > :not(.rideau), .attente body > :not(.rideau) *{ animation-name: none !important; }
.rideau{
  position: fixed; inset: 0; z-index: 100; background: var(--encre);
  display: grid; place-items: center; touch-action: none; cursor: pointer;
  transition: opacity .75s var(--doux), transform .9s var(--doux);
}
.rideau::after{
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 85% at 50% 50%, transparent 55%, rgba(10,8,6,.75) 100%);
}
.rideau-3d{ position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .45s ease; }
.rideau.trois-d .rideau-3d{ opacity: 1; }
.rideau.trois-d .rideau-logo, .rideau.trois-d .rideau-fil{ opacity: 0; transition: opacity .3s; }
.rideau-logo{
  position: relative; z-index: 1;
  width: min(54vw, 300px); height: auto;
  -webkit-mask-image: linear-gradient(100deg, #000 42%, transparent 58%);
          mask-image: linear-gradient(100deg, #000 42%, transparent 58%);
  -webkit-mask-size: 320% 100%; mask-size: 320% 100%;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
}
.rideau-fil{
  position: absolute; z-index: 1; left: 50%; top: calc(50% + min(17vw, 94px));
  width: min(36vw, 190px); height: 1px; background: var(--feuille-or);
  transform: translateX(-50%) scaleX(0); animation: fil 2s var(--doux) .15s forwards;
}
.rideau.repli .rideau-logo{ animation: rideau-logo .8s var(--doux) forwards; }
.rideau.repli{ animation: rideau-leve .85s var(--luxe) .6s forwards; }
.rideau.leve{ opacity: 0; transform: scale(1.06); pointer-events: none; }
.rideau.leve-vite{ opacity: 0; pointer-events: none; transition-duration: .35s; }
@keyframes rideau-logo{ to{ -webkit-mask-position: 0% 0; mask-position: 0% 0; } }
@keyframes fil{ to{ transform: translateX(-50%) scaleX(1); } }
@keyframes rideau-leve{ to{ clip-path: inset(0 0 100% 0); visibility: hidden; } }
.sans-rideau .rideau{ display: none; }

/* ── Typographie ─────────────────────────────────────────── */
.titre-geant, .titre-l, .carte-nom, .carte-prix, .cadre-chiffre, .tiroir-titre h2, .manifeste-texte{
  font-family: var(--serif); font-weight: 420; font-optical-sizing: auto; margin: 0;
}
.titre-l{ font-size: clamp(2.2rem, 9.2vw, 4rem); line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; }
.titre-l em{ font-style: italic; font-weight: 400; }
.titre-l em.or.manuscrit, #dates-titre em.or, .titre-geant em.or{
  font-family: var(--script); font-style: normal; font-weight: 400;
  font-size: 1.42em; line-height: .92; letter-spacing: 0; text-wrap: balance;
}
.titre-geant .ligne:has(em.or){ padding-top: .22em; padding-bottom: .14em; } /* ascendantes et descendantes de l'écriture */

.numero{
  display: flex; align-items: center; gap: 12px; margin: 0 0 20px;
  font-size: 14px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--ivoire-3);
}
.numero span{ color: var(--or); font-variant-numeric: tabular-nums; }
.numero span::after{ content: ""; display: inline-block; vertical-align: middle; width: 26px; height: 1px; margin-left: 12px; background: var(--or-trait); }
.chapeau{ color: var(--ivoire-2); font-size: 18px; margin: 20px 0 0; max-width: 30em; text-wrap: pretty; }
.discret{ color: var(--ivoire-3); }
.petit{ font-size: 16px; }

/* ── Boutons ─────────────────────────────────────────────── */
.bouton-or, .bouton-ligne, .bouton-encre, .pilule-or{
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 28px; border-radius: 999px;
  font: 500 16px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  transition: transform .35s var(--doux), box-shadow .35s var(--doux), background-color .3s, border-color .3s, opacity .3s;
}
.bouton-or .sss, .bouton-ligne .sss, .bouton-encre .sss{ color: inherit; }
.bouton-or{
  background: var(--feuille-or); background-size: 220% 100%; background-position: 30% 50%;
  color: var(--sur-or); border-color: rgba(247,232,191,.5);
  box-shadow: 0 16px 40px -16px rgba(201,163,94,.7), inset 0 1px 0 rgba(255,255,255,.5), inset 0 -1px 0 rgba(0,0,0,.2);
}
.bouton-or::after{
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.65) 50%, transparent 62%);
  transform: translateX(-130%); animation: eclat 6s var(--luxe) 3s infinite;
}
@keyframes eclat{ 0%{ transform: translateX(-130%); } 20%,100%{ transform: translateX(130%); } }
.bouton-or:active, .bouton-ligne:active, .bouton-encre:active, .pilule-or:active{ transform: scale(.97); }
.bouton-or:disabled{ opacity: .32; cursor: not-allowed; box-shadow: none; }
.bouton-or:disabled::after{ display: none; }
.bouton-ligne{
  background: rgba(10,8,6,.35); border-color: var(--or-trait); color: var(--or-clair);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.bouton-ligne svg{ width: 16px; height: 16px; margin-right: 10px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.3; }
.bouton-ligne:hover{ border-color: var(--or); background: var(--or-voile); }
.bouton-encre{ background: #120d08; color: var(--or-clair); border-color: rgba(0,0,0,.4); box-shadow: 0 10px 24px -12px rgba(0,0,0,.6); }
.pilule-or{ min-height: 42px; padding: 0 20px; font-size: 14px; background: rgba(10,8,6,.3); border-color: var(--or-trait); color: var(--or-clair); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

.rond{
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--trait); background: rgba(255,255,255,.03);
  display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none;
}
.rond svg{ width: 18px; height: 18px; fill: none; stroke: var(--ivoire); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.rond[hidden]{ visibility: hidden; display: flex; }

.point{ width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--or-clair); animation: pouls 2.4s ease-out infinite; }
@keyframes pouls{ 0%{ box-shadow: 0 0 0 0 rgba(236,214,162,.6); } 80%,100%{ box-shadow: 0 0 0 9px rgba(236,214,162,0); } }

/* ── Barre du haut ───────────────────────────────────────── */
.barre{
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  height: calc(var(--barre-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--marge) 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-bottom: 1px solid transparent;
  transition: background-color .5s, border-color .5s, transform .5s var(--doux);
  animation: apparait 1s var(--doux) both; animation-delay: var(--depart);
}
.barre.posee{
  background: rgba(10,8,6,.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4);
  border-bottom-color: var(--trait);
}
.barre-logo{ display: block; width: 88px; flex: none; }
.barre-logo img{ width: 100%; height: auto; }
.barre-liens{ display: none; gap: 34px; }
.barre-liens a{ text-decoration: none; font-size: 15px; letter-spacing: .18em; text-transform: uppercase; color: var(--ivoire-2); padding: 10px 0; transition: color .3s; }
.barre-liens a:hover{ color: var(--or-clair); }
.barre-droite{ display: flex; align-items: center; gap: 10px; }
.barre-cta{ display: none; }
.burger{
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--trait); background: rgba(10,8,6,.3);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
}
.burger span{ width: 16px; height: 1px; background: var(--ivoire); }
.burger span:last-child{ width: 10px; margin-left: 6px; }
@media (min-width: 960px){
  .barre-logo{ width: 108px; }
  .barre-liens{ display: flex; }
  .barre-cta{ display: inline-flex; }
  .burger{ display: none; }
}

/* ── Menu plein écran (Popover) ──────────────────────────── */
.menu{
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0;
  padding: env(safe-area-inset-top, 0px) var(--marge) calc(24px + env(safe-area-inset-bottom, 0px));
  border: 0; color: var(--ivoire);
  background:
    radial-gradient(120% 55% at 90% 0%, rgba(201,163,94,.16), rgba(201,163,94,0) 60%),
    radial-gradient(80% 50% at 0% 100%, rgba(140,106,54,.14), rgba(140,106,54,0) 60%),
    var(--encre);
  opacity: 0; transform: translateY(-3%);
  transition: opacity .5s var(--doux), transform .5s var(--doux), overlay .5s allow-discrete, display .5s allow-discrete;
}
.menu:popover-open{ display: flex; flex-direction: column; opacity: 1; transform: none; }
@starting-style{ .menu:popover-open{ opacity: 0; transform: translateY(-3%); } }
.menu::backdrop{ background: transparent; }
/* Navigateurs sans Popover API (Safari < 17, Chrome < 114) : sans ce repli, le menu
   invisible restait posé sur toute la page et bloquait les taps (PostHog, 17/11/2026 :
   10 visiteurs sur 510, aucune réservation). v2.js ouvre et ferme alors par la classe .ouvert. */
@supports not selector(:popover-open){
  .menu{ display: none; z-index: 60; }
  .menu.ouvert{ display: flex; flex-direction: column; opacity: 1; transform: none; }
}
.menu-tete{ display: flex; align-items: center; justify-content: space-between; height: var(--barre-h); }
.menu-tete img{ width: 88px; height: auto; }
.menu-liens{ flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.menu-liens a{
  display: flex; align-items: baseline; gap: 16px; padding: 8px 0; text-decoration: none;
  font-family: var(--serif); font-size: clamp(34px, 10.5vw, 64px); line-height: 1.1; letter-spacing: -.02em;
}
.menu-liens a small{ font-family: var(--sans); font-size: 14px; letter-spacing: .2em; color: var(--or); }
.menu:popover-open .menu-liens a{ animation: apparait .7s var(--doux) both; animation-delay: calc(.12s + var(--i) * .055s); }
.menu-pied{ display: grid; gap: 14px; text-align: center; color: var(--ivoire-3); font-size: 16px; }
.menu-pied p{ margin: 0; }

/* ── Ouverture ───────────────────────────────────────────── */
.ouverture{
  position: relative; height: 100svh; min-height: 600px; overflow: hidden; isolation: isolate;
  display: flex; align-items: flex-end;
  padding: calc(var(--barre-h) + env(safe-area-inset-top, 0px)) var(--marge) calc(34px + env(safe-area-inset-bottom, 0px));
  view-timeline: --ouverture block;
}
.soie, .soie-repli{ position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; }
.soie{ opacity: 0; transition: opacity 1.2s ease; }
.soie.prete{ opacity: 1; }
.soie-repli{ display: none; background: url(/bg-poster.jpg) center / cover no-repeat; }
.sans-webgl .soie{ display: none; }
.sans-webgl .soie-repli{ display: block; }
.ouverture-voile{
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,8,6,.6) 0%, rgba(10,8,6,0) 20%, rgba(10,8,6,0) 40%, rgba(10,8,6,.72) 72%, var(--encre) 100%);
}
.ouverture-contenu{ width: 100%; max-width: var(--large); margin: 0 auto; }

.lieu{
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font-size: 13px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--or-clair);
  animation: apparait 1s var(--doux) both; animation-delay: calc(var(--depart) + .1s);
}
.lieu .fil{ width: 28px; height: 1px; background: var(--or); }

.titre-geant{ font-size: clamp(3.1rem, 14.6vw, 8.6rem); line-height: .96; letter-spacing: -.03em; }
.titre-geant .ligne{ display: block; overflow: hidden; padding: .16em .04em .1em 0; margin: -.16em 0 -.06em; }
.titre-geant .l{ display: inline-block; transform: translateY(110%); animation: monte-ligne 1.25s var(--doux) forwards; animation-delay: calc(var(--depart) + .15s + var(--i, 0) * .12s); }
.titre-geant em.l{ font-style: italic; font-weight: 400; animation: monte-ligne 1.25s var(--doux) forwards, reflet 9s ease-in-out infinite; animation-delay: calc(var(--depart) + .27s), 0s; }
@keyframes monte-ligne{ to{ transform: none; } }
.apparait{ animation: apparait 1s var(--doux) both; animation-delay: calc(var(--depart) + var(--d, 0s)); }
@keyframes apparait{ from{ opacity: 0; transform: translateY(18px); } to{ opacity: 1; transform: none; } }

.ouverture-actions{ display: flex; flex-direction: column; align-items: stretch; gap: 14px; margin-top: 30px; }
.pastille{
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 0; background: none;
  font-size: 16px; color: var(--ivoire-2); cursor: pointer; text-align: left;
}
.pastille[hidden]{ display: none; }
.pastille strong{ color: var(--or-clair); font-weight: 500; }
@media (min-width: 640px){
  .ouverture-actions{ flex-direction: row; align-items: center; gap: 24px; }
}
@media (min-width: 960px){
  .ouverture{ align-items: center; }
  .chapeau{ font-size: 20px; }
}
.defiler{ position: absolute; left: 50%; bottom: 14px; width: 44px; height: 44px; transform: translateX(-50%); display: none; align-items: center; justify-content: center; }
.defiler span{ width: 1px; height: 34px; background: linear-gradient(var(--or), transparent); animation: goutte 2.6s ease-in-out infinite; }
@keyframes goutte{ 0%{ transform: scaleY(0); transform-origin: top; } 45%{ transform: scaleY(1); transform-origin: top; } 55%{ transform: scaleY(1); transform-origin: bottom; } 100%{ transform: scaleY(0); transform-origin: bottom; } }
@media (min-width: 960px){ .defiler{ display: flex; } }

/* Le contenu de l'ouverture s'éloigne quand on défile */
@supports (animation-timeline: view()){
  .ouverture-contenu{ animation: s-eloigne linear both; animation-timeline: --ouverture; animation-range: exit 0% exit 65%; }
  @keyframes s-eloigne{ to{ opacity: 0; transform: translateY(-10vh) scale(.96); } }
}

/* ── 01 · La séquence des chiffres ───────────────────────── */
/* Trois chiffres depuis le 11/11 (« 0 photo » retiré à la demande d'Anthony :
   les clients auraient cru les photos interdites) */
.compte{ position: relative; height: 340svh; view-timeline: --compte block; }
.compte-scene{
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: grid; place-items: center;
  padding: calc(var(--barre-h) + 20px) var(--marge) 40px;
  background: radial-gradient(70% 45% at 50% 52%, rgba(201,163,94,.09), rgba(201,163,94,0) 70%);
}
.compte .numero{ position: absolute; top: calc(var(--barre-h) + env(safe-area-inset-top, 0px) + 18px); left: var(--marge); margin: 0; }
.compte-cadres{ list-style: none; margin: 0; padding: 0; display: grid; width: 100%; max-width: 900px; }
.cadre{ grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cadre-chiffre{
  font-style: italic; font-weight: 400; font-size: min(64vw, 44svh, 440px); line-height: .86; letter-spacing: -.04em;
  padding: .22em .08em; margin-block: -.22em; /* voir .or : le haut du chiffre était coupé */
  background: var(--feuille-or); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: reflet 9s ease-in-out infinite;
}
.cadre-texte{ margin-top: 10px; max-width: 15em; font-size: clamp(17px, 4.6vw, 22px); color: var(--ivoire-2); text-wrap: balance; }
.cadre-texte strong{ display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.45em; color: var(--ivoire); line-height: 1.2; }
.compte-jauge{ position: absolute; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: flex; gap: 6px; }
.compte-jauge span{ width: 28px; height: 2px; background: var(--trait); position: relative; overflow: hidden; border-radius: 2px; }
.compte-jauge span::after{ content: ""; position: absolute; inset: 0; background: var(--or); transform: scaleX(0); transform-origin: left; }

@supports (animation-timeline: view()){
  .cadre{ animation: cadre linear both; animation-timeline: --compte; }
  .cadre:nth-child(1){ animation-name: cadre-premier; animation-range: contain 0% contain 34%; }
  .cadre:nth-child(2){ animation-range: contain 30% contain 70%; }
  .cadre:nth-child(3){ animation-name: cadre-dernier; animation-range: contain 66% contain 100%; }
  .compte-jauge span::after{ animation: jauge linear both; animation-timeline: --compte; }
  .compte-jauge span:nth-child(1)::after{ animation-range: contain 0% contain 33.3%; }
  .compte-jauge span:nth-child(2)::after{ animation-range: contain 33.3% contain 66.7%; }
  .compte-jauge span:nth-child(3)::after{ animation-range: contain 66.7% contain 100%; }
}
@keyframes cadre{
  0%{ opacity: 0; transform: translateY(16vh) scale(.82); }
  32%, 68%{ opacity: 1; transform: none; }
  100%{ opacity: 0; transform: translateY(-16vh) scale(1.12); }
}
@keyframes cadre-premier{ 0%, 68%{ opacity: 1; transform: none; } 100%{ opacity: 0; transform: translateY(-16vh) scale(1.12); } }
@keyframes cadre-dernier{ 0%{ opacity: 0; transform: translateY(16vh) scale(.82); } 32%, 100%{ opacity: 1; transform: none; } }
@keyframes jauge{ to{ transform: scaleX(1); } }

/* Sans animations au défilement : les trois chiffres l'un sous l'autre */
@supports not (animation-timeline: view()){
  .compte{ height: auto; }
  .compte-scene{ position: relative; height: auto; padding: 96px var(--marge); }
  .compte .numero{ position: static; margin-bottom: 40px; justify-self: start; }
  .compte-cadres{ gap: 72px; }
  .cadre{ grid-area: auto; }
  .cadre-chiffre{ font-size: min(48vw, 300px); }
  .compte-jauge{ display: none; }
}

/* ── Le manifeste ────────────────────────────────────────── */
/* Avec JavaScript (et sans « moins d'animations »), v2.js pose .scene : la
   section devient une scène tenue à l'écran pendant le défilement. « Ni carte,
   ni choix. » arrive du flou, en grand, puis chaque mot de la suite se lève à
   son tour et un filet d'or se trace. Sans .scene, tout est lisible d'emblée. */
.manifeste{ max-width: 980px; margin: 0 auto; padding: 14svh var(--marge) 18svh; }
.manifeste-texte{ font-size: clamp(30px, 8.4vw, 62px); line-height: 1.14; letter-spacing: -.02em; text-wrap: pretty; }
.manifeste-texte em{ font-style: italic; font-weight: 400; }
.manifeste-texte .mot{ display: inline-block; }
.manifeste-accroche{ display: block; margin-bottom: .35em; font-size: 1.5em; line-height: 1; text-wrap: balance; }
.manifeste-filet{ display: block; width: 72px; height: 1px; margin-top: 36px; background: var(--feuille-or); transform-origin: left; }
.manifeste.scene{ height: 230svh; padding: 0 var(--marge); }
.manifeste.scene .manifeste-cadre{
  position: sticky; top: 0; height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--barre-h) * .6);
}
.manifeste.scene .mot{ opacity: .1; will-change: transform, opacity, filter; transform-origin: 50% 85%; backface-visibility: hidden; }
.manifeste.scene .mot.or{ opacity: 0; transform-origin: 50% 55%; }
.manifeste.scene .manifeste-filet{ transform: scaleX(0); }

/* ── Blocs ───────────────────────────────────────────────── */
.bloc{ max-width: var(--large); margin: 0 auto; padding: 96px var(--marge); }
.bloc-tete{ margin-bottom: 40px; max-width: 760px; }
@media (min-width: 960px){ .bloc{ padding: 140px var(--marge); } .bloc-tete{ margin-bottom: 64px; } }

/* Apparition douce des blocs au défilement */
@supports (animation-timeline: view()){
  .bloc-tete, .note, .rebours, .savoir, .trouver, .offrir-texte{
    animation: apparait linear both; animation-timeline: view(); animation-range: entry 0% entry 70%;
  }
}

/* ── 02 · Les chemins : cartes métal ─────────────────────── */
.cartes{
  display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding: 0 var(--marge);
  margin: 0 calc(-1 * var(--marge)); padding: 14px var(--marge) 30px;
  scrollbar-width: none;
}
.cartes::-webkit-scrollbar{ display: none; }
.carte{
  flex: 0 0 min(84%, 400px); scroll-snap-align: start;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 540px; padding: 30px 24px 24px; border-radius: 24px;
  transform: perspective(1100px) rotateX(calc((var(--my) - .5) * -9deg)) rotateY(calc((var(--mx) - .5) * 12deg));
  transition: transform .6s var(--doux);
}
.carte.suit{ transition: transform .12s linear; }
.carte-encre{
  background:
    radial-gradient(110% 70% at 0% 0%, rgba(201,163,94,.16), rgba(201,163,94,0) 55%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 3px),
    linear-gradient(165deg, #20170f 0%, #0d0a07 70%);
  border: 1px solid rgba(201,163,94,.26);
  box-shadow: 0 34px 70px -34px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.07);
}
.carte-or{
  color: var(--sur-or);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.09) 0 1px, rgba(0,0,0,.035) 1px 2px, transparent 2px 4px),
    var(--feuille-or);
  background-size: auto, 230% 100%; background-position: 0 0, 30% 50%;
  border: 1px solid rgba(255,244,214,.55);
  box-shadow: 0 34px 80px -34px rgba(201,163,94,.65), inset 0 1px 0 rgba(255,255,255,.6), inset 0 -1px 0 rgba(0,0,0,.2);
}
.carte-reflet{
  position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: radial-gradient(55% 40% at calc(var(--mx) * 100%) calc(var(--my) * 100%), rgba(255,243,214,.22), rgba(255,243,214,0) 70%);
}
.carte-reflet::after{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent calc(var(--reflet) - 14%), rgba(255,246,222,.3) var(--reflet), transparent calc(var(--reflet) + 14%));
  animation: balaye 7s var(--luxe) infinite;
}
.carte-or .carte-reflet::after{ background: linear-gradient(115deg, transparent calc(var(--reflet) - 12%), rgba(255,255,255,.55) var(--reflet), transparent calc(var(--reflet) + 12%)); animation-delay: 1.2s; }
@keyframes balaye{ 0%{ --reflet: -60%; } 30%, 100%{ --reflet: 160%; } }

.carte-etiquette{ margin: 0; font-size: 13px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--or); }
.carte-or .carte-etiquette{ color: rgba(26,18,9,.72); }
.carte-nom{ margin-top: 30px; font-size: clamp(46px, 13vw, 58px); font-style: italic; font-weight: 400; line-height: 1; letter-spacing: -.02em; }
.carte-or .carte-nom .sss{ color: inherit; }
.carte-prix{ margin-top: 16px; font-size: 68px; line-height: 1; letter-spacing: -.03em; }
.carte-encre .carte-prix{ background: var(--feuille-or); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.carte-prix small{ font-family: var(--sans); font-size: 15px; letter-spacing: .12em; margin-left: 8px; opacity: .7; vertical-align: .9em; }
.carte-encre .carte-prix small{ color: var(--ivoire-2); -webkit-text-fill-color: var(--ivoire-2); }
.carte-texte{ margin: 18px 0 0; font-size: 17px; line-height: 1.5; opacity: .86; }
.carte-liste{ list-style: none; margin: 18px 0 26px; padding: 0; flex: 1; }
.carte-liste li{ position: relative; padding: 11px 0 11px 20px; border-top: 1px solid rgba(242,233,218,.12); font-size: 17px; }
.carte-or .carte-liste li{ border-top-color: rgba(26,18,9,.16); }
.carte-liste li::before{ content: ""; position: absolute; left: 1px; top: 20px; width: 6px; height: 6px; transform: rotate(45deg); border: 1px solid currentColor; opacity: .7; }
.carte-encre .carte-liste li::before{ border-color: var(--or); opacity: 1; }
.carte-liste small{ display: block; font-size: 15px; opacity: .66; }
.carte .bouton-ligne, .carte .bouton-encre{ width: 100%; position: relative; z-index: 4; }

.points{ display: flex; justify-content: center; gap: 8px; margin-top: -4px; }
.points span{ width: 6px; height: 6px; border-radius: 3px; background: var(--ivoire-3); transition: width .45s var(--doux), background-color .45s; }
.points span.actif{ width: 24px; background: var(--or); }
@media (min-width: 860px){
  .cartes{ overflow: visible; margin: 0; padding: 0; gap: 24px; }
  .carte{ flex: 1 1 0; min-height: 600px; padding: 40px 36px 34px; }
  .points{ display: none; }
}

.note{ display: flex; gap: 12px; align-items: flex-start; margin: 30px 0 0; color: var(--ivoire-2); font-size: 17px; max-width: 640px; }
.note svg{ width: 18px; height: 18px; flex: none; margin-top: 3px; fill: none; stroke: var(--or); stroke-width: 1.2; }

/* ── 03 · Les dates : billets ────────────────────────────── */
.billets{ display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; max-width: 720px; } /* minmax(0) : la colonne ne s'élargit pas au-delà de l'écran */
.billets-mois{ margin: 18px 0 6px; font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--ivoire); text-transform: capitalize; }
.billets-mois:first-child{ margin-top: 0; }
/* Afficher plus de tables (27/11) */
.billets [hidden]{ display: none; }
.billets-plus{ justify-self: start; margin-top: 6px; max-width: 100%; white-space: normal; text-align: center; line-height: 1.35; padding-block: 12px; } /* passe sur deux lignes sur petit écran */
.billets-plus span{ margin-left: 6px; color: var(--or); }
.billet{
  --entaille: 92px;
  position: relative; width: 100%; cursor: pointer; text-align: left;
  display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 30px;
  min-height: 88px; padding: 13px 18px 13px 14px; border-radius: 18px;
  border: 1px solid var(--trait);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  -webkit-mask: radial-gradient(circle 9px at var(--entaille) 0, transparent 97%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle 9px at var(--entaille) 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle 9px at var(--entaille) 0, transparent 97%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle 9px at var(--entaille) 100%, transparent 97%, #000) bottom / 100% 51% no-repeat;
  transition: transform .3s var(--doux), border-color .3s, background-color .3s;
}
.billet::before{ content: ""; position: absolute; left: var(--entaille); top: 14px; bottom: 14px; border-left: 1px dashed var(--or-trait); }
.billet:active{ transform: scale(.985); }
.billet-date{
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 62px; border-radius: 12px; background: rgba(255,255,255,.04);
}
.billet-date small{ font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--or); line-height: 1.4; }
.billet-date b{ font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1; }
.billet-info strong{ display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 20px; line-height: 1.25; }
.billet-info span{ font-size: 16px; color: var(--ivoire-2); }
.billet-etat{ font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--or-clair); text-align: right; line-height: 1.4; }
.billet-etat.rare{ color: var(--alerte); }
.billet.dispo{ border-color: var(--or-trait); }
.billet.dispo .billet-date{ background: var(--feuille-or); background-size: 220% 100%; color: var(--sur-or); box-shadow: 0 8px 20px -10px rgba(201,163,94,.8); }
.billet.dispo .billet-date small{ color: rgba(26,18,9,.7); }
.billet.complet{ opacity: .58; }
.billet.complet .billet-date b{ text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: var(--or); }
.billet.complet .billet-etat{ color: var(--ivoire-3); }
@media (hover: hover){ .billet:hover{ border-color: var(--or); background-color: var(--or-voile); } }
/* Très petits écrans (moins de 360 px) : l'état passe sous la date et l'heure,
   sinon les trois colonnes ne tiennent pas dans le billet. */
@media (max-width: 359px){
  .billet{ grid-template-columns: 62px minmax(0, 1fr); row-gap: 4px; }
  .billet-date{ grid-row: 1 / span 2; }
  .billet-etat{ grid-column: 2; text-align: left; }
  .billet-etat br{ display: none; }
}

.lien-doux{
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; max-width: 720px;
  min-height: 60px; margin-top: 14px; padding: 12px 18px; border-radius: 18px;
  border: 1px dashed var(--or-trait); background: none; text-align: left; cursor: pointer; font-size: 17px; color: var(--ivoire-2);
}
.lien-doux strong{ display: block; color: var(--ivoire); font-weight: 500; }
.lien-doux::after{ content: "→"; color: var(--or); font-size: 18px; }

.rebours{
  max-width: 720px; margin-top: 48px; padding: 30px 20px 26px; border-radius: 26px; text-align: center;
  position: relative; isolation: isolate; overflow: hidden;
  border: 1px solid var(--or-trait);
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(201,163,94,.16), rgba(201,163,94,0) 70%),
    var(--brun);
}
.rebours-titre{ margin: 0; font-size: 14px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--or-clair); }
.rebours-chiffres{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 20px 0 12px; }
.rebours-chiffres span{ display: flex; flex-direction: column; align-items: center; gap: 6px; }
.rebours-chiffres span + span{ border-left: 1px solid var(--trait); }
.rebours-chiffres b{ display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 11vw, 60px); line-height: 1; font-variant-numeric: tabular-nums lining-nums; }
.rebours-chiffres b.tic{ animation: tic .5s var(--doux); }
@keyframes tic{ from{ opacity: 0; transform: translateY(-35%); filter: blur(3px); } }
.rebours-chiffres small{ font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--ivoire-3); }
.rebours-quand{ margin: 0 0 20px; font-size: 17px; color: var(--ivoire-2); }
.rebours .bouton-ligne{ width: 100%; max-width: 360px; }

/* Alerte d'ouverture par e-mail (20/11) : sous le compte à rebours et dans la demande */
.alerte-ou{ margin: 26px 0 14px; font-size: 15px; letter-spacing: .02em; color: var(--ivoire-3); }
.alerte{ display: grid; gap: 12px; max-width: 480px; margin: 0 auto; text-align: left; position: relative; }
.alerte-ligne{ display: grid; gap: 10px; }
@media (min-width: 520px){ .alerte-ligne{ grid-template-columns: minmax(0, 1fr) auto; } .alerte .bouton-or{ min-height: 62px; } }
.alerte .case{ font-size: 15px; padding: 2px 0; }
.alerte .pot{ position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.alerte-note{ margin: 0; font-size: 14px; color: var(--ivoire-3); }
.alerte-note.erreur{ color: var(--alerte); }
.alerte-ok{ margin: 0; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--or-trait); background: rgba(201,163,94,.06); font-size: 16px; line-height: 1.55; color: var(--ivoire-2); text-align: center; }
.alerte-ok strong{ color: var(--or-clair); font-weight: 500; }
.bandeau-info{ position: fixed; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 108px); transform: translateX(-50%); z-index: 90; width: min(480px, calc(100% - 32px)); display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--or-trait); background: #17130f; box-shadow: 0 12px 40px rgba(0,0,0,.45); color: var(--ivoire-2); font-size: 15px; line-height: 1.5; }
.bandeau-info p{ margin: 0; flex: 1; }
.bandeau-info strong{ color: var(--or-clair); font-weight: 500; }
.bandeau-info button{ background: none; border: 0; color: var(--ivoire-3); font-size: 22px; line-height: 1; cursor: pointer; padding: 0 2px; }
.alerte-apercu{ display: block; margin-top: 8px; font-size: 13px; color: var(--ivoire-3); }
.alerte-ok .lien-texte{ display: block; margin: 8px auto 0; font-size: 14px; background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
#alerte-demande{ margin-top: 14px; max-width: none; }
.liens-info{ display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 8px; }
.svc-info.alerte-ouverte [data-alerte-demande]{ display: none; }

/* ── 04 · Bon à savoir : accordéon exclusif ──────────────── */
.savoir{ max-width: 760px; border-top: 1px solid var(--trait); }
.savoir details{ border-bottom: 1px solid var(--trait); }
.savoir summary{
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  min-height: 68px; padding: 16px 0; cursor: pointer;
  font-family: var(--serif); font-size: 21px; line-height: 1.25;
}
.savoir summary::-webkit-details-marker{ display: none; }
.savoir summary::after{
  content: ""; width: 14px; height: 14px; flex: none;
  background: linear-gradient(var(--or), var(--or)) center / 14px 1px no-repeat, linear-gradient(var(--or), var(--or)) center / 1px 14px no-repeat;
  transition: transform .45s var(--doux);
}
.savoir details[open] summary::after{ transform: rotate(135deg); }
.savoir details::details-content{ block-size: 0; overflow: hidden; transition: block-size .55s var(--doux), content-visibility .55s allow-discrete; }
.savoir details[open]::details-content{ block-size: auto; }
.savoir details p{ margin: 0 0 22px; color: var(--ivoire-2); max-width: 34em; }
.savoir a{ color: var(--or-clair); text-underline-offset: 3px; }
.liens-legaux{ display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 28px 0 0; }
.liens-legaux a{ font-size: 17px; color: var(--ivoire-2); text-underline-offset: 4px; text-decoration-color: var(--or-trait); min-height: 44px; display: inline-flex; align-items: center; }

/* ── 05 · Offrir : la clé ────────────────────────────────── */
.offrir{ display: grid; gap: 36px; align-items: center; }
.offrir-scene{ perspective: 1200px; display: grid; place-items: center; padding: 18px 0 8px; }
.cle{
  position: relative; isolation: isolate; overflow: hidden;
  width: min(80vw, 380px); aspect-ratio: 1.586; border-radius: 18px;
  padding: 18px 22px; display: flex; flex-direction: column; justify-content: space-between;
  color: var(--sur-or);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, rgba(0,0,0,.03) 1px 2px, transparent 2px 4px),
    var(--feuille-or);
  background-size: auto, 230% 100%; background-position: 0 0, 35% 50%;
  box-shadow: 0 50px 90px -40px rgba(201,163,94,.6), 0 18px 40px -20px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.65);
  transform: rotateX(calc((var(--my) - .5) * -18deg)) rotateY(calc((var(--mx) - .5) * 26deg));
  animation: flotte 8s ease-in-out infinite;
  transition: transform .6s var(--doux);
}
@keyframes flotte{ 0%,100%{ translate: 0 0; rotate: y -7deg; } 50%{ translate: 0 -12px; rotate: y 7deg; } }
.cle img{ width: 44%; height: auto; filter: brightness(0) opacity(.82); }
.cle-mots{ margin: 0; font-family: var(--serif); font-size: 17px; line-height: 1.25; }
.cle-mots em{ font-size: 1.35em; }
.cle-num{ position: absolute; right: 22px; bottom: 18px; margin: 0; font-size: 13px; letter-spacing: .26em; opacity: .7; }
.offrir-texte .chapeau{ margin-bottom: 28px; }
.offrir-actions{ display: flex; flex-direction: column; gap: 12px; }
/* Deux colonnes à partir de 1000 px : en dessous, le texte et la clé (380 px)
   ne tiennent pas côte à côte avec les marges et la page débordait à droite. */
@media (min-width: 1000px){
  .offrir{ grid-template-columns: 1fr 1.1fr; gap: 80px; }
  .offrir-scene{ order: 2; }
  .offrir-actions{ flex-direction: row; }
}

/* ── 06 · Nous trouver ───────────────────────────────────── */
.trouver{ display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--trait); }
.trouver-ligne{
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 66px; padding: 14px 0; border-bottom: 1px solid var(--trait); text-decoration: none;
}
.trouver-ligne > span:last-child{ text-align: right; color: var(--ivoire-2); font-size: 17px; transition: color .3s; }
.trouver-ligne > span:last-child::after{ content: "→"; margin-left: 12px; color: var(--or); }
.trouver-k{ font-size: 13px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--or); }
@media (hover: hover){ .trouver-ligne:hover > span:last-child{ color: var(--or-clair); } }
@media (min-width: 820px){ .trouver{ grid-template-columns: 1fr 1fr; column-gap: 44px; } }

/* ── Pied de page ────────────────────────────────────────── */
.pied{ text-align: center; padding: 80px var(--marge) calc(130px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--trait); color: var(--ivoire-3); font-size: 16px; }
.pied-logo{ width: 150px; height: auto; margin: 0 auto 18px; }
.pied p{ margin: 6px 0; }
.pied-liens{ display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 22px; }
.pied-liens a{ color: var(--ivoire-2); text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
.pied-liens > span{ display: inline-block; line-height: 44px; }
.signature{ display: inline-flex; gap: 8px; margin-top: 18px; text-decoration: none; font-size: 14px; letter-spacing: .26em; text-transform: uppercase; color: var(--ivoire-3); }
.signature span{ color: var(--or); }
.ebauche-mention{ margin-top: 22px !important; font-size: 15px; color: var(--ivoire-3); }
@media (min-width: 960px){ .pied{ padding-bottom: 80px; } }

/* ── Dock du téléphone ───────────────────────────────────── */
.dock{
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  display: flex; align-items: center; gap: 12px; padding: 7px 7px 7px 18px; border-radius: 999px;
  background: rgba(20,14,9,.7);
  -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: 0 24px 50px -18px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.06);
  transform: translateY(170%); transition: transform .7s var(--doux);
}
.dock::before{
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--tour), rgba(201,163,94,.25) 0deg, rgba(201,163,94,.25) 250deg, rgba(247,232,191,.95) 300deg, rgba(201,163,94,.25) 350deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: tour 7s linear infinite;
}
@keyframes tour{ to{ --tour: 360deg; } }
.dock.visible{ transform: none; }
.dock-info{ flex: 1; min-width: 0; margin: 0; display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.3; color: var(--ivoire-2); }
.dock-info strong{ color: var(--or-clair); font-weight: 500; }
.dock .bouton-or{ min-height: 48px; padding: 0 22px; font-size: 15px; }
@media (min-width: 960px){ .dock{ display: none; } }

/* ════════ TIROIR DE RÉSERVATION ════════ */
.tiroir{
  padding: 0; margin: 0; border: 0; inset: 0;
  width: 100%; max-width: 100%; height: 100%; max-height: 100%;
  background: transparent; color: var(--ivoire); overflow: hidden;
}
.tiroir[open]{ display: flex; align-items: flex-end; justify-content: center; }
.tiroir::backdrop{
  background: rgba(5,4,3,.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 1; transition: opacity .45s;
}
@starting-style{ .tiroir[open]::backdrop{ opacity: 0; } }
.tiroir.ferme::backdrop{ opacity: 0; }
.tiroir-boite{
  width: 100%; height: calc(100svh - 26px - env(safe-area-inset-top, 0px));
  display: flex; flex-direction: column; overflow: hidden; overflow: clip; /* clip : jamais de défilement du tiroir lui-même */
  border-radius: 28px 28px 0 0; border-top: 1px solid var(--or-trait);
  background:
    radial-gradient(100% 26% at 50% 0%, rgba(201,163,94,.13), rgba(201,163,94,0) 70%),
    var(--brun);
  box-shadow: 0 -30px 80px -20px rgba(0,0,0,.85);
  transform: translateY(0); transition: transform .55s var(--doux);
}
@starting-style{ .tiroir[open] .tiroir-boite{ transform: translateY(100%); } }
.tiroir.ferme .tiroir-boite{ transform: translateY(105%); transition-duration: .42s; }
@media (min-width: 720px){
  .tiroir[open]{ align-items: center; }
  .tiroir-boite{ width: min(640px, calc(100% - 48px)); height: min(840px, calc(100% - 48px)); border-radius: 26px; border: 1px solid var(--or-trait); }
  @starting-style{ .tiroir[open] .tiroir-boite{ transform: translateY(30px) scale(.98); } }
  .tiroir.ferme .tiroir-boite{ transform: translateY(30px) scale(.98); opacity: 0; }
}

.tiroir-tete{
  position: relative; flex: none; touch-action: none;
  display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px;
  padding: 22px 14px 14px; border-bottom: 1px solid var(--trait); cursor: grab;
}
.poignee{ position: absolute; top: 8px; left: 50%; width: 38px; height: 5px; margin-left: -19px; border-radius: 3px; background: rgba(242,233,218,.22); }
.tiroir-titre{ text-align: center; }
.tiroir-etape{ margin: 0; font-size: 13px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--or); }
.tiroir-titre h2{ font-size: 26px; font-style: italic; font-weight: 400; line-height: 1.2; view-transition-name: tiroir-titre; }
.progression{ position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.progression span{ display: block; height: 100%; width: 33%; background: var(--feuille-or); transition: width .6s var(--doux); }

.tiroir-corps{ flex: 1; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 24px 20px 32px; view-transition-name: tiroir-etape; }
@media (min-width: 720px){ .tiroir-corps{ padding: 30px 36px 36px; } }
.tiroir-pied{
  flex: none; display: flex; align-items: center; gap: 14px;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--trait); background: rgba(10,8,6,.5);
}
.tiroir-pied[hidden]{ display: none; }
.tiroir-pied .bouton-or{ flex: none; margin-left: auto; min-height: 52px; padding: 0 24px; }
.tiroir-resume{ margin: 0; min-width: 0; font-size: 16px; line-height: 1.35; color: var(--ivoire-2); }
.tiroir-resume strong{ display: block; color: var(--ivoire); font-weight: 500; font-size: 17px; }
@media (min-width: 720px){ .tiroir-pied{ padding: 16px 36px; } }

/* Changement d'étape : View Transitions */
::view-transition-old(tiroir-etape){ animation: .3s var(--doux) both sort-gauche; }
::view-transition-new(tiroir-etape){ animation: .45s var(--doux) both entre-droite; }
.vt-retour::view-transition-old(tiroir-etape){ animation-name: sort-droite; }
.vt-retour::view-transition-new(tiroir-etape){ animation-name: entre-gauche; }
@keyframes sort-gauche{ to{ opacity: 0; transform: translateX(-10%); } }
@keyframes entre-droite{ from{ opacity: 0; transform: translateX(12%); } }
@keyframes sort-droite{ to{ opacity: 0; transform: translateX(10%); } }
@keyframes entre-gauche{ from{ opacity: 0; transform: translateX(-12%); } }

/* Contenu des étapes */
.q{ margin: 0 0 12px; font-size: 14px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ivoire-3); }
.aide{ margin: -4px 0 14px; font-size: 16px; color: var(--ivoire-3); }
.groupe{ margin-bottom: 30px; }

.segment{
  --i: 0; position: relative; display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 4px; border-radius: 999px; border: 1px solid var(--trait); background: rgba(255,255,255,.035);
}
.segment::before{
  content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / var(--n, 3));
  border-radius: 999px; background: var(--feuille-or); background-size: 220% 100%;
  box-shadow: 0 8px 20px -10px rgba(201,163,94,.8);
  transform: translateX(calc(var(--i) * 100%)); transition: transform .5s var(--doux);
}
.segment button{ position: relative; z-index: 1; min-height: 50px; border: 0; background: none; cursor: pointer; font-family: var(--serif); font-size: 22px; transition: color .35s; }
.segment button small{ font-family: var(--sans); font-size: 14px; margin-left: 4px; opacity: .7; }
.segment button[aria-pressed="true"]{ color: var(--sur-or); }

.bande{
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px;
  margin: 0 -20px; padding: 4px 20px 16px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.bande::-webkit-scrollbar{ display: none; }
@media (min-width: 720px){ .bande{ margin: 0 -36px; padding: 4px 36px 16px; scroll-padding: 0 36px; } }
.jeton{
  flex: 0 0 106px; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 14px 6px 12px; border-radius: 20px; cursor: pointer;
  border: 1px solid var(--trait); background: rgba(255,255,255,.035);
  transition: transform .3s var(--doux), background-color .3s, border-color .3s, color .3s;
}
.jeton:active{ transform: scale(.96); }
.jeton small{ font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--or); }
.jeton b{ font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1.05; }
.jeton span{ font-size: 15px; color: var(--ivoire-2); }
.jeton em{ margin-top: 6px; font-style: normal; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--or-clair); }
.jeton em.rare{ color: var(--alerte); }
.jeton[aria-pressed="true"]{
  background: var(--feuille-or); background-size: 220% 100%; border-color: rgba(255,244,214,.6); color: var(--sur-or);
  box-shadow: 0 14px 30px -14px rgba(201,163,94,.9);
}
.jeton[aria-pressed="true"] small, .jeton[aria-pressed="true"] span, .jeton[aria-pressed="true"] em{ color: rgba(26,18,9,.75); }
.choisi{ margin: 4px 0 0; min-height: 24px; font-size: 17px; color: var(--ivoire-2); }
.choisi strong{ color: var(--ivoire); font-weight: 500; }

.etat{ padding: 20px 18px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid var(--trait); color: var(--ivoire-2); font-size: 17px; margin: 0; }
.etat strong{ color: var(--ivoire); font-weight: 500; }
.chargement{ display: flex; align-items: center; gap: 14px; }
.chargement::before{ content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--or-trait); border-top-color: var(--or-clair); animation: tourne 1s linear infinite; flex: none; }
@keyframes tourne{ to{ transform: rotate(360deg); } }

.interrupteur{ display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; margin-bottom: 16px; cursor: pointer; }
.interrupteur input{ position: absolute; opacity: 0; pointer-events: none; }
.interrupteur .rail{ position: relative; flex: none; width: 50px; height: 30px; border-radius: 999px; background: var(--cuir); transition: background-color .3s; }
.interrupteur .rail::after{ content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--ivoire); transition: transform .35s var(--doux); }
.interrupteur input:checked + .rail{ background: var(--or); }
.interrupteur input:checked + .rail::after{ transform: translateX(20px); background: var(--sur-or); }
.interrupteur input:focus-visible + .rail{ outline: 2px solid var(--or-clair); outline-offset: 3px; }

.choix-chemin{ display: grid; gap: 10px; }
.carte-choix{
  display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: baseline;
  width: 100%; min-height: 70px; padding: 18px 18px 16px; text-align: left; cursor: pointer;
  border-radius: 18px; border: 1px solid var(--trait); background: rgba(255,255,255,.03);
  transition: border-color .3s, background-color .3s, transform .3s var(--doux);
}
.carte-choix:active{ transform: scale(.99); }
.carte-choix[aria-pressed="true"]{ border-color: var(--or); background: var(--or-voile); box-shadow: inset 0 0 0 1px var(--or); }
.carte-choix .nom{ font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.1; }
.carte-choix .prix{ font-family: var(--serif); font-size: 22px; color: var(--or-clair); }
.carte-choix .ligne{ grid-column: 1 / -1; font-size: 16px; color: var(--ivoire-2); }
.carte-choix .reco{ font-family: var(--sans); font-style: normal; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--or); margin-left: 8px; vertical-align: middle; }
.accords{ display: grid; gap: 8px; margin-top: 12px; padding-left: 14px; border-left: 1px solid var(--or-trait); }
.accord{
  display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%;
  min-height: 54px; padding: 10px 14px; text-align: left; cursor: pointer; border-radius: 14px;
  border: 1px solid var(--trait); background: none; font-size: 17px;
}
.accord small{ color: var(--ivoire-3); font-size: 15px; text-align: right; }
.accord[aria-pressed="true"]{ border-color: var(--or); background: var(--or-voile); color: var(--or-clair); }
/* Un onglet par convive (étape des menus) */
.onglets{ display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 6px; margin: 18px 0 14px; }
.onglet{
  display: grid; gap: 4px; justify-items: center; align-content: center; min-width: 0; min-height: 60px; padding: 9px 6px;
  border-radius: 14px; border: 1px solid var(--trait); background: rgba(255,255,255,.03); cursor: pointer; text-align: center;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.onglet-nom{ font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ivoire-2); white-space: nowrap; }
.onglet-choix{ max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.25; color: var(--ivoire-3); }
.onglet.fait .onglet-choix{ color: var(--or-clair); }
.onglet.fait .onglet-nom::after{ content: " ✓"; color: var(--or); }
.onglet[aria-selected="true"]{ border-color: var(--or); background: var(--or-voile); box-shadow: inset 0 0 0 1px var(--or); }
.onglet[aria-selected="true"] .onglet-nom{ color: var(--ivoire); }
/* Un doigt qui reste appuyé sur un choix ne doit pas sélectionner le texte
   (seulement les boutons : les champs du formulaire restent saisissables) */
.tiroir button, .lien-doux.tous-pareil{ -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.lien-doux.tous-pareil{ cursor: default; border-style: solid; border-color: var(--trait); }
.lien-doux.tous-pareil::after{ content: "✓"; }
.convive{ padding: 18px 0; border-top: 1px solid var(--trait); }
.convive:first-child{ border-top: 0; padding-top: 0; }
.convive-titre{ margin: 0 0 10px; font-family: var(--serif); font-style: italic; font-size: 20px; }
.duo{ display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.duo .carte-choix{ grid-template-columns: 1fr; padding: 12px 14px; min-height: 58px; min-width: 0; }
.duo .carte-choix .ligne, .duo .carte-choix .reco{ display: none; }
.duo .carte-choix .nom{ font-size: 19px; }
.duo .carte-choix .prix{ font-size: 17px; }

/* Champs à étiquette flottante */
.champs{ display: grid; gap: 12px; }
@media (min-width: 520px){ .champs.deux{ grid-template-columns: 1fr 1fr; } }
.champ{ position: relative; }
.champ input, .champ textarea{
  width: 100%; min-height: 62px; padding: 26px 16px 8px; border-radius: 14px;
  border: 1px solid rgba(242,233,218,.14); background: rgba(255,255,255,.035); color: var(--ivoire);
  font: inherit; font-size: 17px; color-scheme: dark; transition: border-color .3s, background-color .3s;
}
.champ textarea{ min-height: 116px; resize: vertical; padding-top: 30px; }
.champ label{
  position: absolute; left: 17px; top: 20px; pointer-events: none; transform-origin: left top;
  font-size: 16px; color: var(--ivoire-3); transition: transform .3s var(--doux), color .3s;
}
.champ input:focus, .champ textarea:focus{ outline: none; border-color: var(--or); background: rgba(201,163,94,.06); }
.champ input:focus + label, .champ input:not(:placeholder-shown) + label,
.champ textarea:focus + label, .champ textarea:not(:placeholder-shown) + label,
.champ input[type="date"] + label{ transform: translateY(-11px) scale(.76); color: var(--or); }
.champ.erreur input, .champ.erreur textarea{ border-color: var(--alerte); }
.champ .msg{ display: none; margin: 6px 0 0 4px; font-size: 15px; color: var(--alerte); }
.champ.erreur .msg{ display: block; }

/* Champ date. Sous iOS, Safari lui donne une largeur propre qui le faisait
   sortir de l'écran (et défiler le tiroir de côté), et il restait vide,
   sans rien qui invite à le toucher. */
.champs > *, .champ-date{ min-width: 0; }
.champ input[type="date"]{ display: block; min-width: 0; max-width: 100%; text-align: left; }
.champ input[type="date"]::-webkit-date-and-time-value{ text-align: left; margin: 0; }
.champ-date .indice{ display: none; }
@supports (-webkit-touch-callout: none){
  .champ input[type="date"]{ -webkit-appearance: none; appearance: none; padding-right: 50px; }
  .champ-date .indice{
    display: block; position: absolute; left: 17px; top: 26px; line-height: 28px;
    font-size: 17px; color: var(--ivoire-3); pointer-events: none; opacity: 0; transition: opacity .2s;
  }
  .champ-date.vide .indice{ opacity: 1; }
  .champ-date::after{
    content: ""; position: absolute; right: 18px; top: 21px; width: 20px; height: 20px; pointer-events: none;
    background: var(--or);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat;
  }
}
.discret-inline{ color: var(--ivoire-3); font-size: .9em; }

.recap{ margin: 0 0 22px; padding: 6px 18px; border-radius: 18px; border: 1px solid var(--trait); background: rgba(255,255,255,.03); }
.recap div{ display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--trait); font-size: 17px; }
.recap div:first-child{ border-top: 0; }
.recap dt{ color: var(--ivoire-3); }
.recap dd{ margin: 0; text-align: right; }
.recap dd .sss{ color: var(--or); }

.empreinte{ margin: 22px 0; padding: 18px; border-radius: 18px; border: 1px solid var(--or-trait); background: rgba(201,163,94,.05); }
.empreinte-tete{ display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--or-clair); }
.empreinte-tete svg{ width: 16px; height: 16px; fill: none; stroke: var(--or); stroke-width: 1.3; }
.empreinte p{ margin: 0 0 14px; font-size: 16px; color: var(--ivoire-2); }
/* Carte bancaire (Payment Element de Stripe, branché le 11/11) */
.empreinte .empreinte-zero{ display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 8px; }
.empreinte-zero span{ font-size: 16px; color: var(--ivoire-2); }
.empreinte-zero b{ font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 32px; line-height: 1; color: var(--ivoire); }
.empreinte p strong{ color: var(--or-clair); font-weight: 500; }
/* Avant de valider (27/11) : le « Bon à savoir » pour ceux qui réservent sans lire la page */
.avant-valider{ margin: 22px 0; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--or-trait); }
.avant-valider-tete{ margin: 0 0 10px; font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--or-clair); }
.avant-valider ul{ margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.avant-valider li{ position: relative; padding-left: 18px; font-size: 16px; line-height: 1.45; color: var(--ivoire-2); }
.avant-valider li::before{ content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--or); }
.avant-valider a{ color: var(--or-clair); }
/* Avant de réserver (27/11) : tout « Bon à savoir » avant de choisir une table */
.lire-intro{ margin: 0 0 18px; font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.4; color: var(--ivoire); }
.lire-liste{ margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 14px; }
.lire-liste li{ padding: 14px 16px; border-radius: 16px; border: 1px solid var(--or-trait); }
.lire-liste strong{ display: block; margin-bottom: 4px; font-weight: 500; font-size: 17px; color: var(--or-clair); }
.lire-liste span{ font-size: 16px; line-height: 1.5; color: var(--ivoire-2); }
.lire-liste a{ color: var(--or-clair); text-underline-offset: 3px; }
.case.lire-case{ align-items: center; padding: 14px 16px; border-radius: 16px; background: rgba(201,163,94,.07); color: var(--ivoire); }
.case.lire-case.attente{ cursor: wait; color: var(--ivoire-3); }
.case.lire-case.attente .boite{ opacity: .45; }
.lire-compte{ margin-left: auto; min-width: 3ch; text-align: right; font-variant-numeric: tabular-nums; color: var(--or); }
.lire-attente{ margin: 10px 0 0; min-height: 1.4em; font-size: 15px; color: var(--ivoire-3); }
/* Allergies obligatoires (27/11) */
.allergies{ margin-top: 26px; }
.puce-aucune{ display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; margin-bottom: 12px; border-radius: 999px; border: 1px solid var(--or-trait); background: transparent; color: var(--ivoire-2); font: inherit; font-size: 16px; cursor: pointer; transition: background-color .25s, color .25s; }
.puce-aucune[aria-pressed="true"]{ background: var(--or); border-color: var(--or); color: var(--sur-or); }
.allergies .msg{ display: none; margin: 6px 0 0 4px; font-size: 15px; color: var(--alerte); }
.allergies.erreur .msg{ display: block; }
.allergies.erreur textarea{ border-color: var(--alerte); }
.allergies.erreur .puce-aucune{ border-color: var(--alerte); }
.carte-stripe{ min-height: 118px; }
.empreinte .carte-attente{ margin: 0; padding: 14px 0; font-size: 16px; color: var(--ivoire-3); }

/* position: relative : sinon la case cachée se place par rapport au tiroir, hors de la zone
   qui défile, et la toucher fait défiler tout le tiroir (écran noir, cliente du 15/11). */
.case{ position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 6px 0; cursor: pointer; font-size: 17px; line-height: 1.5; color: var(--ivoire-2); }
.case input{ position: absolute; opacity: 0; pointer-events: none; }
.case .boite{ display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex: none; margin-top: 1px; border-radius: 7px; border: 1px solid var(--or-trait); transition: background-color .25s; }
.case .boite svg{ width: 14px; height: 14px; fill: none; stroke: var(--sur-or); stroke-width: 2; opacity: 0; }
.case input:checked + .boite{ background: var(--or); border-color: var(--or); }
.case input:checked + .boite svg{ opacity: 1; }
.case input:focus-visible + .boite{ outline: 2px solid var(--or-clair); outline-offset: 2px; }
.case a{ color: var(--or-clair); text-underline-offset: 3px; }
/* Privatisation dans la demande de date (Anthony, 11/11) */
.privat-aide{ margin: 14px 0 0; }
.privat-case{ margin-top: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--or-trait); background: var(--or-voile); }
.privat-case strong{ display: block; color: var(--ivoire); font-weight: 500; }

/* Envoi chez Runeur : message sous le formulaire, service fermé, bouton occupé */
.statut-envoi{ margin: 18px 0 0; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--trait); background: rgba(255,255,255,.03); font-size: 16px; line-height: 1.5; color: var(--ivoire-2); }
.statut-envoi.erreur{ border-color: rgba(227,154,124,.55); background: rgba(227,154,124,.08); color: var(--ivoire); }
.statut-envoi a, .etat a{ color: var(--or-clair); text-underline-offset: 3px; }
.lien-texte{ padding: 0; border: 0; background: none; font: inherit; color: var(--or-clair); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.svc-info{ margin: 10px 0 0; }
.segment button.ferme{ text-decoration: line-through; text-decoration-thickness: 1px; }
.segment button.ferme:not([aria-pressed="true"]){ color: var(--ivoire-3); }
.tiroir.envoi .rond:disabled{ opacity: .35; }
.tiroir.envoi .bouton-or:disabled{ cursor: progress; }

.fin{ text-align: center; padding: 24px 0; }
.sceau{ width: 100px; height: 100px; margin: 8px auto 26px; }
.sceau circle, .sceau path{ fill: none; stroke: var(--or); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.sceau .anneau{ stroke-dasharray: 290; stroke-dashoffset: 290; animation: trace 1.2s ease forwards; }
.sceau .coche{ stroke-dasharray: 60; stroke-dashoffset: 60; stroke-width: 2; animation: trace .6s ease .9s forwards; }
@keyframes trace{ to{ stroke-dashoffset: 0; } }
.fin h3{ margin: 0 0 14px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 34px; line-height: 1.15; }
.fin p{ margin: 0 auto 12px; max-width: 26em; color: var(--ivoire-2); }
.fin .actions-fin{ display: grid; gap: 10px; max-width: 340px; margin: 22px auto 0; }

/* ── Moins d'animations, si l'utilisateur le demande ─────── */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .titre-geant .l{ transform: none; }
  .manifeste-texte .mot{ opacity: 1 !important; }
  .compte{ height: auto; }
  .compte-scene{ position: relative; height: auto; padding: 96px var(--marge); }
  .compte .numero{ position: static; margin-bottom: 40px; justify-self: start; }
  .compte-cadres{ gap: 72px; }
  .cadre{ grid-area: auto; animation: none !important; }
  .cadre-chiffre{ font-size: min(48vw, 300px); }
  .compte-jauge{ display: none; }
}

/* Téléphone avec indicatif pays : le vrai menu (select) est transparent, posé
   sur l'affichage court « 🇫🇷 +33 » ; le champ commence après. */
.champ-tel .indicatif{
  position: absolute; left: 1px; top: 1px; height: 60px; width: 96px; display: flex; align-items: center; justify-content: center;
  gap: 2px; font-size: 16px; color: var(--ivoire); border-right: 1px solid rgba(242,233,218,.14); pointer-events: none;
  font-variant-numeric: tabular-nums;
}
.champ-tel .indicatif::after{ content: ""; width: 6px; height: 6px; margin-left: 6px; border-right: 1.5px solid var(--or); border-bottom: 1.5px solid var(--or); transform: translateY(-2px) rotate(45deg); }
.champ-tel select{
  position: absolute; left: 0; top: 0; height: 62px; width: 98px; opacity: 0; cursor: pointer; font-size: 16px; z-index: 1;
}
.champ-tel select:focus-visible + input{ border-color: var(--or); }
.champ-tel input{ padding-left: 112px; }
.champ-tel label{ left: 113px; }
.champ-tel .aide{ margin: 6px 0 0 4px; font-size: 14px; color: var(--ivoire-3); }
.champ-tel.erreur .aide{ display: none; }
