/* ============================================================
   styles.css — Cabinet Maître Safia BELAZZOUG
   DA « bordeaux universitaire » validée cliente
   Serif : Cormorant Garamond · Sans : Public Sans
   Mode clair forcé (only light)
   ============================================================ */

/* ── 1. Fondations ─────────────────────────────────────────── */

html {
  color-scheme: only light;
  background: #FAF9F6;
  scroll-behavior: smooth;
}

:root {
  color-scheme: only light;
  --bordeaux: #4A1620;
  --bordeaux-sombre: #350F17;
  --ivoire: #FAF9F6;
  --voile: #F4EDEE;          /* bordeaux à ~4 %, surfaces */
  --encre: #1C1B1A;
  --grege: #7A716B;
  --filet: #E4DCD8;
  --blanc: #FFFFFF;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Public Sans', system-ui, -apple-system, sans-serif;
  --largeur-texte: 1280px;
  --largeur-site: 1440px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--ivoire);
  color: var(--encre);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--bordeaux); }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--bordeaux);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--bordeaux); color: var(--ivoire);
  padding: .6rem 1.2rem; z-index: 100; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ── 2. Typographie ───────────────────────────────────────── */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.005em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }

h1 em, h2 em { font-style: italic; color: var(--bordeaux); }

.eyebrow {
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--bordeaux);
  font-weight: 500;
}
/* Signature graphique : double filet façon acte juridique */
.eyebrow--filet::after {
  content: "";
  display: block;
  width: 46px;
  margin-top: 1.1rem;
  border-top: 1px solid var(--bordeaux);
  border-bottom: 1px solid var(--bordeaux);
  height: 3px;
}
.centre .eyebrow--filet::after { margin-left: auto; margin-right: auto; }

.lede { color: var(--grege); font-size: 1.05rem; }

/* ── 3. Header & navigation ───────────────────────────────── */

.site-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 5vw;
  border-bottom: 1px solid var(--filet);
  background: var(--ivoire);
  position: relative;
  z-index: 50;
}

.logo { text-decoration: none; color: var(--encre); }
.logo .nom {
  font-family: var(--serif);
  font-size: 1.3rem; font-weight: 600;
}
.logo .titre {
  display: block;
  font-family: var(--sans); font-weight: 400;
  font-size: .6rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--bordeaux); margin-top: .12rem;
}

.nav-principale { display: flex; align-items: center; gap: 1.9rem; }
.nav-principale > li { list-style: none; position: relative; }
.nav-principale a {
  color: var(--encre); text-decoration: none;
  font-size: .84rem; letter-spacing: .05em; font-weight: 400;
}
.nav-principale a:hover { color: var(--bordeaux); }
.nav-principale a[aria-current="page"] { color: var(--bordeaux); font-weight: 500; }

.nav-principale .cta-nav {
  color: var(--bordeaux);
  border: 1px solid var(--bordeaux);
  padding: .45rem 1.1rem; border-radius: 2px;
}
.nav-principale .cta-nav:hover { background: var(--bordeaux); color: var(--ivoire); }

/* Sous-menus (les deux branches) */
.sous-menu {
  position: absolute; top: calc(100% + .9rem); left: -1rem;
  min-width: 260px;
  background: var(--blanc);
  border: 1px solid var(--filet);
  border-radius: 2px;
  padding: .7rem 0;
  list-style: none;
  box-shadow: 0 8px 24px rgba(28, 27, 26, .07);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav-principale li:hover > .sous-menu,
.nav-principale li:focus-within > .sous-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.sous-menu li a {
  display: block;
  padding: .5rem 1.3rem;
  font-size: .82rem;
}
.sous-menu li a:hover { background: var(--voile); }
.sous-menu .separateur {
  border-top: 1px solid var(--filet);
  margin: .5rem 0;
}

/* Burger mobile */
.burger {
  display: none;
  background: none;
  border: 1px solid var(--filet);
  border-radius: 2px;
  padding: .5rem .75rem;
  font-size: 1.05rem;
  color: var(--encre);
  cursor: pointer;
}

/* ── 4. Hero ──────────────────────────────────────────────── */

.hero {
  max-width: var(--largeur-site); margin: 0 auto;
  padding: 5.5rem 5vw 4.5rem;
}
.hero.centre { text-align: center; }
.hero h1 { margin: 1.8rem 0 1.3rem; }
.hero .lede { max-width: 760px; margin: 0 0 2.3rem; }
.hero.centre .lede { margin-left: auto; margin-right: auto; }

/* Hero réduit des pages intérieures */
.hero--page { padding: 3.8rem 5vw 3rem; }

/* Hero d'accueil avec portrait */
.hero--portrait {
  max-width: var(--largeur-site);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 3.5rem;
  align-items: center;
  text-align: left;
  padding: 4.5rem 5vw 4rem;
}
.hero--portrait .lede { margin-left: 0; }
.hero--portrait .actions { justify-content: flex-start; }
.hero--portrait .eyebrow--filet::after { margin-left: 0; margin-right: 0; }
.portrait {
  border: 1px solid var(--filet);
  border-radius: 2px;
  padding: .6rem;               /* passe-partout façon tirage encadré */
  background: var(--blanc);
}
.portrait img { border-radius: 1px; }
.portrait figcaption {
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--grege); text-align: center; padding-top: .7rem;
}

.actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.centre .actions { justify-content: center; }

.btn {
  display: inline-block;
  font-size: .82rem; letter-spacing: .08em;
  text-decoration: none; font-weight: 400;
  padding: .85rem 1.9rem; border-radius: 2px;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn--plein { background: var(--bordeaux); color: var(--ivoire); }
.btn--plein:hover { background: var(--bordeaux-sombre); }
.btn--ligne { color: var(--encre); border: 1px solid var(--filet); }
.btn--ligne:hover { border-color: var(--bordeaux); color: var(--bordeaux); }

/* ── 4bis. Entrée du hero au chargement ───────────────────── */
@keyframes entree {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
@keyframes entreePortrait {
  from { opacity: 0; transform: translateY(18px) scale(.975); }
  to   { opacity: 1; transform: none; }
}
.hero .eyebrow,
.hero h1,
.hero .lede,
.hero .actions {
  animation: entree 1.2s cubic-bezier(.16, 1, .3, 1) both;
}
.hero h1      { animation-delay: .18s; }
.hero .lede   { animation-delay: .4s; }
.hero .actions{ animation-delay: .6s; }
.hero .portrait {
  animation: entreePortrait 1.4s cubic-bezier(.16, 1, .3, 1) .45s both;
}
@media (prefers-reduced-motion: reduce) {
  .hero .eyebrow, .hero h1, .hero .lede, .hero .actions, .hero .portrait {
    animation: none;
  }
}

/* ── 5. Bandeau de preuves ────────────────────────────────── */

.preuves {
  border-top: 1px solid var(--filet);
  border-bottom: 1px solid var(--filet);
  background: var(--voile);
}
.preuves ul {
  list-style: none;
  max-width: var(--largeur-site); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.preuves li { padding: 2.2rem 2rem; text-align: center; }
.preuves li + li { border-left: 1px solid var(--filet); }
.preuves .t { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.preuves .d { font-size: .78rem; color: var(--grege); letter-spacing: .04em; margin-top: .3rem; }

/* ── 6. Cartes (publics, situations) ──────────────────────── */

.grille-cartes {
  max-width: var(--largeur-site); margin: 0 auto;
  padding: 4.5rem 5vw;
  display: grid; gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
@media (min-width: 1100px) {
  .grille-cartes { grid-template-columns: repeat(3, 1fr); }
  .grille-cartes--deux {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1060px;
  }
}
.carte {
  border: 1px solid var(--filet); border-radius: 2px;
  padding: 2.3rem 2.1rem;
  background: var(--blanc);
  transition: border-color .18s ease;
}
.carte:hover { border-color: var(--bordeaux); }
.carte h2, .carte h3 { margin-bottom: .7rem; }
.carte p { color: var(--grege); font-size: .92rem; margin-bottom: 1.4rem; }
.carte .lien {
  text-decoration: none; font-size: .82rem;
  letter-spacing: .08em; font-weight: 500;
}
.carte .lien::after { content: " →"; }

/* ── 7. Contenu éditorial (pages problèmes, brèves) ───────── */

.contenu {
  max-width: var(--largeur-texte);
  margin: 0 auto;
  padding: 1rem 5vw 4rem;
}
.contenu h2 { margin: 2.6rem 0 1rem; }
.contenu h3 { margin: 2rem 0 .8rem; }
.contenu p { margin-bottom: 1.1rem; }
.contenu ul, .contenu ol { margin: 0 0 1.1rem 1.3rem; }
.contenu li { margin-bottom: .45rem; }
.contenu strong { font-weight: 500; }

.contenu blockquote {
  border-left: 3px solid var(--bordeaux);
  padding: .3rem 0 .3rem 1.4rem;
  margin: 1.8rem 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--encre);
}

/* Encadré informatif (ex. : délais, textes applicables) */
.encadre {
  background: var(--voile);
  border: 1px solid var(--filet);
  border-radius: 2px;
  padding: 1.5rem 1.7rem;
  margin: 1.8rem 0;
  font-size: .92rem;
}
.encadre .titre-encadre {
  font-family: var(--serif); font-weight: 600; font-size: 1.1rem;
  margin-bottom: .5rem;
}

/* ── 7bis. Parcours (page cabinet) & décisions ────────────── */

.parcours { list-style: none; margin: 2rem 0; }
.parcours li {
  position: relative;
  padding: 0 0 1.8rem 1.9rem;
  border-left: 1px solid var(--filet);
  margin-left: .35rem;
}
.parcours li:last-child { padding-bottom: .2rem; }
.parcours li::before {
  content: "";
  position: absolute; left: -4.5px; top: .45em;
  width: 8px; height: 8px;
  background: var(--bordeaux);
  border-radius: 50%;
}
.parcours .quand {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bordeaux); font-weight: 500;
}
.parcours .quoi { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; margin: .15rem 0 .2rem; }
.parcours .detail { font-size: .9rem; color: var(--grege); }

.decision {
  border: 1px solid var(--filet); border-radius: 2px;
  background: var(--blanc);
  padding: 1.8rem 1.9rem;
  margin: 1.4rem 0;
}
.decision .juridiction {
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bordeaux); font-weight: 500; margin-bottom: .5rem;
}
.decision h3 { margin-bottom: .5rem; }
.decision p { font-size: .92rem; color: var(--encre); margin-bottom: 0; }

/* ── 7ter. Contenu large (pages cabinet/honoraires) ───────── */
.contenu--large { max-width: 860px; }

.portrait--cabinet { max-width: 360px; float: right; margin: 0 0 1.5rem 2.2rem; }
@media (max-width: 720px) {
  .portrait--cabinet { float: none; margin: 0 auto 1.8rem; }
}

.balance-embleme {
  width: 84px; height: 84px;
  color: var(--bordeaux);
  display: block;
  margin: 0 auto 1.6rem;
  opacity: .9;
}

.icone {
  width: 30px; height: 30px;
  color: var(--bordeaux);
  display: block;
  margin-bottom: .95rem;
}
.preuves .balance-embleme {
  width: 84px; height: 84px;
  color: var(--bordeaux);
  display: block;
  margin: 0 auto 1.6rem;
  opacity: .9;
}

.icone { margin: 0 auto .8rem; }

/* ── 7ter-bis. Compteurs ──────────────────────────────────── */
.compteurs {
  max-width: var(--largeur-site);
  margin: 0 auto;
  padding: 4.5rem 5vw 3.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
  gap: 2rem;
}
.compteurs .nombre {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 500;
  color: var(--bordeaux);
  line-height: 1;
}
.compteurs .legende {
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--grege);
  margin-top: .9rem;
}
@media (max-width: 720px) {
  .compteurs { grid-template-columns: 1fr; gap: 2.4rem; padding: 3rem 5vw; }
}

/* ── 7quinquies. Révélation au défilement ─────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s cubic-bezier(.16, 1, .3, 1),
              transform 1s cubic-bezier(.16, 1, .3, 1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .18s; }
.reveal:nth-child(3) { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── 7quater. Bandeau photo parallaxe ─────────────────────── */
.bandeau-parallaxe {
  background-color: var(--bordeaux-sombre);
  background-image:
    linear-gradient(rgba(28, 27, 26, .32), rgba(53, 15, 23, .42)),
    url("/images/bandeau.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--ivoire);
  text-align: center;
  padding: 8rem 5vw;
}
.bandeau-parallaxe .grande {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  line-height: 1.35;
  max-width: 920px;
  margin: 0 auto;
}
.bandeau-parallaxe .sous {
  font-size: .8rem; letter-spacing: .22em; text-transform: uppercase;
  margin-top: 1.6rem; opacity: .8;
}
/* Le parallaxe fixe ne fonctionne pas sur iOS/mobiles : repli en défilement normal */
@media (max-width: 900px), (hover: none) {
  .bandeau-parallaxe { background-attachment: scroll; padding: 4.5rem 5vw; }
}

/* ── 8. Bande CTA ─────────────────────────────────────────── */

/* Variante photo parallaxe (pages intérieures) — compatible tous navigateurs */
.bande-cta--photo {
  background: var(--bordeaux-sombre);
}
.bande-cta--photo::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -25%; bottom: -25%;
  z-index: 0;
  background-image:
    linear-gradient(rgba(42, 12, 19, .58), rgba(42, 12, 19, .66)),
    url("/images/bandeau.jpg");
  background-size: cover;
  background-position: center;
  transform: translateY(var(--parallaxe, 0px));
  will-change: transform;
}
.bande-cta--photo::after { display: none; }  /* la Thémis est dans la photo */
@media (prefers-reduced-motion: reduce) {
  .bande-cta--photo::before { transform: none; }
}

.bande-cta {
  background: var(--bordeaux);
  color: var(--ivoire);
  text-align: center;
  padding: 3.8rem 5vw;
  position: relative;
  overflow: hidden;
}
.bande-cta::after {
  content: "";
  position: absolute;
  right: -50px; bottom: -70px;
  width: 400px; height: 400px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 96' fill='none' stroke='%23FAF9F6' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M48 14v58M34 76h28M30 80h36'/%3E%3Ccircle cx='48' cy='11' r='3'/%3E%3Cpath d='M20 24h56'/%3E%3Cpath d='M20 24v6M14 42l6-18 6 18M76 24v6M70 42l6-18 6 18'/%3E%3Cpath d='M13 42a7.2 7.2 0 0 0 14 0ZM69 42a7.2 7.2 0 0 0 14 0Z'/%3E%3Cpath d='M44 24h8' stroke-width='2'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: .09;
  pointer-events: none;
}
.bande-cta > * { position: relative; z-index: 1; }
@media (max-width: 720px) {
  .bande-cta::after { width: 260px; height: 260px; right: -60px; bottom: -50px; }
}
.bande-cta h2 { color: var(--ivoire); margin-bottom: .8rem; }
.bande-cta p { max-width: 540px; margin: 0 auto 1.8rem; opacity: .85; font-size: .95rem; }
.bande-cta .btn--plein {
  background: var(--ivoire); color: var(--bordeaux);
}
.bande-cta .btn--plein:hover { background: var(--blanc); }

/* ── 9. Fil d'Ariane ──────────────────────────────────────── */

.ariane {
  max-width: var(--largeur-site); margin: 0 auto;
  padding: 1.1rem 5vw 0;
  font-size: .74rem; letter-spacing: .04em;
  color: var(--grege);
}
.ariane a { color: var(--grege); text-decoration: none; }
.ariane a:hover { color: var(--bordeaux); }
.ariane .sep { margin: 0 .5rem; }

/* ── 10. Formulaire (placeholder, à brancher plus tard) ───── */

.formulaire { display: grid; gap: 1.1rem; max-width: 520px; }
.formulaire label {
  font-size: .78rem; letter-spacing: .06em;
  text-transform: uppercase; font-weight: 500;
  display: block; margin-bottom: .35rem;
}
.formulaire input,
.formulaire textarea {
  width: 100%;
  background: var(--blanc);
  border: 1px solid var(--filet);
  border-radius: 2px;
  padding: .8rem 1rem;
  font-family: var(--sans); font-size: .95rem;
  color: var(--encre);
}
.formulaire input:focus,
.formulaire textarea:focus {
  outline: none; border-color: var(--bordeaux);
}
.formulaire .rgpd { font-size: .76rem; color: var(--grege); }

/* ── 11. Pied de page ─────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--filet);
  padding: 3rem 5vw 2.4rem;
  max-width: var(--largeur-site); margin: 0 auto;
}
.site-footer .colonnes {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 2.2rem;
}
.site-footer h3 {
  font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
  font-family: var(--sans); font-weight: 500; color: var(--bordeaux);
  margin-bottom: .8rem;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { color: var(--encre); text-decoration: none; font-size: .84rem; }
.site-footer a:hover { color: var(--bordeaux); }
.site-footer .nap { font-size: .84rem; color: var(--grege); font-style: normal; }
.site-footer .nap strong { color: var(--encre); font-weight: 500; }
.contact-email { overflow-wrap: anywhere; }
.site-footer .legal {
  border-top: 1px solid var(--filet);
  padding-top: 1.4rem;
  font-size: .74rem; color: var(--grege);
  display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between;
}
.site-footer .legal a { font-size: .74rem; color: var(--grege); }

/* ── 12. Responsive ───────────────────────────────────────── */

@media (max-width: 860px) {
  .nav-principale {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivoire);
    border-bottom: 1px solid var(--filet);
    padding: .5rem 0 1rem;
  }
  .nav-principale.ouvert { display: flex; }
  .nav-principale > li > a {
    display: block; padding: .85rem 5vw;
    font-size: .95rem;
  }
  .nav-principale .cta-nav {
    margin: .6rem 5vw 0; text-align: center; display: block;
  }
  /* En mobile, les sous-menus sont dépliés à plat */
  .sous-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: var(--voile);
    min-width: 0; padding: .3rem 0;
  }
  .sous-menu li a { padding: .55rem calc(5vw + 1.2rem); }
  .burger { display: block; }

  .hero { padding: 3.8rem 5vw 3.4rem; }
  .hero--portrait {
    grid-template-columns: 1fr;
    gap: 2.4rem;
    text-align: center;
    padding-top: 3.2rem;
  }
  .hero--portrait .actions { justify-content: center; }
  .hero--portrait .eyebrow--filet::after { margin-left: auto; margin-right: auto; }
  .hero--portrait .lede { margin-left: auto; margin-right: auto; }
  .portrait { max-width: 380px; margin: 0 auto; }
  .preuves ul { grid-template-columns: 1fr; }
  .preuves li + li { border-left: none; border-top: 1px solid var(--filet); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Pages locales, secteurs et navigation géographique */
.logo { flex-shrink:0; }
.nav-principale > li > a { white-space:nowrap; }
@media(min-width:861px) and (max-width:1040px) {
 .nav-principale { display:none; position:absolute; top:100%; left:0; right:0; flex-direction:column; align-items:stretch; gap:0; background:var(--ivoire); border-bottom:1px solid var(--filet); padding:.5rem 0 1rem; }
 .nav-principale.ouvert { display:flex; }
 .nav-principale > li > a { display:block; padding:.85rem 5vw; font-size:.95rem; }
 .nav-principale .cta-nav { margin:.6rem 5vw 0; text-align:center; display:block; }
 .sous-menu { position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; border:none; background:var(--voile); min-width:0; padding:.3rem 0; }
 .sous-menu li a { padding:.55rem calc(5vw + 1.2rem); }
 .burger { display:block; }
}
.seo-content { max-width: 960px; }
.seo-topic-grid article { border:1px solid var(--filet); padding:1.3rem; background:var(--voile); min-width:0; }
.seo-topic-grid article h3 { margin:0 0 .8rem; }
.seo-topic-grid article a { display:inline; padding:0; border:0; background:none; }
.seo-topic-grid article p { font-size:.9rem; margin:0; }
.seo-reference { border-top:1px solid var(--filet); margin-top:2.5rem; padding-top:1rem; }
.seo-documents { padding-left:1.3rem; }
.seo-documents li { margin-bottom:.6rem; }
.seo-hero .lede { max-width: 850px; }
.seo-actions { margin-top: 1.8rem; flex-wrap: wrap; }
.seo-summary { padding: 1.6rem 1.8rem; border-left: 3px solid var(--bordeaux); background: var(--voile); margin: 0 0 2rem; }
.seo-summary p:last-child { margin-bottom: 0; }
.seo-toc { display:flex; flex-wrap:wrap; gap:.7rem 1.3rem; border-bottom:1px solid var(--filet); padding-bottom:1.4rem; margin-bottom:2.5rem; font-size:.9rem; }
.seo-content h3 { font-size:1.35rem; margin:1.8rem 0 .8rem; }
.seo-content section { scroll-margin-top:1.5rem; }
.seo-facts { display:grid; grid-template-columns:1fr 1fr; gap:1rem; padding:1.4rem; background:var(--voile); margin:1.5rem 0; }
.seo-facts div { min-width:0; }
.seo-facts dt { font-weight:500; font-size:.8rem; color:var(--bordeaux); margin-bottom:.4rem; }
.seo-facts dd { margin:0; font-size:.9rem; }
.seo-city-links { list-style:none; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.65rem 1.1rem; padding:0!important; margin:1.5rem 0!important; }
.seo-city-links li { min-width:0; border-bottom:1px solid var(--filet); padding:.55rem 0; margin:0!important; }
.seo-city-links a { overflow-wrap:anywhere; }
.seo-postal { display:block; font-size:.75rem; color:var(--grege); margin-top:.2rem; }
.seo-topic-grid { display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin:1.5rem 0; }
.seo-topic-grid a { padding:1rem; border:1px solid var(--filet); background:var(--voile); }
.seo-related { margin:3rem 0 1rem; border-top:1px solid var(--filet); padding-top:1.5rem; }
.seo-home-local { max-width:1100px; margin:0 auto; padding:3rem 5vw; }
.seo-faq { margin-top:3rem; }
.seo-faq details { border-bottom:1px solid var(--filet); padding:1rem 0; }
.seo-faq summary { cursor:pointer; color:var(--bordeaux); }
.seo-faq summary h3 { display:inline; font-size:1.15rem; margin:0; }
.seo-faq details p { margin:1rem 0 .3rem; }
.seo-sources { border-top:1px solid var(--filet); margin-top:2rem; padding-top:1rem; font-size:.8rem; color:var(--grege); }
.seo-editor { margin-top:2rem; font-size:.78rem; color:var(--grege); }
.seo-editor p { margin:.2rem 0; }
.seo-search { margin:2rem 0 3rem; }
.seo-search label { display:block; margin-bottom:.6rem; font-weight:500; }
.seo-search input { width:100%; padding:1rem; font:inherit; border:1px solid var(--filet); background:var(--blanc); border-radius:2px; }
.seo-search input:focus { outline:2px solid var(--bordeaux); outline-offset:2px; }
.seo-search p { font-size:.82rem; margin-top:.5rem; }
.seo-directory-group[hidden], .seo-city-links li[hidden] { display:none!important; }
@media(max-width:700px) {
 .seo-facts,.seo-topic-grid { grid-template-columns:1fr; }
 .seo-city-links { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .seo-summary { padding:1.2rem; }
 .seo-actions .btn { white-space:normal; text-align:center; }
}
@media(max-width:390px) { .seo-city-links { grid-template-columns:1fr; } }
