/* =========================================================
   Maquette site municipal — La Brosse-Montceaux
   Palette reprise du site officiel actuel (labrossemontceaux.fr) :
   bordeaux #97282e, jaune #fdb912, rose pâle #fcf5f5, texte #280b0c
   ========================================================= */
:root {
  --brand-900: #6b1a1f;     /* bordeaux foncé : titres, pied de page */
  --brand-700: #97282e;     /* bordeaux officiel : boutons, bandeau */
  --brand-100: #f6e4e5;     /* rose très clair : survols, pastilles */
  --surface-50: #fffdfc;    /* fond de page */
  --surface-100: #fcf5f5;   /* fond des sections alternées (site officiel) */
  --accent: #fdb912;        /* jaune officiel : accents décoratifs uniquement (jamais texte blanc dessus) */
  --on-brand: #f8eaeb;      /* texte clair sur fond bordeaux */
  --ink: #280b0c;           /* texte (site officiel) */
  --muted: #6b5557;
  --line: #ecdcdd;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(107, 26, 31, 0.08);
  font-size: 16px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--surface-50);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
}
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; color: var(--brand-900); line-height: 1.2; }
h2 { font-size: 1.6rem; margin: 0 0 1.25rem; }
h3 { font-size: 1.1rem; margin: 0.4rem 0; }
a { color: var(--brand-700); }
.container { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Bandeau maquette + étiquettes "à confirmer" */
.mockup-banner { background: #fff3cd; color: #6b4e00; text-align: center; padding: 8px 16px; font-size: .9rem; border-bottom: 1px solid #f0d98a; }
.tbc { display: inline-block; background: #fff3cd; color: #6b4e00; border: 1px dashed #c9a43a; border-radius: 6px; padding: 0 6px; font-size: .75rem; font-family: system-ui, sans-serif; font-weight: 500; vertical-align: middle; }
.tag { display: inline-block; background: var(--brand-100); color: var(--brand-700); border-radius: 6px; padding: 0 6px; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }

/* En-tête */
.topbar { background: var(--brand-900); color: var(--on-brand); font-size: .85rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 6px 16px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 48px; height: 54px; display: grid; place-items: center; background: var(--brand-700); color: #fff; font-family: Georgia, serif; font-weight: 700; border-radius: 8px 8px 24px 24px; border: 3px solid var(--accent); }
.brand-text strong { display: block; font-family: Georgia, serif; font-size: 1.25rem; color: var(--brand-900); }
.brand-text small { color: var(--muted); }
.main-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; align-items: center; }
.main-nav a { text-decoration: none; color: var(--ink); padding: 8px 12px; border-radius: 8px; font-weight: 500; }
.main-nav a:hover { background: var(--brand-100); }
.main-nav .nav-cta { background: var(--brand-700); color: #fff; }
.main-nav .nav-cta:hover { background: var(--brand-900); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger, .burger::before, .burger::after { display: block; width: 24px; height: 2px; background: var(--ink); position: relative; content: ""; }
.burger::before { position: absolute; top: -7px; }
.burger::after { position: absolute; top: 7px; }

/* Bandeau d'accueil */
.hero { background: linear-gradient(135deg, var(--brand-100), var(--surface-100)); padding: 56px 0; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--brand-700); font-weight: 600; margin: 0; }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin: .4rem 0 .8rem; }
.lead { font-size: 1.1rem; color: var(--muted); margin: 0 0 1.5rem; }
.search { display: flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px; box-shadow: var(--shadow); }
.search input { flex: 1; border: 0; padding: 10px 14px; font-size: 1rem; background: transparent; min-width: 0; }
.search input:focus { outline: none; }
.search button, .button { background: var(--brand-700); color: #fff; border: 0; border-radius: 999px; padding: 10px 20px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block; }
.search button:hover, .button:hover { background: var(--brand-900); }
.hero-photo { aspect-ratio: 4 / 3; border-radius: var(--radius); background: repeating-linear-gradient(45deg, var(--brand-100), var(--brand-100) 12px, var(--surface-100) 12px, var(--surface-100) 24px); border: 2px dashed var(--line); display: grid; place-items: center; text-align: center; color: var(--muted); font-weight: 600; }

/* Sections et cartes */
.section { padding: 56px 0; }
.section-alt { background: var(--surface-100); }
.cards { display: grid; gap: 18px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
a.card:hover { transform: translateY(-3px); border-color: var(--brand-700); }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.card-icon { font-size: 1.8rem; }

/* Accès rapides */
.quick-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.quick-links a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; text-decoration: none; color: var(--brand-900); font-weight: 500; }
.quick-links a:hover { background: var(--brand-700); color: #fff; border-color: var(--brand-700); }

/* Actualités + agenda */
.news-grid { display: grid; grid-template-columns: 2.2fr 1fr; gap: 32px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.news { padding: 0 0 18px; overflow: hidden; }
.news > *:not(.news-img) { margin-left: 18px; margin-right: 18px; }
.news .tag { margin-top: 14px; }
.news-img { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--brand-100), var(--surface-100)); }
.news-img.alt1 { background: linear-gradient(135deg, #fdb91255, var(--brand-100)); }
.news-img.alt2 { background: linear-gradient(135deg, var(--surface-100), var(--brand-100)); }
.agenda { background: var(--brand-900); color: #fff; border-radius: var(--radius); padding: 24px; align-self: start; }
.agenda h2 { color: #fff; }
.agenda ul { list-style: none; padding: 0; margin: 0 0 16px; }
.agenda li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.agenda time { background: var(--accent); color: var(--ink); border-radius: 10px; padding: 4px 10px; text-align: center; min-width: 58px; font-size: .8rem; }
.agenda time b { display: block; font-size: 1.3rem; line-height: 1; }
.agenda a { color: var(--accent); }

/* Chiffres clés */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stats div { background: #fff; border-radius: var(--radius); padding: 20px; border-left: 5px solid var(--accent); }
.stats b { display: block; font-family: Georgia, serif; font-size: 1.6rem; color: var(--brand-900); }
.stats span { color: var(--muted); font-size: .9rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; }
.hours { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.hours dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 12px 0 0; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--muted); }

/* Pied de page */
.site-footer { background: var(--brand-900); color: var(--on-brand); padding: 28px 0; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; align-items: center; }
.footer-inner p { margin: 0; }
.footer-inner ul { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; padding: 0; margin: 0; }
.footer-inner a { color: var(--on-brand); }

/* ===== Responsive : tablette ===== */
@media (max-width: 960px) {
  .cards-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .news-grid, .contact, .hero-inner { grid-template-columns: 1fr; }
}

/* ===== Responsive : téléphone (menu burger) ===== */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .header-inner { position: relative; }
  .cards-3, .cards-4, .stats { grid-template-columns: 1fr; }
  .search button { padding: 10px 14px; }
  .hero { padding: 36px 0; }
  .section { padding: 40px 0; }
}

/* =========================================================
   Pages intérieures (Démarches…)
   ========================================================= */
.page-hero { background: linear-gradient(135deg, var(--brand-100), var(--surface-100)); padding: 36px 0 28px; }
.page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin: .3rem 0 .6rem; }
.breadcrumb { font-size: .9rem; color: var(--muted); }
.toc { margin-bottom: 14px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; font-size: .85rem; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.main-nav a[aria-current="page"] { background: var(--brand-100); color: var(--brand-900); }

/* Pastilles "où faire la démarche" : couleur + texte (jamais la couleur seule, pour l'accessibilité) */
.where { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: .75rem; font-weight: 600; }
.where-mairie { background: var(--brand-100); color: var(--brand-900); }
.where-online { background: #e3edf7; color: #1d4f7a; }
.where-other  { background: #f6e7cf; color: #7a4d10; }
.where-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.procedure { display: flex; flex-direction: column; gap: 6px; }
.procedure a { margin-top: auto; font-weight: 600; font-size: .92rem; }
.procedure .note { font-size: .85rem; }

/* FAQ dépliable (balises natives <details>, accessibles au clavier) */
.faq { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--brand-900); }
.faq p { color: var(--muted); margin: 10px 0 0; }

.contact-strip { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.contact-strip p { margin: 0; }

@media (max-width: 760px) {
  .cards-2 { grid-template-columns: 1fr; }
}

/* =========================================================
   Page Vie municipale
   ========================================================= */
.intro { color: var(--muted); max-width: 70ch; margin: -0.5rem 0 1.25rem; }
.subhead { margin: 1.8rem 0 .8rem; font-size: 1.15rem; }
.note { color: var(--muted); font-size: .9rem; }

/* Trombinoscope en texte (accessible), avec avatar provisoire */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.person { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.person-lead { border-color: var(--accent); border-width: 2px; }
.person strong { display: block; }
.person span { color: var(--muted); font-size: .88rem; }
.avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--brand-100); color: var(--brand-900); border-radius: 999px; padding: 4px 12px; font-size: .9rem; }

/* Liste de documents (séances, arrêtés) */
.doc-list { list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.doc-list li { display: grid; grid-template-columns: 120px 1fr auto; gap: 14px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.doc-list li:last-child { border-bottom: 0; }
.doc-list time { font-weight: 600; color: var(--brand-900); }
.doc-links { display: flex; flex-wrap: wrap; gap: 14px; font-size: .9rem; }

/* Bulletins municipaux */
.bulletins { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 14px; }
.bulletin { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; text-decoration: none; color: var(--ink); }
.bulletin:hover { border-color: var(--brand-700); }
.bulletin-cover { aspect-ratio: 3 / 4; border-radius: 8px; background: var(--brand-700); color: var(--on-brand); display: grid; place-content: center; text-align: center; font-family: Georgia, serif; letter-spacing: .1em; }
.bulletin-cover b { display: block; font-size: 2rem; color: #fff; }
.bulletin-latest .bulletin-cover { background: var(--accent); }
.bulletin small { color: var(--muted); }

@media (max-width: 960px) {
  .people { grid-template-columns: repeat(2, 1fr); }
  .bulletins { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .people { grid-template-columns: 1fr; }
  .bulletins { grid-template-columns: repeat(2, 1fr); }
  .doc-list li { grid-template-columns: 1fr; gap: 4px; }
}

/* =========================================================
   Vraies photos (accord de la mairie)
   ========================================================= */
.brand-blason { width: 48px; height: 56px; object-fit: contain; }
img.hero-photo { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border: 0; display: block; box-shadow: var(--shadow); }
img.news-img { display: block; width: 100%; height: auto; object-fit: cover; }
.footer-inner small { opacity: .75; }

/* Galerie de l'accueil */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 14px 10px; color: #fff; font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,.6)); }

/* Couvertures du BIC et images de cartes */
img.bulletin-cover { width: 100%; height: auto; object-fit: cover; display: block; box-shadow: var(--shadow); }
.card-img { display: block; width: calc(100% + 40px); margin: -20px -20px 12px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.card-img-memorial { display: grid; place-items: center; background: var(--brand-900); font-size: 2.4rem; }

@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr; }
}

/* =========================================================
   Documents générés (séances, archives du BIC)
   ========================================================= */
.seance { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.seance > summary { cursor: pointer; display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; font-weight: 600; color: var(--brand-900); }
.seance > summary span { color: var(--muted); font-weight: 400; font-size: .9rem; }
.seance .doc-list { border: 0; border-top: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); }
.seance .doc-list li { grid-template-columns: 90px 1fr auto; }
.deliberation-num { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.archives { margin-top: 16px; }
.archives summary { cursor: pointer; font-weight: 600; color: var(--brand-700); }
.archives ul { columns: 2; padding-left: 18px; }
@media (max-width: 760px) { .seance .doc-list li { grid-template-columns: 1fr; } .archives ul { columns: 1; } }

/* =========================================================
   Page Au quotidien
   ========================================================= */
.hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.hours-season { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; }
.hours-season summary { cursor: pointer; font-weight: 600; color: var(--brand-900); }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: .9rem; }
.hours-table th, .hours-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.hours-table thead th { color: var(--muted); font-weight: 600; }
.hours-table .closed { color: var(--brand-700); font-weight: 600; }
.feature { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; }
.feature > div { padding: 22px 22px 22px 0; }
.facts { padding-left: 18px; margin: 0; display: grid; gap: 6px; }
.spaced { margin-top: 18px; }
.business-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.business-list li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; display: flex; flex-direction: column; }
.business-list span { color: var(--muted); font-size: .88rem; }
@media (max-width: 960px) { .business-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .hours-grid, .feature { grid-template-columns: 1fr; }
  .feature > div { padding: 0 18px 18px; }
  .business-list { grid-template-columns: 1fr; }
}
.feature-visual { min-height: 260px; height: 100%; background: var(--brand-700); color: var(--on-brand); display: grid; place-content: center; text-align: center; gap: 8px; font-family: Georgia, serif; font-size: 1.4rem; }
.feature-visual span { font-size: 3.5rem; }

/* =========================================================
   Page Associations
   ========================================================= */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font: inherit; font-weight: 500; color: var(--brand-900); cursor: pointer; }
.filter:hover { border-color: var(--brand-700); }
.filter.is-active { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.asso { display: flex; flex-direction: column; gap: 6px; }
.asso[hidden] { display: none; }
.asso .tag { align-self: flex-start; }
.asso > a { margin-top: auto; font-weight: 600; font-size: .92rem; }
.card-img-icon { display: grid; place-items: center; background: var(--brand-100); font-size: 3rem; }
.card-img-logo { object-fit: contain; background: #fff; padding: 10px; border-bottom: 1px solid var(--line); }

/* =========================================================
   Pages de texte (mentions légales, accessibilité, plan du site)
   ========================================================= */
.prose { max-width: 820px; }
.prose h2 { margin-top: 2.2rem; scroll-margin-top: 120px; }
.prose h2:first-child { margin-top: 0; }
.callout { background: #fff3cd; border: 1px solid #f0d98a; color: #5a4100; border-radius: var(--radius); padding: 14px 18px; }
.definition-list { display: grid; grid-template-columns: 220px 1fr; gap: 10px 20px; }
.definition-list dt { font-weight: 600; color: var(--brand-900); }
.definition-list dd { margin: 0; }
.status-badge { background: var(--brand-100); border-left: 5px solid var(--brand-700); padding: 12px 16px; border-radius: 8px; }
.checklist { list-style: none; padding: 0; display: grid; gap: 8px; }
.checklist li { padding-left: 30px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 6px; color: var(--brand-700); font-weight: 700; }
.sitemap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.sitemap h2 { font-size: 1.25rem; margin-bottom: .6rem; }
.sitemap h2 a { color: inherit; text-decoration: none; }
.sitemap ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
@media (max-width: 760px) {
  .definition-list { grid-template-columns: 1fr; gap: 2px; }
  .definition-list dd { margin-bottom: 10px; }
  .sitemap { grid-template-columns: 1fr; }
}

/* Correctif mobile : le titre insécable « La Brosse‑Montceaux » ne doit pas élargir la page.
   min-width:0 autorise les éléments de grille à rétrécir sous la largeur de leur contenu. */
.hero-inner > * { min-width: 0; }
@media (max-width: 420px) {
  .hero h1 { font-size: 1.7rem; }
  .search input { font-size: .95rem; padding: 10px; }
}
@media (max-width: 340px) { .hero h1 { font-size: 1.45rem; } }
/* Sur téléphone, l'en-tête collant reste léger : adresse/horaires sont dans le bloc Contact */
@media (max-width: 760px) { .topbar { display: none; } }

/* Conseil municipal en texte */
.people { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.person { align-items: flex-start; }
.person .role { display: block; color: var(--brand-700); font-weight: 600; font-size: .9rem; }
.delegations { margin: 6px 0 0; padding-left: 16px; color: var(--muted); font-size: .85rem; }
.table-scroll { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.council-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.council-table th, .council-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.council-table thead th { color: var(--muted); font-weight: 600; background: var(--surface-100); }
.council-table tbody th { color: var(--brand-900); white-space: nowrap; }
.council-table tr:last-child th, .council-table tr:last-child td { border-bottom: 0; }
@media (max-width: 760px) {
  /* Sur téléphone : chaque élu devient une petite fiche empilée, sans défilement horizontal */
  .council-table thead { display: none; }
  .council-table tr { display: block; padding: 10px 14px; border-bottom: 1px solid var(--line); }
  .council-table th, .council-table td { display: block; padding: 2px 0; border: 0; }
  .council-table tbody th { white-space: normal; }
}
/* Le maire sur sa propre ligne, les 4 adjoints alignés dessous */
.people .person-lead { grid-column: 1 / -1; }
.people .person-lead .delegations { columns: 2; column-gap: 32px; }
@media (min-width: 961px) { .people { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 760px) { .people .person-lead .delegations { columns: 1; } }
/* Photos des élus : même cercle que l'avatar provisoire */
img.avatar { object-fit: cover; width: 64px; height: 64px; background: var(--brand-100); }
.person-lead img.avatar { width: 96px; height: 96px; }

/* =========================================================
   Zones gérées par l'espace secrétariat
   ========================================================= */
.site-alert { background: var(--accent); color: var(--ink); padding: 10px 0; font-size: .95rem; }
.news .stretched { color: inherit; text-decoration: none; }
.news .stretched:hover { text-decoration: underline; }
.news-date { font-size: .82rem; color: var(--muted); margin: 0 0 4px; }
.news-feed { display: grid; gap: 22px; max-width: 900px; }
.news-full { display: grid; grid-template-columns: 260px 1fr; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; scroll-margin-top: 120px; }
.news-full img { width: 100%; border-radius: 10px; object-fit: cover; aspect-ratio: 4 / 3; }
.news-full h2 { margin: .4rem 0 .2rem; font-size: 1.4rem; }
.news-full > div > p:not(.news-date) { margin: .5rem 0; }
.agenda-list li { grid-template-columns: 170px 1fr auto; }
@media (max-width: 760px) { .news-full { grid-template-columns: 1fr; } .agenda-list li { grid-template-columns: 1fr; } }
.doc-list li.empty { grid-template-columns: 1fr; color: var(--muted); }

/* Encart « prochain conseil municipal » (généré depuis les séances convoquées) */
.next-council { background: #fff; border: 2px solid var(--brand-700); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 22px; }
.next-council-label { margin: 0; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-700); }
.next-council-when { font-size: 1.15rem; margin: 4px 0 8px; }
.next-council summary { cursor: pointer; font-weight: 600; color: var(--brand-900); }
.next-council ol { margin: 8px 0; padding-left: 22px; }
