/* Tournebise — styles du site. Palette et typographies : 3-marque.md. */
@font-face { font-family: "Fraunces"; src: url(../fonts/fraunces.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(../fonts/instrument-sans.woff2) format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url(../fonts/martian-mono.woff2) format("woff2"); font-weight: 100 800; font-stretch: 75% 112.5%; font-display: swap; }

:root {
  --nuit: #101B3D; --neige: #F2EEE4; --novat: #4A74D9; --laque: #E1412D; --rose: #F4A6B4;
  --serif: "Fraunces", Georgia, serif; --sans: "Instrument Sans", system-ui, sans-serif; --mono: "Martian Mono", ui-monospace, monospace;
  --gut: clamp(16px, 4.4vw, 64px);
  --t-xl: clamp(72px, 40px + 8.6vw, 220px); --t-l: clamp(48px, 30px + 5.2vw, 120px); --t-m: clamp(32px, 24px + 2.2vw, 64px);
  --t-body: clamp(16px, 15px + .2vw, 18px); --t-data: clamp(10.5px, 10px + .18vw, 13px);
  /* bloc Kōzōwood : ton et couleurs remplacés (règle de fidélité) */
  --kz-dark: var(--nuit); --kz-sand: var(--neige); --kz-ochre: var(--laque); --kz-cream: var(--neige); --kz-pale: var(--neige);
  --kz-serif: var(--serif); --kz-sans: var(--sans); --kz-wide: var(--sans);
  --s: 0; --chap: 0;
}
* { box-sizing: border-box; }
html { background: var(--nuit); color: var(--neige); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 var(--t-body)/1.45 var(--sans); background: var(--nuit); overflow-x: hidden; }
a { color: inherit; }
.mono { font-family: var(--mono); font-size: var(--t-data); letter-spacing: .08em; text-transform: uppercase; font-stretch: 87.5%; line-height: 1.5; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
h1, h2, h3 { font-weight: 400; margin: 0; }
.serif, h1, h2, h3 { font-family: var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }

#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; display: block; z-index: 0; touch-action: pan-y; }
main, .pied { position: relative; z-index: 1; }
main { pointer-events: none; } main > section:not(.s3d) { pointer-events: auto; }
.s3d { position: relative; pointer-events: none; }
.s3d a, .s3d button, .s3d .encart { pointer-events: auto; }
.colle { position: fixed; inset: 0; height: 100vh; height: 100svh; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s; z-index: 1; }
.s3d.actif .colle { opacity: 1; visibility: visible; transition: opacity .5s; }
.s3d .colle * { pointer-events: none; } .s3d.actif .colle a, .s3d.actif .colle button, .s3d.actif .colle .encart { pointer-events: auto; }
.secours { display: none; }
html.sans-webgl #gl { display: none; }
html.sans-webgl .secours { display: block; position: fixed; inset: 0; margin: 0; z-index: 0; }
html.sans-webgl .secours img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }

/* ---------- en-tête (bloc header-liste-serif) ---------- */
.kzh { height: 72px; }
.tb-logo { display: flex; align-items: center; gap: 10px; color: var(--nuit); left: var(--gut) !important; top: 22px !important; }
.kzh[data-kzh-tone=sombre] .tb-logo { color: var(--neige); }
.signe-dots { width: 34px; height: auto; overflow: visible; fill: currentColor; }
.signe-dots circle { transition: fill .6s, stroke .6s; stroke: currentColor; stroke-width: 0; }
.signe-dots circle.creux { fill: none; stroke-width: 12; }
html.rose .kzh .signe-dots circle:not(.creux) { fill: var(--rose); } html.rose .kzh .signe-dots circle.creux { stroke: var(--rose); }
.tb-nom { display: block; width: 118px; aspect-ratio: 8462 / 1560; background: currentColor; -webkit-mask: url(../LOGO/nom-seul.svg) no-repeat center / contain; mask: url(../LOGO/nom-seul.svg) no-repeat center / contain; }
.kzh .tb-logo .signe-dots { margin-top: -6px; }
.cartel-concept { position: absolute; left: calc(var(--gut) + 176px); top: 27px; font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 5px 8px 4px; border: 1px solid currentColor; border-radius: 99px; color: var(--neige); opacity: .75; pointer-events: auto; transition: color .4s; }
.kzh[data-kzh-tone=clair] .cartel-concept { color: var(--nuit); }
.kzh-pill { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; }
.kzh-cur { background: var(--laque) !important; color: var(--neige) !important; }
.kzh-a { font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.kzh-year { font-family: var(--serif); }
.kzh-inf p, .kzh-legal { font-family: var(--sans); font-size: 13px; }
.kzh-il { font-family: var(--mono) !important; font-size: 10px !important; letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-top: 8px !important; }
@media (max-width: 760px) { .kzh { height: 60px; } .tb-logo { top: 18px !important; } .tb-nom { width: 100px; } .cartel-concept { left: calc(var(--gut) + 150px); top: 22px; } }

/* ---------- ouverture ---------- */
#ouverture { height: 300vh; }
.ouv { color: var(--neige); }
.ouv-haut { position: absolute; left: var(--gut); top: clamp(110px, 17vh, 170px); width: min(40vw, 560px); }
.ouv-date { margin: 0 0 18px; opacity: .72; }
.phrase { font-size: clamp(32px, 22px + 2.5vw, 64px); line-height: .98; letter-spacing: -.015em; max-width: 13.5em; text-wrap: balance; }
.suite { font: 400 italic clamp(20px, 16px + 1vw, 30px)/1.1 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 72; margin: 14px 0 0; color: var(--rose); }
.ouv-meteo { margin: 22px 0 0; opacity: .6; max-width: 34em; }
.ouv-nom { position: absolute; left: calc(var(--gut) - .04em); bottom: clamp(110px, 16vh, 160px); margin: 0; font: 400 clamp(84px, 30px + 9vw, 188px)/.86 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; letter-spacing: -.035em; }
.ouv-nom .l { display: block; overflow: hidden; padding-bottom: .06em; }
.ouv-nom .l span { display: block; transform: translateY(calc((1 - min(1, max(0, var(--s) * 2.6))) * 108%)); }
.ouv-nom .l + .l span { transform: translateY(calc((1 - min(1, max(0, (var(--s) - .3) * 2.6))) * 108%)); padding-left: .9em; }
.ouv-bas { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(26px, 5vh, 46px); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.consigne { margin: 0; display: flex; gap: 14px; align-items: baseline; }
.consigne b { font: 400 22px/1 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; }
.consigne .mono { opacity: .62; }
.compteur { margin: 0; opacity: 0; transform: translateY(8px); transition: opacity .8s, transform .8s; }
html.compte .compteur { opacity: .85; transform: none; }
.btn-main { display: none; }
.ouv-haut, .ouv-bas, .ouv-nom { opacity: 0; transition: opacity 1.2s .2s; }
html.rempli .ouv-haut, html.rempli .ouv-bas, html.rempli .ouv-nom { opacity: 1; }
html.reduit .ouv-nom .l span, html.reduit .ouv-nom .l + .l span { transform: none; }
@media (max-width: 760px) {
  .ouv-haut { top: auto; bottom: 168px; width: auto; right: var(--gut); }
  .phrase { font-size: 32px; }
  .suite { font-size: 21px; margin-top: 8px; }
  .ouv-meteo { margin-top: 12px; font-size: 9.5px; }
  .ouv-date { margin-bottom: 10px; font-size: 9.5px; }
  .ouv-nom { position: absolute; top: 84px; bottom: auto; left: var(--gut); font-size: 30px; letter-spacing: -.01em; display: none; }
  .ouv-bas { bottom: 22px; flex-direction: column; align-items: stretch; gap: 12px; }
  .consigne { display: none; }
  .btn-main { display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; border: 0; border-radius: 99px; background: var(--laque); color: var(--neige); font: 500 16px/1 var(--sans); }
  .btn-main i { width: 10px; height: 10px; border-radius: 50%; background: var(--neige); box-shadow: 0 0 0 4px rgba(242,238,228,.25); }
  .compteur { text-align: center; font-size: 9.5px; }
}

/* ---------- traversée ---------- */
#traversee { height: 200vh; }
.trav-leg { position: fixed; left: var(--gut); bottom: 40px; margin: 0; opacity: 0; transition: opacity .5s; } #traversee.actif .trav-leg { opacity: .55; }
.bokeh { position: fixed; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; }
.bokeh i { position: absolute; left: 50%; top: 50%; width: 360px; height: 360px; margin: -180px; border-radius: 50%; opacity: 0; will-change: transform, opacity;
  background: radial-gradient(circle at 46% 44%, rgba(255,255,255,.95), rgba(242,238,228,.55) 38%, rgba(242,238,228,.12) 62%, transparent 70%); filter: blur(6px); }
.bokeh i:nth-child(2) { width: 240px; height: 240px; margin: -120px; } .bokeh i.d:nth-child(3) { width: 420px; height: 420px; margin: -210px; filter: blur(12px); } .bokeh i.d:nth-child(4) { width: 200px; height: 200px; margin: -100px; }
@media (max-width: 760px) { .bokeh i.d { display: none; } }

/* ---------- bulletin ---------- */
#bulletin { height: 420vh; }
.bull { color: var(--nuit); }
.bull-cadre { position: absolute; inset: clamp(70px, 11vh, 96px) var(--gut) clamp(70px, 10vh, 92px); border: 1px solid rgba(16,27,61,.28); }
.bull-cadre::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(16,27,61,.12); }
.bull-titre { position: absolute; left: 0; right: 0; top: clamp(76px, 12.4vh, 110px); text-align: center; font-size: clamp(20px, 14px + 1.1vw, 30px); letter-spacing: .42em; text-transform: uppercase; padding-left: .42em; background: transparent; }
.bull-sous { position: absolute; left: 0; right: 0; top: calc(clamp(76px, 12.4vh, 110px) + 46px); text-align: center; margin: 0; opacity: .62; }
.encart { position: absolute; right: calc(var(--gut) + 22px); bottom: calc(clamp(70px, 10vh, 92px) + 22px); width: min(330px, 32vw); background: var(--neige); color: var(--nuit); border: 1px solid rgba(16,27,61,.3); padding: 20px 22px 18px;
  opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s; }
.encart::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(16,27,61,.12); pointer-events: none; }
.encart.on { opacity: 1; transform: none; }
.e-tete { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; opacity: .8; }
.e-tete i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.encart h3 { font-size: clamp(30px, 22px + 1.2vw, 42px); line-height: 1; letter-spacing: -.01em; }
.e-etat { margin: 10px 0 4px; font-weight: 600; }
.e-phrase { margin: 0 0 14px; font: italic 400 18px/1.25 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 36; }
.e-donnees { margin: 0; border-top: 1px solid rgba(16,27,61,.2); padding-top: 10px; display: grid; gap: 4px; font-size: 10.5px; }
.e-donnees div { display: flex; justify-content: space-between; gap: 12px; } .e-donnees dt { opacity: .62; } .e-donnees dd { margin: 0; }
.bull-legende { background: rgba(242,238,228,.9); padding: 10px 14px; width: max-content; position: absolute; left: calc(var(--gut) + 22px); bottom: calc(clamp(70px, 10vh, 92px) + 20px); list-style: none; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; max-width: 46vw; }
.bull-legende li { display: flex; align-items: center; gap: 7px; } .bull-legende i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.bull-compte { flex-basis: 100%; opacity: .75; }
@media (max-width: 760px) { .bull-legende .bull-compte { display: none; } }
.anneau { position: fixed; left: -60px; top: -60px; width: 120px; height: 120px; z-index: 2; pointer-events: none; opacity: 0; overflow: visible; }
.anneau circle { fill: none; stroke: var(--laque); stroke-width: 2.2; stroke-dasharray: 290; stroke-dashoffset: 0; transform: rotate(-80deg); }
.anneau.trace circle { animation: trace 1.1s cubic-bezier(.65,0,.35,1) both; }
@keyframes trace { from { stroke-dashoffset: 290; } to { stroke-dashoffset: 0; } }
.bulle-piste { position: fixed; left: 0; top: 0; z-index: 3; pointer-events: none; font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; background: var(--nuit); color: var(--neige); padding: 6px 8px; border-radius: 99px; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.bulle-piste.on { opacity: 1; }
@media (max-width: 760px) {
  .bull-cadre { inset: 66px 10px 12px; }
  .bull-titre { top: 80px; font-size: 16px; letter-spacing: .3em; }
  .bull-sous { top: 106px; font-size: 8.5px; padding: 0 34px; }
  .encart { left: 10px; right: 10px; bottom: 12px; width: auto; padding: 16px 18px 14px; transform: translateY(105%); border-radius: 14px 14px 0 0; }
  .encart::after { content: ""; position: absolute; left: 50%; top: 7px; width: 36px; height: 3px; margin-left: -18px; border-radius: 3px; background: rgba(16,27,61,.25); }
  .encart.on { transform: none; }
  .encart h3 { font-size: 30px; }
  .e-phrase { font-size: 16px; margin-bottom: 10px; }
  .bull-legende { left: 50%; right: auto; transform: translateX(-50%); bottom: auto; top: 146px; max-width: none; justify-content: center; font-size: 8.5px; padding: 6px 10px; }
  .bull-compte { text-align: center; }
}

/* ---------- la journée ---------- */
#journee { height: 650vh; }
.jour { color: var(--neige); }
.chap { position: absolute; left: var(--gut); bottom: clamp(70px, 12vh, 120px); width: min(430px, 34vw); opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s; }
.chap.on { opacity: 1; transform: none; }
.chap-n { margin: 0 0 6px; opacity: .8; }
.chap-h { margin: 0; font: 400 var(--t-l)/.9 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; letter-spacing: -.03em; font-feature-settings: "lnum" 1; }
.chap h2 { font-size: clamp(22px, 16px + 1vw, 32px); margin: 10px 0 8px; }
.chap p:last-child { margin: 0; max-width: 26em; }

.jour-pied { position: absolute; right: var(--gut); bottom: clamp(26px, 5vh, 44px); margin: 0; opacity: .7; max-width: 46em; text-align: right; }
html[data-chap-clair] .jour-pied { color: var(--nuit); }
.jour-regle { position: absolute; right: var(--gut); top: 50%; width: 1px; height: 32vh; transform: translateY(-50%); background: currentColor; opacity: .3; }
.jour-regle i { position: absolute; left: -4px; width: 9px; height: 9px; border-radius: 50%; background: currentColor; top: calc(min(1, var(--chap) / 4.6) * 100%); opacity: 1; }
@media (max-width: 760px) {
  .chap { width: auto; right: var(--gut); bottom: 56px; }
  .chap-h { font-size: 56px; }
  .chap h2 { font-size: 22px; }
  .chap p:last-child { font-size: 15px; }
  .jour-pied { left: var(--gut); text-align: left; bottom: 16px; font-size: 8.5px; }
  .jour-regle { display: none; }
}

/* ---------- photos (drapeau data-photos) ---------- */
html[data-photos=attente] [data-attente] { display: none; }
html.voir-attente [data-attente] { display: block; }
html.voir-attente .dip[data-attente], html.voir-attente .dip { display: grid; }
.photos { position: relative; z-index: 1; background: var(--nuit); }
.ph { position: relative; margin: 0; overflow: hidden; background: #18244c; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-attente { display: none; }
html[data-photos=attente] .ph img { display: none; }
html.voir-attente .ph-attente { display: flex; position: absolute; inset: 14px; border: 1px dashed rgba(242,238,228,.4); align-items: center; justify-content: center; text-align: center; padding: 20px; color: var(--neige); opacity: .8; }
.plein { height: 100vh; height: 100svh; }
.plein figcaption { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(36px, 7vh, 70px); display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; color: var(--neige); }
.grand { font: 400 var(--t-l)/.92 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; text-transform: uppercase; letter-spacing: -.01em; max-width: 9em; }
.note { opacity: .6; font-size: 9.5px; }
.dip { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-rows: 70vh auto; gap: 10px; padding: 10px; }
.dip .ph { height: 100%; } .dip-txt { grid-column: 1 / -1; margin: 0; padding: 40px var(--gut) 90px; display: flex; justify-content: space-between; align-items: flex-end; }
#sur-place { background: var(--neige); color: var(--nuit); padding: 120px var(--gut) 100px; }
.sp-tete h2 { font-size: var(--t-m); max-width: 14em; margin-top: 12px; }
.sp-grille { display: grid; grid-template-columns: 1.45fr 1fr; gap: 10px; margin-top: 60px; height: min(66vh, 44vw); }
.sp-1, .sp-2 { height: 100%; }
.sp-2 { margin-top: 12vh; height: calc(100% - 12vh); }
.sp-grille figcaption { position: absolute; left: 14px; bottom: 12px; color: var(--neige); }
.sp-note { margin: 20px 0 0; }
html.voir-attente #sur-place .ph-attente { color: var(--nuit); border-color: rgba(16,27,61,.35); }
html.voir-attente #sur-place .ph { background: #e5e0d4; }
@media (max-width: 760px) {
  .dip { grid-template-columns: 1fr; grid-template-rows: 64vh 44vh auto; }
  .sp-grille { grid-template-columns: 1fr; height: auto; gap: 8px; margin-top: 40px; }
  .sp-1 { height: auto; aspect-ratio: 4 / 3.4; } .sp-2 { height: auto; aspect-ratio: 4 / 4.6; margin: 0 0 0 16vw; }
  #sur-place { padding: 90px var(--gut) 70px; }
}

/* ---------- forfaits ---------- */
#forfaits { background: var(--neige); color: var(--nuit); height: 200vh; }
.ff-colle { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(92px, 12vh, 120px) var(--gut) clamp(26px, 4vh, 40px); }
.ff-tete { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 30px; align-items: end; }
.ff-tete h2 { font-size: clamp(48px, 30px + 3.6vw, 96px); line-height: .9; letter-spacing: -.03em; }
.ff-tete p { margin: 0; }
.ff-scene { display: flex; align-items: center; justify-content: center; gap: clamp(30px, 6vw, 100px); padding: 10px 0; min-height: 0; }
.ff-photo { height: min(52vh, 520px); aspect-ratio: 4 / 5; }
html.voir-attente .ff-photo { display: block; } html.voir-attente .ff-photo .ph-attente { color: var(--nuit); border-color: rgba(16,27,61,.35); } html.voir-attente .ff-photo { background: #e5e0d4; }
.ff-photo figcaption { position: absolute; left: 12px; bottom: 10px; color: var(--neige); }
.forfait { position: relative; display: flex; flex-direction: column; align-items: center; }
.ff-attache { width: 54px; height: auto; margin-bottom: -26px; position: relative; z-index: 1; }
.ff-carton { position: relative; width: clamp(220px, 17vw, 262px); aspect-ratio: 54 / 86; background: #FBF8F1; border-radius: 14px; padding: 46px 24px 20px; display: flex; flex-direction: column;
  box-shadow: 0 1px 0 rgba(16,27,61,.08), 0 24px 50px -24px rgba(16,27,61,.45), inset 0 0 0 1px rgba(16,27,61,.08); transform-origin: 50% 0; animation: balance 6s ease-in-out infinite; }
@keyframes balance { 0%, 100% { transform: rotate(-1.4deg); } 50% { transform: rotate(1.4deg); } }
html.reduit .ff-carton { animation: none; }
.ff-trou { position: absolute; left: 50%; top: 14px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--neige); box-shadow: inset 0 1px 2px rgba(16,27,61,.35); }
.ff-haut { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(16,27,61,.2); padding-bottom: 12px; }
.ff-haut img { width: 100px; height: auto; } @media (max-width: 760px) { .ff-haut img { width: 92px; } }
.ff-mid { margin: auto 0; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--nuit); } .ff-mid .ff-signe { width: 92px; } .ff-mid p { margin: 0; font-size: 8.5px; opacity: .65; }
.ff-duree { margin: 0; font: 400 clamp(52px, 40px + 2vw, 76px)/.9 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; letter-spacing: -.03em; color: var(--laque); }
.ff-prix { margin: 16px 0 0; display: grid; gap: 6px; font-size: 10.5px; }
.ff-prix div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dotted rgba(16,27,61,.25); padding-bottom: 5px; } .ff-prix dt { opacity: .65; } .ff-prix dd { margin: 0; }
.ff-code { height: 30px; margin: 16px 0 10px; background: repeating-linear-gradient(90deg, var(--nuit) 0 2px, transparent 2px 4px, var(--nuit) 4px 5px, transparent 5px 9px, var(--nuit) 9px 12px, transparent 12px 14px); opacity: .85; }
.ff-demo { margin: 0; font-size: 9px; color: var(--laque); }
.forfait.imprime .ff-carton > *:not(.ff-trou) { animation: imprime .7s steps(6) both; }
@keyframes imprime { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.regle { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 10px; padding-top: 34px; }
.regle-ligne { position: absolute; left: 0; right: 0; top: 0; height: 26px; border-top: 1px solid var(--nuit);
  background: repeating-linear-gradient(90deg, var(--nuit) 0 1px, transparent 1px calc(100% / 30)); -webkit-mask: linear-gradient(#000 0 9px, transparent 9px); mask: linear-gradient(#000 0 9px, transparent 9px); }
.regle button { position: relative; background: none; border: 0; padding: 0 0 12px; cursor: pointer; text-align: left; color: var(--nuit); font: 400 clamp(20px, 14px + 1.2vw, 34px)/1 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 72; }
.regle button::before { content: ""; position: absolute; left: 0; top: -34px; width: 1px; height: 22px; background: var(--nuit); }
.regle button span { display: inline-block; padding-bottom: 6px; border-bottom: 2px solid transparent; transition: border-color .4s, color .4s; }
.regle button.on span, .regle button:hover span { border-color: var(--laque); color: var(--laque); }
.regle button:focus-visible { outline: 2px solid var(--novat); outline-offset: 4px; }
@media (max-width: 760px) {
  #forfaits { height: auto; } .ff-colle { position: relative; height: auto; display: block; padding: 96px var(--gut) 40px; }
  .ff-tete { grid-template-columns: 1fr; gap: 14px; } .ff-tete h2 { font-size: 46px; }
  .ff-scene { position: relative; flex-direction: column; min-height: 0; padding: 30px 0; }
  .ff-photo { width: 100%; }
  .regle { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; margin: 0 calc(var(--gut) * -1); padding: 34px var(--gut) 6px; }
  .regle button { flex: 0 0 26vw; scroll-snap-align: start; font-size: 26px; }
  .regle-ligne { left: var(--gut); width: calc(26vw * 6); }
}

/* ---------- d'où viennent les données ---------- */
#donnees { height: 170vh; }
.don { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 48px; background: rgba(16,27,61,.28); -webkit-backdrop-filter: blur(16px) saturate(1.1); backdrop-filter: blur(16px) saturate(1.1); }
.don h2 { font-size: var(--t-m); text-align: center; }
.pastilles { list-style: none; margin: 0; padding: 0 var(--gut); display: grid; grid-template-columns: repeat(4, minmax(0, 210px)); gap: clamp(16px, 3vw, 46px); }
.pastilles li { aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(242,238,228,.65); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px; gap: 6px; }
.p-l { opacity: .75; } .p-v { font: 400 clamp(20px, 16px + .8vw, 30px)/1 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 72; }
.p-s { font-size: 8.5px; opacity: .6; max-width: 15em; letter-spacing: .06em; }
@media (max-width: 760px) { .pastilles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .pastilles li { padding: 10px; } .p-s { font-size: 7.5px; } .don { gap: 28px; } }

/* ---------- la dernière montée (bloc contact-horloge) ---------- */
.contact--horloge { position: relative; z-index: 1; }
.kzc-t { font-size: var(--t-m) !important; max-width: 9em !important; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.kzc-txt { font-family: var(--sans) !important; }
.kzc-h { font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.kzc-h span { white-space: nowrap; }
.kzc-haut, .kzc-bas { font-family: var(--mono) !important; font-size: 10.5px !important; letter-spacing: .12em !important; }
.kzc-haut { color: var(--laque); }
.kzc-tel { display: block; font-size: clamp(30px, 20px + 2.4vw, 56px) !important; }
.kzc-adr { opacity: .7; }

/* ---------- sortie ---------- */
#sortie { height: 260vh; }
.sortie { color: var(--neige); }
.sortie-col { opacity: calc(min(1, max(0, (var(--so, 1) - .45) * 3))); position: absolute; right: var(--gut); top: clamp(120px, 20vh, 200px); width: min(21vw, 330px); display: flex; flex-direction: column; gap: 22px; }
.sortie-txt { margin: 0; font: 400 clamp(24px, 18px + 1.1vw, 36px)/1.1 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 72; text-wrap: balance; }
.sortie-dehors { margin: 0; opacity: .7; }
@media (max-width: 760px) { .sortie-col { width: auto; left: var(--gut); top: auto; bottom: 34px; gap: 16px; } .sortie-txt { font-size: 24px; } .sortie-dehors { font-size: 9px; } }

/* ---------- pied de page ---------- */
.pied { background: var(--neige); color: var(--nuit); padding: clamp(90px, 12vh, 130px) var(--gut) 34px; }
.pied-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; border-top: 1px solid rgba(16,27,61,.25); padding-top: 26px; }
.pied-cols p { margin: 0 0 6px; font-size: 14px; } .pied-l { opacity: .6; margin-bottom: 14px !important; font-size: 10px !important; }
.pied-bas { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: clamp(80px, 16vh, 180px); flex-wrap: wrap; }
.pied-logo { display: flex; align-items: flex-end; gap: 18px; color: var(--nuit); }
.pied-logo .signe-dots { width: clamp(80px, 9vw, 140px); }
.pied-logo .tb-nom { width: clamp(220px, 34vw, 520px); }
.pied-bas p { margin: 0; opacity: .7; }
.cartel { color: var(--laque); opacity: 1 !important; }
html[data-photos=attente] .pied-photos { display: none; }
@media (max-width: 760px) { .pied-cols { grid-template-columns: 1fr 1fr; gap: 26px 16px; } .pied-bas { flex-direction: column; align-items: flex-start; } .pied-logo .tb-nom { width: 62vw; } }

@media (prefers-reduced-motion: reduce) { .ouv-nom .l span, .ouv-nom .l + .l span { transform: none !important; } .ff-carton { animation: none; } }

html.fige *, html.fige *::before, html.fige *::after { transition: none !important; animation-duration: 0s !important; animation-delay: 0s !important; }
html.sans-webgl .ouv-haut, html.sans-webgl .ouv-bas, html.sans-webgl .ouv-nom { opacity: 1; }

/* recadrages des photos dans leurs cases */
[data-photo=enseigne] img { object-position: 50% 45%; }
[data-photo=dameuse] img { object-position: 62% 50%; }


/* passe Gemini : les pleins cadres sont des neiges grises, un voile nuit doux garde l'en-tête et la légende lisibles */
.plein::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(16,27,61,.38) 0, rgba(16,27,61,0) 18%, rgba(16,27,61,0) 52%, rgba(16,27,61,.58) 100%); }
.plein figcaption { z-index: 1; text-shadow: 0 1px 18px rgba(16,27,61,.35); }
.sp-grille .ph::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(16,27,61,0) 72%, rgba(16,27,61,.5) 100%); }
.sp-grille figcaption { z-index: 1; }
