/* Scandal — site public */

@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-tight-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-tight-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/inter-tight-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/inter-tight-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --muted: #a7a7ae;
  --line: hsl(0 0% 18%);
  --gutter: clamp(16px, 2.2vw, 32px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-rise: cubic-bezier(0.25, 0.1, 0.25, 1);
  --font: 'Inter Tight', Inter, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { background: #000; }
body { margin: 0; background: #000; color: #fff; font-family: var(--font); font-weight: 400; -webkit-font-smoothing: antialiased; }
a { color: #fff; text-decoration: none; transition: color 200ms ease; }
a:hover { color: rgba(255, 255, 255, 0.7); }
input, select, textarea, button { font-family: inherit; }
input::placeholder, textarea::placeholder { color: #71717a; }
.sup { font-size: 0.28em; letter-spacing: 0; vertical-align: top; margin-left: 4px; }

@keyframes fade-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

.page { width: 100%; background: #000; overflow-x: clip; }

/* ---------- Hero ---------- */
.hero { position: sticky; top: 0; z-index: 0; width: 100%; height: 100vh; overflow: hidden; background: #fff; user-select: none; -webkit-user-select: none; }
@media (hover: hover) { .hero { cursor: none; } }
.hero-canvas { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity 0.3s ease; }
.hero-canvas.is-ready { opacity: 1; }
.hero-canvas video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.hero-canvas video.is-shown { display: block; }
/* Jamais de bouton play natif (iOS en mode économie d'énergie l'affiche sinon). */
video::-webkit-media-controls, video::-webkit-media-controls-start-playback-button, video::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; }
/* Mode scroll : le hero reste épinglé pendant ~2 écrans avant que la galerie ne remonte. */
.hero-spacer { height: 200vh; pointer-events: none; }
/* YouTube en plein cadre (object-fit: cover simulé), légèrement agrandi pour rogner l'habillage du lecteur. */
.hero-yt { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-yt iframe { position: absolute; top: 50%; left: 50%; width: max(100vw, 177.78vh); height: max(100vh, 56.25vw); transform: translate(-50%, -50%) scale(1.2); border: 0; pointer-events: none; }

.hero-logo, .hero-slogan, .hero-nav, .hero-bottom, .hero-pill { position: absolute; z-index: 20; mix-blend-mode: exclusion; color: #fff; font-family: var(--font); font-weight: 500; }
.hero-logo { top: var(--gutter); left: var(--gutter); pointer-events: none; font-size: clamp(44px, 7.4vw, 112px); line-height: 0.82; letter-spacing: -0.07em; animation: fade-rise 0.6s var(--ease-rise) both; }
/* Logo néon (SVG) : pas de mélange « exclusion » pour garder ses couleurs. Largeur pilotée par --logo-w. */
.hero { --logo-w: clamp(180px, 26vw, 420px); }
.hero-logo-img { margin: 0; width: var(--logo-w); line-height: 0; mix-blend-mode: normal; }
.hero-logo-img img { display: block; width: 100%; height: auto; }
.hero-slogan { left: var(--gutter); top: calc(var(--gutter) + var(--logo-w) / 3.64 + 14px); margin: 0; width: min(560px, calc(100vw - 32px)); pointer-events: none; font-size: clamp(15px, 1.35vw, 20px); line-height: 1.2; letter-spacing: -0.04em; text-wrap: balance; animation: fade-rise 0.6s var(--ease-rise) 0.3s both; }
.hero-nav { top: var(--gutter); right: var(--gutter); width: min(330px, calc(100vw - 32px)); height: 30px; display: flex; justify-content: space-between; align-items: center; font-size: 15px; text-transform: uppercase; letter-spacing: -0.02em; animation: fade-rise 0.6s var(--ease-rise) 0.15s both; }
.hero-nav a { color: #fff; }
/* Mobile : « À la une » et « [ Réserver ] » calés en haut à droite, l'un sous l'autre, sans chevaucher le logo. */
@media (max-width: 600px) {
  .hero-nav { width: auto; height: auto; flex-direction: column; align-items: flex-end; justify-content: flex-start; gap: 6px; text-align: right; }
}
.hero-nav-right { display: flex; align-items: center; gap: clamp(20px, 3.5vw, 50px); }
.hero-bottom { right: var(--gutter); bottom: clamp(150px, 14vw, 238px); width: min(330px, calc(100vw - 32px)); display: flex; flex-direction: column; align-items: center; pointer-events: none; letter-spacing: -0.04em; animation: fade-rise 0.6s var(--ease-rise) 0.45s both; }
.hero-symbol-row { width: 100%; display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
.hero-symbol { position: relative; width: 30px; height: 30px; }
.hero-symbol svg { position: absolute; inset: 0; }
.hero-symbol span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 15px; text-transform: uppercase; }
.hero-headline { font-size: clamp(20px, 2.1vw, 30px); line-height: 1; text-align: center; text-transform: uppercase; }
.hero-hours { margin-top: 8px; font-size: clamp(56px, 5.6vw, 80px); line-height: 1; text-align: center; }
/* animation-fill-mode « backwards » : l'état final laisse la main au :hover (scale 1.04). */
.hero-pill { right: var(--gutter); bottom: clamp(24px, 2.2vw, 32px); width: min(330px, calc(100vw - 32px)); height: clamp(100px, 9vw, 130px); border-radius: 1335px; background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transform-origin: right bottom; transition: transform 400ms var(--ease-out); animation: fade-rise 0.6s var(--ease-rise) 0.6s backwards; }
.hero-pill:hover { transform: scale(1.04); color: #fff; }
.hero-pill span { font-size: clamp(52px, 5vw, 76px); letter-spacing: -0.05em; color: #fff; mix-blend-mode: exclusion; }
.hero-cursor { position: fixed; left: -100px; top: -100px; z-index: 50; width: 48px; height: 48px; transform: translate(-50%, -50%); pointer-events: none; mix-blend-mode: exclusion; opacity: 0; transition: opacity 200ms ease; }

/* ---------- Panneau qui remonte sur le hero ---------- */
.panel { position: relative; z-index: 2; background: #000; }

/* Galerie : placement en quinconce calculé côté serveur pour 2, 3 et 4 colonnes */
.gallery { padding: min(160px, 16vh) 0 0; background: #000; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
.g-cell { position: relative; aspect-ratio: 2 / 3; grid-row: var(--r); grid-column: var(--c4); }
.g-card { position: absolute; inset: 0; overflow: hidden; will-change: transform; transform: scale(0); transform-origin: var(--o4); background: #111; }
.g-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 1023.98px) {
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g-cell { grid-column: var(--c3); }
  .g-card { transform-origin: var(--o3); }
}
@media (max-width: 639.98px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-cell { grid-column: var(--c2); }
  .g-card { transform-origin: var(--o2); }
}

/* Titres */
.title-xl { margin: 0; font-family: var(--font); font-weight: 500; font-size: clamp(44px, 7.4vw, 112px); line-height: 0.82; letter-spacing: -0.07em; color: #fff; }
.title-md { margin: 0; font-family: var(--font); font-weight: 500; font-size: clamp(40px, 4.6vw, 72px); line-height: 0.85; letter-spacing: -0.07em; }
.label { margin: 0; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: -0.02em; color: var(--muted); }

/* Apparition au scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1100ms ease-out, transform 1100ms var(--ease-out); }
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* Intro */
.intro { padding: 120px var(--gutter) 80px; background: #000; }
.intro .title-xl { max-width: 1100px; }

/* À la une */
.events { padding: 0 var(--gutter) 40px; }
.events-title { margin-bottom: 48px; }
.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.events-empty { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.event-card { position: relative; overflow: hidden; aspect-ratio: 9 / 16; min-height: 160px; background: linear-gradient(135deg, #1a3a2e 0%, #0f2818 100%); }
.event-card img, .event-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.45) 38%, rgba(0,0,0,0) 70%); }
.event-date { position: absolute; top: 20px; right: 22px; pointer-events: none; text-align: right; line-height: 1; }
.event-day { font-family: var(--font); font-weight: 500; letter-spacing: -0.07em; font-size: 56px; line-height: 0.82; }
.event-month { margin-top: 8px; font-size: 13px; font-weight: 500; letter-spacing: -0.02em; text-transform: uppercase; color: #fff; }
.event-info { position: absolute; left: 22px; right: 22px; bottom: 22px; pointer-events: none; display: flex; flex-direction: column; gap: 8px; }
.event-title { margin: 0; font-family: var(--font); font-weight: 500; font-size: clamp(34px, 3.4vw, 48px); line-height: 0.85; letter-spacing: -0.07em; text-transform: lowercase; }
.event-dj { margin-top: 6px; font-size: 13px; font-weight: 500; letter-spacing: -0.02em; text-transform: uppercase; color: #fff; }
.event-time { font-size: 13px; font-weight: 500; letter-spacing: -0.02em; text-transform: uppercase; color: var(--muted); }

/* Réservation */
.resa { padding: 160px var(--gutter) 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px 24px; align-items: start; }
.resa-item { display: flex; flex-direction: column; gap: 22px; }
.resa-photo { position: relative; width: 100%; height: clamp(280px, 32vw, 460px); overflow: hidden; background: #111; }
.resa-photo img, .resa-photo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.resa-photo img:hover, .resa-photo video:hover { transform: scale(1.03); }
.resa-head { display: flex; flex-direction: column; gap: 12px; }
.resa-text { margin: 6px 0 0; max-width: 520px; font-size: 15px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

/* Bouton « métal liquide » (fallback : bordure blanche) */
.btn-liquid { position: relative; isolation: isolate; align-self: flex-start; display: inline-block; border: 1px solid #fff; border-radius: 0; background: transparent; color: #fff; padding: 14px 28px; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: -0.02em; cursor: pointer; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.btn-liquid:hover { color: #fff; }

/* Dépliage des formulaires */
.fold { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 600ms var(--ease-out); }
.fold > div { overflow: hidden; min-height: 0; }
.fold-inner { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; margin: 0; opacity: 0; filter: blur(8px); transform: translateY(16px); transition: opacity 500ms ease, filter 500ms ease, transform 600ms var(--ease-out); }
.is-open .fold { grid-template-rows: 1fr; }
.is-open .fold-inner { opacity: 1; filter: blur(0); transform: translateY(0); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); column-gap: 24px; }
.field { width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--line); border-radius: 0; color: #fff; font-size: 15px; padding: 14px 0; outline: none; transition: border-color 200ms ease; }
.field:focus { border-bottom-color: #fff; }
.field.is-invalid { border-bottom-color: #fff; }
select.field { appearance: none; -webkit-appearance: none; cursor: pointer; }
select.field:invalid { color: #71717a; }
select.field option { background: #000; color: #fff; }
input[type=number].field { -moz-appearance: textfield; }
input[type=number].field::-webkit-inner-spin-button, input[type=number].field::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.send-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 20px; }
.btn-send { border: none; border-radius: 0; padding: 16px 36px; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: -0.02em; color: #000; background: #fff; cursor: pointer; transition: opacity 200ms ease; }
.btn-send:hover { opacity: 0.85; }
.btn-send:disabled { opacity: 0.5; cursor: wait; }
.note { font-size: 13px; color: var(--muted); }
.note.is-error { color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.footer-wrap { position: relative; background: #000; padding-top: 160px; }
.footer { position: relative; z-index: 2; margin: 0 var(--gutter); border-top: 1px solid var(--line); padding: 64px 0; }
.footer-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 48px; margin-bottom: 64px; }
.footer-title { margin: 0; font-family: var(--font); font-weight: 500; font-size: clamp(28px, 2.8vw, 40px); line-height: 0.9; letter-spacing: -0.06em; }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--muted); }
.footer-news { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-news p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 32px; font-size: 12px; color: var(--muted); }
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-name { font-family: var(--font); font-weight: 500; letter-spacing: -0.04em; font-size: 20px; color: #fff; }
.footer-name sup { font-size: 0.4em; }
.footer-links { display: flex; gap: 24px; }
a.white { color: #fff; }
