/* =========================================================================
   Grand Villefranchois — média d'information locale
   Design « carnet de voyage » : en-tête bleu ciel pleine largeur avec
   paysage illustré à plat, titre manuscrit condensé (Amatic SC), menus et
   titres géométriques en capitales (Josefin Sans), texte courant Inter,
   bandeaux bleus de section, cartes à photo carrée sur fond gris clair.
   ========================================================================= */

/* ---------- Polices auto-hébergées ---------- */
@font-face { font-family: "Amatic SC"; src: url("/assets/fonts/amatic-sc-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Josefin Sans"; src: url("/assets/fonts/josefin-sans.woff2") format("woff2"); font-weight: 100 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

/* ---------- Variables ---------- */
:root {
  --ciel: #3fa9d2;          /* bleu ciel : en-tête, bandeaux, pied */
  --ciel-fonce: #2b8fb8;
  --ciel-clair: #e4f3f9;
  --marine: #2f4a86;        /* collines lointaines : liens, accents sombres */
  --marine-nuit: #1f3466;
  --turquoise: #2aa5a8;
  --orange: #f08a24;        /* manteau de la promeneuse : accent chaud */
  --blanc: #ffffff;
  --gris-carte: #f3f4f6;
  --gris-fond: #f8f9fa;
  --encre: #141618;
  --encre-douce: #5a6068;
  --trait: #e3e6ea;
  --trait-fonce: #cdd2d8;
  --ombre: 0 1px 2px rgba(20, 30, 50, 0.06), 0 10px 28px rgba(20, 30, 50, 0.08);

  --manuscrite: "Amatic SC", "Comic Sans MS", cursive;
  --geo: "Josefin Sans", "Futura", "Century Gothic", "Trebuchet MS", sans-serif;
  --texte: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --largeur: 80rem;
  --largeur-large: 68rem;
  --largeur-texte: 44rem;
  --rayon: 4px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--texte); font-size: 1.0625rem; line-height: 1.6; color: var(--encre); background: var(--blanc); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4 { font-family: var(--geo); font-weight: 600; line-height: 1.2; color: var(--encre); margin: 0 0 0.5em; text-wrap: balance; }
p { margin: 0 0 1.1em; }
a { color: var(--marine); text-decoration: none; transition: color 0.15s, opacity 0.15s; }
a:hover { color: var(--ciel-fonce); }
img { max-width: 100%; height: auto; display: block; }
strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--trait); margin: 2.5rem 0; }
.lien-evitement { position: absolute; left: -9999px; top: 0; background: var(--marine); color: #fff; padding: 0.7rem 1.1rem; z-index: 200; }
.lien-evitement:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ---------- Utilitaires ---------- */
.enveloppe { max-width: var(--largeur); margin-inline: auto; padding-inline: 1.5rem; }
.enveloppe--large { max-width: var(--largeur-large); }
.enveloppe--texte { max-width: var(--largeur-texte); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.surtitre, .etiquette { font-family: var(--geo); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ciel-fonce); }
.etiquette { display: inline-block; }
.etiquette--neutre { color: var(--encre-douce); }
.majuscule { display: inline-block; }
.majuscule::first-letter { text-transform: uppercase; }
.bouton { display: inline-block; font-family: var(--geo); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.8rem 1.4rem 0.65rem; border: 2px solid var(--ciel); color: var(--ciel-fonce); background: transparent; border-radius: var(--rayon); transition: background 0.15s, color 0.15s; }
.bouton:hover { background: var(--ciel); color: #fff; }
.bouton--plein { background: var(--ciel); color: #fff; }
.bouton--plein:hover { background: var(--ciel-fonce); border-color: var(--ciel-fonce); color: #fff; }
.bouton--blanc { border-color: #fff; color: #fff; }
.bouton--blanc:hover { background: #fff; color: var(--ciel-fonce); }
.bouton--orange { background: var(--orange); border-color: var(--orange); color: #fff; }
.bouton--orange:hover { background: #d9771a; border-color: #d9771a; color: #fff; }

/* ---------- En-tête « hero » ---------- */
.hero { background: var(--ciel); color: #fff; position: relative; }
.hero__ciel { position: relative; max-width: var(--largeur); margin-inline: auto; padding: 1.2rem 1.5rem 0.5rem; text-align: center; }
.hero__social { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.1rem; justify-content: flex-end; }
.hero__social a { display: block; width: 1.5rem; height: 1.5rem; color: #fff; }
.hero__social a:hover { color: var(--marine-nuit); }
.hero__social svg { width: 100%; height: 100%; }
.hero__marque { display: block; color: #fff; margin: 0.4rem auto 1.2rem; }
.hero__marque:hover { color: #fff; }
.hero__titre { display: block; font-family: var(--manuscrite); font-weight: 700; font-size: clamp(3rem, 7.5vw, 5.6rem); line-height: 1; letter-spacing: 0.06em; text-transform: uppercase; }
.hero__baseline { display: block; font-family: var(--manuscrite); font-weight: 700; font-size: clamp(1.5rem, 3.4vw, 2.5rem); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.5rem; opacity: 0.95; }
.navigation { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.navigation__liste { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.2rem 0.4rem; }
.navigation__liste a { display: block; padding: 0.7rem 0.9rem 0.55rem; font-family: var(--geo); font-weight: 600; font-size: 1.02rem; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; border-bottom: 2px solid transparent; }
.navigation__liste a:hover { color: #fff; border-bottom-color: rgba(255,255,255,0.7); }
.navigation__liste a[aria-current="page"] { border-bottom-color: #fff; }
.navigation__cta a { color: var(--marine-nuit); background: #fff; border-radius: var(--rayon); padding-inline: 1rem; }
.navigation__cta a:hover { color: var(--ciel-fonce); background: #fff; border-bottom-color: transparent; }
.hero__recherche { display: block; width: 1.6rem; height: 1.6rem; color: #fff; margin: 0.4rem auto 0; }
.hero__recherche:hover { color: var(--marine-nuit); }
.hero__recherche svg { width: 100%; height: 100%; }
.hero__paysage { height: 9rem; overflow: hidden; margin-top: 0.5rem; }
.hero__paysage img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.hero--accueil .hero__paysage { height: clamp(14rem, 28vw, 24rem); }
.nav-bouton { display: none; }

/* ---------- Bandeaux de section ---------- */
.bande { background: var(--ciel); color: #fff; }
.bande__int { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-block: 1rem 0.8rem; }
.bande__titre { margin: 0; font-family: var(--geo); font-weight: 600; font-size: clamp(1.3rem, 2.6vw, 2rem); letter-spacing: 0.22em; text-transform: uppercase; color: #fff; }
.bande__lien { color: #fff; font-family: var(--geo); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.bande__lien:hover { color: var(--marine-nuit); }
.bande--marine { background: var(--marine); }

/* ---------- Blocs ---------- */
.bloc { padding-block: 2.5rem 3rem; }
.bloc--gris { background: var(--gris-fond); }
.bloc--bleu { background: var(--ciel); color: #fff; }
.bloc--bleu h2, .bloc--bleu h3 { color: #fff; }
.bloc__tete { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.bloc__titre { font-size: 1.3rem; letter-spacing: 0.18em; text-transform: uppercase; margin: 0; }
.bloc__plus { font-family: var(--geo); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.grille { display: grid; gap: 2rem 1.6rem; }
.grille--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grille--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grille--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Cartes ---------- */
.carte { display: flex; flex-direction: column; min-width: 0; background: var(--gris-carte); box-shadow: 0 1px 3px rgba(20,30,50,0.08); transition: transform 0.2s, box-shadow 0.2s; }
.carte:hover { transform: translateY(-3px); box-shadow: var(--ombre); }
.carte__media { display: block; overflow: hidden; background: var(--ciel-clair); aspect-ratio: 1 / 1; }
.carte__media img, .carte__media picture { width: 100%; height: 100%; object-fit: cover; }
.carte__media picture img { height: 100%; }
.carte__corps { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.5rem; padding: 1.3rem 1.2rem 1.4rem; flex: 1; }
.carte__sur { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.2rem 0.6rem; }
.carte__lieu { font-size: 0.76rem; color: var(--encre-douce); }
.carte__lieu::before { content: "·"; margin-right: 0.5rem; color: var(--trait-fonce); }
.carte__lieu a { color: var(--encre-douce); font-weight: 500; }
.carte__lieu a:hover { color: var(--ciel-fonce); }
.carte__titre { margin: 0; font-family: var(--geo); font-weight: 500; font-size: 1.1rem; line-height: 1.45; letter-spacing: 0.04em; text-transform: uppercase; }
.carte__titre a { color: var(--encre); }
.carte__titre a:hover { color: var(--ciel-fonce); }
.carte__chapo { margin: 0; color: var(--encre-douce); font-size: 0.95rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.carte__meta { margin: auto 0 0; padding-top: 0.3rem; font-size: 0.78rem; color: var(--encre-douce); }

.carte--grande .carte__media { aspect-ratio: 16 / 10; }
.carte--grande .carte__corps { padding: 1.8rem 2rem 2rem; }
.carte--grande .carte__titre { font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: 0.05em; }
.carte--grande .carte__chapo { font-size: 1.05rem; -webkit-line-clamp: 4; }

.carte--petite { flex-direction: row; align-items: stretch; }
.carte--petite .carte__media { width: 8rem; flex: none; }
.carte--petite .carte__corps { align-items: flex-start; text-align: left; padding: 0.9rem 1rem; gap: 0.3rem; }
.carte--petite .carte__sur { justify-content: flex-start; }
.carte--petite .carte__titre { font-size: 0.95rem; }

.carte--ligne { flex-direction: row; align-items: stretch; }
.carte--ligne .carte__media { width: 16rem; flex: none; }
.carte--ligne .carte__corps { align-items: flex-start; text-align: left; padding: 1.4rem 1.6rem; }
.carte--ligne .carte__sur { justify-content: flex-start; }
.carte--ligne .carte__titre { font-size: 1.3rem; }
.pile { display: flex; flex-direction: column; gap: 1rem; }

/* ---------- Une ---------- */
.une { padding-block: 2.5rem; }
.une__grille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 1.6rem; align-items: start; }

/* ---------- Rubriques en vitrine ---------- */
.vitrine { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.vitrine__item { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; min-height: 11rem; padding: 1.2rem; background: var(--ciel-clair); color: var(--encre); position: relative; overflow: hidden; isolation: isolate; }
.vitrine__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 0.5s ease; }
.vitrine__item:hover img { transform: scale(1.05); }
.vitrine__item h3 { margin: 0; font-size: 1.05rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 10px rgba(20,30,50,0.6); }
.vitrine__item span { color: #fff; font-size: 0.82rem; text-shadow: 0 1px 8px rgba(20,30,50,0.6); }

/* ---------- Secteurs / communes ---------- */
.secteurs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.secteur { display: block; padding: 1.3rem 1.3rem 1.2rem; background: var(--gris-carte); color: var(--encre); border-top: 4px solid var(--ciel); transition: box-shadow 0.15s, transform 0.15s; }
.secteur:hover { box-shadow: var(--ombre); transform: translateY(-3px); color: var(--encre); }
.secteur h3 { font-size: 0.98rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.4rem; }
.secteur p { margin: 0; font-size: 0.86rem; color: var(--encre-douce); }
.secteur__nb { display: block; margin-top: 0.7rem; font-family: var(--geo); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ciel-fonce); }
.puces { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.puce { display: inline-block; padding: 0.45rem 0.9rem 0.35rem; border: 1px solid var(--trait-fonce); border-radius: var(--rayon); font-family: var(--geo); font-size: 0.86rem; letter-spacing: 0.04em; color: var(--encre); background: var(--blanc); }
.puce:hover { border-color: var(--ciel); color: var(--ciel-fonce); }
.puce small { color: var(--encre-douce); margin-left: 0.3rem; }
.secteur-section { padding-block: 2rem; border-top: 1px solid var(--trait); scroll-margin-top: 1rem; }
.secteur-section h2 { font-size: 1.15rem; letter-spacing: 0.14em; text-transform: uppercase; }
.secteur-section p.desc { color: var(--encre-douce); margin-bottom: 1rem; }
.fiche { display: grid; gap: 0.6rem 1.5rem; margin: 1rem 0 0; }
.fiche div { display: flex; gap: 0.6rem; align-items: baseline; }
.fiche dt { font-family: var(--geo); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--encre-douce); min-width: 6.5rem; }
.fiche dd { margin: 0; }
.fiche__note { color: var(--encre-douce); font-size: 0.9rem; }
.fiche--commune { grid-template-columns: 1fr; align-content: start; padding: 1.3rem 1.4rem; background: var(--gris-carte); border-top: 4px solid var(--ciel); margin: 0; }
.fiche--commune dd { font-family: var(--geo); font-weight: 600; font-size: 1.1rem; }
.commune-tete { display: grid; grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr); gap: 2rem; align-items: start; }

/* ---------- Agenda ---------- */
.liste-evenements { display: flex; flex-direction: column; }
.evenement { display: flex; gap: 1.4rem; padding-block: 1.2rem; border-bottom: 1px solid var(--trait); }
.evenement__date { flex: none; width: 4.6rem; text-align: center; background: var(--ciel); color: #fff; padding: 0.55rem 0.2rem 0.4rem; font-family: var(--geo); line-height: 1; }
.evenement__jour { display: block; font-size: 1.7rem; font-weight: 700; }
.evenement__jour--texte { font-size: 1.2rem; text-transform: capitalize; padding-top: 0.25rem; }
.evenement__mois { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 0.3rem; opacity: 0.95; }
.evenement__titre { font-size: 1.05rem; letter-spacing: 0.04em; text-transform: uppercase; margin: 0.2rem 0 0.3rem; font-weight: 500; }
.evenement__titre a { color: var(--encre); }
.evenement__titre a:hover { color: var(--ciel-fonce); }
.evenement__meta { margin: 0; font-size: 0.88rem; color: var(--encre-douce); }
.evenement__corps { min-width: 0; }

/* ---------- Appel à contribution ---------- */
.appel { display: grid; grid-template-columns: minmax(0, 2fr) auto; gap: 2rem; align-items: center; }
.appel h2 { font-family: var(--manuscrite); font-weight: 700; font-size: clamp(2.2rem, 4.5vw, 3.4rem); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 0.3rem; line-height: 1; }
.appel p { margin: 0; opacity: 0.95; max-width: 40rem; }

/* ---------- Pages ---------- */
.ariane { font-size: 0.8rem; color: var(--encre-douce); margin: 1.4rem 0 1.2rem; }
.ariane ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem; }
.ariane li + li::before { content: "/"; margin-right: 0.3rem; color: var(--trait-fonce); }
.ariane a { color: var(--encre-douce); }
.ariane a:hover { color: var(--ciel-fonce); }
.page-entete { padding-bottom: 1.5rem; }
.page-entete__titre { font-size: clamp(1.7rem, 3.6vw, 2.5rem); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.page-entete__chapo { font-size: 1.12rem; color: var(--encre-douce); max-width: 42rem; }
.contenu-page { padding-block: 0.5rem 4rem; }
.vide { color: var(--encre-douce); padding: 1.5rem; background: var(--gris-carte); }

/* ---------- Article ---------- */
.article__entete { padding-bottom: 1.5rem; }
.article__titre { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; margin-top: 0.5rem; line-height: 1.2; }
.article__chapo { font-size: 1.2rem; line-height: 1.5; color: var(--encre-douce); }
.article__meta { font-size: 0.85rem; color: var(--encre-douce); border-top: 1px solid var(--trait); padding-top: 0.9rem; margin: 0; }
.article__figure { margin: 0 0 2.5rem; }
.article__figure img, .article__figure picture img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article__figure--defaut img { aspect-ratio: 16 / 6; }
.article__figure figcaption { font-size: 0.8rem; color: var(--encre-douce); margin-top: 0.6rem; }
.credit { opacity: 0.8; }
.article__partage { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin: 3rem 0 4rem; padding: 1.4rem 1.6rem; background: var(--ciel-clair); font-weight: 500; }
.sources { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--trait); font-size: 0.92rem; color: var(--encre-douce); }
.sources h2 { font-size: 0.9rem; letter-spacing: 0.14em; text-transform: uppercase; }
.prose { font-size: 1.09rem; line-height: 1.72; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: 1.35rem; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2.2em; }
.prose h3 { font-size: 1.12rem; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 1.8em; }
.prose p { margin: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose a { text-decoration: underline; text-decoration-color: var(--trait-fonce); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--ciel); }
.prose blockquote { margin: 0; padding: 0.3rem 0 0.3rem 1.3rem; border-left: 4px solid var(--ciel); font-family: var(--geo); font-size: 1.3rem; font-weight: 400; line-height: 1.4; color: var(--encre); }
.prose blockquote cite { display: block; margin-top: 0.6rem; font-family: var(--texte); font-size: 0.85rem; font-style: normal; color: var(--encre-douce); }
.prose figure { margin: 0; }
.prose figcaption { font-size: 0.8rem; color: var(--encre-douce); margin-top: 0.5rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--trait); vertical-align: top; }
.prose th { font-family: var(--geo); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--encre-douce); }
.prose td.nombre, .prose th.nombre { text-align: right; font-variant-numeric: tabular-nums; }
.prose .encadre { padding: 1.3rem 1.5rem; background: var(--gris-carte); border-left: 4px solid var(--ciel); font-size: 0.98rem; }
.prose .encadre > :first-child { margin-top: 0; }

/* ---------- Pagination & filtres ---------- */
.pagination { display: flex; justify-content: center; align-items: center; gap: 0.5rem; margin: 3rem 0 1rem; font-family: var(--geo); font-weight: 600; }
.pagination a, .pagination span { padding: 0.55rem 0.9rem 0.4rem; border: 1px solid var(--trait-fonce); color: var(--encre); }
.pagination a:hover { border-color: var(--ciel); color: var(--ciel-fonce); }
.pagination [aria-current="page"] { background: var(--ciel); border-color: var(--ciel); color: #fff; }
.filtres { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.puce.actif, .puce[aria-current="page"] { border-color: var(--ciel); color: var(--ciel-fonce); }
button.puce { font: inherit; font-family: var(--geo); cursor: pointer; }

/* ---------- Recherche ---------- */
.recherche-champ input { width: 100%; font: inherit; font-size: 1.1rem; padding: 0.9rem 1.2rem; border: 2px solid var(--trait-fonce); background: var(--blanc); color: var(--encre); }
.recherche-champ input:focus { border-color: var(--ciel); outline: none; }
#resultats-recherche { list-style: none; padding: 0; margin: 1.5rem 0; }
#resultats-recherche li { padding: 0.9rem 0; border-bottom: 1px solid var(--trait); }
#resultats-recherche a { color: var(--encre); }
#resultats-recherche a:hover { color: var(--ciel-fonce); }
#resultats-recherche .etiquette { display: block; margin-bottom: 0.2rem; }

/* ---------- Pied de page ---------- */
.pied { background: var(--ciel); color: #fff; margin-top: 4rem; }
.pied a { color: #fff; }
.pied a:hover { color: var(--marine-nuit); }
.pied__haut { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding-block: 3rem 2.5rem; }
.pied__titre { font-family: var(--manuscrite); font-weight: 700; font-size: 2.6rem; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; }
.pied__baseline { font-size: 0.9rem; line-height: 1.55; max-width: 28rem; margin-top: 1rem; opacity: 0.95; }
.pied__contact { font-size: 0.9rem; }
.pied__col h2 { font-family: var(--geo); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; margin-bottom: 0.9rem; }
.pied__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.45rem; font-size: 0.92rem; }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.2rem; border-top: 1px solid rgba(255,255,255,0.3); font-size: 0.8rem; }
.pied__legal { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 64rem) {
  .grille--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vitrine, .secteurs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .une__grille { grid-template-columns: 1fr; }
  .pied__haut { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 48rem) {
  body { font-size: 1rem; }
  .grille--2, .grille--3 { grid-template-columns: 1fr; }
  .carte--ligne { flex-direction: column; }
  .carte--ligne .carte__media { width: 100%; }
  .commune-tete, .appel, .pied__haut { grid-template-columns: 1fr; }
  .hero__social { gap: 0.9rem; }
  .nav-bouton { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 auto 0.4rem; font: 600 0.85rem var(--geo); letter-spacing: 0.12em; text-transform: uppercase; background: none; border: 2px solid #fff; padding: 0.55rem 0.9rem 0.45rem; color: #fff; cursor: pointer; }
  .nav-bouton__barres { width: 1rem; height: 2px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
  .navigation__liste { display: none; flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .navigation__liste.ouvert { display: flex; }
  .navigation__liste a { border-bottom: 0; padding: 0.6rem; }
  .navigation__liste a[aria-current="page"] { background: rgba(255,255,255,0.15); }
  .navigation__cta { margin-top: 0.4rem; }
  .hero__recherche { margin-top: 0.6rem; }
  .hero__paysage { height: 6rem; }
  .hero--accueil .hero__paysage { height: 12rem; }
  .bloc { padding-block: 2rem; }
  .evenement { gap: 1rem; }
  .bande__int { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
  .bande__titre { letter-spacing: 0.14em; }
}
@media (max-width: 36rem) {
  .vitrine, .secteurs, .grille--4 { grid-template-columns: 1fr; }
  .pied__bas { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
@media print {
  .hero__social, .navigation, .article__partage, .pied, .hero__paysage { display: none; }
  .hero { color: #000; background: none; }
}

/* ---------- Cocon « guêpes & frelons » ---------- */
.cocon__corps { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 3rem; align-items: start; }
.cocon__aside { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 1rem; }
.encart { padding: 1.1rem 1.2rem; background: var(--gris-carte); border-top: 4px solid var(--ciel); font-size: 0.95rem; }
.encart p { margin: 0 0 0.5rem; }
.encart ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.encart__sur { font-family: var(--geo); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--encre-douce); }
.encart__titre { font-family: var(--geo); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.3; }
.encart--urgence { border-top-color: var(--orange); background: #fff6ec; }
.encart--urgence .bouton { display: block; text-align: center; margin: 0.6rem 0; font-size: 1.05rem; letter-spacing: 0.08em; }
.encart__lien { font-size: 0.88rem; }
.encart__communes { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 0.35rem !important; }
.encart__communes a { display: inline-block; padding: 0.3rem 0.6rem 0.2rem; border: 1px solid var(--trait-fonce); border-radius: var(--rayon); font-family: var(--geo); font-size: 0.8rem; color: var(--encre); background: #fff; }
.encart__communes a:hover, .encart__communes a[aria-current="page"] { border-color: var(--ciel); color: var(--ciel-fonce); }
.classement { counter-reset: rang; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.4rem; }
.classement > li { position: relative; padding: 1.4rem 1.5rem 1.4rem 5rem; background: var(--gris-carte); border-left: 4px solid var(--ciel); }
.classement > li::before { counter-increment: rang; content: counter(rang); position: absolute; left: 1.2rem; top: 1.1rem; font-family: var(--manuscrite); font-weight: 700; font-size: 2.8rem; line-height: 1; color: var(--ciel); }
.classement > li.classement--premier { border-left-color: var(--orange); background: #fff6ec; }
.classement > li.classement--premier::before { color: var(--orange); }
.classement h3 { margin: 0 0 0.3rem; font-size: 1.15rem; }
.classement .note { margin: 0 0 0.8rem; font-family: var(--geo); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--encre-douce); }
.classement .pour-contre { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; font-size: 0.95rem; margin-top: 0.8rem; }
.classement .pour-contre ul { margin: 0.3rem 0 0; padding-left: 1.1em; }
.classement .pour-contre strong { font-family: var(--geo); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
.accueil-frelons { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.accueil-frelons img, .accueil-frelons picture img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.accueil-frelons h3 { font-family: var(--manuscrite); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: 0.05em; text-transform: uppercase; line-height: 1; }
.accueil-frelons .puces { margin: 1rem 0; }
@media (max-width: 64rem) { .cocon__corps { grid-template-columns: 1fr; } .cocon__aside { position: static; } .classement .pour-contre, .accueil-frelons { grid-template-columns: 1fr; } }
