/* ==========================================================================
   CPN La Chevêche — feuille de style
   Toutes les couleurs, tailles et arrondis sont réglables ici, dans :root.
   ========================================================================== */

/* ---------- Polices (hébergées sur le site, licence SIL OFL) ---------- */
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/fraunces-600.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/nunito.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/nunito-italique.woff2") format("woff2");
}
@font-face {
  font-family: "Caveat"; font-style: normal; font-weight: 600; font-display: optional;
  src: url("../fonts/caveat-600.woff2") format("woff2");
}

/* ---------- Jetons ---------- */
:root {
  --fond: #FBF7EE;          /* crème papier */
  --fond-2: #F3ECDC;        /* sections alternées */
  --surface: #FFFFFF;       /* cartes */
  --sauge: #E3EBD3;         /* encadrés */
  --texte: #2B2A26;
  --texte-2: #5C574C;
  --primaire: #2F6B3A;      /* vert forêt */
  --primaire-hover: #24542D;
  --plumage: #6B4E37;       /* brun chevêche */
  --accent: #F2B630;        /* jaune œil de chouette (logo) */
  --cta: #B5532A;           /* terre cuite */
  --cta-hover: #964322;
  --nuit: #1F3A26;
  --sur-nuit: #F3ECDC;
  --sur-nuit-2: #CFC8B6;
  --bordure: #E4DCC8;
  --sur-primaire: #FFFFFF;
  --bandeau-fond: #2F6B3A;
  --bandeau-texte: #FFFFFF;
  --surlignage: .55;

  /* pastels (badges, icônes, saisons) : fond + texte */
  --bleu-fond: #D6E9F2;  --bleu-texte: #1F4E66;
  --vert-fond: #CFE3C4;  --vert-texte: #234D2B;
  --peche-fond: #F7DCC9; --peche-texte: #7A3518;
  --jaune-fond: #FBE7B5; --jaune-texte: #5A4300;
  --printemps: #DCEBC8; --ete: #FBE3A6; --automne: #F4CDB0; --hiver: #D9E4EC;
  --sur-saison: #2B2A26;

  --police-titre: "Fraunces", Georgia, serif;
  --police-texte: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --police-main: "Caveat", "Segoe Print", cursive;

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 22px;
  --ombre: 0 2px 0 rgb(43 42 38 / .06), 0 12px 28px -12px rgb(107 78 55 / .35);
  --largeur: 1140px;
  --hauteur-entete: 60px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fond: #17201A; --fond-2: #1C2820; --surface: #22302A; --sauge: #263A2D;
    --texte: #EDE6D6; --texte-2: #C3BBA8;
    --primaire: #8CC79A; --primaire-hover: #A6D6B1; --plumage: #E2C29F;
    --accent: #F0B954; --cta: #E07B4C; --cta-hover: #EA9068;
    --nuit: #0F1712; --bordure: #33443A;
    --sur-primaire: #10170F; --bandeau-fond: #263A2D; --bandeau-texte: #EDE6D6; --surlignage: .3;
    --bleu-fond: #20394A;  --bleu-texte: #BFE0F0;
    --vert-fond: #23402B;  --vert-texte: #C4E3C0;
    --peche-fond: #4A2C1E; --peche-texte: #F4CBB0;
    --jaune-fond: #4A3C18; --jaune-texte: #F6DFA0;
    --printemps: #273C26; --ete: #3F3519; --automne: #43291C; --hiver: #22323E; --sur-saison: #EDE6D6;
    --ombre: 0 12px 28px -12px rgb(0 0 0 / .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --fond: #17201A; --fond-2: #1C2820; --surface: #22302A; --sauge: #263A2D;
  --texte: #EDE6D6; --texte-2: #C3BBA8;
  --primaire: #8CC79A; --primaire-hover: #A6D6B1; --plumage: #E2C29F;
  --accent: #F0B954; --cta: #E07B4C; --cta-hover: #EA9068;
  --nuit: #0F1712; --bordure: #33443A;
  --sur-primaire: #10170F; --bandeau-fond: #263A2D; --bandeau-texte: #EDE6D6; --surlignage: .3;
  --bleu-fond: #20394A;  --bleu-texte: #BFE0F0;
  --vert-fond: #23402B;  --vert-texte: #C4E3C0;
  --peche-fond: #4A2C1E; --peche-texte: #F4CBB0;
  --jaune-fond: #4A3C18; --jaune-texte: #F6DFA0;
  --printemps: #273C26; --ete: #3F3519; --automne: #43291C; --hiver: #22323E; --sur-saison: #EDE6D6;
  --ombre: 0 12px 28px -12px rgb(0 0 0 / .6);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hauteur-entete) + var(--hauteur-bandeau, 0px) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--fond);
}
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--police-texte);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }

h1, h2, h3 {
  text-wrap: balance;
  font-family: var(--police-titre);
  color: var(--plumage);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

a { color: var(--primaire); text-underline-offset: 3px; }
a:hover { color: var(--primaire-hover); }
:focus-visible {
  outline: 3px solid var(--texte); outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--accent); border-radius: 4px;
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Lien externe : petite flèche visible (le texte « nouvel onglet » est masqué pour les lecteurs d'écran) */
a[target="_blank"]:not(.lien-fleche):not(.bouton):not(.video)::after {
  content: "\2197" / ""; font-size: .8em; margin-left: .2em; text-decoration: none; display: inline-block;
}

.lien-evitement {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--texte); color: var(--fond); padding: .6em 1em; border-radius: var(--r-sm);
}
.lien-evitement:focus { left: 8px; }

.conteneur {
  width: 100%; max-width: calc(var(--largeur) + 2rem); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.etroit { max-width: 68ch; }

.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--alt { background: var(--fond-2); }
.section--serree { padding-top: 1.5rem; }

/* Surtitre : petites capitales sobres ; la version manuscrite est réservée au hero */
.surtitre {
  display: block;
  font-family: var(--police-texte); font-weight: 800; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--cta); margin-bottom: .6em;
}
.manuscrit {
  font-family: var(--police-main); font-size: 1.5rem; font-weight: 600; color: var(--cta);
  display: inline-block; transform: rotate(-2deg);
}

.intro { font-size: 1.15rem; color: var(--texte-2); }
.note { color: var(--texte-2); }
.petit { font-size: .85rem; color: var(--texte-2); }
.mt-s { margin-top: .75rem; }
.mt-m { margin-top: 1.5rem; }
.mt-l { margin-top: 3rem; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--fond) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bordure);
}
.entete__in { display: flex; align-items: center; gap: .75rem 1rem; min-height: var(--hauteur-entete); }

.marque { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--texte); margin-right: auto; }
.marque img { width: 30px; height: auto; }
.marque span { font-family: var(--police-titre); font-weight: 600; font-size: 1.15rem; line-height: 1.1; }
.marque small { display: block; font-family: var(--police-texte); font-size: .78rem; color: var(--texte-2); font-weight: 400; }

.menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.menu a {
  display: block; padding: .55em .8em; border-radius: 999px;
  text-decoration: none; color: var(--texte); font-weight: 700; font-size: .98rem;
}
.menu a:hover { background: var(--sauge); color: var(--primaire); }
.menu a[aria-current="page"] {
  background: var(--sauge); color: var(--primaire);
  text-decoration: underline 2px; text-underline-offset: 5px;
}

.menu-toggle {
  display: none; width: 46px; height: 46px; border: 0; border-radius: var(--r-sm);
  background: var(--sauge); color: var(--texte); cursor: pointer; padding: 0;
}
.menu-toggle svg { margin: auto; }
.menu-toggle .croix { display: none; }
.menu-toggle[aria-expanded="true"] .barres { display: none; }
.menu-toggle[aria-expanded="true"] .croix { display: block; }

@media (max-width: 900px) {
  .entete__in { flex-wrap: wrap; }
  .js .entete__in { flex-wrap: nowrap; }
  .entete .bouton { min-height: 40px; padding: .45em .9em; font-size: .9rem; white-space: nowrap; }
  /* Sans JavaScript, le menu reste affiché en ligne (il passe à la ligne) */
  .menu { flex-basis: 100%; order: 5; }
  .menu ul { flex-wrap: wrap; padding-bottom: .5rem; }
  .js .menu-toggle { display: inline-flex; }
  .js .menu {
    position: absolute; inset: 100% 0 auto 0;
    max-height: calc(100dvh - var(--hauteur-entete) - var(--hauteur-bandeau, 0px)); overflow-y: auto;
    background: var(--fond); border-bottom: 1px solid var(--bordure);
    box-shadow: var(--ombre);
    display: none;
  }
  .js .menu.is-open { display: block; }
  .js .menu ul { flex-direction: column; padding: .75rem 1rem 1.25rem; }
  .js .menu a { padding: .85em 1em; font-size: 1.1rem; }
}
@media (max-width: 420px) {
  .marque small { display: none; }
  .marque span { font-size: 1.02rem; }
}
@media (max-height: 500px) {
  .entete { position: static; }
}

/* Bandeau « Prochaine sortie » (rempli depuis donnees.js) */
.prochaine {
  display: block; background: var(--nuit); color: var(--sur-nuit);
  text-decoration: none; font-size: .9rem; line-height: 1.3;
}
.prochaine:hover { color: var(--sur-nuit); }
.prochaine:hover .prochaine__titre { text-decoration: underline; text-underline-offset: 3px; }
.prochaine:focus-visible { outline-color: var(--accent); outline-offset: -3px; box-shadow: none; }
.prochaine__in { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .75rem; padding-block: .5rem; }
.prochaine__label { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; color: var(--accent); }
.prochaine__quand { font-weight: 800; }
.prochaine__titre { opacity: .9; min-width: 0; }
.prochaine__delai {
  background: var(--accent); color: #2B2A26; font-weight: 800; font-size: .8rem;
  border-radius: 999px; padding: .15em .7em; white-space: nowrap;
}
.prochaine__fleche { margin-left: auto; font-weight: 800; }
.pastille {
  position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none;
}
.pastille--proche::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(2.8); opacity: 0; } }
@media (max-width: 640px) {
  .prochaine__titre { display: none; }
  .prochaine__label { font-size: .7rem; }
}
@media (max-width: 420px) {
  .prochaine__label {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
}

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; gap: .5em; justify-content: center;
  min-height: 46px; padding: .7em 1.35em;
  border-radius: var(--r-md); border: 2px solid transparent;
  font-family: var(--police-texte); font-weight: 800; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  background: var(--primaire); color: var(--sur-primaire);
  box-shadow: 0 3px 0 var(--primaire-hover);
  transition: transform .12s, box-shadow .12s, background .12s;
}
.bouton:hover { color: var(--sur-primaire); background: var(--primaire-hover); }
.bouton:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--primaire-hover); }
.bouton--cta { background: var(--cta); box-shadow: 0 3px 0 var(--cta-hover); }
.bouton--cta:hover { background: var(--cta-hover); }
.bouton--contour { background: transparent; color: var(--primaire); border-color: var(--primaire); box-shadow: none; }
.bouton--contour:hover { background: var(--sauge); color: var(--primaire); }
.bouton--petit { min-height: 40px; padding: .4em .9em; font-size: .9rem; box-shadow: none; }
.groupe-boutons { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

.lien-fleche { font-weight: 800; text-decoration: none; }
.lien-fleche::after { content: " \2192" / ""; transition: margin .15s; }
.lien-fleche:hover::after { margin-left: .25em; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 8vw, 6rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%232F6B3A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M20 40 Q35 15 55 25 Q40 45 20 40Z M22 39 L52 27'/%3E%3Cpath d='M80 95 l0 -12 M80 95 l-7 -9 M80 95 l7 -9 M80 95 l0 6'/%3E%3C/g%3E%3C/svg%3E");
}
.hero__grille { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__grille > * { min-width: 0; }
.hero h1 .manuscrit { display: block; width: fit-content; font-size: clamp(1.4rem, 3vw, 1.7rem); letter-spacing: 0; margin-bottom: .4em; line-height: 1.2; }
.hero h1 em { font-style: normal; color: var(--primaire); position: relative; white-space: nowrap; z-index: 0; }
.hero h1 em::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .05em; height: .32em;
  background: var(--accent); opacity: var(--surlignage); z-index: -1; border-radius: 4px; transform: rotate(-1deg);
}
@media (max-width: 520px) { .hero h1 em { white-space: normal; } }
.hero__accroche { font-size: 1.2rem; color: var(--texte-2); max-width: 34rem; }
.hero__visuel { position: relative; }
.galet {
  border-radius: 42% 58% 55% 45% / 50% 45% 55% 50%;
  overflow: hidden; aspect-ratio: 1 / 1; max-width: 100%; box-shadow: var(--ombre);
}
.galet img { width: 100%; height: 100%; object-fit: cover; }
.hero__chouette {
  position: absolute; width: 38%; top: -8%; right: -4%;
  filter: drop-shadow(0 6px 8px rgb(0 0 0 / .2));
  animation: hoche .9s ease-in-out 1.2s 2;
}
@keyframes hoche { 30%, 70% { transform: translateY(5px) rotate(-2deg); } }
.hero__note {
  position: absolute; left: -6%; bottom: 6%; margin: 0;
  background: var(--surface); padding: .6rem 1rem; border-radius: var(--r-md); box-shadow: var(--ombre);
  font-family: var(--police-main); font-size: 1.35rem; color: var(--plumage); transform: rotate(-4deg);
}
.infos-cles {
  display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 2rem 0 0;
}
.infos-cles li {
  background: var(--surface); border: 1px solid var(--bordure); border-radius: 999px;
  padding: .35em .9em; font-weight: 700; font-size: .92rem; color: var(--texte-2);
}
.infos-cles strong { color: var(--plumage); }

@media (max-width: 800px) {
  .hero__grille { grid-template-columns: 1fr; }
  .hero__visuel { order: -1; max-width: 340px; width: 72%; margin: .5rem auto 0; }
  .hero__note { left: -8%; font-size: 1.15rem; }
}

/* ---------- Sorties ---------- */
.entete-section { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2rem; }
.entete-section h2 { margin: 0; }
.liens-agenda { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }

.sorties { display: grid; gap: 1rem; }
.sortie {
  display: flex; gap: 1.25rem; align-items: flex-start;
  background: var(--surface); border-radius: var(--r-lg); padding: 1.25rem 1.4rem;
  border: 1px solid var(--bordure);
}
.sortie__date {
  flex: 0 0 76px; text-align: center; padding: .55rem .2rem .45rem;
  background: var(--accent); color: #2B2A26; border-radius: var(--r-md); line-height: 1;
}
.sortie__jour { display: block; font-family: var(--police-titre); font-size: 1.9rem; font-weight: 600; }
.sortie__jour--long { font-size: 1.35rem; }
.sortie__mois { display: block; font-weight: 800; text-transform: uppercase; font-size: .78rem; letter-spacing: .04em; margin-top: .2rem; }
.sortie__corps { min-width: 0; flex: 1; }
.sortie__badges { display: flex; flex-wrap: wrap; gap: .4rem; }
.sortie h3 { margin: .35rem 0 .2rem; }
.sortie__infos { color: var(--texte-2); font-size: .95rem; margin-bottom: .4rem; }
.sortie__infos::first-letter { text-transform: uppercase; }
.sortie__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.vide { background: var(--sauge); padding: 1.25rem 1.5rem; border-radius: var(--r-lg); margin: 0; }
@media (max-width: 480px) {
  .sortie { flex-direction: column; gap: .75rem; }
  .sortie__date { display: flex; align-items: baseline; gap: .4rem; padding: .4rem .8rem; flex: none; }
  .sortie__mois { margin: 0; }
}

.badge {
  display: inline-block; border-radius: 999px; padding: .2em .8em;
  font-size: .8rem; font-weight: 800; letter-spacing: .02em;
}
.badge--connaitre { background: var(--bleu-fond); color: var(--bleu-texte); }
.badge--proteger { background: var(--vert-fond); color: var(--vert-texte); }
.badge--weekend { background: var(--peche-fond); color: var(--peche-texte); }
.badge--delai {
  background: transparent; color: var(--cta); border: 2px solid var(--cta);
  font-size: .85rem; padding: .15em .75em;
}
.badge--proche { background: var(--cta); color: var(--sur-primaire); }
.badge--exemple { background: transparent; color: var(--texte-2); border: 1px dashed var(--texte-2); }

/* ---------- Cartes / grilles ---------- */
.grille-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.grille-2 > * { min-width: 0; }
.grille-2--haut { align-items: start; }
.grille-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
@media (max-width: 800px) { .grille-2 { grid-template-columns: 1fr; } }

.carte {
  background: var(--surface); border-radius: var(--r-lg); padding: 1.6rem;
  border: 1px solid var(--bordure);
}
.carte h3 { margin-top: .2rem; }
.carte p:last-child, .carte ul:last-child { margin-bottom: 0; }
.carte__icone {
  width: 56px; height: 56px; border-radius: var(--r-md); display: grid; place-items: center;
  margin-bottom: .6rem;
}
.carte--connaitre .carte__icone { background: var(--bleu-fond); color: var(--bleu-texte); }
.carte--proteger .carte__icone { background: var(--vert-fond); color: var(--vert-texte); }
.carte--weekend .carte__icone { background: var(--peche-fond); color: var(--peche-texte); }
.carte--fete .carte__icone { background: var(--jaune-fond); color: var(--jaune-texte); }
.ico svg, .carte__icone svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.liste-coches { list-style: none; padding: 0; margin: 0 0 1em; }
.liste-coches li { padding-left: 1.8em; position: relative; margin-bottom: .45em; }
.liste-coches li::before,
.liste-coches li::after {
  content: ""; position: absolute; left: 0; top: .35em; width: 1.1em; height: 1.1em; border-radius: 50%;
}
.liste-coches li::before { background: var(--sauge); }
.liste-coches li::after {
  background: var(--primaire);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}

.photo-arrondie { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--ombre); aspect-ratio: 4 / 3; max-width: 100%; }
.photo-arrondie img { width: 100%; height: 100%; object-fit: cover; }
figure { margin: 0; }
figcaption { font-size: .85rem; color: var(--texte-2); margin-top: .5rem; }

/* ---------- Galerie ---------- */
.galerie {
  display: grid; gap: .75rem; margin-top: 1.5rem;
  grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px;
}
.galerie figure { border-radius: var(--r-md); overflow: hidden; position: relative; }
.galerie a { display: block; height: 100%; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.galerie a:hover img { transform: scale(1.04); }
.galerie figcaption {
  position: absolute; left: .5rem; bottom: .5rem; margin: 0; padding: .25rem .6rem;
  color: #fff; font-weight: 700; font-size: .85rem; line-height: 1.3;
  background: rgb(0 0 0 / .66); border-radius: var(--r-sm); pointer-events: none;
}
.galerie .grand { grid-column: span 2; grid-row: span 2; }
.galerie .haute { grid-row: span 2; }
.galerie .haute img { object-position: 50% 40%; }
.galerie .bande { grid-column: 1 / -1; grid-row: span 2; }
.galerie .bande img { object-position: 60% 62%; }
@media (max-width: 700px) {
  .galerie { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .galerie .bande { grid-row: span 2; }
}

/* ---------- Fiche chevêche ---------- */
.fiche { background: var(--sauge); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 3rem); position: relative; }
.fiche__tete { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.5rem; }
.fiche__tete img { width: 110px; flex: none; }
.fiche__tete h2 { margin: 0; }
.fiche__latin { font-style: italic; color: var(--texte-2); margin: .2rem 0 0; }
.faits { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.faits li { background: var(--surface); border-radius: var(--r-md); padding: 1.1rem 1.2rem; }
.faits h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.faits p { margin: 0; }

/* ---------- Saisons ---------- */
.saisons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.5rem; }
.saison { border-radius: var(--r-lg); padding: 1.4rem; color: var(--sur-saison); }
.saison h3 { color: inherit; margin-bottom: .6rem; }
.saison ul { margin: 0; padding-left: 1.1rem; }
.saison li { margin-bottom: .3rem; }
.saison--printemps { background: var(--printemps); }
.saison--ete { background: var(--ete); }
.saison--automne { background: var(--automne); }
.saison--hiver { background: var(--hiver); }
@media (max-width: 900px) { .saisons { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .saisons { grid-template-columns: 1fr; } }

/* ---------- Actus ---------- */
.actus { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.actu { background: var(--surface); border-radius: var(--r-lg); padding: 1.5rem; border: 1px solid var(--bordure); }
.actu time { font-size: .85rem; font-weight: 800; color: var(--cta); text-transform: uppercase; letter-spacing: .04em; }
.actu h3 { margin: .3rem 0 .4rem; font-size: 1.2rem; }
.actu p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grille { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.5rem; margin-top: 1.5rem; }
.contact-grille > * { min-width: 0; }
@media (max-width: 800px) { .contact-grille { grid-template-columns: 1fr; } }
.contact-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.contact-liste li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-liste .ico {
  flex: none; width: 44px; height: 44px; border-radius: var(--r-md); background: var(--sauge);
  display: grid; place-items: center; color: var(--primaire);
}
.contact-liste strong { display: block; }
.carte-plan { border-radius: var(--r-lg); overflow: hidden; min-height: 320px; box-shadow: var(--ombre); background: var(--sauge); }
.carte-plan iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
@media (max-width: 800px) {
  .carte-plan, .carte-plan iframe { min-height: 220px; }
}

/* ---------- Étapes (adhérer) ---------- */
.etapes { counter-reset: etape; list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.etapes > li { counter-increment: etape; background: var(--surface); border-radius: var(--r-lg); padding: 1.6rem; border: 1px solid var(--bordure); min-width: 0; }
.etapes > li::before {
  content: counter(etape); display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; margin-bottom: .8rem;
  background: var(--accent); color: #2B2A26; font-family: var(--police-titre); font-size: 1.4rem; font-weight: 600;
}
.etapes h3 { font-size: 1.2rem; }
.etapes .sorties { margin-top: 1rem; }
.etapes .sortie { padding: .9rem 1rem; gap: .9rem; flex-direction: column; }
.etapes .sortie__date { display: flex; align-items: baseline; gap: .4rem; padding: .35rem .8rem; flex: none; }
.etapes .sortie__mois { margin: 0; }
.etapes .sortie h3 { font-size: 1.05rem; }
.etapes .sortie p:not(.sortie__infos) { display: none; }

.telechargements { display: grid; gap: .75rem; margin: 1.25rem 0; }
.telechargement {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem;
  background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r-md);
  text-decoration: none; color: var(--texte); font-weight: 700; box-shadow: var(--ombre);
}
.telechargement:hover { border-color: var(--primaire); color: var(--primaire); }
.telechargement .ico { color: var(--primaire); display: grid; }
.telechargement small { display: block; font-weight: 400; color: var(--texte-2); }

/* FAQ */
.faq { display: grid; gap: .75rem; margin-top: 1.5rem; }
.faq details { background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r-md); }
.faq summary {
  cursor: pointer; padding: 1rem 1.25rem; font-weight: 800; list-style: none;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+" / ""; font-family: var(--police-titre); font-size: 1.6rem; color: var(--primaire); line-height: 1; }
.faq details[open] summary::after { content: "\2013" / ""; }
.faq details > div { padding: 0 1.25rem 1.1rem; }
.faq details > div p:last-child { margin: 0; }

.a-confirmer {
  background: #FFF1C9; color: #6B4A00; border-radius: 6px; padding: 0 .35em;
  font-size: .9em; font-weight: 700;
}

/* ---------- Charte CPN ---------- */
.charte { counter-reset: art; list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.charte li { counter-increment: art; display: flex; gap: 1rem; background: var(--surface); border-radius: var(--r-md); padding: 1.1rem 1.3rem; border: 1px solid var(--bordure); }
.charte li::before {
  content: counter(art); flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--sauge); color: var(--primaire); display: grid; place-items: center; font-weight: 800;
}

/* Vidéo au clic */
.video {
  position: relative; display: block; aspect-ratio: 16 / 9; width: 100%; max-width: 100%; border: 0; padding: 0; cursor: pointer;
  border-radius: var(--r-lg); overflow: hidden; background: #111 center / cover no-repeat; box-shadow: var(--ombre);
  font: inherit; text-decoration: none;
}
.video::after {
  content: ""; position: absolute; inset: 50% auto auto 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px;
  border-radius: 50%; background: var(--cta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l8 5-8 5z' fill='white'/%3E%3C/svg%3E") 55% 50% / 50% no-repeat;
  box-shadow: 0 6px 20px rgb(0 0 0 / .35); transition: transform .15s;
}
.video:hover::after { transform: scale(1.08); }
.video span {
  position: absolute; left: .75rem; bottom: .75rem; color: #fff; font-weight: 800;
  background: rgb(0 0 0 / .66); padding: .3rem .7rem; border-radius: var(--r-sm);
}
iframe[src*="youtube"] { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r-lg); }

/* Archives */
.fil-ariane { font-size: .9rem; color: var(--texte-2); margin-bottom: 1rem; }
.fil-ariane ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.fil-ariane li + li::before { content: "\203A" / ""; margin-right: .4rem; }
.archives details { background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r-md); margin-bottom: .75rem; }
.archives summary { cursor: pointer; padding: 1rem 1.25rem; }
.archives summary h2 { display: inline; font-size: 1.2rem; margin: 0; }
.archives .contenu { padding: 0 1.25rem 1.1rem; }
.archives ul { padding-left: 1.2rem; }
.archives li { margin-bottom: .5rem; }
.archives time { font-weight: 800; color: var(--cta); }
.citation { margin: 1rem 0 0; }
.citation blockquote { margin: 0 0 .75rem; font-style: italic; }
.citation p:last-child { margin: 0; }

/* Bandeau d'appel */
.bandeau {
  background: var(--bandeau-fond); color: var(--bandeau-texte); border-radius: var(--r-lg);
  padding: clamp(2rem, 5vw, 3rem); display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between;
}
.bandeau h2 { color: inherit; margin: 0 0 .3rem; }
.bandeau p { margin: 0; opacity: .92; }
.bandeau a:not(.bouton) { color: inherit; }
.bandeau .bouton { background: var(--accent); color: #2B2A26; box-shadow: 0 3px 0 #B9861A; }
.bandeau :focus-visible { outline-color: var(--bandeau-texte); }

/* En-tête de page interne */
.page-titre { padding-block: clamp(2rem, 5vw, 3.5rem) 1rem; }
.page-titre p:not(.surtitre) { font-size: 1.15rem; color: var(--texte-2); max-width: 60ch; }

/* Retour en haut */
.haut {
  position: fixed; z-index: 40;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--primaire); color: var(--sur-primaire); box-shadow: var(--ombre);
  text-decoration: none; font-size: 1.4rem; font-weight: 800;
}

/* ---------- Pied de page ---------- */
.pied { background: var(--nuit); color: var(--sur-nuit); }
.pied .vague { display: block; width: 100%; height: 48px; margin-top: -1px; color: var(--nuit); background: var(--fond); }
.pied__grille { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; padding-block: 2.5rem 2rem; }
@media (max-width: 800px) { .pied__grille { grid-template-columns: 1fr; } }
.pied__titre { font-family: var(--police-titre); font-size: 1.1rem; color: var(--accent); margin: 0 0 .8rem; }
.pied a { color: var(--sur-nuit); }
.pied a:hover { color: var(--accent); }
.pied :focus-visible { outline-color: var(--accent); box-shadow: none; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.pied__marque { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.pied__marque img { width: 64px; background: #FBF7EE; border-radius: var(--r-md); padding: 6px; }
.pied__marque strong { font-family: var(--police-titre); font-size: 1.3rem; display: block; }
.pied__bas {
  border-top: 1px solid rgb(255 255 255 / .12); padding-block: 1.1rem 1.5rem;
  font-size: .85rem; color: var(--sur-nuit-2); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
}

/* Page 404 */
.page-404 { text-align: center; padding-block: clamp(3rem, 8vw, 6rem); }
.page-404 img { width: 160px; margin: 0 auto 1rem; }
.page-404 .groupe-boutons { justify-content: center; }

/* ---------- Impression ---------- */
@media print {
  .entete, .pied, .menu-toggle, .carte-plan, .haut, .lien-evitement, .hero__chouette, .sortie__actions, .video { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section, .section--alt { background: none; padding-block: 1rem; }
  .carte, .sortie, .etapes > li, .faq details, .actu { box-shadow: none; break-inside: avoid; }
  .faq details > div { display: block; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}

/* ---------- Sélecteur de charte (aperçu temporaire) ---------- */
.charte-choix {
  position: fixed; z-index: 45;
  left: max(16px, env(safe-area-inset-left, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}
.charte-choix__bouton {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .5rem .9rem;
  border: 2px solid var(--primaire); border-radius: 999px; background: var(--surface); color: var(--primaire);
  font: 700 .9rem var(--police-texte); cursor: pointer; box-shadow: var(--ombre);
}
.charte-choix__bouton svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.charte-choix__panneau {
  position: absolute; left: 0; bottom: calc(100% + .5rem); width: min(320px, calc(100vw - 32px));
  max-height: calc(100dvh - 120px); overflow-y: auto;
  background: var(--surface); color: var(--texte); border: 1px solid var(--bordure);
  border-radius: var(--r-md); box-shadow: var(--ombre); padding: 1rem;
}
.charte-choix__intro { margin: 0 0 .75rem; font-size: .85rem; color: var(--texte-2); }
.charte-choix fieldset { border: 0; margin: 0 0 .75rem; padding: 0; display: grid; gap: .15rem; }
.charte-choix legend { font-weight: 800; margin-bottom: .5rem; padding: 0; }
.charte-choix label {
  display: flex; gap: .6rem; align-items: center; padding: .35rem .6rem; border-radius: var(--r-sm); cursor: pointer;
}
.charte-choix label:hover { background: var(--sauge); }
.charte-choix input { accent-color: var(--primaire); width: 18px; height: 18px; }
.charte-choix label small { display: block; color: var(--texte-2); font-size: .8rem; }
@media print { .charte-choix { display: none; } }


/* ==========================================================================
   Refonte de l'agencement (avis du collège d'experts)
   ========================================================================== */

/* En-tête : une seule barre fine, bouton « Menu » avec le mot visible */
.menu-toggle { width: auto; height: 44px; padding: 0 .8rem; gap: .4rem; align-items: center; font: 800 .95rem var(--police-texte); }
.menu-toggle svg { margin: 0; }
.menu__plus { display: none; }
.actions-rapides { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.actions-rapides a {
  min-height: 64px; display: grid; place-items: center; align-content: center; gap: .25rem; padding: .5rem;
  background: var(--sauge); color: var(--texte); border-radius: var(--r-md); text-decoration: none; font-weight: 800; font-size: .9rem;
}
.actions-rapides a:hover { background: var(--bordure); color: var(--texte); }
.actions-rapides svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.actions-rapides a::after { content: none !important; }

@media (max-width: 900px) {
  .marque small { display: none; }
  .marque span { white-space: nowrap; font-size: 1.05rem; }
  /* Menu plein écran sous la barre */
  .js .menu {
    position: fixed; inset: calc(var(--hauteur-entete) + env(safe-area-inset-top, 0px)) 0 0 0;
    max-height: none; overflow-y: auto; box-shadow: none; border: 0; z-index: 49;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .js .menu.is-open { display: flex; flex-direction: column; }
  .js .menu ul { padding: 1rem 16px .5rem; gap: 0; }
  .js .menu ul a {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 1.2rem; padding: 1em .5em; border-radius: 0; border-bottom: 1px solid var(--bordure);
  }
  .js .menu ul a::after { content: "\203A" / ""; font-size: 1.4rem; color: var(--primaire); }
  .menu__plus { display: grid; gap: 1rem; padding: 1rem 16px 2rem; }
  .menu__plus .bouton { width: 100%; }
  body.menu-ouvert { overflow: hidden; }
}
@media (max-width: 380px) {
  .entete .bouton--cta { padding-inline: .7em; }
  .menu-toggle__mot { display: none; }
}

/* Hero : ligne « pour qui » et carte « prochaine sortie » */
.pour-qui {
  background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r-md);
  padding: .7rem 1rem; max-width: 34rem; font-size: .98rem;
}

@media (max-width: 800px) {
  .hero { padding-block: 1.5rem 2.5rem; }
  .hero__visuel { position: absolute; top: -.25rem; right: 16px; width: 92px; margin: 0; order: 0; max-width: none; }
  .hero__visuel .galet, .hero__note { display: none; }
  .hero__chouette { position: static; width: 100%; }
  .hero h1 .manuscrit { padding-right: 96px; }
}

/* Sorties : version compacte (accueil, page Adhérer) */
.sorties--compactes { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.sorties--compactes .sortie { flex-direction: column; gap: .75rem; }
.sorties--compactes .sortie__date { display: flex; align-items: baseline; gap: .4rem; padding: .35rem .8rem; flex: none; }
.sorties--compactes .sortie__mois { margin: 0; }
.sorties--compactes .sortie h3 { font-size: 1.2rem; }
.sortie__lieu { color: inherit; }
.agenda-menu { position: relative; }
.agenda-menu summary { list-style: none; }
.agenda-menu summary::-webkit-details-marker { display: none; }
.agenda-menu summary::after { content: " \25BE" / ""; }
.agenda-menu__liste {
  position: absolute; z-index: 5; top: calc(100% + .35rem); left: 0; min-width: 230px; display: grid;
  background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r-md); box-shadow: var(--ombre); padding: .4rem;
}
.agenda-menu__liste > * {
  text-align: left; padding: .65rem .75rem; border-radius: var(--r-sm); background: none; border: 0;
  font: 700 .95rem var(--police-texte); color: var(--texte); text-decoration: none; cursor: pointer;
}
.agenda-menu__liste > *:hover { background: var(--sauge); color: var(--texte); }

/* Le club en bref */
.grille-club { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.grille-club > * { min-width: 0; }
@media (max-width: 800px) { .grille-club { grid-template-columns: 1fr; } }
.activites-bref { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.5rem; }
@media (max-width: 520px) { .activites-bref { grid-template-columns: 1fr; } }
.activites-bref li { display: flex; gap: .75rem; align-items: flex-start; }
.activites-bref .carte__icone { width: 44px; height: 44px; flex: none; margin: 0; }
.activites-bref .carte__icone svg { width: 22px; height: 22px; }
.activites-bref strong { display: block; color: var(--plumage); }
.activites-bref span { font-size: .95rem; color: var(--texte-2); }
.chiffres-club { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: center; }
.chiffres-club strong { display: block; font-family: var(--police-titre); font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--plumage); line-height: 1.1; }
.chiffres-club span { font-size: .9rem; color: var(--texte-2); }

/* Bande photos sur fond sombre */
.bande-photos { background: var(--nuit); color: var(--sur-nuit); padding-block: clamp(3rem, 7vw, 5rem); }
.bande-photos h2 { color: var(--sur-nuit); }
.bande-photos .lien-fleche { color: var(--accent); }
.bande-photos__grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
@media (max-width: 700px) { .bande-photos__grille { grid-template-columns: repeat(2, 1fr); } }
.bande-photos__grille a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-md); }
.bande-photos__grille img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.bande-photos__grille a:hover img { transform: scale(1.05); }

/* Encart chevêche */
.teaser-cheveche {
  display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem 1.5rem;
  background: var(--sauge); border-radius: var(--r-lg); text-decoration: none; color: var(--texte);
}
.teaser-cheveche img { width: 96px; flex: none; }
.teaser-cheveche strong { display: block; font-family: var(--police-titre); font-size: 1.3rem; color: var(--plumage); }
.teaser-cheveche:hover strong { text-decoration: underline; }
.teaser-cheveche__fleche { margin-left: auto; font-size: 1.6rem; color: var(--primaire); }
@media (max-width: 520px) { .teaser-cheveche img { width: 64px; } }

/* Album photos */
.album { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.album a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-md); }
.album img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.album a:hover img { transform: scale(1.04); }

/* Page Adhérer : l'essentiel en un coup d'œil */
.en-bref { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.en-bref li { background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r-md); padding: 1rem 1.2rem; }
.en-bref strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--cta); margin-bottom: .2rem; }

/* Archives dans la page Actualités */
.archives summary h3 { display: inline; font-size: 1.2rem; margin: 0; }

/* Mentions légales */
.mentions h2 { font-size: 1.5rem; margin-top: 2rem; }

/* Très petits écrans : le logo seul suffit (le nom reste lu par les lecteurs d'écran) */
@media (max-width: 420px) {
  .marque span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .entete .bouton--cta { margin-left: auto; }
}

/* Carnet des sorties passées */
.recits { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.recit { background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 2rem); max-width: 820px; }
.recit__meta { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 0 0 .4rem; font-weight: 800; color: var(--cta); font-size: .9rem; }
.recit__meta time::first-letter { text-transform: uppercase; }
.recit h3 { font-size: 1.5rem; }
.recit h4 { font-family: var(--police-texte); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--texte-2); margin: 1.25rem 0 .6rem; }
.recit__liens { margin: 0; padding-left: 1.2rem; }
.recit__liens li { margin-bottom: .4rem; }

/* Encadré « pour qui / quand / combien » : une ligne par question */
.pour-qui { list-style: none; margin: 0 0 1em; display: grid; gap: .3rem; }
.pour-qui li { margin: 0; }
.pour-qui strong { white-space: nowrap; color: var(--plumage); }

/* Aperçu des dernières sorties (accueil) */
.recits-apercu { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.recit-carte {
  display: flex; flex-direction: column; gap: .4rem; padding: 1.4rem;
  background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--r-lg);
  text-decoration: none; color: var(--texte);
}
.recit-carte:hover { border-color: var(--primaire); color: var(--texte); }
.recit-carte:hover h3 { text-decoration: underline; }
.recit-carte h3 { font-size: 1.25rem; margin: 0; }
.recit-carte p { margin: 0; color: var(--texte-2); }
.recit-carte .lien-fleche { margin-top: auto; padding-top: .5rem; color: var(--primaire); }
.sauts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }

/* Encart « Prochaine sortie » à la une de l'accueil */
.prochaine-carte:empty { display: none; }
.prochaine-carte { margin: 1.5rem 0; max-width: 36rem; }
.vedette {
  background: var(--primaire); color: var(--sur-primaire);
  border-radius: var(--r-lg); padding: 1.1rem 1.25rem 1.25rem; box-shadow: var(--ombre);
}
.vedette--proche { box-shadow: 0 0 0 4px var(--accent), var(--ombre); }
.vedette__haut {
  display: flex; align-items: center; gap: .6rem; margin: 0 0 .9rem;
  font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em;
}
.vedette__haut .pastille, .vedette__haut .pastille--proche::after { background: var(--accent); }
.vedette__delai {
  margin-left: auto; background: var(--accent); color: #2B2A26; border-radius: 999px;
  padding: .2em .8em; letter-spacing: .02em; text-transform: none; font-size: .9rem; white-space: nowrap;
}
.vedette__corps { display: flex; gap: 1rem; align-items: flex-start; }
.vedette__date {
  flex: none; width: 84px; text-align: center; padding: .6rem .3rem .5rem; line-height: 1;
  background: var(--surface); color: var(--texte); border-radius: var(--r-md);
}
.vedette__jour { display: block; font-family: var(--police-titre); font-size: 2.4rem; font-weight: 600; color: var(--plumage); }
.vedette__mois { display: block; margin-top: .25rem; font-weight: 800; font-size: .85rem; text-transform: uppercase; }
.vedette__texte { min-width: 0; }
.vedette h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); margin: 0 0 .35rem; color: inherit; }
.vedette h2 a { color: inherit; text-decoration: none; }
.vedette h2 a:hover { text-decoration: underline; }
.vedette__infos { margin: 0; font-weight: 700; opacity: .95; }
.vedette__desc { margin: .5rem 0 0; opacity: .9; font-size: .98rem; }
.vedette__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1rem; }
.vedette .bouton { background: var(--surface); color: var(--texte); box-shadow: none; }
.vedette .bouton:hover { background: var(--sauge); color: var(--texte); }
.vedette .bouton--clair { background: transparent; color: var(--sur-primaire); border-color: currentColor; }
.vedette .bouton--clair:hover { background: rgb(255 255 255 / .12); color: var(--sur-primaire); }
.vedette__toutes { margin-left: auto; color: inherit; font-weight: 700; font-size: .92rem; }
.vedette__toutes:hover { color: inherit; }
.vedette .agenda-menu__liste { color: var(--texte); }
.vedette :focus-visible { outline-color: var(--sur-primaire); }
@media (max-width: 480px) {
  .vedette__date { width: 68px; }
  .vedette__jour { font-size: 2rem; }
  .vedette__toutes { margin-left: 0; }
}

/* ---------- Haut de l'accueil restructuré ----------
   Ordinateur : [intro | photo] / [infos | photo] / [prochaine sortie sur toute la largeur]
   Mobile     : intro / prochaine sortie / infos (la photo laisse place à la chouette) */
.hero__grille {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  grid-template-areas: "intro visuel" "infos visuel" "vedette vedette";
  column-gap: clamp(2rem, 5vw, 4rem); row-gap: 0; align-items: start;
}
.hero__intro { grid-area: intro; align-self: end; }
.hero__infos { grid-area: infos; }
.hero__visuel { grid-area: visuel; align-self: center; }
.hero .prochaine-carte { grid-area: vedette; max-width: none; margin: clamp(2rem, 4vw, 3rem) 0 0; }
.hero__accroche { margin-bottom: 1.25rem; }

/* Pour qui / Quand / Combien : une rangée compacte */
.pour-qui {
  grid-template-columns: repeat(3, auto); justify-content: start; gap: .5rem 1.5rem;
  background: none; border: 0; padding: 0; max-width: none; margin: 0 0 1.25rem;
}
.pour-qui li { display: grid; gap: .1rem; font-size: .95rem; color: var(--texte-2); }
.pour-qui strong { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--cta); }
.hero__infos .groupe-boutons { margin-top: 0; }

/* Bandeau « prochaine sortie » horizontal sur grand écran */
@media (min-width: 801px) {
  .vedette {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "haut haut haut" "date texte actions";
    column-gap: 1.5rem; align-items: center; padding: 1.1rem 1.5rem 1.4rem;
  }
  .vedette__haut { grid-area: haut; }
  .vedette__corps { display: contents; }
  .vedette__date { grid-area: date; }
  .vedette__texte { grid-area: texte; }
  .vedette__actions { grid-area: actions; margin: 0; flex-direction: column; align-items: stretch; }
  .vedette__actions .agenda-menu summary, .vedette__actions .bouton { width: 100%; justify-content: center; }
  .vedette__toutes { margin: 0; text-align: center; }
}

@media (max-width: 800px) {
  .hero__grille { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "vedette" "infos"; }
  .hero .prochaine-carte { margin: .25rem 0 1.5rem; }
  .pour-qui { grid-template-columns: 1fr; gap: .6rem; }
  .pour-qui li { display: block; }
  .pour-qui strong { margin-right: .3rem; }
}
.pour-qui li { align-content: start; }

/* Encadré « Le bureau aujourd'hui » (page Le club) */
.bureau { margin-top: 1.5rem; }
.bureau h3 { font-size: 1.2rem; }
.bureau__liste { list-style: none; padding: 0; margin: 0 0 .75rem; }
.bureau__liste strong { display: inline-block; min-width: 6.5rem; color: var(--cta); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.bureau .note { margin: 0; font-size: .92rem; }

/* Emplacement de photo à fournir */
.photo-a-venir {
  aspect-ratio: 4 / 3; max-width: 100%; display: grid; place-content: center; justify-items: center; gap: .4rem;
  padding: 1.5rem; text-align: center; border: 2px dashed var(--bordure); border-radius: var(--r-lg);
  background: var(--fond-2); color: var(--texte-2);
}
.photo-a-venir svg { width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; opacity: .7; }
.photo-a-venir strong { font-family: var(--police-titre); font-size: 1.3rem; color: var(--plumage); }
.photo-a-venir span { font-size: .9rem; }

/* « Le programme se prépare… » */
.programme-attente {
  display: flex; gap: 1.25rem; align-items: center; padding: 1.25rem 1.5rem;
  background: var(--sauge); border-radius: var(--r-lg); max-width: 820px;
}
.programme-attente img { width: 96px; flex: none; }
.programme-attente p { margin: 0; }
.programme-attente__titre { font-family: var(--police-titre); font-size: 1.35rem; color: var(--plumage); margin-bottom: .3rem !important; }
@media (max-width: 520px) { .programme-attente { flex-direction: column; text-align: center; } }
.vedette__chouette { grid-area: date; width: 96px; flex: none; }
@media (max-width: 480px) { .vedette__chouette { width: 72px; } }
/* Message « programme en préparation » dans une étape de la page Adhérer : version compacte */
.etapes .programme-attente { flex-direction: column; align-items: flex-start; gap: .5rem; padding: 1rem; margin-top: .75rem; }
.etapes .programme-attente img { width: 64px; }
.etapes .programme-attente__titre { font-size: 1.1rem; }
.etapes .programme-attente p { font-size: .95rem; }
/* Ligne du haut : le message reste visible sur mobile */
@media (max-width: 420px) { .prochaine__quand { font-weight: 700; font-size: .85rem; } }

/* Filigrane sur une photo provisoire (à remplacer par une vraie photo du club) */
.photo-exemple { position: relative; }
.photo-exemple::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(-30deg, rgb(255 255 255 / .16) 0 2px, transparent 2px 24px);
}
.photo-exemple::after {
  content: attr(data-filigrane); position: absolute; left: 50%; top: 50%; z-index: 2; pointer-events: none;
  transform: translate(-50%, -50%) rotate(-10deg); width: max-content; max-width: 80%; text-align: center; line-height: 1.3;
  padding: .45em 1em; border: 2px solid rgb(255 255 255 / .85); border-radius: 8px; background: rgb(0 0 0 / .45);
  font: 800 clamp(.85rem, 2vw, 1.15rem) var(--police-texte); text-transform: uppercase; letter-spacing: .1em;
  color: #FFFFFF;
}
