/* Yankees in Love — styles communs à l'accueil et à la page Vidéos */
:root {
  --beige: #f2e8da;
  --sand: #e0ccb3;
  --sand-2: #d5bd9f;
  --night: #231412;
  --night-2: #2f1b18;
  --ink: #2b1d1a;
  --muted: #63503f;
  --line: rgba(43, 29, 26, .16);
  --line-dark: rgba(242, 232, 218, .16);
  --red: #c8232c;
  --red-ink: #a81c25;
  --on-red: #ffffff;
  --f-logo: 'Comic Neue', 'Comic Sans MS', 'Chalkboard SE', cursive;
  --f-brand: 'Delius', 'Comic Neue', cursive;
  --f-title: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-text: 'Nunito', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 20px;
  --pad: clamp(20px, 4vw, 56px);
  --wrap: 1200px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--beige); color: var(--ink); font-family: var(--f-text); font-size: 17px; line-height: 1.65; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }
em { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: inherit; }
::selection { background: var(--red); color: var(--on-red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
section[id], article[id] { scroll-margin-top: 84px; }
.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }

/* ---------- typographie (aucun italique) ---------- */
.logo-font { font-family: var(--f-logo); font-weight: 700; letter-spacing: 0; }
.h1, .h2 { font-family: var(--f-title); font-weight: 500; font-variation-settings: 'SOFT' 100; font-size: clamp(38px, 5.6vw, 76px); line-height: 1.04; letter-spacing: -.015em; }
.h1 em, .h2 em, .h3 em { color: var(--red); }
.nowrap { white-space: nowrap; }
.h3 { font-family: var(--f-title); font-weight: 500; font-variation-settings: 'SOFT' 100; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-family: var(--f-brand); font-size: 20px; color: var(--red-ink); }
.eyebrow::before { content: '♥'; font-size: 15px; }
.night .eyebrow, .hero .eyebrow { color: var(--red); }
.lead { font-size: 19px; max-width: 58ch; }
.prose p { max-width: 60ch; }
.prose p + p { margin-top: 14px; }
.small { font-size: 14px; color: var(--muted); }

/* ---------- boutons & liens ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 999px;
  font-family: var(--f-text); font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background-color .4s var(--ease), color .4s, border-color .4s, transform .5s var(--ease), box-shadow .4s;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: var(--on-red); box-shadow: 0 8px 24px -10px var(--red); }
.btn-red:hover { box-shadow: 0 14px 30px -10px var(--red); }
.btn-ghost { border-color: rgba(242, 232, 218, .55); color: var(--beige); }
.btn-ghost:hover { background: var(--beige); color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.link { color: var(--red-ink); font-weight: 700; text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1.5px; transition: background-size .5s var(--ease); }
.link:hover { background-size: 100% 1.5px; }
.night .link { color: var(--red); }

/* ---------- barre du haut ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 72px;
  display: flex; align-items: center; gap: 28px; padding: 0 var(--pad);
  color: var(--beige); transition: background-color .5s var(--ease), color .5s, box-shadow .5s;
}
.topbar.scrolled { background: rgba(242, 232, 218, .94); color: var(--ink); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tb-logo { font-family: var(--f-logo); font-weight: 700; font-size: 26px; color: var(--red); text-decoration: none; margin-right: auto; opacity: 0; transform: translateY(-6px); transition: opacity .5s, transform .5s var(--ease); }
.topbar.scrolled .tb-logo, .topbar.show-logo .tb-logo { opacity: 1; transform: none; }
.tb-nav { display: flex; gap: 26px; }
.tb-nav a { text-decoration: none; font-weight: 600; font-size: 15px; opacity: .85; transition: opacity .3s, color .3s; }
.tb-nav a:hover, .tb-nav a[aria-current="page"] { opacity: 1; color: var(--red); }
.topbar:not(.scrolled) .tb-nav a[aria-current="page"] { color: var(--red); }
.tb-menu { display: none; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.tb-menu i { display: block; width: 20px; height: 2px; border-radius: 2px; background: currentColor; box-shadow: 0 6px 0 currentColor; transform: translateY(-3px); }

/* ---------- menu mobile ---------- */
.menu { position: fixed; inset: 0; z-index: 60; background: var(--night); color: var(--beige); display: flex; flex-direction: column; padding: 20px var(--pad) 36px; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line-dark); }
.menu-top .logo-font { font-size: 26px; color: var(--red); }
.menu-close { padding: 9px 18px; border: 1.5px solid var(--line-dark); border-radius: 999px; font-weight: 700; font-size: 14px; }
.menu-list { margin-top: auto; }
.menu-list li { animation: rise .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms + 80ms); }
.menu-list a { display: flex; align-items: baseline; gap: 18px; padding: 6px 0; text-decoration: none; font-family: var(--f-title); font-variation-settings: 'SOFT' 100; font-size: clamp(36px, 9vw, 64px); line-height: 1.1; }
.menu-list a:hover, .menu-list a[aria-current="page"] { color: var(--red); }
.menu-list .mn { font-family: var(--f-brand); font-size: 16px; color: var(--red); min-width: 2ch; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- ouverture : titre, présentation, teaser ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--beige); padding: 100px 0 72px; text-align: center; }
.hero::before {
  content: ''; position: absolute; z-index: -1; left: 50%; top: -30%; width: 120%; height: 90%; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(200, 35, 44, .32), rgba(200, 35, 44, 0));
  animation: glow 9s ease-in-out infinite alternate;
}
@keyframes glow { from { opacity: .65; transform: scale(1); } to { opacity: 1; transform: scale(1.08); } }
.hero-title .logo { display: block; font-family: var(--f-logo); font-weight: 700; font-size: clamp(38px, 9vw, 112px); line-height: 1.05; color: var(--red); }
.hero-title .hero-sub { display: block; margin-top: 4px; font-family: var(--f-brand); font-weight: 400; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.3; color: var(--beige); }
.hero-lead { max-width: 56ch; margin: 16px auto 0; color: rgba(242, 232, 218, .8); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.js .in { animation: soft-up 1.2s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes soft-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* le teaser, visible dès l'arrivée : sa taille suit la hauteur de l'écran */
.teaser { width: min(100% - 2 * var(--pad), 920px, max(560px, calc((100svh - 420px) * 16 / 9))); margin: 28px auto 0; }
.teaser-btn, .teaser-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 24px; background: var(--night-2); box-shadow: 0 30px 70px -34px rgba(0, 0, 0, .8); }
.teaser-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.teaser-btn:hover img { transform: scale(1.02); }
.teaser-frame { border: 0; }
.teaser-cap { margin-top: 12px; font-size: 14px; color: rgba(242, 232, 218, .62); }

/* bouton de lecture transparent */
.play {
  position: absolute; z-index: 1; left: 50%; top: 50%; translate: -50% -50%;
  width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; padding-left: 6px;
  background: rgba(255, 255, 255, .12); border: 1.5px solid rgba(255, 255, 255, .85); color: #fff; font-size: 30px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .4s, transform .6s var(--ease);
}
.play::after { content: ''; position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .6); animation: ring 2.6s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.55); opacity: 0; } }
.teaser-btn:hover .play { background: rgba(255, 255, 255, .24); transform: scale(1.06); }
/* sur la vignette « Découverte du trio », le bouton se place sous le visage de Yaël */
.teaser-btn .play { top: 76%; }
.play-sm { width: 56px; height: 56px; font-size: 16px; padding-left: 4px; }
.play-sm::after { display: none; }

/* ---------- curseur instrument et traînée de notes (souris uniquement) ---------- */
html.instrument-cursor, html.instrument-cursor * { cursor: none !important; }
html.instrument-cursor :is(input, textarea) { cursor: text !important; }
html.instrument-cursor select { cursor: auto !important; }
.icursor { position: fixed; left: 0; top: 0; z-index: 2147483000; width: 44px; height: 44px; pointer-events: none; opacity: 0; transition: opacity .2s; will-change: transform; }
.icursor.visible { opacity: 1; }
.icursor svg { position: absolute; left: 0; top: 0; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .3)); transition: opacity .25s, transform .4s var(--ease); }
.icursor .ic-stick { width: 40px; height: 40px; transform-origin: 34px 34px; }
.icursor .ic-bass { width: 44px; height: 44px; transform-origin: 3px 3px; opacity: 0; transform: rotate(-35deg) scale(.5); }
.icursor.on-link .ic-stick { opacity: 0; transform: rotate(25deg) scale(.6); }
.icursor.on-link .ic-bass { opacity: 1; transform: none; }
/* au clic : la baguette frappe, la basse s'enfonce légèrement */
.icursor.pressed .ic-stick { transform: rotate(-12deg); transition-duration: .08s; }
.icursor.pressed.on-link .ic-bass { transform: scale(.86); transition-duration: .08s; }
.trail { position: fixed; inset: 0; z-index: 2147482999; overflow: hidden; pointer-events: none; }
.trail-note {
  position: absolute; translate: -50% -50%; line-height: 1; color: var(--red);
  font-family: 'Apple Symbols', 'Segoe UI Symbol', 'Noto Sans Symbols 2', 'DejaVu Sans', sans-serif;
  text-shadow: 0 0 10px rgba(200, 35, 44, .4); will-change: transform, opacity;
  animation: note-float 1.1s ease-out forwards;
}
/* la note apparaît, reste nette un instant, puis s'envole en s'effaçant */
@keyframes note-float {
  0% { opacity: 0; transform: translate(0, 0) scale(.4) rotate(0deg); }
  14% { opacity: .95; transform: translate(calc(var(--dx, 0px) * .15), -3px) scale(1) rotate(calc(var(--rot, 0deg) * .2)); }
  55% { opacity: .75; }
  100% { opacity: 0; transform: translate(var(--dx, 0px), -36px) scale(.85) rotate(var(--rot, 0deg)); }
}

/* ---------- apparitions douces ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- sections ---------- */
.sec { padding: clamp(80px, 11vw, 140px) 0; }
.night { background: var(--night); color: var(--beige); }
.sand { background: var(--sand); }
.sec-head { margin-bottom: 56px; }
.night .lead, .night .small { color: rgba(242, 232, 218, .74); }

/* le trio */
.two { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.group-photo { overflow: hidden; border-radius: 28px; aspect-ratio: 1; background: var(--sand); }
.group-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.quote { margin: 28px 0; padding-left: 24px; border-left: 3px solid var(--red); font-family: var(--f-title); font-variation-settings: 'SOFT' 100; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; }
.surprise { margin: -6px 0 24px; font-family: var(--f-brand); font-size: 24px; color: var(--red-ink); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.stats li { padding: 28px 24px; border-radius: var(--radius); background: var(--sand); }
.stats strong { display: block; font-family: var(--f-title); font-weight: 500; font-variation-settings: 'SOFT' 100; font-size: clamp(44px, 5vw, 64px); line-height: 1; color: var(--red); font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 8px; font-weight: 600; }

/* aperçu des vidéos (accueil) */
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vcard { display: block; width: 100%; }
.vcard-thumb { position: relative; display: block; overflow: hidden; border-radius: 18px; aspect-ratio: 16 / 9; background: var(--night-2); }
.vcard-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.vcard:hover .vcard-thumb img { transform: scale(1.06); }
.vcard:hover .play { background: var(--red); border-color: var(--red); }
.vcard-title { display: block; margin-top: 14px; font-family: var(--f-title); font-variation-settings: 'SOFT' 100; font-size: clamp(22px, 2vw, 26px); line-height: 1.15; }
.vcard-artist { display: block; margin-top: 2px; font-size: 14px; color: rgba(242, 232, 218, .64); }
.vmore { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 44px; }

/* liste complète des vidéos (page Vidéos) */
.tracks { border-top: 1px solid var(--line-dark); }
.track { width: 100%; display: grid; grid-template-columns: 44px 148px 1fr auto; gap: 24px; align-items: center; padding: 14px 12px; border-bottom: 1px solid var(--line-dark); border-radius: 14px; transition: background-color .4s; }
.track:hover { background: rgba(242, 232, 218, .05); }
.tr-num { font-family: var(--f-brand); color: var(--red); }
.tr-thumb { display: block; overflow: hidden; border-radius: 12px; aspect-ratio: 16 / 9; }
.tr-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.track:hover .tr-thumb img { transform: scale(1.07); }
.tr-title { display: block; font-family: var(--f-title); font-variation-settings: 'SOFT' 100; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; transition: transform .6s var(--ease); }
.track:hover .tr-title { transform: translateX(6px); }
.tr-artist { display: block; margin-top: 2px; font-size: 14px; color: rgba(242, 232, 218, .64); }
.tr-play { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-dark); font-size: 13px; padding-left: 3px; transition: background-color .4s, border-color .4s; }
.track:hover .tr-play { background: var(--red); border-color: var(--red); }
.vids-head { margin-bottom: 24px; }
.vids { padding: clamp(56px, 7vw, 96px) 0 clamp(80px, 11vw, 140px); }
.more { margin-top: 28px; }
.back-home { display: flex; width: max-content; margin: 0 auto 22px; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: rgba(242, 232, 218, .78); text-decoration: none; }
.back-home:hover { color: var(--red); }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding: 36px; border-radius: 24px; background: var(--sand); }

/* musiciens */
.members { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.member { padding: 14px 14px 28px; border-radius: 28px; background: var(--beige); transition: box-shadow .6s var(--ease); }
.member-photo { overflow: hidden; border-radius: 20px; aspect-ratio: 2 / 3; background: var(--night-2); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 1.4s var(--ease); }
.member:hover .member-photo img { transform: scale(1.03); }
.member-body { padding: 22px 10px 0; }
.member-inst { margin: 6px 0 14px; font-family: var(--f-brand); font-size: 18px; color: var(--red-ink); }

/* répertoire : noir et rouge, sans italique */
.repertoire { overflow: hidden; }
.marquee { overflow: hidden; padding: 4px 0; }
.marquee-track { display: flex; width: max-content; animation: defile var(--speed, 70s) linear infinite; }
.marquee-track > span { white-space: nowrap; padding-right: .4em; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.rev .marquee-track { animation-direction: reverse; }
@keyframes defile { to { transform: translateX(-50%); } }
.rep .marquee-track > span { font-family: var(--f-title); font-variation-settings: 'SOFT' 100; font-size: clamp(34px, 5vw, 64px); line-height: 1.25; color: var(--ink); }
.rep.rev .marquee-track > span { color: var(--red); }
.heart { display: inline-block; margin: 0 .45em; font-size: .5em; vertical-align: middle; color: var(--red); }
.rep.rev .heart { color: var(--ink); }
.rep-note { margin-top: 36px; }

/* pour qui */
.events { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.events a { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 170px; padding: 26px; border-radius: var(--radius); background: var(--sand); text-decoration: none; transition: background-color .5s, transform .6s var(--ease), box-shadow .6s; }
.events a:hover { transform: translateY(-4px); background: var(--sand-2); box-shadow: 0 20px 40px -28px rgba(43, 29, 26, .45); }
.ev-go { font-size: 14px; font-weight: 700; color: var(--red-ink); }
.ev-go span { display: inline-block; transition: transform .5s var(--ease); }
.events a:hover .ev-go span { transform: translateX(5px); }
.note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: 40px; padding: 32px; border-radius: 24px; border: 1px solid var(--line); }

/* photos */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 290px; gap: 12px; grid-template-areas: "a a b c" "a a d e" "f g g h"; }
.gallery button { display: block; overflow: hidden; border-radius: 18px; background: var(--night-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }
.g-a { grid-area: a; } .g-b { grid-area: b; } .g-c { grid-area: c; } .g-d { grid-area: d; }
.g-e { grid-area: e; } .g-f { grid-area: f; } .g-g { grid-area: g; } .g-h { grid-area: h; }

/* réserver */
.res-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-links { display: flex; flex-direction: column; gap: 10px; margin-top: 32px; }
.contact-links a { align-self: start; font-family: var(--f-title); font-variation-settings: 'SOFT' 100; font-size: clamp(22px, 2.4vw, 30px); text-decoration: none; overflow-wrap: anywhere; background: linear-gradient(var(--red), var(--red)) no-repeat 0 100% / 0 2px; transition: background-size .6s var(--ease); }
.contact-links a:hover { background-size: 100% 2px; }
.form-card { padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--beige); color: var(--ink); }
.res-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fbf7f1;
  font: inherit; font-size: 16px; color: var(--ink); -webkit-appearance: none; appearance: none; transition: border-color .3s, box-shadow .3s;
}
.field select { background: #fbf7f1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232b1d1a' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.field textarea { min-height: 120px; resize: vertical; }
.field ::placeholder { color: #9a8778; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(200, 35, 44, .14); }
.res-form .btn { grid-column: 1 / -1; justify-self: start; }
.res-thanks { grid-column: 1 / -1; display: grid; gap: 10px; animation: soft-up .8s var(--ease) both; }

/* réseaux */
.nets { border-top: 1px solid var(--line); }
.net { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); }
.net-main { flex: 1; display: flex; align-items: center; gap: 22px; padding: 22px 12px; border-radius: 16px; text-decoration: none; transition: background-color .4s; }
.net-main:hover { background: var(--sand); }
.net-icon { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--sand); color: var(--red); transition: background-color .4s, color .4s; }
.net-icon svg { width: 32px; height: 32px; }
.net-main:hover .net-icon { background: var(--red); color: var(--on-red); }
.net-name { font-family: var(--f-title); font-variation-settings: 'SOFT' 100; font-size: clamp(30px, 4vw, 48px); line-height: 1; }
.net-desc { margin-left: auto; text-align: right; font-size: 15px; color: var(--muted); }
.net-alt { flex: none; display: inline-flex; align-items: center; gap: 8px; margin-right: 12px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); text-decoration: none; transition: color .3s, border-color .3s; }
.net-alt svg { width: 16px; height: 16px; color: var(--red); }
.net-alt:hover { color: var(--red-ink); border-color: var(--red); }
.dates-note { margin-top: 28px; }

/* pied de page */
.footer { background: var(--night); color: var(--beige); text-align: center; padding: 80px 0 32px; }
.footer .logo-font { display: block; font-size: clamp(40px, 6vw, 72px); color: var(--red); line-height: 1.1; }
.footer .sub { display: block; font-family: var(--f-brand); font-size: 22px; margin-top: 4px; }
.foot-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 14px; color: rgba(242, 232, 218, .68); }
.foot-meta a { text-decoration: none; }
.foot-meta a:hover { color: var(--red); }

/* bouton « revenir où j'étais » */
.back {
  position: fixed; left: 50%; bottom: 20px; z-index: 55; translate: -50% 16px;
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px;
  background: var(--night); color: var(--beige); font-weight: 700; font-size: 15px;
  box-shadow: 0 14px 34px -14px rgba(35, 20, 18, .7); opacity: 0; pointer-events: none;
  transition: opacity .4s, translate .6s var(--ease), background-color .3s;
}
.back.show { opacity: 1; translate: -50% 0; pointer-events: auto; }
.back:hover { background: var(--red); }

/* visionneuse */
.lightbox { border: 0; padding: 0; margin: auto; width: min(1200px, 92vw); max-height: 92vh; border-radius: 20px; overflow: hidden; background: var(--night); color: var(--beige); }
.lightbox[open] { animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.97); } }
.lightbox::backdrop { background: rgba(35, 20, 18, .88); }
.lb-bar { display: flex; justify-content: flex-end; padding: 10px; }
.lb-close { padding: 8px 16px; border-radius: 999px; background: var(--beige); color: var(--ink); font-weight: 700; font-size: 14px; }
.lb-close:hover { background: var(--red); color: var(--on-red); }
.lb-body iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.lb-body img { width: 100%; max-height: calc(92vh - 60px); object-fit: contain; }

/* =========================================================
   Animations au défilement et au survol
   (coupées pour qui demande moins d'animations ; effets de souris réservés à l'ordinateur)
   ========================================================= */

/* --- barre de progression de lecture --- */
.progress { position: fixed; left: 0; top: 0; z-index: 56; width: 100%; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* --- apparitions : depuis la gauche, la droite, ou en « pop » --- */
.js [data-reveal="left"] { transform: translateX(-48px); }
.js [data-reveal="right"] { transform: translateX(48px); }
.js [data-reveal="pop"] { transform: translateY(28px) scale(.94); }
.js .tracks [data-reveal]:not(.is-in) { transform: translateX(-36px); }
.js [data-reveal].is-in { transform: none; }

/* --- titres : les mots montent un par un --- */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .12em 0; margin: -.12em 0; }
.split .w > span { display: inline-block; transform: translateY(115%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms + var(--d, 0s) + .1s); }
.is-in .split .w > span { transform: none; }

/* --- le petit cœur des sur-titres bat quand la section apparaît --- */
.eyebrow::before { display: inline-block; }
.js .is-in .eyebrow::before { animation: beat 1.3s var(--ease) .35s 2; }
@keyframes beat { 0%, 60%, 100% { transform: scale(1); } 15% { transform: scale(1.4); } 30% { transform: scale(.92); } 45% { transform: scale(1.22); } }

/* --- photos : dévoilées comme un rideau, puis légère profondeur au défilement --- */
.js .group-photo[data-reveal] img { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease) .15s, transform 1.4s var(--ease); }
.js .group-photo.is-in img { clip-path: inset(0); }
.group-photo:hover img { transform: scale(1.03); }
.js .member[data-reveal] .member-photo img { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease) calc(var(--d, 0s) + .2s), transform 1.4s var(--ease); }
.js .member.is-in .member-photo img { clip-path: inset(0); }

/* --- galerie : les cadres arrivent un à un, liseré rouge au survol --- */
.js .gallery[data-reveal] { opacity: 1; transform: none; }
.js .gallery button { opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .9s var(--ease) calc(var(--i, 0) * 90ms), transform 1s var(--ease) calc(var(--i, 0) * 90ms); }
.js .gallery.is-in button { opacity: 1; transform: none; }
.gallery button { position: relative; }
.gallery button::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 0 var(--red); transition: box-shadow .45s var(--ease); pointer-events: none; }
.gallery button:hover::after, .gallery button:focus-visible::after { box-shadow: inset 0 0 0 4px var(--red); }

/* --- répertoire : le défilement accélère avec la page (js) --- */

/* --- boutons : reflet qui passe et légère attraction vers la souris --- */
.btn { position: relative; isolation: isolate; overflow: hidden; transition: background-color .4s var(--ease), color .4s, border-color .4s, transform .5s var(--ease), box-shadow .4s, translate .45s var(--ease); }
.btn-red::after { content: ''; position: absolute; z-index: -1; top: -20%; bottom: -20%; left: -70%; width: 45%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .42), rgba(255, 255, 255, 0)); transform: skewX(-20deg); pointer-events: none; }
.btn-red:hover::after { animation: shine .9s var(--ease); }
@keyframes shine { to { left: 135%; } }

/* --- menu : soulignement qui glisse --- */
.tb-nav a { position: relative; }
.tb-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; border-radius: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.tb-nav a:hover::after, .tb-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

/* --- logo : les lettres sautillent (au chargement, puis au survol) --- */
.logo-letters .l { display: inline-block; }
.hero-title .logo-letters .l { animation: hop .8s var(--ease) calc(1s + var(--i, 0) * 45ms) both; }
.logo-letters:hover .l, .hero-title .logo-letters:hover .l { animation: hop-again .7s var(--ease) calc(var(--i, 0) * 40ms) both; }
@keyframes hop { 0%, 100% { transform: none; } 40% { transform: translateY(-.16em) rotate(-4deg); } }
@keyframes hop-again { 0%, 100% { transform: none; } 40% { transform: translateY(-.16em) rotate(-4deg); } }

/* --- cartes : inclinaison 3D qui suit la souris et reflet de lumière (js) --- */
.members, .events, .vgrid, .stats { perspective: 1100px; }
.tilt { transition: rotate .35s ease-out, translate .5s var(--ease), background-color .5s, box-shadow .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal].tilt { transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s), rotate .35s ease-out, translate .5s var(--ease), background-color .5s, box-shadow .6s var(--ease); }
.tilt:hover { translate: 0 -6px; }
.events a:hover { transform: none; }
.member:hover { box-shadow: 0 34px 56px -34px rgba(43, 29, 26, .55); }
.glare { position: relative; }
.glare::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .38), rgba(255, 255, 255, 0) 65%); opacity: 0; transition: opacity .4s; }
.glare:hover::after { opacity: 1; }
.stats strong { transition: transform .5s var(--ease); }
.stats li:hover strong { transform: translateY(-4px) scale(1.07) rotate(-3deg); }
.vcard-thumb { transition: box-shadow .5s var(--ease); }
.vcard:hover .vcard-thumb { box-shadow: 0 26px 44px -24px rgba(200, 35, 44, .75); }
.teaser-btn { transition: box-shadow .6s var(--ease); }
.teaser-btn:hover { box-shadow: 0 34px 90px -30px rgba(200, 35, 44, .6); }

/* --- réseaux : l'icône s'anime, le nom glisse --- */
.net-name { transition: transform .5s var(--ease); }
.net-main:hover .net-name { transform: translateX(8px); }
.net-main:hover .net-icon svg { animation: wiggle .7s var(--ease); }
@keyframes wiggle { 25% { transform: rotate(-14deg) scale(1.15); } 55% { transform: rotate(10deg) scale(1.08); } 80% { transform: rotate(-4deg); } }

/* --- fonds sombres : une lueur rouge suit la souris (js) --- */
.spot { position: relative; isolation: isolate; }
.spot::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(520px circle at var(--gx, 50%) var(--gy, 50%), rgba(200, 35, 44, .17), rgba(200, 35, 44, 0) 70%); opacity: 0; transition: opacity .6s; }
.spot.lit::after { opacity: 1; }

@media (max-width: 720px) {
  .js [data-reveal="left"]:not(.is-in) { transform: translateX(-22px); }
  .js [data-reveal="right"]:not(.is-in) { transform: translateX(22px); }
  .js .tracks [data-reveal]:not(.is-in) { transform: translateX(-18px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track { animation: none !important; }
}

/* ---------- tablette ---------- */
@media (max-width: 1000px) {
  .tb-nav { display: none; }
  .tb-menu { display: inline-flex; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .members { grid-template-columns: 1fr 1fr; }
  .members .member:last-child { grid-column: 1 / -1; max-width: calc(50% - 20px); justify-self: center; }
}

/* ---------- mobile ---------- */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .topbar { height: 60px; gap: 14px; }
  .tb-logo { font-size: 21px; white-space: nowrap; }
  .topbar .btn-sm { padding: 8px 14px; font-size: 13px; }
  .tb-menu { font-size: 0; }
  .hero-actions .btn { padding: 13px 20px; font-size: 15px; }
  section[id], article[id] { scroll-margin-top: 72px; }
  .hero { padding: 84px 0 56px; }
  .hero-lead { font-size: 15.5px; line-height: 1.55; }
  .teaser { margin-top: 22px; }
  .teaser-btn, .teaser-frame { border-radius: 16px; }
  .play { width: 60px; height: 60px; font-size: 18px; padding-left: 4px; }
  .play-sm { width: 40px; height: 40px; font-size: 12px; }
  .two, .res-grid { grid-template-columns: 1fr; }
  .stats { margin-top: 40px; gap: 10px; }
  .stats li { padding: 20px 18px; }
  .vgrid { grid-template-columns: 1fr; gap: 14px; }
  .vcard { display: grid; grid-template-columns: 128px 1fr; gap: 14px; align-items: center; text-align: left; }
  .vcard-title { margin-top: 0; font-size: 20px; }
  .track { grid-template-columns: 104px 1fr; gap: 14px; padding: 12px 4px; }
  .tr-num, .tr-play { display: none; }
  .members { grid-template-columns: 1fr; }
  .members .member:last-child { grid-column: auto; max-width: none; }
  .member-photo { aspect-ratio: 4 / 5; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: 8px; grid-template-areas: "a a" "a a" "b c" "d e" "g g" "f h"; }
  .gallery button { border-radius: 12px; }
  .res-form { grid-template-columns: 1fr; }
  .net { flex-wrap: wrap; gap: 0; }
  .net-main { gap: 14px; padding: 18px 4px; }
  .net-icon { width: 52px; height: 52px; }
  .net-icon svg { width: 26px; height: 26px; }
  .net-desc { display: none; }
  .net-alt { margin: -6px 0 16px 70px; }
  .cta-band { padding: 26px; }
  .back { bottom: 16px; }
}
