/* ============================================================
   Ilirët · site public
   Couleurs : jaune #FFF38C · noir #141414 · rouge #E41E26 · or #B8A04A · crème #FFFDF4
   Polices (hébergées sur le site, licence OFL) : Bricolage Grotesque, Figtree, Cinzel
   ============================================================ */

@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque.ttf") format("truetype"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree.ttf") format("truetype"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-italic.ttf") format("truetype"); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel.ttf") format("truetype"); font-weight: 400 900; font-display: swap; }

:root {
  --noir: #141414;
  --creme: #FFFDF4;
  --blanc: #FFFFFF;
  --or: #B8A04A;
  --or-fonce: #8A7A3A;
  --gris: #3B3A35;
  --gris-clair: #5A5750;
  --ligne: #3A3830;
  --erreur: #B3121A;
  --jaune: #FFF38C;
  --rouge: #E41E26;
  --rouge-fg: #FFFFFF;
  --entete-bg: #141414; --entete-fg: #FFFDF4; --entete-accent: #FFF38C;
  --fond-bg: #FFFDF4; --fond-fg: #141414;
  --pied-bg: #141414; --pied-fg: #FFFDF4; --pied-accent: #FFF38C;
  --titres: "Bricolage Grotesque", Figtree, "Segoe UI", Helvetica, Arial, sans-serif;
  --texte: Figtree, "Segoe UI", Helvetica, Arial, sans-serif;
  --nom: Cinzel, "Times New Roman", serif;
  --rayon: 22px;
  --surface: #FFFFFF; --surface-fg: #141414; --surface-doux: #3B3A35; --surface-doux2: #5A5750;
  --trait: #141414; --ombre: #141414; --champ-bg: #FFFFFF;
  --marge: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden]:not(.rideau) { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fond-bg);
  color: var(--fond-fg);
  font-family: var(--texte);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--rouge); }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--titres); font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(42px, 5.6vw, 80px); line-height: .98; letter-spacing: -.03em; }
h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.02; letter-spacing: -.02em; }
h3 { font-size: 24px; line-height: 1.15; font-weight: 700; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
::selection { background: var(--jaune); color: var(--noir); }

.conteneur { max-width: 1240px; margin: 0 auto; padding-inline: var(--marge); }
.conteneur.etroit { max-width: 900px; }
.centre { text-align: center; }
.centre .ornement { margin-inline: auto; }
.discret, .pied-discret { opacity: .75; font-size: 15px; }

.lien-evitement { position: absolute; left: 12px; top: -80px; z-index: 2000; background: var(--jaune); color: var(--noir); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.lien-evitement:focus { top: 12px; }
.bandeau-brouillon { background: var(--jaune); color: var(--noir); text-align: center; font-weight: 700; padding: 10px 16px; border-bottom: 2px solid var(--trait); font-size: 15px; }

/* ---------- Fonds des sections ---------- */
.fond-creme { background: var(--fond-bg); color: var(--fond-fg); --doux: #3B3A35; --doux2: #5A5750; }
.fond-blanc { background: var(--surface); color: var(--surface-fg); border-block: 2px solid var(--trait); --doux: #3B3A35; --doux2: #5A5750; }
.fond-jaune { background: var(--jaune); color: var(--noir); border-block: 2px solid var(--trait); --doux: #3B3A35; --doux2: #4A4840; }
.fond-noir { background: var(--noir); color: var(--creme); --doux: #E9E5D3; --doux2: #CFCAB6; }
.fond-noir h2, .fond-noir h1 { color: var(--jaune); }
.fond-rouge { background: var(--rouge); color: var(--rouge-fg); border-block: 2px solid var(--trait); --doux: var(--rouge-fg); --doux2: var(--rouge-fg); }
.fond-blanc + .fond-blanc, .fond-jaune + .fond-jaune, .fond-rouge + .fond-rouge { border-top: 0; }

.section { padding-block: clamp(56px, 8vw, 96px); }
.section.compact { padding-block: 28px; }
.section-pad { padding-block: clamp(56px, 7vw, 88px); }
.section.fond-creme + .section.fond-creme,
.section.fond-blanc + .section.fond-blanc,
.section.fond-jaune + .section.fond-jaune,
.section.fond-noir + .section.fond-noir { padding-top: 0; }
.section-titre + .section { padding-top: 0; }
.section-titre { padding-bottom: 40px; }

.ornement { display: block; height: auto; margin-top: 16px; max-width: 70%; }
h1 + .ornement { margin-top: 20px; }
.intro { margin-top: 14px; color: var(--doux, inherit); max-width: 62ch; }
.section-titre .intro { font-size: 19px; }
.surtitre { display: block; font-weight: 700; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--or); }
.fond-rouge .surtitre { color: var(--rouge-fg); opacity: .9; }
.vide { border: 2px dashed var(--or-fonce); border-radius: 18px; padding: 22px 24px; color: var(--doux, inherit); font-weight: 600; grid-column: 1 / -1; }
.vide.petit { margin-top: 18px; font-size: 15px; }
.legende { margin-top: 12px; color: var(--doux, inherit); font-size: 15px; }
.grand { font-size: 19px; }

.section-tete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 36px; }
.deux-parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 40px 56px; align-items: start; }
.deux-parts.bas { align-items: end; }
.deux-parts.centre-v { align-items: center; }
.section-tete.deux-parts { display: grid; }
.section-tete.deux-parts .intro { margin-top: 0; }

/* ---------- Broderies et frises ---------- */
.frise { height: 44px; background-repeat: repeat-x; background-position: center; background-size: auto 100%; }
.frise-losanges { background-color: var(--jaune); background-image: url("../img/broderie.svg"); border-block: 2px solid var(--trait); }
.frise-dents { height: 40px; background-color: var(--jaune); background-image: url("../img/frise-dents.svg"); border-top: 2px solid var(--trait); }
.frise-or { height: 34px; background-color: var(--noir); background-image: url("../img/broderie-or.svg"); }
.frise-entete { height: 24px; border-top: 1px solid var(--ligne); background-color: var(--entete-bg); }
.frise + .fond-blanc, .frise + .fond-jaune, .frise + .fond-rouge, .frise-losanges + .fond-creme { border-top: 0; }
.fond-blanc + .frise-losanges, .fond-jaune + .frise-losanges, .fond-rouge + .frise-losanges { border-top: 0; }
.motif-pale { display: block; background: #FFF8D6 url("../img/broderie-pale.svg") repeat center / 56px auto; }

/* ---------- Boutons et liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
  padding: 12px 20px; border-radius: 999px; border: 2px solid var(--trait);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ombre); }
.btn:active { transform: none; box-shadow: none; }
.btn .ico { flex: none; }
.btn-grand { font-size: 18px; padding: 16px 26px; }
.btn-petit { padding: 9px 15px; font-size: 15px; gap: 8px; }
.btn-rouge, .btn-rouge:hover { background: var(--rouge); color: var(--rouge-fg); }
.btn-noir, .btn-noir:hover { background: var(--noir); color: var(--jaune); }
.btn-clair, .btn-clair:hover { background: var(--surface); color: var(--surface-fg); }
.btn-jaune, .btn-jaune:hover { background: var(--jaune); color: var(--noir); border-color: var(--jaune); }
.fond-noir .btn:hover { box-shadow: 4px 4px 0 var(--jaune); }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; align-self: flex-start; }
.lien-fleche .ico { transition: transform .18s ease; }
.lien-fleche:hover .ico, a:hover > .lien-fleche .ico { transform: translateX(4px); }
.boutons { display: flex; flex-wrap: wrap; gap: 14px; }
.pastille { display: inline-block; border-radius: 999px; padding: 3px 12px; font-size: 13px; font-weight: 700; line-height: 1.4; background: var(--rouge); color: var(--rouge-fg); }
.pastille.jaune { background: var(--jaune); color: var(--noir); border: 1.5px solid var(--trait); padding: 2px 10px; }

/* ---------- En-tête : bande noire, logo, nom et devise ---------- */
.entete { background: var(--entete-bg); color: var(--entete-fg); position: relative; z-index: 50; }
.entete a { color: var(--entete-fg); text-decoration: none; }
.entete a:hover { color: var(--entete-accent); }
.entete .btn:hover { box-shadow: 4px 4px 0 var(--entete-accent); }
.entete-grille {
  display: grid; grid-template-columns: auto auto 1fr auto;
  grid-template-areas: "logo nom . actions" "logo devise . actions";
  column-gap: 18px; row-gap: 6px; align-items: center;
  padding-top: 18px; padding-bottom: 16px;
}
.eg-logo { grid-area: logo; display: block; border-radius: 50%; }
.eg-logo img { width: 78px; height: 78px; display: block; }
.eg-nom { grid-area: nom; align-self: end; display: flex; flex-direction: column; gap: 2px; line-height: 1.1; }
.eg-ilirete { font-family: var(--nom); font-weight: 700; font-size: 28px; letter-spacing: .22em; color: var(--entete-accent); }
.eg-asso { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--or); }
.eg-devise { grid-area: devise; align-self: start; max-width: 380px; font-size: 15px; line-height: 1.38; font-style: italic; font-weight: 500; color: var(--entete-accent); }
.eg-actions { grid-area: actions; display: flex; align-items: center; gap: 14px; }
.langues { display: flex; gap: 4px; font-size: 14px; }
.langues a { font-weight: 600; border: 1px solid #5C5A4A; border-radius: 6px; padding: 3px 10px; color: var(--entete-accent); }
.langues a.actif { background: var(--jaune); color: var(--noir); border-color: var(--jaune); font-weight: 700; }
.entete .btn-rouge { border-color: var(--rouge); }
.lien-espace { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--entete-accent); text-decoration: none; padding: 8px 4px; }
.lien-espace:hover { color: var(--entete-accent); text-decoration: underline; }
.bouton-menu { display: none; }
.bouton-menu .ico-fermer { display: none; }

.menu-principal { border-top: 1px solid var(--ligne); }
.menu-liens { display: flex; align-items: center; gap: 30px; font-weight: 600; font-size: 16px; white-space: nowrap; }
.menu-liens > a { padding: 13px 0; position: relative; }
.menu-liens > a[aria-current="page"] { color: var(--entete-accent); }
.menu-liens > a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 3px; background: var(--rouge); border-radius: 2px; }
.menu-mobile-plus { display: none; }

@media (max-width: 1180px) {
  .entete .large { display: none !important; } /* seulement les boutons de l’en-tête : la grande vidéo reste visible (1.5.0) */
  .bouton-menu { display: inline-flex; }
  .menu-principal { display: none; }
  .menu-principal.ouvert { display: block; }
  .menu-liens { flex-direction: column; align-items: stretch; gap: 0; padding-block: 8px 20px; font-size: 21px; white-space: normal; }
  .menu-liens > a { padding: 13px 0; border-bottom: 1px solid var(--ligne); }
  .menu-liens > a[aria-current="page"]::after { left: auto; right: 0; top: 50%; bottom: auto; width: 10px; height: 10px; transform: translateY(-50%) rotate(45deg); border-radius: 0; }
  .menu-mobile-plus { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 18px; }
  .menu-mobile-plus .langues { font-size: 16px; }
}
@media (max-width: 700px) {
  .entete-grille { grid-template-columns: auto 1fr auto; grid-template-areas: "logo nom actions" "devise devise devise"; column-gap: 12px; padding-top: 14px; }
  .eg-logo img { width: 58px; height: 58px; }
  .eg-ilirete { font-size: 22px; }
  .eg-asso { font-size: 10px; letter-spacing: .08em; }
  .eg-devise { max-width: none; margin-top: 8px; font-size: 14px; }
  .bouton-menu span { display: none; }
  .bouton-menu { padding: 10px 12px; }
}

/* ---------- Grand titre d'accueil et médaillon ---------- */
.hero { padding-block: 24px 72px; }
.hero-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 48px; align-items: center; }
.hero-texte { display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(46px, 6.2vw, 90px); line-height: .96; }
.hero .ornement { margin-top: -6px; }
.etiquette { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; border: 2px solid var(--trait); border-radius: 999px; padding: 6px 14px 6px 8px; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; background: var(--surface); color: var(--surface-fg); }
.surligne { background: linear-gradient(transparent 58%, var(--jaune) 58%, var(--jaune) 92%, transparent 92%); padding: 0 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.fond-jaune .surligne { background: linear-gradient(transparent 58%, var(--blanc) 58%, var(--blanc) 92%, transparent 92%); }
.chiffres { margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; border-top: 2px solid currentColor; padding-top: 20px; }
.chiffres > div { display: flex; flex-direction: column-reverse; gap: 2px; }
.chiffres dt { font-size: 15px; color: var(--doux2, inherit); }
.chiffres dd { margin: 0; font-family: var(--titres); font-weight: 800; font-size: 40px; line-height: 1; }
.hero-visuel { display: flex; justify-content: center; }
.medaillon { position: relative; width: min(100%, 560px); aspect-ratio: 1 / 1.1; }
.medaillon-anneau, .medaillon-textes { position: absolute; left: 0; top: 8%; width: 100%; height: auto; }
.medaillon-textes { pointer-events: none; }
.anneau-texte { font-family: var(--nom); font-weight: 700; font-size: 23px; letter-spacing: 5px; }
.arc-nom { font-family: var(--nom); font-weight: 700; font-size: 54px; letter-spacing: 14px; }
.arc-lieu { font-family: var(--texte); font-weight: 800; font-size: 19px; letter-spacing: 5px; }
.medaillon-danseurs { position: absolute; left: 50%; bottom: 18.5%; width: 42%; margin-left: -21%; display: block; transform-origin: 50% 92%; }
.hero-photo { border: 2px solid var(--trait); border-radius: var(--rayon); overflow: hidden; box-shadow: 10px 10px 0 var(--ombre); width: min(100%, 560px); }
.hero-photo img { display: block; width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; }

/* ---------- Page intérieure : titre ---------- */
.tete-page { padding-block: clamp(40px, 6vw, 72px) clamp(32px, 4vw, 48px); }
.tete-page h1 { max-width: 20ch; }
.tete-intro { margin-top: 22px; font-size: 19px; max-width: 64ch; color: var(--gris); }
.tete-page + .section:not(.fond-blanc):not(.fond-jaune):not(.fond-noir):not(.fond-rouge) { padding-top: 0; }
.tete-page + .fond-blanc, .tete-page + .fond-jaune { margin-top: 8px; }
.tete-page + .frise { margin-top: 8px; }

/* ---------- Texte riche ---------- */
.texte-riche > * + * { margin-top: 1em; }
.texte-riche h2 { font-size: clamp(26px, 2.6vw, 34px); margin-top: 1.4em; }
.texte-riche h3 { margin-top: 1.3em; }
.texte-riche ul { padding-left: 1.2em; }
.texte-riche li + li { margin-top: .35em; }
.texte-riche a { font-weight: 600; }
.texte-riche strong { font-weight: 700; }
.bloc-texte h2 + .ornement { margin-bottom: 28px; }
.bloc-texte .texte-riche { font-size: 18px; }
@media (min-width: 860px) { .texte-riche.deux-colonnes { columns: 2; column-gap: 56px; } .texte-riche.deux-colonnes > * { break-inside: avoid; } }

/* ---------- Grand chiffre et texte ---------- */
.ct-gauche, .ct-droite { display: flex; flex-direction: column; gap: 20px; }
.ct-droite .ornement { margin-top: -6px; }
.grand-chiffre {
  font-family: var(--titres); font-weight: 800; font-size: clamp(110px, 15vw, 220px); line-height: .85; letter-spacing: -.02em; color: var(--jaune);
  text-shadow: -2px -2px 0 var(--noir), 2px -2px 0 var(--noir), -2px 2px 0 var(--ombre), 2px 2px 0 var(--ombre), 0 -2px 0 var(--noir), 0 2px 0 var(--noir), -2px 0 0 var(--noir), 2px 0 0 var(--noir), 8px 8px 0 var(--ombre);
}
.fond-jaune .grand-chiffre { color: var(--blanc); }
.ct-lead { font-weight: 700; font-size: 20px; }
.ct-photo { margin: 0; border: 2px solid var(--trait); border-radius: var(--rayon); overflow: hidden; }
.ct-photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ct-motif { margin: 8px 0 0; border: 2px solid var(--trait); border-radius: var(--rayon); aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ct-motif img { width: 46%; height: auto; transform-origin: 50% 92%; }
.fond-noir .ct-motif { border-color: var(--or); }
.liste-losanges { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px 24px; }
.liste-losanges li { position: relative; padding-left: 32px; }
.liste-losanges li::before { content: ""; position: absolute; left: 3px; top: .42em; width: 15px; height: 15px; background: var(--noir); box-shadow: inset 0 0 0 4px var(--rouge); transform: rotate(45deg); }
.ct-conclusion { margin-top: 8px; font-family: var(--titres); font-weight: 700; font-size: 24px; line-height: 1.25; }

/* ---------- Photo, galerie, visionneuse ---------- */
.bloc-image figure { margin: 0 auto; }
.bloc-image img { display: block; width: 100%; border: 2px solid var(--trait); border-radius: var(--rayon); }
.bloc-image.largeur-plein img { border-radius: 0; border-inline: 0; }
.bloc-image figcaption { margin-top: 12px; color: var(--doux, inherit); font-size: 15px; }
.bloc-image.largeur-plein figcaption { padding-inline: var(--marge); }
.galerie h2 + .ornement { margin-bottom: 32px; }
.galerie-annee { display: flex; align-items: center; gap: 16px; font-size: 28px; margin: 40px 0 18px; }
.galerie-annee::after { content: ""; flex: 1; height: 2px; background: currentColor; opacity: .25; }
.galerie-annee span { background: var(--noir); color: var(--jaune); border-radius: 12px; padding: 2px 14px; }
.galerie-grille { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 45%), 1fr)); gap: 12px; }
.galerie-photo { display: block; border: 2px solid var(--trait); border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: #FFF8D6; transition: transform .2s ease, box-shadow .2s ease; }
.galerie-photo:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ombre); }
.galerie-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.visionneuse { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; }
.visionneuse::backdrop { background: rgba(20, 20, 20, .92); }
.visionneuse img { display: block; max-width: 96vw; max-height: 82vh; width: auto; height: auto; border-radius: 12px; margin: 0 auto; }
.visionneuse p { color: var(--creme); text-align: center; margin-top: 12px; }
.visionneuse-barre { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }

/* ---------- Vidéos ---------- */
.video-cadre { border: 2px solid var(--trait); border-radius: var(--rayon); overflow: hidden; background: var(--noir); aspect-ratio: 16 / 9; }
.video-cadre video, .video-cadre iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-facade, .video-lien {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  min-height: 320px; height: 100%; padding: 22px; border: 2px solid var(--trait); border-radius: var(--rayon);
  text-decoration: none; overflow: hidden;
}
.video-facade.large { aspect-ratio: 16 / 9; min-height: 0; }
.style-noir.video-facade { background: var(--noir) url("../img/broderie-or.svg") repeat-x bottom / auto 22px; color: var(--jaune); }
.style-clair.video-facade, .video-lien { background: var(--surface); color: var(--surface-fg); }
.video-facade .pastille, .video-lien .pastille { align-self: flex-start; }
.style-clair .pastille, .video-lien .pastille { background: var(--noir); color: var(--jaune); }
.video-lecture { align-self: center; width: 88px; height: 88px; border-radius: 50%; border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; background: var(--jaune); color: var(--noir); transition: transform .2s ease; }
.style-clair .video-lecture, .video-lien .video-lecture { width: 72px; height: 72px; background: var(--noir); color: var(--jaune); }
.video-facade:hover .video-lecture, .video-lien:hover .video-lecture { transform: scale(1.08); }
.video-titre { font-weight: 700; font-size: 18px; }
.video-note { font-size: 13px; opacity: .78; padding-bottom: 14px; }
.video-lien:hover { color: var(--noir); }
.grille-videos { display: flex; flex-wrap: wrap; gap: 22px; align-items: stretch; }
.video-case { flex: 1 1 280px; min-width: 0; }
.video-case.premiere { flex: 2 1 560px; }
.grille-videos.n1 .video-case.premiere { flex-basis: 100%; }
.boutons-reseaux { display: flex; flex-wrap: wrap; gap: 10px; }
.bloc-video .ornement { margin-bottom: 28px; }

/* ---------- Cartes ---------- */
.carte { transition: transform .2s ease, box-shadow .2s ease; }
a.carte, .carte-date, .carte-personne, .video-facade { cursor: default; }
a.carte { cursor: pointer; text-decoration: none; color: inherit; }
.carte:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--ombre); }
.fond-noir .carte:hover { box-shadow: 8px 8px 0 var(--jaune); }
.grille-cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 22px; }
.carte-photo { display: flex; flex-direction: column; border: 2px solid var(--trait); border-radius: var(--rayon); overflow: hidden; background: var(--surface); color: var(--surface-fg); }
.carte-visuel { aspect-ratio: 4 / 4.4; border-bottom: 2px solid var(--trait); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.carte-visuel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carte-visuel .motif-pale { width: 100%; height: 100%; }
.carte-cifteli { height: 78%; width: auto; }
.carte-corps { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.carte-corps h3 { font-size: 26px; font-weight: 800; }
.carte-corps p { color: var(--surface-doux2); font-size: 15px; }
.carte-corps .lien-fleche { margin-top: auto; padding-top: 8px; }
.style-noir.carte-photo { background: var(--noir); color: var(--creme); }
.style-noir .carte-visuel { background: var(--rouge); }
.style-noir .carte-corps h3 { color: var(--jaune); }
.style-noir .carte-corps p { color: #E9E5D3; }
.style-rouge.carte-photo { background: var(--rouge); color: var(--rouge-fg); }
.style-rouge .carte-visuel { background: var(--jaune); }
.style-rouge .carte-corps p { color: var(--rouge-fg); }

@media (max-width: 640px) {
  .carte-visuel { aspect-ratio: 16 / 10; }
  .losange-brode { width: min(72%, 300px); }
  .rond-danseurs { width: min(78%, 300px); }
  .medaillon { width: min(100%, 420px); }
  .video-facade.large { aspect-ratio: auto; min-height: 300px; } /* sur téléphone, le texte ne passe plus sur la broderie */
}

/* ---------- Agenda ---------- */
.grille-agenda { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.carte-date { background: var(--surface); color: var(--surface-fg); border: 2px solid var(--trait); border-radius: var(--rayon); padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.carte-date-tete { display: flex; align-items: center; gap: 16px; }
.carte-date-tete h3 { margin-top: 8px; }
.pave-date { flex: none; width: 84px; height: 84px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; text-align: center; }
.pave-date.noir { background: var(--noir); color: var(--jaune); }
.pave-date.rouge { background: var(--rouge); color: var(--rouge-fg); border: 2px solid var(--trait); }
.pave-date .jour { font-weight: 700; font-size: 13px; letter-spacing: .12em; }
.pave-date .num { font-family: var(--titres); font-weight: 800; font-size: 34px; }
.pave-date .mois { font-weight: 700; font-size: 13px; }
.pave-date .chaque { font-family: var(--titres); font-weight: 800; font-size: 13px; line-height: 1.1; margin-top: 6px; max-width: 64px; }
.infos { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; color: var(--surface-doux); font-size: 16px; }
.infos li { display: flex; gap: 10px; align-items: flex-start; }
.infos .ico { flex: none; margin-top: 3px; }
.carte-texte { color: var(--surface-doux); font-size: 15px; }
.carte-appel { background: var(--noir); color: var(--jaune); border: 2px solid var(--trait); border-radius: var(--rayon); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 236px; }
a.carte.carte-appel, a.carte.carte-appel:hover { color: var(--jaune); }
.fond-noir .carte-appel { border-color: var(--jaune); }
.appel-titre { font-family: var(--titres); font-weight: 800; font-size: 30px; line-height: 1.1; }
.appel-lien { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--blanc); }

/* ---------- Comité ---------- */
.grille-comite { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 22px; }
.comite-section { display: flex; align-items: center; gap: 14px; margin: 34px 0 16px; font-size: clamp(1rem, 2.4vw, 1.25rem); letter-spacing: .06em; text-transform: uppercase; }
.comite-section:first-of-type { margin-top: 10px; }
.comite-section::after { content: ""; flex: 1; height: 2px; background: currentColor; opacity: .2; }
.carte-personne { border: 2px solid var(--trait); border-radius: var(--rayon); padding: 26px; background: var(--surface); color: var(--surface-fg); display: flex; flex-direction: column; gap: 16px; }
.personne-tete { display: flex; gap: 18px; align-items: center; }
.avatar { flex: none; width: 92px; height: 92px; border-radius: 50%; border: 2px solid var(--trait); display: flex; align-items: center; justify-content: center; font-family: var(--titres); font-weight: 800; font-size: 32px; overflow: hidden; }
.avatar.jaune { background: var(--jaune); color: var(--noir); }
.avatar.rouge { background: var(--rouge); color: var(--rouge-fg); }
.avatar.noir { background: var(--noir); color: var(--jaune); }
.avatar.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carte-personne h3 { font-weight: 800; }
.role { margin-top: 4px; color: var(--surface-doux); font-size: 15px; }
.bio { font-size: 15px; color: var(--surface-doux); border-top: 1.5px dashed var(--or-fonce); padding-top: 14px; }

/* ---------- Bannière, bande « demander une offre » ---------- */
.banniere-texte, .offre-texte { display: flex; flex-direction: column; gap: 22px; }
.banniere-texte .ornement, .offre-texte .ornement { margin-top: -6px; }
.banniere-texte .texte-riche { color: var(--doux, inherit); max-width: 52ch; }
.banniere-texte .btn, .offre-texte .btn { align-self: flex-start; }
.banniere h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1; }
.banniere-visuel, .offre-visuel { display: flex; justify-content: center; }
.losange-brode { width: min(100%, 420px); height: auto; }
.banniere-photo { margin: 0; border: 2px solid var(--trait); border-radius: var(--rayon); overflow: hidden; width: min(100%, 520px); }
.fond-noir .banniere-photo { border-color: var(--or); }
.banniere-photo img { display: block; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.bande-offre h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1; }
.offre-texte .grand { max-width: 48ch; }
.offre-texte .btn { font-weight: 800; }
.rond-danseurs { width: min(100%, 360px); aspect-ratio: 1; border-radius: 50%; background: var(--jaune); border: 3px solid var(--trait); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.rond-danseurs img { width: 78%; height: auto; display: block; margin-bottom: -4%; transform-origin: 50% 92%; }

/* ---------- Citation ---------- */
.citation figure { margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.citation blockquote { margin: 0; }
.citation blockquote p { font-family: var(--titres); font-weight: 700; font-size: clamp(26px, 3vw, 40px); line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
.citation figcaption { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 14px; color: var(--doux2, inherit); }

/* ---------- Soutenir : dons et sponsors ---------- */
.soutenir h2 + .ornement { margin-bottom: 36px; }
.grille-soutien { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 22px; }
.carte-soutien { border: 2px solid var(--trait); border-radius: var(--rayon); padding: 32px; background: var(--surface); color: var(--surface-fg); display: flex; flex-direction: column; gap: 18px; }
.carte-soutien h3 { font-size: 30px; font-weight: 800; }
.carte-soutien > p { color: var(--surface-doux); }
.carte-soutien .btn { align-self: flex-start; }
.carte-soutien .btn-noir { color: var(--blanc); }
.logos-sponsors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.logos-sponsors li { border: 1.5px solid #E0DCC8; border-radius: 12px; height: 76px; display: flex; align-items: center; justify-content: center; padding: 10px; font-weight: 700; font-size: 14px; text-align: center; }
.logos-sponsors a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; text-decoration: none; }
.logos-sponsors img { max-height: 54px; width: auto; object-fit: contain; }

/* ---------- Mur des sponsors ---------- */
.mur-sponsors .ornement { margin-bottom: 24px; }
.mur-sponsors .intro { margin-bottom: 28px; }
.grille-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 46%), 1fr)); gap: 18px; }
.grille-logos li { border: 2px solid var(--trait); border-radius: 18px; background: var(--surface); color: var(--surface-fg); padding: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 150px; text-align: center; }
.grille-logos a { display: flex; align-items: center; justify-content: center; width: 100%; flex: 1; text-decoration: none; }
.grille-logos img { max-height: 90px; width: auto; max-width: 100%; object-fit: contain; }
.sponsor-nom { font-family: var(--titres); font-weight: 800; font-size: 20px; }
.logo-legende { font-size: 14px; font-weight: 600; color: var(--surface-doux); }
.mur-appel { margin-top: 28px; }

/* ---------- Presse ---------- */
.presse .ornement { margin-bottom: 28px; }
.liste-presse { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.article-presse { display: flex; gap: 22px; align-items: flex-start; border: 2px solid var(--trait); border-radius: var(--rayon); padding: 22px; background: var(--surface); color: var(--surface-fg); }
.presse-visuel { flex: none; width: 180px; border-radius: 12px; overflow: hidden; border: 1.5px solid var(--trait); display: block; cursor: zoom-in; }
.presse-texte { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.coupures { list-style: none; margin: 8px 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.coupures a { display: block; width: 96px; height: 120px; border-radius: 8px; overflow: hidden; border: 1.5px solid var(--trait); cursor: zoom-in; transition: transform .2s ease, box-shadow .2s ease; background: #F4EFDC; }
.coupures a:hover { transform: translate(-2px, -2px) rotate(-1deg); box-shadow: 4px 4px 0 var(--ombre); }
.coupures img { width: 100%; height: 100%; object-fit: cover; display: block; }
.presse-visuel img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.presse-source { font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--or-fonce); }
.article-presse h3 { margin: 6px 0 8px; }
.article-presse h3 a { text-decoration: none; }
.article-presse h3 a:hover { text-decoration: underline; }
.article-presse p:last-child { color: var(--surface-doux); font-size: 15px; }
@media (max-width: 560px) { .article-presse { flex-direction: column; } .presse-visuel { width: 100%; } }

/* ---------- Formulaire de contact ---------- */
.contact-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 40px 64px; align-items: start; }
@media (min-width: 1000px) { .contact-grille { grid-template-columns: 1fr 1.35fr; } }
.contact-texte { display: flex; flex-direction: column; gap: 4px; }
.coordonnees { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 17px; }
.coordonnees li { display: flex; gap: 12px; align-items: flex-start; }
.coordonnees .ico { flex: none; margin-top: 3px; color: var(--rouge); }
.coordonnees a { font-weight: 600; }
.contact-formulaire { background: var(--surface); color: var(--surface-fg); border: 2px solid var(--trait); border-radius: var(--rayon); padding: clamp(22px, 3vw, 36px); box-shadow: 10px 10px 0 var(--ombre); }
.fond-noir .contact-formulaire { box-shadow: 10px 10px 0 var(--jaune); }
.formulaire { display: flex; flex-direction: column; gap: 18px; }
.champ { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.champ > label, .libelle { font-weight: 700; font-size: 15px; }
.champs-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 18px; }
.formulaire input[type="text"], .formulaire input[type="email"], .formulaire input[type="tel"], .formulaire input[type="date"], .formulaire select, .formulaire textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--surface-fg); background: var(--champ-bg);
  border: 2px solid var(--trait); border-radius: 12px; padding: 12px 14px; min-height: 50px;
}
.formulaire select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--noir) 50%), linear-gradient(135deg, var(--noir) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.formulaire textarea { resize: vertical; min-height: 140px; }
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { outline: none; box-shadow: 0 0 0 4px var(--jaune), 0 0 0 6px var(--noir); }
.formulaire [aria-invalid="true"] { border-color: var(--erreur); background-color: #FFF5F5; }
.champ-erreur { color: var(--erreur); font-weight: 700; font-size: 14px; }
.requis { color: var(--erreur); }
.note-requis { font-size: 14px; color: var(--gris-clair); }
.offre-champs { border: 2px dashed var(--or-fonce); border-radius: 18px; padding: 18px 20px 22px; margin: 0; display: flex; flex-direction: column; gap: 18px; background: #FFF8D6; }
.offre-champs legend { font-family: var(--titres); font-weight: 800; font-size: 20px; padding: 0 8px; }
[data-cache] { display: none !important; }
.choix-cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 10px; }
.choix { display: flex; gap: 10px; align-items: flex-start; border: 2px solid var(--trait); border-radius: 14px; padding: 12px 14px; background: var(--surface); cursor: pointer; font-weight: 600; font-size: 15px; line-height: 1.35; }
.choix:has(input:checked) { background: var(--jaune); box-shadow: 3px 3px 0 var(--ombre); }
.choix input { margin: 2px 0 0; accent-color: var(--rouge); width: 18px; height: 18px; flex: none; }
.case label { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: 15px; cursor: pointer; }
.case input { margin: 3px 0 0; width: 20px; height: 20px; flex: none; accent-color: var(--rouge); }
.formulaire .btn { align-self: flex-start; }
.piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.message-ok, .message-erreur { display: flex; gap: 14px; align-items: flex-start; border: 2px solid var(--trait); border-radius: 18px; padding: 20px 22px; font-weight: 700; }
.message-ok { background: var(--jaune); font-size: 18px; }
.message-ok .ico { flex: none; color: var(--noir); }
.message-erreur { background: #FDE8E8; border-color: var(--erreur); color: var(--erreur); margin-bottom: 18px; }
.message-ok:focus, .message-erreur:focus { outline: 3px solid var(--trait); outline-offset: 3px; }

/* ---------- Formulaire « Devenir membre » ---------- */
.adhesion .intro { margin-bottom: 32px; }
.adhesion-formulaire .formulaire { counter-reset: etape; gap: 26px; }
.groupe-champs { border: 0; margin: 0; padding: 0 0 26px; display: flex; flex-direction: column; gap: 18px; border-bottom: 2px dashed #D9D2B4; min-width: 0; }
.groupe-champs:not([data-cache]) { counter-increment: etape; }
.groupe-champs > legend { display: flex; align-items: center; gap: 12px; font-family: var(--titres); font-weight: 800; font-size: 24px; line-height: 1.2; padding: 0; margin-bottom: 18px; float: left; width: 100%; }
.groupe-champs > legend + * { clear: both; }
.num-etape { flex: none; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; background: var(--noir); color: var(--jaune); font-size: 17px; transform: rotate(45deg); border-radius: 6px; }
.num-etape::before { content: counter(etape); transform: rotate(-45deg); }
.sous-groupe { display: flex; flex-direction: column; gap: 14px; padding: 16px 18px; border: 1.5px solid #E0DCC8; border-radius: 16px; background: var(--surface); }
.sous-titre { font-size: 17px; font-weight: 800; }
.champs-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 18px; }
.aide { font-size: 14px; color: var(--gris-clair); line-height: 1.45; }
.champ label.petit { font-weight: 600; font-size: 14px; }
.choix-cartes.deux { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.choix-cartes.une { grid-template-columns: 1fr; }
.formulaire input[type="file"] { font: inherit; font-size: 15px; padding: 10px; border: 2px dashed var(--or-fonce); border-radius: 12px; background: var(--surface); width: 100%; }
.apercu-photo { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; border: 2px solid var(--trait); }

/* ---------- Bloc de code personnalisé ---------- */
.bloc-code { display: block; }

/* ---------- Pied de page ---------- */
.pied { background: var(--pied-bg); color: var(--pied-fg); }
.pied-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 36px; padding-top: 64px; padding-bottom: 28px; }
.pied-col { display: flex; flex-direction: column; gap: 8px; font-size: 15px; opacity: .96; }
.pied-col h2 { font-family: var(--texte); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--or); margin-bottom: 6px; font-weight: 700; }
.pied a { color: var(--pied-accent); text-decoration: none; }
.pied a:hover { text-decoration: underline; color: var(--pied-accent); }
.pied-marque { display: flex; align-items: center; gap: 12px; }
.pied-marque img { width: 56px; height: 56px; }
.pied-marque span { font-family: var(--nom); font-weight: 700; font-size: 24px; letter-spacing: .22em; color: var(--pied-accent); }
.pied-devise { font-size: 17px; line-height: 1.45; font-style: italic; color: var(--pied-accent); }
.reseaux { display: flex; gap: 10px; flex-wrap: wrap; }
.reseau { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--pied-accent); display: flex; align-items: center; justify-content: center; transition: transform .18s ease, background-color .18s ease; }
.reseau:hover { transform: translateY(-3px); background: var(--pied-accent); color: var(--pied-bg) !important; }
.pied-bas { padding-top: 18px; padding-bottom: 32px; border-top: 1px solid var(--ligne); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 14px; opacity: .8; }
.pied-liens { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.pied-liens a { color: var(--pied-fg); }

/* ---------- Page 404 et page « en travaux » ---------- */
.page-404 { text-align: center; padding-bottom: 96px; }
.page-404 h1 { margin: 24px auto 0; }
.page-404 .ornement { margin-inline: auto; }
.page-404 p { margin-top: 20px; }
.page-travaux { background: var(--jaune); color: var(--noir); min-height: 100vh; display: flex; flex-direction: column; }
.travaux { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 40px 24px; }
.travaux-danseurs { height: min(300px, 38vh); width: auto; transform-origin: 50% 92%; }
.travaux h1 { font-size: clamp(36px, 5vw, 60px); }
.travaux-message { font-size: 20px; max-width: 40ch; }
.travaux-contact a { font-weight: 700; }

/* ---------- Rideau de transition entre les pages ---------- */
.rideau { position: fixed; inset: 0; z-index: 1000; background: var(--jaune); color: var(--noir); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; pointer-events: none; clip-path: circle(0% at 50% 55%); }
.rideau[hidden] { display: none; }
.rideau-entree .rideau[hidden] { display: flex; clip-path: circle(80% at 50% 55%); }
.rideau-centre { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 0 24px; }
.rideau-danseurs { height: min(300px, 36vh); width: auto; display: block; }
.rideau-nom { font-family: var(--nom); font-weight: 700; font-size: 34px; letter-spacing: .3em; margin: 0; padding-left: .3em; }
.rideau-devise { max-width: 32ch; text-align: center; font-style: italic; font-size: 20px; line-height: 1.4; color: #2E2D28; margin: 0; }
.rideau.ferme { animation: rideau-ferme .62s cubic-bezier(.7, 0, .2, 1) forwards; }
.rideau.ouvre { clip-path: circle(80% at 50% 55%); animation: rideau-ouvre .7s .1s cubic-bezier(.7, 0, .2, 1) forwards; }
.rideau.ferme .rideau-traverse { animation: traverse 1.4s ease-in-out forwards; }
.rideau.ferme .rideau-danseurs { animation: sautille .38s ease-in-out infinite alternate; }
@keyframes rideau-ferme { from { clip-path: circle(0% at 50% 55%); } to { clip-path: circle(80% at 50% 55%); } }
@keyframes rideau-ouvre { from { opacity: 1; clip-path: circle(80% at 50% 55%); } to { opacity: 0; clip-path: circle(80% at 50% 55%); } }
@keyframes traverse { from { transform: translateX(-30vw); } to { transform: translateX(30vw); } }
@keyframes sautille { from { transform: translateY(0) rotate(-4deg); } to { transform: translateY(-24px) rotate(4deg); } }

/* ---------- Animations des danseurs ---------- */
@keyframes danse { 0%, 100% { transform: rotate(-2.5deg) translateY(0); } 50% { transform: rotate(2.5deg) translateY(-12px); } }
@keyframes tourne { to { transform: rotate(360deg); } }
.anime .medaillon-danseurs, .anime .danse, .anime .travaux-danseurs { animation: danse 2.6s ease-in-out infinite; }
.anime .medaillon-anneau { animation: tourne 60s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anime .medaillon-danseurs, .anime .danse, .anime .travaux-danseurs, .anime .medaillon-anneau { animation: none; }
  .rideau { display: none !important; }
  .carte, .btn, .galerie-photo { transition: none; }
  .carte:hover, .btn:hover, .galerie-photo:hover { transform: none; }
}

/* ---------- Thèmes ----------
   Chaque modèle change le style sans toucher au contenu. Les couleurs principales viennent des réglages
   (le back-office les remplit avec la palette du modèle choisi). Les frises brodées restent dans tous les modèles. */

/* Frise « foulard » : bande brodée et franges, comme le bord d'un foulard traditionnel */
.frise-foulard { height: 46px; background-color: transparent; background-image: url("../img/frise-foulard.svg"); background-position: top center; background-size: auto 100%; }
.frise-foulard + .fond-rouge, .frise-foulard + .fond-noir, .frise-foulard + .fond-jaune, .frise-foulard + .fond-blanc { border-top: 0; }

/* Nuit dorée */
.theme-nuit { --surface: #1F1E1A; --surface-fg: #FFFDF4; --surface-doux: #D9D4BF; --surface-doux2: #CFCAB6; --trait: #B8A04A; --ombre: #B8A04A; --champ-bg: #141414; }
.theme-nuit .fond-creme { --doux: #E9E5D3; --doux2: #CFCAB6; }
.theme-nuit .fond-creme h1, .theme-nuit .fond-creme h2, .theme-nuit .fond-blanc h2 { color: var(--jaune); }
.theme-nuit .fond-blanc { --doux: #E9E5D3; --doux2: #CFCAB6; }
.theme-nuit .tete-intro { color: #E9E5D3; }
.theme-nuit .fond-jaune { background: #2A271E; color: var(--creme); --doux: #E9E5D3; --doux2: #CFCAB6; }
.theme-nuit .fond-jaune h2 { color: var(--jaune); }
.theme-nuit .frise-losanges { background-color: #0E0E0E; background-image: url("../img/broderie-or.svg"); }
.theme-nuit .frise-dents { background-color: #0E0E0E; background-image: url("../img/frise-dents-or.svg"); }
.theme-nuit .grand-chiffre { color: #141414; text-shadow: -2px -2px 0 var(--jaune), 2px -2px 0 var(--jaune), -2px 2px 0 var(--jaune), 2px 2px 0 var(--jaune), 0 -2px 0 var(--jaune), 0 2px 0 var(--jaune), -2px 0 0 var(--jaune), 2px 0 0 var(--jaune), 8px 8px 0 var(--rouge); }
.theme-nuit .vide { border-color: var(--or); }
.theme-nuit .surligne { background: linear-gradient(transparent 62%, rgba(228, 30, 38, .7) 62%, rgba(228, 30, 38, .7) 92%, transparent 92%); }
.theme-nuit .motif-pale { background-color: #26241D; background-image: url("../img/broderie-or.svg"); background-size: 64px auto; }
.theme-nuit .btn-noir { background: var(--jaune); color: #141414; }
.theme-nuit .pave-date.noir { background: var(--jaune); color: #141414; }
.theme-nuit .pastille.jaune { border-color: #141414; }
.theme-nuit .avatar { border-color: var(--or); }
.theme-nuit .style-clair .video-lecture, .theme-nuit .video-lien .video-lecture { background: var(--jaune); color: #141414; }
.theme-nuit .offre-champs { background: #26241D; }
.theme-nuit .choix:has(input:checked) { color: #141414; }
.theme-nuit .etiquette { color: var(--jaune); }
.theme-nuit .note-requis, .theme-nuit .aide { color: #CFCAB6; }
.theme-nuit .message-ok { color: #141414; }

/* Flamur : rouge et noir */
.theme-flamur { --entete-accent: #FFFFFF; --ombre: #C8161D; }
.theme-flamur .entete .btn-rouge { background: #141414; border-color: #141414; color: #FFFFFF; }
.theme-flamur .entete .btn:hover { box-shadow: 4px 4px 0 #141414; }
.theme-flamur .langues a { border-color: rgba(255, 255, 255, .5); }
.theme-flamur .langues a.actif { background: #FFFFFF; border-color: #FFFFFF; }
.theme-flamur .menu-liens > a[aria-current="page"]::after { background: #FFFFFF; }
.theme-flamur .frise-entete { border-top-color: rgba(255, 255, 255, .25); background-color: #141414; }
.theme-flamur .frise-losanges { background-color: #FFFFFF; }
.theme-flamur h1, .theme-flamur .fond-creme h2, .theme-flamur .fond-blanc h2 { color: #141414; }
.theme-flamur .surligne { background: linear-gradient(transparent 62%, rgba(200, 22, 29, .28) 62%, rgba(200, 22, 29, .28) 92%, transparent 92%); }
.theme-flamur .grand-chiffre { color: #C8161D; }
.theme-flamur .pave-date.noir { background: #C8161D; color: #FFFFFF; }
.theme-flamur .avatar.jaune { background: #FFFFFF; }
.theme-flamur .fond-jaune { background: #141414; color: #FFFDF4; --doux: #E9E5D3; --doux2: #CFCAB6; }
.theme-flamur .fond-jaune h2 { color: #FFFFFF; }
.theme-flamur .fond-jaune .btn-noir { background: #C8161D; color: #FFFFFF; border-color: #C8161D; }
.theme-flamur .pied-devise, .theme-flamur .pied-marque span { color: #FFFFFF; }

/* Lin brodé : toile naturelle et fil rouge, cadres « cousus » */
.theme-lin { --surface: #FFFDF8; --surface-fg: #2B2520; --surface-doux: #5B5147; --surface-doux2: #6B6157; --trait: #2B2520; --ombre: rgba(179, 38, 30, .28); --rayon: 16px; }
.theme-lin .carte, .theme-lin .carte-soutien, .theme-lin .contact-formulaire, .theme-lin .article-presse, .theme-lin .ct-photo, .theme-lin .ct-motif, .theme-lin .hero-photo, .theme-lin .banniere-photo { border-style: dashed; }
.theme-lin .carte:hover { box-shadow: 6px 6px 0 var(--ombre); }
.theme-lin .btn:hover { box-shadow: 3px 3px 0 var(--ombre); }
.theme-lin .frise-losanges { background-color: #EFE6D6; }
.theme-lin .frise-dents { background-color: #EFE6D6; }
.theme-lin .fond-jaune { background: #F4EAD2; }
.theme-lin .fond-noir { background: #2B2520; }
.theme-lin .frise-or { background-color: #2B2520; }
.theme-lin .entete .btn-rouge { border-color: var(--rouge); }
.lien-espace { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--entete-accent); text-decoration: none; padding: 8px 4px; }
.lien-espace:hover { color: var(--entete-accent); text-decoration: underline; }
.theme-lin .langues a { border-color: rgba(43, 37, 32, .35); color: #2B2520; }
.theme-lin .langues a.actif { background: #2B2520; color: #FFFDF4; border-color: #2B2520; }
.theme-lin .eg-asso { color: #8A6D2E; }
.theme-lin .menu-principal, .theme-lin .frise-entete { border-top-color: rgba(43, 37, 32, .18); }
.theme-lin .frise-entete { background-image: url("../img/broderie.svg"); background-color: #EFE6D6; }
.theme-lin .medaillon-anneau circle:first-of-type { fill: #2B2520; }
.theme-lin .grand-chiffre { color: #F2D98B; }

/* Police classique : titres en Cinzel, comme le nom ILIRËT */
.police-classique h1, .police-classique h2, .police-classique .carte-corps h3, .police-classique .appel-titre, .police-classique .citation blockquote p { font-family: var(--nom); letter-spacing: 0; font-weight: 700; }
.police-classique .hero h1 { font-size: clamp(40px, 5.2vw, 76px); line-height: 1.04; }

/* ---------- Impression ---------- */
@media print {
  .entete .eg-actions, .menu-principal, .rideau, .frise, .bouton-menu, .formulaire, .video-facade { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .fond-noir, .fond-rouge, .fond-jaune { background: #fff !important; color: #000 !important; }
  .carte:hover { box-shadow: none; transform: none; }
}

/* ---------- 1.5.0 : affiches, fiche d'un rendez-vous, fenêtre d'annonce, playlist ---------- */
.carte-affiche { display: block; margin: -8px -8px 0; }
.carte-affiche img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--rayon) - 8px); border: 2px solid var(--trait); }
.carte-lien-fiche { color: inherit; text-decoration: none; }
.carte-lien-fiche:hover, .carte-lien-fiche:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.fiche-evenement .fil { font-size: .95rem; margin: 0 0 18px; }
.fiche-evenement .fil a { color: inherit; }
.fiche-grille { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 860px) { .fiche-grille { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } .fiche-grille.sans-affiche { grid-template-columns: minmax(0, 1fr); max-width: 760px; } }
.fiche-affiche { margin: 0; }
.fiche-affiche img { display: block; width: 100%; height: auto; border-radius: var(--rayon); border: 2px solid var(--trait); box-shadow: 8px 8px 0 var(--ombre); }
.fiche-infos h1 { margin: 12px 0 0; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.05; }
.fiche-infos .infos { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; font-size: 1.1rem; }
.fiche-infos .infos li { display: flex; gap: 10px; align-items: center; }
.fiche-texte { font-size: 1.08rem; line-height: 1.6; }
.fiche-boutons { margin-top: 24px; }
.annonce { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; }
.annonce-fond { position: absolute; inset: 0; background: rgba(10, 10, 10, .74); cursor: pointer; }
.annonce-boite { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--surface); color: var(--surface-fg); border: 2px solid var(--trait); border-radius: var(--rayon); padding: 14px; box-shadow: 0 24px 70px rgba(0, 0, 0, .5); }
.annonce-boite:focus { outline: none; }
.annonce-affiche { display: block; }
.annonce-affiche img { display: block; width: 100%; height: auto; max-height: 68vh; object-fit: contain; border-radius: calc(var(--rayon) - 8px); background: var(--noir); }
.annonce-croix { position: absolute; top: 6px; right: 6px; z-index: 1; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--trait); background: var(--surface); color: var(--surface-fg); display: grid; place-items: center; cursor: pointer; }
.annonce-croix:focus-visible { outline: 3px solid var(--rouge); outline-offset: 2px; }
.annonce-texte { margin: 12px 4px 4px; line-height: 1.4; }
.annonce-liens { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 4px 2px; }
html.annonce-ouverte { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) { .annonce:not([hidden]) .annonce-boite { animation: annonce-entree .35s ease-out; } }
@keyframes annonce-entree { from { transform: translateY(18px) scale(.97); opacity: 0; } }
.bloc-playlist .intro { margin-bottom: 18px; }
.playlist-aide { font-size: .92rem; opacity: .85; }
