/* APIA : feuille de style du site public.
   Reproduction fidèle de l'ancien site (thème Kadence, réglages d'origine relevés le 28/10/2026) :
   Krona One pour les titres, IBM Plex Sans pour le texte, Blinker pour la navigation ;
   sable #f3dea6, brun #73321b, brun foncé #3f190a. Aucun script. */

@font-face { font-family: "Krona One"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/krona-one-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Krona One"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/krona-one-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 100 700; font-display: swap; src: url(../fonts/ibm-plex-sans-latin-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 100 700; font-display: swap; src: url(../fonts/ibm-plex-sans-latin-ext-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Blinker"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/blinker-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Blinker"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/blinker-latin-700-normal.woff2) format("woff2"); }

:root {
  --sable: #f3dea6;
  --brun: #73321b;
  --brun-fonce: #3f190a;
  --gris: #52606d;
  --gris-clair: #6b7682; /* kicker gris de l'ancien site (#7b8794) assombri pour 4,5:1 sur blanc */
  --blanc: #ffffff;
  --ligne: #ead9c6;
  --titre: "Krona One", "Arial Black", sans-serif;
  --texte: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --nav: "Blinker", "Segoe UI", Arial, sans-serif;
  --max: 1290px;
  --gutter: 24px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 9rem; }
body {
  margin: 0;
  background: var(--sable);
  color: var(--brun-fonce);
  font-family: var(--texte);
  font-size: clamp(1.0625rem, 0.95rem + 0.35vw, 1.25rem);
  line-height: 1.6;
}
img, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { font-family: var(--titre); font-weight: 400; color: var(--brun); margin: 0 0 0.5em; line-height: 1.4; text-wrap: balance; }
h1 { font-size: clamp(1.75rem, 1rem + 3.2vw, 3.75rem); line-height: 1.2; text-transform: uppercase; }
h2 { font-size: clamp(1.4rem, 1rem + 1.4vw, 2.0625rem); text-transform: uppercase; }
h3 { font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.35rem); text-transform: uppercase; }
p { margin: 0 0 1em; }
a { color: var(--brun); text-underline-offset: 0.18em; }
a:hover { color: var(--brun-fonce); }
::selection { background: var(--brun); color: var(--sable); }
:focus-visible { outline: 3px solid var(--brun); outline-offset: 3px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--sable); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--sable); color: var(--brun); padding: 0.7rem 1rem; font-weight: 700; }
.skip:focus { top: 1rem; }
.icon { width: 1.1em; height: 1.1em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Petit titre gris en capitales (repris tel quel de l'ancien site) */
.kicker { font-family: var(--titre); font-size: 0.875rem; text-transform: uppercase; color: var(--gris-clair); margin: 0 0 0.6rem; letter-spacing: 0.01em; }

/* ---------- Boutons : carrés, sable sur brun (réglages Kadence d'origine) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--titre); font-size: 0.875rem; text-transform: uppercase; line-height: 1.4;
  padding: 15px 32px; border: 0; border-radius: 0; text-decoration: none; cursor: pointer;
  background: var(--sable); color: var(--brun);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { background: var(--brun); color: var(--blanc); }
.btn-brun { background: var(--brun); color: var(--blanc); }
.btn-brun:hover { background: var(--brun-fonce); color: var(--sable); }
.on-dark .btn:hover { background: var(--blanc); color: var(--brun); }
.lire-suite { font-family: var(--titre); font-size: 0.75rem; text-transform: uppercase; color: var(--brun-fonce); text-decoration: none; display: inline-flex; gap: 0.4rem; align-items: center; }
.lire-suite:hover { text-decoration: underline; }

/* ---------- En-tête brun ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--brun); border-bottom: 1px solid rgba(243, 222, 166, 0.15); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 148px; padding-inline: clamp(1rem, 4vw, 80px); max-width: none; }
.brand img { width: 148px; height: 148px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.nav-list > li { position: relative; }
.nav-list a, .nav-list .nav-parent {
  display: flex; align-items: center; gap: 0.3rem;
  font-family: var(--nav); font-weight: 600; font-size: 1.0625rem; line-height: 1.6;
  color: var(--blanc); text-decoration: none; padding: 10px 15px; white-space: nowrap; background: none; border: 0; cursor: pointer;
}
.nav-list a:hover, .nav-list a[aria-current="page"], .nav-list .is-current > .nav-parent { color: var(--sable); }
.nav-list .chevron { width: 0.8em; height: 0.8em; }
.sub-menu { list-style: none; margin: 0; padding: 0.5rem 0; position: absolute; left: 0; top: 100%; min-width: 15rem; background: var(--brun); box-shadow: 0 10px 30px rgba(63, 25, 10, 0.3); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.18s, transform 0.18s, visibility 0.18s; }
.nav-list > li:hover > .sub-menu, .nav-list > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { padding: 0.55rem 1.25rem; font-size: 1rem; }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem; color: var(--blanc); font-family: var(--nav); font-weight: 700; font-size: 1.1rem; padding: 0.6rem 0.9rem; border: 2px solid var(--sable); }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--brun); padding: 0.5rem 1.25rem 1.25rem; border-top: 1px solid rgba(243, 222, 166, 0.2); max-height: calc(100svh - 100px); overflow: auto; }
.menu-panel .nav-list { flex-direction: column; align-items: stretch; }
.menu-panel .nav-list a, .menu-panel .nav-parent { padding: 0.8rem 0; border-bottom: 1px solid rgba(243, 222, 166, 0.15); font-size: 1.15rem; }
.menu-panel .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 1rem; background: none; }
.menu-panel .btn { margin-top: 1rem; width: 100%; }
@media (max-width: 68rem) {
  .nav-desktop { display: none; }
  .menu { display: block; }
  .brand img { width: 84px; height: 84px; margin: 0; }
  .header-bar { min-height: 90px; }
}

/* ---------- Bannière vidéo de l'accueil ---------- */
.hero { position: relative; min-height: min(664px, calc(100svh - 148px)); display: flex; align-items: center; overflow: hidden; background: var(--brun-fonce); color: var(--blanc); }
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: rgba(63, 25, 10, 0.42); }
.hero-media video { display: none; }
@media (min-width: 48rem) and (prefers-reduced-motion: no-preference) { .hero-media video { display: block; } .hero-media img { display: none; } }
.hero-inner { position: relative; z-index: 1; width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; padding-block: clamp(4rem, 2rem + 6vw, 129px) clamp(4rem, 2rem + 6vw, 119px); border-left: 1px solid rgba(243, 222, 166, 0.9); padding-left: clamp(1.25rem, 4vw, 51px); }
.hero h1 { color: var(--blanc); margin: 0; max-width: 19em; }
.hero h1 em { font-style: normal; color: var(--sable); }
.hero-son { display: none; position: absolute; z-index: 2; right: clamp(1rem, 2vw, 2rem); bottom: clamp(1rem, 2vw, 2rem); width: 44px; height: 44px; place-items: center; padding: 0; border: 1px solid rgba(243, 222, 166, 0.7); border-radius: 50%; background: rgba(63, 25, 10, 0.55); color: var(--sable); cursor: pointer; transition: background-color 0.2s var(--ease); }
.hero-son:hover, .hero-son:focus-visible { background: var(--brun); }
.hero-son:focus-visible { outline: 2px solid var(--sable); outline-offset: 3px; }
.hero-son .icon { width: 22px; height: 22px; }
.hero-son .icon-son, .hero-son[aria-pressed="true"] .icon-muet { display: none; }
.hero-son[aria-pressed="true"] .icon-son { display: block; }
@media (min-width: 48rem) and (prefers-reduced-motion: no-preference) { .hero-son:not([hidden]) { display: grid; } }
.hero-caption { position: absolute; right: 1rem; bottom: 0.8rem; z-index: 1; font-size: 0.8rem; color: rgba(255, 255, 255, 0.85); margin: 0; }

/* ---------- Bande de logos partenaires (carrousel d'origine, ici en défilement CSS) ---------- */
.logos-band { background: var(--blanc); padding-block: 10px; overflow: hidden; }
.logos-track { display: flex; width: max-content; animation: ap-defile 70s linear infinite; }
.logos-band:hover .logos-track { animation-play-state: paused; }
.logos-strip { list-style: none; display: flex; align-items: center; gap: clamp(2rem, 4vw, 4rem); margin: 0; padding: 0 clamp(1rem, 2vw, 2rem); }
.logos-strip li { flex: none; height: 150px; display: grid; place-items: center; }
.logos-strip img { max-height: 120px; width: auto; max-width: 180px; object-fit: contain; }
@media (prefers-reduced-motion: reduce) { .logos-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .logos-strip[aria-hidden="true"] { display: none; } .logos-strip { flex-wrap: wrap; justify-content: center; } }
@keyframes ap-defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Biseau brun sous les logos, en deux couches comme sur l'ancien site */
.separateur { display: block; width: 100%; height: clamp(30px, 4vw, 58px); background: var(--blanc); }

/* Trame de fines lignes verticales (image d'origine « lines-transparent ») */
.trame { background-image: url(../img/lignes-transparent.webp); background-position: center top; background-size: max(100%, 1200px) auto; background-repeat: repeat-y; }

/* ---------- Sections ---------- */
.section { background: var(--blanc); padding-block: clamp(3rem, 2rem + 3vw, 80px) clamp(2.5rem, 2rem + 1vw, 40px); }
.section-sable { background: var(--sable); }
.section-brune { background: var(--brun); color: var(--blanc); }
.section-brune h2, .section-brune h3 { color: var(--blanc); }
.intro { text-align: center; }
.intro h2 { padding-block: 25px; margin: 0; }
.intro p { color: var(--brun); max-width: 70rem; margin-inline: auto; font-size: clamp(1.0625rem, 0.9rem + 0.45vw, 1.25rem); line-height: 1.6; }
.intro p strong { color: var(--brun); font-weight: 600; }
.intro .kicker { color: var(--gris-clair); font-size: 0.875rem; }

/* Galerie défilante (curseur d'images d'origine) : défilement horizontal avec aimantation */
.galerie { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--brun) var(--sable); }
.galerie figure { flex: 0 0 100%; margin: 0; scroll-snap-align: start; position: relative; }
.galerie img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.galerie figcaption { position: absolute; left: 0; bottom: 0; background: rgba(63, 25, 10, 0.75); color: var(--sable); font-size: 0.8rem; padding: 0.3rem 0.7rem; }
.galerie-aide { font-size: 0.8rem; color: var(--gris); margin: 0.5rem 0 0; }

/* Les 4 axes avec pictogrammes bruns */
.axes-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; padding-block: 25px 80px; }
.axes { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; }
.axes li { display: grid; grid-template-columns: 44px 1fr; gap: 1.1rem; align-items: start; }
.axes .picto { width: 44px; height: 44px; background: var(--brun); color: var(--sable); display: grid; place-items: center; }
.axes .picto .icon { width: 1.4rem; height: 1.4rem; }
.axes h3 { font-size: 0.875rem; color: var(--gris-clair); margin: 0.1rem 0 0.4rem; }
.axes p { font-family: var(--titre); font-size: 0.9rem; line-height: 1.4; color: var(--brun); margin: 0; }
@media (max-width: 52rem) { .axes-grid { grid-template-columns: 1fr; } }

/* Bande brune titrée */
.bande-brune { background: var(--brun); color: var(--blanc); text-align: center; padding-block: 80px 40px; }
.bande-brune h2 { color: var(--blanc); margin: 0; padding-block: 25px; }
.bande-brune p { color: var(--sable); max-width: 46rem; margin: 0 auto 1rem; }

/* Événement à la une */
.une { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.une .chiffres { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; }
.une .chiffres strong { display: block; font-family: var(--titre); font-size: 1.5rem; color: var(--brun); line-height: 1.2; }
.une .chiffres span { font-size: 0.95rem; color: var(--gris); }
@media (max-width: 52rem) { .une { grid-template-columns: 1fr; } }

/* Actualités : cartes blanches sur fond sable */
.cartes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 52rem) { .cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.carte { background: var(--blanc); display: flex; flex-direction: column; height: 100%; box-shadow: 0 15px 25px -10px rgba(63, 25, 10, 0.14); }
.carte img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.carte-corps { padding: 1.5rem 1.6rem 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.badge { align-self: flex-start; background: var(--brun); color: var(--blanc); font-family: var(--titre); font-size: 0.6rem; text-transform: uppercase; padding: 0.15rem 0.45rem; text-decoration: none; }
.carte h3 { font-size: clamp(1rem, 0.9rem + 0.3vw, 1.2rem); line-height: 1.45; margin: 0; }
.news-strip .carte h3 { font-size: 1rem; }
.carte h3 a { color: var(--brun-fonce); text-decoration: none; }
.carte h3 a:hover { color: var(--brun); text-decoration: underline; }
.carte p { font-size: 1.0625rem; color: var(--gris); margin: 0; flex: 1; }
.news-strip .carte p { font-size: 0.95rem; }
.carte .date { font-size: 0.85rem; color: var(--gris); }

/* Bande défilante des dernières actualités (accueil) */
.news-marquee { overflow: hidden; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); mask-image: linear-gradient(90deg, transparent, #000 2.5rem, #000 calc(100% - 2.5rem), transparent); }
.news-track { display: flex; width: max-content; animation: ap-defile-3 55s linear infinite; }
.news-strip { list-style: none; margin: 0; padding: 0; display: flex; }
.news-strip > li { width: clamp(17rem, 15rem + 10vw, 23rem); margin-right: 2rem; }
.news-marquee:hover .news-track, .news-marquee:focus-within .news-track { animation-play-state: paused; }
@keyframes ap-defile-3 { from { transform: translateX(0); } to { transform: translateX(-33.3333%); } }
@media (prefers-reduced-motion: reduce) { .news-marquee { overflow-x: auto; mask-image: none; scroll-snap-type: x mandatory; } .news-track { animation: none; } .news-strip[aria-hidden="true"] { display: none; } .news-strip > li { scroll-snap-align: start; } }

/* Bande sable « Rejoignez-nous » */
.rejoindre { background: var(--sable); padding-block: clamp(3.5rem, 2rem + 4vw, 90px); }
.rejoindre-inner { max-width: 36rem; }
.rejoindre p { color: var(--brun-fonce); font-size: clamp(1.0625rem, 0.9rem + 0.45vw, 1.25rem); line-height: 1.6; }

/* ---------- En-tête des pages intérieures : photo, voile brun, titre centré ---------- */
.page-banner { position: relative; display: grid; place-items: center; min-height: clamp(9rem, 6rem + 10vw, 17rem); padding: 3rem var(--gutter); text-align: center; background: var(--brun); overflow: hidden; }
.page-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.page-banner::after { content: ""; position: absolute; inset: 0; background: rgba(115, 50, 27, 0.72); }
.page-banner h1 { position: relative; z-index: 1; color: var(--blanc); margin: 0; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.25rem); }
.page-banner .fil { position: relative; z-index: 1; font-size: 0.8rem; color: var(--sable); margin: 0 0 0.6rem; }
.page-banner .fil a { color: var(--sable); }
.page-banner p.lead { position: relative; z-index: 1; color: var(--sable); max-width: 46rem; margin: 0.8rem auto 0; font-size: 1.05rem; }

.contenu { background: var(--blanc); padding-block: clamp(3rem, 2rem + 3vw, 80px); }
.prose { max-width: 50rem; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem); margin: 2.5rem 0 0.8rem; }
.prose h3 { font-size: 1rem; margin: 2rem 0 0.6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.35rem; }
.prose li::marker { color: var(--brun); }
.prose figure { margin: 2rem 0; }
.prose img { height: auto; }
.prose figcaption, .prose .wp-element-caption { font-size: 0.85rem; color: var(--gris); margin-top: 0.5rem; }
.prose blockquote { margin: 2rem 0; padding: 1rem 1.5rem; background: var(--sable); border: 0; font-size: 1.1rem; }
.prose a { color: var(--brun); }

/* Deux colonnes (texte + photo), comme la page À propos d'origine */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.duo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
/* Coup de pinceau jaune derrière la photo (À propos) */
.photo-pinceau { position: relative; isolation: isolate; }
.photo-pinceau img { position: relative; }
.photo-pinceau::before { content: ""; position: absolute; z-index: -1; right: -6%; bottom: -16%; width: 52%; aspect-ratio: 305 / 312; background: url(../img/pinceau-jaune.webp) center / contain no-repeat; }

/* Bande photo brunie « Rejoignez l'asso » */
.bande-photo { position: relative; overflow: hidden; background: var(--brun); text-align: center; padding-block: clamp(5rem, 3rem + 8vw, 10rem); }
.bande-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.bande-photo::after { content: ""; position: absolute; inset: 0; background: rgba(115, 50, 27, 0.72); }
.bande-photo .wrap { position: relative; z-index: 1; }
.bande-photo h2 { color: var(--blanc); margin: 0 0 2rem; }
@media (max-width: 52rem) { .duo { grid-template-columns: 1fr; } }
.valeurs { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 2rem; }
.valeurs h3 { font-size: 0.9rem; color: var(--sable); text-decoration: underline; text-underline-offset: 0.25em; }
.valeurs ul { list-style: none; padding: 0; margin: 0; font-family: var(--titre); font-size: 0.9rem; text-transform: uppercase; line-height: 1.5; }
.valeurs li::before { content: "– "; }

/* ---------- Événements ---------- */
.evenements { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); }
.evenement { background: var(--blanc); display: flex; flex-direction: column; }
.evenement img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.evenement .carte-corps h2 { font-size: 1.05rem; margin: 0; }
.editions { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 2px solid var(--brun); }
.edition { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 0.5rem 2rem; padding: 1.75rem 0; border-bottom: 1px solid var(--ligne); }
.edition .annee { font-family: var(--titre); font-size: 1.6rem; color: var(--brun); line-height: 1.1; }
.edition h3 { font-size: 1rem; margin: 0 0 0.4rem; }
.edition .meta { font-size: 0.95rem; color: var(--gris); margin: 0 0 0.6rem; }
.edition .chiffres-ligne { font-family: var(--titre); font-size: 0.85rem; color: var(--brun); }
.edition .prose { max-width: none; font-size: 1rem; }
@media (max-width: 40rem) { .edition { grid-template-columns: 1fr; } }

/* ---------- Formulaires (boîte brune, champs brun foncé, bouton sable) ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (max-width: 56rem) { .contact-grid { grid-template-columns: 1fr; } }
.canal { display: grid; grid-template-columns: 34px 1fr; gap: 0.2rem 1rem; margin-top: 1.6rem; align-items: start; }
.canal .picto { grid-row: span 2; width: 34px; height: 34px; background: var(--brun); color: var(--sable); display: grid; place-items: center; }
.canal .label { font-family: var(--titre); font-size: 0.7rem; text-transform: uppercase; color: var(--gris-clair); }
.canal a, .canal span.value { font-family: var(--titre); font-size: 0.85rem; color: var(--brun-fonce); text-decoration: none; text-transform: uppercase; }
.boite-form { background: var(--brun); color: var(--blanc); padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); }
.ap-form fieldset { border: 0; margin: 0 0 1.25rem; padding: 0; min-width: 0; }
.ap-form legend, .ap-form label { font-family: var(--titre); font-size: 0.7rem; text-transform: uppercase; color: var(--blanc); display: block; margin-bottom: 0.4rem; padding: 0; }
.ap-form .field { margin-bottom: 1rem; }
.ap-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; align-items: end; }
@media (max-width: 34rem) { .ap-form .field-row { grid-template-columns: 1fr; } }
.ap-form input:not([type="checkbox"]):not([type="radio"]), .ap-form textarea, .ap-form select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--blanc); background: rgba(63, 25, 10, 0.55);
  border: 1px solid rgba(243, 222, 166, 0.35); border-radius: 0; padding: 0.7rem 0.85rem; min-height: 2.9rem; caret-color: var(--sable);
}
.ap-form select option { color: var(--brun-fonce); background: var(--blanc); }
.ap-form textarea { min-height: 8rem; resize: vertical; }
.ap-form input::placeholder, .ap-form textarea::placeholder { color: rgba(243, 222, 166, 0.75); }
.ap-form input:focus, .ap-form textarea:focus, .ap-form select:focus { outline: 2px solid var(--sable); outline-offset: 0; }
.ap-form .hint { font-family: var(--texte); text-transform: none; font-size: 0.85rem; color: var(--sable); display: block; margin-top: 0.2rem; }
.ap-form .req { color: var(--sable); }
.ap-form .error { display: block; color: #ffd7c2; font-family: var(--texte); font-weight: 600; font-size: 0.9rem; margin-top: 0.35rem; }
.ap-form .has-error input, .ap-form .has-error textarea, .ap-form .has-error select { border-color: #ffb08a; }
.ap-form .consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.9rem; color: var(--sable); margin: 0.5rem 0 1.25rem; }
.ap-form .consent input { width: 1.25rem; height: 1.25rem; margin-top: 0.2rem; accent-color: var(--sable); flex-shrink: 0; }
.ap-form .consent label { font-family: var(--texte); text-transform: none; font-size: 0.9rem; color: var(--sable); }
.ap-form .consent a { color: var(--blanc); }
.ap-form .btn { width: 100%; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 1rem 1.25rem; margin-bottom: 1.25rem; border: 2px solid var(--sable); color: var(--blanc); }
.notice h2 { color: var(--sable); font-size: 0.95rem; margin-bottom: 0.3rem; }
.notice p { margin: 0; font-size: 0.95rem; }

/* ---------- Pied de page brun ---------- */
.site-footer { background: var(--brun); color: var(--blanc); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)) minmax(0, 1fr); gap: 2.5rem; padding-block: clamp(4rem, 3rem + 3vw, 100px) clamp(3rem, 2rem + 2vw, 70px); }
.footer-brand { display: grid; grid-template-columns: 110px 1fr; gap: 1.25rem; align-items: center; }
.footer-brand img { width: 110px; height: 110px; }
.footer-brand p, .footer-slogan { font-family: var(--titre); font-size: 1rem; text-transform: uppercase; line-height: 1.35; margin: 0; color: var(--blanc); }
.footer-slogan { font-size: 0.8rem; }
.site-footer h2 { font-size: 1.1rem; color: var(--blanc); margin-bottom: 0.6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-block; padding: 2px 0; color: var(--blanc); text-decoration: none; font-size: 1.0625rem; line-height: 1.8; }
.site-footer li a:hover { color: var(--sable); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(243, 222, 166, 0.2); padding-block: 1.75rem; text-align: center; font-size: 0.95rem; }
.footer-bottom a { color: var(--sable); }
@media (max-width: 60rem) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 34rem) { .footer-grid { grid-template-columns: 1fr; } }

/* 404 */
.not-found { text-align: center; }
.not-found h1 { font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.footer-contact { margin-top: 1rem !important; }

/* Compléments : chiffres, documents, mosaïque, liens « voir tout » */
.chiffres { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; }
.chiffres strong { display: block; font-family: var(--titre); font-size: 1.4rem; color: var(--brun); line-height: 1.2; }
.chiffres span { font-size: 0.95rem; color: var(--gris); }
.voir-tout { margin: 2.5rem 0 0; text-align: center; }
.titre-editions { margin-top: 3rem; }
.edition-photo { margin: 0 0 1rem; }
.edition-photo img { width: 100%; max-width: 46rem; aspect-ratio: 16 / 9; object-fit: cover; }
.article-lead { font-size: 1.2rem; font-weight: 500; color: var(--brun); }
.hint-adhesion { margin-top: 2rem; font-size: 1rem; }
.documents { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; max-width: 52rem; }
.documents li { display: grid; grid-template-columns: 44px 1fr auto; gap: 1rem; align-items: center; padding: 1rem; background: var(--sable); }
.documents .picto { width: 44px; height: 44px; background: var(--brun); color: var(--sable); display: grid; place-items: center; }
.documents strong { display: block; font-size: 1rem; }
.documents small { color: var(--gris); font-size: 0.85rem; }
@media (max-width: 34rem) { .documents li { grid-template-columns: 44px 1fr; } .documents .btn { grid-column: 1 / -1; } }
.mosaique { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 0.5rem; }
.mosaique img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pager { margin-top: 2.5rem; }
.pager .nav-links { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.pager .page-numbers { min-width: 2.75rem; min-height: 2.75rem; display: inline-grid; place-items: center; padding: 0 0.9rem; background: var(--blanc); color: var(--brun); font-family: var(--titre); font-size: 0.8rem; text-decoration: none; }
.pager .page-numbers.current { background: var(--brun); color: var(--blanc); }
.bande-brune .valeurs { text-align: left; }
.footer-grid { align-items: start; }
@media (max-width: 52rem) { .photo-pinceau::before { right: -2%; bottom: -10%; width: 40%; } }
