/* ==========================================================================
   Pages intérieures (pôles de consultation N2 + zones locales N3)
   Complète style.css : mise en page éditoriale, fil d'Ariane, encadré
   réponse (GEO), grille des zones, encart de faits citables.
   ========================================================================== */

/* En-tête toujours "solide" sur les pages intérieures (pas de héros sombre) */
body.interior { padding-top: 0; }
body.interior .site-header {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--line);
}
body.interior .site-header .brand,
body.interior .site-header .brand-name em,
body.interior .site-header .brand-mark,
body.interior .site-header .nav a { color: var(--text); }
body.interior .site-header .nav a:hover { color: var(--accent); }
body.interior .site-header .theme-toggle { border-color: var(--line); background: var(--surface); color: var(--text); }
body.interior .site-header .lang-switch { border-color: var(--line); background: var(--surface); }
body.interior .site-header .lang-switch a { color: var(--muted); }
body.interior .site-header .lang-switch a:hover { color: var(--accent); }
body.interior .site-header .lang-switch a.is-active,
body.interior .site-header .lang-switch a.is-active:hover { background: var(--accent-ink); color: var(--surface); }
body.interior .site-header .btn-ghost { border-color: var(--line); color: var(--text); }

/* Fil d'Ariane */
.breadcrumb { max-width: var(--maxw); margin: 0 auto; padding: 6.5rem 1.5rem 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; font-size: .84rem; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: .5rem; color: var(--line); }
.breadcrumb a { color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; }
.breadcrumb a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.breadcrumb [aria-current] { color: var(--text); }

/* En-tête de page */
.page-hero { max-width: var(--maxw); margin: 0 auto; padding: 1.6rem 1.5rem 0; }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 1rem; }
.page-hero .eyebrow { display: block; text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 600; color: var(--accent); margin-bottom: .9rem; }

/* Encadré réponse (paragraphe answer-first, cité par les IA) */
.answer { max-width: 66ch; font-size: 1.18rem; line-height: 1.6; color: var(--text); border-left: 2px solid var(--accent); padding-left: 1.2rem; margin: 0 0 1.4rem; }

/* Date de mise à jour */
.updated { font-size: .8rem; color: var(--muted); opacity: .85; margin: 0 0 2.5rem; }

/* Corps de texte lisible */
.prose { max-width: 68ch; }
.prose h2 { margin: 2.4rem 0 .7rem; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.prose h3 { margin: 1.6rem 0 .4rem; }
.prose p, .prose li { color: var(--text); }
.prose p { margin: 0 0 1rem; }
.prose ul { margin: 0 0 1.2rem; padding-left: 1.1rem; }
.prose li { margin-bottom: .4rem; }
.prose a { color: var(--accent); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.prose a:hover { border-bottom-color: var(--accent); }
.prose strong { color: var(--text); }

/* Encart de faits vérifiables */
.facts { list-style: none; margin: 1.6rem 0; padding: 1.4rem 1.6rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: .6rem; }
.facts li { position: relative; padding-left: 1.5rem; color: var(--text); font-size: .96rem; margin: 0; }
.facts li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }

/* Grille des zones desservies */
.zones-grid { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.zones-grid a {
  display: flex; align-items: center; gap: .6rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .85rem 1rem; text-decoration: none; color: var(--text); font-size: .95rem;
  transition: border-color .2s var(--ease-out), transform .2s var(--ease-out);
}
.zones-grid a:hover { border-color: var(--accent); transform: translateY(-2px); }
.zones-grid a::before { content: "◎"; color: var(--accent); font-size: .8rem; }

/* Liens vers les pôles depuis une page locale */
.hub-links { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.hub-links a { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; text-decoration: none; color: var(--text); transition: border-color .2s var(--ease-out), transform .2s var(--ease-out); }
.hub-links a:hover { border-color: var(--accent); transform: translateY(-2px); }
.hub-links strong { display: block; margin-bottom: .25rem; }
.hub-links span { color: var(--muted); font-size: .88rem; }

/* Bande d'appel à l'action */
.cta-band { max-width: var(--maxw); margin: 3rem auto 0; padding: 2.4rem 1.5rem; text-align: center; }
.cta-band .btn { margin-top: 1rem; }

/* Liens transversaux (communes voisines) */
.nearby { margin-top: 2.2rem; font-size: .95rem; color: var(--muted); }
.nearby a { color: var(--accent); text-decoration: none; }

@media (max-width: 720px) {
  .zones-grid, .hub-links { grid-template-columns: 1fr; }
}

/* Cabinet de Bertrange fermé : encadré réponse en terracotta */
.answer--closed { border-left-color: var(--warm); }
