/* ==========================================================================
   Elena Varela : de l'heure dorée à la nuit.
   Deux ambiances (Golden hour / Night) mélangées par --p (0 à 100) au fil du
   défilement, ou forcées par la bascule. Flèche tatouée comme fil conducteur.
   Mobile d'abord (390), puis 980 et 1440.
   ========================================================================== */

:root {
  --p: 0;
  --day-bg: #F6EBDD; --day-ink: #2A1E24; --day-gold: #E3A857; --day-gold-ink: #B5742A; --day-pink: #F28CB1; --day-peach: #F5B49A; --day-line: #C9A77A;
  --night-bg: #0E1424; --night-ink: #F3E9F0; --night-blue: #8FA8FF; --night-pink: #FF5FA2; --night-green: #2F6B5A; --night-line: #3A4668;

  --day-dusk: #F3C2AE; --dusk-accent: #A3562B;
  /* 0 à 50 : crème vers pêche (texte sombre) ; 50 à 100 : pêche vers bleu nuit, le texte bascule entre 55 et 75 */
  --p1: min(100, calc(var(--p) * 2));
  --p2: max(0, calc(var(--p) * 2 - 100));
  --pi: clamp(0, calc((var(--p) - 55) * 5), 100);
  --bg: color-mix(in oklab, var(--night-bg) calc(var(--p2) * 1%), color-mix(in oklab, var(--day-dusk) calc(var(--p1) * 1%), var(--day-bg)));
  --ink: color-mix(in oklab, var(--night-ink) calc(var(--pi) * 1%), var(--day-ink));
  --accent: color-mix(in oklab, var(--night-pink) calc(var(--pi) * 1%), color-mix(in oklab, var(--dusk-accent) calc(var(--p1) * 1%), var(--day-gold-ink)));
  --accent-2: color-mix(in oklab, var(--night-blue) calc(var(--pi) * 1%), var(--day-pink));
  --soft: color-mix(in oklab, var(--night-green) calc(var(--pi) * 1%), var(--day-peach));
  --line: color-mix(in oklab, var(--night-line) calc(var(--pi) * 1%), var(--day-line));
  --muted: color-mix(in oklab, var(--ink) 62%, var(--bg));
  --card: color-mix(in oklab, var(--ink) 6%, var(--bg));
  --barre: var(--bg);

  --serif: "Gloock", "Iowan Old Style", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: 20px;
  --max: 1240px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

@supports not (color: color-mix(in oklab, red 10%, blue)) {
  :root { --bg: var(--day-bg); --ink: var(--day-ink); --accent: var(--day-gold); --accent-2: var(--day-pink); --soft: var(--day-peach); --line: var(--day-line); }
  :root[data-theme="night"] { --bg: var(--night-bg); --ink: var(--night-ink); --accent: var(--night-pink); --accent-2: var(--night-blue); --soft: var(--night-green); --line: var(--night-line); }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-weight: 300; font-size: 1.0625rem; line-height: 1.55;
  overflow-x: hidden; min-height: 100vh;
  transition: background-color .25s linear, color .25s linear;
}
body.menu-open { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.01em; line-height: 1.05; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
::selection { background: var(--accent); color: var(--bg); }

.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--big { width: 40px; height: 40px; }

/* Typo partagée --------------------------------------------------------- */
.over { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin: 0 0 .9rem; font-weight: 500; }
.t { font-size: clamp(2rem, 7.4vw, 3.6rem); max-width: 14ch; }
.sec-head { padding: 0 var(--gutter); margin-bottom: 2rem; }
.sec-lead { max-width: 44ch; color: var(--muted); margin-top: 1rem; }
.trace path { fill: none; stroke: var(--accent); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.wave { width: min(100%, 320px); height: 28px; margin-top: 1.2rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

.link-arrow { display: inline-flex; align-items: center; gap: .55rem; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 3px; min-height: 44px; }
.link-arrow .ico { transition: transform .4s var(--ease); }
.link-arrow:hover .ico { transform: translate(3px, -3px); }

.btn { display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; padding: .6rem 1.4rem; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 500; transition: transform .35s var(--ease), background .25s; }
.btn:hover { transform: translateY(-2px); }

/* ==========================================================================
   Entrée : le soleil descend derrière les toits dessinés à l'encre
   ========================================================================== */
.intro { position: fixed; inset: 0; z-index: 60; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(180deg, #F6EBDD 0%, #F5C9A6 45%, #F28CB1 100%);
  animation: intro-leave .8s var(--ease) 2.15s forwards; }
.intro__sun { position: absolute; left: 50%; top: 0; width: min(46vw, 260px); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -120%);
  background: radial-gradient(circle at 50% 40%, #FFE2A8, #E3A857 70%, #E0954A); box-shadow: 0 0 80px 20px rgba(227, 168, 87, .45);
  animation: intro-sun 1.9s cubic-bezier(.4, 0, .7, 1) .1s forwards; }
.intro__skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 26vh; }
.intro__fill { fill: #2A1E24; opacity: 0; animation: intro-fill .6s linear 1.25s forwards; }
.intro__line { fill: none; stroke: #2A1E24; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: intro-draw 1.4s var(--ease) .25s forwards; }
.intro__name { position: relative; z-index: 2; margin: 0; font-family: var(--serif); font-size: clamp(3rem, 15vw, 8.5rem); line-height: .92; color: #2A1E24; display: grid; text-align: center; }
.intro__name span { display: block; opacity: 0; transform: translateY(.4em); animation: intro-word .9s var(--ease) forwards; }
.intro__name span:nth-child(1) { animation-delay: .55s; }
.intro__name span:nth-child(2) { animation-delay: .75s; margin-left: 1.2em; }
.intro__tag { position: absolute; z-index: 2; bottom: 28vh; left: 0; right: 0; text-align: center; margin: 0; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: #2A1E24; opacity: 0; animation: intro-word .7s var(--ease) 1.3s forwards; }
@keyframes intro-sun { to { transform: translate(-50%, 58vh); } }
@keyframes intro-draw { to { stroke-dashoffset: 0; } }
@keyframes intro-fill { to { opacity: 1; } }
@keyframes intro-word { to { opacity: 1; transform: none; } }
@keyframes intro-leave { to { transform: translateY(-100%); } }
.intro.is-done, .intro-skip .intro { display: none; }
.intro-hold .intro, .intro-hold .intro * { animation-play-state: paused; }
.intro-hold .intro { animation: none; }

/* Lueur du curseur (ordinateur, souris fine) ------------------------------ */
.glow { display: none; }
@media (hover: hover) and (pointer: fine) {
  .glow { display: block; position: fixed; z-index: 1; left: 0; top: 0; width: 360px; height: 360px; margin: -180px 0 0 -180px; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, color-mix(in oklab, var(--accent-2) 55%, transparent) 0%, transparent 62%);
    opacity: 0; transition: opacity .6s; mix-blend-mode: screen; filter: blur(8px); will-change: transform; }
  body.has-glow .glow { opacity: .55; }
}

/* ==========================================================================
   En-tête, menu plein écran
   ========================================================================== */
.top { position: fixed; z-index: 50; inset: 0 0 auto 0; display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter); min-height: 64px;
  transition: background .3s, backdrop-filter .3s; }
.top.is-scrolled { background: color-mix(in oklab, var(--bg) 82%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.top__name { font-family: var(--serif); font-size: 1.25rem; letter-spacing: .01em; min-height: 44px; display: inline-flex; align-items: center; }
.top__right { display: flex; align-items: center; gap: 10px; }

.mood { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; }
.mood__track { position: relative; width: 64px; height: 30px; border: 1px solid var(--line); border-radius: 999px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; justify-items: center; }
.mood__track .ico { width: 16px; height: 16px; position: relative; z-index: 2; }
.mood__knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); transition: transform .45s var(--ease); }
:root[data-mood="night"] .mood__knob, :root[data-theme="night"] .mood__knob { transform: translateX(34px); }
.mood__label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; display: none; }
@media (min-width: 560px) { .mood__label { display: inline; min-width: 7.5em; text-align: left; } }

.burger { position: relative; width: 44px; height: 44px; border-radius: 50%; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.25px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); top: 17px; }
.burger span + span { top: 26px; }
.burger[aria-expanded="true"] span { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span + span { transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 45; display: grid; grid-template-rows: auto 1fr auto; padding: 84px var(--gutter) 28px; background: var(--bg); color: var(--ink);
  clip-path: circle(0 at calc(100% - 42px) 42px); visibility: hidden; transition: clip-path .7s var(--ease), visibility 0s .7s; }
.menu.is-open { clip-path: circle(150% at calc(100% - 42px) 42px); visibility: visible; transition: clip-path .75s var(--ease), visibility 0s; }
.menu__head { display: grid; justify-items: start; gap: 4px; margin-bottom: 1.5rem; color: var(--accent); }
.menu__name { font-family: var(--serif); font-size: 2rem; margin: 0; color: var(--ink); }
.menu__sub { margin: 0; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; }
.menu__list { display: grid; align-content: center; gap: 2px; }
.menu__list a { display: flex; align-items: baseline; gap: 14px; min-height: 52px; padding: 6px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateX(-14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.menu__list a span { font-family: var(--serif); font-size: clamp(1.7rem, 7vw, 2.6rem); }
.menu__list a small { font-size: .8rem; color: var(--muted); letter-spacing: .04em; }
.menu__list a:hover span { color: var(--accent); }
.menu.is-open .menu__list a { opacity: 1; transform: none; }
.menu.is-open .menu__list li:nth-child(1) a { transition-delay: .18s; }
.menu.is-open .menu__list li:nth-child(2) a { transition-delay: .24s; }
.menu.is-open .menu__list li:nth-child(3) a { transition-delay: .30s; }
.menu.is-open .menu__list li:nth-child(4) a { transition-delay: .36s; }
.menu.is-open .menu__list li:nth-child(5) a { transition-delay: .42s; }
.menu.is-open .menu__list li:nth-child(6) a { transition-delay: .48s; }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 1rem; }
.menu__note { margin: 0; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.socials { display: flex; gap: 6px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); transition: border-color .3s, color .3s, transform .3s var(--ease); }
.socials a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* Rail de la flèche (ordinateur seulement) -------------------------------- */
.rail { display: none; }
@media (min-width: 980px) {
  .rail { display: block; position: fixed; z-index: 40; left: 34px; top: 14vh; height: 72vh; width: 40px; pointer-events: none; color: var(--accent); }
  .rail__svg { position: absolute; inset: 0; width: 40px; height: 100%; overflow: visible; }
  .rail__line { fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
  .rail__fletch { position: absolute; left: 0; top: -24px; width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; }
  .rail__head { position: absolute; left: 0; top: 0; width: 40px; height: 40px; transform: translateY(-40px); will-change: transform; }
  .rail__head svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; }
  .rail__label { position: absolute; left: 48px; top: 26px; white-space: nowrap; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); opacity: .85; }
  .rail__ticks span { position: absolute; left: 14px; width: 12px; height: 1.25px; background: currentColor; opacity: .5; }
}

/* ==========================================================================
   1. Le toit
   ========================================================================== */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; padding: 0 var(--gutter) 88px; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; transform: scale(var(--hero-zoom, 1)); transform-origin: 50% 40%; will-change: transform; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(246, 235, 221, .18) 0%, transparent 30%, transparent 50%, color-mix(in oklab, var(--bg) 80%, transparent) 100%); }
.hero__video, .hero__fallback img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% 50%; }
.hero__video { opacity: 0; transition: opacity 1s; }
.hero__video.is-ready { opacity: 1; }
.hero__kicker-more { display: none; }
.hero__kicker { position: absolute; top: 76px; left: var(--gutter); margin: 0; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); font-weight: 500; }
:root[data-mood="night"] .hero__media::after { background: linear-gradient(180deg, color-mix(in oklab, var(--bg) 60%, transparent) 0%, transparent 34%, transparent 42%, color-mix(in oklab, var(--bg) 94%, transparent) 100%) !important; }
.hero__kicker span { color: var(--accent); margin: 0 .3em; }
.hero__text { align-self: end; max-width: 620px; }
.hero__title { font-size: clamp(3.4rem, 17vw, 10rem); line-height: .88; display: grid; margin-bottom: 1rem; }
.hero__title span:nth-child(2) { margin-left: .6em; }
.hero__line { max-width: 36ch; font-size: 1.05rem; margin-bottom: 1.2rem; }
.hero__cue { position: absolute; right: var(--gutter); bottom: 24px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--accent); animation: cue 2.4s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ==========================================================================
   2. Le vinyle
   ========================================================================== */
.music { padding: 5rem 0 4rem; }
.player { display: grid; gap: 2rem; padding: 0 var(--gutter); }
.vinyl { position: relative; width: min(100%, 420px); aspect-ratio: 1; margin: 0 auto; }
.vinyl__disc { width: 86%; height: 86%; margin: 7%; animation: spin 2.4s linear infinite; animation-play-state: paused; transform-origin: 50% 50%; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .28)); }
.vinyl.is-playing .vinyl__disc { animation-play-state: running; }
.vinyl__black { fill: #15121a; }
.vinyl__grooves circle { stroke: #fff; stroke-opacity: .07; stroke-width: 1; }
.vinyl__grooves circle:nth-child(4n) { stroke-opacity: .16; }
.vinyl__ring { fill: none; stroke: var(--accent); stroke-width: 1.25; }
.vinyl__hole { fill: var(--bg); }
.vinyl__arm { position: absolute; right: -2%; top: 2%; width: 30%; height: auto; transform-origin: 50% 11.5%; transform: rotate(-2deg); transition: transform .9s var(--ease); }
.vinyl.is-playing .vinyl__arm { transform: rotate(23deg); }
.arm__pivot { fill: var(--card); stroke: var(--ink); stroke-width: 1.25; }
.arm__rod { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.arm__head { fill: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

.tracks__hint { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.track { border-top: 1px solid var(--line); }
.track:last-child { border-bottom: 1px solid var(--line); }
.track__btn { display: grid; grid-template-columns: 44px 1fr; grid-template-areas: "icon name" "icon meta"; column-gap: 12px; align-items: center; width: 100%; text-align: left; padding: 14px 0; min-height: 72px; }
.track__icon { grid-area: icon; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); transition: background .3s, color .3s, transform .3s var(--ease); }
.track__btn:hover .track__icon { border-color: var(--accent); color: var(--accent); }
.track__icon .ico { width: 18px; height: 18px; }
.ico-pause { display: none; }
.track.is-playing .ico-play { display: none; }
.track.is-playing .ico-pause { display: block; }
.track.is-playing .track__icon { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.track__name { grid-area: name; font-family: var(--serif); font-size: 1.55rem; }
.track.is-playing .track__name { color: var(--accent); }
.track__meta { grid-area: meta; display: flex; justify-content: space-between; gap: 1rem; font-size: .88rem; color: var(--muted); }
.track__time { font-variant-numeric: tabular-nums; }
.track.is-missing .track__desc::after { content: " (file not uploaded yet)"; color: var(--accent); }
.scope { margin-top: 1.2rem; height: 56px; }
.scope__canvas { width: 100%; height: 56px; }
.player__status { min-height: 1.4em; font-size: .85rem; color: var(--accent); margin: .4rem 0 0; }
.tracks__foot { font-size: .85rem; color: var(--muted); margin-top: 1.2rem; max-width: 46ch; }

/* ==========================================================================
   3. La nuit
   ========================================================================== */
.night { padding: 4rem 0 3rem; }
.scene { display: grid; gap: 1.2rem; padding: 0 var(--gutter); margin-bottom: 3.5rem; }
.scene__media { position: relative; margin: 0; border-radius: 4px; overflow: hidden; aspect-ratio: 9 / 16; max-height: 78svh; width: min(100%, 420px); background: var(--card); }
.scene__media--wide { aspect-ratio: 922 / 960; width: min(100%, 520px); }
.scene__media video { width: 100%; height: 100%; object-fit: cover; }
.scene__time { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; background: rgba(14, 20, 36, .55); color: #F3E9F0; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.scene__time .ico { width: 16px; height: 16px; }
.scene__text h3 { font-size: clamp(1.7rem, 6vw, 2.4rem); margin-bottom: .6rem; }
.scene__text p { max-width: 40ch; color: var(--muted); }

/* ==========================================================================
   4. Galerie
   ========================================================================== */
.gallery { padding: 3rem 0 4rem; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; gap: 10px; padding: 0 var(--gutter); }
.grid__item { position: relative; margin: 0; border-radius: 3px; overflow: hidden; background: var(--card); aspect-ratio: 4 / 5; }
.grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.grid__item:hover img { transform: scale(1.04); }
.grid__item--wide { grid-column: span 2; aspect-ratio: 16 / 10; }
.grid__item--tall { grid-row: span 2; aspect-ratio: auto; }
.grid__cap { position: absolute; left: 10px; bottom: 10px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #F3E9F0; background: rgba(14, 20, 36, .5); padding: 4px 8px; border-radius: 2px; }

/* ==========================================================================
   5. Dates
   ========================================================================== */
.dates { padding: 2rem var(--gutter) 4rem; }
.dates__list li { display: grid; grid-template-columns: 22px 1fr auto; grid-template-areas: "ico city when" "ico venue when"; column-gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.dates__list li:last-child { border-bottom: 1px solid var(--line); }
.dates__list .ico { grid-area: ico; color: var(--accent); }
.dates__city { grid-area: city; font-family: var(--serif); font-size: 1.5rem; }
.dates__venue { grid-area: venue; font-size: .85rem; color: var(--muted); }
.dates__when { grid-area: when; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; border: 1px solid var(--accent); color: var(--accent); padding: 6px 10px; border-radius: 999px; }
.dates__note { display: flex; align-items: center; gap: 8px; margin-top: 1rem; font-size: .85rem; color: var(--muted); }
.dates__note .ico { width: 16px; height: 16px; color: var(--accent); }

/* ==========================================================================
   6. À propos
   ========================================================================== */
.about { display: grid; gap: 2rem; padding: 2rem var(--gutter) 4rem; }
.about__photo { margin: 0; width: min(100%, 360px); }
.about__photo img { border-radius: 3px; }
.about__photo figcaption { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: .6rem; }
.about__text p { max-width: 50ch; }
.about__sign { color: var(--accent); font-weight: 500; }
.about__arrow { width: 200px; height: 56px; margin-top: .6rem; }

/* ==========================================================================
   7. Booking, pied de page
   ========================================================================== */
.booking { padding: 2rem var(--gutter) 5rem; }
.booking__inner { padding: 2rem var(--gutter); border-radius: 6px; background: var(--card); border: 1px solid var(--line); }
.form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.form label { display: grid; gap: 6px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; min-height: 48px; width: 100%; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form textarea { resize: vertical; }
.form__note { font-size: .85rem; color: var(--muted); margin: 0; }

.foot { padding: 3rem var(--gutter) 7rem; border-top: 1px solid var(--line); }
.foot__inner { display: grid; gap: 1rem; }
.foot__name { font-family: var(--serif); font-size: 1.6rem; margin: 0; }
.foot__line { margin: 0; color: var(--muted); }
.foot__small { font-size: .8rem; color: var(--muted); margin: 0; max-width: 60ch; }

/* Bouton flottant « Listen » (téléphone) ---------------------------------- */
.fab { position: fixed; z-index: 44; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 500; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .35s var(--ease), opacity .3s; }
.fab:hover { transform: translateY(-2px); }
.fab.is-playing { background: var(--accent); color: var(--bg); }
.fab .ico { width: 20px; height: 20px; }
body.menu-open .fab { opacity: 0; pointer-events: none; }

/* ==========================================================================
   Tablette et ordinateur
   ========================================================================== */
@media (min-width: 700px) {
  :root { --gutter: 40px; }
  .scene { grid-template-columns: minmax(0, 420px) 1fr; align-items: center; gap: 3rem; }
  .scene--flip { grid-template-columns: 1fr minmax(0, 520px); }
  .scene--flip .scene__media { order: 2; }
  .grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .about { grid-template-columns: minmax(0, 360px) 1fr; align-items: center; gap: 4rem; }
  .form { grid-template-columns: 1fr 1fr; }
  .form__full, .form .btn, .form__note { grid-column: 1 / -1; }
  .form .btn { justify-self: start; }
  .foot__inner { grid-template-columns: 1fr auto; grid-template-areas: "name socials" "line socials" "small small"; align-items: center; }
  .foot__name { grid-area: name; } .foot__line { grid-area: line; } .foot .socials { grid-area: socials; } .foot__small { grid-area: small; margin-top: 1rem; }
}

@media (min-width: 980px) {
  :root { --gutter: clamp(40px, 7vw, 110px); }
  .sec-head, .player, .scene, .grid, .dates, .about, .booking__inner, .foot__inner, .hero__text, .night, .gallery { max-width: var(--max); margin-left: auto; margin-right: auto; }
  .night .sec-head, .gallery .sec-head { margin-left: auto; margin-right: auto; }
  .hero { padding-bottom: 72px; }
  .hero__media::after { background: linear-gradient(180deg, rgba(246, 235, 221, .12) 0%, transparent 22%, transparent 58%, color-mix(in oklab, var(--bg) 70%, transparent) 100%); }
  .hero__video, .hero__fallback img { object-position: 50% 50%; }
  .hero__text { align-self: end; max-width: 720px; margin-left: 0; width: 100%; }
  .hero__kicker-more { display: inline; }
  .hero__title { font-size: clamp(6rem, 11vw, 11rem); }
  .hero__line { font-size: 1.2rem; }
  .hero__kicker { writing-mode: vertical-rl; top: 50%; transform: translateY(-50%); left: auto; right: 34px; }
  .music { padding: 7rem 0 5rem; }
  .player { grid-template-columns: minmax(0, 520px) 1fr; gap: 5rem; align-items: center; }
  .vinyl { width: 100%; max-width: 520px; }
  .scene { margin-bottom: 6rem; }
  .scene__text { max-width: 520px; }
  .scene--flip .scene__text { justify-self: end; }
  .grid__item--tall { grid-row: span 2; }
  .dates__list li { grid-template-columns: 22px 1fr 1fr auto; grid-template-areas: "ico city venue when"; }
  .dates__city { font-size: 1.9rem; }
  .booking__inner { padding: 3.5rem clamp(40px, 6vw, 80px); }
  .fab { right: 28px; bottom: 28px; }
}

@media (min-width: 1440px) {
  .t { font-size: 4.2rem; }
  .hero__title { font-size: 12rem; }
}

/* Mouvement réduit --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .intro { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .trace path, .rail__line { stroke-dashoffset: 0 !important; }
  .hero__cue, .vinyl__disc { animation: none; }
  .glow { display: none; }
  .menu, .menu__list a, .link-arrow .ico, .grid__item img, .vinyl__arm { transition: none; }
}
.static-mode .reveal { opacity: 1; transform: none; transition: none; }
.static-mode .hero__cue { animation: none; }

/* Accueil v2 : portrait d'Elena à droite, grand voile rose ------------------ */
.hero__media { background: linear-gradient(120deg, #F8D3DD 0%, #F4B5C8 50%, #EE9DBB 100%); }
.hero__frame { position: absolute; inset: 0; }
.hero__frame .hero__video, .hero__frame .hero__fallback img { object-position: 50% 30%; }
.hero__media::after { z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(248, 211, 221, .25) 0%, transparent 30%, rgba(242, 140, 177, .45) 62%, rgba(248, 211, 221, .96) 100%); }
.hero__hello { position: absolute; z-index: 2; right: var(--gutter); top: 118px; display: inline-flex; align-items: center; gap: .55em; padding: .7em 1.1em; border: 0; border-radius: 999px; background: rgba(42, 30, 36, .78); color: #F6EBDD; font: inherit; font-size: .85rem; letter-spacing: .04em; cursor: pointer; backdrop-filter: blur(6px); transition: background .3s; }
.hero__hello:hover { background: rgba(42, 30, 36, .92); }
.hero__hello .ico { width: 16px; height: 16px; }
.hero__hello .ico-pause, .hero__hello[aria-pressed="true"] .ico-play { display: none; }
.hero__hello[aria-pressed="true"] .ico-pause { display: inline; }
@media (min-width: 900px) {
  .hero__frame { inset: auto; top: 50%; right: 8vw; height: min(84svh, 880px); aspect-ratio: 9 / 16; transform: translateY(-50%); border-radius: 6px; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(120, 30, 70, .55); }
  .hero__media::after { background: linear-gradient(90deg, rgba(248, 211, 221, .97) 0%, rgba(246, 196, 212, .88) 38%, rgba(242, 140, 177, .3) 68%, rgba(242, 140, 177, .18) 100%); }
  .hero__hello { top: auto; bottom: 22px; right: 50%; transform: translateX(50%); white-space: nowrap; }
  .hero__text { position: relative; z-index: 2; }
}

/* Accueil v2 : entrée + animation au défilement ---------------------------- */
.hero { --hp: 0; }
.hero__title span { display: block; transform: translateY(40%); opacity: 0; transition: transform 1.2s cubic-bezier(.2, .8, .2, 1), opacity 1.2s; }
.hero__title span:nth-child(2) { transition-delay: .15s; }
.hero__line, .hero__text .link-arrow { opacity: 0; transform: translateY(16px); transition: opacity 1s .5s, transform 1s .5s; }
.hero.is-in .hero__title span, .hero.is-in .hero__line, .hero.is-in .hero__text .link-arrow { opacity: 1; transform: none; }
.hero.is-in .hero__title span:nth-child(1) { transform: translateX(calc(var(--hp) * -9vw)); transition: transform .1s linear, opacity 1.2s; }
.hero.is-in .hero__title span:nth-child(2) { transform: translateX(calc(var(--hp) * 7vw)); transition: transform .1s linear, opacity 1.2s .15s; }
.hero.is-in .hero__line { opacity: calc(1 - var(--hp) * 1.6); }
.hero__media::after { opacity: calc(1 - var(--hp) * .35); }
@media (min-width: 900px) {
  .hero__frame { clip-path: inset(100% 0 0 0 round 6px); transition: clip-path 1.4s cubic-bezier(.7, 0, .2, 1) .2s; }
  .hero.is-in .hero__frame { clip-path: inset(0 0 0 0 round 6px); transform: translateY(calc(-50% - var(--hp) * 10vh)) rotate(calc(var(--hp) * -4deg)) scale(calc(1 + var(--hp) * .1)); }
  .hero__frame .hero__video, .hero__frame .hero__fallback img { transform: scale(calc(1.12 - var(--hp) * .12)); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__title span, .hero__line, .hero__text .link-arrow { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__frame { clip-path: none !important; transition: none !important; }
}
.static-mode .hero__title span, .static-mode .hero__line, .static-mode .hero__text .link-arrow { opacity: 1; transform: none; }
.static-mode .hero__frame { clip-path: none; }

/* Porte d'entrée (son ou pas) puis arrivée de tout le site ---------------- */
.gate { display: none; }
html.gate-open { overflow: hidden; }
html.gate-open .gate { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px var(--gutter); background: linear-gradient(135deg, #F8D3DD 0%, #F4B5C8 55%, #EE9DBB 100%); color: #2A1E24; text-align: center; clip-path: inset(0 0 0 0); transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1); }
.gate.is-leaving { clip-path: inset(0 0 100% 0); }
.gate__glow { position: absolute; inset: -20%; background: radial-gradient(40% 35% at 70% 40%, rgba(255, 255, 255, .55), transparent 70%), radial-gradient(35% 30% at 25% 70%, rgba(227, 168, 87, .28), transparent 70%); animation: gateGlow 9s ease-in-out infinite alternate; pointer-events: none; }
@keyframes gateGlow { to { transform: translate(-4%, 3%) scale(1.08); } }
.gate__inner { position: relative; display: grid; justify-items: center; gap: 1.6rem; animation: gateIn 1.2s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes gateIn { from { opacity: 0; transform: translateY(24px); } }
.gate__kicker { margin: 0; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; }
.gate__kicker span { color: #B4517A; margin: 0 .3em; }
.gate__name { margin: 0; font-family: "Gloock", serif; font-size: clamp(3.4rem, 13vw, 9rem); line-height: .9; display: grid; }
.gate__name span:nth-child(2) { margin-left: .5em; }
.gate__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.gate__btn { display: inline-flex; align-items: center; gap: .6em; min-height: 52px; padding: 0 1.5em; border-radius: 999px; border: 1px solid rgba(42, 30, 36, .35); background: transparent; color: inherit; font: inherit; font-size: .95rem; letter-spacing: .03em; cursor: pointer; transition: background .3s, color .3s, transform .3s; }
.gate__btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .35); }
.gate__btn--main { background: #2A1E24; color: #F6EBDD; border-color: #2A1E24; }
.gate__btn--main:hover { background: #3a2a32; }
.gate__btn .ico { width: 20px; height: 20px; }
.gate__note { margin: 0; font-size: .8rem; opacity: .7; }
.top, .rail, .fab, .hero__kicker, .hero__cue { transition-property: transform, opacity; transition-duration: .9s; transition-timing-function: cubic-bezier(.2, .8, .2, 1); }
html.gate-open .top, body:not(.is-entered) .top { transform: translateY(-100%); opacity: 0; }
body:not(.is-entered) .rail, body:not(.is-entered) .hero__kicker, body:not(.is-entered) .hero__cue { opacity: 0; }
body:not(.is-entered) .fab { transform: translateY(140%); opacity: 0; }
body.is-entered .top { transition-delay: .5s; }
body.is-entered .rail, body.is-entered .hero__kicker { transition-delay: .9s; }
body.is-entered .fab, body.is-entered .hero__cue { transition-delay: 1.2s; }
@media (prefers-reduced-motion: reduce) { .gate__glow, .gate__inner { animation: none; } html.gate-open .gate { transition: none; } }
