/* Try Paradise — nuit indigo, lumières safran */
:root {
  --night: #120c22;
  --night-2: #1b1233;
  --plum: #2a1840;
  --saffron: #f0a63a;
  --marigold: #ffc65c;
  --rose: #e2577a;
  --ink: #f4ecdf;
  --ink-soft: #cbbfae;
  --paper: #f7f0e4;
  --paper-ink: #2a1d2e;
  --paper-soft: #6b5a68;
  --line: rgba(240,166,58,.25);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 300 1.0625rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--marigold); }
em { font-style: italic; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; }
:focus-visible { outline: 2px solid var(--marigold); outline-offset: 3px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Barre de navigation */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  background: linear-gradient(to bottom, rgba(18,12,34,.85), rgba(18,12,34,0));
  transition: background .3s;
}
.topbar.scrolled { background: rgba(18,12,34,.94); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(240,166,58,.15); }
.brand { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); text-decoration: none; letter-spacing: .01em; }
.brand em { color: var(--marigold); }
nav { display: flex; gap: clamp(12px, 1.8vw, 26px); align-items: center; }
nav a { color: var(--ink); text-decoration: none; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 400; }
nav a:hover { color: var(--marigold); }
.nav-cta { border: 1px solid var(--saffron); padding: 7px 14px; border-radius: 999px; color: var(--marigold); }
.lang { border-left: 1px solid rgba(244,236,223,.3); padding-left: clamp(12px, 2vw, 22px); color: var(--ink-soft); }
.lang:hover { color: var(--marigold); }
.menu-toggle { display: none; background: none; border: 1px solid rgba(244,236,223,.4); color: var(--ink); font: 400 .8rem var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; }

/* Ouverture */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; }
.hero-img, .hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img img { object-fit: cover; object-position: 30% 40%; transform: scale(1.04); animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.1) translate(-1.5%, -1%); } }
.hero-veil { position: absolute; inset: 0; background:
  radial-gradient(ellipse at 75% 30%, rgba(240,166,58,.18), transparent 55%),
  linear-gradient(90deg, rgba(18,12,34,.15) 0%, rgba(18,12,34,.55) 45%, rgba(18,12,34,.92) 100%),
  linear-gradient(0deg, var(--night) 0%, rgba(18,12,34,0) 40%); }
/* Les cordes du santour (dessinées par site.js) */
.strings { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.strings-hint {
  position: absolute; left: var(--gutter); bottom: clamp(20px, 4vh, 36px); margin: 0;
  font: italic 400 1rem var(--serif); letter-spacing: .04em; color: rgba(255,198,92,.7);
  opacity: 0; transition: opacity 1.2s ease;
}
.strings-hint::before { content: ""; display: inline-block; width: 34px; height: 1px; margin-right: 12px; vertical-align: middle; background: currentColor; }
.strings-hint.show { opacity: 1; }
.hero-text { position: relative; z-index: 2; justify-self: end; width: min(560px, 100%); padding: 0 var(--gutter) clamp(56px, 10vh, 110px); }
.kicker { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--marigold); margin: 0 0 18px; }
.hero h1 { font-size: clamp(3.6rem, 10vw, 7.5rem); font-weight: 400; letter-spacing: -.01em; }
.hero h1 em { color: var(--marigold); }
.tagline { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 8px 0 14px; color: var(--ink); }
.hero-lead { color: var(--ink-soft); margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; text-decoration: none; padding: 13px 24px; border-radius: 999px; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 400; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--saffron); color: var(--night); }
.btn-solid:hover { background: var(--marigold); }
.btn-line { border: 1px solid rgba(244,236,223,.55); color: var(--ink); }
.btn-line:hover { border-color: var(--marigold); color: var(--marigold); }
.badge { margin: 26px 0 0; font-size: .85rem; color: var(--ink-soft); }
.ttt { display: inline-block; background: #e3001b; color: #fff; font: 600 .72rem var(--sans); letter-spacing: .08em; padding: 2px 6px; border-radius: 2px; margin-right: 6px; vertical-align: 1px; }

/* Titres de section */
section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.section-title { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 30px; }
.section-title span { background: linear-gradient(transparent 70%, rgba(240,166,58,.35) 70%); padding: 0 4px; }
.section-title.sub { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-top: clamp(56px, 8vw, 96px); }
.lede { font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.4; color: var(--ink); margin: 0 0 22px; }

.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.two-col.reverse .col-text { order: 2; }
.col-text p { color: var(--ink-soft); }
.col-img img { border-radius: 4px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.col-img figcaption { font-size: .82rem; color: var(--ink-soft); margin-top: 10px; font-style: italic; }

.projet { background: radial-gradient(ellipse at 10% 0%, var(--plum), transparent 60%), var(--night); }
.col-text .motto { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.45; color: var(--marigold); margin: 28px 0 0; padding-left: 20px; border-left: 1px solid var(--saffron); }

/* Musiciens : fiches */
.musiciens { background: var(--night-2); padding-bottom: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: clamp(56px, 8vw, 100px); }
.card { background: rgba(255,255,255,.025); border: 1px solid rgba(244,236,223,.1); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s, transform .3s; }
.card:hover { border-color: rgba(240,166,58,.4); }
.card figure { margin: 0; position: relative; aspect-ratio: 4/3; overflow: hidden; }
.card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card:hover figure img { transform: scale(1.04); }
.card figcaption { position: absolute; right: 8px; bottom: 6px; font-size: .68rem; color: rgba(244,236,223,.75); text-shadow: 0 1px 2px rgba(0,0,0,.7); }
.card-body { padding: 22px 24px 24px; }
.card h3 { font-size: 1.65rem; }
.card .role { margin: 4px 0 14px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--marigold); }
.card p { margin: 0 0 12px; color: var(--ink-soft); font-size: .98rem; }
.card details { border-top: 1px solid rgba(244,236,223,.1); padding-top: 10px; margin-top: 6px; }
.card summary { cursor: pointer; list-style: none; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.card summary::-webkit-details-marker { display: none; }
.card summary::after { content: " +"; color: var(--saffron); }
.card details[open] summary::after { content: " −"; }
.card details p { margin-top: 10px; }
.card-formules { padding: 28px; justify-content: center; gap: 22px; background: linear-gradient(160deg, rgba(240,166,58,.1), rgba(226,87,122,.06)); border-color: var(--line); }
.card-formules > h3 { font-size: 2rem; color: var(--ink); }
.formule h4 { font-size: 1.45rem; color: var(--marigold); margin-bottom: 6px; }
.formule p { margin: 0; }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: saturate(1.05); }

/* Album */
.ecouter { background: radial-gradient(ellipse at 90% 20%, rgba(226,87,122,.18), transparent 55%), var(--night); }
.cover img { border-radius: 2px; }
.tracks { columns: 2; column-gap: 32px; padding-left: 1.3em; margin: 0 0 30px; font-family: var(--serif); font-size: 1.25rem; }
.tracks li { padding: 3px 0; break-inside: avoid; }
.tracks li::marker { color: var(--saffron); font-family: var(--sans); font-size: .8rem; }
.platforms { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.platforms a { display: inline-block; text-decoration: none; padding: 8px 16px; border: 1px solid rgba(244,236,223,.25); border-radius: 999px; color: var(--ink); font-size: .85rem; transition: border-color .2s, color .2s; }
.platforms a:hover { border-color: var(--marigold); color: var(--marigold); }

/* Vidéos */
.videos { background: var(--night-2); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.video-grid.two { grid-template-columns: repeat(2, 1fr); gap: 36px; }
.video-grid.two .video h3 { font-size: 2rem; }
.yt { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; background: #000; aspect-ratio: 16/9; overflow: hidden; border-radius: 4px; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; opacity: .85; }
.yt:hover img { transform: scale(1.05); opacity: 1; }
.play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(240,166,58,.92); box-shadow: 0 0 0 8px rgba(240,166,58,.25); transition: box-shadow .3s; }
.yt:hover .play { box-shadow: 0 0 0 14px rgba(240,166,58,.18); }
.play::after { content: ""; position: absolute; left: 26px; top: 20px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent var(--night); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video h3 { font-size: 1.6rem; margin: 16px 0 6px; }
.video p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.more-link { margin: 40px 0 0; }
.more-link a { text-decoration: none; letter-spacing: .04em; }
.more-link a:hover { text-decoration: underline; }

/* Presse : page claire */
.presse { background: var(--paper); color: var(--paper-ink); }
.presse a { color: inherit; text-decoration-color: rgba(240,166,58,.7); text-underline-offset: 3px; }
.presse .section-title span { background: linear-gradient(transparent 70%, rgba(240,166,58,.45) 70%); }
.quote-main { margin: 0 0 56px; max-width: 900px; }
.quote-main p { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.35; margin: 0 0 14px; }
.quote-main footer { font-size: .9rem; letter-spacing: .06em; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 40px; }
.quotes blockquote { margin: 0; padding-top: 18px; border-top: 2px solid var(--saffron); }
.quotes p { font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; margin: 0 0 10px; }
.quotes footer { font-size: .82rem; letter-spacing: .05em; color: var(--paper-soft); }
.ondes { margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(42,29,46,.15); }
.ondes h3 { font-size: 1.6rem; margin-bottom: 12px; }
.ondes ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 40px; }
.ondes li { font-size: .95rem; color: var(--paper-soft); padding-left: 18px; position: relative; }
.ondes li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--saffron); }

/* Sur scène */
.scene { background: radial-gradient(ellipse at 85% 10%, rgba(240,166,58,.12), transparent 50%), var(--night); }
.affiches {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px var(--gutter) 26px; margin: 18px 0 clamp(48px, 7vw, 80px);
  scrollbar-width: thin; scrollbar-color: rgba(240,166,58,.5) transparent;
}
.affiches figure { margin: 0; flex: 0 0 auto; scroll-snap-align: center; }
.affiches img { height: clamp(300px, 46vh, 440px); width: auto; border-radius: 3px; box-shadow: 0 22px 40px -18px rgba(0,0,0,.8); transition: transform .4s ease; }
.affiches figure:hover img { transform: translateY(-6px) rotate(-.6deg); }
.affiches figcaption { margin-top: 12px; font: italic 400 1.05rem var(--serif); color: var(--ink-soft); }
.timeline { list-style: none; margin: 0; padding: 0; max-width: 860px; }
.timeline .year { display: grid; grid-template-columns: 120px 1fr; gap: 0 32px; padding: 26px 0; border-top: 1px solid var(--line); }
.timeline .year > span { font: 400 2.6rem/1 var(--serif); color: var(--marigold); }
.timeline ul { list-style: none; margin: 0; padding: 0; }
.timeline ul li { display: grid; grid-template-columns: 8em 1fr; gap: 0 14px; padding: 6px 0 6px 22px; position: relative; color: var(--ink-soft); }
.timeline ul li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 9px; height: 1px; background: var(--saffron); }
.timeline time { color: var(--ink); font-weight: 400; }
.timeline .highlight { color: var(--ink); }
.timeline .highlight::before { width: 7px; height: 7px; border-radius: 50%; top: .78em; background: var(--marigold); box-shadow: 0 0 10px rgba(255,198,92,.7); }
.timeline cite { font-style: italic; }

/* Galerie */
.galerie { background: var(--night-2); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 10px; }
.gallery a { display: block; overflow: hidden; border-radius: 3px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery a:hover img { transform: scale(1.06); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.credits { font-size: .82rem; color: var(--ink-soft); margin-top: 16px; font-style: italic; }

/* Programmateurs */
.programmer { background: linear-gradient(135deg, #3a1d3f 0%, #1b1233 60%); overflow: hidden; }
.programmer .wrap { position: relative; }
.rosace { position: absolute; width: min(900px, 120vw); right: -18%; top: 50%; margin-top: calc(min(900px, 120vw) / -2); opacity: .07; pointer-events: none; animation: tourne 240s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
.pro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-bottom: 48px; }
.pro-grid h3 { font-size: 1.55rem; color: var(--marigold); margin-bottom: 8px; }
.pro-grid p { margin: 0; color: var(--ink-soft); }
.downloads { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.downloads a { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); padding: 11px 16px; border: 1px solid rgba(240,166,58,.45); border-radius: 4px; transition: background .2s, border-color .2s; }
.downloads a::before { content: "↓"; color: var(--marigold); margin-right: 4px; }
.downloads a:hover { background: rgba(240,166,58,.1); border-color: var(--marigold); }
.downloads small { margin-left: auto; font-size: .75rem; color: var(--ink-soft); letter-spacing: .06em; }
.contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 28px; padding-top: 32px; border-top: 1px solid var(--line); }
.contact p { margin: 0; font-family: var(--serif); font-size: 1.35rem; }
.contact .contact-mail { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.contact-mail a { color: var(--marigold); text-decoration: none; }
.contact-mail a:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact .contact-alt { margin-top: 8px; font-family: var(--sans); font-size: .95rem; opacity: .8; }
.contact-alt a { color: inherit; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.admin { margin: 34px 0 0; font-size: .82rem; color: var(--ink-soft); letter-spacing: .03em; }

/* Pied de page */
.site-footer { text-align: center; padding: 56px var(--gutter); background: #0c0817; color: var(--ink-soft); font-size: .88rem; }
.site-footer .brand { font-size: 2rem; margin-bottom: 8px; display: block; }
.site-footer p { margin: 6px 0; }
.site-footer .small { font-size: .78rem; opacity: .8; }

/* Visionneuse */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(8,5,16,.92); }
.lightbox img { max-width: 94vw; max-height: 92vh; object-fit: contain; }
.lb-close { position: fixed; top: 14px; right: 18px; font-size: 2.2rem; line-height: 1; background: none; border: 0; color: var(--ink); cursor: pointer; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img img, .rosace { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .strings-hint { display: none; }
}

/* Tablette */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1020px) {
  nav { gap: 14px; }
  nav a { font-size: .74rem; letter-spacing: .1em; }
}
/* Tablette étroite et téléphone */
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  nav { position: fixed; inset: 60px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(18,12,34,.97); padding: 8px var(--gutter) 20px; transform: translateY(-120%); transition: transform .3s; }
  nav.open { transform: none; }
  nav a { padding: 14px 0; border-bottom: 1px solid rgba(244,236,223,.08); font-size: .82rem; }
  .nav-cta { border: 0; padding: 14px 0; }
  .lang { border-left: 0; padding-left: 0; }
  .two-col { grid-template-columns: 1fr; }
  .two-col.reverse .col-text { order: 0; }
  .cover { max-width: 420px; }
  .video-grid, .video-grid.two, .quotes, .pro-grid, .ondes ul { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .hero-text { justify-self: stretch; }
  .hero-veil { background: linear-gradient(0deg, var(--night) 8%, rgba(18,12,34,.55) 60%, rgba(18,12,34,.25) 100%); }
  .hero-img img { object-position: 50% 30%; }
  .strings-hint { display: none; }
  .timeline .year { grid-template-columns: 1fr; gap: 8px; }
  .rosace { right: -45%; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .timeline ul li { grid-template-columns: 1fr; }
  .timeline time { font-size: .85rem; letter-spacing: .06em; color: var(--marigold); }
}
@media (max-width: 520px) {
  .tracks { columns: 1; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip img:last-child { display: none; }
  .contact-actions .btn { flex: 1 1 auto; text-align: center; }
}
.ondes .note { margin: 18px 0 0; font-size: .8rem; color: var(--paper-soft); font-style: italic; }
