/* ==========================================================================
   Cant'Aura — feuille de style du thème
   Charte : bordeaux #5E1C25 · terracotta #C64A2F · soleil #FED85D
   ========================================================================== */

:root {
  --bordeaux: #5E1C25;
  --bordeaux-deep: #3F1118;
  --terra: #C64A2F;
  --terra-soft: #E0785F;
  --terra-ink: #A93D24;   /* terracotta pour petits textes sur fond clair (contraste AA) */
  --soleil: #FED85D;
  --cream: #F8F3EC;
  --cream-deep: #EFE6DA;
  --paper: #FFFFFF;
  --ink: #221B1C;
  --ink-soft: #5B5254;
  --line: rgba(94, 28, 37, .14);
  --font-display: var(--gh-font-heading, "Jost"), "Century Gothic", "Avenir Next", "Futura", sans-serif;
  --font-accent: "Elsie Swash Caps", "Iowan Old Style", Georgia, serif;
  --font-body: var(--gh-font-body, "Jost"), "Century Gothic", "Avenir Next", system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 18px;
  --shadow: 0 24px 60px -24px rgba(63, 17, 24, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--bordeaux); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--terra); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--bordeaux); margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); }
h4 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--terra); }
p { margin: 0 0 1.2em; text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
::selection { background: var(--soleil); color: var(--bordeaux-deep); }
html { scrollbar-color: rgba(94, 28, 37, .35) var(--cream); accent-color: var(--terra); }
input, textarea { caret-color: var(--terra); }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 4px; }
.season :focus-visible, .recruit :focus-visible, .hero :focus-visible, .site-footer :focus-visible, .lightbox :focus-visible, .nav-open .nav :focus-visible { outline-color: var(--soleil); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap-wide { width: min(1400px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.site { display: flex; min-height: 100vh; flex-direction: column; }
.site-main { flex: 1; }

/* Étiquettes et boutons ---------------------------------------------------- */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--terra-ink); margin: 0 0 14px; }
.eyebrow-light { color: var(--soleil); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid var(--bordeaux);
  background: var(--bordeaux); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; line-height: 1.1;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { color: #fff; background: var(--bordeaux-deep); border-color: var(--bordeaux-deep); }
@media (hover: hover) and (pointer: fine) { .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(63, 17, 24, .6); } }
.btn:active { transform: scale(.97); box-shadow: none; transition-duration: .1s; }
.btn-small { padding: 10px 18px; font-size: 14px; }
.btn-accent { background: var(--terra); border-color: var(--terra); }
.btn-accent:hover { background: #B03F26; border-color: #B03F26; }
.btn-light { background: var(--soleil); border-color: var(--soleil); color: var(--bordeaux-deep); }
.btn-light:hover { background: #FFE27A; border-color: #FFE27A; color: var(--bordeaux-deep); }
.btn-outline { background: transparent; color: var(--bordeaux); }
.btn-outline:hover { background: var(--bordeaux); color: #fff; }
.btn-outline-light { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .14); border-color: #fff; color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--bordeaux); }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* En-tête ------------------------------------------------------------------ */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248, 243, 236, .86); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -20px rgba(63, 17, 24, .35); }
.site-header.is-overlay { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-overlay.is-scrolled { background: rgba(248, 243, 236, .9); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); }
.announcement { background: var(--bordeaux); color: #fff; font-size: 14px; font-weight: 600; text-align: center; padding: 8px 0; }
.announcement a { color: var(--soleil); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: auto; height: 60px; }
.brand-name { font-family: var(--font-display); font-size: 28px; color: var(--bordeaux); }
.watermark { position: absolute; width: clamp(320px, 42vw, 640px); right: -6%; top: -18%; opacity: .07; pointer-events: none; z-index: 0; }
.watermark-left { right: auto; left: -8%; top: auto; bottom: -22%; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.nav-item a { font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink); padding: 6px 0; position: relative; }
.nav-item a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--terra); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-item a:hover::after, .nav-item.is-current a::after { transform: scaleX(1); }
.site-header.is-overlay:not(.is-scrolled) .nav-item a { color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }
.site-header.is-overlay:not(.is-scrolled) .nav-item a::after { background: var(--soleil); }
.brand-logo-light { display: none; }
.site-header.is-overlay:not(.is-scrolled) .brand-logo { display: none; }
.site-header.is-overlay:not(.is-scrolled) .brand-logo-light { display: block; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .35)); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0; }
.nav-toggle-bar { width: 24px; height: 2px; background: var(--bordeaux); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.site-header.is-overlay:not(.is-scrolled) .nav-toggle-bar { background: #fff; }
@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .brand-logo { height: 50px; }
  .nav-toggle { display: flex; }
  .nav { position: fixed; inset: 0; background: var(--bordeaux); flex-direction: column; justify-content: center; gap: 36px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s; z-index: 60; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease); }
  .nav .nav-list { flex-direction: column; align-items: center; gap: 22px; }
  .nav .nav-item a, .site-header.is-overlay:not(.is-scrolled) .nav .nav-item a { color: #fff; font-family: var(--font-display); font-size: 30px; font-weight: 600; text-shadow: none; }
  .nav .nav-item a::after { display: none; }
  .nav .nav-item, .nav .nav-cta { opacity: 0; transform: translateY(14px); transition: opacity .15s ease, transform .15s ease; }
  .nav-open .nav .nav-item, .nav-open .nav .nav-cta { opacity: 1; transform: none; transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); transition-delay: calc(80ms + var(--n, 0) * 45ms); }
  .nav-open .nav-toggle { position: relative; z-index: 70; }
  .nav-open .nav-toggle-bar { background: #fff; }
  .nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-open { overflow: hidden; }
  /* le flou de l'en-tête enfermerait le menu plein écran dans ses 72 px */
  body.nav-open .site-header, body.nav-open .site-header.is-overlay.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* Accueil : héros ---------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(400px, 2fr) 3fr; background: var(--bordeaux-deep); color: #fff; overflow: hidden; isolation: isolate; }
.hero-panel { position: relative; display: flex; align-items: flex-end; overflow: hidden; background: linear-gradient(160deg, var(--bordeaux) 0%, var(--bordeaux-deep) 100%); padding: calc(var(--header-h) + 56px) clamp(28px, 4vw, 64px) clamp(56px, 8vh, 96px) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.hero-watermark { width: clamp(360px, 46vw, 720px); left: auto; right: -34%; top: 6%; opacity: .08; }
.hero-content { position: relative; z-index: 1; max-width: 560px; }
.hero-media { position: relative; overflow: hidden; min-height: 100svh; animation: fade-in 1.4s var(--ease) both; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; animation: hero-zoom 26s var(--ease) both; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(34, 15, 18, .42) 0%, rgba(34, 15, 18, 0) 32%), linear-gradient(90deg, rgba(63, 17, 24, .28) 0%, rgba(63, 17, 24, 0) 18%); }
.hero-title { margin: 0 0 24px; line-height: 0; animation: rise 1.1s .15s var(--ease) both; }
.hero-title img, .hero-title svg { width: clamp(240px, 24vw, 400px); height: auto; overflow: visible; filter: drop-shadow(0 6px 30px rgba(0, 0, 0, .35)); }
.hero-tagline { font-size: clamp(19px, 1.7vw, 23px); font-weight: 400; line-height: 1.45; max-width: 24em; margin: 0 0 32px; color: rgba(255, 255, 255, .92); animation: rise 1.1s .35s var(--ease) both; }
.hero .eyebrow { animation: rise 1.1s .05s var(--ease) both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; animation: rise 1.1s .55s var(--ease) both; }
.hero-scroll { position: absolute; right: var(--gutter); bottom: 28px; z-index: 1; width: 28px; height: 46px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 14px; display: none; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scroll-dot 1.8s ease-in-out infinite; }
@media (min-width: 861px) { .hero-scroll { display: block; } }
/* Grands écrans : le bloc texte + logo du héros grandit avec l'écran (zoom proportionnel, largeur et hauteur)
   et se cale dans le panneau au lieu de suivre la colonne centrale de 1180 px. */
@media (min-width: 1600px) and (min-height: 980px) { .hero { --hz: 1.12; } }
@media (min-width: 1900px) and (min-height: 1050px) { .hero { --hz: 1.3; } }
@media (min-width: 2400px) and (min-height: 1340px) { .hero { --hz: 1.6; } }
@media (min-width: 3000px) and (min-height: 1680px) { .hero { --hz: 2; } }
@media (min-width: 3600px) and (min-height: 2000px) { .hero { --hz: 2.3; } }
@media (min-width: 1600px) {
  .hero-panel { padding-left: max(var(--gutter), min((100vw - var(--wrap)) / 2, 40vw - clamp(28px, 4vw, 64px) - 480px * var(--hz, 1))); }
  .hero-content { zoom: var(--hz, 1); max-width: 480px; }
  .hero-watermark { width: 46vw; } /* garde la proportion du portable : sans plafond, il glissait sous la photo */
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto; min-height: 0; }
  .hero-media { order: -1; min-height: 0; height: min(54svh, 480px); }
  .hero-img { object-position: center 45%; }
  .hero-scrim { background: linear-gradient(180deg, rgba(34, 15, 18, .5) 0%, rgba(34, 15, 18, 0) 40%, rgba(63, 17, 24, 0) 85%, var(--bordeaux-deep) 100%); }
  .hero-panel { padding: 36px var(--gutter) 48px; }
  .hero-title img, .hero-title svg { width: clamp(220px, 60vw, 320px); }
  .hero-watermark { width: 70vw; right: -30%; top: auto; bottom: -20%; }
}
.logo-ray, .logo-sun { transform-box: view-box; }
.logo-ray { transform-origin: 120px 386px; animation: ray-bloom .7s calc(.45s + var(--r) * 38ms) var(--ease-out) backwards; }
.logo-sun { transform-origin: 86.7px 385.4px; animation: sun-pop .6s .3s var(--ease-out) backwards; }
/* Clin d'œil au survol : les rayons tournent d'un cran en vague et le soleil s'arrondit (propriétés rotate/scale, indépendantes de l'éclosion) */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .logo-ray, .logo-sun { transition: rotate .45s var(--ease-out), scale .45s var(--ease-out); }
  .hero-title:hover .logo-ray { rotate: calc(3deg + var(--r) * .3deg); scale: 1.06; transition-timing-function: cubic-bezier(.34, 1.56, .64, 1); transition-duration: .6s; transition-delay: calc(var(--r) * 18ms); }
  .hero-title:hover .logo-sun { scale: 1.08; transition-timing-function: cubic-bezier(.34, 1.56, .64, 1); transition-duration: .5s; }
}
@keyframes ray-bloom { from { opacity: 0; transform: scale(.35) rotate(-14deg); } }
@keyframes sun-pop { from { opacity: 0; transform: scale(.4); } 70% { transform: scale(1.12); } }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes scroll-dot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* Accueil : bandeau prochain rendez-vous ----------------------------------- */
.next-event { background: var(--paper); border-bottom: 1px solid var(--line); }
.next-inner { display: flex; align-items: center; gap: 12px 28px; padding: 22px 0; flex-wrap: wrap; }
.next-label { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--terra-ink); white-space: nowrap; }
.next-body { margin: 0; flex: 1; font-size: clamp(18px, 1.8vw, 22px); color: var(--bordeaux); min-width: 240px; }
.next-detail { color: var(--ink-soft); font-size: .8em; font-family: var(--font-body); }

/* Accueil : le chœur ------------------------------------------------------- */
.about { padding: clamp(64px, 9vw, 128px) 0 clamp(40px, 6vw, 80px); }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-text h2, .content-intro h2 { margin-bottom: .6em; }
.content-intro p { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; }
.content-intro p:first-child { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; color: var(--bordeaux); font-weight: 600; }
.about-text .btn { margin-top: 8px; }
.about-figure { margin: 0; position: relative; }
.about-figure img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about-figure::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--radius); background: linear-gradient(135deg, var(--soleil), var(--terra)); opacity: .35; z-index: -1; }
.stats { list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stats li { padding: 26px 24px; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); }
.stats strong { display: block; font-family: var(--font-accent); font-size: 54px; line-height: 1; color: var(--terra); font-weight: 400; margin-bottom: 6px; }
.stats span { font-size: 15px; color: var(--ink-soft); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-figure { order: -1; } .about-figure img { aspect-ratio: 4 / 3; } .stats { grid-template-columns: repeat(2, 1fr); } }

/* Accueil : saison --------------------------------------------------------- */
.season { background: var(--bordeaux); color: #fff; padding: clamp(64px, 9vw, 128px) 0; position: relative; overflow: hidden; }
.season .wrap, .recruit .wrap { position: relative; z-index: 1; }
.recruit { position: relative; overflow: hidden; }
.season-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); position: relative; }
.season h2 { color: #fff; }
.season .eyebrow { color: var(--soleil); }
.season .link-arrow { color: var(--soleil); }
.season-content { font-size: 17px; }
.season-content h2, .season-content h3 { color: #fff; }
.season-content a { color: var(--soleil); }
.season-content ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; }
.season-content li { break-inside: avoid; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); font-size: 20px; font-weight: 500; line-height: 1.3; }
.season-content li small, .season-content li em { display: block; font-family: var(--font-body); font-style: normal; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .75; margin-top: 2px; }
@media (max-width: 900px) { .season-grid { grid-template-columns: 1fr; } .season-content ul { columns: 1; } }

/* Accueil : bande d'images ------------------------------------------------- */
.gallery-strip { padding: clamp(32px, 5vw, 64px) 0; overflow: hidden; }
.strip { display: flex; gap: 14px; padding: 0 var(--gutter); overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.js-reveal .strip .strip-item.reveal { transform: none; }
.strip::-webkit-scrollbar { display: none; }
.strip-item { flex: 0 0 auto; width: min(420px, 78vw); aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden; scroll-snap-align: start; background: var(--cream-deep); }
.strip-item.is-portrait { width: min(280px, 60vw); aspect-ratio: 2 / 3; }
.strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
@media (hover: hover) and (pointer: fine) { .strip-item:hover img { transform: scale(1.04); } }
@media (min-width: 1200px) { .strip:not(.is-marquee) { justify-content: center; } }
.strip.is-marquee { width: max-content; overflow: visible; gap: 0; padding: 0; animation: strip-drift var(--strip-dur, 72s) linear infinite; }
.strip.is-marquee .strip-item { margin-right: 14px; scroll-snap-align: none; }
.gallery-strip:hover .strip.is-marquee, .strip.is-marquee.is-held { animation-play-state: paused; }
.strip.is-marquee { touch-action: pan-y; }
.js-reveal .strip.is-marquee .strip-item { opacity: 1; transform: none; transition: none; }
@keyframes strip-drift { to { transform: translate3d(-50%, 0, 0); } }

/* Accueil : recrutement ---------------------------------------------------- */
.recruit { background: linear-gradient(120deg, var(--bordeaux) 0%, #7A2530 55%, var(--terra) 100%); color: #fff; padding: clamp(64px, 9vw, 128px) 0; }
.recruit-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.recruit h2 { color: #fff; font-size: clamp(32px, 4.4vw, 54px); }
.recruit p { font-size: 18px; max-width: 36em; color: rgba(255, 255, 255, .9); }
.recruit-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.recruit-facts li { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: 14px; padding: 18px 22px; backdrop-filter: blur(6px); }
.recruit-facts strong { display: block; font-size: 21px; font-weight: 600; }
.recruit-facts span { font-size: 14px; opacity: .85; }
@media (max-width: 900px) { .recruit-inner { grid-template-columns: 1fr; } }

/* Accueil : direction ------------------------------------------------------ */
.conductor { padding: clamp(64px, 9vw, 128px) 0; }
.testimonials { padding: clamp(64px, 9vw, 128px) 0; background: var(--cream-deep); }
.testimonials-source > p:first-child { display: none; }
.testimonials-source > figure, .testimonials-source > blockquote, .testimonials-source > p { margin: 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; align-items: stretch; }
.testimonial { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.testimonial-figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.testimonial-figure img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .9s var(--ease); }
@media (hover: hover) and (pointer: fine) { .testimonial:hover .testimonial-figure img { transform: scale(1.04); } }
.testimonial-body { padding: 28px 28px 26px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.testimonial-body blockquote { margin: 0; padding: 0; border: 0; font-family: var(--font-accent); font-size: clamp(20px, 1.6vw, 24px); line-height: 1.4; color: var(--bordeaux); }
.testimonial-body blockquote::before { content: "“"; display: block; font-size: 64px; line-height: .4; color: var(--terra); margin-bottom: 12px; }
.testimonial-who { margin-top: auto; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--terra-ink); }

.conductor-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.conductor-figure { margin: 0; }
.conductor-figure img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.quote { margin: 0 0 24px; padding: 0; font-family: var(--font-accent); font-size: clamp(21px, 2.1vw, 27px); line-height: 1.4; color: var(--bordeaux); }
@media (max-width: 900px) { .conductor-grid { grid-template-columns: 1fr; } .conductor-figure { max-width: 420px; } }

/* Accueil : actualités, suivre --------------------------------------------- */
.news { padding: 0 0 clamp(64px, 9vw, 128px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.follow { background: var(--paper); border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 96px) 0; }
.follow-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.follow h2 { margin-bottom: .4em; }
.follow-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
@media (max-width: 900px) { .follow-inner { grid-template-columns: 1fr; } }

/* Cartes d'articles -------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 1000px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.card:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) { .card:hover { transform: translateY(-4px); box-shadow: var(--shadow); } }
.card-link { display: block; color: inherit; text-decoration: none; height: 100%; }
.card-figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-deep); }
.card-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
@media (hover: hover) and (pointer: fine) { .card:hover .card-figure img { transform: scale(1.05); } }
.card-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--bordeaux), var(--terra)); }
.card-body { padding: 22px 24px 26px; }
.card-meta { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--ink-soft); margin-bottom: 10px; }
.card-tag { font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--terra-ink); font-size: 13px; text-decoration: none; }
.card-title { font-size: 22px; margin-bottom: 8px; }
.card-excerpt { margin: 0; font-size: 16px; color: var(--ink-soft); }

/* Pages ----------------------------------------------------------------------- */
.page-hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); }
.page-hero.has-image { min-height: min(62vh, 560px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--bordeaux-deep); padding-bottom: clamp(32px, 5vw, 64px); }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.page-contact .page-hero-img { object-position: center 15%; }
.page-hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(34, 15, 18, .25), rgba(63, 17, 24, .75)); }
.page-hero-content { position: relative; z-index: 1; }
.page-hero.has-image .page-title { color: #fff; text-shadow: 0 3px 30px rgba(0, 0, 0, .35); }
.page-title { margin-bottom: .2em; }
.page-hero:not(.has-image) .page-hero-content { max-width: 720px; }
.page-lede { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.5; max-width: 38em; margin: 0; color: var(--ink-soft); }
.page-hero.has-image .page-lede { color: rgba(255, 255, 255, .92); }
.content-wrap { padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 9vw, 120px); }
.content { max-width: 720px; margin-inline: auto; font-size: 18px; }
.content em { font-style: italic; }
.content > *:first-child { margin-top: 0; }
.content h2 { margin-top: 1.8em; font-size: clamp(28px, 3vw, 38px); position: relative; padding-bottom: .35em; }
.content h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--terra), var(--soleil)); }
.content h3 { margin-top: 1.6em; }
.content ul, .content ol { padding-left: 1.3em; }
.content li { margin-bottom: .4em; }
.content li::marker { color: var(--terra); }
.content blockquote { margin: 1.6em 0; padding: 0; font-family: var(--font-accent); font-size: 1.25em; line-height: 1.4; color: var(--bordeaux); }
.content hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.content figure { margin: 2em 0; }
.content figcaption { font-size: 14px; color: var(--ink-soft); text-align: center; margin-top: 10px; }
.content img { border-radius: 12px; }
.content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.content th, .content td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.content th { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--terra-ink); }
.content .kg-callout-card { border-radius: 14px; }
.content .kg-callout-emoji { display: none; }
.content .kg-button-card { margin: 1.8em 0 1.4em; justify-content: flex-start; }
.content .kg-button-card .kg-btn { border-radius: 999px; font-family: var(--font-body); font-weight: 700; font-size: 15px; letter-spacing: .01em; padding: 14px 26px; text-decoration: none; transition: transform .2s var(--ease-out), background-color .2s ease; }
.content .kg-button-card .kg-btn:hover { background: var(--bordeaux-deep); color: #fff; }
.content .kg-button-card .kg-btn:active { transform: scale(.97); transition-duration: .1s; }
.content .kg-btn-accent { background: var(--bordeaux); }
.content .kg-header-card { border-radius: var(--radius); overflow: hidden; }
.content .kg-toggle-card { border-radius: 14px; }
.content .kg-width-wide { --w: min(1180px, 100vw - 2 * var(--gutter)); width: var(--w); max-width: none; margin: 2em 0 2em calc(50% - var(--w) / 2); }
.content .kg-width-full { width: 100vw; max-width: none; margin: 2em 0 2em calc(50% - 50vw); }
body { overflow-x: clip; }
.kg-width-full img { border-radius: 0; }
.kg-gallery-image img { border-radius: 10px; }

/* Agenda (listes transformées par main.js) --------------------------------- */
.agenda { list-style: none; padding: 0 !important; margin: 1.2em 0 2em; }
.agenda li { display: flex; gap: 22px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); margin: 0; }
.agenda-date { flex: 0 0 74px; text-align: center; line-height: 1; color: var(--bordeaux); }
.agenda-date b { display: block; font-variant-numeric: lining-nums; font-family: var(--font-accent); font-size: 44px; font-weight: 400; }
.agenda-date small { display: block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--terra-ink); margin-top: 5px; }
.agenda-info { flex: 1; min-width: 0; }
.agenda-info strong { display: block; font-size: 19px; font-weight: 700; line-height: 1.25; }
.agenda-info small { display: block; font-size: 14px; color: var(--ink-soft); margin-top: 4px; }
.agenda-link { font-size: 14px; font-weight: 700; }
.agenda li.is-past { opacity: .55; }
.agenda li.is-past .agenda-date b { color: var(--ink-soft); }
.agenda li.is-past .agenda-date small { color: var(--ink-soft); }

/* Articles ------------------------------------------------------------------- */
.post-header { padding: clamp(48px, 7vw, 96px) 0 clamp(24px, 3vw, 40px); max-width: 820px; text-align: center; }
.post-meta { display: flex; justify-content: center; gap: 14px; align-items: center; font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; }
.post-title { font-size: clamp(30px, 5vw, 60px); }
.post-lede { font-size: clamp(18px, 1.8vw, 22px); color: var(--ink-soft); max-width: 36em; margin-inline: auto; }
.post-feature { margin: 0 auto; }
.post-feature img { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: var(--shadow); }
.post-feature figcaption { font-size: 14px; color: var(--ink-soft); text-align: center; margin-top: 10px; }
.post-footer { max-width: 720px; margin: 48px auto 0; padding-top: 24px; border-top: 1px solid var(--line); }
.post-nav { display: flex; flex-direction: column; gap: 4px; padding: 0 0 64px; max-width: 720px; }
.post-nav span { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--terra); }
.post-nav a { font-family: var(--font-display); font-size: 22px; font-weight: 600; text-decoration: none; }
.archive-head { padding: clamp(48px, 7vw, 96px) 0 clamp(28px, 4vw, 48px); }
.archive-head > * { max-width: 820px; }
.archive .card-grid { padding-bottom: clamp(64px, 9vw, 120px); }
.pagination { display: flex; justify-content: center; align-items: center; gap: 20px; padding: 40px 0 80px; }
.pagination-info { font-size: 14px; color: var(--ink-soft); }
.empty { text-align: center; color: var(--ink-soft); padding: 40px 0 80px; }

/* Pied de page --------------------------------------------------------------- */
.site-footer { background: var(--bordeaux-deep); color: rgba(255, 255, 255, .82); padding: clamp(48px, 6vw, 80px) 0 32px; font-size: 15px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--soleil); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo { width: 150px; height: auto; margin-bottom: 16px; }
.footer-col h4 { color: var(--soleil); margin-bottom: 12px; }
.footer-col p { margin-bottom: 10px; }
.footer-nav .nav-list { flex-direction: column; gap: 6px; }
.footer-nav .nav-item a { color: #fff; font-weight: 500; padding: 0; }
.footer-nav .nav-item a::after { display: none; }
.social { display: flex; gap: 18px; margin-top: 6px; }
.social a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; color: rgba(255, 255, 255, .6); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Visionneuse ----------------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20, 8, 10, .94); display: flex; align-items: center; justify-content: center; padding: 48px; }
.lightbox[hidden] { display: none; }
.lightbox:not([hidden]) { animation: fade-in .2s var(--ease-out); }
.lightbox:not([hidden]) .lightbox-img { animation: lb-in .25s var(--ease-out); }
@keyframes lb-in { from { opacity: 0; transform: scale(.96); } }
.lightbox-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background-color .15s ease, transform .15s var(--ease-out); }
.lightbox button svg { width: 22px; height: 22px; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lightbox button:active { transform: scale(.94); }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 14px; top: 50%; margin-top: -24px; }
.lightbox-next { right: 14px; top: 50%; margin-top: -24px; }
.lightbox-open { overflow: hidden; }
@media (max-width: 640px) { .lightbox { padding: 56px 8px; } }

/* Apparition douce ----------------------------------------------------------- */
.js-reveal .reveal { opacity: 0; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-reveal .reveal:not(.kg-width-wide):not(.kg-width-full) { transform: translateY(22px); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
.js-reveal .reveal { transition-delay: calc(var(--i, 0) * 90ms); }
.conductor-figure { position: relative; }
.js-reveal .about-figure.reveal:not(.kg-width-wide):not(.kg-width-full), .js-reveal .conductor-figure.reveal:not(.kg-width-wide):not(.kg-width-full) { transform: none; transition: opacity 1.1s var(--ease-out); }
.js-reveal .season-content.reveal, .js-reveal .conductor-text.reveal, .js-reveal .recruit-text.reveal { transition-duration: 1s; }
.js-reveal .season-content li.reveal { transition-duration: .5s; transition-delay: calc(.25s + var(--i, 0) * 60ms); }
.js-reveal .season-content li.reveal:not(.is-in) { transform: translateY(14px); }
.about-figure img, .conductor-figure img { will-change: transform; }
.watermark { will-change: transform; }
.hero-content { will-change: transform, opacity; }
.hero-watermark { animation: mark-in 2.4s .2s var(--ease-out) both, mark-zoom 26s .2s var(--ease) both; }
.brand-logo, .footer-logo { transition: transform .5s var(--ease); }
.brand:hover .brand-logo, .footer-logo:hover { transform: rotate(-4deg) scale(1.05); }
/* zoom sur la propriété scale, pour ne pas gêner la parallaxe qui écrit transform */
@keyframes mark-in { from { opacity: 0; } }
@keyframes mark-zoom { from { scale: .86; } }
/* L'intro du héros attend que la photo soit prête et l'onglet visible (classe posée dans <head>, retirée par main.js). */
.hero-wait .hero-media, .hero-wait .hero-img, .hero-wait .hero-title, .hero-wait .hero-tagline, .hero-wait .hero-actions, .hero-wait .hero .eyebrow, .hero-wait .hero-watermark, .hero-wait .logo-ray, .hero-wait .logo-sun { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .hero-img, .hero-media, .hero-title, .hero-title img, .hero-tagline, .hero-actions, .hero .eyebrow, .hero-scroll span, .hero-watermark, .strip.is-marquee { animation: none !important; }
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .strip-item img, .card-figure img, .testimonial-figure img { transition: none; }
  .btn:active, .card:active, .content .kg-btn:active { transform: none; }
  .lightbox:not([hidden]) .lightbox-img { animation: none; }
  .logo-ray, .logo-sun { animation: none; }
  .nav .nav-item, .nav .nav-cta, .nav-open .nav .nav-item, .nav-open .nav .nav-cta { opacity: 1; transform: none; transition: none; }
  ::view-transition-old(root), ::view-transition-new(root), ::view-transition-group(site-header) { animation: none; }
}

/* Entre les pages : fondu court, l'en-tête ne bouge pas (navigateurs compatibles) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; animation-timing-function: var(--ease-out); }
::view-transition-group(site-header) { animation-duration: .22s; }

/* Impression ----------------------------------------------------------------- */
@media print { .site-header, .site-footer, .hero-scroll, .lightbox { display: none !important; } body { background: #fff; } }
