/* Resilibre — site public, piste « Lettre ». Les couleurs et tailles viennent de
   tokens.css (jetons --rl-*). Polices auto-hébergées, sous licence SIL OFL 1.1. */

@font-face {
  font-family: "Literata";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("/fonts/literata-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url("/fonts/figtree-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--rl-papier);
  color: var(--rl-encre);
  font-family: var(--rl-police-texte);
  font-size: var(--rl-taille-texte);
  line-height: var(--rl-interligne-texte);
}

h1, h2, h3 {
  font-family: var(--rl-police-titre);
  line-height: var(--rl-interligne-titre);
  font-weight: 700;
  margin: 0 0 var(--rl-espace-4);
  text-wrap: balance;
}
h1 { font-size: clamp(32px, 6vw, var(--rl-taille-h1)); }
h2 { font-size: clamp(24px, 4.5vw, var(--rl-taille-h2)); margin-top: var(--rl-espace-7); }
h3 { font-size: var(--rl-taille-h3); font-weight: 600; margin-top: var(--rl-espace-6); }

p { margin: 0 0 var(--rl-espace-4); }

a { color: var(--rl-sapin); text-underline-offset: 3px; }
a:hover { color: var(--rl-sapin-fonce); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--rl-sapin);
  outline-offset: 2px;
  border-radius: var(--rl-rayon-petit);
}

.conteneur {
  max-width: var(--rl-largeur-page);
  margin: 0 auto;
  padding: 0 var(--rl-espace-4);
}
.texte { max-width: var(--rl-largeur-texte); }

/* En-tête */
.entete {
  border-bottom: 1px solid var(--rl-filet);
  background: var(--rl-papier);
}
.entete .conteneur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.entete__logo { display: inline-flex; line-height: 0; }
.entete__logo svg { width: 200px; height: auto; }
.logo-mot { fill: var(--rl-encre); }
.logo-cadre { fill: var(--rl-feuille); stroke: var(--rl-encre); }
.logo-coche { stroke: var(--rl-sapin); }

/* Contenu */
main { padding: var(--rl-espace-7) 0 var(--rl-espace-8); }

.chapeau {
  font-size: var(--rl-taille-chapeau);
  color: var(--rl-encre);
}
.verifie {
  display: inline-block;
  background: var(--rl-sapin-clair);
  color: var(--rl-sapin-fonce);
  font-size: var(--rl-taille-label);
  font-weight: 600;
  padding: var(--rl-espace-1) var(--rl-espace-3);
  border-radius: var(--rl-rayon-pastille);
  margin-bottom: var(--rl-espace-5);
}
.avertissement {
  border-left: 4px solid var(--rl-brique);
  background: var(--rl-feuille);
  padding: var(--rl-espace-4) var(--rl-espace-5);
  border-radius: var(--rl-rayon-petit);
  margin: var(--rl-espace-5) 0;
}
.adresse {
  background: var(--rl-feuille);
  border: 1px solid var(--rl-filet);
  border-radius: var(--rl-rayon-carte);
  box-shadow: var(--rl-ombre-lettre);
  padding: var(--rl-espace-5);
  margin: var(--rl-espace-5) 0;
  white-space: pre-line;
  font-size: var(--rl-taille-chapeau);
}
.source {
  font-size: var(--rl-taille-petit);
  color: var(--rl-encre-2);
}
.mention {
  font-size: var(--rl-taille-petit);
  color: var(--rl-encre-2);
  border-top: 1px solid var(--rl-filet);
  padding-top: var(--rl-espace-4);
  margin-top: var(--rl-espace-7);
}
.vide {
  color: var(--rl-encre-2);
  font-style: italic;
}

/* Pied de page */
.pied {
  border-top: 1px solid var(--rl-filet);
  padding: var(--rl-espace-6) 0 var(--rl-espace-7);
  font-size: var(--rl-taille-petit);
  color: var(--rl-encre-2);
}
.pied p { margin-bottom: var(--rl-espace-3); }
.pied ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--rl-espace-2) var(--rl-espace-5);
}
.pied a { color: var(--rl-encre-2); }
.pied a:hover { color: var(--rl-encre); }

/* Menu de l'en-tête : pages piliers (plan §6 bis.4, règle 5) */
.entete__menu { display: flex; flex-wrap: wrap; gap: var(--rl-espace-2) var(--rl-espace-5); margin: 0; padding: 0; list-style: none; font-size: var(--rl-taille-petit); font-weight: 600; }
.entete__menu a { color: var(--rl-encre); text-decoration: none; }
.entete__menu a:hover, .entete__menu a[aria-current="page"] { color: var(--rl-sapin); text-decoration: underline; }
@media (max-width: 640px) {
  .entete .conteneur { flex-direction: column; align-items: flex-start; gap: var(--rl-espace-2); padding-top: var(--rl-espace-3); padding-bottom: var(--rl-espace-3); }
  .entete__logo svg { width: 160px; }
}

/* Outils (lot 2) : calculateur, recherche de commune, lettre */
.outil {
  background: var(--rl-feuille);
  border: 1px solid var(--rl-filet);
  border-radius: var(--rl-rayon-carte);
  padding: var(--rl-espace-5);
  margin: var(--rl-espace-5) 0;
  max-width: var(--rl-largeur-texte);
}
.outil fieldset { border: 0; padding: 0; margin: 0; }
.champ { margin-bottom: var(--rl-espace-5); }
.champ > label, .champ legend { display: block; font-weight: 600; margin-bottom: var(--rl-espace-2); }
.champ .facultatif { font-weight: 400; color: var(--rl-encre-2); }
.aide { font-size: var(--rl-taille-petit); color: var(--rl-encre-2); margin: 0 0 var(--rl-espace-2); }
.outil input[type="text"], .outil input[type="date"], .outil input[type="search"], .outil select, .outil textarea {
  width: 100%;
  max-width: 100%;
  min-height: var(--rl-hauteur-cible);
  padding: var(--rl-espace-2) var(--rl-espace-3);
  font: inherit;
  color: var(--rl-encre);
  background: var(--rl-feuille);
  border: 1px solid var(--rl-bord-champ);
  border-radius: var(--rl-rayon-petit);
}
.outil textarea { min-height: 96px; resize: vertical; }
.outil input:focus-visible, .outil select:focus-visible, .outil textarea:focus-visible {
  outline: 3px solid var(--rl-sapin);
  outline-offset: 1px;
}
.choix { display: flex; gap: var(--rl-espace-2); align-items: flex-start; margin-bottom: var(--rl-espace-2); font-weight: 400; cursor: pointer; }
.choix input { margin-top: 5px; accent-color: var(--rl-sapin); }
.erreur { color: var(--rl-brique); font-weight: 600; font-size: var(--rl-taille-petit); margin: var(--rl-espace-2) 0 0; }
.champ--erreur input, .champ--erreur select, .champ--erreur textarea { border-color: var(--rl-brique); }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.grille-2 { display: grid; gap: 0 var(--rl-espace-5); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.boutons { display: flex; flex-wrap: wrap; gap: var(--rl-espace-3); align-items: center; margin-top: var(--rl-espace-5); }
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--rl-hauteur-cible);
  padding: var(--rl-espace-2) var(--rl-espace-5);
  font: inherit;
  font-weight: 700;
  color: var(--rl-sur-action);
  background: var(--rl-sapin);
  border: 2px solid var(--rl-sapin);
  border-radius: var(--rl-rayon-petit);
  text-decoration: none;
  cursor: pointer;
}
.bouton:hover { background: var(--rl-sapin-fonce); border-color: var(--rl-sapin-fonce); color: var(--rl-sur-action); }
.bouton--second { background: transparent; color: var(--rl-sapin); }
.bouton--second:hover { background: var(--rl-sapin-clair); color: var(--rl-sapin-fonce); }

.resultat {
  background: var(--rl-feuille);
  border: 1px solid var(--rl-filet);
  border-radius: var(--rl-rayon-carte);
  box-shadow: var(--rl-ombre-lettre);
  padding: var(--rl-espace-5);
  margin: var(--rl-espace-5) 0;
  max-width: var(--rl-largeur-texte);
}
.resultat__duree { font-family: var(--rl-police-titre); font-size: clamp(28px, 5vw, 38px); font-weight: 700; margin: 0 0 var(--rl-espace-3); }
.dates { display: grid; gap: var(--rl-espace-4); margin: var(--rl-espace-5) 0; padding: 0; list-style: none; }
.dates li { border-top: 1px solid var(--rl-filet); padding-top: var(--rl-espace-3); }
.dates__libelle { display: block; font-size: var(--rl-taille-petit); color: var(--rl-encre-2); }
.dates__valeur { font-size: var(--rl-taille-chapeau); font-weight: 700; }
/* Brique réservée au cachet de la date limite (piste « Lettre ») */
.cachet {
  display: inline-block;
  color: var(--rl-brique);
  border: 2px solid var(--rl-brique);
  border-radius: var(--rl-rayon-petit);
  padding: 0 var(--rl-espace-2);
  transform: rotate(-1deg);
}
.regles { font-size: var(--rl-taille-label); color: var(--rl-encre-2); }
.a-verifier {
  border-left: 4px solid var(--rl-encre-2);
  background: var(--rl-papier);
  padding: var(--rl-espace-3) var(--rl-espace-4);
  border-radius: var(--rl-rayon-petit);
  margin: var(--rl-espace-4) 0;
  font-size: var(--rl-taille-petit);
}
.a-verifier strong { display: block; margin-bottom: var(--rl-espace-1); }
.a-verifier ul { margin: 0; padding-left: var(--rl-espace-5); }

/* Repères de rédaction (lot 4) : visibles tant que la page est en noindex */
.a-rediger {
  border: 2px dashed var(--rl-bord-champ);
  border-radius: var(--rl-rayon-petit);
  padding: var(--rl-espace-3) var(--rl-espace-4);
  margin: var(--rl-espace-3) 0 var(--rl-espace-5);
  color: var(--rl-encre-2);
  font-size: var(--rl-taille-petit);
}
.a-rediger strong { color: var(--rl-encre); }
.communes { columns: 3 200px; padding-left: var(--rl-espace-5); font-size: var(--rl-taille-petit); }
details { margin-bottom: var(--rl-espace-2); }
summary { cursor: pointer; font-weight: 600; }
table.listes { border-collapse: collapse; width: 100%; font-size: var(--rl-taille-petit); margin: var(--rl-espace-4) 0; }
table.listes th, table.listes td { text-align: left; vertical-align: top; padding: var(--rl-espace-2); border-bottom: 1px solid var(--rl-filet); }
.tableau-defilant { overflow-x: auto; }
/* Tableau comparatif : coche verte ou croix brique devant la réponse. */
table.comparatif thead th { color: var(--rl-sapin-fonce); font-size: var(--rl-taille-texte); }
table.comparatif td.comparatif__oui::before, table.comparatif td.comparatif__non::before { display: inline-block; width: 1.4em; font-weight: 800; }
table.comparatif td.comparatif__oui::before { content: "✓"; color: var(--rl-sapin); }
table.comparatif td.comparatif__non::before { content: "✗"; color: var(--rl-brique); }
.champ input + input { margin-top: var(--rl-espace-2); }
.dates .aide { display: block; margin: var(--rl-espace-1) 0 0; }
.outil > h3:first-of-type, .outil > p + h3 { margin-top: 0; }

/* Textes des pages piliers (lot 4) : exemple chiffré, frise du préavis, FAQ, sources. */
.exemple {
  background: var(--rl-sapin-clair);
  border-radius: var(--rl-rayon-carte);
  padding: var(--rl-espace-4) var(--rl-espace-5);
  margin: var(--rl-espace-5) 0;
}
.exemple > strong:first-child { display: block; margin-bottom: var(--rl-espace-2); }
.exemple p { margin: 0 0 var(--rl-espace-2); }
.exemple p:last-child { margin-bottom: 0; }
.frise {
  list-style: none;
  padding: 0;
  margin: var(--rl-espace-5) 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--rl-espace-3);
}
.frise li { border-top: 3px solid var(--rl-bord-champ); padding-top: var(--rl-espace-3); }
.frise li:nth-child(2) { border-top-color: var(--rl-sapin); }
.frise li:nth-child(3) { border-top-color: var(--rl-brique); }
.frise strong { display: block; }
.frise span { color: var(--rl-encre-2); font-size: var(--rl-taille-petit); }
.modele-lettre {
  background: var(--rl-feuille);
  border: 1px solid var(--rl-filet);
  border-radius: var(--rl-rayon-petit);
  padding: var(--rl-espace-4) var(--rl-espace-5);
  margin: var(--rl-espace-4) 0;
}
.faq details {
  background: var(--rl-feuille);
  border: 1px solid var(--rl-filet);
  border-radius: var(--rl-rayon-carte);
  padding: var(--rl-espace-3) var(--rl-espace-4);
  margin-bottom: var(--rl-espace-3);
}
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { margin: var(--rl-espace-3) 0 0; }
.sources { border-top: 1px solid var(--rl-filet); margin-top: var(--rl-espace-7); padding-top: var(--rl-espace-4); font-size: var(--rl-taille-petit); color: var(--rl-encre-2); }
.sources ul { padding-left: var(--rl-espace-5); }
@media (max-width: 640px) { .frise { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------------------
   En-tête des pages de contenu, chiffres clés, encart d'envoi, illustrations
   (piste « Lettre » : papier, encre, sapin pour l'action, brique pour le cachet)
   --------------------------------------------------------------------------- */
main:has(> .conteneur > .hero) { padding-top: var(--rl-espace-5); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: var(--rl-espace-6);
  align-items: center;
  background: var(--rl-feuille);
  border: 1px solid var(--rl-filet);
  border-radius: 16px;
  box-shadow: var(--rl-ombre-lettre);
  padding: var(--rl-espace-6) var(--rl-espace-7);
  margin-bottom: var(--rl-espace-5);
}
.hero h1 { margin: var(--rl-espace-3) 0 var(--rl-espace-3); }
.hero .chapeau { margin-bottom: var(--rl-espace-5); }
.hero .verifie { display: block; background: none; padding: 0; margin: 0 0 var(--rl-espace-3); font-weight: 400; color: var(--rl-encre-2); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--rl-espace-3) var(--rl-espace-4); }
.hero__prix { color: var(--rl-encre-2); font-size: var(--rl-taille-petit); }
.hero__prix strong { color: var(--rl-encre); font-size: var(--rl-taille-texte); }
.hero__gratuit { margin: var(--rl-espace-3) 0 0; font-size: var(--rl-taille-petit); color: var(--rl-encre-2); }
.hero__visuel svg { width: 100%; height: auto; display: block; }

.fil ol { display: flex; flex-wrap: wrap; gap: var(--rl-espace-1) var(--rl-espace-2); margin: 0; padding: 0; list-style: none; font-size: var(--rl-taille-label); color: var(--rl-encre-2); }
.fil li + li::before { content: "›"; margin-right: var(--rl-espace-2); color: var(--rl-bord-champ); }
.fil a { color: var(--rl-encre-2); }
.fil a:hover { color: var(--rl-sapin); }

.bouton--grand { min-height: 56px; padding: var(--rl-espace-3) var(--rl-espace-6); font-size: 18px; border-radius: 10px; box-shadow: 0 6px 16px rgba(45, 106, 79, 0.28); gap: var(--rl-espace-2); }
.bouton--grand:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(45, 106, 79, 0.34); }
.bouton--envoi { gap: var(--rl-espace-2); box-shadow: 0 4px 12px rgba(45, 106, 79, 0.25); }
.bouton__icone { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; flex: none; }

.chiffres {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: var(--rl-espace-4);
  list-style: none;
  padding: 0;
  margin: 0 0 var(--rl-espace-7);
}
.chiffres li {
  background: var(--rl-sapin-clair);
  border-radius: var(--rl-rayon-carte);
  padding: var(--rl-espace-4) var(--rl-espace-5);
  border-top: 4px solid var(--rl-sapin);
}
.chiffres strong { display: block; font-family: var(--rl-police-titre); font-size: 30px; line-height: 1.15; color: var(--rl-sapin-fonce); }
.chiffres span { display: block; margin-top: var(--rl-espace-1); font-size: var(--rl-taille-petit); color: var(--rl-encre); }

.encart-envoi {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: var(--rl-espace-5);
  align-items: center;
  background: var(--rl-sapin-clair);
  border: 2px solid var(--rl-sapin);
  border-radius: 14px;
  padding: var(--rl-espace-5) var(--rl-espace-6);
  margin: var(--rl-espace-6) 0;
}
.encart-envoi__visuel { width: 120px; height: auto; }
.encart-envoi__titre { font-family: var(--rl-police-titre); font-size: var(--rl-taille-h3); font-weight: 700; margin: 0 0 var(--rl-espace-3); }
.encart-envoi ul { margin: 0 0 var(--rl-espace-5); padding: 0; list-style: none; }
.encart-envoi li { position: relative; padding-left: 28px; margin-bottom: var(--rl-espace-2); }
.encart-envoi li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 14px; height: 8px; border-left: 3px solid var(--rl-sapin); border-bottom: 3px solid var(--rl-sapin); transform: rotate(-45deg); }

.illu-fond { fill: var(--rl-sapin-clair); }
.illu-trait { fill: none; stroke: var(--rl-encre); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.illu-papier { fill: var(--rl-feuille); }
.illu-ombre { filter: drop-shadow(0 6px 10px rgba(27, 43, 36, 0.12)); }
.illu-ligne { fill: none; stroke: var(--rl-bord-champ); stroke-width: 4; stroke-linecap: round; }
.illu-accent { fill: none; stroke: var(--rl-sapin); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.illu-cachet rect, .illu-cachet circle { fill: none; stroke: var(--rl-brique); stroke-width: 3; }
.illu-cachet text { fill: var(--rl-brique); font-family: var(--rl-police-texte); font-weight: 800; font-size: 14px; letter-spacing: 1.5px; }
.illu-cachet .illu-cachet-gros, .encart-envoi .illu-cachet text { font-size: 18px; }
.illu-cachet--plein circle:first-child { fill: var(--rl-feuille); }

@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding: var(--rl-espace-5) var(--rl-espace-4); gap: var(--rl-espace-4); }
  .hero__visuel { display: none; }
  .bouton--grand { width: 100%; }
  .encart-envoi { grid-template-columns: minmax(0, 1fr); padding: var(--rl-espace-5) var(--rl-espace-4); }
  .encart-envoi__visuel { width: 96px; }
  .chiffres strong { font-size: 26px; }
}

/* Page Tarifs */
.tarifs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--rl-espace-5); margin: var(--rl-espace-6) 0; }
.tarif { background: var(--rl-feuille); border: 1px solid var(--rl-filet); border-radius: 14px; padding: var(--rl-espace-5); display: flex; flex-direction: column; }
.tarif--envoi { border: 2px solid var(--rl-sapin); box-shadow: var(--rl-ombre-lettre); }
.tarif__nom { font-weight: 700; margin: 0; }
.tarif__prix { font-family: var(--rl-police-titre); font-size: 40px; font-weight: 700; margin: var(--rl-espace-2) 0 var(--rl-espace-4); color: var(--rl-sapin-fonce); }
.tarif__prix span { font-family: var(--rl-police-texte); font-size: var(--rl-taille-petit); font-weight: 400; color: var(--rl-encre-2); }
.tarif ul { padding-left: var(--rl-espace-5); margin: 0 0 var(--rl-espace-5); flex: 1; }
.tarif .bouton { align-self: flex-start; }

/* ---------------------------------------------------------------------------
   Accueil
   --------------------------------------------------------------------------- */
.hero--accueil h1 { font-size: clamp(34px, 6vw, 52px); margin-top: 0; }
.outils-rapides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--rl-espace-4); margin: 0 0 var(--rl-espace-8); }
.outil-rapide {
  display: flex; flex-direction: column; gap: var(--rl-espace-2);
  background: var(--rl-feuille); border: 1px solid var(--rl-filet); border-radius: 14px;
  border-top: 4px solid var(--rl-sapin);
  padding: var(--rl-espace-5); color: var(--rl-encre); text-decoration: none;
}
a.outil-rapide:hover { box-shadow: var(--rl-ombre-lettre); border-color: var(--rl-sapin); }
.outil-rapide__titre { font-family: var(--rl-police-titre); font-size: 20px; font-weight: 700; line-height: 1.25; }
.outil-rapide__texte { font-size: var(--rl-taille-petit); color: var(--rl-encre-2); flex: 1; }
.outil-rapide__lien { font-weight: 700; color: var(--rl-sapin); }
.outil-rapide__champ { display: flex; gap: var(--rl-espace-2); }
.outil-rapide__champ input {
  flex: 1; min-width: 0; min-height: var(--rl-hauteur-cible); padding: 0 var(--rl-espace-3);
  font: inherit; color: var(--rl-encre); background: var(--rl-papier);
  border: 1px solid var(--rl-bord-champ); border-radius: var(--rl-rayon-petit);
}
.outil-rapide__champ input:focus-visible { outline: 3px solid var(--rl-sapin-clair); border-color: var(--rl-sapin); }
.outil-rapide__champ .bouton { padding: 0 var(--rl-espace-4); }

.bloc-accueil { margin: 0 0 var(--rl-espace-8); }
.bloc-accueil > h2 { margin-bottom: var(--rl-espace-5); }
.etapes-accueil { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--rl-espace-5); list-style: none; padding: 0; margin: 0; counter-reset: none; }
.etapes-accueil li { display: flex; flex-direction: column; gap: var(--rl-espace-2); border-top: 3px solid var(--rl-filet); padding-top: var(--rl-espace-4); }
.etapes-accueil li:nth-child(2) { border-top-color: var(--rl-sapin); }
.etapes-accueil li:nth-child(3) { border-top-color: var(--rl-brique); }
.etapes-accueil strong { font-size: var(--rl-taille-chapeau); }
.etapes-accueil span:last-child { color: var(--rl-encre-2); }
.etapes-accueil__numero {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border-radius: 50%; background: var(--rl-sapin-clair); color: var(--rl-sapin-fonce);
  font-family: var(--rl-police-titre); font-weight: 700; font-size: 18px;
}

.rubriques { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--rl-espace-5); }
.rubrique { background: var(--rl-feuille); border: 1px solid var(--rl-filet); border-radius: 14px; padding: var(--rl-espace-5); }
.rubrique__visuel { width: 120px; height: auto; float: right; margin: 0 0 var(--rl-espace-3) var(--rl-espace-4); }
.rubrique h3 { margin: 0 0 var(--rl-espace-2); }
.rubrique p { color: var(--rl-encre-2); font-size: var(--rl-taille-petit); }
.rubrique ul { clear: both; list-style: none; padding: 0; margin: var(--rl-espace-3) 0 0; display: grid; gap: var(--rl-espace-2); }
.rubrique li a { font-weight: 600; }

.confiance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--rl-espace-5); list-style: none; padding: 0; margin: 0 0 var(--rl-espace-4); }
.confiance li { display: flex; flex-direction: column; gap: var(--rl-espace-2); padding-left: var(--rl-espace-5); border-left: 3px solid var(--rl-sapin); }
.confiance span { color: var(--rl-encre-2); font-size: var(--rl-taille-petit); }

@media (max-width: 900px) {
  .outils-rapides, .etapes-accueil, .confiance { grid-template-columns: minmax(0, 1fr); }
  .rubriques { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .rubrique__visuel { width: 88px; }
}

/* Frise des dates des exemples */
.frise-dates { margin: calc(-1 * var(--rl-espace-2)) 0 var(--rl-espace-6); }
.frise-dates ol { display: flex; align-items: stretch; gap: 0; list-style: none; padding: 0; margin: 0; }
.frise-dates__etape { flex: 0 1 190px; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: var(--rl-espace-3); background: var(--rl-feuille); border: 1px solid var(--rl-filet); border-top: 4px solid var(--rl-sapin); border-radius: var(--rl-rayon-petit); }
.frise-dates__etape--fin { border-top-color: var(--rl-brique); }
.frise-dates__etape time { font-size: var(--rl-taille-label); font-weight: 700; color: var(--rl-sapin-fonce); text-transform: capitalize; }
.frise-dates__etape--fin time { color: var(--rl-brique); }
.frise-dates__etape strong { font-size: var(--rl-taille-petit); line-height: 1.3; }
.frise-dates__etape span { font-size: var(--rl-taille-label); color: var(--rl-encre-2); line-height: 1.3; }
.frise-dates__ecart { flex: 1 1 40px; min-width: 40px; display: flex; align-items: center; justify-content: center; position: relative; }
.frise-dates__ecart::before { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; border-top: 2px dashed var(--rl-bord-champ); }
.frise-dates__ecart span { position: relative; background: var(--rl-papier); padding: 0 var(--rl-espace-2); font-size: var(--rl-taille-label); font-weight: 700; color: var(--rl-encre-2); white-space: nowrap; }
.frise-dates__autre { margin: var(--rl-espace-3) 0 0; padding: var(--rl-espace-2) var(--rl-espace-3); border: 1px dashed var(--rl-brique); border-radius: var(--rl-rayon-petit); font-size: var(--rl-taille-petit); color: var(--rl-encre-2); }
.frise-dates__autre time { text-transform: capitalize; }
@media (max-width: 640px) {
  .frise-dates ol { flex-direction: column; }
  .frise-dates__etape { flex-basis: auto; }
  .frise-dates__ecart { min-height: 34px; }
  .frise-dates__ecart::before { left: 50%; right: auto; top: 2px; bottom: 2px; border-top: 0; border-left: 2px dashed var(--rl-bord-champ); }
}

/* Lettre de préavis annotée */
.lettre-annotee { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--rl-espace-6); align-items: start; margin: var(--rl-espace-6) 0; max-width: 980px; }
.lettre-annotee__feuille { background: #fff; color: #1B2B24; border: 1px solid var(--rl-filet); border-radius: 4px; box-shadow: var(--rl-ombre-lettre); padding: var(--rl-espace-6) var(--rl-espace-6) var(--rl-espace-5); font-family: var(--rl-police-titre); font-size: 13px; line-height: 1.5; }
.lettre-annotee__feuille p { margin: 0 0 var(--rl-espace-3); }
.lettre-annotee__droite { margin-left: 45% !important; }
.lettre-annotee__bloc { position: relative; }
.repere { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--rl-brique); color: #fff; font-family: var(--rl-police-texte); font-size: 12px; font-weight: 800; margin-right: 6px; vertical-align: 1px; }
.lettre-annotee__legende { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--rl-espace-3); }
.lettre-annotee__legende li { display: flex; gap: var(--rl-espace-2); align-items: flex-start; }
.lettre-annotee__legende li .repere { margin-top: 2px; }
.lettre-annotee__legende strong { display: block; }
.lettre-annotee__legende span:not(.repere) { font-size: var(--rl-taille-petit); color: var(--rl-encre-2); }
.lettre-annotee figcaption { grid-column: 1 / -1; font-size: var(--rl-taille-label); color: var(--rl-encre-2); }
@media (max-width: 860px) {
  .lettre-annotee { grid-template-columns: minmax(0, 1fr); }
  .lettre-annotee__feuille { padding: var(--rl-espace-5) var(--rl-espace-4); }
  .lettre-annotee__droite { margin-left: 25% !important; }
}

/* Carte des zones tendues */
.carte-zone-tendue { margin: var(--rl-espace-5) 0 var(--rl-espace-6); max-width: 620px; }
.carte-zone-tendue img { width: 100%; height: auto; display: block; border: 1px solid var(--rl-filet); border-radius: var(--rl-rayon-carte); background: #fff; }
.carte-zone-tendue figcaption { margin-top: var(--rl-espace-2); font-size: var(--rl-taille-label); color: var(--rl-encre-2); }

/* Bloc « Voir aussi » (composant voir-aussi) */
.voir-aussi { border-top: 1px solid var(--rl-filet); margin: var(--rl-espace-6) 0 var(--rl-espace-4); padding-top: var(--rl-espace-4); }
.voir-aussi__titre { font-weight: 700; margin: 0 0 var(--rl-espace-2); }
.voir-aussi ul { margin: 0; padding-left: 20px; }

/* Recherche et catalogue « Toutes les résiliations » (App\Seo\Catalogue) */
.recherche { margin: 0 0 var(--rl-espace-5); }
.recherche label { display: block; font-weight: 700; margin-bottom: var(--rl-espace-2); }
.recherche__ligne { display: flex; gap: var(--rl-espace-2); flex-wrap: wrap; }
.recherche__ligne input { flex: 1 1 260px; min-height: 48px; padding: 0 var(--rl-espace-4); font: inherit; font-size: var(--rl-taille-texte); color: var(--rl-encre); background: var(--rl-feuille); border: 1.5px solid var(--rl-bord-champ); border-radius: 10px; }
.recherche__ligne input:focus { outline: 3px solid var(--rl-sapin-clair); border-color: var(--rl-sapin); }
.recherche__compte { margin: var(--rl-espace-2) 0 0; }
.catalogue__sommaire { display: flex; flex-wrap: wrap; gap: var(--rl-espace-2) var(--rl-espace-4); margin: 0 0 var(--rl-espace-6); font-size: var(--rl-taille-petit); font-weight: 600; }
.catalogue__groupe { background: var(--rl-feuille); border: 1px solid var(--rl-filet); border-radius: 14px; padding: var(--rl-espace-5); margin-bottom: var(--rl-espace-5); scroll-margin-top: var(--rl-espace-5); overflow: hidden; }
.catalogue__groupe h2 { margin: 0 0 var(--rl-espace-2); }
.catalogue__visuel { float: right; width: 120px; height: auto; margin: 0 0 var(--rl-espace-3) var(--rl-espace-4); }
.catalogue__groupe ul { clear: both; list-style: none; padding: 0; margin: var(--rl-espace-3) 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--rl-espace-2) var(--rl-espace-5); }
.catalogue__groupe li a { font-weight: 600; }
.catalogue__groupe [hidden], .catalogue__groupe[hidden] { display: none; }
.catalogue__vide { padding: var(--rl-espace-4); background: var(--rl-feuille); border: 1px solid var(--rl-filet); border-radius: 10px; }
.rubrique__tout { margin: var(--rl-espace-3) 0 0; font-size: var(--rl-taille-petit); }
.rubriques__tout { text-align: center; margin: var(--rl-espace-5) 0 0; }
@media (max-width: 640px) { .catalogue__visuel { width: 84px; } }
