/* Cartoonez — « film d'animation au coucher du soleil » */
@font-face { font-family: "Fredoka"; src: url("assets/fonts/fredoka.woff2") format("woff2"); font-weight: 300 700; font-stretch: 75% 125%; font-display: swap; }
@font-face { font-family: "Mona Sans"; src: url("assets/fonts/mona-sans.woff2") format("woff2"); font-weight: 200 900; font-stretch: 75% 125%; font-display: swap; }

:root {
  --nuit: #0e1230;
  --nuit-2: #161b44;
  --nuit-3: #22285c;
  --violet: #4a2a6b;
  --corail: #ff6b4a;
  --corail-fonce: #d9472a;
  --peche: #ff8a5b;
  --ambre: #ffb238;
  --miel: #ffd27a;
  --creme: #fff4e3;
  --creme-2: #f6e6cf;
  --texte-doux: #cdc3d9;
  --titre: "Fredoka", "Arial Rounded MT Bold", "Segoe UI", system-ui, sans-serif;
  --texte: "Mona Sans", "Segoe UI", system-ui, sans-serif;
  --rayon: 28px;
  --ressort: cubic-bezier(.34, 1.56, .64, 1);
  --doux-sortie: cubic-bezier(.22, 1, .36, 1);
  --marge: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--nuit); color: var(--creme);
  font-family: var(--texte); font-size: clamp(16px, 1.05vw + 10px, 18.5px); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titre); font-weight: 650; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
em { font-style: normal; color: var(--ambre); }
::selection { background: var(--corail); color: var(--nuit); }
:focus-visible { outline: 3px solid var(--ambre); outline-offset: 3px; border-radius: 8px; }

.evitement { position: fixed; left: 16px; top: 16px; transform: translateY(-300%); z-index: 100; background: var(--ambre); color: var(--nuit); padding: 10px 16px; border-radius: 12px; font-weight: 700; text-decoration: none; transition: top .2s; }
.evitement:focus { transform: none; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.conteneur { width: min(1180px, 100% - 2 * var(--marge)); margin-inline: auto; }
.conteneur-etroit { width: min(860px, 100% - 2 * var(--marge)); }

/* ---------- Logo aux yeux qui suivent ---------- */
.logo { display: inline-flex; align-items: center; font-family: var(--titre); font-weight: 700; font-size: 28px; letter-spacing: -.02em; text-decoration: none; color: var(--creme); line-height: 1; margin: 0; }
.yeux { display: inline-flex; gap: 1px; margin: 0 1px; transform: translateY(1px); }
.yeux i { width: .56em; height: .66em; border-radius: 50%; background: var(--creme); position: relative; display: block; box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); }
.yeux b { position: absolute; width: .26em; height: .28em; left: 50%; top: 50%; margin: -.14em 0 0 -.13em; background: var(--nuit); border-radius: 50%; transform: translate(var(--ox, 0px), var(--oy, 0px)); transition: transform .12s linear; }
.yeux b::after { content: ""; position: absolute; width: 30%; height: 30%; border-radius: 50%; background: #fff; left: 20%; top: 18%; }
.logo:hover .yeux i { animation: cligne .35s; }
@keyframes cligne { 50% { transform: scaleY(.1); } }

/* ---------- En-tête ---------- */
.entete { position: fixed; inset: 14px 14px auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px 10px 10px 22px; border-radius: 999px; transition: background .4s, box-shadow .4s, transform .5s var(--doux-sortie); }
.entete.colle { background: rgba(14, 18, 48, .72); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 10px 40px rgba(0,0,0,.3), inset 0 0 0 1px rgba(255,244,227,.08); }
.entete.cache { transform: translateY(-120%); }
.menu { display: flex; gap: 4px; }
.menu a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 550; color: var(--texte-doux); transition: color .2s, background .2s; }
.menu a:hover { color: var(--creme); background: rgba(255,244,227,.08); }
@media (max-width: 960px) { .menu { display: none; } .entete .bouton-petit { padding: 10px 16px; font-size: 14px; } .logo { font-size: 24px; } }

/* ---------- Boutons vivants ---------- */
.bouton { --mx: 0px; --my: 0px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; font: 650 17px/1 var(--titre); letter-spacing: .01em; padding: 18px 28px; border-radius: 999px; text-decoration: none; transform: translate(var(--mx), var(--my)); transition: transform .35s var(--ressort), box-shadow .3s, background .3s, color .3s; isolation: isolate; overflow: hidden; }
.bouton::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(circle at var(--px, 50%) var(--py, 50%), rgba(255,255,255,.55), transparent 55%); opacity: 0; transition: opacity .3s; }
.bouton:hover::after { opacity: 1; }
.bouton:active { transform: translate(var(--mx), var(--my)) scale(.96); }
.bouton-ambre { background: linear-gradient(180deg, var(--miel), var(--ambre)); color: var(--nuit); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 -3px 0 rgba(166,90,0,.35) inset, 0 12px 30px -8px rgba(255,140,40,.6); }
.bouton-ambre:hover { box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 -3px 0 rgba(166,90,0,.35) inset, 0 18px 40px -8px rgba(255,140,40,.8); }
.bouton-verre { background: rgba(255,244,227,.1); color: var(--creme); box-shadow: inset 0 0 0 1px rgba(255,244,227,.25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding-left: 12px; }
.bouton-contour { background: transparent; color: var(--creme); box-shadow: inset 0 0 0 2px rgba(255,244,227,.35); }
.bouton-contour:hover { box-shadow: inset 0 0 0 2px var(--ambre); color: var(--ambre); }
.bouton-petit { padding: 13px 20px; font-size: 15px; }
.bouton-large { width: 100%; }
.fleche { display: inline-block; transition: transform .35s var(--ressort); }
.bouton:hover .fleche { transform: translateX(5px); }
.rond-lecture { width: 38px; height: 38px; border-radius: 50%; background: var(--corail); display: grid; place-items: center; transition: transform .35s var(--ressort); }
.rond-lecture svg { width: 16px; fill: var(--creme); margin-left: 2px; }
.bouton:hover .rond-lecture { transform: scale(1.12) rotate(-8deg); }

/* ---------- Héros : salle de cinéma ---------- */
.heros { position: relative; height: 260vh; height: 260svh; }
.heros-scene { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: radial-gradient(120% 80% at 50% 110%, #3a1f4f 0%, var(--nuit) 60%); }
.scene3d { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
.a-3d .scene3d { opacity: 1; }
.a-3d .repli { opacity: 0; visibility: hidden; transition: opacity 1s, visibility 0s 1s; }

/* Repli CSS : une scène avec rideau entrouvert */
.repli { position: absolute; inset: 0; perspective: 900px; }
.repli-ecran { position: absolute; left: 50%; top: 50%; width: min(78vw, 1000px); aspect-ratio: 16/9; transform: translate(-50%, -38%); border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 10px #2b1838, 0 0 0 14px #c98a2e, 0 0 120px 30px rgba(255,178,56,.35); }
.repli-ecran img { width: 100%; height: 100%; object-fit: cover; }
.rideau { position: absolute; top: 0; bottom: 0; width: 50%; background:
  linear-gradient(180deg, rgba(0,0,0,.35), transparent 30%, transparent 75%, rgba(0,0,0,.45)),
  repeating-linear-gradient(90deg, #8f1f22 0 18px, #c2362b 30px, #e2553a 40px, #b02c27 52px, #8f1f22 64px);
  transition: transform 1.6s var(--doux-sortie); box-shadow: 0 0 60px rgba(0,0,0,.6); }
.rideau-g { left: 0; transform: translateX(calc(-100% + 18vw)); border-radius: 0 0 60% 0 / 0 0 12% 0; }
.rideau-d { right: 0; transform: translateX(calc(100% - 18vw)); border-radius: 0 0 0 60% / 0 0 0 12%; }
.lambrequin { position: absolute; top: 0; left: 0; right: 0; height: 13vh; background:
  linear-gradient(180deg, rgba(0,0,0,.4), transparent),
  repeating-linear-gradient(90deg, #9b2324 0 20px, #c2362b 40px, #9b2324 60px);
  -webkit-mask: radial-gradient(70px 26px at 50% 100%, transparent 98%, #000 100%) 0 0/140px 100%; mask: radial-gradient(70px 26px at 50% 100%, transparent 98%, #000 100%) 0 0/140px 100%; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
@media (max-width: 700px) { .repli-ecran { width: 92vw; transform: translate(-50%, 30%); } .rideau-g, .rideau-d { transform: none; } .lambrequin { height: 9vh; } }

.vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(90% 70% at 50% 45%, transparent 50%, rgba(8,10,30,.75) 100%), linear-gradient(180deg, rgba(14,18,48,.55) 0%, transparent 28%, transparent 70%, var(--nuit) 100%); }
.heros-texte { position: absolute; z-index: 2; left: var(--marge); right: var(--marge); top: 50%; transform: translateY(-50%); max-width: 820px; will-change: transform, opacity; }
.heros-texte::before { content: ""; position: absolute; z-index: -1; inset: -35% -30% -35% -45%; background: radial-gradient(closest-side, rgba(8,10,30,.72), rgba(8,10,30,.35) 60%, transparent); pointer-events: none; }
.surtitre { display: inline-flex; align-items: center; gap: 10px; font: 600 14px/1 var(--texte); text-transform: uppercase; letter-spacing: .16em; color: var(--miel); margin-bottom: 22px; }
.pastille { width: 10px; height: 10px; border-radius: 50%; background: var(--corail); box-shadow: 0 0 0 0 rgba(255,107,74,.7); animation: pouls 2s infinite; }
@keyframes pouls { 70% { box-shadow: 0 0 0 12px rgba(255,107,74,0); } 100% { box-shadow: 0 0 0 0 rgba(255,107,74,0); } }
.titre-geant { font-size: clamp(54px, 10.5vw, 168px); font-weight: 700; line-height: .9; letter-spacing: -.035em; font-stretch: 112%; text-shadow: 0 8px 40px rgba(0,0,0,.45); margin-bottom: 26px; }
.titre-geant .ligne { display: block; overflow: hidden; padding: .04em .02em .08em; margin-bottom: -.08em; }
.titre-geant .ligne > span { display: inline-block; transform: translateY(105%) rotate(4deg); animation: monte 1.1s var(--doux-sortie) forwards; }
.titre-geant .ligne:nth-child(2) > span { animation-delay: .12s; }
.titre-geant em { background: linear-gradient(100deg, #ffe3a8, var(--miel) 40%, var(--ambre) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
@keyframes monte { to { transform: none; } }
.chapeau { font-size: clamp(18px, 1.6vw, 22px); color: var(--creme-2); max-width: 560px; margin-bottom: 34px; text-shadow: 0 2px 20px rgba(0,0,0,.6); opacity: 0; animation: apparait 1s .5s forwards; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; opacity: 0; animation: apparait 1s .7s forwards; }
@keyframes apparait { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.heros-fin { position: absolute; z-index: 2; left: 0; right: 0; bottom: 9vh; text-align: center; font: 600 clamp(20px, 2.4vw, 32px)/1.2 var(--titre); opacity: 0; visibility: hidden; transform: translateY(20px); pointer-events: none; text-shadow: 0 4px 24px rgba(0,0,0,.7); }
.heros-fin strong { color: var(--ambre); }
.heros-fin p { margin-bottom: 18px; }
.heros-fin .bouton { pointer-events: auto; }
.defiler { position: absolute; z-index: 2; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-doux); margin: 0; transition: opacity .4s; white-space: nowrap; }
.defiler span { width: 22px; height: 34px; border: 2px solid currentColor; border-radius: 12px; position: relative; }
.defiler span::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: var(--ambre); animation: molette 1.8s infinite; }
@keyframes molette { 60% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 700px) {
  .heros-texte { top: 16vh; transform: none; }
  .titre-geant { font-size: clamp(50px, 15.5vw, 80px); }
  .chapeau { font-size: 17px; margin-bottom: 24px; }
  .actions .bouton { padding: 15px 20px; font-size: 16px; }
  .defiler { display: none; }
}

/* ---------- Bande de film ---------- */
.pellicule { position: relative; z-index: 3; background: #07081c; padding: 26px 0; transform: rotate(-2deg) scale(1.04); margin: -40px 0 0; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.pellicule::before, .pellicule::after { content: ""; position: absolute; left: 0; right: 0; height: 10px; background: repeating-linear-gradient(90deg, transparent 0 14px, rgba(255,244,227,.85) 14px 28px, transparent 28px 40px); border-radius: 3px; }
.pellicule::before { top: 7px; } .pellicule::after { bottom: 7px; }
.pellicule-piste { display: flex; width: max-content; animation: defile 38s linear infinite; }
.pellicule ul { display: flex; list-style: none; margin: 0; padding: 0; }
.pellicule li { font: 600 clamp(22px, 3vw, 40px)/1 var(--titre); padding: 10px 26px; white-space: nowrap; display: flex; align-items: center; gap: 52px; color: var(--creme); }
.pellicule li::after { content: "✦"; color: var(--corail); font-size: .6em; }
.pellicule li:nth-child(3n+2) { color: var(--ambre); }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(90px, 13vw, 180px) 0; }
.titre { font-size: clamp(38px, 5.6vw, 78px); font-weight: 650; letter-spacing: -.025em; margin-bottom: 26px; text-wrap: balance; }
.titre-xl { font-size: clamp(42px, 6.6vw, 96px); }
.doux { color: var(--texte-doux); font-weight: 500; }
.intro { font-size: clamp(18px, 1.5vw, 21px); color: var(--creme-2); max-width: 640px; margin-bottom: 50px; }
.js .revele { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--doux-sortie), transform 1s var(--doux-sortie); transition-delay: var(--retard, 0s); }
.js .revele.vu { opacity: 1; transform: none; }

/* Faisceau du projecteur qui balaie les sections */
.faisceau { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.faisceau::before { content: ""; position: absolute; left: 50%; top: -30%; width: 200%; height: 160%; margin-left: -100%; background: conic-gradient(from calc(180deg + var(--angle, 0deg) - 14deg) at 50% 0%, transparent 0deg, rgba(255,180,100,.07) 10deg, rgba(255,180,100,.11) 14deg, rgba(255,180,100,.07) 18deg, transparent 28deg); filter: blur(6px); }
.section > .conteneur { position: relative; z-index: 1; }

/* ---------- Problème ---------- */
.probleme { background: linear-gradient(180deg, var(--nuit) 0%, var(--nuit-2) 100%); }
.cartes-probleme { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 60px; }
.carte-probleme { --rx: 0deg; --ry: 0deg; background: var(--creme); color: var(--nuit); border-radius: var(--rayon); padding: 30px 26px 26px; transform-style: preserve-3d; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.js .carte-probleme.vu { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) rotate(var(--penche, 0deg)); transition: transform .5s var(--doux-sortie), opacity 1s; }
.carte-probleme:nth-child(1) { --penche: -2deg; } .carte-probleme:nth-child(2) { --penche: 1.5deg; --retard: .08s; } .carte-probleme:nth-child(3) { --penche: -1deg; --retard: .16s; } .carte-probleme:nth-child(4) { --penche: 2deg; --retard: .24s; }
.carte-probleme:nth-child(2) { background: var(--miel); } .carte-probleme:nth-child(3) { background: var(--peche); } .carte-probleme:nth-child(4) { background: #c9b8f0; }
.doodle { width: 64px; height: 64px; margin-bottom: 26px; color: var(--nuit); transition: transform .5s var(--ressort); }
.carte-probleme:hover .doodle { transform: rotate(-12deg) scale(1.1); }
.carte-probleme h3 { font-size: 27px; margin-bottom: 12px; }
.carte-probleme p { margin: 0; font-size: 16px; line-height: 1.5; color: #2a2550; }
@media (max-width: 1000px) { .cartes-probleme { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cartes-probleme { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Démo ---------- */
.demo { background: radial-gradient(70% 60% at 85% 40%, rgba(255,107,74,.22), transparent 70%), var(--nuit-2); overflow: hidden; }
.demo-grille { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.demo-texte > p { font-size: clamp(18px, 1.4vw, 20px); color: var(--creme-2); max-width: 580px; }
.demo-texte strong { color: var(--creme); }
.demo-points { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 22px; }
.demo-points li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.demo-points .num { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; font: 700 24px var(--titre); background: var(--corail); color: var(--nuit); transform: rotate(-6deg); box-shadow: 0 8px 24px -6px rgba(255,107,74,.7); }
.demo-points li:nth-child(2) .num { background: var(--ambre); transform: rotate(5deg); }
.demo-points li:nth-child(3) .num { background: var(--creme); }
.demo-points h3 { font-size: 22px; margin: 4px 0 6px; }
.demo-points p { margin: 0; color: var(--texte-doux); font-size: 16px; }
.demo-telephone { position: relative; justify-self: center; width: min(340px, 78vw); }
.telephone { position: relative; border-radius: 52px; padding: 12px; background: linear-gradient(145deg, #3a3f72, #11142f 60%, #2b2f5c); box-shadow: 0 0 0 2px #4b5190 inset, 0 60px 100px -30px rgba(0,0,0,.8), 0 0 120px -10px rgba(255,107,74,.45); transform: rotate(4deg); transition: transform .8s var(--doux-sortie); }
.demo-telephone:hover .telephone { transform: rotate(0deg) translateY(-8px); }
.telephone-ecran { border-radius: 42px; overflow: hidden; aspect-ratio: 9/16; background: #000; position: relative; }
.telephone-ecran img, .telephone-ecran video { width: 100%; height: 100%; object-fit: cover; }
.encoche { position: absolute; top: 24px; left: 50%; width: 92px; height: 26px; margin-left: -46px; background: #05060f; border-radius: 20px; }
.notif { position: absolute; z-index: 3; left: -18%; top: 15%; width: 260px; display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 22px; background: rgba(255,244,227,.95); color: var(--nuit); font-size: 14px; line-height: 1.35; box-shadow: 0 20px 50px -10px rgba(0,0,0,.6); transform: translateY(20px) scale(.9); opacity: 0; transition: transform .8s var(--ressort) .6s, opacity .5s .6s; }
.demo-telephone.vu .notif { transform: rotate(-4deg); opacity: 1; }
.notif-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; background: url("images/favicon.svg") center/cover; }
.legende { text-align: center; color: var(--texte-doux); font-size: 14px; margin-top: 26px; }
@media (max-width: 860px) { .demo-grille { grid-template-columns: 1fr; } .notif { left: -6%; top: 6%; width: 230px; } }

/* ---------- Avant / après ---------- */
.transfo { background: var(--nuit-2); padding-top: 40px; }
.avant-apres { position: relative; border-radius: var(--rayon); overflow: hidden; aspect-ratio: 16/9; box-shadow: 0 50px 120px -40px rgba(255,140,60,.45), 0 0 0 1px rgba(255,244,227,.1); user-select: none; touch-action: pan-y; }
.avant-apres img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aa-avant { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--coupe)) 0 0); }
.aa-poignee { position: absolute; top: 0; bottom: 0; left: var(--coupe); width: 4px; margin-left: -2px; background: var(--creme); box-shadow: 0 0 30px rgba(255,210,122,.9); pointer-events: none; }
.aa-poignee svg { max-width: none; position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; padding: 15px; margin: -29px 0 0 -29px; border-radius: 50%; background: var(--ambre); stroke: var(--nuit); stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .3s var(--ressort); }
.avant-apres:hover .aa-poignee svg { transform: scale(1.12); }
.aa-curseur { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; -webkit-appearance: none; appearance: none; }
.aa-curseur:focus-visible ~ .aa-poignee svg, .avant-apres:has(.aa-curseur:focus-visible) .aa-poignee svg { outline: 3px solid var(--creme); outline-offset: 3px; }
.aa-etiquette { position: absolute; top: 18px; padding: 8px 14px; border-radius: 999px; font: 600 14px/1 var(--titre); letter-spacing: .04em; pointer-events: none; }
.aa-etiquette-g { left: 18px; background: var(--creme); color: var(--nuit); }
.aa-etiquette-d { right: 18px; background: var(--corail); color: var(--nuit); }

/* ---------- Étapes ---------- */
.etapes { background: linear-gradient(180deg, var(--nuit-2), var(--nuit)); }
.etapes-cadre { position: relative; margin-top: 70px; }
.etapes-fil { position: absolute; top: 46px; left: 8%; width: 84%; height: 40px; overflow: visible; }
.etapes-fil path { fill: none; stroke: var(--ambre); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: var(--trace, 1); stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: .7; }
.etapes-liste { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 60px); position: relative; }
.etape:nth-child(2) { --retard: .12s; } .etape:nth-child(3) { --retard: .24s; }
.clap { position: relative; width: 112px; height: 96px; margin-bottom: 30px; }
.clap-haut { position: absolute; left: 0; top: 0; width: 112px; height: 26px; border-radius: 6px; background: repeating-linear-gradient(-55deg, var(--creme) 0 14px, var(--nuit) 14px 28px); box-shadow: inset 0 0 0 3px var(--creme); transform-origin: 6px 100%; transform: rotate(-24deg); transition: transform .45s var(--ressort); }
.etape.vu .clap-haut { animation: clap 1.1s var(--retard, 0s) 1 both; }
.etape:hover .clap-haut { transform: rotate(-30deg); }
@keyframes clap { 0% { transform: rotate(-24deg); } 45% { transform: rotate(-30deg); } 60% { transform: rotate(0); } 80% { transform: rotate(-6deg); } 100% { transform: rotate(-24deg); } }
.clap-bas { position: absolute; left: 0; bottom: 0; width: 112px; height: 70px; border-radius: 8px; background: linear-gradient(180deg, var(--nuit-3), #1a1e4a); box-shadow: inset 0 0 0 3px rgba(255,244,227,.25); display: grid; place-items: center; font: 700 40px/1 var(--titre); color: var(--ambre); }
.clap-bas::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 18px; border-radius: 8px 8px 0 0; background: repeating-linear-gradient(55deg, var(--creme) 0 14px, var(--nuit) 14px 28px); }
.clap-bas { padding-top: 18px; }
.delai { display: inline-block; font: 600 13px/1 var(--texte); letter-spacing: .12em; text-transform: uppercase; color: var(--nuit); background: var(--miel); padding: 7px 12px; border-radius: 999px; margin-bottom: 16px; }
.etape h3 { font-size: clamp(26px, 2.4vw, 32px); margin-bottom: 12px; }
.etape p:last-child { color: var(--texte-doux); }
@media (max-width: 860px) { .etapes-liste { grid-template-columns: 1fr; gap: 50px; } .etapes-fil { display: none; } }

/* ---------- Exemples ---------- */
.exemples { background: var(--nuit); }
.grille-films { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.film { --rx: 0deg; --ry: 0deg; position: relative; }
.js .film.vu { transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--doux-sortie), opacity 1s; }
.film:nth-child(3n+2) { --retard: .08s; } .film:nth-child(3n) { --retard: .16s; }
.film-bouton { all: unset; box-sizing: border-box; display: block; width: 100%; cursor: pointer; border-radius: var(--rayon); }
.film-bouton:focus-visible { outline: 3px solid var(--ambre); outline-offset: 4px; }
.film-image { display: block; position: relative; aspect-ratio: 16/10; border-radius: var(--rayon); overflow: hidden; background: var(--nuit-3); box-shadow: 0 30px 60px -25px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,244,227,.08); }
.film-image img, .film-image video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--doux-sortie); }
.film-bouton:hover .film-image img, .film-bouton:hover .film-image video { transform: scale(1.06); }
.film-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8,10,30,.85)); }
.film-etiquette { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 7px 13px; border-radius: 999px; background: var(--creme); color: var(--nuit); font: 600 13px/1 var(--titre); letter-spacing: .03em; }
.film-statut { position: absolute; z-index: 2; top: 14px; right: 14px; padding: 7px 12px; border-radius: 999px; background: rgba(14,18,48,.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--miel); font: 600 12px/1 var(--texte); letter-spacing: .08em; text-transform: uppercase; }
.film-statut.pret { background: var(--corail); color: var(--nuit); }
.film-lecture { position: absolute; z-index: 2; left: 50%; top: 45%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--ambre); display: grid; place-items: center; transform: scale(.85); opacity: .92; transition: transform .45s var(--ressort); box-shadow: 0 10px 40px rgba(255,160,50,.6); }
.film-lecture svg { width: 24px; fill: var(--nuit); margin-left: 3px; }
.film-bouton:hover .film-lecture { transform: scale(1.08); }
.film-texte { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 16px; }
.film-titre { display: block; font: 650 21px/1.1 var(--titre); margin-bottom: 6px; }
.film-accroche { display: block; font-size: 14px; color: var(--creme-2); line-height: 1.4; }
.film:first-child { grid-column: span 2; grid-row: span 2; }
.film:first-child .film-image { aspect-ratio: auto; height: 100%; min-height: 100%; }
.film:first-child .film-titre { font-size: clamp(24px, 2.6vw, 36px); }
.film:first-child .film-lecture { width: 88px; height: 88px; margin: -44px 0 0 -44px; }
.film:first-child .film-bouton { height: 100%; }
@media (max-width: 900px) { .grille-films { grid-template-columns: 1fr 1fr; } .film:first-child { grid-column: span 2; grid-row: auto; } .film:first-child .film-image { aspect-ratio: 16/9; height: auto; } }
@media (max-width: 560px) { .grille-films { grid-template-columns: 1fr; gap: 16px; } .film:first-child { grid-column: auto; } }

/* ---------- Offres en tickets de cinéma ---------- */
.offres { background: radial-gradient(60% 50% at 50% 0%, rgba(255,178,56,.16), transparent 70%), var(--nuit); }
.tickets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; margin-top: 50px; }
.ticket { --rx: 0deg; --ry: 0deg; position: relative; display: flex; flex-direction: column; padding: 38px 32px 32px; border-radius: 26px; background: var(--nuit-2); box-shadow: inset 0 0 0 1px rgba(255,244,227,.1);
  -webkit-mask: radial-gradient(circle 16px at 0 62%, transparent 98%, #000) , radial-gradient(circle 16px at 100% 62%, transparent 98%, #000); -webkit-mask-composite: source-in; mask: radial-gradient(circle 16px at 0 62%, transparent 98%, #000), radial-gradient(circle 16px at 100% 62%, transparent 98%, #000); mask-composite: intersect; }
.js .ticket.vu { transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--doux-sortie), opacity 1s; }
.ticket:nth-child(2) { --retard: .1s; } .ticket:nth-child(3) { --retard: .2s; }
.ticket-vedette { background: linear-gradient(160deg, #ff7a50, var(--corail-fonce) 70%); color: var(--nuit); box-shadow: 0 40px 90px -30px rgba(255,107,74,.7); }
.ticket-type { font: 600 13px/1 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--miel); margin-bottom: 14px; }
.ticket-vedette .ticket-type { color: var(--nuit); opacity: .75; }
.ticket h3 { font-size: 34px; margin-bottom: 18px; }
.prix { font: 700 clamp(40px, 4vw, 54px)/1 var(--titre); letter-spacing: -.02em; margin-bottom: 26px; padding-bottom: 26px; border-bottom: 2px dashed rgba(255,244,227,.2); }
.ticket-vedette .prix { border-color: rgba(14,18,48,.3); }
.prix span { display: block; font: 500 14px/1.4 var(--texte); letter-spacing: 0; color: var(--texte-doux); margin-bottom: 4px; }
.ticket-vedette .prix span { color: #3a1d2a; }
.prix small { font: 500 16px var(--texte); letter-spacing: 0; color: var(--texte-doux); }
.ticket-vedette .prix small { color: #3a1d2a; }
.prix-devis { font-size: clamp(36px, 3.4vw, 46px); }
.ticket ul { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; flex: 1; align-content: start; }
.ticket li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.45; }
.ticket li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--ambre) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='%230e1230' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.ticket-vedette li::before { background-color: var(--creme); }
.ticket-vedette .bouton-ambre { background: var(--nuit); color: var(--creme); box-shadow: 0 14px 30px -10px rgba(14,18,48,.7); }
.badge { position: absolute; top: 18px; right: 18px; margin: 0; padding: 7px 12px; border-radius: 999px; background: var(--nuit); color: var(--miel); font: 600 12px/1 var(--texte); letter-spacing: .08em; text-transform: uppercase; transform: rotate(4deg); }
@media (max-width: 960px) { .tickets { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ---------- Pourquoi ---------- */
.pourquoi { background: linear-gradient(180deg, var(--nuit), #1c1446 60%, var(--nuit)); }
.atouts { display: grid; grid-template-columns: 1.1fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; margin-top: 50px; }
.atout { padding: 32px; border-radius: var(--rayon); background: rgba(255,244,227,.05); box-shadow: inset 0 0 0 1px rgba(255,244,227,.09); }
.atout h3 { font-size: 26px; margin-bottom: 12px; }
.atout p { margin: 0; color: var(--texte-doux); }
.atout:nth-child(2) { --retard: .08s; } .atout:nth-child(3) { --retard: .16s; } .atout:nth-child(4) { --retard: .24s; }
.atout-chiffre { grid-row: span 2; background: linear-gradient(170deg, var(--ambre), var(--corail) 80%); color: var(--nuit); display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; position: relative; overflow: hidden; }
.atout-chiffre p { color: #2b1530; font-size: 18px; position: relative; }
.atout-chiffre::before { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(255,244,227,.7), transparent 65%); }
.atout-chiffre .gros-chiffre { font: 700 clamp(72px, 9vw, 140px)/.9 var(--titre); letter-spacing: -.04em; margin-bottom: 18px !important; color: var(--nuit) !important; }
.atout-formats { grid-column: span 2; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px 30px; align-items: center; }
.atout-formats h3, .atout-formats > p { grid-column: 1; }
.formats { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 16px; align-items: flex-end; justify-content: center; }
.format { margin: 0; text-align: center; }
.format div { overflow: hidden; border-radius: 14px; box-shadow: 0 0 0 3px var(--creme), 0 20px 40px -10px rgba(0,0,0,.6); }
.format img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
.f169 div { width: 200px; aspect-ratio: 16/9; } .f916 div { width: 86px; aspect-ratio: 9/16; } .f11 div { width: 120px; aspect-ratio: 1; }
.format figcaption { font: 600 14px var(--titre); color: var(--miel); margin-top: 10px; }
@media (max-width: 960px) { .atouts { grid-template-columns: 1fr 1fr; } .atout-chiffre { grid-row: auto; grid-column: span 2; min-height: 0; } .atout-formats { grid-column: span 2; grid-template-columns: 1fr; } .formats { grid-column: 1; grid-row: auto; margin-top: 16px; } }
@media (max-width: 560px) { .atouts { grid-template-columns: 1fr; } .atout-chiffre, .atout-formats { grid-column: auto; } .f169 div { width: 138px; } .f916 div { width: 60px; } .f11 div { width: 84px; } .formats { gap: 12px; } .atout { padding: 26px 22px; } }

/* ---------- FAQ ---------- */
.faq { background: var(--nuit); }
.questions { margin-top: 40px; display: grid; gap: 12px; }
.questions details { border-radius: 22px; background: rgba(255,244,227,.05); box-shadow: inset 0 0 0 1px rgba(255,244,227,.09); transition: background .3s; }
.questions details[open] { background: rgba(255,244,227,.09); }
.questions summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; font: 600 clamp(18px, 1.6vw, 21px)/1.3 var(--titre); position: relative; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; position: absolute; right: 18px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: var(--ambre); color: var(--nuit); display: grid; place-items: center; font: 600 24px/1 var(--titre); transition: transform .4s var(--ressort); }
.questions details[open] summary::after { transform: rotate(135deg); }
.questions details p { margin: 0; padding: 0 26px 24px; color: var(--creme-2); }

/* ---------- Contact ---------- */
.contact { background: radial-gradient(80% 70% at 20% 100%, rgba(255,107,74,.35), transparent 70%), radial-gradient(60% 60% at 90% 0%, rgba(74,42,107,.8), transparent 70%), var(--nuit-2); overflow: hidden; }
.contact-grille { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-texte > p { font-size: clamp(18px, 1.4vw, 20px); color: var(--creme-2); max-width: 520px; }
.contact-perso { width: 100%; max-width: 520px; margin-top: 30px; border-radius: var(--rayon); -webkit-mask: radial-gradient(closest-side, #000 55%, transparent 100%); mask: radial-gradient(closest-side, #000 55%, transparent 100%); }
.formulaire { background: var(--creme); color: var(--nuit); border-radius: 34px; padding: clamp(26px, 3.5vw, 44px); box-shadow: 0 60px 120px -40px rgba(0,0,0,.7); display: grid; gap: 18px; transform: rotate(1deg); }
.js .formulaire.vu { transform: rotate(1deg); }
.champ { display: grid; gap: 7px; }
.champ label { font: 600 15px/1.2 var(--titre); letter-spacing: .02em; }
.facultatif { font-weight: 400; color: #5b5478; }
.champ input, .champ select { font: 500 17px var(--texte); color: var(--nuit); background: #fff; border: 2px solid #e6d6bd; border-radius: 16px; padding: 14px 16px; width: 100%; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.champ select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230e1230' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center/20px no-repeat; padding-right: 44px; }
.champ input:focus, .champ select:focus { outline: none; border-color: var(--corail); box-shadow: 0 0 0 4px rgba(255,107,74,.25); }
.champ input[aria-invalid="true"], .champ select[aria-invalid="true"] { border-color: #c4302b; }
.formulaire .bouton-ambre { margin-top: 6px; background: var(--nuit); color: var(--creme); box-shadow: 0 16px 34px -12px rgba(14,18,48,.7); }
.petit { font-size: 13.5px; color: #4c4568; margin: 0; line-height: 1.5; }
.message-form { margin: 0; font-weight: 600; color: #a3281f; min-height: 1px; }
.message-form.ok { color: var(--nuit); }
@media (max-width: 860px) { .contact-grille { grid-template-columns: 1fr; } .formulaire { transform: none; } .contact-perso { display: none; } }

/* ---------- Pied ---------- */
.pied { background: #080a1f; padding: 70px 0 30px; color: var(--texte-doux); font-size: 15px; }
.pied-grille { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1fr; gap: 40px; }
.pied h2 { font: 600 14px/1 var(--texte); text-transform: uppercase; letter-spacing: .14em; color: var(--creme); margin-bottom: 16px; }
.pied nav, .pied-grille > div { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.pied a { text-decoration: none; } .pied a:hover { color: var(--ambre); text-decoration: underline; }
.logo-pied { font-size: 34px; margin-bottom: 10px; }
.pied-note { font-size: 13px; margin-top: 8px; }
.pied-bas { border-top: 1px solid rgba(255,244,227,.1); margin-top: 50px; padding-top: 24px; font-size: 13px; }
@media (max-width: 860px) { .pied-grille { grid-template-columns: 1fr 1fr; } }

/* ---------- Lecteur ---------- */
.lecteur { border: 0; padding: 0; background: transparent; width: min(1200px, 94vw); max-width: none; max-height: 94vh; color: var(--creme); }
.lecteur::backdrop { background: rgba(5,6,20,.88); backdrop-filter: blur(8px); }
.lecteur[open] { animation: ouvre .5s var(--doux-sortie); }
@keyframes ouvre { from { opacity: 0; transform: scale(.94) translateY(20px); } }
.lecteur-boite { position: relative; }
.lecteur-titre { font-size: 22px; margin: 0 56px 14px 4px; }
.lecteur video { width: 100%; max-height: 80vh; border-radius: 20px; background: #000; box-shadow: 0 40px 120px rgba(0,0,0,.8); }
.lecteur-fermer { position: absolute; right: 0; top: -6px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--creme); color: var(--nuit); font: 500 28px/1 var(--titre); cursor: pointer; }

/* ---------- Curseur vivant (souris seulement) ---------- */
.curseur { position: fixed; left: 0; top: 0; z-index: 90; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--ambre); pointer-events: none; mix-blend-mode: normal; opacity: 0; display: grid; place-items: center; transition: width .35s var(--ressort), height .35s var(--ressort), margin .35s var(--ressort), background .3s, opacity .3s; }
.curseur span { font: 600 13px/1 var(--titre); color: var(--nuit); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.curseur.actif { opacity: 1; }
.curseur.lien { width: 46px; height: 46px; margin: -23px 0 0 -23px; background: rgba(255,178,56,.35); }
.curseur.film-c { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--ambre); }
.curseur.film-c span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .curseur { display: none; } }

.grain { position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: .07; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .heros { height: 100vh; height: 100svh; }
  .js .revele { opacity: 1; transform: none; }
  .pellicule-piste { animation: none; }
  .titre-geant .ligne > span { transform: none; }
  .chapeau, .actions { opacity: 1; }
}
