/* =====================================================
   RELOWD — DA : noir #020202 / bleu ardoise #4c6085 / blanc #ffffff
   Typo : Montserrat (bold, jeux d'épaisseurs & italiques)
   ===================================================== */
:root {
  --black: #020202;
  --accent: #4c6085;
  --white: #ffffff;

  --bg: var(--black);
  --fg: var(--white);
  --muted: rgba(255, 255, 255, 0.55);
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.38);
  --surface: rgba(255, 255, 255, 0.035);
  --on-accent: var(--white);

  --r-sm: 12px;
  --r: 22px;
  --r-lg: 32px;
  --gutter: clamp(16px, 2.2vw, 32px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
:root[data-theme="light"] {
  --bg: var(--white);
  --fg: var(--black);
  --muted: rgba(2, 2, 2, 0.55);
  --line: rgba(2, 2, 2, 0.14);
  --line-strong: rgba(2, 2, 2, 0.4);
  --surface: rgba(2, 2, 2, 0.04);
}

/* ===================== Base ===================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 500 15px/1.55 "Montserrat", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background .5s, color .5s;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
em { font-style: italic; font-weight: 300; }
strong { font-weight: 700; }
::selection { background: var(--accent); color: var(--on-accent); }

.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 20% { transform: translate(-3%,2%); }
  40% { transform: translate(2%,-3%); } 60% { transform: translate(-2%,-1%); } 80% { transform: translate(3%,3%); }
}

.label {
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.meta { font-size: 13px; color: var(--muted); font-style: italic; font-weight: 400; }

/* ===================== Boutons ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--on-accent);
  border: 1px solid var(--accent); border-radius: 999px;
  padding: 12px 22px; font-weight: 700; font-size: 14px; letter-spacing: .01em;
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .6; transform: none; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); justify-self: start; }
.btn-ghost:hover { border-color: var(--fg); }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid transparent; background: none; color: inherit;
  transition: border-color .25s, background .25s, color .25s;
}
.icon-btn:hover { border-color: var(--line-strong); }
.icon-btn.round { width: 46px; height: 46px; border-color: var(--line); font-size: 16px; }
.icon-btn.round:hover:not(:disabled) { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.icon-btn:disabled { opacity: .3; cursor: default; }

.link-arrow { font-weight: 600; font-size: 14px; display: inline-flex; gap: 6px; padding-bottom: 2px; border-bottom: 1px solid var(--line-strong); transition: border-color .25s; }
.link-arrow:hover { border-color: var(--fg); }

/* ===================== Topbar ===================== */
.topbar {
  position: fixed; top: 12px; left: var(--gutter); right: var(--gutter); z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.brand, .nav {
  display: flex; align-items: center; gap: 10px;
  padding: 6px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid var(--line);
}
.brand { padding-right: 16px; font-weight: 900; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.nav { gap: 4px; padding-left: 14px; }
.nav > a:not(.btn) { padding: 6px 10px; font-size: 13px; font-weight: 600; color: var(--muted); transition: color .2s; }
.nav > a:not(.btn):hover { color: var(--fg); }

/* ===================== Hero ===================== */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 92px var(--gutter) var(--gutter);
}
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.badge { position: relative; flex: none; width: clamp(110px, 11vw, 150px); height: clamp(110px, 11vw, 150px); }
.badge svg { display: block; width: 100%; height: 100%; overflow: visible; transform-origin: 50% 50%; animation: spin 18s linear infinite; }
.badge text { fill: var(--fg); font-size: 17px; font-weight: 700; }
.badge img { position: absolute; left: 50%; top: 50%; width: 42%; height: 42%; transform: translate(-44%, -50%); border-radius: 50%; object-fit: cover; }
@keyframes spin { to { transform: rotate(360deg); } }

.wordmark {
  font-weight: 900;
  font-size: clamp(72px, 22.4vw, 460px);
  line-height: .8;
  letter-spacing: -.07em;
  margin: 4vh 0 0 -.05em;
  white-space: nowrap;
  overflow: hidden; padding: .04em 0 .06em;
}
.wm-inner { display: inline-block; }
.caption b em { font-weight: 300; margin-left: 4px; }
.wordmark .ch { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease) forwards; }
.wordmark { font-style: italic; }
.wordmark .ch { position: relative; z-index: 1; }
/* Logo "liquide" : les lettres fusionnent (sans bouger) en haut de page,
   puis redeviennent nettes en descendant (--fx : 1 → 0, piloté par le scroll). */
.fx-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.hero .wordmark { overflow: visible; clip-path: inset(-0.08em -100vw); text-align: center; margin-left: 0; --fx: 1; }
/* version liquide dessinée en SVG (compatible tous navigateurs, Safari iPhone compris),
   superposée au texte net : fondu enchaîné piloté par le scroll */
.wm-stack { position: relative; display: inline-block; }
.wm-inner { opacity: calc(1 - var(--fx)); }
.wm-liquid { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; opacity: var(--fx); animation: liquidIn 1.1s var(--ease) .15s both; }
.wm-liquid text { fill: currentColor; font-family: "Montserrat", system-ui, sans-serif; font-style: italic; font-weight: 900; }
@keyframes liquidIn { from { translate: 0 110%; } to { translate: 0 0; } }
/* lettres immobiles, resserrées en haut de page pour fusionner, espacement normal une fois descendu */
.wordmark .ch { animation: rise 1s var(--ease) forwards; }
.wordmark .ch:nth-child(2) { animation-delay: 60ms; }
.wordmark .ch:nth-child(3) { animation-delay: 120ms; }
.wordmark .ch:nth-child(4) { animation-delay: 180ms; }
.wordmark .ch:nth-child(5) { animation-delay: 240ms; }
.wordmark .ch:nth-child(6) { animation-delay: 300ms; }
@media (prefers-reduced-motion: reduce) { .wordmark .ch, .wm-liquid { animation: none; transform: none; translate: none; } }
/* photo derrière le wordmark : floue, nette sous la souris */
@property --lr { syntax: "<length>"; inherits: true; initial-value: 0px; }
.hero { position: relative; isolation: isolate; overflow: hidden; --lx: 50%; --ly: 50%; --lr: 0px; transition: --lr .5s var(--ease); }
.hero > :not(.hero-media) { position: relative; z-index: 1; }
.hero-media { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: var(--black); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; filter: grayscale(1) contrast(1.1); }
.hm-blur { filter: grayscale(1) contrast(1.1) blur(18px) brightness(.8) !important; transform: scale(1.08); }
.hm-sharp {
  -webkit-mask-image: radial-gradient(circle var(--lr) at var(--lx) var(--ly), #000 45%, transparent 100%);
          mask-image: radial-gradient(circle var(--lr) at var(--lx) var(--ly), #000 45%, transparent 100%);
}
.hero-media::after { /* fondu bas pour lisibilité + grain */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2,2,2,.35) 0%, transparent 30%, transparent 60%, var(--black) 100%);
}
.hero .wordmark { color: var(--white); pointer-events: none; }
.hero .hero-top, .hero .hero-bottom { color: var(--white); }
:root[data-theme="light"] .hero { --fg: var(--white); --line: rgba(255,255,255,.2); --line-strong: rgba(255,255,255,.45); }
@keyframes rise { to { transform: translateY(0); } }

.hero-bottom {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 20px;
  border-top: 1px solid var(--line); padding-top: var(--gutter);
}
.hero-role { font-size: clamp(20px, 2.2vw, 30px); font-weight: 800; letter-spacing: -.02em; }
.pills { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.pills li { padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; font-weight: 600; }
.pills li:nth-child(2) { font-style: italic; font-weight: 400; }

/* ===================== À propos ===================== */
.intro {
  padding: 11vh var(--gutter) 12vh;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter);
}
.intro-side { grid-column: 1 / 4; grid-row: 1 / span 2; display: grid; gap: 22px; align-content: start; }
.intro-side .label { padding-top: 14px; }
.photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); aspect-ratio: 4 / 5; isolation: isolate; }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12) brightness(.95); transition: transform 1.2s var(--ease); }
.photo:hover img { transform: scale(1.04); }
.photo figcaption { position: absolute; left: 14px; bottom: 12px; z-index: 2; font-size: 13px; font-weight: 700; color: var(--white); padding: 5px 12px; border-radius: 999px; background: rgba(2,2,2,.45); backdrop-filter: blur(6px); }
.photo figcaption em { font-weight: 300; }
.statement {
  grid-column: 4 / 13;
  font-size: clamp(28px, 3.9vw, 64px); line-height: 1.08; font-weight: 800; letter-spacing: -.035em;
}
.statement em { font-weight: 300; }
.reveal .w { opacity: .14; transition: opacity .35s linear; }
.reveal .w.on { opacity: 1; }
.intro-cols {
  grid-column: 4 / 13; margin-top: 5vh;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter);
  border-top: 1px solid var(--line); padding-top: var(--gutter);
  color: var(--muted);
}
.intro-cols strong { color: var(--fg); }
.contact-line { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 12px; }
.copy-mail {
  display: inline-flex; gap: 12px; align-items: center; background: none;
  padding: 12px 20px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--fg); font-weight: 700;
  transition: border-color .25s;
}
.copy-mail:hover { border-color: var(--fg); }
.copied { color: var(--accent); font-style: italic; font-weight: 500; }
.copied:empty { display: none; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a, .socials .soon {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--fg);
  transition: background .25s, color .25s, border-color .25s;
}
.socials a:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.socials .soon { opacity: .4; cursor: default; }

/* ===================== Blocs ===================== */
.block { padding: 0 var(--gutter) 11vh; scroll-margin-top: 80px; }
.block-tight { padding-top: 0; }
#live.block { padding-bottom: 0; }
.block-head {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 16px;
  padding-bottom: 18px; margin-bottom: calc(var(--gutter) * 1.4);
  border-bottom: 1px solid var(--line);
}
.block-head h2 {
  font-size: clamp(38px, 6.4vw, 104px); line-height: .9; font-weight: 900; letter-spacing: -.05em; text-align: center;
}
.block-head h2 em { font-weight: 300; letter-spacing: -.04em; }
.block-head .meta { text-align: right; }

/* ---------- Cartes médias ---------- */
.card { display: block; outline: none; }
.frame {
  position: relative; overflow: hidden; background: var(--surface);
  border-radius: var(--r); aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  isolation: isolate;
}
.frame img, .frame video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease), filter .6s;
  filter: grayscale(1) contrast(1.12) brightness(.95);
}
.card:hover .frame img, .card:hover .frame video { transform: scale(1.04); filter: grayscale(1) contrast(1.18) brightness(1); }
/* vignettes YouTube / SoundCloud : la couleur revient au survol */
.track .frame img { filter: saturate(1) contrast(1.02); }
.track .card:hover .frame img { filter: saturate(1.1) contrast(1.05); }
/* grain sur toutes les photos */
.frame::before, .photo::before {
  content: ""; position: absolute; inset: -20%; pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  opacity: .22; mix-blend-mode: overlay;
  animation: grain 1s steps(5) infinite;
}
.frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, transparent 55%, rgba(2,2,2,.55));
  opacity: .9;
}
.card:focus-visible .frame { outline: 2px solid var(--accent); outline-offset: 4px; }

.frame-tag {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2;
  display: flex; justify-content: space-between; align-items: end; gap: 12px;
  color: var(--white);
}
.frame-tag .t-name { font-size: clamp(22px, 2.6vw, 40px); font-weight: 900; letter-spacing: -.04em; line-height: .9; text-transform: uppercase; }
.frame-tag .t-year { font-size: 13px; font-weight: 300; font-style: italic; }

.play-badge {
  position: absolute; right: 14px; top: 14px; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; font-size: 14px;
  background: var(--accent); color: var(--on-accent);
  transform: scale(.6) rotate(-45deg); opacity: 0; transition: transform .45s var(--ease), opacity .3s;
}
.card:hover .play-badge, .card.playing .play-badge { transform: scale(1) rotate(0); opacity: 1; }

.caption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 4px 0; }
.caption b { font-weight: 800; letter-spacing: -.01em; }
.caption span { color: var(--muted); font-size: 13px; font-style: italic; font-weight: 400; text-align: right; }
.card.playing .caption b { color: var(--accent); }

/* ---------- Carousel ---------- */
.track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - var(--gutter)) / 2);
  gap: var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; min-width: 0; }
.track .frame { aspect-ratio: 16 / 10; }
.track-sq { grid-auto-columns: calc((100% - var(--gutter) * 3) / 4); }
.track-sq .frame { aspect-ratio: 1 / 1; }
.track-sq .frame::after { opacity: .5; }
.track-sq .caption { flex-direction: column; gap: 2px; }
.track-sq .caption span { text-align: left; }
.carousel-ctrl { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--gutter); margin-top: 26px; }
.progress { height: 1px; background: var(--line); position: relative; overflow: hidden; border-radius: 1px; }
.progress span { position: absolute; inset: 0 auto 0 0; width: 20%; background: var(--fg); transition: width .3s var(--ease), transform .3s var(--ease); }
.arrows { display: flex; gap: 8px; }
.skeleton .frame { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }

/* ---------- Player ---------- */
.player {
  display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: var(--gutter); align-items: center;
  margin-bottom: calc(var(--gutter) * 1.4);
  padding: 14px 14px 14px 22px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface);
}
.player-now { display: flex; align-items: center; gap: 14px; min-width: 0; }
.player-now > div { display: grid; min-width: 0; }
#scNow { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player iframe { width: 100%; height: 120px; border: 0; border-radius: var(--r-sm); }
.eq { display: flex; align-items: end; gap: 3px; height: 22px; flex: none; }
.eq i { width: 3px; background: var(--accent); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(1) { height: 40%; } .eq i:nth-child(2) { height: 90%; animation-delay: -.3s; }
.eq i:nth-child(3) { height: 60%; animation-delay: -.6s; } .eq i:nth-child(4) { height: 75%; animation-delay: -.15s; }
@keyframes eq { 50% { transform: scaleY(.35); } }
.eq i { transform-origin: bottom; }

/* ===================== Déjà joué ===================== */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line);
  padding: 2vh 0; margin-bottom: var(--gutter);
}
.marquee-inner { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-inner { animation-play-state: paused; }
.marquee-inner span {
  display: inline-flex; align-items: center; gap: .45em; padding-right: .45em;
  font-size: clamp(44px, 8vw, 132px); line-height: 1; font-weight: 900; letter-spacing: -.05em; white-space: nowrap;
}
.marquee-inner span:nth-child(even) { font-weight: 300; font-style: italic; letter-spacing: -.03em; }
.marquee-inner .star { color: var(--accent); font-size: .5em; font-style: normal; font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

.venues { list-style: none; margin: 0 0 calc(var(--gutter) * 2.5); padding: 0; border-top: 1px solid var(--line); }
.venues li {
  display: grid; grid-template-columns: 60px 1fr auto auto; align-items: center; gap: 20px;
  padding: 20px 4px; border-bottom: 1px solid var(--line);
  transition: padding .4s var(--ease), color .3s;
}
.venues li:hover { padding-left: 18px; }
.venues .n { font-size: 12px; color: var(--muted); font-weight: 600; }
.venues .v-name { font-size: clamp(22px, 2.6vw, 38px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.venues li:hover .v-name { font-style: italic; font-weight: 300; }
.venues .v-type { padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 12px; font-weight: 600; }
.venues li.more { grid-template-columns: 60px 1fr; color: var(--muted); }
.venues li.more .v-name { font-weight: 300; font-style: italic; }
.venues li.more .dots { display: inline-flex; gap: 8px; margin-right: 16px; vertical-align: middle; }
.venues li.more .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: dots 1.4s ease-in-out infinite; }
.venues li.more .dots i:nth-child(2) { animation-delay: .2s; } .venues li.more .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes dots { 50% { opacity: .25; transform: translateY(-3px); } }
.venues .v-city { font-size: 13px; color: var(--muted); font-style: italic; min-width: 130px; text-align: right; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); row-gap: calc(var(--gutter) * 2); align-items: start; }
.grid .frame { aspect-ratio: 4 / 5; }
.grid .card:nth-child(3n+2) { margin-top: 12vh; }
.grid .card:nth-child(3n) { margin-top: 6vh; }
.placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  color: var(--muted); padding: 20px; font-weight: 600;
  background:
    radial-gradient(90% 80% at 20% 15%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 65%),
    var(--surface);
}
.placeholder em { display: block; font-size: 13px; margin-top: 2px; }
.media-kind { position: absolute; left: 14px; top: 14px; z-index: 2; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: rgba(2,2,2,.5); color: var(--white); backdrop-filter: blur(6px); }

/* ===================== Booking ===================== */
.booking { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--gutter) * 2); align-items: start; }
.booking-text { display: grid; gap: 22px; max-width: 460px; color: var(--muted); }
.booking-lead { font-size: clamp(30px, 3.4vw, 54px); line-height: 1.02; font-weight: 900; letter-spacing: -.04em; color: var(--fg); }
.legend { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; font-size: 13px; }
.legend li { display: flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-free { border: 1px solid var(--fg); }
.dot-booked { background: var(--accent); }

.calendar {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px;
  background: var(--surface); width: 100%; max-width: 560px; justify-self: end;
}
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
#calTitle { font-size: 22px; font-weight: 900; letter-spacing: -.03em; text-transform: capitalize; }
#calTitle em { font-weight: 300; }
.cal-dow, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal-dow { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.day {
  aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: 50%; background: none;
  display: grid; place-items: center; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums;
  transition: background .2s, border-color .2s, color .2s, transform .25s var(--ease);
}
.day:not(:disabled):hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: scale(1.06); }
.day.weekend:not(:disabled) { border-color: var(--line-strong); }
.day.today { outline: 1px dashed var(--accent); outline-offset: 2px; }
.day:disabled { border-color: transparent; color: var(--muted); opacity: .4; cursor: default; font-weight: 400; }
.day.booked { opacity: 1; background: var(--accent); border-color: var(--accent); color: var(--on-accent); text-decoration: line-through; font-weight: 400; }
.day.empty { visibility: hidden; }

/* ===================== Modale ===================== */
.modal, .lightbox {
  padding: 0; color: var(--fg); background: var(--bg);
  max-width: min(680px, calc(100vw - 24px)); width: 100%;
  max-height: calc(100svh - 24px);
  border-radius: var(--r-lg); border: 1px solid var(--line-strong);
}
.modal::backdrop, .lightbox::backdrop { background: rgba(2,2,2,.7); backdrop-filter: blur(8px); }
.modal[open] { animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.modal form { padding: 26px; }
.modal-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.modal-head h3 { font-weight: 900; font-size: clamp(24px, 3vw, 34px); line-height: 1.05; letter-spacing: -.035em; margin-top: 6px; }
.modal-head h3::first-letter { text-transform: uppercase; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid label { display: grid; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid :is(input, select, textarea) {
  font: inherit; font-size: 14px; font-weight: 500; color: var(--fg); width: 100%;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 14px; outline: none; transition: border-color .2s, background .2s;
  color-scheme: dark;
}
:root[data-theme="light"] .form-grid :is(input, select, textarea) { color-scheme: light; }
.form-grid select option { background: var(--bg); color: var(--fg); }
.form-grid :is(input, select, textarea):focus { border-color: var(--fg); }
.form-grid .invalid { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
textarea { resize: vertical; }
.modal-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.duration { font-weight: 800; }
.form-status { margin-top: 12px; min-height: 20px; font-size: 13px; font-weight: 600; }
.form-status.ok { color: var(--fg); }
.form-status.ok::before { content: "✦ "; color: var(--accent); }
.form-status.err { color: var(--fg); }
.form-status.err::before { content: "⚠ "; color: var(--accent); }

.lightbox { max-width: min(1100px, calc(100vw - 24px)); background: var(--black); overflow: hidden; }
.lightbox img, .lightbox video { width: 100%; max-height: calc(100svh - 26px); object-fit: contain; }
.lb-close { position: absolute; right: 12px; top: 12px; color: var(--white); z-index: 2; background: rgba(2,2,2,.5); }

/* ===================== Footer ===================== */
.footer { padding: 0 var(--gutter) var(--gutter); }
.footer-cta {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 7vh 0; border-top: 1px solid var(--line);
  font-size: clamp(40px, 8vw, 140px); line-height: .95; font-weight: 900; letter-spacing: -.055em;
}
.footer-cta em { color: var(--accent); }
.footer-cta .arrow {
  flex: none; display: grid; place-items: center;
  width: clamp(64px, 9vw, 150px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--line-strong); font-size: .45em; font-weight: 300;
  transition: background .35s, color .35s, transform .5s var(--ease), border-color .35s;
}
.footer-cta:hover .arrow { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: rotate(45deg); }
.footer-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted);
}

/* ===================== Responsive ===================== */
@media (max-width: 1000px) {
  .track-sq { grid-auto-columns: calc((100% - var(--gutter)) / 2); }
  .booking { grid-template-columns: 1fr; }
  .calendar { justify-self: stretch; max-width: none; }
  .player { grid-template-columns: 1fr; }
  .statement, .intro-cols { grid-column: 1 / -1; }
  .intro-side { grid-column: 1 / -1; grid-row: auto; grid-template-columns: 1fr minmax(0, 320px); align-items: start; }
  .hero-bottom { grid-template-columns: 1fr auto; }
  .hero-bottom .btn { grid-column: 1 / -1; justify-self: start; }
  .grid { grid-template-columns: 1fr 1fr; }
  .grid .card:nth-child(n) { margin-top: 0; }
  .grid .card:nth-child(2n) { margin-top: 10vh; }
}
@media (max-width: 640px) {
  body { font-size: 14px; }
  .nav > a:not(.btn) { display: none; }
  .nav { padding-left: 6px; }
  .hero { padding-top: 84px; }
  .hero-top .badge { width: 92px; height: 92px; }
  .hero-bottom { grid-template-columns: 1fr; }
  .intro-cols { grid-template-columns: 1fr; }
  .intro-side { grid-template-columns: 1fr; }
  .block-head { grid-template-columns: 1fr; text-align: left; gap: 8px; }
  .block-head h2, .block-head .meta { text-align: left; }
  .track { grid-auto-columns: 86%; }
  .track-sq { grid-auto-columns: 68%; }
  .carousel-ctrl { grid-template-columns: 1fr auto; }
  .progress { display: none; }
  .play-badge { opacity: 1; transform: none; }
  .grid { grid-template-columns: 1fr; }
  .grid .card:nth-child(n) { margin-top: 0; }
  .venues li { grid-template-columns: 34px 1fr auto; gap: 12px; }
  .venues li.more { grid-template-columns: 60px 1fr; color: var(--muted); }
.venues li.more .v-name { font-weight: 300; font-style: italic; }
.venues li.more .dots { display: inline-flex; gap: 8px; margin-right: 16px; vertical-align: middle; }
.venues li.more .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: dots 1.4s ease-in-out infinite; }
.venues li.more .dots i:nth-child(2) { animation-delay: .2s; } .venues li.more .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes dots { 50% { opacity: .25; transform: translateY(-3px); } }
.venues .v-city { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .modal form { padding: 20px; }
  .calendar { padding: 14px; }
  .cal-dow, .cal-grid { gap: 4px; }
  .footer-cta { padding: 5vh 0; flex-wrap: wrap; font-size: 46px; }
  .footer-cta .arrow { width: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .wordmark .ch { transform: none; }
  .reveal .w { opacity: 1; }
}

/* ===================== Réseaux ===================== */
.venues { margin-bottom: 0; }
.social-links { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }
.social-card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px;
  padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface);
  transition: background .35s, border-color .35s, color .35s, transform .45s var(--ease);
}
.sc-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line-strong); transition: border-color .35s; }
.sc-text { display: grid; line-height: 1.05; }
.sc-text b { font-size: clamp(28px, 3.4vw, 52px); font-weight: 900; letter-spacing: -.045em; }
.sc-text em { font-size: 15px; color: var(--muted); margin-top: 6px; transition: color .35s; }
.sc-arrow {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid var(--line-strong); font-size: 20px; transition: transform .5s var(--ease), border-color .35s;
}
.social-card:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: translateY(-3px); }
.social-card:hover .sc-text em { color: var(--on-accent); }
.social-card:hover .sc-icon, .social-card:hover .sc-arrow { border-color: var(--on-accent); }
.social-card:hover .sc-arrow { transform: rotate(45deg); }
@media (max-width: 760px) {
  .social-links { grid-template-columns: 1fr; }
  .social-card { padding: 18px 20px; gap: 14px; }
  .sc-icon { width: 48px; height: 48px; }
  .sc-arrow { width: 44px; height: 44px; }
}

/* ===================== Textes & contact ===================== */
.block-intro { max-width: 760px; margin: calc(var(--gutter) * -0.4) 0 calc(var(--gutter) * 1.4); color: var(--muted); font-size: 16px; }
.block-intro strong { color: var(--fg); }
.inline-link { color: var(--fg); border-bottom: 1px solid var(--accent); }
.inline-link:hover { border-color: var(--fg); }
.styles { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); padding-top: var(--gutter); border-top: 1px solid var(--line); }
.styles > div { display: grid; gap: 12px; align-content: start; }
.styles .pills li { color: var(--fg); }
.pills-soft li { border-color: var(--line); font-style: italic; font-weight: 400; }
.mail-ico { color: var(--accent); font-size: 16px; line-height: 1; }
.footer-mail { background: none; border-top: 0; border-left: 0; border-right: 0; padding: 0 0 2px; color: var(--fg); cursor: pointer; }
.footer { padding-top: 0; }
.footer-row { border-top: 1px solid var(--line); }
.opt { font-weight: 400; font-style: italic; opacity: .7; }
.modal-head h3 em { font-weight: 300; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status a { color: var(--fg); border-bottom: 1px solid var(--accent); }
@media (max-width: 640px) { .styles { grid-template-columns: 1fr; } }

/* ===================== Langue ===================== */
.lang-btn {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px; margin: 0 4px;
  border: 1px solid var(--line); border-radius: 999px; background: none; color: inherit;
  font-size: 11px; font-weight: 800; letter-spacing: .06em;
}
.lang-btn span { padding: 5px 9px; border-radius: 999px; color: var(--muted); transition: background .25s, color .25s; }
.lang-btn:hover { border-color: var(--line-strong); }
html[lang="fr"] .lang-btn [data-l="fr"], html[lang="en"] .lang-btn [data-l="en"] { background: var(--fg); color: var(--bg); }
@media (max-width: 640px) {
  .brand { padding-right: 6px; }
  .brand span { display: none; }
}

/* Laisse de la place au badge Netlify (fixé en bas à droite, offre gratuite) */
.hero { padding-bottom: calc(var(--gutter) + 48px); }
.footer { padding-bottom: calc(var(--gutter) + 48px); }


/* tablette : on masque le mot à côté du logo pour laisser la place au menu */
@media (max-width: 900px) { .brand { padding-right: 6px; } .brand span { display: none; } }
