/* =========================================================
   Les Plis du Vent — feuille de style du site public (v1.2)
   Couleurs et polices de la compagnie, mise en page claire
   ========================================================= */
:root {
  --jaune: #FCC73E;
  --jaune-clair: #FFF1C9;
  --jaune-fonce: #E9B32A;
  --rose: #E72885;
  --rose-fonce: #C41A6E;
  --encre: #2B2B2B;
  --texte: #2E3440;
  --doux: #5f5a4e;
  --c: var(--rose);
  --rayon: 16px;
  --display: "Flegrei", "Fredoka", system-ui, sans-serif;
  --corps: "Fredoka", system-ui, -apple-system, "Segoe UI", sans-serif;
  --barre: 100px;
}
@media (max-width: 640px) { :root { --barre: 88px; } }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 20px; }
body { margin: 0; background: var(--jaune); color: var(--texte); font-family: var(--corps); font-size: 1rem; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--rose); }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--encre); color: #fff; padding: .6rem 1rem; z-index: 999; }
.skip:focus { left: 1rem; top: 1rem; }
.centre { text-align: center; }

/* ---------- Grille de base ---------- */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }
.wrap-etroit { max-width: 760px; }
.sec { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.sec-claire { background: var(--jaune-clair); }
.sec-blanche { background: #fff; }
.sec-sombre { background: var(--encre); color: #eee; }
.sec-tete { margin-bottom: 1.8rem; }
.sec-tete.centre { text-align: center; }
.kicker { margin: 0 0 .35rem; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--rose-fonce); }
.sec-sombre .kicker { color: var(--jaune); }

/* ---------- Titres ---------- */
.titre-flegrei { font-family: var(--display); color: var(--rose); font-weight: 400; line-height: 1.08; letter-spacing: .01em; margin: 0 0 .5em; }
h1.titre-flegrei { font-size: clamp(2.2rem, 5.5vw, 3.3rem); }
h2.titre-flegrei { font-size: clamp(1.6rem, 3.4vw, 2.1rem); }
.texte h3 { font-weight: 600; font-size: 1.12rem; color: var(--encre); margin: 1.8em 0 .4em; }
.sec-sombre .texte h3 { color: #fff; }
.texte p { margin: 0 0 1em; }
.texte ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.texte li { margin-bottom: .35em; }
.texte blockquote { margin: 1.4em 0; padding: .2em 0 .2em 1.1em; border-left: 4px solid var(--rose); font-style: italic; }
.lead { font-size: 1.15rem; line-height: 1.55; margin: 0 0 1.4rem; max-width: 36em; }

/* ---------- Boutons, étiquettes ---------- */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .6em 1.2em; border-radius: 999px; background: #fff; color: var(--encre);
  border: 2px solid var(--encre); text-decoration: none; font-weight: 500; font-size: .95rem; line-height: 1.2; transition: transform .2s ease, background .2s, color .2s; }
.bouton:hover { transform: translateY(-2px); background: var(--encre); color: #fff; }
.bouton-rose { background: var(--rose); border-color: var(--rose); color: #fff; }
.bouton-rose:hover { background: var(--rose-fonce); border-color: var(--rose-fonce); color: #fff; }
.bouton-jaune { background: var(--jaune); border-color: var(--jaune); color: var(--encre); }
.bouton-jaune:hover { background: #fff; border-color: #fff; color: var(--encre); }
.bouton-ligne { background: transparent; border-color: currentColor; color: inherit; }
.bouton-ligne:hover { background: #fff; color: var(--encre); border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; }
.badges { list-style: none; margin: 0 0 1.1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.badges li { padding: .25em .85em; border-radius: 999px; font-size: .88rem; font-weight: 500; background: rgba(255,255,255,.85); color: var(--encre); }

/* ---------- En-tête : burger + logo rond ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50; display: flex; justify-content: space-between; align-items: center;
  height: var(--barre); padding: 0 clamp(14px, 3vw, 28px); pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.burger {
  width: 60px; height: 60px; border: 0; background: transparent; cursor: pointer; padding: 0 9px;
  display: flex; flex-direction: column; justify-content: center; gap: 7px; border-radius: 12px;
}
.burger span { display: block; height: 6px; border-radius: 4px; background: #3a3a3a; transition: background .3s, transform .3s; }
/* Sur un en-tête foncé ou coloré, le burger passe en blanc (géré en JS selon ce qu'il y a dessous) */
.burger-clair .burger span { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.burger:hover span { background: var(--rose); }
.logo-rond {
  width: 74px; height: 74px; border-radius: 50%; background: var(--rose); display: grid; place-items: center;
  overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.12); transition: transform .3s ease;
}
.logo-rond:hover { transform: rotate(-8deg) scale(1.05); }
.logo-rond img { width: 100%; height: 100%; object-fit: cover; }
.logo-rond span { font-family: var(--display); color: #fff; font-size: 1.4rem; }
@media (max-width: 640px) { .logo-rond { width: 64px; height: 64px; } .burger { width: 52px; height: 52px; padding: 0 8px; gap: 6px; } .burger span { height: 5px; } }

/* Menu plein écran */
.menu {
  position: fixed; inset: 0; z-index: 100; background: var(--rose); color: var(--jaune);
  display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 2rem;
  opacity: 0; transition: opacity .3s ease;
}
.menu.ouvert { opacity: 1; }
.menu[hidden] { display: none; }
.menu ul { list-style: none; margin: 0; padding: 0; text-align: center; }
.menu li { margin: .2em 0; transform: translateY(14px); opacity: 0; transition: transform .45s ease, opacity .45s ease; }
.menu.ouvert li { transform: none; opacity: 1; }
.menu.ouvert li:nth-child(2) { transition-delay: .04s } .menu.ouvert li:nth-child(3) { transition-delay: .08s }
.menu.ouvert li:nth-child(4) { transition-delay: .12s } .menu.ouvert li:nth-child(5) { transition-delay: .16s }
.menu.ouvert li:nth-child(6) { transition-delay: .2s } .menu.ouvert li:nth-child(7) { transition-delay: .24s }
.menu a { font-family: var(--display); font-size: clamp(2rem, 6vw, 3.6rem); text-decoration: none; color: var(--jaune); line-height: 1.25; }
.menu a:hover, .menu a[aria-current] { color: #fff; }
.menu a[aria-current]::after { content: " ~"; }
.menu-close { position: absolute; top: calc(var(--barre) / 2 - 26px); left: clamp(14px, 3vw, 28px); width: 52px; height: 52px; border: 0; background: transparent; color: var(--jaune); font-size: 3.2rem; line-height: 1; cursor: pointer; }
.menu-souffle { margin-top: 2rem; font-style: italic; opacity: .8; }
body.menu-ouvert { overflow: hidden; }
.admin-pill { position: fixed; right: 16px; bottom: 16px; z-index: 60; background: var(--encre); color: #fff; text-decoration: none; padding: .5em 1em; border-radius: 999px; font-size: .9rem; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.admin-pill:hover { color: var(--jaune); }


/* =========================================================
   En-tête de page (comme « La tête dans les étoiles »)
   ========================================================= */
.hero { position: relative; margin-top: calc(-1 * var(--barre)); padding: calc(var(--barre) + 1.5rem) 0 clamp(2.5rem, 6vw, 4rem); background: var(--hero, var(--jaune)); }
.hero-in { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hero.avec-photo .hero-in { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.hero h1 { margin-bottom: .3em; }
.hero .fil { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 .5rem; }
.hero .fil a { text-decoration: none; }
.ton-clair { color: #fff; }
.ton-clair .kicker, .ton-clair .fil { color: rgba(255,255,255,.85); }
.ton-clair h1.titre-flegrei { color: var(--jaune); }
.ton-sombre { color: #1d1d1d; }
.ton-sombre h1.titre-flegrei { color: var(--rose-fonce); }
.ton-clair a:not(.bouton):hover { color: var(--jaune); }
.hero-photo { position: relative; margin: 0; justify-self: center; width: fit-content; max-width: min(100%, 440px); transform: rotate(2deg); }
.hero-photo img { width: auto; max-width: 100%; max-height: 440px; border: 6px solid #fff; border-radius: 18px; box-shadow: 0 22px 50px rgba(0,0,0,.28); background: #fff; }
.hero-photo::before { content: "✦"; position: absolute; top: -1.3rem; right: -.9rem; z-index: 1; font-size: 2.4rem; line-height: 1; color: var(--rose); transform: rotate(-12deg); text-shadow: 0 4px 12px rgba(0,0,0,.2); }
.ton-clair .hero-photo::before, .hero-rose .hero-photo::before { color: var(--jaune); }
@media (max-width: 820px) { .hero.avec-photo .hero-in { grid-template-columns: 1fr; } .hero-photo { max-width: 340px; } .hero-photo img { max-height: 380px; } }

/* En-tête simple (listes, pages) */
.page-tete { padding: .5rem 0 2rem; text-align: center; }
.page-tete .lead { margin-left: auto; margin-right: auto; }
.page-tete .texte { max-width: 620px; margin: 0 auto; }

/* Sommaire de page */
.sommaire { border-top: 1px solid rgba(0,0,0,.08); border-bottom: 1px solid rgba(0,0,0,.08); background: rgba(255,255,255,.35); }
.sommaire ul { list-style: none; margin: 0 auto; padding: .7rem 1.25rem; max-width: 1080px; display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; }
.sommaire a { display: block; white-space: nowrap; text-decoration: none; padding: .35em .9em; border-radius: 999px; font-size: .92rem; font-weight: 500; }
.sommaire a:hover { background: #fff; color: var(--rose-fonce); }

/* =========================================================
   Accueil
   ========================================================= */
.accueil-hero { padding: 0 0 clamp(2.5rem, 6vw, 4rem); }
.accueil-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
.accueil-vague { max-width: 460px; justify-self: center; width: 100%; }
/* La vague qui bouge : même mouvement que l'original */
.vague { width: 100%; animation: flotter 1s ease infinite alternate; transform: translateZ(0); }
@keyframes flotter { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -3%, 0); } }
.accueil-txt h1 { font-size: clamp(2.3rem, 5.5vw, 3.4rem); margin-bottom: .15em; }
.accueil-tag { font-size: 1.12rem; font-weight: 500; margin: 0 0 1.3rem; }
.accueil-txt .texte { text-align: justify; hyphens: auto; }
.accueil-mag { margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.accueil-mag em { font-size: .95rem; }
@media (max-width: 760px) { .accueil-in { grid-template-columns: 1fr; text-align: center; } .accueil-vague { max-width: 260px; } .accueil-mag { justify-content: center; } }

.une-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; }
.une-in .texte { text-align: justify; hyphens: auto; }
@media (max-width: 820px) { .une-in { grid-template-columns: 1fr; } }

/* Bandes colorées des spectacles (design d'origine) */
.bande { background: var(--c); padding: clamp(2rem, 5vw, 3.2rem) 0; }
.bande-in { max-width: 900px; margin: 0 auto; padding: 0 1.25rem; display: grid; grid-template-columns: 230px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.bande-inverse .bande-in { grid-template-columns: 1fr 230px; }
.bande-inverse .bande-img { order: 2; }
.bande-img { display: block; border-radius: var(--rayon); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 10px 24px rgba(0,0,0,.16); background: rgba(255,255,255,.2); }
.bande-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.bande-img:hover img { transform: scale(1.04); }
.bande-txt .titre-flegrei { font-size: clamp(1.6rem, 3.6vw, 2rem); }
.bande-txt .texte { text-align: justify; hyphens: auto; }
@media (max-width: 760px) {
  .bande-in, .bande-inverse .bande-in { grid-template-columns: 1fr; }
  .bande-inverse .bande-img { order: 0; }
  .bande-img { aspect-ratio: 4 / 3; max-width: 340px; width: 100%; margin: 0 auto; }
}
.teaser-festival { background: var(--rose); color: #fff; text-align: center; padding: clamp(2.5rem, 6vw, 3.5rem) 1.25rem; }
.teaser-festival .titre-flegrei { color: var(--jaune); font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: .2em; }
.teaser-ligne { font-size: 1.05rem; margin: 0 0 1.5rem; }

/* =========================================================
   Vidéo (chargée au clic) et galerie
   ========================================================= */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--rayon); overflow: hidden; background: #111; box-shadow: 0 12px 30px rgba(0,0,0,.18); width: 100%; max-width: 760px; margin: 0 auto; }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; border: 0; background: var(--rose); cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: transform .2s; }
.video-play:hover { transform: scale(1.08); }
.video-play span { display: block; margin-left: 27px; width: 0; height: 0; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent #fff; }
.video-note { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: .5rem; font-size: .78rem; color: #fff; text-align: center; background: linear-gradient(transparent, rgba(0,0,0,.6)); }

.galerie { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .9rem; }
.galerie-item { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 16px rgba(0,0,0,.12); background: #fff; }
.galerie-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.galerie-item:hover img { transform: scale(1.05); }
/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,20,20,.92); display: grid; place-items: center; padding: 3rem 1rem; }
.lightbox img { max-height: 85vh; width: auto; border-radius: 10px; }
.lightbox p { color: #fff; text-align: center; margin: .8rem 0 0; }
.lightbox button { position: absolute; border: 0; background: transparent; color: #fff; font-size: 2.6rem; cursor: pointer; padding: .5rem 1rem; }
.lb-close { top: .5rem; right: .5rem; } .lb-prev { left: .3rem; top: 50%; transform: translateY(-50%); } .lb-next { right: .3rem; top: 50%; transform: translateY(-50%); }


/* =========================================================
   Fiche spectacle
   ========================================================= */
.histoire { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.histoire .texte { max-width: 660px; }
.cote { display: grid; gap: 1.6rem; justify-items: center; position: sticky; top: 20px; }
.affiche { width: 100%; max-width: 240px; margin: 0; transform: rotate(1.5deg); }
.affiche img { width: 100%; border-radius: 12px; border: 5px solid #fff; box-shadow: 0 14px 34px rgba(0,0,0,.22); }
@media (max-width: 860px) { .histoire { grid-template-columns: 1fr; } .cote { position: static; } }

/* Encadré « En pratique » */
.pratique { width: 100%; background: #fff; border-radius: var(--rayon); box-shadow: 0 10px 28px rgba(0,0,0,.09); overflow: hidden; font-size: .93rem; }
.pratique-tete { background: var(--c); padding: .8rem 1.2rem; }
.pratique-tete h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 1.35rem; color: #fff; }
.pratique-tete.ton-sombre h2 { color: var(--encre); }
.pratique-corps { padding: 1rem 1.2rem 1.2rem; }
.infos { list-style: none; margin: 0 0 1rem; padding: 0; }
.infos li { display: grid; grid-template-columns: 34px 1fr; gap: .7rem; align-items: start; padding: .55rem 0; border-bottom: 1px dashed #e8e1cf; }
.infos li:last-child { border-bottom: 0; }
.infos .ico { width: 34px; height: 34px; border-radius: 50%; background: var(--jaune-clair); color: var(--rose-fonce); display: grid; place-items: center; font-size: 1rem; font-weight: 700; }
.infos small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--doux); }
.infos a { overflow-wrap: anywhere; }
.pratique .actions { flex-direction: column; }
.pratique .bouton { width: 100%; }

/* Distribution */
.grille-artistes { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.2rem 1rem; }
.carte-artiste { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; padding: 1rem .5rem; border-radius: var(--rayon); transition: background .25s, transform .25s; }
.carte-artiste:hover { background: rgba(255,255,255,.55); transform: translateY(-4px); color: inherit; }
.avatar { width: 104px; height: 104px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--rose); box-shadow: 0 8px 22px rgba(0,0,0,.14); margin-bottom: .8rem; border: 4px solid #fff; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-vide { font-family: var(--display); color: var(--jaune); font-size: 2.1rem; }
.avatar-s { width: 78px; height: 78px; } .avatar-s.avatar-vide { font-size: 1.6rem; }
.carte-artiste-nom { font-family: var(--display); color: var(--rose); font-size: 1.15rem; line-height: 1.1; }
.carte-artiste-disc { font-size: .86rem; margin-top: .2rem; }
.pastilles { display: flex; flex-wrap: wrap; gap: .3rem; justify-content: center; margin-top: .6rem; }
.pastille { background: var(--c); color: #fff; font-size: .74rem; padding: .15em .6em; border-radius: 999px; text-shadow: 0 1px 2px rgba(0,0,0,.25); }

/* Appel à programmer */
.appel { background: var(--rose); color: #fff; }
.appel-in { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: center; }
.appel .titre-flegrei { color: var(--jaune); margin-bottom: .2em; }
.appel p { margin: 0; }
.appel a:not(.bouton) { color: #fff; }
@media (max-width: 760px) { .appel-in { grid-template-columns: 1fr; text-align: center; } .appel .actions { justify-content: center; } }

.suivants { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; padding: 2rem 1.25rem 3rem; }
.suivants a { text-decoration: none; }
.suivant-prec, .suivant-suiv { font-family: var(--display); color: var(--rose); font-size: 1.1rem; line-height: 1.2; }
.suivant-prec span, .suivant-suiv span { display: block; font-family: var(--corps); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--texte); }
.suivant-suiv { text-align: right; }
@media (max-width: 640px) { .suivants { grid-template-columns: 1fr 1fr; } .suivants .bouton { grid-column: 1 / -1; grid-row: 2; justify-self: center; } }

/* =========================================================
   Listes (spectacles, artistes)
   ========================================================= */
.grille-spectacles { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.3rem; }
.carte-spectacle { display: flex; flex-direction: column; background: #fff; border-radius: var(--rayon); overflow: hidden; text-decoration: none; box-shadow: 0 8px 22px rgba(0,0,0,.09); transition: transform .3s ease, box-shadow .3s ease; color: var(--texte); }
.carte-spectacle:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(0,0,0,.15); color: var(--texte); }
.carte-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--c); border-bottom: 6px solid var(--c); }
.carte-img img { width: 100%; height: 100%; object-fit: cover; }
.carte-txt { padding: .9rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .25rem; }
.carte-cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--doux); }
.carte-titre { font-family: var(--display); font-size: 1.3rem; line-height: 1.1; color: var(--rose); }
.carte-acc { font-size: .9rem; }
.grille-artistes-large { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }

/* =========================================================
   Pages (boussole…) : texte et image en alternance
   ========================================================= */
.blocs { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
.bloc { display: grid; gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; }
.bloc-img { grid-template-columns: minmax(0, 1fr) 210px; }
.bloc-gauche { grid-template-columns: 210px minmax(0, 1fr); }
.bloc-gauche .bloc-fig { order: -1; }
.bloc:not(.bloc-img) .bloc-txt { max-width: 720px; margin: 0 auto; }
.bloc:not(.bloc-img):first-child .texte { font-size: 1.08rem; }
.bloc-txt .texte { text-align: justify; hyphens: auto; }
.bloc-fig { margin: 0; justify-self: center; }
.bloc-fig img { width: auto; max-width: 200px; max-height: 190px; filter: drop-shadow(0 10px 14px rgba(0,0,0,.14)); animation: balance 7s ease-in-out infinite; transform-origin: 50% 90%; }
.bloc-gauche .bloc-fig img { animation-delay: -3.5s; }
@media (max-width: 760px) { .bloc-img, .bloc-gauche { grid-template-columns: 1fr; } .bloc-gauche .bloc-fig { order: 0; } }
.citation { position: relative; font-family: var(--corps); font-style: italic; font-weight: 400; color: var(--encre); font-size: clamp(1.1rem, 2.2vw, 1.3rem); line-height: 1.55; max-width: 640px; margin: .4rem auto 1rem; padding: 0 2.2rem; }
.citation::before, .citation::after { position: absolute; font-family: Georgia, serif; font-style: normal; font-size: 3rem; line-height: 1; color: var(--rose); }
.citation::before { content: "“"; left: 0; top: -.3rem; }
.citation::after { content: "”"; right: 0; bottom: -1.4rem; }

/* =========================================================
   Fiche artiste
   ========================================================= */
.artiste { --accent: var(--rose); }
.art-hero { max-width: 900px; margin: 0 auto 2.5rem; padding: 0 1.25rem; display: grid; grid-template-columns: 220px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.art-portrait { position: relative; width: 200px; height: 200px; justify-self: center; }
.art-forme { position: absolute; inset: -14px; background: var(--accent); opacity: .85; border-radius: 58% 42% 55% 45% / 48% 58% 42% 52%; animation: respire 9s ease-in-out infinite; }
.art-photo { position: relative; display: block; width: 200px; height: 200px; object-fit: cover; border-radius: 50%; border: 5px solid #fff; box-shadow: 0 10px 26px rgba(0,0,0,.15); background: var(--rose); }
.art-initiales { display: grid; place-items: center; font-family: var(--display); color: var(--jaune); font-size: 3.6rem; }
@keyframes respire {
  0%, 100% { border-radius: 58% 42% 55% 45% / 48% 58% 42% 52%; transform: rotate(0deg) scale(1); }
  33% { border-radius: 45% 55% 40% 60% / 55% 42% 58% 45%; transform: rotate(8deg) scale(1.03); }
  66% { border-radius: 52% 48% 60% 40% / 42% 52% 48% 58%; transform: rotate(-6deg) scale(.98); }
}
.art-id h1 { margin-bottom: .3rem; }
.art-tags { list-style: none; margin: 0 0 .8rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.art-tags li { background: #fff; border: 2px solid var(--encre); border-radius: 999px; padding: .1em .75em; font-size: .85rem; font-weight: 500; }
.art-tags .art-lieu { background: transparent; border-style: dashed; }
.art-acc { font-size: 1.12rem; line-height: 1.5; margin: 0 0 1rem; max-width: 34em; }
.art-liens { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; }
.puce-lien { font-size: .85rem; text-decoration: none; padding: .35em .85em; border-radius: 999px; background: rgba(255,255,255,.55); border: 1px solid rgba(0,0,0,.15); }
.puce-lien:hover { background: #fff; }
.puce-pleine { background: var(--encre); color: #fff; border-color: var(--encre); }
.puce-pleine:hover { background: var(--rose); color: #fff; }
@media (max-width: 640px) { .art-hero { grid-template-columns: 1fr; text-align: center; } .art-tags, .art-liens { justify-content: center; } .art-acc { margin-inline: auto; } .art-portrait, .art-photo { width: 160px; height: 160px; } }

.art-corps { max-width: 960px; margin: 0 auto; padding: 0 1.25rem 2rem; display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 2.5rem; align-items: start; }
.art-aside { position: sticky; top: calc(var(--barre) + 10px); }
@media (max-width: 860px) { .art-corps { grid-template-columns: 1fr; } .art-aside { position: static; order: -1; } }
.art-sec { margin: 0 0 2.4rem; }
.art-h2 { display: flex; align-items: baseline; gap: .6rem; font-family: var(--display); font-weight: 400; color: var(--rose); font-size: 1.5rem; margin: 0 0 .8rem; padding-bottom: .4rem; border-bottom: 2px dotted rgba(0,0,0,.2); }
.art-h2 span { font-family: var(--corps); font-size: .8rem; font-weight: 600; color: #fff; background: var(--accent); border-radius: 999px; padding: .15em .6em; letter-spacing: .05em; }
.lettrine > p:first-child::first-letter { float: left; font-family: var(--display); color: var(--rose); font-size: 3.3em; line-height: .85; padding: .05em .12em 0 0; }
.experiences ul { list-style: none; padding: 0 0 0 1.3rem; border-left: 3px solid var(--accent); }
.experiences li { position: relative; margin-bottom: .8rem; }
.experiences li::before { content: ""; position: absolute; left: calc(-1.3rem - 8px); top: .45em; width: 13px; height: 13px; border-radius: 50%; background: var(--jaune); border: 3px solid var(--accent); }
.art-citation { margin: 0 0 2.4rem; padding: 1.2rem 1.4rem 1.2rem 3.2rem; position: relative; }
.art-citation::before { content: "“"; position: absolute; left: .2rem; top: -.6rem; font-family: Georgia, serif; font-size: 5rem; color: var(--rose); line-height: 1; }
.art-citation p { font-family: var(--display); font-size: clamp(1.15rem, 2.4vw, 1.4rem); line-height: 1.35; color: var(--encre); margin: 0 0 .4rem; }
.art-citation cite { font-style: normal; font-size: .88rem; }
.art-reves { position: relative; margin: 0 0 2.4rem; padding: 1.6rem 1.6rem 1.3rem; background: #fff; border-radius: 26px 26px 26px 6px; box-shadow: 0 10px 26px rgba(0,0,0,.08); border: 2px dashed var(--rose); }
.art-reves::after { content: ""; position: absolute; left: 28px; bottom: -14px; width: 22px; height: 22px; background: #fff; border-right: 2px dashed var(--rose); border-bottom: 2px dashed var(--rose); transform: rotate(45deg); }
.art-reves-sur { margin: 0 0 .6rem; font-family: var(--display); color: var(--rose); font-size: 1.3rem; }
.art-reves-sur::before { content: "☁ "; }
.art-reves .texte { font-size: 1.05rem; }
.projets { display: grid; gap: .8rem; }
.projet { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; align-items: center; text-decoration: none; background: #fff; border-radius: 12px; padding: .6rem; border-left: 6px solid var(--c); box-shadow: 0 6px 18px rgba(0,0,0,.07); transition: transform .2s, box-shadow .2s; }
.projet:hover { transform: translateX(4px); box-shadow: 0 10px 24px rgba(0,0,0,.12); color: inherit; }
.projet-img { aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--c); }
.projet-img img { width: 100%; height: 100%; object-fit: cover; }
.projet-txt { display: flex; flex-direction: column; gap: .15rem; }
.projet-cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #666; }
.projet-titre { font-family: var(--display); color: var(--rose); font-size: 1.2rem; line-height: 1.1; }
.projet-resume { font-size: .88rem; line-height: 1.45; }
.carte-bref { background: var(--encre); color: #eee; border-radius: 16px; padding: 1.2rem 1.2rem 1.3rem; font-size: .9rem; }
.carte-bref-titre { font-family: var(--display); color: var(--jaune); font-size: 1.3rem; margin: 0 0 .6rem; }
.carte-bref dl { margin: 0 0 1rem; }
.carte-bref dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: #aaa; margin-top: .7rem; }
.carte-bref dd { margin: .1rem 0 0; }
.carte-bref a { color: #fff; }
.carte-bref a:hover { color: var(--jaune); }
.mini-liste { list-style: none; margin: .2rem 0 0; padding: 0; }
.mini-liste li { display: flex; align-items: center; gap: .45rem; margin: .25rem 0; }
.point { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.carte-bref-cta { margin: 0; } .carte-bref-cta .bouton { width: 100%; justify-content: center; }
.autres { background: rgba(255,255,255,.35); padding: 2.2rem 1.25rem 2rem; }
.autres-liste { max-width: 760px; margin: 0 auto 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; }
.autre { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; }
.autre .avatar { margin-bottom: .4rem; transition: transform .25s; }
.autre:hover .avatar { transform: scale(1.06) rotate(-3deg); }
.autre-nom { font-family: var(--display); color: var(--rose); font-size: 1.05rem; line-height: 1.1; }
.autre-disc { font-size: .8rem; }


/* =========================================================
   Le Trégrantruc
   ========================================================= */
/* En-tête : affiche rose à points, ticket penché, vague */
.fest-hero { position: relative; background: var(--rose); color: #fff; margin-top: calc(-1 * var(--barre)); padding: calc(var(--barre) + 1.5rem) 1.25rem 4rem; overflow: hidden;
  background-image: radial-gradient(rgba(255,255,255,.13) 1.5px, transparent 1.6px); background-size: 22px 22px; }
.fest-hero-in { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1fr 290px; gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; position: relative; z-index: 1; }
.fest-sur { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; margin: 0 0 .6rem; opacity: .9; }
.fest-hero h1 { color: var(--jaune); font-size: clamp(2.5rem, 7vw, 4rem); margin: 0 0 .2em; text-shadow: 3px 3px 0 rgba(0,0,0,.12); }
.fest-sous { font-size: 1.2rem; font-weight: 500; margin: 0; }
.fest-archive { display: inline-block; margin: 1rem 0 0; background: rgba(0,0,0,.2); padding: .35em .9em; border-radius: 999px; font-size: .88rem; }
.fest-archive a { color: var(--jaune); }
.fest-vague { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 40px; fill: var(--jaune); }
.fest-hero + .sommaire { margin-top: 0; }
@media (max-width: 760px) { .fest-hero-in { grid-template-columns: 1fr; } .ticket { max-width: 320px; } }
.ticket { background: #fff; color: var(--encre); border-radius: 14px; transform: rotate(2deg); box-shadow: 0 16px 34px rgba(0,0,0,.25); position: relative; transition: transform .3s; }
.ticket:hover { transform: rotate(0); }
.ticket::before, .ticket::after { content: ""; position: absolute; top: calc(100% - 64px); width: 22px; height: 22px; border-radius: 50%; background: var(--rose); }
.ticket::before { left: -11px; } .ticket::after { right: -11px; }
.ticket-haut { padding: 1.1rem 1.3rem .9rem; font-size: .92rem; }
.ticket-haut p { margin: 0 0 .55rem; }
.ticket-haut span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--rose); font-weight: 600; }
.ticket-annee { font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--rose); }
.ticket-bas { border-top: 2px dashed #ddd; padding: .9rem 1.3rem 1rem; text-align: center; min-height: 64px; display: grid; place-items: center; }
.ticket-bientot { font-size: .88rem; color: #666; }
.tampon { display: inline-block; border: 3px solid var(--rose); color: var(--rose); padding: .15em .7em; border-radius: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; transform: rotate(-6deg); }

.hero-rose { --hero: var(--rose); color: #fff; background-image: radial-gradient(rgba(255,255,255,.12) 1.5px, transparent 1.6px); background-size: 22px 22px; }
.hero-rose .kicker, .hero-rose .fil { color: rgba(255,255,255,.88); }
.hero-rose h1.titre-flegrei { color: var(--jaune); font-size: clamp(2.6rem, 7vw, 4rem); }
.hero-rose .badges li { background: #fff; }
.hero-rose .badges .badge-etat { background: var(--encre); color: var(--jaune); }
.page-festival .logo-rond { box-shadow: 0 0 0 3px #fff, 0 6px 18px rgba(0,0,0,.18); }

.programme { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.prog { display: grid; grid-template-columns: 150px 84px minmax(0, 1fr) auto; gap: 1.1rem; align-items: center; background: #fff; border-radius: 14px; padding: .8rem 1.1rem; border-left: 6px solid var(--c); box-shadow: 0 6px 16px rgba(0,0,0,.06); }
.prog-quand { font-weight: 600; line-height: 1.3; }
.prog-quand small { display: block; font-weight: 400; color: var(--doux); font-size: .85rem; }
.prog-img { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: var(--c); border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.prog-img a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.prog-img a img { transition: transform .4s; } .prog-img a:hover img { transform: scale(1.08); }
.prog-img img { width: 100%; height: 100%; object-fit: cover; }
.prog h3 { font-family: var(--display); font-weight: 400; color: var(--rose); font-size: 1.25rem; line-height: 1.1; margin: 0 0 .15rem; }
.prog h3 a { text-decoration: none; }
.prog p { margin: 0; font-size: .9rem; color: var(--doux); }
.prog-lien { font-size: .85rem; white-space: nowrap; }
@media (max-width: 700px) { .prog { grid-template-columns: 56px minmax(0, 1fr); } .prog-quand { grid-column: 1 / -1; } .prog-img { width: 56px; height: 56px; } .prog-lien { grid-column: 2; } }

.infos-fest { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 820px) { .infos-fest { grid-template-columns: 1fr; } }
.benevoles { margin-top: 1.5rem; padding: 1.2rem 1.4rem; border-radius: var(--rayon); border: 2px dashed var(--rose); background: rgba(255,255,255,.6); }
.benevoles h3 { margin: 0 0 .3rem; color: var(--rose-fonce); font-size: 1.1rem; }

.grille-partenaires { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.2rem 2.2rem; justify-content: center; align-items: center; }
.grille-partenaires img { max-height: 60px; width: auto; filter: grayscale(1); opacity: .85; transition: filter .3s, opacity .3s; }
.grille-partenaires a:hover img { filter: none; opacity: 1; }
.grille-partenaires span { font-weight: 600; }

.editions-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.edition-carte { display: block; text-decoration: none; padding: 1.1rem 1.2rem; border-radius: var(--rayon); background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.18); transition: border-color .2s, transform .2s; color: #eee; }
.edition-carte:hover { border-color: var(--jaune); transform: translateY(-3px); color: #fff; }
.edition-carte.ici { background: var(--rose); border-color: var(--rose); }
.edition-annee { display: block; font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--jaune); }
.edition-ville { display: block; font-weight: 600; margin-top: .3rem; }
.edition-etat { display: block; font-size: .82rem; opacity: .8; }
.bandeau-info { background: var(--encre); color: #fff; text-align: center; margin: 0; padding: .6rem 1rem; font-size: .92rem; }
.bandeau-info a { color: var(--jaune); }

/* =========================================================
   Contact
   ========================================================= */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.contact .vague { max-width: 200px; margin-top: 1rem; }
@media (max-width: 800px) { .contact { grid-template-columns: 1fr; } }
.formulaire { background: #fff; border-radius: var(--rayon); padding: clamp(1.25rem, 4vw, 2rem); box-shadow: 0 10px 28px rgba(0,0,0,.1); }
.formulaire label { display: block; font-weight: 500; margin-bottom: .3rem; }
.formulaire input, .formulaire textarea { width: 100%; font: inherit; padding: .7rem .9rem; border: 2px solid #e6e0d0; border-radius: 12px; background: #fffdf6; }
.formulaire input:focus, .formulaire textarea:focus { border-color: var(--rose); outline: none; }
.facultatif, .mini { font-size: .85rem; font-weight: 400; color: #666; }
.alerte { padding: .8rem 1rem; border-radius: 12px; margin: 0 0 1rem; }
.alerte p { margin: 0; }
.alerte-ok { background: #e1f5ea; color: #155d36; }
.alerte-err { background: #fde4ee; color: #8b0f4b; }

/* =========================================================
   Pied de page
   ========================================================= */
.pied { background: var(--encre); color: #eee; padding: 2.5rem 1.25rem 1.8rem; position: relative; font-size: .93rem; }
.pied-in { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
.pied-titre { font-family: var(--display); color: var(--rose); font-size: 1.5rem; margin: 0 0 .4rem; line-height: 1; }
.pied p { margin: 0 0 .5rem; }
.pied a { color: #eee; text-decoration: none; }
.pied a:hover { color: var(--jaune); }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied-nav li { margin-bottom: .3rem; }
.pied-reseaux { display: flex; gap: 1rem; margin-bottom: 1rem !important; }
.pied-legal { font-size: .88rem; opacity: .8; }
.haut { position: absolute; right: 1.25rem; top: -24px; width: 48px; height: 48px; border-radius: 50%; background: var(--rose); color: #fff !important; display: grid; place-items: center; font-size: 1.4rem; text-decoration: none; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
@media (max-width: 760px) { .pied-in { grid-template-columns: 1fr; } }


/* =========================================================
   Petites animations : le souffle, le vent, la lumière
   ========================================================= */
/* Rafales de vent qui traversent les en-têtes */
.hero, .fest-hero, .accueil-hero { position: relative; overflow: hidden; }
.hero-in, .fest-hero-in, .accueil-in { position: relative; z-index: 1; }
.rafales { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.rafales i { position: absolute; left: -30%; height: 3px; width: 160px; border-radius: 3px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); animation: rafale 9s linear infinite; opacity: 0; }
.rafales i:nth-child(1) { top: 22%; animation-delay: 0s; }
.rafales i:nth-child(2) { top: 48%; width: 220px; animation-delay: 2.6s; animation-duration: 11s; }
.rafales i:nth-child(3) { top: 70%; width: 120px; animation-delay: 5.1s; }
.rafales i:nth-child(4) { top: 35%; width: 90px; animation-delay: 7.4s; animation-duration: 8s; }
.accueil-hero .rafales i, .ton-sombre .rafales i { background: linear-gradient(90deg, transparent, rgba(43,43,43,.28), transparent); }
@keyframes rafale { 0% { transform: translateX(0) scaleX(.6); opacity: 0; } 10% { opacity: 1; } 60% { opacity: 1; } 100% { transform: translateX(150vw) scaleX(1.2); opacity: 0; } }

/* Les photos encadrées se balancent doucement, comme dans la brise */
@keyframes balance { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(1.8deg) translateY(-3px); } }
.hero-photo { animation: brise 6s ease-in-out infinite; }
@keyframes brise { 0%, 100% { transform: rotate(2deg); } 50% { transform: rotate(3.2deg) translateY(-4px); } }
.ticket { animation: brise 7s ease-in-out infinite; }
.ticket:hover { animation-play-state: paused; }
.affiche { animation: brise 8s ease-in-out infinite; animation-delay: -2s; }

/* Ondulation sous les titres de section */
.sec-tete .titre-flegrei::after { content: ""; display: block; width: 74px; height: 10px; margin: .45rem 0 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='10'%3E%3Cpath d='M0 5 Q5 0 10 5 T20 5' fill='none' stroke='%23E72885' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 0 / 20px 10px;
  animation: onde 1.6s linear infinite; }
.sec-tete.centre .titre-flegrei::after { margin-left: auto; margin-right: auto; }
.sec-sombre .sec-tete .titre-flegrei::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='10'%3E%3Cpath d='M0 5 Q5 0 10 5 T20 5' fill='none' stroke='%23FCC73E' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
@keyframes onde { to { background-position: 20px 0; } }

/* Reflet de lumière qui passe sur les étiquettes */
.badges li, .art-tags li, .pastille, .puce-lien { position: relative; overflow: hidden; }
.badges li::after, .art-tags li::after, .pastille::after, .puce-lien::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent); transform: skewX(-20deg);
  animation: reflet 6s ease-in-out infinite; }
.badges li:nth-child(2)::after, .art-tags li:nth-child(2)::after, .pastille:nth-child(2)::after { animation-delay: .25s; }
.badges li:nth-child(3)::after, .art-tags li:nth-child(3)::after, .pastille:nth-child(3)::after { animation-delay: .5s; }
.badges li:nth-child(4)::after, .art-tags li:nth-child(4)::after, .pastille:nth-child(4)::after { animation-delay: .75s; }
@keyframes reflet { 0%, 70% { left: -60%; } 85%, 100% { left: 130%; } }

/* Les avatars s'envolent un peu au survol */
.carte-artiste:hover .avatar, .autre:hover .avatar { animation: envol .9s ease-in-out; }
@keyframes envol { 0% { transform: none; } 40% { transform: translateY(-6px) rotate(-6deg); } 70% { transform: translateY(-2px) rotate(3deg); } 100% { transform: none; } }

/* Le logo tourne comme une girouette au survol */
.logo-rond:hover img { animation: girouette 1.2s ease-in-out; }
@keyframes girouette { 0% { transform: rotate(0); } 50% { transform: rotate(-25deg); } 75% { transform: rotate(10deg); } 100% { transform: rotate(0); } }

/* ---------- Apparitions au défilement (zoom 85 % → 100 % + fondu, comme l'original) ---------- */
.js .reveal { opacity: 0; transform: scale(.85); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vague, .rafales, .hero-photo, .ticket, .affiche, .art-forme, .bloc-fig img, .sec-tete .titre-flegrei::after,
  .badges li::after, .art-tags li::after, .pastille::after, .puce-lien::after { animation: none !important; }
  .rafales { display: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}
@media print { .topbar, .menu, .pied, .admin-pill, .video { display: none !important; } body { background: #fff; } }
.fil { font-size: .8rem; margin: 0 0 .4rem; text-transform: uppercase; letter-spacing: .1em; }
.fil a { text-decoration: none; }
.retour { padding: 1rem 0 3rem; }

/* =========================================================
   v1.4 — titres lisibles, photos du Trégrantruc, contact
   ========================================================= */
/* Flegrei seulement pour les grands titres de page et les noms d'artistes */
:root { --titre: "Fredoka", system-ui, -apple-system, "Segoe UI", sans-serif; }
h2.titre-flegrei, .bande-txt .titre-flegrei, .teaser-festival .titre-flegrei { font-family: var(--titre); font-weight: 600; letter-spacing: 0; line-height: 1.2; }
h2.titre-flegrei { font-size: clamp(1.45rem, 3vw, 1.85rem); }
.texte h3, .prog h3, .etape h3, .pratique-tete h2, .art-h2, .art-reves-sur, .carte-titre, .projet-titre, .suivant-prec, .suivant-suiv, .sticker-titre, .encart h2, .benevoles h3 {
  font-family: var(--titre); font-weight: 600; letter-spacing: 0; }
.carte-titre { font-size: 1.15rem; line-height: 1.25; }
.prog h3 { font-size: 1.1rem; line-height: 1.25; }
.projet-titre { font-size: 1.05rem; }
.art-h2 { font-size: 1.3rem; }
.art-reves-sur { font-size: 1.15rem; }

/* Photos des sections du Trégrantruc : grandes et cliquables */
.blocs-photos .bloc-img { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
.blocs-photos .bloc-gauche { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); }
.blocs-photos .bloc-fig { margin: 0; justify-self: center; transform: rotate(1.5deg); }
.blocs-photos .bloc-gauche .bloc-fig { transform: rotate(-1.5deg); }
.blocs-photos .bloc-fig img { max-width: 100%; max-height: 520px; width: auto; border: 6px solid #fff; border-radius: 14px; box-shadow: 0 16px 36px rgba(0,0,0,.2); filter: none; animation: none; background: #fff; }
.bloc-zoom { position: relative; display: block; cursor: zoom-in; }
.loupe { position: absolute; right: 14px; bottom: 14px; width: 38px; height: 38px; border-radius: 50%; background: var(--rose); color: #fff; display: grid; place-items: center; font-size: 1.1rem; box-shadow: 0 4px 12px rgba(0,0,0,.25); transition: transform .2s; }
.bloc-zoom:hover .loupe { transform: scale(1.12); }
.bloc-zoom:hover img { box-shadow: 0 20px 44px rgba(0,0,0,.28); }
.blocs-photos figcaption { text-align: center; font-size: .82rem; color: var(--doux); margin-top: .5rem; }
@media (max-width: 760px) { .blocs-photos .bloc-img, .blocs-photos .bloc-gauche { grid-template-columns: 1fr; } .blocs-photos .bloc-fig img { max-height: 420px; } }

/* Page contact : un seul bloc, présentation à gauche, formulaire à droite */
.contact-page { padding: 0 0 2.5rem; margin-top: -.5rem; }
.contact-carte { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 18px 44px rgba(0,0,0,.12); }
.contact-cote { position: relative; overflow: hidden; background: var(--rose); color: #fff; padding: 1.6rem 1.8rem; display: flex; flex-direction: column; }
.contact-cote > *:not(.rafales) { position: relative; z-index: 1; }
.contact-cote .kicker { color: rgba(255,255,255,.85); }
.contact-cote h1.titre-flegrei { color: var(--jaune); margin-bottom: .2rem; font-size: clamp(2rem, 4vw, 2.6rem); }
.contact-lead { font-size: 1rem; line-height: 1.45; margin: 0 0 .6rem; }
.contact-vague { max-width: 170px; width: 60%; margin: .3rem auto .8rem; }
.contact-vague img { filter: brightness(0) invert(1); opacity: .95; }
.contact-mail { margin: 0 0 1rem; font-family: var(--corps); }
.contact-mail span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; opacity: .85; }
.contact-mail a { font-family: var(--corps); color: #fff; font-weight: 500; font-size: 1.1rem; letter-spacing: .01em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-mail a:hover { color: var(--jaune); }
.contact-intro { font-size: .88rem; margin-top: auto; padding-top: .7rem; border-top: 1px solid rgba(255,255,255,.3); }
.contact-intro p:last-child { margin-bottom: 0; }
.contact-cote .puce-lien { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.4); color: #fff; }
.contact-form { padding: 1.5rem 1.8rem; }
.contact-form h2 { margin-bottom: .6rem; }
.contact-form p { margin: 0 0 .7rem; }
.contact-form label { display: block; font-weight: 500; margin-bottom: .2rem; font-size: .9rem; }
.contact-form input, .contact-form textarea { width: 100%; font: inherit; padding: .5rem .75rem; border: 2px solid #ece5d3; border-radius: 12px; background: #fffdf6; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--rose); outline: none; background: #fff; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form-pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.form-pied .mini { margin: 0; max-width: 24em; font-size: .8rem; }
.contact-form textarea { resize: vertical; min-height: 110px; }
@media (max-width: 820px) { .contact-carte { grid-template-columns: 1fr; } .contact-vague { max-width: 180px; } }
@media (max-width: 520px) { .form-2 { grid-template-columns: 1fr; } }

/* Mentions légales : intertitres */
.texte-page h3:first-child { margin-top: 0; }

/* Illustrations détourées (fond transparent) : pas de cadre, une ombre qui suit la forme */
.hero-photo.illu img, .blocs-photos .bloc-fig.illu img { border: 0; border-radius: 0; background: transparent; box-shadow: none; filter: drop-shadow(0 12px 16px rgba(0,0,0,.18)); }
.hero-photo.illu::before { display: none; }
.blocs-photos .bloc-fig.illu { transform: none; }
.blocs-photos .bloc-fig.illu img { max-height: 380px; animation: balance 7s ease-in-out infinite; transform-origin: 50% 90%; }

/* Vidéo : petite au repos, s'agrandit quand on la lance */
.video { max-width: 460px; transition: max-width .6s cubic-bezier(.2,.7,.2,1), box-shadow .4s; }
.video.ouverte { max-width: 980px; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.video:not(.ouverte):hover { box-shadow: 0 16px 38px rgba(0,0,0,.25); }
.video .video-note { font-size: .72rem; }
.video-reduire { display: none; position: absolute; top: .6rem; right: .6rem; z-index: 3; border: 0; border-radius: 999px; background: rgba(0,0,0,.65); color: #fff; font: inherit; font-size: .8rem; padding: .35em .9em; cursor: pointer; }
.video.ouverte .video-reduire { display: block; }
.video-reduire:hover { background: var(--rose); }
@media (max-width: 640px) { .video { max-width: 100%; } }
