/* ===========================================================
   GUI-FUN-V3 — thème CLAIR par-dessus styles.css + styles-v2-overrides.css
   Fond blanc dominant, touches de beige & mauve clair avec parcimonie.
   Le header + le hero violet restent identiques à la v2.
   =========================================================== */

:root {
  --v3-white:   #ffffff;
  --v3-cream:   #fffbf4;   /* blanc cassé */
  --v3-beige:   #f7ecd8;   /* beige doux */
  --v3-mauve:   #f0e4fa;   /* mauve très clair */
  --v3-mauve-2: #e4d2f5;
  --v3-ink:     #1c1226;   /* texte foncé */
  --v3-muted:   #6b5a7c;   /* texte secondaire clair */
  --v3-line:    rgba(28,18,38,.12);
  --v3-card:    #ffffff;
}

/* ---- Base claire ---- */
body { background: var(--v3-white); color: var(--v3-ink); }

/* Titres & textes en foncé sur fond clair */
.section h2,
.section h3,
.section .h2,
.section .h3 { color: var(--v3-ink); }
.lead { color: var(--v3-muted); }

/* Eyebrow : puce colorée cohérente sur fond clair */
.section .eyebrow { color: var(--pink-deep); }
.section .eyebrow::before { background: var(--cyan); }

/* =========================================================
   FONDS DE SECTIONS — blanc dominant, beige/mauve parcimonieux
   ========================================================= */
.nextshow { background: var(--v3-mauve); }
.formats  { background: var(--v3-white); }
.artists  { background: var(--v3-beige); }
.agenda   { background: var(--v3-white); }
.gallery  { background: var(--v3-mauve); color: var(--v3-ink); }
.faq      { background: var(--v3-white); }
.news     { background: var(--v3-beige); }
.contact  { background: var(--v3-white); border-top: 1px solid var(--v3-line); }
.footer   { background: var(--v3-cream); border-top: 1px solid var(--v3-line); }

/* Halos formats : très discrets sur fond blanc */
.formats::before { background: radial-gradient(circle, rgba(255,46,156,.10), transparent 66%); }
.formats::after  { background: radial-gradient(circle, rgba(69,223,232,.10), transparent 64%); }

/* =========================================================
   À L'AFFICHE (slider) — reste sombre à l'intérieur (photos),
   mais s'assoit sur un fond mauve clair
   ========================================================= */
.nextshow { margin-top: calc(-1 * clamp(34px, 5vw, 64px)); }
.nextshow .eyebrow { color: var(--pink-deep); }
/* les diapos sont sur photo sombre : titres en blanc */
.nextshow .eslide__title { color: #fff; }

/* =========================================================
   FORMATS — deux logos en parallèle, vibe street art
   ========================================================= */
.formats .lead strong { color: var(--pink-deep); }
.format {
  background: var(--v3-card);
  border: 3px solid var(--v3-ink);
  box-shadow: 10px 10px 0 rgba(28,18,38,.14);
  border-radius: 26px;
}
.format--show, .format--bingo { box-shadow: 10px 10px 0 rgba(28,18,38,.14); }
.format--show:hover, .format--bingo:hover { transform: translate(-3px,-3px); box-shadow: 14px 14px 0 rgba(28,18,38,.18); transition: transform .15s ease, box-shadow .15s ease; }

.format__media { min-height: clamp(200px, 26vw, 300px); position: relative; overflow: hidden; }
.format--show .format__media  { background: repeating-linear-gradient(45deg, #ffe6f3 0 22px, #ffd9ee 22px 44px); }
.format--bingo .format__media { background: repeating-linear-gradient(45deg, #ddf6f8 0 22px, #cbf0f3 22px 44px); }
/* petit grain "affiche collée" */
.format__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.5), transparent 8%),
    radial-gradient(circle at 82% 68%, rgba(0,0,0,.05), transparent 12%);
  mix-blend-mode: multiply; opacity: .5;
}
.format__logo {
  position: relative; z-index: 2;
  width: clamp(200px, 74%, 340px); height: auto;
  filter: drop-shadow(4px 6px 0 rgba(0,0,0,.22));
  transform: rotate(-3deg);
  animation: v3bob 6s ease-in-out infinite;
}
.format--bingo .format__logo { transform: rotate(3deg); animation-delay: .6s; }
@keyframes v3bob {
  0%,100% { transform: translateY(0) rotate(-3deg); }
  50%     { transform: translateY(-10px) rotate(-1deg); }
}
.format--bingo .format__logo { animation-name: v3bobR; }
@keyframes v3bobR {
  0%,100% { transform: translateY(0) rotate(3deg); }
  50%     { transform: translateY(-10px) rotate(1deg); }
}
/* tag conservé, contour street-art */
.format__tag { border: 2.5px solid var(--v3-ink); box-shadow: 3px 3px 0 rgba(28,18,38,.25); }
.format__body p { color: var(--v3-muted); }
.format__list li { color: var(--v3-ink); }
.format__body p strong { color: var(--v3-ink); }

/* =========================================================
   FONDATRICES — fond clair, hint sous les cartes, dos = logos
   ========================================================= */
.astro-intro .lead { color: var(--v3-muted); }
.astro-col { display: grid; gap: 14px; }
.astro-hint {
  text-align: center; color: var(--v3-muted); font-weight: 700;
  font-size: .95rem; margin: 6px 0 0;
}
/* les cartes gardent leur recto astral sombre (contraste voulu) */

/* VERSO — fond de couleur + "carte astrale" comme la v2,
   avec le logo de la drag concernée (versions transparentes) */
.astro-back-logo { width: 84%; }

/* =========================================================
   ÉVÈNEMENTS (ex-agenda) — cartes claires
   ========================================================= */
.agenda .lead strong { filter: none; }
.event {
  background: var(--v3-card);
  border: 2px solid var(--v3-line);
  border-radius: 20px;
}
.event__mo, .event__yr { color: var(--v3-muted); }
.event__meta { color: var(--v3-muted); }
.event__title { color: var(--v3-ink); }
.event__cal { color: var(--v3-ink); box-shadow: inset 0 0 0 1.5px var(--v3-line); }
.event__cal:hover { box-shadow: inset 0 0 0 1.5px var(--pink); color: var(--pink-deep); }
.event--show  { box-shadow: inset 5px 0 0 var(--pink); }
.event--bingo { box-shadow: inset 5px 0 0 var(--cyan); }
.event:hover { border-color: var(--v3-mauve-2); }

/* mots "bingo" & "drag" agrandis dans le chapô */
.big-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4em;
  line-height: 1;
  letter-spacing: -.01em;
}
.big-word--bingo { color: var(--cyan); }
.big-word--drag  { color: var(--pink-deep); }
.big-word--show  { color: var(--pink-deep); }

/* =========================================================
   GALERIE — fond mauve clair, textes foncés
   ========================================================= */
.gallery .eyebrow { color: var(--pink-deep); }
.gallery .lead { color: var(--v3-muted); }
.gallery__item { background: var(--v3-mauve-2); }

/* =========================================================
   FAQ — cartes claires
   ========================================================= */
.faq__item { background: var(--v3-card); border: 2px solid var(--v3-line); }
.faq__q { color: var(--v3-ink); }
.faq__q .ic { background: var(--v3-mauve); }
.faq__q .ic::before, .faq__q .ic::after { background: var(--v3-ink); }
.faq__item.is-open .faq__q .ic { background: var(--pink); }
.faq__item.is-open .faq__q .ic::before, .faq__item.is-open .faq__q .ic::after { background: #fff; }
.faq__a p { color: var(--v3-muted); }
.faq__cat--gen { background: rgba(255,225,26,.28); color: #a07d00; }

/* =========================================================
   NEWSLETTER — carte gradient conservée (pop), sur fond beige
   ========================================================= */
/* la carte garde son gradient rose/cyan : bien sur fond clair */

/* =========================================================
   CONTACT / FOOTER — clair
   ========================================================= */
.contact .eyebrow { color: var(--pink-deep); }
.contact__intro p { color: var(--v3-muted); }
.contact__cols a { color: var(--v3-muted); }
.contact__cols a:hover { color: var(--pink-deep); }
.contact__big-ig { color: var(--v3-ink); }
.contact__col h4 { color: var(--v3-ink); }
.footer__inner { color: var(--v3-muted); }
.footer__brand { color: var(--v3-ink); }

/* =========================================================
   NAV — couleur adaptée (ink sombre neutre, au lieu du violet)
   ========================================================= */
.nav.is-scrolled { background: rgba(28,18,38,.92); }
/* pages événement : pas de hero sombre → nav solide dès le départ
   (sinon texte/burger blancs invisibles sur fond clair) */
.nav--solid { background: rgba(28,18,38,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav__brand { color: #fff; }
.nav__drawer { background: #1c1226; }
/* les liens du menu mobile héritaient du texte foncé sur fond foncé → invisibles */
.nav__drawer a { color: #fff; }
.nav__drawer a:hover { color: var(--yellow); }

/* liens génériques */
a { color: inherit; }

/* =========================================================
   FONDATRICES — corrections
   ========================================================= */
/* le nom de la carte doit rester blanc sur le recto astral sombre
   (l'override .section h3 le rendait sombre → illisible comme sur v2) */
.astro-card__front .astro-name { color: #fff; }
/* dos de la carte de Petrouchna : dégradé jaune → bleu */
.astro-card[data-side="right"] .astro-card__back {
  background: linear-gradient(150deg, var(--yellow) 0%, #38cfe4 52%, #1f6fe0 100%);
}
/* lien insta des fondatrices : icône + pseudo */
.astro-insta { display: inline-flex; align-items: center; gap: 6px; }
.astro-insta svg { width: 14px; height: 14px; }

/* OMBRE des cartes : portée par la carte (qui ne pivote pas) plutôt que
   par les faces (la face arrière pivote en 3D et inversait le sens de
   l'ombre → impression d'ombre des deux côtés). Résultat identique
   de face comme de dos. */
/* OMBRE des cartes : portée par l'inner → elle tourne AVEC la carte
   pendant le flip (plus d'ombre "détachée"). Quand le dos est affiché
   (inner à rotateY 180), on pré-inverse l'offset pour qu'il retombe
   en bas-droite, comme la face. */
.astro-card { border-radius: 0; box-shadow: none; }
.astro-card__face { box-shadow: none; }
.astro-card__inner { border-radius: var(--r-lg); box-shadow: 8px 8px 0 rgba(0,0,0,.5); }
.astro[data-active="left"]  .astro-card[data-side="right"] .astro-card__inner,
.astro[data-active="right"] .astro-card[data-side="left"]  .astro-card__inner { box-shadow: -8px 8px 0 rgba(0,0,0,.5); }

/* Smartphone : cartes plus grandes, la carte active recouvre ~1/3 de
   l'autre. Largeur r\u00e9duite + marges pour tenir dans l'\u00e9cran (pas de
   d\u00e9bordement \u00e0 droite), hauteur augment\u00e9e pour afficher la description. */
@media (max-width: 460px) {
  .astro { gap: 0; }
  .astro-blurb { display: block; }               /* description r\u00e9affich\u00e9e */
  .astro-card { width: clamp(135px, 45vw, 260px); aspect-ratio: 3 / 6.3; }
  /* la carte de dos (inactive) est plus petite, la carte visible (active)
     plus grande — mais les marges ne changent pas, donc la largeur totale
     occupée par la paire reste la même */
  .astro-card { transform: scale(.8) translateY(6px); }
  .astro-card[data-side="left"]  { margin-right: -8%; }
  .astro-card[data-side="right"] { margin-left: -8%; }
  /* on annule la translation horizontale (le chevauchement vient des
     marges) pour \u00e9viter que la carte active ne d\u00e9borde de l'\u00e9cran */
  .astro[data-active="left"]  .astro-card[data-side="left"]  { transform: scale(1) translate(0, -8px); }
  .astro[data-active="right"] .astro-card[data-side="right"] { transform: scale(1) translate(0, -8px); }
  /* garde-fou : la section ne peut jamais déborder horizontalement */
  .artists, .astro-layout, .astro-col, .astro { overflow-x: clip; max-width: 100%; }
}

/* Téléphone : on masque le grand signe astro affiché au-dessus de la
   photo, ce qui libère de la place et agrandit le portrait. */
@media (max-width: 560px) {
  .astro-sign { display: none; }
  .astro-signname { display: none; }
  .astro-traits span:last-child { display: none; } /* ascendant (↑) */
  .astro-photo { width: 70%; }
}

/* =========================================================
   FORMATS — version "tickets" (billets, comme la proposition 8)
   ========================================================= */
/* à l'affiche + nos formats partagent le MÊME fond pour éviter
   une transition abrupte entre les deux sections adjacentes */
.nextshow, .formats { background: radial-gradient(120% 90% at 80% 0%, #ffd9ee 0%, #f4e6ff 46%, #e5f7f9 100%); }
.formats::before, .formats::after { display: none; }
/* l'étoile déco de « À l'affiche » déborde en bas de la section :
   on remonte le z-index pour qu'elle passe au-dessus de la section suivante */
.nextshow { position: relative; z-index: 2; }
.tk-stack { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 60px); justify-content: center; }
.tk-card {
  position: relative; flex: 1 1 320px; max-width: 420px;
  background: #fff; border-radius: 22px;
  padding: clamp(26px, 3.5vw, 42px);
  box-shadow: 0 30px 60px -30px rgba(120,40,120,.5);
}
.tk-card--show { transform: rotate(-2.2deg); }
.tk-card--bingo { transform: rotate(2.2deg); }
.tk-card::before {
  content: ""; position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 22px; border-radius: 6px;
  background: repeating-linear-gradient(90deg, var(--v3-ink) 0 5px, transparent 5px 10px); opacity: .16;
}
.tk-hole { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--v3-beige); top: calc(50% - 8px); }
.tk-notch-l { left: -8px; } .tk-notch-r { right: -8px; }
.tk-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center 22%; border-radius: 14px; margin-bottom: clamp(16px, 2.4vw, 24px); }
.tk-logo { display: block; width: 82%; margin: 2px auto clamp(18px, 2.6vw, 26px); }
.tk-card h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); text-align: center; margin-bottom: 10px; color: var(--v3-ink); }
.tk-card p { color: var(--v3-muted); text-align: center; max-width: 36ch; margin-inline: auto; }
.tk-perf { border-top: 2px dashed rgba(28,18,38,.25); margin-top: 22px; padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; font-family: var(--font-display); font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--v3-muted); }

/* =========================================================
   HERO — piste 12 : bande photo en diagonale + contenu centré
   ========================================================= */
.hero { background: #160c20; }
.hero__band {
  position: absolute; inset: 0; z-index: 0;
  background: url("../img/shows/hero-petass.jpg") center 30%/cover;
  clip-path: polygon(0 24%, 100% 4%, 100% 76%, 0 96%);
  opacity: .9;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(22,12,32,.5), rgba(69,0,95,.5));
}
.hero .hero__inner { position: relative; z-index: 2; justify-items: center; text-align: center; }
/* Mobile : photo portrait d\u00e9di\u00e9e (mieux cadr\u00e9e qu'un recadrage du paysage) */
@media (max-width: 640px) {
  .hero__band {
    background-image: url("../img/shows/hero-mobile-b.jpg");
    background-position: 66% 20%;
  }
}
@media (min-width: 860px) { .hero .hero__inner { max-width: 820px; } }
.hero__logo { filter: drop-shadow(0 0 16px rgba(0,0,0,.45)) drop-shadow(5px 7px 12px rgba(0,0,0,.5)) drop-shadow(-5px -4px 11px rgba(0,0,0,.4)) drop-shadow(6px -5px 11px rgba(0,0,0,.35)); }
.hero__baseline { margin-inline: auto; color: #fff; }
.hero__meta { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  .format__logo { animation: none !important; }
}

/* =========================================================
   FOOTER — dernier bloc en dégradé rose → bleu (comme le dos
   de la carte de Midass)
   ========================================================= */
.footer {
  background: linear-gradient(150deg, var(--pink) 0%, #ff6ec2 48%, var(--cyan) 100%);
  border-top: 0;
}
.footer__inner { color: rgba(255,255,255,.92); }
.footer__brand { color: #fff; }
.footer__brand img { border-radius: 8px; }

/* =========================================================
   FICHES ARTISTES (page détail d'un événement)
   — nom lisible sur la carte sombre
   — lien Instagram ancré en bas de la carte (hauteur égale)
   ========================================================= */
.artist { display: flex; flex-direction: column; }
.artist__photo { flex: none; }
.artist__body { flex: 1 1 auto; display: flex; flex-direction: column; }
/* .section h3 (spécificité 0,1,1) rendait le nom sombre : on le bat avec .section .artist__name (0,2,0) */
.section .artist__name { color: #fff; }
.artist__social { margin-top: auto; align-self: flex-start; }
