/* dechetterie-ouverte.fr — feuille de style unique, sans framework.
   Direction (03/11/2026) : moderne et aérée. Fond clair, cartes blanches très arrondies à ombre douce,
   vert-noir de marque, vert « ouvert » / rouge « fermé », jaune réservé aux accents (logo, repères). */

@font-face {
  font-family: "Bricolage";
  src: url("/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 600 800;
  font-display: swap;
}

:root {
  --ink: #0f2a24;
  --ink-2: #29443d;
  --muted: #5d6b66;
  --faint: #8a9692;
  --bg: #f5f6f3;
  --card: #ffffff;
  --line: #e4e7e2;
  --line-2: #eef0ec;
  --accent: #ffc629;
  --accent-soft: #fff6d6;
  --leaf: #12924a;
  --leaf-2: #0c7a3c;
  --leaf-soft: #e6f5ec;
  --brick: #c4402a;
  --brick-soft: #fdecea;
  --amber: #a36a00;
  --amber-soft: #fff3d9;
  --radius: 20px;
  --radius-s: 12px;
  --shadow: 0 1px 2px rgba(15, 42, 36, .04), 0 4px 16px rgba(15, 42, 36, .05);
  --shadow-h: 0 2px 4px rgba(15, 42, 36, .05), 0 12px 32px rgba(15, 42, 36, .09);
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Bricolage", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16.5px/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-color: rgba(15, 42, 36, .25); text-decoration-thickness: 1.5px; text-underline-offset: 3px; transition: color .15s, text-decoration-color .15s; }
a:hover { color: var(--leaf-2); text-decoration-color: currentColor; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 800; margin: .2em 0 .35em; }
h2 { font-size: clamp(1.35rem, 3.2vw, 1.75rem); font-weight: 700; margin: 2.2em 0 .7em; }
h3 { font-size: 1.08rem; font-weight: 700; margin: 1.4em 0 .4em; letter-spacing: -.01em; }
p, ul, ol { margin: 0 0 1em; }
small, .petit { font-size: .875rem; }
.muted { color: var(--muted); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); padding: 8px 12px; z-index: 50; border-radius: 8px; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ── En-tête : collant, translucide ─────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em; flex: none; }
.logo:hover { color: var(--ink); }
.logo svg { width: 34px; height: 34px; flex: none; }
.logo .tld { color: var(--leaf); font-weight: 700; }
.nav { display: flex; gap: 4px; margin-left: auto; font-size: .95rem; }
.nav a { white-space: nowrap; color: var(--ink-2); text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 550; }
.nav a:hover { background: var(--line-2); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ink); color: #fff; }
@media (max-width: 760px) {
  .site-header .wrap { flex-wrap: wrap; gap: 0; padding-top: 10px; }
  .nav { width: 100%; margin: 6px 0 8px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 7px 12px; font-size: .92rem; }
}

/* Fil d'Ariane */
.ariane { font-size: .85rem; color: var(--faint); margin: 20px 0 0; }
.ariane ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.ariane li + li::before { content: "/"; margin: 0 8px 0 6px; color: #c3cac6; }
.ariane a { color: var(--muted); text-decoration: none; }
.ariane a:hover { color: var(--ink); text-decoration: underline; }

/* ── Accueil ────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 56px 0 44px; background:
  radial-gradient(900px 380px at 85% -10%, rgba(18, 146, 74, .14), transparent 60%),
  radial-gradient(700px 300px at 5% 0%, rgba(255, 198, 41, .18), transparent 60%),
  linear-gradient(180deg, #fff, var(--bg)); border-bottom: 1px solid var(--line); }
.hero h1 { max-width: 15em; font-size: clamp(2.1rem, 6vw, 3.6rem); }
.hero h1 em { font-style: normal; color: var(--leaf); }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 38em; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: .88rem; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow); }
.hero-badges .point { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgba(18, 146, 74, .16); animation: pouls 2s infinite; }
@keyframes pouls { 50% { box-shadow: 0 0 0 7px rgba(18, 146, 74, 0); } }
.hero .chercheurs { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 880px) { .hero .chercheurs { grid-template-columns: 1fr 1fr; } }
.chercheur { background: var(--card); color: var(--ink); border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); box-shadow: var(--shadow-h); }
.chercheur label { display: block; font: 700 1.05rem/1.2 var(--display); margin-bottom: 12px; }
.raccourcis { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.raccourcis a { font-size: .85rem; font-weight: 600; text-decoration: none; padding: 5px 11px; border-radius: 999px; background: var(--line-2); color: var(--ink-2); }
.raccourcis a:hover { background: var(--ink); color: #fff; }

/* ── Formulaires ────────────────────────────────────────────────────── */
input[type=text], input[type=search], input[type=email], textarea, select {
  width: 100%; font: inherit; color: inherit; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fbfcfa; transition: border-color .15s, box-shadow .15s, background .15s;
}
input:focus, textarea:focus, select:focus { border-color: var(--leaf); background: #fff; outline: none; box-shadow: 0 0 0 4px rgba(18, 146, 74, .14); }
textarea { min-height: 120px; resize: vertical; }
.ligne { display: flex; gap: 8px; }
.ligne input { flex: 1; min-width: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 650 .98rem var(--font); padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .12s, background .15s, box-shadow .15s; }
.btn:hover { background: var(--ink-2); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(15, 42, 36, .18); }
.btn:active { transform: none; }
.btn-jaune { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.btn-jaune:hover { background: var(--leaf-2); border-color: var(--leaf-2); }
.btn-clair { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-clair:hover { background: #fff; color: var(--ink); border-color: var(--ink); box-shadow: var(--shadow); }
.btn svg { width: 18px; height: 18px; }
.champ { margin-bottom: 16px; }
.champ label { display: block; font-weight: 600; margin-bottom: 4px; }
.aide { font-size: .87rem; color: var(--muted); margin: 10px 0 0; }
.pot-de-miel { position: absolute; left: -5000px; }
.lien-bouton { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-decoration-color: rgba(15, 42, 36, .3); text-underline-offset: 3px; cursor: pointer; }

/* Suggestions */
.suggestions { list-style: none; margin: 8px 0 0; padding: 4px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-h); }
.suggestions:empty { display: none; }
.suggestions li a, .suggestions li button { display: block; width: 100%; text-align: left; padding: 10px 12px; text-decoration: none; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; border-radius: 10px; }
.suggestions li a:hover, .suggestions li a:focus, .suggestions li button:hover { background: var(--leaf-soft); }
.suggestions .sous { display: block; font-size: .84rem; color: var(--muted); }
.reponse-immediate { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--leaf-soft); }
.reponse-immediate:empty { display: none; }
.reponse-immediate strong { display: block; }

/* ── Cartes, grilles ────────────────────────────────────────────────── */
.grille { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.carte { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.carte h3 { margin-top: 0; }
a.carte { display: block; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s; }
a.carte:hover { transform: translateY(-3px); box-shadow: var(--shadow-h); border-color: #d5dad4; color: var(--ink); }
.tuile { display: flex; align-items: flex-start; gap: 14px; }
.tuile strong { display: block; font-family: var(--display); font-size: 1.05rem; margin-bottom: 2px; }
.tuile span { font-size: .9rem; color: var(--muted); }
.tuile .pict { flex: none; }
section.bloc { margin: 48px 0; }
.titre-section { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 18px; }
.titre-section h2 { margin: 0; }
.titre-section a { font-weight: 600; font-size: .95rem; }

/* Pictogrammes dans une pastille teintée (couleur de famille) */
.benne, .tuile-benne { --c: var(--ink-2); --c-soft: var(--line-2); }
.benne-mobilier { --c: #9a6233; --c-soft: #f6ece3; }
.benne-electrique { --c: #b07800; --c-soft: #fdf2d6; }
.benne-dangereux { --c: #c4402a; --c-soft: #fdecea; }
.benne-batiment { --c: #5f6a72; --c-soft: #eef0f2; }
.benne-jardin { --c: #12924a; --c-soft: #e6f5ec; }
.benne-recyclables { --c: #2b6cc4; --c-soft: #e8f0fb; }
.benne-textile { --c: #8a46b4; --c-soft: #f3eafa; }
.benne-loisirs { --c: #d0600f; --c-soft: #fdeee2; }
.tuile-benne .pict, .benne h3 .pict { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--c-soft); color: var(--c); stroke-width: 2.4; }

/* ── Statut d'ouverture ─────────────────────────────────────────────── */
.statut { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; border-radius: 999px; padding: 5px 12px 5px 10px; font-size: .92rem; line-height: 1.3; }
.statut::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.statut-ouvert { background: var(--leaf-soft); color: var(--leaf-2); }
.statut-ouvert::before { box-shadow: 0 0 0 4px rgba(18, 146, 74, .18); animation: pouls 2s infinite; }
.statut-ferme_bientot, .statut-incertain { background: var(--amber-soft); color: var(--amber); }
.statut-ferme { background: var(--brick-soft); color: var(--brick); }
.statut-inconnu { background: var(--line-2); color: var(--muted); }
.statut-detail { color: var(--muted); font-size: .92rem; }
.statut-grand { font-size: 1.15rem; padding: 8px 18px 8px 14px; }
.statut-grand::before { width: 10px; height: 10px; }

/* ── Fiche ──────────────────────────────────────────────────────────── */
.fiche-titre { margin: 10px 0 22px; }
.fiche-titre h1 { margin: .15em 0 .25em; }
.surtitre { margin: 0; font: 650 .8rem/1.3 var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--leaf-2); }
.adresse { display: flex; gap: 8px; align-items: flex-start; margin: 0; color: var(--muted); }
.adresse .pict { flex: none; width: 20px; height: 20px; margin-top: 3px; }
.fiche-tete { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 920px) { .fiche-tete { grid-template-columns: 1.35fr 1fr; align-items: start; } }
.fiche-tete > *, .grille > *, .chercheurs > *, .bennes > *, .cols > * { min-width: 0; }

/* Panneau d'horaires : la couleur suit le statut (mis à jour en direct par site.js) */
.panneau { --etat: var(--line-2); --etat-texte: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-h); }
.panneau.etat-ouvert { --etat: var(--leaf-soft); --etat-texte: var(--leaf-2); }
.panneau.etat-ferme_bientot, .panneau.etat-incertain { --etat: var(--amber-soft); --etat-texte: var(--amber); }
.panneau.etat-ferme { --etat: var(--brick-soft); --etat-texte: var(--brick); }
.panneau-bandeau { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; padding: 14px 20px; background: var(--etat); color: var(--etat-texte); font: 700 .8rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .08em; transition: background .3s; }
.panneau-periode { font-weight: 600; text-transform: none; letter-spacing: 0; font-size: .85rem; opacity: .85; }
.panneau-corps { padding: 18px 20px 20px; }
.panneau-statut { margin: 0 0 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.panneau-texte { white-space: pre-line; background: var(--bg); border-radius: var(--radius-s); padding: 12px 14px; }
.panneau-nom { font: 800 1.3rem/1.25 var(--display); margin: 0 0 10px; letter-spacing: -.02em; }
.panneau-nom a { text-decoration: none; }
.panneau-court { margin: 8px 0 22px; max-width: 720px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.fiche-cote { display: grid; gap: 12px; }
.carte-osm { height: 300px; border-radius: var(--radius); border: 1px solid var(--line); display: grid; place-items: center; text-align: center; overflow: hidden;
  background: linear-gradient(0deg, rgba(245, 246, 243, .55), rgba(245, 246, 243, .55)),
    repeating-linear-gradient(0deg, transparent 0 38px, #e3e7e1 38px 40px), repeating-linear-gradient(90deg, transparent 0 38px, #e3e7e1 38px 40px), #eef1ec; }
.fiche-cote .source { margin: -4px 0 0; }
.coord { list-style: none; padding: 6px 16px; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.coord li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); align-items: flex-start; }
.coord li:last-child { border-bottom: 0; }
.coord li span:last-child { min-width: 0; }
.coord .pict { flex: none; width: 22px; height: 22px; color: var(--leaf-2); margin-top: 1px; }

/* Semaine en barres */
.semaine { --piste: #f0f2ee; font-size: .9rem; }
.semaine-echelle { position: relative; height: 18px; margin-left: 50px; color: var(--faint); font-size: .72rem; font-variant-numeric: tabular-nums; }
.semaine-echelle span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.semaine-echelle span:first-child { transform: none; }
.semaine-jour { display: grid; grid-template-columns: 42px 1fr; column-gap: 8px; align-items: center; padding: 4px 0; }
.semaine-nom { font-weight: 650; color: var(--ink-2); }
.semaine-piste { position: relative; height: 14px; background: var(--piste); border-radius: 999px; }
.semaine-plage { position: absolute; top: 0; bottom: 0; background: linear-gradient(90deg, #17a557, var(--leaf)); border-radius: 999px; }
.semaine-texte { grid-column: 2; font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.semaine-jour.est-ferme .semaine-piste { background: repeating-linear-gradient(-45deg, #f0f2ee 0 5px, #e6e9e4 5px 10px); }
.semaine-jour.est-aujourdhui { background: var(--bg); border-radius: 12px; margin: 0 -8px; padding: 6px 8px; }
.semaine-jour.est-aujourdhui .semaine-nom, .semaine-jour.est-aujourdhui .semaine-texte { color: var(--ink); font-weight: 700; }
.semaine-maintenant { position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; background: var(--ink); border-radius: 2px; }
.semaine-maintenant::before { content: ""; position: absolute; top: -4px; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
@media (min-width: 560px) {
  .semaine-jour { grid-template-columns: 42px 1fr 170px; }
  .semaine-texte { grid-column: 3; }
  .semaine-echelle { margin-right: 178px; }
}

/* Bon à savoir */
.bon-a-savoir { margin: 28px 0 8px; padding: 6px 24px 14px; border-radius: 24px; background: linear-gradient(135deg, #fff 0%, #f3faf6 100%); border: 1px solid #d9eee1; }
.bon-a-savoir h2 { margin-top: .8em; }
.bon-a-savoir ul { list-style: none; padding: 0; display: grid; gap: 10px; }
@media (min-width: 760px) { .bon-a-savoir ul { grid-template-columns: 1fr 1fr; } }
.bon-a-savoir li { position: relative; padding: 12px 14px 12px 42px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-size: .95rem; }
.bon-a-savoir li::before { content: ""; position: absolute; left: 14px; top: 15px; width: 18px; height: 18px; border-radius: 50%; background: var(--leaf-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230c7a3c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Horaires détaillés */
.horaires { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.horaires th, .horaires td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.horaires tr:last-child th, .horaires tr:last-child td { border-bottom: 0; }
.horaires th { width: 34%; font-weight: 600; }
.horaires tr.aujourdhui { background: var(--leaf-soft); }
.horaires td.ferme { color: var(--faint); }
.periode { margin: 20px 0 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.periode h3 { margin: 0; }
.pastille { font-size: .75rem; font-weight: 700; background: var(--ink); color: #fff; border-radius: 999px; padding: 3px 10px; }

/* Bennes (déchets acceptés) */
.bennes { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); }
.benne { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.benne h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 1rem; }
.benne ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.benne li { position: relative; padding-left: 16px; font-size: .94rem; color: var(--ink-2); }
.benne li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }

/* Tableau « où déposer quoi » */
table.ou-deposer { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; font-size: .95rem; box-shadow: var(--shadow); }
.ou-deposer th, .ou-deposer td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.ou-deposer thead th { background: #fafbf9; color: var(--faint); font: 650 .74rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .08em; border-bottom: 1px solid var(--line); }
.ou-deposer tbody tr:last-child > * { border-bottom: 0; }
.ou-deposer tbody tr:hover { background: #fafbf9; }
.ou-deposer tbody th a { text-decoration: none; font-weight: 700; }
.ou-deposer .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 650; color: var(--ink-2); }
@media (max-width: 600px) {
  .ou-deposer thead { display: none; }
  .ou-deposer tr { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line-2); }
  .ou-deposer tbody tr:last-child { border-bottom: 0; }
  .ou-deposer th, .ou-deposer td { border: 0; padding: 6px 16px; }
  .ou-deposer th { grid-column: 1; padding-top: 13px; }
  .ou-deposer td.num { grid-column: 2; grid-row: 1; padding-top: 13px; }
  .ou-deposer td:not(.num) { grid-column: 1 / -1; padding-bottom: 13px; }
}

/* Chiffres clés */
.chiffres-cles { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.chiffres-cles li { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow); }
.chiffres-cles strong { display: block; font: 800 2rem/1.05 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-bottom: 4px; }
.chiffres-cles span { font-size: .88rem; color: var(--muted); }

/* Jauges (département) */
.jauges { list-style: none; padding: 18px 20px; margin: 0 0 1em; display: grid; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.jauges li { display: grid; grid-template-columns: minmax(120px, 190px) 1fr 40px; gap: 14px; align-items: center; font-size: .95rem; }
.jauge { height: 10px; background: var(--line-2); border-radius: 999px; overflow: hidden; }
.jauge span { display: block; height: 100%; background: linear-gradient(90deg, #17a557, var(--leaf)); border-radius: 999px; }
.jauges .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }

/* Listes de déchetteries, filtres et carte */
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.filtre { font: 600 .88rem var(--font); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.filtre:hover { border-color: var(--ink); color: var(--ink); }
.filtre[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filtre[aria-pressed="true"]::before { content: "✓ "; }
.filtre-carte { margin-left: auto; background: var(--leaf-soft); border-color: transparent; color: var(--leaf-2); }
.carte-liste { height: 380px; border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 14px; box-shadow: var(--shadow); }
.liste-proches { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.liste-proches li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: space-between; box-shadow: var(--shadow); transition: box-shadow .18s, border-color .18s, transform .18s; }
.liste-proches li:hover { box-shadow: var(--shadow-h); border-color: #d5dad4; transform: translateY(-1px); }
.liste-proches li[hidden] { display: none; }
.liste-proches .nom { font-weight: 700; text-decoration: none; font-size: 1.02rem; }
.liste-proches .nom::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.liste-proches .dist { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .88rem; }
.liste-proches .ad { width: 100%; font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.etiquette-mini { display: inline-block; font-size: .76rem; font-weight: 600; color: var(--muted); background: var(--line-2); border-radius: 999px; padding: 2px 9px; }

/* Encadrés, sources */
.source { font-size: .83rem; color: var(--faint); }
.source a { color: var(--muted); }
.encadre { border-radius: 16px; padding: 16px 18px; margin: 18px 0; background: var(--accent-soft); border: 1px solid #f6e3a6; }
.encadre p:last-child, .encadre ul:last-child { margin-bottom: 0; }
.encadre.alerte { background: var(--brick-soft); border-color: #f5cdc6; }
.encadre.info { background: #eef4f1; border-color: #d6e6de; }

/* ── Contenus éditoriaux ────────────────────────────────────────────── */
.article { max-width: 760px; }
.article h2 { scroll-margin-top: 84px; }
.en-bref { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 20px 0 28px; box-shadow: var(--shadow); }
.en-bref h2 { margin: 0 0 8px; font: 700 .8rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--leaf-2); }
.en-bref ul { margin: 0; padding-left: 20px; }
.options { list-style: none; counter-reset: opt; padding: 0; display: grid; gap: 10px; }
.options > li { counter-increment: opt; position: relative; padding: 16px 18px 16px 62px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.options > li::before { content: counter(opt); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 10px; background: var(--leaf-soft); color: var(--leaf-2); font-weight: 800; display: grid; place-items: center; font-family: var(--display); }
.options strong { display: block; }
.meta { font-size: .87rem; color: var(--muted); }
.sources-liste { font-size: .92rem; }
details.faq { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; margin-bottom: 10px; box-shadow: var(--shadow); }
details.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--leaf-2); transition: transform .2s; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq[open] summary { margin-bottom: 8px; }
.toc { font-size: .95rem; }
.colonnes { columns: 3 210px; column-gap: 28px; padding-left: 0; list-style: none; }
.colonnes li { break-inside: avoid; padding: 3px 0; }
.colonnes a { text-decoration: none; }
.colonnes a:hover { text-decoration: underline; }

/* Partenaires (affiliation, signalés comme tels) */
.partenaire { border: 1px dashed var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 24px 0; background: var(--card); }
.partenaire .etiquette { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

/* ── Pied de page ───────────────────────────────────────────────────── */
.site-footer { margin-top: 72px; background: var(--ink); color: #c9d5d1; padding: 44px 0 28px; font-size: .92rem; }
.site-footer .cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.site-footer h2 { font: 700 .78rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .09em; color: #fff; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 7px 0; }
.site-footer a, .site-footer .lien-bouton { color: #c9d5d1; text-decoration: none; }
.site-footer a:hover, .site-footer .lien-bouton:hover { color: #fff; text-decoration: underline; }
.site-footer .bas { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); color: #93a5a0; font-size: .84rem; }

/* Tableaux simples */
table.simple { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
table.simple th, table.simple td { padding: 10px 14px; border-bottom: 1px solid var(--line-2); text-align: left; }
table.simple tr:last-child td { border-bottom: 0; }
table.simple thead th { background: #fafbf9; color: var(--faint); font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; }

/* Modération */
.moderation .carte { margin-bottom: 14px; }
.moderation pre { white-space: pre-wrap; background: var(--bg); padding: 8px; border-radius: 8px; }

@media print {
  .site-header .nav, .site-footer, .partenaire, .actions, .chercheur, .filtres { display: none !important; }
  .site-header { position: static; }
  body { background: #fff; }
}
@media (prefers-reduced-motion: reduce) { *, *::before { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
@media (max-width: 640px) { table.simple { display: block; overflow-x: auto; } }

/* Icônes des cartes « fonctionnalités » de l'accueil */
.carte > .pict:first-child { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--leaf-soft); color: var(--leaf-2); margin-bottom: 12px; }
.carte > .pict:first-child + h3 { margin-top: 0; }

/* Accueil sur mobile : plus compact */
@media (max-width: 640px) {
  .hero { padding: 28px 0 32px; }
  .hero-badges { gap: 6px; margin-bottom: 16px; }
  .hero-badges li { padding: 4px 10px; font-size: .8rem; box-shadow: none; }
  .hero-badges li:nth-child(3) { display: none; }
  .hero p.lead { font-size: 1.02rem; }
  .chercheur { padding: 16px; }
  .ligne .btn { padding: 12px 16px; }
  .surtitre { font-size: .74rem; }
}
