/* Back in Time 90’s · design « télé » : tout le site s’affiche dans une télé rose des années 90.
   Chaque page est une chaîne ; on zappe avec les touches de la télé. Aucune écriture en italique. */
@font-face { font-family: "Bodoni Moda"; src: url("fonts/bodoni-moda.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Neonderthaw"; src: url("fonts/neonderthaw.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "VT323"; src: url("fonts/vt323.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --creme: #FFF8F0; --papier: #FFFFFF; --rose-pale: #FFE7EE; --rose: #FF8FB1; --cerise: #E23B5A; --cerise-fonce: #B01E3E;
  --vin: #4A1222; --vin-doux: #75505A; --trait: rgba(74, 18, 34, .14); --bord: #F3D6DE;
  --beurre: #FFD45E; --beurre-pale: #FFF3CF; --menthe: #8FD9C0; --menthe-pale: #E2F6EE; --menthe-fonce: #2E9C77; --ciel: #8EC5FF; --ciel-pale: #E6F1FF; --peche-pale: #FFEADF;
  --coque: #F9C3D1; --coque-fonce: #EC93AE; --pied: #D9839C; --pied-fonce: #C76F89; --cadre: #F3E6DA; --osd: #11A06A;
  --serif: "Bodoni Moda", Didot, Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --script: "Neonderthaw", "Snell Roundhand", cursive;
  --vhs: "VT323", ui-monospace, "Courier New", monospace;
  color-scheme: light;
}
html[data-coque="menthe"] { --coque: #C4EEDE; --coque-fonce: #86D3B9; --pied: #6FBFA4; --pied-fonce: #5AAA90 }
html[data-coque="ciel"] { --coque: #D2E7FF; --coque-fonce: #97BFF2; --pied: #7EA9DE; --pied-fonce: #6A94C9 }
html[data-coque="beurre"] { --coque: #FFEAAA; --coque-fonce: #F6C95C; --pied: #E2B447; --pied-fonce: #CC9F37 }
html[data-coque="lilas"] { --coque: #E4DAFB; --coque-fonce: #B9A8F0; --pied: #A08DDC; --pied-fonce: #8B78C7 }

* { box-sizing: border-box }
[hidden] { display: none !important }
html, body { height: 100% }
body {
  margin: 0; overflow: hidden; color: var(--vin); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
  background: radial-gradient(circle at 12px 12px, rgba(226, 59, 90, .12) 2px, transparent 2.6px) 0 0 / 30px 30px, linear-gradient(180deg, #FFF3E8, #FFE6DB);
}
/* aucune italique, nulle part */
em, i, cite, address, dfn, var { font-style: normal }
a { color: var(--cerise-fonce) }
button { font: inherit; color: inherit }
:focus-visible { outline: 3px solid var(--cerise); outline-offset: 3px; border-radius: 6px }
h1, h2, h3 { margin: 0; text-wrap: balance; font-family: var(--serif); font-weight: 600; letter-spacing: -.015em }
p { margin: 0; text-wrap: pretty }
ul, ol { margin: 0; padding: 0; list-style: none }
table { border-collapse: collapse }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.insecable { white-space: nowrap }
.evitement { position: fixed; z-index: 50; left: 16px; top: -60px; padding: 10px 16px; border-radius: 10px; background: var(--papier); color: var(--vin); font-weight: 600; transition: top .2s }
.evitement:focus { top: 16px }

/* ---------- la télé ---------- */
.salon { height: 100%; display: grid; place-items: center; padding-block: clamp(60px, 9vh, 86px) clamp(22px, 3vh, 30px); padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)) }
@supports (height: 100dvh) { .salon { height: 100dvh } }
.tele {
  position: relative; width: min(100%, 1400px); height: 100%;
  display: grid; grid-template-columns: minmax(0, 1fr) 176px; gap: 22px; padding: 22px;
  border-radius: 48px; background: linear-gradient(155deg, var(--coque) 0%, var(--coque-fonce) 100%);
  box-shadow: 0 40px 70px -34px rgba(74, 18, 34, .55), inset 0 4px 0 rgba(255, 255, 255, .6), inset 0 -10px 0 rgba(74, 18, 34, .12);
}
.tele::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -14px; height: 14px; border-radius: 0 0 18px 18px; background: linear-gradient(180deg, var(--pied), var(--pied-fonce)); z-index: -1 }
.tele.pop { animation: pop .35s ease-out }
@keyframes pop { 40% { transform: scale(1.006) } }
.antenne-tv { --h: clamp(56px, 8.4vh, 82px); position: absolute; left: 50%; bottom: calc(100% - 4px); height: var(--h); width: calc(var(--h) * 3.3333); margin-left: calc(var(--h) * -1.6667); overflow: visible; pointer-events: none }
.antenne-tv .tige { transform-box: view-box; transform-origin: 160px 86px }
.tele.zappe .tige-g { animation: tige-g .8s ease-out }
.tele.zappe .tige-d { animation: tige-d .8s ease-out }
@keyframes tige-g { 25% { transform: rotate(-7deg) } 55% { transform: rotate(4deg) } 80% { transform: rotate(-2deg) } }
@keyframes tige-d { 25% { transform: rotate(6deg) } 55% { transform: rotate(-4deg) } 80% { transform: rotate(2deg) } }
.ecran-cadre { position: relative; min-height: 0; padding: 14px; border-radius: 40px; background: var(--cadre); box-shadow: inset 0 3px 8px rgba(74, 18, 34, .22), inset 0 -2px 0 rgba(255, 255, 255, .7) }
.ecran { position: relative; height: 100%; overflow: hidden; border-radius: 32px / 28px; background: var(--creme); box-shadow: inset 0 0 0 2px rgba(74, 18, 34, .12) }
.defile { position: absolute; inset: 0; z-index: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--coque-fonce) transparent; -webkit-overflow-scrolling: touch }
.vitre { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 70px rgba(74, 18, 34, .10); background: radial-gradient(120% 85% at 18% -5%, rgba(255, 255, 255, .55), transparent 38%), repeating-linear-gradient(to bottom, rgba(74, 18, 34, .022) 0 1px, transparent 1px 4px) }
.neige { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; pointer-events: none; opacity: .92; mix-blend-mode: multiply }
.ecran.parasite .defile { animation: roule .38s steps(6) }
@keyframes roule { 30% { transform: translateY(-3%) skewX(2deg) } 60% { transform: translateY(4%) skewX(-3deg); filter: brightness(1.3) } }
.osd { position: absolute; top: 14px; right: 20px; display: grid; justify-items: end; gap: 2px; padding: 6px 10px 8px; border-radius: 14px; background: rgba(255, 248, 240, .9); pointer-events: none; font-family: var(--vhs); color: var(--osd); text-shadow: 0 2px 0 rgba(255, 255, 255, .95), 0 0 14px rgba(17, 160, 106, .35); opacity: 0; transition: opacity .3s }
.osd.visible { opacity: 1 }
.osd-ch { font-size: 52px; line-height: .9 }
.osd-nom { font-size: 26px; line-height: 1; letter-spacing: .08em }
.eteinte-message { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; background: radial-gradient(90% 80% at 50% 50%, #FBE9E2, #EFD4CC) }
.eteinte-message button { display: grid; gap: 8px; border: 0; background: none; cursor: pointer; color: var(--vin-doux); font: 400 26px/1.2 var(--vhs); letter-spacing: .04em; padding: 16px }
.eteinte-message button span { font: 400 54px/1 var(--script); color: var(--cerise); letter-spacing: 0 }
.tele.eteinte .defile { animation: extinction .5s forwards }
.tele.allumage .defile, .tele.allumage .mire { animation: allumage .7s ease-out }
@keyframes extinction { 45% { transform: scaleY(.006); filter: brightness(3) } 100% { transform: scale(0, .006); filter: brightness(3); opacity: 0 } }
@keyframes allumage { 0% { transform: scale(.02, .006); filter: brightness(3); opacity: .6 } 45% { transform: scale(1, .008); filter: brightness(2.2) } 100% { transform: none; filter: none; opacity: 1 } }
/* mire de démarrage (première visite) */
.mire { position: absolute; inset: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; background: var(--creme); transition: opacity .3s; cursor: pointer }
.mire.fini { opacity: 0; pointer-events: none }
.mire-barres { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)) }
.mire-barres i:nth-child(1) { background: #FFF6EC } .mire-barres i:nth-child(2) { background: #FFD45E } .mire-barres i:nth-child(3) { background: #8EC5FF } .mire-barres i:nth-child(4) { background: #8FD9C0 } .mire-barres i:nth-child(5) { background: #FF8FB1 } .mire-barres i:nth-child(6) { background: #E23B5A } .mire-barres i:nth-child(7) { background: #B9A8F0 }
.mire-rond { position: absolute; left: 50%; top: 44%; width: min(42vmin, 320px); aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-content: center; justify-items: center; gap: 6px; border-radius: 50%; background: var(--creme); box-shadow: 0 0 0 8px var(--papier), 0 0 0 11px var(--vin), 0 30px 60px -30px rgba(74, 18, 34, .6); text-align: center }
.mire-rond b { font: 400 clamp(36px, 6vmin, 62px)/.9 var(--script); color: var(--cerise) }
.mire-rond span { font: 400 clamp(18px, 2.6vmin, 26px)/1 var(--vhs); letter-spacing: .14em; color: var(--vin) }
.mire-bas { display: flex; justify-content: space-between; gap: 12px; padding: 14px 22px; background: var(--rose-pale); color: var(--vin); border-top: 3px solid var(--papier); font: 400 22px/1 var(--vhs); letter-spacing: .12em }

/* ---------- les commandes ---------- */
.commandes { display: flex; flex-direction: column; gap: 14px; min-height: 0; padding-top: 6px }
.plaque { margin: 0; padding: 8px 6px 4px; border-radius: 14px; text-align: center; background: linear-gradient(180deg, #FFFFFF, #ECE6F0); box-shadow: inset 0 0 0 1.5px rgba(74, 18, 34, .18), 0 3px 0 rgba(74, 18, 34, .12) }
.plaque b { display: block; font: 400 34px/1 var(--script); color: var(--cerise) }
.plaque span { font: 600 15px/1 var(--serif) }
.ligne-marche { display: flex; align-items: center; justify-content: space-between; padding: 0 6px }
.marche { width: 58px; height: 58px; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #FF7C95, var(--cerise) 60%, var(--cerise-fonce)); color: #FFFFFF; box-shadow: 0 5px 0 #9C1C37, 0 8px 14px -6px rgba(74, 18, 34, .5); transition: transform .08s, box-shadow .08s }
.marche:active { transform: translateY(4px); box-shadow: 0 1px 0 #9C1C37 }
.marche svg { width: 26px; height: 26px }
.voyant { width: 14px; height: 14px; border-radius: 50%; background: #3BE08F; box-shadow: 0 0 10px #3BE08F, inset 0 -2px 0 rgba(0, 0, 0, .15) }
.tele.eteinte .voyant { background: #C9A0A8; box-shadow: none }
.chaines { display: grid; gap: 10px }
.touche {
  display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 10px; min-height: 52px; padding: 6px 12px;
  border: 0; border-radius: 13px; cursor: pointer; text-align: left; text-decoration: none; color: var(--vin); font: 600 15px/1.15 var(--sans);
  background: linear-gradient(180deg, #FFFDF9, #F2E7DC); box-shadow: 0 5px 0 #D0AFA6, 0 8px 12px -6px rgba(74, 18, 34, .35);
  transition: transform .08s, box-shadow .08s, background .2s;
}
.touche b { font: 400 30px/1 var(--vhs); color: var(--cerise) }
.touche:hover { background: linear-gradient(180deg, #FFFFFF, #FBEFE6) }
.touche:active, .touche.appuye, .touche[aria-current="page"] { transform: translateY(4px); box-shadow: 0 1px 0 #D0AFA6, inset 0 2px 6px rgba(74, 18, 34, .22); background: linear-gradient(180deg, #FFE3EC, #FFD2E0) }
.zap { display: grid; grid-template-columns: 1fr 1fr; gap: 10px }
.zap .touche { grid-template-columns: 1fr; justify-items: center; text-align: center; font-family: var(--vhs); font-size: 22px; font-weight: 400; min-height: 46px }
.reglages { display: flex; justify-content: space-around; align-items: center; gap: 8px; margin-top: 2px }
.molette { display: grid; justify-items: center; gap: 4px; border: 0; background: none; cursor: pointer; font: 400 17px/1 var(--vhs); color: var(--vin-doux); padding: 0 }
.molette i { width: 48px; height: 48px; border-radius: 50%; display: block; background: radial-gradient(circle at 35% 30%, #FFFFFF, #EAD9C8 62%, #C9AE96); box-shadow: 0 4px 0 rgba(74, 18, 34, .25); position: relative; transition: transform .3s }
.molette i::after { content: ""; position: absolute; left: 50%; top: 5px; width: 4px; height: 14px; margin-left: -2px; border-radius: 2px; background: var(--cerise) }
.molette[aria-pressed="true"] i { transform: rotate(120deg) }
.molette[aria-pressed="true"] { color: var(--cerise-fonce) }
.couloir { display: none }
.grille { flex: 1 1 auto; min-height: 40px; border-radius: 14px; background: repeating-linear-gradient(to bottom, rgba(74, 18, 34, .32) 0 4px, transparent 4px 11px); opacity: .8 }

/* ---------- contenu de l’écran ---------- */
.page { padding: clamp(18px, 3vw, 40px) clamp(18px, 4vw, 56px) 0 }
main:focus { outline: none }
section[id], article[id], form[id], div[id="billetterie"] { scroll-margin-top: 18px }
.bandeau { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding-bottom: 18px; margin-bottom: clamp(20px, 3vw, 36px); border-bottom: 2px dashed var(--trait); padding-right: 120px }
.logo { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--vin) }
.logo b { font: 400 42px/1 var(--script); color: var(--cerise) }
.logo span { font: 600 19px/1 var(--serif) }
.direct { font: 400 21px/1 var(--vhs); letter-spacing: .06em; color: var(--cerise-fonce) }
.direct::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: var(--cerise); vertical-align: 1px; animation: rec 1.4s steps(1) infinite }
@keyframes rec { 50% { opacity: .2 } }
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent; font: 600 16px/1 var(--sans); text-decoration: none; text-align: center; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s }
.bouton svg { width: 18px; height: 18px; flex: none }
.bouton-cerise { background: var(--cerise); color: #FFFFFF; box-shadow: 0 10px 22px -12px rgba(226, 59, 90, .9) }
.bouton-cerise:hover { background: var(--cerise-fonce); transform: translateY(-1px) }
.bouton-ligne { border-color: var(--vin); color: var(--vin); background: transparent }
.bouton-ligne:hover { background: rgba(74, 18, 34, .05) }
.actions { display: flex; flex-wrap: wrap; gap: 12px }
.surtitre { font: 400 21px/1.15 var(--vhs); letter-spacing: .06em; color: var(--cerise-fonce) }
.chapo { font-size: 19px; color: var(--vin-doux); max-width: 36em }
.puces { display: flex; flex-wrap: wrap; gap: 8px }
.puces li { padding: 6px 14px; border-radius: 999px; background: var(--rose-pale); font-size: 15px; font-weight: 500 }

.heros { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center }
.heros-texte { display: grid; gap: 20px; justify-items: start }
.heros h1 { font-size: clamp(40px, 5vw, 74px); line-height: 1.0 }
.heros h1 .h1-sur { display: block; margin-bottom: 14px; font: 400 21px/1.15 var(--vhs); letter-spacing: .06em; color: var(--cerise-fonce) }
.heros h1 em, .page-tete h1 em { color: var(--cerise) }
.antenne { position: relative; display: grid; gap: 12px; padding: 18px 18px 22px; border-radius: 28px; background: var(--papier); box-shadow: 0 24px 50px -32px rgba(74, 18, 34, .55); border: 1.5px solid var(--bord) }
.antenne .etiquette { position: absolute; z-index: 1; top: -14px; left: 20px; padding: 6px 12px; border-radius: 999px; background: var(--beurre); font: 400 20px/1 var(--vhs); letter-spacing: .05em; box-shadow: 0 6px 14px -8px rgba(74, 18, 34, .6) }
.antenne h2 { font-size: 28px; line-height: 1.1 }
.antenne p { color: var(--vin-doux) }
.antenne .actions { gap: 10px 16px; align-items: center }
.vignette { position: relative; border-radius: 20px; aspect-ratio: 4 / 3; overflow: hidden }
.vignette svg { position: absolute; inset: 3% 0; width: 100%; height: 94% }
.v-rose { background: var(--rose-pale) } .v-beurre { background: var(--beurre-pale) } .v-peche { background: var(--peche-pale) } .v-menthe { background: var(--menthe-pale) } .v-ciel { background: var(--ciel-pale) }
.prix-bougie { width: 100%; font-size: 15px }
.prix-bougie th, .prix-bougie td { padding: 8px 0 8px 12px; border-bottom: 1px solid var(--trait); text-align: right; font-variant-numeric: tabular-nums }
.prix-bougie thead th { font-weight: 500; font-size: 13px; color: var(--vin-doux) }
.prix-bougie tbody th { padding-left: 0; text-align: left; font-weight: 500 }
.prix-bougie td { font: 600 18px/1 var(--sans); color: var(--vin) }
.note { font-size: 14px; color: var(--vin-doux) }

.bloc { padding-block: clamp(36px, 5vw, 64px) }
.bloc + .bloc { padding-top: 0 }
.tete { display: grid; gap: 10px; max-width: 46em; margin-bottom: 28px }
.tete h2 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.04 }
.programme { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 22px }
.emission { display: grid; gap: 10px; align-content: start; padding: 14px 14px 20px; border-radius: 24px; background: var(--papier); border: 1.5px solid var(--bord); box-shadow: 0 20px 40px -32px rgba(74, 18, 34, .6) }
.emission .horaire { font: 400 20px/1 var(--vhs); color: var(--cerise-fonce); letter-spacing: .05em; padding: 0 6px }
.emission h3 { font-size: 26px; line-height: 1.1; padding: 0 6px }
.emission p { padding: 0 6px; color: var(--vin-doux) }
.prix { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px }
.prix b { font: 600 30px/1 var(--sans); letter-spacing: -.01em; color: var(--vin) }
.prix span { font-size: 14px; color: var(--vin-doux) }
.emission .prix { padding: 0 6px }
.lien { padding: 0 6px; font-weight: 600; text-underline-offset: 4px }
/* bandeau défilant */
.ticker { display: flex; align-items: stretch; margin: clamp(34px, 4vw, 54px) calc(-1 * clamp(18px, 4vw, 56px)) 0; background: var(--cerise); color: #FFFFFF; overflow: hidden }
.ticker-etiquette { flex: none; display: grid; place-items: center; padding: 0 16px; background: var(--beurre); color: var(--vin); font: 400 22px/1 var(--vhs); letter-spacing: .08em }
.ticker-fenetre { flex: 1 1 auto; min-width: 0; overflow: hidden }
.ticker-piste { display: flex; width: max-content; animation: ticker 36s linear infinite }
.ticker-piste span { padding: 11px 0; font: 400 22px/1 var(--vhs); letter-spacing: .08em; white-space: nowrap }
.ticker-piste span::after { content: "✦"; margin: 0 22px; color: var(--beurre) }
@keyframes ticker { to { transform: translateX(-50%) } }
/* deux façons de venir */
.offres { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 22px }
.offre { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; padding: 20px; border-radius: 24px; background: var(--papier); border: 1.5px solid var(--bord); text-decoration: none; color: var(--vin); box-shadow: 0 20px 40px -32px rgba(74, 18, 34, .6); transition: transform .2s }
.offre:hover { transform: translateY(-2px) }
.offre-visuel { width: 110px; aspect-ratio: 1.45; border-radius: 12px; display: grid; align-content: space-between; padding: 8px 10px; font: 400 15px/1 var(--vhs); letter-spacing: .06em; box-shadow: 0 10px 18px -12px rgba(74, 18, 34, .7) }
.offre-visuel.ticket-session { background: linear-gradient(135deg, var(--rose-pale), var(--beurre-pale)); border: 2px dashed rgba(74, 18, 34, .25) }
.offre-visuel.carte { background: linear-gradient(135deg, var(--menthe), var(--ciel)); color: var(--vin) }
.offre-visuel b { font: 600 22px/1 var(--sans); color: var(--cerise-fonce) }
.offre h3 { font-size: 24px; line-height: 1.1 }
.offre p { color: var(--vin-doux); font-size: 16px; margin-top: 4px }
.offre .lien { padding: 0; display: inline-block; margin-top: 8px; color: var(--cerise-fonce); text-decoration: underline }
/* le petit plus */
.plus { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 18px }
.plus li { display: grid; gap: 6px; align-content: start; padding: 18px; border-radius: 20px; background: var(--papier); border: 1.5px dashed #F0C9D4 }
.plus h3 { font: 600 20px/1.2 var(--serif) }
.plus p { color: var(--vin-doux); font-size: 16px }
.plus i { font: 400 28px/1 var(--vhs); color: var(--cerise) }
/* infos en bas de l’accueil */
.infos-bande { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; align-items: start; padding: clamp(20px, 3vw, 32px); border-radius: 26px; background: linear-gradient(135deg, var(--menthe-pale), var(--beurre-pale)) }
.infos-bande h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.05; margin-bottom: 10px }
.infos-bande .adresse { font: 500 22px/1.3 var(--serif) }

/* générique (pied de page) */
.generique { margin-top: clamp(30px, 5vw, 56px); padding: 30px 0 34px; border-top: 2px dashed var(--trait); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .9fr); gap: 26px }
.generique p, .generique li { color: var(--vin-doux); font-size: 15px }
.g-logo { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px }
.g-logo b { font: 400 38px/1 var(--script); color: var(--cerise) }
.g-logo span { font: 600 17px/1 var(--serif); color: var(--vin) }
.g-titre { font: 400 20px/1 var(--vhs) !important; letter-spacing: .08em; color: var(--cerise-fonce) !important; margin-bottom: 10px }
.generique ul { display: grid; gap: 4px }
.generique a { color: var(--vin) }
.g-insta { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 600 }
.g-insta svg { width: 18px; height: 18px }
.g-bas { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 18px; border-top: 1px solid var(--trait); font: 400 19px/1.3 var(--vhs); letter-spacing: .04em; color: var(--vin-doux) }
.g-bas button { border: 0; background: none; padding: 0; cursor: pointer; font: inherit; color: var(--cerise-fonce); text-decoration: underline; text-underline-offset: 3px }

/* ---------- réserver ---------- */
.page-tete { display: grid; gap: 18px; justify-items: start; max-width: 50em }
.page-tete h1 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1 }
.reperes { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 10px; width: 100% }
.reperes div { padding: 12px 16px; border-radius: 16px; background: var(--papier); border: 1.5px solid var(--bord) }
.reperes dt { font: 400 18px/1 var(--vhs); letter-spacing: .08em; color: var(--cerise-fonce); text-transform: uppercase }
.reperes dd { margin: 4px 0 0; font: 600 17px/1.3 var(--serif) }
.atelier { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(22px, 4vw, 52px); align-items: center; padding-block: 26px }
.atelier.inverse > .vignette { order: 2 }
.atelier-texte { display: grid; gap: 12px; justify-items: start }
.atelier h3 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.05 }
.support { font: 500 19px/1.35 var(--serif); color: var(--vin) }
.badge-nouveau { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: var(--beurre); color: var(--vin); font: 400 17px/1.3 var(--vhs); letter-spacing: .06em; vertical-align: 2px }
.details { display: flex; flex-wrap: wrap; gap: 8px }
.details li { padding: 4px 12px; border-radius: 999px; background: var(--menthe-pale); font-size: 14px; font-weight: 500 }
.tarifs { width: min(100%, 460px); font-size: 16px }
.tarifs caption { text-align: left; caption-side: top; padding-bottom: 4px; font-size: 14px; color: var(--vin-doux) }
.tarifs th, .tarifs td { padding: 10px 0 10px 14px; border-bottom: 1px solid var(--trait); text-align: right; font-variant-numeric: tabular-nums }
.tarifs thead th { font-weight: 500; font-size: 14px; color: var(--vin-doux) }
.tarifs tbody th { padding-left: 0; text-align: left; font-weight: 500 }
.tarifs td { font: 600 20px/1 var(--sans) }
.resa { display: grid; gap: 26px }
.garanties { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px }
.garanties li { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 16px; background: var(--menthe-pale); font-weight: 500; font-size: 16px }
.garanties svg { width: 22px; height: 22px; flex: none; color: var(--menthe-fonce) }
.billetterie { border-radius: 28px; background: var(--papier); border: 1.5px solid var(--bord); box-shadow: 0 30px 60px -40px rgba(74, 18, 34, .7); overflow: hidden }
.resa-tete { padding: 22px 26px; background: linear-gradient(120deg, var(--rose-pale), var(--beurre-pale)) }
.resa-titre { font: 600 clamp(26px, 3vw, 36px)/1.1 var(--serif) }
.resa-sous { color: var(--vin-doux); margin-top: 4px }
.resa-corps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 0 }
.resa-choix { display: grid; gap: 22px; align-content: start; padding: 24px 26px 26px; counter-reset: etape; border-right: 1.5px dashed var(--bord) }
.choix-groupe { border: 0; margin: 0; padding: 0; min-width: 0 }
.choix-groupe legend, .choix-legende { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 0; font: 600 20px/1.2 var(--serif) }
.etape-num::before { counter-increment: etape; content: counter(etape); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--cerise); color: #FFFFFF; font: 400 22px/1 var(--vhs) }
.choix-ateliers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px }
.tuile, .tarif { position: relative; cursor: pointer }
.tuile input, .tarif input { position: absolute; opacity: 0; pointer-events: none }
.tuile-corps { position: relative; display: grid; justify-items: center; gap: 6px; height: 100%; padding: 14px 8px 12px; border-radius: 16px; border: 2px solid #F0D9DF; background: var(--creme); text-align: center; transition: border-color .15s, background .15s }
.tuile-corps svg { width: 44px; height: 44px }
.tuile-texte { display: grid; gap: 1px }
.tuile-texte b, .tarif b { font: 600 17px/1.2 var(--serif) }
.tuile-texte small, .tarif small { font-size: 13px; color: var(--vin-doux) }
.tuile-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 1px 9px; border-radius: 999px; background: var(--beurre); font: 400 15px/1.3 var(--vhs); letter-spacing: .05em; white-space: nowrap }
.tuile input:checked + .tuile-corps, .tarif input:checked + span { border-color: var(--cerise); background: var(--rose-pale) }
.tuile input:focus-visible + .tuile-corps, .tarif input:focus-visible + span { outline: 3px solid var(--cerise); outline-offset: 2px }
.choix-tarifs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(110px, 100%), 1fr)); gap: 10px }
.choix-tarifs.choix-tailles { grid-template-columns: repeat(2, minmax(0, 1fr)) }
.tarif span { display: grid; gap: 1px; padding: 12px 14px; border-radius: 14px; border: 2px solid #F0D9DF; background: var(--creme); transition: border-color .15s, background .15s }
.choix-note { margin-top: 8px; font-size: 14px; color: var(--vin-doux) }
/* pour qui : un compteur par tarif, comme le compteur d’un magnétoscope */
.personnes { display: grid; gap: 8px }
.personne { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px 8px 16px; border-radius: 14px; border: 2px solid #F0D9DF; background: var(--creme); transition: border-color .15s, background .15s }
.personne.active { border-color: var(--cerise); background: var(--rose-pale) }
.personne-nom { display: grid; gap: 1px; min-width: 0 }
.personne-nom b { font: 600 17px/1.2 var(--serif) }
.personne-nom small { font-size: 13px; color: var(--vin-doux) }
.compteur { display: flex; align-items: center; gap: 4px; flex: none }
.cpt { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 2px solid var(--cerise); background: var(--papier); color: var(--cerise-fonce); cursor: pointer; transition: background .15s, color .15s, opacity .15s }
.cpt svg { width: 18px; height: 18px }
.cpt:hover:not(:disabled) { background: var(--cerise); color: #FFFFFF }
.cpt:disabled { opacity: .3; cursor: default }
.compteur output { min-width: 2.2ch; text-align: center; font: 400 32px/1 var(--vhs); color: var(--vin) }
/* à plusieurs : le plan des réservations, au-dessus du calendrier */
.resa-plan { display: grid; gap: 10px; margin-bottom: 14px; padding: 14px 16px; border-radius: 16px; background: var(--beurre-pale); border: 1.5px solid #F4E1A8 }
.resa-plan-titre { font: 600 18px/1.3 var(--serif) }
.resa-lots { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none }
.resa-lot { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 14px 4px 5px; border-radius: 999px; border: 2px solid #F0D9DF; background: var(--creme); font: 500 15px/1.2 var(--sans); color: var(--vin); cursor: pointer; text-align: left }
.resa-lot-num { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--rose-pale); color: var(--cerise-fonce); font: 400 21px/1 var(--vhs) }
.resa-lot[aria-current="step"] { border-color: var(--cerise); background: var(--papier) }
.resa-lot[aria-current="step"] .resa-lot-num { background: var(--cerise); color: #FFFFFF }
.resa-indice { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--vin) }
.resa-indice svg { flex: none; width: 22px; height: 22px; color: var(--cerise) }
.resa-indice b { color: var(--cerise-fonce) }
.resa-suivant { width: 100%; margin-top: 14px }
.choix-total { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-radius: 18px; background: var(--beurre-pale) }
.choix-total p:first-child { display: grid }
.choix-resume { font: 600 19px/1.3 var(--serif) }
.choix-detail { font-size: 15px; color: var(--vin-doux) }
.choix-prix { display: grid; justify-items: end }
.choix-prix b { font: 600 36px/1 var(--sans); letter-spacing: -.01em }
.choix-prix span { font-size: 13px; color: var(--vin-doux) }
.etape-creneau { display: grid; gap: 12px; align-content: start; padding: 24px 26px 26px; min-width: 0 }
.resa-invite { display: grid; justify-items: center; gap: 12px; align-content: center; min-height: 300px; padding: 26px; border-radius: 20px; background: var(--creme); border: 2px dashed #F0D9DF; text-align: center; color: var(--vin-doux) }
.resa-invite svg { width: 64px; height: 64px }
.sb-cadre { position: relative; min-height: 520px; border-radius: 18px; overflow: hidden; background: var(--creme); border: 1.5px solid var(--bord) }
#sb-widget iframe { display: block; width: 100% !important; border: 0 }
.attente { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; background: var(--creme); font: 400 22px/1 var(--vhs); letter-spacing: .06em; color: var(--vin-doux) }
.rond { width: 44px; height: 44px; border-radius: 50%; border: 5px solid var(--rose-pale); border-top-color: var(--cerise); animation: tourne .9s linear infinite }
@keyframes tourne { to { transform: rotate(360deg) } }
.resa-mp, .secours { display: grid; gap: 12px; justify-items: start; padding: 20px; border-radius: 18px; background: var(--menthe-pale); border: 1.5px solid #B7E6D4 }
.resa-pied { display: flex; align-items: center; gap: 8px; padding: 14px 26px; border-top: 1.5px dashed var(--bord); font-size: 14px; color: var(--vin-doux) }
.resa-pied svg { width: 18px; height: 18px; color: var(--menthe-fonce) }
.episodes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 18px; counter-reset: episode }
.episodes li { display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: 20px; background: var(--papier); border: 1.5px solid var(--bord) }
.episodes .ep { font: 400 22px/1 var(--vhs); letter-spacing: .06em; color: var(--cerise) }
.episodes h3 { font: 600 20px/1.2 var(--serif) }
.episodes p { color: var(--vin-doux); font-size: 16px }
.faq-grille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 48px); align-items: start }
.faq-grille .tete { margin-bottom: 0; justify-items: start }
.faq { display: grid; gap: 10px }
.faq details { border-radius: 16px; background: var(--papier); border: 1.5px solid var(--bord); padding: 0 18px }
.faq summary { cursor: pointer; padding: 16px 0; font: 600 18px/1.3 var(--serif); list-style: none; display: flex; justify-content: space-between; gap: 12px }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; font: 400 28px/1 var(--vhs); color: var(--cerise) }
.faq details[open] summary::after { content: "–" }
.faq details p { padding: 0 0 16px; color: var(--vin-doux) }
.passerelle { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 24px 28px; border-radius: 24px; background: linear-gradient(120deg, var(--rose-pale), var(--beurre-pale)) }
.passerelle p { display: grid; gap: 2px }
.passerelle b { font: 600 24px/1.2 var(--serif) }
.passerelle span { color: var(--vin-doux) }

/* ---------- abonnements ---------- */
.cassettes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 24px }
.abo { display: grid; gap: 14px; align-content: start }
.cassette { display: grid; gap: 14px; padding: 16px 16px 18px; border-radius: 22px; box-shadow: 0 26px 44px -30px rgba(74, 18, 34, .7) }
.cassette.c-rose { background: var(--rose) } .cassette.c-beurre { background: var(--beurre) } .cassette.c-menthe { background: var(--menthe) }
.cassette-etiquette { display: grid; gap: 6px; padding: 14px 16px 16px; border-radius: 12px; background: var(--papier) }
.cassette-etiquette .face { display: flex; justify-content: space-between; font: 400 20px/1 var(--vhs); color: var(--cerise-fonce); letter-spacing: .06em }
.cassette-etiquette h3 { font-size: 30px; line-height: 1.05 }
.cassette-etiquette .pour { font-size: 15px; color: var(--vin-doux) }
.montant b { font: 600 38px/1 var(--sans); letter-spacing: -.01em }
.montant span { color: var(--vin-doux) }
.bobines { display: flex; justify-content: center; gap: 70px }
.bobines i { width: 46px; height: 46px; border-radius: 50%; border: 9px solid var(--papier); background: rgba(74, 18, 34, .18); animation: tourne 3s linear infinite }
.bobines i::before { content: ""; display: block; width: 6px; height: 6px; margin: 11px auto 0; border-radius: 50%; background: var(--papier) }
.abo-details { display: grid; gap: 2px; padding: 0 4px; color: var(--vin-doux) }
.abo-details li::before { content: "✦ "; color: var(--cerise) }
.abo-calcul { padding: 0 4px }
.abo-cta { display: grid; gap: 8px; justify-items: start; padding: 0 4px }
.abo-ou { font-size: 14px; color: var(--vin-doux) }
.etapes-abo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 18px; counter-reset: pas }
.etapes-abo li { display: grid; gap: 8px; align-content: start; justify-items: start; padding: 20px; border-radius: 20px; background: var(--papier); border: 1.5px solid var(--bord) }
.etapes-abo li::before { counter-increment: pas; content: "0" counter(pas); font: 400 30px/1 var(--vhs); color: var(--cerise) }
.etapes-abo h3 { font: 600 20px/1.2 var(--serif) }
.etapes-abo p { color: var(--vin-doux); font-size: 16px }
.sur-place { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 22px; padding: 22px 26px; border-radius: 22px; background: var(--menthe-pale); border: 1.5px dashed #9FD8C2 }
.sur-place b { display: block; font: 600 20px/1.3 var(--serif) }
.sur-place span { color: var(--vin-doux) }

/* ---------- infos ---------- */
.infos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch }
.fiche { display: grid; gap: 18px; align-content: start; padding: clamp(20px, 3vw, 34px); border-radius: 26px; background: var(--papier); border: 1.5px solid var(--bord) }
.adresse { font: 500 26px/1.3 var(--serif) }
.horaires { width: 100% }
.horaires th, .horaires td { padding: 12px 0; border-bottom: 1px solid var(--trait); text-align: left; font-weight: 400 }
.horaires td { padding-left: 14px; text-align: right; white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums }
.colonne-droite { display: grid; gap: 22px; align-content: start }
.enseigne { position: relative; display: grid; place-items: center; min-height: 300px; padding: 70px 24px 36px; border-radius: 26px; background: linear-gradient(150deg, #FFEFF4, #FFF6DD); text-align: center; overflow: hidden }
.enseigne-cadre { position: relative; display: grid; justify-items: center; gap: 4px; padding: 18px clamp(22px, 4vw, 46px) 24px; border-radius: 30px; border: 3px solid #FF9DBA; box-shadow: 0 0 0 7px rgba(255, 143, 177, .16), 0 0 30px rgba(255, 111, 145, .5), inset 0 0 24px rgba(255, 111, 145, .28); background: rgba(255, 255, 255, .55) }
.enseigne-cadre::before { content: ""; position: absolute; left: 24%; right: 24%; bottom: 100%; height: 56px; border-left: 3px dotted #C9A99A; border-right: 3px dotted #C9A99A }
.enseigne b { font: 400 clamp(64px, 7vw, 108px)/1 var(--script); color: var(--cerise); text-shadow: 0 0 4px rgba(255, 255, 255, .9), 0 0 16px rgba(255, 111, 145, .75), 0 0 40px rgba(255, 111, 145, .45); animation: neon 6s steps(1) infinite }
@keyframes neon { 61% { opacity: .5 } 62% { opacity: 1 } 64% { opacity: .62 } 65% { opacity: 1 } }
.enseigne span { font: 400 28px/1 var(--vhs); letter-spacing: .22em; color: var(--vin) }
.enseigne > svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none }
.bon-a-savoir { display: grid; gap: 12px; padding: 22px 24px; border-radius: 20px; background: var(--menthe-pale); border: 1.5px dashed #9FD8C2 }
.bon-a-savoir h2 { font: 400 22px/1 var(--vhs); letter-spacing: .08em; color: var(--menthe-fonce) }
.bon-a-savoir ul { display: grid; gap: 10px }
.bon-a-savoir li { padding-left: 22px; position: relative; color: var(--vin-doux) }
.bon-a-savoir li::before { content: "✦"; position: absolute; left: 0; color: var(--cerise) }
.bon-a-savoir b { color: var(--vin) }

/* ---------- 404 : pas de signal ---------- */
.pas-de-signal { position: relative; display: grid; gap: 18px; justify-items: start; padding: clamp(24px, 4vw, 44px); border-radius: 28px; overflow: hidden; background: var(--papier); border: 1.5px solid var(--bord) }
.pas-de-signal::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5; background: repeating-linear-gradient(90deg, #FFF6EC 0 14.28%, #FFD45E 14.28% 28.56%, #8EC5FF 28.56% 42.84%, #8FD9C0 42.84% 57.12%, #FF8FB1 57.12% 71.4%, #E23B5A 71.4% 85.68%, #B9A8F0 85.68% 100%) }
.pas-de-signal > * { position: relative; z-index: 1 }
.pas-de-signal .surtitre { padding: 6px 12px; border-radius: 10px; background: var(--papier) }
.pas-de-signal h1 { padding: 10px 16px; border-radius: 16px; background: var(--papier); font-size: clamp(36px, 4.4vw, 60px); line-height: 1.05 }
.pas-de-signal .chapo { padding: 10px 16px; border-radius: 14px; background: rgba(255, 255, 255, .92); color: var(--vin) }

/* ---------- mentions légales ---------- */
dialog.mentions { width: min(640px, calc(100vw - 32px)); max-height: min(80vh, 760px); padding: 0; border: 0; border-radius: 26px; background: var(--papier); color: var(--vin); box-shadow: 0 40px 80px -40px rgba(74, 18, 34, .7) }
dialog.mentions::backdrop { background: rgba(255, 231, 238, .75); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px) }
.mentions-corps { display: grid; gap: 10px; padding: 28px 30px 30px }
.mentions-corps h2 { font-size: 32px; padding-right: 48px }
.mentions-corps h3 { margin-top: 10px; font: 400 20px/1.1 var(--vhs); letter-spacing: .08em; color: var(--cerise-fonce); text-transform: uppercase }
.mentions-corps p { color: var(--vin-doux); font-size: 16px }
.fermer { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background: var(--rose-pale); color: var(--vin); display: grid; place-items: center }
.fermer svg { width: 18px; height: 18px }

/* ---------- illustrations claires animées ---------- */
.illu { display: block; overflow: visible }
.trait { stroke-dasharray: 1 1; stroke-dashoffset: 0 }
.trait-1 { animation: peint-1 11s linear infinite } .trait-2 { animation: peint-2 11s linear infinite } .trait-3 { animation: peint-3 11s linear infinite } .trait-4 { animation: peint-4 11s linear infinite }
@keyframes peint-1 { 0%, 56% { stroke-dashoffset: 0; opacity: 1 } 60% { stroke-dashoffset: 0; opacity: 0 } 60.5% { stroke-dashoffset: 1; opacity: 0 } 61%, 63% { stroke-dashoffset: 1; opacity: 1 } 72%, 100% { stroke-dashoffset: 0; opacity: 1 } }
@keyframes peint-2 { 0%, 56% { stroke-dashoffset: 0; opacity: 1 } 60% { stroke-dashoffset: 0; opacity: 0 } 60.5% { stroke-dashoffset: 1; opacity: 0 } 61%, 72% { stroke-dashoffset: 1; opacity: 1 } 81%, 100% { stroke-dashoffset: 0; opacity: 1 } }
@keyframes peint-3 { 0%, 56% { stroke-dashoffset: 0; opacity: 1 } 60% { stroke-dashoffset: 0; opacity: 0 } 60.5% { stroke-dashoffset: 1; opacity: 0 } 61%, 81% { stroke-dashoffset: 1; opacity: 1 } 89%, 100% { stroke-dashoffset: 0; opacity: 1 } }
@keyframes peint-4 { 0%, 56% { stroke-dashoffset: 0; opacity: 1 } 60% { stroke-dashoffset: 0; opacity: 0 } 60.5% { stroke-dashoffset: 1; opacity: 0 } 61%, 89% { stroke-dashoffset: 1; opacity: 1 } 94%, 100% { stroke-dashoffset: 0; opacity: 1 } }
.pinceau { transform-box: view-box; transform-origin: 322px 238px; animation: pinceau 2.4s ease-in-out infinite alternate }
@keyframes pinceau { from { transform: rotate(-7deg) } to { transform: rotate(5deg) } }
.coeur-sac { transform-box: fill-box; transform-origin: center; animation: battement 1.8s ease-in-out infinite }
@keyframes battement { 0%, 100% { transform: scale(1) } 15% { transform: scale(1.15) } 30% { transform: scale(1) } 45% { transform: scale(1.1) } 60% { transform: scale(1) } }
.etincelle { transform-box: fill-box; transform-origin: center; animation: scintille 3.3s ease-in-out infinite }
@keyframes scintille { 0%, 100% { transform: scale(.45) rotate(0deg); opacity: .5 } 50% { transform: scale(1) rotate(45deg); opacity: 1 } }
.goutte { transform-box: fill-box; transform-origin: center; animation: goutte 3.2s ease-in-out infinite }
.goutte:nth-of-type(2n) { animation-delay: -1.1s } .goutte:nth-of-type(3n) { animation-delay: -2.2s }
@keyframes goutte { 0%, 100% { transform: scale(1) } 50% { transform: scale(.82) } }
.breloque { transform-box: view-box; animation: balance 2.8s ease-in-out infinite alternate }
@keyframes balance { from { transform: rotate(-9deg) } to { transform: rotate(9deg) } }
.flamme { transform-box: view-box; transform-origin: 200px 156px; animation: flamme 1.8s ease-in-out infinite }
@keyframes flamme { 0%, 100% { transform: scale(1, 1) skewX(0deg) } 22% { transform: scale(.94, 1.06) skewX(2.5deg) } 48% { transform: scale(1.04, .95) skewX(-2deg) } 74% { transform: scale(.97, 1.04) skewX(1.5deg) } }
.halo { transform-box: fill-box; transform-origin: center; animation: halo 2.4s ease-in-out infinite }
@keyframes halo { 0%, 100% { opacity: .55; transform: scale(1) } 50% { opacity: .9; transform: scale(1.1) } }

/* ---------- écrans d’ordinateur peu hauts : commandes compactes ---------- */
@media (min-width: 700px) and (orientation: landscape) and (min-height: 501px) and (max-height: 800px) {
  .commandes { gap: 9px }
  .plaque { padding: 6px 6px 3px } .plaque b { font-size: 25px } .plaque span { font-size: 13px }
  .marche { width: 48px; height: 48px } .marche svg { width: 22px; height: 22px }
  .chaines { gap: 7px }
  .touche { min-height: 42px }
  .zap .touche { min-height: 38px; font-size: 20px }
  .molette i { width: 38px; height: 38px }
}
@media (min-width: 700px) and (orientation: landscape) and (min-height: 501px) and (max-height: 650px) { .plaque, .grille { display: none } }
@media (min-width: 700px) and (orientation: landscape) and (min-height: 501px) and (max-width: 1000px) { .heros, .atelier, .faq-grille { grid-template-columns: minmax(0, 1fr) } .atelier.inverse > .vignette { order: 0 } }
@media (max-width: 1180px) { .resa-corps { grid-template-columns: minmax(0, 1fr) } .resa-choix { border-right: 0; border-bottom: 1.5px dashed var(--bord) } }

/* ---------- téléphone, tablette en portrait, téléphone en paysage : version tactile ----------
   La page défile normalement, comme une appli : en haut, la barre de la télé (logo et chaîne en cours) ;
   en bas, la télécommande. L’écran de la télé prend toute la largeur. */
@media (max-width: 699px), (orientation: landscape) and (max-height: 500px), (min-width: 700px) and (max-width: 1100px) and (orientation: portrait) {
  :root { --barre: 58px; --telecommande: 66px; --couloir: 66px; --cote: 6px }
  html, body { height: auto }
  html { scroll-padding-top: calc(var(--barre) + env(safe-area-inset-top, 0px) + 14px); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100% }
  body { overflow: visible; overflow-x: clip; min-height: 100%; background: var(--coque) }
  section[id], article[id], form[id], div[id="billetterie"] { scroll-margin-top: 0 }
  .salon { display: block; place-items: normal; justify-items: normal; height: auto; padding: 0 }
  .tele { display: block; width: auto; height: auto; border-radius: 0; background: linear-gradient(180deg, var(--coque), var(--coque-fonce)); box-shadow: none; min-height: 100vh;
    padding: calc(var(--barre) + env(safe-area-inset-top, 0px) + 8px) max(var(--cote), env(safe-area-inset-right, 0px)) calc(var(--telecommande) + var(--couloir) + env(safe-area-inset-bottom, 0px) + 10px) max(var(--cote), env(safe-area-inset-left, 0px)) }
  .tele::after, .antenne-tv { display: none }
  .tele.pop { animation: none }
  .ecran-cadre { padding: 6px; border-radius: 24px; min-height: calc(100vh - var(--barre) - var(--telecommande) - var(--couloir) - 30px) }
  .ecran { height: auto; min-height: calc(100vh - var(--barre) - var(--telecommande) - var(--couloir) - 42px); overflow: visible; border-radius: 19px }
  .defile { position: static; overflow: visible; animation: none !important }
  .vitre { box-shadow: none; background: repeating-linear-gradient(to bottom, rgba(74, 18, 34, .022) 0 1px, transparent 1px 4px) }
  .ecran.parasite main, html.arrivee .ecran main { animation: roule .4s steps(6) }
  .tele.allumage main { animation: allumage .7s ease-out }
  .tele.eteinte main, .tele.eteinte .generique { visibility: hidden }
  .neige, .ecran::after { position: fixed; inset: 0; z-index: 35; border-radius: 0 }
  .mire { position: fixed; inset: 0; z-index: 40 }
  .eteinte-message { position: fixed; inset: 0; z-index: 19 }
  /* barre du haut : logo et chaîne en cours */
  .bandeau { position: fixed; z-index: 20; top: 0; left: 0; right: 0; height: calc(var(--barre) + env(safe-area-inset-top, 0px)); margin: 0;
    padding: env(safe-area-inset-top, 0px) max(12px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px));
    border: 0; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: flex-start; gap: 14px;
    background: var(--coque); box-shadow: 0 8px 18px -14px rgba(74, 18, 34, .6), inset 0 -3px 0 rgba(74, 18, 34, .06) }
  .bandeau .logo { padding: 5px 12px 3px; border-radius: 14px; background: var(--creme); box-shadow: inset 0 0 0 1.5px rgba(74, 18, 34, .14); white-space: nowrap }
  .bandeau .logo b { font-size: 30px }
  .bandeau .logo span { font-size: 15px }
  .direct { display: none }
  .osd { position: fixed; z-index: 21; top: calc(env(safe-area-inset-top, 0px) + 7px); right: max(12px, env(safe-area-inset-right, 0px)); height: calc(var(--barre) - 14px);
    display: grid; align-content: center; justify-items: end; gap: 1px; padding: 2px 10px; border-radius: 12px; background: var(--creme);
    box-shadow: inset 0 0 0 1.5px rgba(74, 18, 34, .14); opacity: 1; transition: box-shadow .3s }
  .osd.visible { box-shadow: inset 0 0 0 1.5px rgba(17, 160, 106, .55), 0 0 0 3px rgba(17, 160, 106, .18) }
  .osd-ch { font-size: 24px; line-height: .85 }
  .osd-nom { font-size: 13px; letter-spacing: .06em }
  /* télécommande en bas */
  .commandes { position: fixed; z-index: 20; left: 0; right: 0; bottom: calc(var(--couloir) + env(safe-area-inset-bottom, 0px)); flex-direction: row; align-items: center; gap: 6px;
    min-height: var(--telecommande);
    padding: 7px max(10px, env(safe-area-inset-right, 0px)) 7px max(10px, env(safe-area-inset-left, 0px));
    border-radius: 22px 22px 0 0; background: linear-gradient(180deg, var(--coque), var(--coque-fonce));
    box-shadow: 0 -10px 24px -16px rgba(74, 18, 34, .6), inset 0 3px 0 rgba(255, 255, 255, .5) }
  .plaque, .grille, #couleur, .zap, .ligne-marche .voyant { display: none }
  .ligne-marche { padding: 0 }
  .marche { width: 46px; height: 46px; flex: none }
  .marche svg { width: 22px; height: 22px }
  .chaines { flex: 1 1 auto; display: flex; gap: 5px; min-width: 0 }
  .touche { flex: 1 1 auto; min-width: 0; grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 0; min-height: 50px; padding: 4px; font-size: 11px; box-shadow: 0 4px 0 #D0AFA6, 0 6px 10px -6px rgba(74, 18, 34, .35) }
  .touche b { font-size: 24px }
  .touche span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
  .reglages { margin: 0; gap: 8px; flex: none }
  .molette { font-size: 14px }
  .molette i { width: 34px; height: 34px }
  .molette i::after { top: 3px; height: 10px }
  .ticker-etiquette { font-size: 18px; padding: 0 10px }
  .ticker-piste span { font-size: 19px; padding: 9px 0 }
  /* bande du bas : la bulle « Powered by Netlify » s’y loge à droite, sans gêner les touches */
  .couloir { display: flex; position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; height: calc(var(--couloir) + env(safe-area-inset-bottom, 0px)); align-items: flex-start;
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(16px, env(safe-area-inset-left, 0px));
    background: var(--coque-fonce); box-shadow: inset 0 2px 0 rgba(74, 18, 34, .08) }
  .couloir p { display: flex; align-items: center; gap: 8px; font: 400 16px/1.2 var(--vhs); letter-spacing: .08em; color: var(--vin); white-space: nowrap; overflow: hidden }
  .couloir i { width: 9px; height: 9px; border-radius: 50%; background: var(--cerise); flex: none; animation: rec 1.4s steps(1) infinite }
  .couloir span { display: none }
}
/* téléphone en portrait : tout sur une colonne */
@media (max-width: 699px) {
  .heros, .atelier, .infos, .infos-bande, .faq-grille { grid-template-columns: minmax(0, 1fr) }
  .atelier.inverse > .vignette { order: 0 }
  .generique { grid-template-columns: minmax(0, 1fr) }
  .enseigne { min-height: 260px }
  .offre { grid-template-columns: minmax(0, 1fr) }
  .heros h1 .h1-sur { font-size: 19px }
}
@media (max-width: 370px) {
  .bandeau { gap: 8px }
  .bandeau .logo { padding: 5px 9px 3px }
  .bandeau .logo b { font-size: 24px }
  .bandeau .logo span { font-size: 12px }
  .osd { padding: 2px 8px }
  .osd-ch { font-size: 22px } .osd-nom { font-size: 12px; letter-spacing: .04em }
  .couloir { padding-left: 12px }
  .couloir p { font-size: 14px; gap: 6px }
  .marche { width: 40px; height: 40px }
  .touche { padding: 4px 2px; font-size: 10px }
  .molette i { width: 30px; height: 30px }
}
/* téléphone en paysage : barres plus fines */
@media (orientation: landscape) and (max-height: 500px) {
  :root { --barre: 48px; --telecommande: 56px; --couloir: 0px }
  /* en paysage, pas de bande : la télécommande laisse sa partie droite libre pour la bulle Netlify */
  .couloir { display: none }
  .commandes { padding-right: max(214px, env(safe-area-inset-right, 0px)) }
  .bandeau .logo b { font-size: 26px }
  .osd { display: flex; align-items: baseline; gap: 8px }
  .osd-ch { font-size: 22px } .osd-nom { font-size: 15px }
  .touche { grid-template-columns: auto auto; gap: 6px; min-height: 42px; font-size: 13px }
  .touche b { font-size: 22px }
  .marche { width: 40px; height: 40px }
}
/* tablette en portrait (iPad) : barres plus généreuses, toutes les touches */
@media (min-width: 700px) and (max-width: 1100px) and (orientation: portrait) {
  :root { --barre: 68px; --telecommande: 80px; --couloir: 66px; --cote: 16px }
  .couloir span { display: inline }
  .couloir p { font-size: 18px }
  .ecran-cadre { padding: 10px; border-radius: 30px }
  .ecran { border-radius: 22px }
  .bandeau .logo b { font-size: 36px }
  .bandeau .logo span { font-size: 17px }
  .direct { display: block; font-size: 19px }
  .osd-ch { font-size: 30px } .osd-nom { font-size: 15px }
  .commandes { gap: 10px; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)) }
  .marche { width: 54px; height: 54px }
  .ligne-marche .voyant { display: block }
  .ligne-marche { gap: 10px }
  .chaines { gap: 8px }
  .touche { min-height: 58px; font-size: 13px }
  .touche b { font-size: 26px }
  .zap { display: grid; flex: none; grid-template-columns: 54px 54px; gap: 8px }
  .zap .touche { min-height: 50px; font-size: 18px }
  #couleur { display: grid }
  .molette i { width: 40px; height: 40px }
}
@media (max-width: 480px) {
  .choix-ateliers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px }
  .tuile-corps { padding: 14px 4px 10px }
  .tuile-corps svg { width: 36px; height: 36px }
  .resa-choix, .etape-creneau, .resa-tete { padding-inline: 16px }
  .sb-cadre { min-height: 560px }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important }
  .defile { scroll-behavior: auto }
}

/* première visite : la mire couvre l’écran dès l’affichage ; arrivée par zapping : neige brève */
html.premiere .mire[hidden] { display: grid !important }
html.premiere .ecran > .mire { animation: allumage .7s ease-out }
.ecran::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; border-radius: inherit; mix-blend-mode: multiply;
  background: 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 .55 0 0 0 0 .5 0 0 0 0 .52 0 0 0 1.3 -.2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>") 0 0 / 180px 180px }
html.arrivee .ecran::after { animation: neige-arrivee .5s steps(5) forwards }
html.arrivee .ecran .defile { animation: roule .45s steps(6) }
@keyframes neige-arrivee { 0% { opacity: .95; background-position: 0 0 } 25% { background-position: 40px 70px } 50% { opacity: .8; background-position: 90px 20px } 75% { background-position: 20px 120px } 100% { opacity: 0; background-position: 130px 60px } }
@media (prefers-reduced-motion: reduce) { html.premiere .mire[hidden] { display: none !important } }
