/* ALTB — Amicale Laïque Toul Badminton
   Identité : noir profond, rouge du logo, crème chaleureux. Titres condensés façon maillot de sport. */

:root {
  --noir: #121212;
  --noir-2: #1e1e20;
  --encre: #1b1b1d;
  --texte: #2b2b2f;
  --doux: #66666d;
  --rouge: #d21a17;
  --rouge-fonce: #a8120f;
  --rouge-pale: #fdecea;
  --creme: #f7f3ee;
  --creme-2: #efe8df;
  --blanc: #ffffff;
  --ligne: #e3dcd2;
  --ombre: 0 10px 30px rgba(18, 18, 18, .10);
  --ombre-forte: 0 18px 50px rgba(18, 18, 18, .22);
  --rayon: 14px;
  --rayon-petit: 8px;
  --titre: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --corps: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --largeur: 1180px;
  --entete: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--entete) + 12px); }
body {
  margin: 0;
  font: 400 17px/1.6 var(--corps);
  color: var(--texte);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--rouge); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--rouge-fonce); }
h1, h2, h3, h4 {
  font-family: var(--titre);
  font-weight: 700;
  line-height: 1.05;
  color: var(--encre);
  margin: 0 0 .5em;
  letter-spacing: .005em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--rouge); outline-offset: 3px; border-radius: 4px; }

.conteneur { width: min(100% - 32px, var(--largeur)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--blanc { background: var(--blanc); }
.section--noir { background: var(--noir); color: #d9d9de; }
.section--noir h2, .section--noir h3 { color: var(--blanc); }
.surtitre {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 .85rem/1 var(--titre); letter-spacing: .14em; text-transform: uppercase;
  color: var(--rouge); margin-bottom: 14px;
}
.surtitre::before { content: ""; width: 28px; height: 3px; background: currentColor; border-radius: 2px; }
.intro { font-size: 1.15rem; color: var(--doux); max-width: 62ch; }
.section--noir .intro { color: #a9a9b1; }
.entete-section { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 40px; }
.entete-section h2 { margin: 0; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  font: 700 1.05rem/1 var(--titre); letter-spacing: .06em; text-transform: uppercase;
  border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.bouton:hover { transform: translateY(-2px); }
.bouton--rouge { background: var(--rouge); color: var(--blanc); box-shadow: 0 8px 22px rgba(210, 26, 23, .35); }
.bouton--rouge:hover { background: var(--rouge-fonce); color: var(--blanc); }
.bouton--clair { background: var(--blanc); color: var(--encre); }
.bouton--clair:hover { color: var(--rouge); }
.bouton--contour { border-color: currentColor; color: var(--encre); background: transparent; }
.bouton--contour:hover { color: var(--rouge); }
.bouton--contour-clair { border-color: rgba(255,255,255,.7); color: var(--blanc); background: transparent; }
.bouton--contour-clair:hover { background: var(--blanc); color: var(--encre); }
.lien-fleche { font: 700 1.05rem var(--titre); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.lien-fleche::after { content: " →"; transition: margin .15s; }
.lien-fleche:hover::after { margin-left: 4px; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  height: var(--entete);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.entete .conteneur { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--encre); }
.marque img { width: 52px; height: 52px; }
.marque span { font: 700 1.35rem/1 var(--titre); text-transform: uppercase; letter-spacing: .03em; }
.marque small { display: block; font: 600 .78rem/1.2 var(--corps); color: var(--doux); letter-spacing: 0; text-transform: none; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a {
  display: block; padding: 10px 12px; border-radius: 8px;
  font: 600 1.05rem/1 var(--titre); letter-spacing: .05em; text-transform: uppercase;
  color: var(--encre); text-decoration: none; position: relative;
}
.menu a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px;
  background: var(--rouge); border-radius: 2px; transform: scaleX(0); transition: transform .2s ease;
}
.menu a:hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.menu a[aria-current="page"] { color: var(--rouge); }
.menu .menu-cta a { background: var(--rouge); color: var(--blanc); padding: 12px 18px; border-radius: 999px; margin-left: 6px; }
.menu .menu-cta a::after { display: none; }
.menu .menu-cta a:hover { background: var(--rouge-fonce); }
.burger { display: none; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; border-radius: 10px; }
.burger span, .burger span::before, .burger span::after {
  display: block; width: 24px; height: 2.5px; background: var(--encre); border-radius: 2px; margin: auto; position: relative; transition: transform .2s, background .2s;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
  .burger { display: block; }
  .menu {
    position: fixed; inset: var(--entete) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--blanc); padding: 8px 16px 20px;
    box-shadow: var(--ombre-forte);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
    max-height: calc(100vh - var(--entete)); overflow: auto;
  }
  .menu.ouvert { transform: none; opacity: 1; visibility: visible; }
  .menu a { padding: 16px 8px; font-size: 1.3rem; border-bottom: 1px solid var(--ligne); border-radius: 0; }
  .menu a::after { display: none; }
  .menu .menu-cta a { margin: 16px 0 0; text-align: center; border: 0; }
}

/* ---------- Héros (accueil) ---------- */
.heros {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(88vh, 760px);
  display: grid; align-items: end;
  background: var(--noir); color: var(--blanc);
}
.heros__diapos, .heros__diapos img { position: absolute; inset: 0; width: 100%; height: 100%; }
.heros__diapos { z-index: -2; }
.heros__diapos img { object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.4s ease, transform 7s ease-out; }
.heros__diapos img.active { opacity: 1; transform: scale(1); }
.heros::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(18,18,18,.15) 0%, rgba(18,18,18,.35) 45%, rgba(18,18,18,.92) 100%),
    linear-gradient(90deg, rgba(18,18,18,.65) 0%, rgba(18,18,18,0) 70%);
}
.heros::after {
  content: ""; position: absolute; z-index: -1; right: -8%; bottom: -30%;
  width: 46%; height: 140%; background: var(--rouge); opacity: .9;
  transform: skewX(-18deg); mix-blend-mode: multiply;
}
.heros__contenu { padding: 120px 0 72px; max-width: 760px; }
.heros h1 { color: var(--blanc); margin-bottom: 18px; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.heros h1 em { font-style: normal; color: var(--rouge); background: var(--blanc); padding: 0 .18em; display: inline-block; transform: skewX(-8deg); }
.heros h1 em span { display: inline-block; transform: skewX(8deg); }
.heros p { font-size: clamp(1.1rem, 2vw, 1.3rem); color: #ececf0; max-width: 54ch; }
.heros__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.heros__points { position: absolute; right: 24px; bottom: 24px; display: flex; gap: 8px; }
.heros__points button { width: 34px; height: 5px; border: 0; padding: 0; border-radius: 3px; background: rgba(255,255,255,.4); cursor: pointer; }
.heros__points button.active { background: var(--blanc); }

/* ---------- En-tête de page (pages intérieures) ---------- */
.bandeau {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--noir); color: var(--blanc);
  padding: clamp(64px, 10vw, 120px) 0 clamp(48px, 7vw, 80px);
}
.bandeau img.fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; }
.bandeau::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18,18,18,.92), rgba(18,18,18,.35)); }
.bandeau::after { content: ""; position: absolute; z-index: -1; right: 6%; top: -40%; width: 80px; height: 200%; background: var(--rouge); transform: skewX(-18deg); box-shadow: 110px 0 0 rgba(210,26,23,.45); }
.bandeau h1 { color: var(--blanc); margin: 0 0 10px; }
.bandeau p { color: #d7d7dc; font-size: 1.2rem; max-width: 60ch; margin: 0; }

/* ---------- Aujourd'hui au club ---------- */
.aujourdhui { background: var(--rouge); color: var(--blanc); position: relative; }
.aujourdhui .conteneur { display: grid; grid-template-columns: auto 1fr auto; gap: 20px 32px; align-items: center; padding: 26px 0; }
.aujourdhui h2 { color: var(--blanc); font-size: 1.7rem; margin: 0; line-height: 1; }
.aujourdhui h2 small { display: block; font: 600 .95rem var(--corps); text-transform: none; opacity: .85; margin-top: 6px; letter-spacing: 0; }
.aujourdhui__liste { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.aujourdhui__item { flex: 0 0 auto; background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 10px 14px; min-width: 220px; }
.aujourdhui__item b { font: 700 1.25rem var(--titre); display: block; }
.aujourdhui__item span { font-size: .92rem; opacity: .92; }
.aujourdhui a.bouton { white-space: nowrap; }
@media (max-width: 860px) { .aujourdhui .conteneur { grid-template-columns: 1fr; } }

/* ---------- Chiffres ---------- */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.chiffre { background: var(--blanc); border-radius: var(--rayon); padding: 26px 22px; box-shadow: var(--ombre); position: relative; overflow: hidden; }
.chiffre::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--rouge); }
.chiffre b { display: block; font: 700 clamp(2.4rem, 4vw, 3.2rem)/1 var(--titre); color: var(--encre); }
.chiffre span { color: var(--doux); font-weight: 500; }
@media (max-width: 860px) { .chiffres { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cartes génériques ---------- */
.grille { display: grid; gap: 22px; }
.grille--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.grille--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.carte {
  background: var(--blanc); border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre);
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.carte:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); }
.carte__image { aspect-ratio: 4 / 3; overflow: hidden; background: var(--creme-2); }
.carte__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.carte:hover .carte__image img { transform: scale(1.05); }
.carte__corps { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.carte__corps h3 { margin: 0; }
.carte__corps p { margin: 0; color: var(--doux); }
.carte__corps .lien-fleche { margin-top: auto; padding-top: 8px; }
.date-pastille {
  align-self: flex-start; font: 700 .85rem/1 var(--titre); letter-spacing: .08em; text-transform: uppercase;
  color: var(--rouge); background: var(--rouge-pale); padding: 6px 10px; border-radius: 6px;
}
.nouveau { background: var(--rouge); color: var(--blanc); }

/* Formules (accueil) */
.formule { position: relative; border-radius: var(--rayon); overflow: hidden; min-height: 380px; display: flex; align-items: end; color: var(--blanc); text-decoration: none; isolation: isolate; box-shadow: var(--ombre); }
.formule img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.formule::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.85)); }
.formule:hover img { transform: scale(1.06); }
.formule div { padding: 24px; }
.formule h3 { color: var(--blanc); font-size: 2rem; text-transform: uppercase; margin-bottom: 6px; }
.formule p { color: #e2e2e6; margin: 0 0 12px; }
.formule .lien-fleche { color: var(--blanc); }
.formule .puces { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }

/* ---------- Pastilles de catégories ---------- */
.puce {
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 .82rem/1 var(--corps); padding: 6px 10px 6px 8px; border-radius: 999px;
  background: color-mix(in srgb, var(--c) 14%, white); color: color-mix(in srgb, var(--c) 75%, black);
  white-space: nowrap;
}
.puce::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.formule .puce { background: rgba(255,255,255,.16); color: var(--blanc); }

/* ---------- Mosaïque photos ---------- */
.mosaique { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.mosaique button { border: 0; padding: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--noir-2); }
.mosaique img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.mosaique button:hover img { transform: scale(1.06); }
.mosaique button:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaique button:nth-child(6) { grid-row: span 2; }
@media (max-width: 760px) {
  .mosaique { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .mosaique button:nth-child(6) { grid-row: span 1; }
}

/* ---------- Partenaires ---------- */
.partenaires-defile { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.partenaires-defile ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; width: max-content; animation: defile 40s linear infinite; }
.partenaires-defile:hover ul { animation-play-state: paused; }
.partenaires-defile li a, .partenaires-defile li span { display: grid; place-items: center; width: 180px; height: 110px; background: var(--blanc); border-radius: 12px; padding: 12px; box-shadow: var(--ombre); }
.partenaires-defile img { max-height: 86px; width: auto; object-fit: contain; }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Appel à l'action ---------- */
.appel { background: var(--rouge); color: var(--blanc); position: relative; overflow: hidden; isolation: isolate; }
.appel::before { content: ""; position: absolute; z-index: -1; left: -5%; top: -50%; width: 30%; height: 200%; background: rgba(0,0,0,.12); transform: skewX(-18deg); }
.appel::after { content: ""; position: absolute; z-index: -1; right: -60px; top: 50%; width: 340px; height: 340px; transform: translateY(-50%); background: url("../img/logos/logoALTBrouge.webp") center/contain no-repeat; filter: brightness(0) invert(1); opacity: .12; }
.appel .conteneur { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 56px 0; }
.appel h2 { color: var(--blanc); margin: 0 0 6px; }
.appel p { margin: 0; font-size: 1.15rem; opacity: .92; }

/* ---------- Pied de page ---------- */
.pied { background: var(--noir); color: #b6b6bd; padding: 64px 0 28px; font-size: .97rem; }
.pied a { color: #e7e7ea; text-decoration: none; }
.pied a:hover { color: var(--blanc); text-decoration: underline; }
.pied__grille { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.pied h4 { color: var(--blanc); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pied__marque img { width: 84px; margin-bottom: 12px; }
.pied__labels { display: flex; gap: 12px; align-items: center; margin-top: 16px; }
.pied__labels img { height: 54px; width: auto; background: var(--blanc); border-radius: 8px; padding: 4px; }
.pied__bas { border-top: 1px solid #2c2c30; margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; }
.reseau { display: inline-flex; align-items: center; gap: 8px; }
.reseau svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 860px) { .pied__grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pied__grille { grid-template-columns: 1fr; } }

/* ---------- Créneaux ---------- */
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filtre {
  font: 600 .95rem/1 var(--corps); padding: 10px 14px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--ligne); background: var(--blanc); color: var(--texte); display: inline-flex; align-items: center; gap: 8px;
  transition: border-color .15s, background .15s, color .15s;
}
.filtre i { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--encre)); }
.filtre[aria-pressed="true"] { border-color: var(--c, var(--encre)); background: var(--c, var(--encre)); color: var(--blanc); }
.filtre[aria-pressed="true"] i { background: var(--blanc); }
.semaine { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; align-items: start; }
.jour { background: var(--blanc); border-radius: var(--rayon); box-shadow: var(--ombre); overflow: hidden; }
.jour__titre { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: var(--noir); color: var(--blanc); }
.jour__titre h3 { color: var(--blanc); margin: 0; text-transform: uppercase; font-size: 1.6rem; }
.jour--aujourdhui .jour__titre { background: var(--rouge); }
.badge { font: 700 .78rem/1 var(--titre); letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; border-radius: 6px; background: var(--blanc); color: var(--rouge); }
.creneau { padding: 16px 20px; border-top: 1px solid var(--ligne); display: grid; grid-template-columns: 92px 1fr; gap: 4px 16px; }
.creneau:first-of-type { border-top: 0; }
.creneau__heure { font: 700 1.35rem/1.05 var(--titre); color: var(--encre); }
.creneau__heure small { display: block; font-size: 1rem; color: var(--doux); font-weight: 600; }
.creneau__activite { font-weight: 700; color: var(--encre); line-height: 1.3; }
.creneau__infos { font-size: .93rem; color: var(--doux); }
.creneau__infos a { color: var(--doux); }
.creneau__infos a:hover { color: var(--rouge); }
.creneau .puces { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.type { font: 700 .74rem/1 var(--titre); letter-spacing: .1em; text-transform: uppercase; padding: 4px 7px; border-radius: 5px; margin-left: 6px; vertical-align: 2px; }
.type--entrainement { background: #e8f0fb; color: #1e5bb0; }
.type--libre { background: #e7f6ec; color: #1f7a40; }
.type--famille { background: #fdf0e1; color: #a35a07; }
.type--competition { background: #f2eafb; color: #5e3a9e; }
.type--academie { background: #e3f4f1; color: #0b6b5c; }
.vide { padding: 22px 20px; color: var(--doux); font-style: italic; }
.note { background: var(--blanc); border-left: 5px solid var(--rouge); border-radius: var(--rayon-petit); padding: 16px 20px; box-shadow: var(--ombre); }
.affiches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.affiches button { border: 0; padding: 0; background: none; cursor: zoom-in; text-align: left; }
.affiches img { border-radius: var(--rayon); box-shadow: var(--ombre); aspect-ratio: 1200 / 2715; object-fit: cover; width: 100%; transition: transform .2s; }
.affiches button:hover img { transform: translateY(-4px); }
.affiches span { display: block; margin-top: 10px; font: 700 1.2rem var(--titre); text-transform: uppercase; color: var(--encre); }
@media (max-width: 700px) { .affiches { grid-template-columns: repeat(3, 70%); overflow-x: auto; scroll-snap-type: x mandatory; } .affiches button { scroll-snap-align: start; } }

/* ---------- Tableaux ---------- */
.tableau-conteneur { overflow-x: auto; border-radius: var(--rayon); box-shadow: var(--ombre); background: var(--blanc); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--ligne); }
thead th { background: var(--noir); color: var(--blanc); font: 700 1.05rem var(--titre); letter-spacing: .06em; text-transform: uppercase; }
thead th small { display: block; font: 500 .8rem var(--corps); text-transform: none; letter-spacing: 0; opacity: .75; }
tbody tr:hover { background: var(--creme); }
tbody td:first-child { font-weight: 700; color: var(--encre); }
td.prix { font: 700 1.2rem var(--titre); color: var(--encre); white-space: nowrap; }
caption { caption-side: top; text-align: left; padding: 14px 18px; font: 700 1.2rem var(--titre); text-transform: uppercase; color: var(--blanc); }
.tableau--jaune caption { background: #e8a417; }
.tableau--bleu caption { background: #2f7fe0; }
.tableau--vert caption { background: #2fa85a; }

/* ---------- Inscription ---------- */
.offres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.offre { background: var(--blanc); border-radius: var(--rayon); padding: 28px; box-shadow: var(--ombre); border-top: 6px solid var(--c, var(--rouge)); display: flex; flex-direction: column; }
.offre h3 { font-size: 1.8rem; text-transform: uppercase; margin-bottom: 4px; }
.offre .prix-grand { font: 700 2.6rem/1 var(--titre); color: var(--c, var(--rouge)); margin: 6px 0 16px; }
.offre .prix-grand small { font-size: 1rem; color: var(--doux); font-weight: 600; }
.offre ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.offre li { padding-left: 28px; position: relative; }
.offre li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--c, var(--rouge)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.offre .bouton { margin-top: auto; }
@media (max-width: 900px) { .offres { grid-template-columns: 1fr; } }
.etapes { counter-reset: etape; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.etapes li { counter-increment: etape; position: relative; padding: 16px 20px 16px 72px; background: var(--blanc); border-radius: var(--rayon-petit); box-shadow: var(--ombre); }
.etapes li::before { content: counter(etape); position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--rouge); color: var(--blanc); font: 700 1.3rem var(--titre); }
.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .deux-colonnes { grid-template-columns: 1fr; } }
.encart { background: var(--noir); color: #d4d4da; border-radius: var(--rayon); padding: 28px; }
.encart h3 { color: var(--blanc); }
.encart a { color: #ff8f8d; }

/* ---------- Club ---------- */
.trombi { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 18px; }
.membre { text-align: center; background: var(--blanc); border-radius: var(--rayon); padding: 14px 14px 18px; box-shadow: var(--ombre); transition: transform .2s; }
.membre:hover { transform: translateY(-4px) rotate(-.5deg); }
/* Portrait vertical entier (format des photos d'origine) : aucun visage n'est coupé */
.membre .avatar {
  display: block; width: 100%; max-width: 170px; aspect-ratio: 245 / 400; height: auto; margin: 0 auto 14px;
  object-fit: cover; object-position: center top; border-radius: 12px;
  border-bottom: 5px solid var(--rouge); background: var(--creme-2);
}
.membre .avatar--initiale { display: grid; place-items: center; font: 700 4rem var(--titre); color: var(--rouge); background: var(--creme); border: 2px dashed var(--ligne); border-bottom: 5px solid var(--rouge); }
.membre b { display: block; font: 700 1.35rem/1.1 var(--titre); color: var(--encre); }
.membre span { display: block; font-size: .92rem; color: var(--doux); line-height: 1.35; margin-top: 4px; }
.groupe-titre { margin: 48px 0 18px; display: flex; align-items: center; gap: 14px; }
.groupe-titre::after { content: ""; flex: 1; height: 2px; background: var(--ligne); }
.partenaire { background: var(--blanc); border-radius: var(--rayon); box-shadow: var(--ombre); padding: 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.partenaire img { height: 110px; width: 100%; object-fit: contain; }
.partenaire b { font: 700 1.2rem var(--titre); color: var(--encre); }
.partenaire span { font-size: .92rem; color: var(--doux); }
.partenaire--libre { border: 2px dashed var(--rouge); background: var(--rouge-pale); justify-content: center; }

/* ---------- Contact ---------- */
.contacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.contact { background: var(--blanc); border-radius: var(--rayon); padding: 24px; box-shadow: var(--ombre); text-decoration: none; color: var(--texte); display: block; transition: transform .2s; }
a.contact:hover { transform: translateY(-4px); color: var(--texte); }
.contact .icone { width: 52px; height: 52px; border-radius: 14px; background: var(--rouge-pale); display: grid; place-items: center; margin-bottom: 14px; }
.contact .icone svg { width: 26px; height: 26px; stroke: var(--rouge); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact b { display: block; font: 700 1.3rem var(--titre); color: var(--encre); text-transform: uppercase; }
.contact span { color: var(--doux); word-break: break-word; }
.carte-iframe { width: 100%; height: 420px; border: 0; border-radius: var(--rayon); box-shadow: var(--ombre); background: var(--creme-2); }

/* ---------- Agenda ---------- */
.agenda-iframe { width: 100%; height: 680px; border: 0; border-radius: var(--rayon); box-shadow: var(--ombre); background: var(--blanc); }
@media (max-width: 700px) { .agenda-iframe { height: 520px; } }

/* ---------- Texte long ---------- */
.texte-long { max-width: 76ch; }
.texte-long h2 { font-size: 1.9rem; margin-top: 1.6em; }
.texte-long h3 { color: var(--rouge); margin-top: 1.4em; }

/* ---------- Visionneuse ---------- */
.visionneuse { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.visionneuse::backdrop { background: rgba(10,10,10,.92); }
.visionneuse figure { margin: 0; height: 100%; display: grid; place-items: center; padding: 56px 16px; }
.visionneuse img { max-width: min(1400px, 100%); max-height: calc(100vh - 112px); object-fit: contain; border-radius: 8px; box-shadow: var(--ombre-forte); }
.visionneuse button { position: fixed; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: var(--blanc); font-size: 1.6rem; cursor: pointer; }
.visionneuse button:hover { background: var(--rouge); }
.visionneuse .fermer { top: 16px; right: 16px; }
.visionneuse .prec { left: 16px; top: 50%; transform: translateY(-50%); }
.visionneuse .suiv { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Apparition au défilement ---------- */
.apparait { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.apparait.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .apparait { opacity: 1; transform: none; }
}
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.aller-contenu { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--rouge); color: var(--blanc); padding: 10px 16px; border-radius: 8px; }
.aller-contenu:focus { top: 8px; }

/* =========================================================
   Ajouts : menus déroulants, fil d'actus, événements, résultats, équipes, jeunes
   ========================================================= */

/* Sous-menus */
.menu .a-sous { position: relative; }
.menu .a-sous > button {
  display: flex; align-items: center; gap: 6px; padding: 10px 12px; border: 0; background: none; cursor: pointer; border-radius: 8px;
  font: 600 1.05rem/1 var(--titre); letter-spacing: .05em; text-transform: uppercase; color: var(--encre);
}
.menu .a-sous > button::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.menu .a-sous > button[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
.menu .a-sous.actif > button, .menu .a-sous > button:hover { color: var(--rouge); }
.sous-menu {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: -8px; min-width: 240px;
  background: var(--blanc); border-radius: 12px; box-shadow: var(--ombre-forte); border: 1px solid rgba(0,0,0,.05);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.sous-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.a-sous > button[aria-expanded="true"] + .sous-menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1021px) { .a-sous:hover > .sous-menu { opacity: 1; visibility: visible; transform: none; } }
.sous-menu a { padding: 12px 14px !important; font-size: 1.05rem !important; }
.sous-menu a::after { display: none; }
.sous-menu a:hover { background: var(--rouge-pale); color: var(--rouge); }
@media (max-width: 1020px) {
  .menu .a-sous > button { width: 100%; justify-content: space-between; padding: 16px 8px; font-size: 1.3rem; border-bottom: 1px solid var(--ligne); border-radius: 0; }
  .sous-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; display: none; opacity: 1; visibility: visible; transform: none; }
  .a-sous > button[aria-expanded="true"] + .sous-menu { display: block; }
  .sous-menu a { font-size: 1.15rem !important; }
}

/* Rubriques */
.rubrique {
  display: inline-flex; align-items: center; gap: 6px; font: 700 .78rem/1 var(--titre); letter-spacing: .1em; text-transform: uppercase;
  color: var(--c); background: color-mix(in srgb, var(--c) 12%, white); padding: 6px 9px; border-radius: 6px; white-space: nowrap;
}
.carte__meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
button.carte__image { border: 0; padding: 0; cursor: zoom-in; position: relative; display: block; width: 100%; }
.carte__image--vide { display: grid; place-items: center; background: linear-gradient(135deg, var(--noir) 0 60%, var(--rouge) 60%); aspect-ratio: 4 / 1.4; }
.carte__image--vide .rubrique { background: var(--blanc); }
.credits { display: block; font-size: .78rem; color: #8a8a93; font-style: italic; line-height: 1.35; }
.nb-photos { position: absolute; z-index: 1; right: 10px; bottom: 10px; background: rgba(0,0,0,.72); color: var(--blanc); font: 600 .8rem var(--corps); padding: 5px 9px; border-radius: 999px; }

/* Événements */
.evenements { display: grid; gap: 14px; }
.evenement {
  display: grid; grid-template-columns: 76px 1fr auto; gap: 18px; align-items: center;
  background: var(--blanc); border-radius: var(--rayon); padding: 16px 18px; box-shadow: var(--ombre); border-left: 6px solid var(--c);
}
.evenement__date { text-align: center; background: var(--noir); color: var(--blanc); border-radius: 12px; padding: 10px 6px; }
.evenement__date b { display: block; font: 700 2rem/1 var(--titre); }
.evenement__date span { font: 700 .85rem var(--titre); text-transform: uppercase; letter-spacing: .1em; color: #ff8f8d; }
.evenement h3 { margin: 6px 0 2px; font-size: 1.35rem; }
.evenement p { margin: 4px 0 0; color: var(--doux); font-size: .95rem; }
.evenement p.evenement__infos { font-weight: 600; color: var(--texte); }
.evenement__affiche { border: 0; padding: 0; background: none; cursor: zoom-in; }
.evenement__affiche img { width: 86px; height: 120px; object-fit: cover; border-radius: 8px; box-shadow: var(--ombre); }
@media (max-width: 600px) { .evenement { grid-template-columns: 60px 1fr; } .evenement__affiche { grid-column: 1 / -1; } .evenement__affiche img { width: 100%; height: 200px; object-position: top; } }

/* Accueil : deux colonnes actus / à venir */
.accueil-actus { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: start; }
.accueil-actus .grille--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.accueil-actus aside h3 { font-size: 1.6rem; text-transform: uppercase; }
.accueil-actus aside .evenement { grid-template-columns: 64px 1fr; }
.accueil-actus aside .evenement__affiche { display: none; }
@media (max-width: 1000px) { .accueil-actus { grid-template-columns: 1fr; } }

/* Rencontres (résultats) */
.rencontres { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rencontre {
  display: grid; grid-template-columns: 84px 52px 1fr auto; gap: 12px; align-items: center;
  background: var(--blanc); border-radius: 10px; padding: 10px 14px; box-shadow: 0 2px 10px rgba(0,0,0,.05); border-left: 5px solid var(--c);
}
.rencontre--victoire { --c: #2fa85a; }
.rencontre--defaite { --c: var(--rouge); }
.rencontre--nul { --c: #8a8a93; }
.rencontre__resultat { font: 700 .82rem var(--titre); letter-spacing: .08em; text-transform: uppercase; color: var(--c); }
.rencontre__score { font: 700 1.45rem/1 var(--titre); color: var(--encre); }
.rencontre__quoi { line-height: 1.3; }
.rencontre__quoi small { color: var(--doux); }
.rencontre time { color: var(--doux); font-size: .9rem; white-space: nowrap; }
@media (max-width: 600px) { .rencontre { grid-template-columns: 52px 1fr auto; } .rencontre__resultat { grid-column: 1 / -1; } }
.section--noir .rencontre { background: var(--noir-2); box-shadow: none; }
.section--noir .rencontre__score, .section--noir .rencontre__quoi b { color: var(--blanc); }
.section--noir .rencontre__quoi { color: #cfcfd5; }
.jour-resultats { margin-bottom: 28px; }
.jour-resultats h3 { font-size: 1.3rem; text-transform: uppercase; color: var(--doux); }
.chiffre--vert::before { background: #2fa85a; }
.chiffre--gris::before { background: #8a8a93; }
.chiffre--noir { background: var(--noir); }
.chiffre--noir b { color: var(--blanc); }
.chiffre--noir span { color: #b6b6bd; }
.selecteur { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; flex-wrap: wrap; }
.selecteur label { font-weight: 700; }
.selecteur select { font: 600 1rem var(--corps); padding: 12px 14px; border-radius: 10px; border: 2px solid var(--ligne); background: var(--blanc); min-width: min(100%, 320px); }

/* Équipes */
.onglets { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-bottom: 30px; }
.onglets__groupe { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.onglets__groupe > span { width: 100%; font: 700 .8rem var(--titre); letter-spacing: .14em; text-transform: uppercase; color: var(--doux); }
.onglets [role=tab] {
  font: 700 1rem var(--titre); letter-spacing: .04em; text-transform: uppercase; padding: 10px 14px; border-radius: 10px; cursor: pointer;
  border: 2px solid var(--ligne); background: var(--blanc); color: var(--encre); transition: background .15s, color .15s, border-color .15s;
}
.onglets [role=tab]:hover { border-color: var(--rouge); color: var(--rouge); }
.onglets [role=tab][aria-selected="true"] { background: var(--rouge); border-color: var(--rouge); color: var(--blanc); }
.equipe { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.equipe__photo img { width: 100%; border-radius: var(--rayon); box-shadow: var(--ombre-forte); }
.equipe__sans-photo { aspect-ratio: 4 / 3; border-radius: var(--rayon); background: var(--noir); display: grid; place-items: center; align-content: center; gap: 12px; color: #b6b6bd; }
.equipe__sans-photo img { width: 120px; box-shadow: none; }
.equipe h2 { margin-bottom: 4px; }
.equipe h3 { margin-top: 28px; font-size: 1.4rem; text-transform: uppercase; }
.bilan-mini { display: flex; gap: 10px; margin: 16px 0; }
.bilan-mini span { padding: 8px 14px; border-radius: 10px; font: 600 1rem var(--corps); background: var(--blanc); box-shadow: var(--ombre); }
.bilan-mini b { font: 700 1.6rem var(--titre); margin-right: 4px; }
.bilan-mini .v b { color: #2fa85a; }
.bilan-mini .n b { color: #8a8a93; }
.bilan-mini .d b { color: var(--rouge); }
.poule { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.poule li { padding: 10px 14px; background: var(--blanc); border-radius: 8px; border-left: 4px solid var(--ligne); }
@media (max-width: 860px) { .equipe { grid-template-columns: 1fr; } }

/* Fil d'actualités */
.fil-mise-en-page { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: start; }
.fil-mois { position: sticky; top: calc(var(--entete) + 20px); display: grid; gap: 4px; }
.fil-mois > b { font: 700 .82rem var(--titre); letter-spacing: .14em; text-transform: uppercase; color: var(--doux); margin-bottom: 6px; }
.fil-mois nav { display: grid; gap: 4px; }
.fil-mois a { display: flex; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 8px; text-decoration: none; color: var(--encre); font-weight: 600; border-left: 3px solid var(--ligne); }
.fil-mois a:hover { background: var(--blanc); border-left-color: var(--rouge); color: var(--rouge); }
.fil-mois a span { font-size: .8rem; color: var(--doux); background: var(--creme-2); border-radius: 999px; padding: 2px 8px; }
.fil__mois { position: relative; padding-left: 34px; margin-bottom: 44px; }
.fil__mois::before { content: ""; position: absolute; left: 9px; top: 14px; bottom: -44px; width: 3px; background: linear-gradient(var(--rouge), var(--ligne)); border-radius: 2px; }
.fil__mois:last-child::before { bottom: 0; }
.fil__titre { position: relative; font-size: 2rem; margin-bottom: 20px; }
.fil__titre::before { content: ""; position: absolute; left: -34px; top: 6px; width: 21px; height: 21px; border-radius: 50%; background: var(--rouge); border: 4px solid var(--creme); box-shadow: 0 0 0 2px var(--rouge); box-sizing: border-box; }
.fil__titre span { color: var(--doux); }
.fil__liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 20px; }
@media (max-width: 900px) {
  .fil-mise-en-page { grid-template-columns: 1fr; gap: 20px; }
  .fil-mois { position: static; }
  .fil-mois nav { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; }
  .fil-mois > b { display: none; }
  .fil-mois a { flex: 0 0 auto; border-left: 0; background: var(--blanc); }
}

/* Jeunes */
.circuit { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.circuit li { background: var(--blanc); border-radius: 12px; padding: 14px; box-shadow: var(--ombre); display: grid; gap: 2px; border-top: 5px solid #2fa85a; position: relative; }
.circuit li b { font: 700 1.2rem var(--titre); text-transform: uppercase; }
.circuit li span { color: var(--doux); font-size: .93rem; }
.circuit li.fait { opacity: .55; border-top-color: var(--ligne); }
.circuit li.fait::after { content: "✓"; position: absolute; right: 12px; top: 10px; color: #2fa85a; font-weight: 700; }
.circuit li.prochaine { border-top-color: var(--rouge); box-shadow: 0 0 0 2px var(--rouge), var(--ombre); }
.circuit li em { font: 700 .75rem var(--titre); letter-spacing: .1em; text-transform: uppercase; color: var(--rouge); font-style: normal; margin-top: 4px; }
.jour--compact .jour__titre { padding: 10px 16px; }
.jour--compact .jour__titre h3 { font-size: 1.2rem; }
.affiches--3 img { aspect-ratio: 3 / 4; }

/* =========================================================
   Défilement horizontal (fil d'actus, aventures de Flemme)
   ========================================================= */
.defile {
  display: flex; gap: 20px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scroll-padding-inline: max(16px, calc((100vw - var(--largeur)) / 2));
  padding: 8px max(16px, calc((100vw - var(--largeur)) / 2)) 28px;
  scrollbar-width: thin; scrollbar-color: var(--rouge) var(--creme-2);
  cursor: grab; outline: none;
}
.defile:focus-visible { box-shadow: inset 0 0 0 3px var(--rouge); }
.defile.glisse { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.defile.glisse * { pointer-events: none; }
.defile::-webkit-scrollbar { height: 8px; }
.defile::-webkit-scrollbar-track { background: var(--creme-2); border-radius: 4px; }
.defile::-webkit-scrollbar-thumb { background: var(--rouge); border-radius: 4px; }
.defile > .carte { flex: 0 0 min(320px, 82vw); scroll-snap-align: start; }
.defile img { -webkit-user-drag: none; }
.defile__mois {
  flex: 0 0 auto; scroll-snap-align: start; align-self: stretch;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  width: 84px; border-radius: var(--rayon); background: var(--noir); color: var(--blanc); position: relative; overflow: hidden;
}
.defile__mois::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: var(--rouge); transform: skewY(-18deg) translateY(30%); }
.defile__mois span { writing-mode: vertical-rl; transform: rotate(180deg); font: 700 1.9rem/1 var(--titre); text-transform: uppercase; letter-spacing: .04em; z-index: 1; }
.defile__mois b { font: 700 1rem var(--titre); color: #ff8f8d; z-index: 1; }
.defile__fin { flex: 0 0 260px; align-self: stretch; display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; padding: 24px; border: 2px dashed var(--ligne); border-radius: var(--rayon); color: var(--doux); }
.defile__fin img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid var(--blanc); box-shadow: 0 0 0 3px var(--rouge); }
.defile__fin b { font: 700 1.3rem var(--titre); color: var(--encre); text-transform: uppercase; }
.defile-barre { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.defile-mois { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.defile-mois button {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--ligne); background: var(--blanc); font: 600 .95rem var(--corps); color: var(--encre); transition: all .15s;
}
.defile-mois button span { font-size: .78rem; background: var(--creme-2); border-radius: 999px; padding: 1px 7px; color: var(--doux); }
.defile-mois button.actif { background: var(--noir); border-color: var(--noir); color: var(--blanc); }
.defile-mois button.actif span { background: var(--rouge); color: var(--blanc); }
.defile-fleches { display: flex; gap: 8px; flex: 0 0 auto; }
.fleche {
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--encre); background: var(--blanc); cursor: pointer;
  font: 400 1.9rem/1 var(--corps); color: var(--encre); display: grid; place-items: center; padding-bottom: 4px; transition: all .15s;
}
.fleche:hover { background: var(--rouge); border-color: var(--rouge); color: var(--blanc); transform: scale(1.06); }
.defile-aide { text-align: center; color: var(--doux); font-size: .9rem; margin: 0; }
@media (max-width: 700px) { .defile-fleches { display: none; } }

/* =========================================================
   Flemme, la mascotte
   ========================================================= */
.flemme-section { background: linear-gradient(180deg, var(--creme) 0%, #f1e6da 100%); overflow: hidden; }
.flemme { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.flemme__portrait { position: relative; }
.flemme__portrait img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50% 50% 46% 54% / 55% 48% 52% 45%;
  border: 8px solid var(--blanc); box-shadow: 0 0 0 4px var(--rouge), var(--ombre-forte);
  animation: flemme-berce 6s ease-in-out infinite;
}
.flemme__bulle {
  position: absolute; top: 6%; right: -4%; background: var(--blanc); padding: 12px 16px; border-radius: 18px;
  font: 700 1.1rem var(--titre); color: var(--encre); box-shadow: var(--ombre); transform: rotate(4deg);
}
.flemme__bulle::after { content: ""; position: absolute; left: 22px; bottom: -10px; border: 10px solid transparent; border-top-color: var(--blanc); border-bottom: 0; }
@keyframes flemme-berce { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg) translateY(-6px); } }
.flemme__fiche { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 22px 0 0; }
.flemme__fiche div { background: var(--blanc); border-radius: 12px; padding: 12px 14px; box-shadow: var(--ombre); }
.flemme__fiche dt { font: 700 .78rem var(--titre); letter-spacing: .12em; text-transform: uppercase; color: var(--rouge); }
.flemme__fiche dd { margin: 2px 0 0; font-weight: 600; color: var(--encre); line-height: 1.3; }
@media (max-width: 860px) { .flemme { grid-template-columns: 1fr; } .flemme__portrait { max-width: 340px; margin: 0 auto; } }
@media (max-width: 480px) { .flemme__fiche { grid-template-columns: 1fr; } }
.aventure { flex: 0 0 min(260px, 72vw); margin: 0; scroll-snap-align: start; background: var(--blanc); border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); transform: rotate(var(--r, -1deg)); transition: transform .2s; }
.aventure:nth-child(even) { --r: 1.2deg; }
.aventure:nth-child(3n) { --r: -.4deg; }
.aventure:hover { transform: rotate(0) translateY(-4px); }
.aventure button { border: 0; padding: 0; display: block; width: 100%; cursor: zoom-in; background: var(--creme-2); }
.aventure img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.aventure figcaption { padding: 12px 14px 16px; font-size: .95rem; line-height: 1.4; color: var(--texte); }
.aventure time { display: block; font: 700 .8rem var(--titre); letter-spacing: .08em; text-transform: uppercase; color: var(--rouge); margin-bottom: 4px; }
.defile--flemme { padding-top: 14px; }

/* Page « La vie de Flemme » : journal par année */
.bandeau--flemme .fond { object-position: center 30%; }
.journal__annee { margin-bottom: 44px; }
.journal__titre { display: flex; align-items: center; gap: 14px; font-size: 2.4rem; color: var(--rouge); margin-bottom: 20px; }
.journal__titre::after { content: ""; flex: 1; height: 3px; background: var(--ligne); border-radius: 2px; }
.journal__grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 26px 22px; }
.aventure--journal { flex: none; }
