/* Le site public : l'en-tête, le pied de page et les pages légales.
 *
 * Deux règles tiennent le fichier (14-homepage-plan.md) :
 *
 * - aucune couleur écrite à la main — la palette de la maquette est déjà dans
 *   tokens.css, et une teinte en dur est la première à diverger ;
 * - rien sous 13 px pour un texte destiné à être lu, et --ink-2 plutôt que
 *   --muted dès qu'il y a une phrase : le gris clair de la maquette passe sous
 *   4,5:1 sur fond clair (§8.4).
 */

/* --- Le lien d'évitement ---------------------------------------------------- */

/* Premier élément au clavier, invisible tant qu'il n'a pas le focus. Il n'est
   pas caché par `display: none`, qui le retirerait aussi de la tabulation. */
.skip-link {
  position:      absolute;
  top:           -60px;
  left:          12px;
  z-index:       100;
  padding:       10px 16px;
  border-radius: var(--r-ctl);
  background:    var(--navy);
  color:         #fff;
  font-size:     var(--t-sub);
  text-decoration: none;
  transition:    top 120ms ease;
}

.skip-link:focus {
  top: 12px;
}

/* --- L'en-tête -------------------------------------------------------------- */

.site-header {
  position:        sticky;
  top:             0;
  z-index:         50;
  border-bottom:   1px solid var(--line);
  background:      color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(8px);
}

.site-header-inner,
.site-footer-inner {
  display:         flex;
  align-items:     center;
  gap:             18px;
  max-width:       1120px;
  margin:          0 auto;
  padding:         12px 20px;
  flex-wrap:       wrap;
}

.site-header-inner {
  justify-content: space-between;
}

.site-brand {
  display:         inline-flex;
  align-items:     center;
  gap:             10px;
  color:           var(--navy);
  text-decoration: none;
}

/* Le logotype à côté de la marque. Il manquait : `.brand-word` n'était stylé
   que sous `.sidebar-brand` et `.auth-brand`, si bien que « Locafolio »
   sortait ici en texte courant, sans sa graisse ni le vert de « folio ». */
.site-brand .brand-word {
  font-family:    var(--font-title);
  font-size:      24px;
  font-weight:    700;
  letter-spacing: -0.01em;
  line-height:    1;
}

.site-brand .brand-word span {
  color: var(--teal-dark);
}


.site-nav {
  display:     flex;
  align-items: center;
  gap:         18px;
  flex-wrap:   wrap;
}

.site-nav a {
  color:           var(--ink-2);
  font-size:       var(--t-sub);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav .site-nav-cta {
  padding:       7px 15px;
  border-radius: var(--r-ctl);
  background:    var(--navy);
  color:         #fff;
}

.site-nav .site-nav-cta:hover {
  background: var(--navy-hover);
  color:      #fff;
}

/* Le menu « Ressources » (32-actualites-guides.md §9) : un panneau sous son
   bouton, ouvert au survol, au clic (`data-open`) et au focus. */
.site-resources {
  position: relative;
}

.site-resources-toggle {
  display:     inline-flex;
  align-items: center;
  gap:         5px;
  padding:     6px 0;
  border:      none;
  background:  none;
  color:       var(--ink);
  font:        inherit;
  font-size:   var(--t-sub);
  font-weight: 500;
  cursor:      pointer;
}

.site-resources-toggle svg {
  transition: transform 120ms ease;
}

.site-resources-panel {
  position:       absolute;
  top:            100%;
  right:          -12px;
  z-index:        60;
  display:        none;
  flex-direction: column;
  width:          340px;
  padding:        8px;
  border:         1px solid var(--line);
  border-radius:  12px;
  background:     var(--surface);
  box-shadow:     0 12px 32px rgba(27, 58, 87, 0.16);
}

.site-resources:hover .site-resources-panel,
.site-resources:focus-within .site-resources-panel,
.site-resources[data-open] .site-resources-panel {
  display: flex;
}

.site-resources[data-open] .site-resources-toggle svg,
.site-resources:hover .site-resources-toggle svg {
  transform: rotate(180deg);
}

.site-resources-label {
  display: none;
}

.site-nav .site-resource {
  display:       flex;
  align-items:   flex-start;
  gap:           12px;
  padding:       10px 12px;
  border-radius: 8px;
  color:         var(--ink);
}

.site-nav .site-resource:hover,
.site-nav .site-resource:focus-visible {
  background: #F2F6F4;
  color:      var(--ink);
}

.site-resource-icon {
  display:         flex;
  flex:            none;
  align-items:     center;
  justify-content: center;
  width:           32px;
  height:          32px;
  border-radius:   8px;
  background:      var(--pos-bg);
  color:           var(--pos);
}

.site-resource-text {
  display:        flex;
  flex-direction: column;
  gap:            1px;
}

.site-resource-name {
  font-size:   var(--t-body);
  font-weight: 600;
}

.site-resource-note {
  color:       var(--muted);
  font-size:   12.5px;
  line-height: 1.4;
}

.site-menu-toggle {
  display:         none;
  align-items:     center;
  justify-content: center;
  width:           40px;
  height:          40px;
  border:          1px solid var(--line-strong);
  border-radius:   8px;
  background:      var(--surface);
  color:           var(--ink);
  cursor:          pointer;
}

/* Sur un téléphone, tout le menu derrière un bouton ; les ressources y sont
   une section, toujours ouverte. */
@media (max-width: 720px) {
  .site-menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display:        none;
    flex-basis:     100%;
    flex-direction: column;
    align-items:    stretch;
    gap:            0;
    padding:        4px 0 8px;
    border-top:     1px solid var(--line);
  }

  .site-nav[data-open] {
    display: flex;
  }

  .site-nav .site-nav-section {
    padding:       13px 4px;
    border-bottom: 1px solid var(--line-soft);
    color:         var(--ink);
    font-size:     var(--t-lead);
    font-weight:   500;
  }

  .site-resources-toggle {
    display: none;
  }

  .site-resources-panel {
    position:   static;
    display:    flex;
    width:      auto;
    padding:    0;
    border:     none;
    box-shadow: none;
  }

  .site-resources-label {
    display:        block;
    margin:         0;
    padding:        13px 4px 4px;
    color:          var(--muted);
    font-family:    var(--font-mono);
    font-size:      var(--t-small);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .site-nav .site-resource {
    align-items: center;
    padding:     10px 4px 10px 14px;
  }

  .site-resource-icon {
    width:      auto;
    height:     auto;
    background: none;
  }

  .site-resource-name {
    font-size:   15px;
    font-weight: 400;
  }

  .site-resource-note {
    display: none;
  }

  .site-nav .site-nav-login,
  .site-nav .site-nav-cta {
    margin-top:    10px;
    padding:       11px;
    border:        1px solid var(--line-strong);
    border-radius: 8px;
    color:         var(--ink);
    font-size:     15px;
    text-align:    center;
  }

  .site-nav .site-nav-cta {
    order:      -1;
    margin-top: 14px;
    border:     none;
    color:      #fff;
    font-weight: 600;
  }
}

/* --- Le pied de page -------------------------------------------------------- */

.site-footer {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.site-footer .site-footer-inner {
  flex-direction: column;
  align-items:    stretch;
  gap:            24px;
  padding:        30px 20px 22px;
}

.site-footer-main {
  display:   flex;
  flex-wrap: wrap;
  gap:       40px;
}

.site-footer-brand {
  display:        flex;
  flex:           1 1 200px;
  flex-direction: column;
  gap:            8px;
}

.site-footer-brand p {
  max-width: 240px;
  margin:    0;
  color:     var(--muted);
  font-size: 13.5px;
}

.site-footer-links {
  display:   flex;
  flex-wrap: wrap;
  gap:       40px;
}

.site-footer-column {
  display:        flex;
  flex-direction: column;
  gap:            9px;
  min-width:      140px;
}

.site-footer-title {
  margin:         0;
  color:          var(--muted);
  font-family:    var(--font-mono);
  font-size:      var(--t-small);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer-column a,
.site-footer-consent {
  padding:         0;
  border:          none;
  background:      none;
  color:           var(--ink-2);
  font:            inherit;
  font-size:       var(--t-body);
  text-align:      left;
  text-decoration: none;
  cursor:          pointer;
}

.site-footer-column a:hover,
.site-footer-consent:hover {
  color: var(--ink);
}

/* L'année et la version, sous un filet. */
.site-footer-note {
  margin:         0;
  padding-top:    16px;
  border-top:     1px solid var(--line);
  color:          var(--muted);
  font-family:    var(--font-mono);
  font-size:      var(--t-small);
}

/* --- Les pages légales ------------------------------------------------------ */

/* Le gabarit commun des trois pages (31-redesign.md §5) : à gauche les pages
   et « Sur cette page », qui restent visibles au défilement ; à droite le
   texte, en colonne étroite — ces pages se lisent, elles ne se survolent pas,
   et une ligne de plus de 75 caractères se relit mal. */
.legal-page {
  max-width: 1120px;
  margin:    0 auto;
  padding:   36px 20px 48px;
  color:     var(--ink-2);
}

.legal-layout {
  display:               grid;
  grid-template-columns: 15rem minmax(0, 74ch);
  gap:                   48px;
  justify-content:       center;
}

.legal-aside {
  position:   sticky;
  top:        80px;
  align-self: start;
  max-height: calc(100vh - 104px);
  overflow-y: auto;
}

.legal-aside-label {
  margin:         0 0 8px;
  color:          var(--muted);
  font-family:    var(--font-mono);
  font-size:      var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-pages ul {
  margin:     0 0 24px;
  padding:    0;
  list-style: none;
}

.legal-pages a {
  display:         flex;
  justify-content: space-between;
  padding:         8px 12px;
  border-radius:   var(--r-ctl);
  color:           var(--ink);
  font-size:       var(--t-body);
  text-decoration: none;
}

.legal-pages a:hover {
  background: var(--surface-alt);
}

.legal-pages a[aria-current="page"] {
  background:  var(--navy);
  color:       #FFFFFF;
  font-weight: 600;
}

.legal-pages a span {
  color: var(--muted-2);
}

.legal-onpage summary {
  cursor:     pointer;
  list-style: none;
}

.legal-onpage summary::-webkit-details-marker {
  display: none;
}

/* « Sur cette page » : la rubrique en cours marquée d'un trait vert. */
.legal-page .legal-toc {
  display:        flex;
  flex-direction: column;
}

.legal-page .legal-toc a {
  padding:         5px 12px;
  border-left:     2px solid var(--line);
  color:           var(--muted);
  font-size:       var(--t-sub);
  text-decoration: none;
}

.legal-page .legal-toc a:hover {
  color: var(--ink);
}

.legal-page .legal-toc a[aria-current] {
  border-left-color: var(--teal);
  color:             var(--ink);
}

.legal-page h1 {
  margin-bottom: 4px;
}

.legal-page h2 {
  margin-top:     38px;
  padding-top:    24px;
  border-top:     1px solid var(--line);
  font-size:      var(--t-h3);
  scroll-margin-top: 72px;
}

/* Les titres de rubriques des pages longues en titres normaux (§5). */
.legal-page h3 {
  margin-top: 26px;
  color:      var(--ink);
  font-family: var(--font-body);
  font-size:  var(--t-body);
  font-weight: 600;
  scroll-margin-top: 72px;
}

.legal-page h4 {
  margin: 0 0 6px;
}

.legal-page p,
.legal-page li {
  line-height: 1.65;
}

.legal-content a {
  color: var(--ink);
}

.legal-updated {
  margin:      0 0 22px;
  color:       var(--muted);
  font-family: var(--font-mono);
  font-size:   var(--t-small);
}

.legal-contact {
  margin-top:  38px;
  padding-top: 18px;
  border-top:  1px solid var(--line);
  font-size:   var(--t-sub);
}

.legal-contact a {
  color:       var(--pos);
  font-weight: 600;
}

/* Ce qui reste à décider, dit franchement plutôt qu'inventé (§11). */
.legal-pending {
  display:       flex;
  align-items:   flex-start;
  gap:           8px;
  padding:       11px 14px;
  border:        1px dashed var(--warn-accent);
  border-radius: var(--r-card);
  background:    var(--warn-bg);
  color:         var(--warn);
  font-size:     var(--t-sub);
}

/* Les faits obligatoires en paires libellé / valeur : ils se vérifient d'un
   coup d'œil, ce qu'un paragraphe ne permet pas. Les libellés, courts, en
   capitales mono — le seul endroit de ces pages (§5). */
.legal-facts {
  display:               grid;
  grid-template-columns: minmax(140px, 13rem) 1fr;
  margin:                16px 0 0;
}

.legal-facts dt,
.legal-facts dd {
  padding:       12px 0;
  border-bottom: 1px solid var(--line-soft);
}

.legal-facts dt {
  padding-right:  18px;
  color:          var(--muted);
  font-family:    var(--font-mono);
  font-size:      var(--t-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-facts dd {
  margin: 0;
  color:  var(--ink);
}

.legal-facts dt:nth-last-of-type(1),
.legal-facts dd:last-of-type {
  border-bottom: none;
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: minmax(0, 1fr);
    gap:                   8px;
  }

  .legal-aside,
  .legal-content {
    min-width: 0;
  }

  .legal-aside {
    position:   static;
    max-height: none;
  }

  /* Un tableau de trois colonnes ne tient pas sur un téléphone : il défile
     de lui-même plutôt que d'élargir la page. */
  .legal-table {
    display:    block;
    overflow-x: auto;
  }

  .legal-pages ul {
    display:   flex;
    flex-wrap: wrap;
    gap:       4px;
    margin-bottom: 12px;
  }

  .legal-pages a span {
    display: none;
  }

  .legal-onpage {
    margin-bottom: 8px;
    padding:       10px 12px;
    border:        1px solid var(--line);
    border-radius: var(--r-card);
    background:    var(--surface);
  }

  .legal-onpage summary {
    margin: 0;
  }

  .legal-onpage summary::after {
    content: " ▾";
  }

  .legal-onpage[open] summary {
    margin-bottom: 8px;
  }
}

/* Les tableaux de ces pages se suffisent à eux-mêmes : `tables.css` pèse douze
   kilo-octets pour le grand livre et l'échéancier, et le site n'a que ces
   trois-là. */
.legal-table {
  width:           100%;
  margin-top:      16px;
  border-collapse: collapse;
  font-size:       var(--t-sub);
  text-align:      left;
}

.legal-table th,
.legal-table td {
  padding:       9px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.legal-table th {
  color:      var(--muted);
  font-weight: 600;
  white-space: nowrap;
}

.legal-table td {
  color: var(--ink-2);
}

.legal-form {
  margin:        20px 0;
  padding:       16px 18px;
  border:        1px solid var(--line-strong);
  border-radius: var(--r-card);
  background:    var(--surface-soft);
  font-size:     var(--t-sub);
}

@media (max-width: 560px) {
  .legal-facts {
    grid-template-columns: 1fr;
  }
}

/* --- La page longue --------------------------------------------------------- */

/* Les sections tiennent leur propre largeur : certaines saignent d'un bord à
   l'autre (le bandeau, le bloc marine), les autres non. */
.landing-main {
  padding: 0;
}

/* Seulement l'axe horizontal : un `padding` raccourci ici l'emporterait sur le
   `padding-top` de chaque section — un sélecteur classe + élément pèse plus
   qu'une classe seule — et les écraserait sans rien dire. C'est exactement ce
   qui avait collé le bandeau des documents à ses deux traits. */
.landing-main section {
  max-width:      1120px;
  margin:         0 auto;
  padding-inline: 20px;
}

/* Les bandes qui saignent d'un bord à l'autre. **Même poids de sélecteur** que
   la règle ci-dessus, sinon elle l'emporte et la bande reprend la largeur du
   texte, fond de page visible sur les côtés. C'est la faute que les
   `!important` cachaient. */
.landing-main section.full-bleed {
  max-width:      none;
  padding-inline: 0;
}

.section-eyebrow {
  margin:         0 0 8px;
  color:          var(--muted);
  font-family:    var(--font-mono);
  font-size:      var(--t-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* --- Le héros --------------------------------------------------------------- */

.hero {
  display:               grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap:                   48px;
  align-items:           center;
  padding-block:         64px 24px;
}

.hero-text {
  display:        flex;
  flex-direction: column;
  gap:            22px;
  min-width:      0;
}

.hero-eyebrow {
  display:        inline-flex;
  align-self:     flex-start;
  align-items:    center;
  gap:            9px;
  margin:         0;
  padding:        7px 14px;
  border:         1px solid var(--line-strong);
  border-radius:  var(--r-pill);
  background:     var(--surface);
  color:          var(--ink);
  font-family:    var(--font-mono);
  font-size:      var(--t-small);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-dot {
  width:         7px;
  height:        7px;
  border-radius: var(--r-pill);
  background:    var(--teal);
  flex:          0 0 auto;
}

.hero h1 {
  margin:         0;
  font-size:      clamp(38px, 5vw, 66px);
  line-height:    1;
  letter-spacing: -0.02em;
  text-wrap:      balance;
}

.hero-accent {
  color: var(--teal-dark);
}

.hero-lead {
  max-width:   46ch;
  margin:      0;
  color:       var(--ink-2);
  font-size:   17px;
  line-height: 1.55;
}

.hero-actions {
  display:   flex;
  gap:       12px;
  flex-wrap: wrap;
}

/* L'action secondaire du héros : un cadre, pas un aplat — le vert est déjà pris
   par ce qu'on veut vraiment qu'on clique. */
.button-outline {
  display:         inline-flex;
  align-items:     center;
  padding:         var(--pad-ctl);
  border:          1px solid var(--line-strong);
  border-radius:   var(--r-ctl);
  color:           var(--ink);
  font-size:       var(--t-body);
  font-weight:     500;
  text-decoration: none;
}

.button-outline:hover {
  border-color: var(--ink);
}

.hero-claims {
  display:        flex;
  gap:            20px;
  margin:         0;
  padding:        0;
  list-style:     none;
  color:          var(--ink-2);
  font-family:    var(--font-mono);
  font-size:      13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-wrap:      wrap;
}

.hero-side {
  display:        flex;
  flex-direction: column;
  gap:            14px;
  min-width:      0;
}

/* --- Le visuel : un document, trois écritures ------------------------------- */

.scan-card {
  display:        flex;
  flex-direction: column;
  gap:            14px;
  padding:        18px;
  border-radius:  14px;
  background:     var(--navy);
  box-shadow:     0 26px 60px -30px color-mix(in srgb, var(--navy) 60%, transparent);
}

.scan-head {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  gap:             12px;
}

.scan-label {
  color:          var(--side-meta);
  font-family:    var(--font-mono);
  font-size:      var(--t-small);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scan-state {
  display:     inline-flex;
  align-items: center;
  gap:         7px;
  color:       var(--teal);
  font-family: var(--font-mono);
  font-size:   var(--t-small);
}

/* Pendant la bêta, le visuel montre ce qui vient : une pastille à la place du
   « Lecture terminée », pour qu'il ne se lise pas comme un résultat. */
.scan-state-soon {
  padding:        3px 10px;
  border:         1px solid color-mix(in srgb, var(--teal) 55%, transparent);
  border-radius:  999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scan-body {
  display:   flex;
  gap:       14px;
  flex-wrap: wrap;
}

/* Le fac-similé : des traits, jamais un vrai document (§4.2). Les deux traits
   verts sont les lignes que la lecture a retenues. */
.scan-doc {
  display:        flex;
  flex-direction: column;
  gap:            7px;
  flex:           0 0 128px;
  padding:        13px 12px;
  border-radius:  8px;
  background:     var(--surface);
}

.scan-doc-title {
  color:          var(--muted);
  font-family:    var(--font-mono);
  font-size:      9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scan-line {
  height:        6px;
  border-radius: 2px;
  background:    var(--line-strong);
}

.scan-line-a { width: 86%; }
.scan-line-b { width: 64%; }
.scan-line-c { width: 52%; }
.scan-line-d { width: 44%; }
.scan-line-read { background: var(--teal); width: 74%; }

.scan-doc-file {
  margin-top:  auto;
  padding-top: 8px;
  color:       var(--muted-2);
  font-family: var(--font-mono);
  font-size:   9px;
}

.scan-entries {
  display:        flex;
  flex-direction: column;
  gap:            8px;
  flex:           1 1 190px;
  min-width:      0;
}

.scan-entry {
  padding:       10px 12px;
  border:        1px solid transparent;
  border-radius: 8px;
  background:    var(--surface);
}

/* Celle qui attend une décision : le pointillé dit qu'elle n'est pas écrite. */
.scan-entry-pending {
  border-color: var(--teal);
  border-style: dashed;
}

.scan-entry-head {
  display:         flex;
  justify-content: space-between;
  gap:             10px;
  font-size:       13px;
  font-weight:     600;
}

.scan-entry-head span:last-child {
  font-family:  var(--font-mono);
  white-space:  nowrap;
}

.scan-entry-meta {
  margin:    4px 0 0;
  color:     var(--muted);
  font-size: 12px;
}

.scan-foot {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  gap:             12px;
  padding-top:     13px;
  border-top:      1px solid color-mix(in srgb, var(--surface) 14%, transparent);
  color:           var(--side-fg);
  font-size:       12.5px;
  flex-wrap:       wrap;
}

.scan-total {
  color:       #fff;
  font-family: var(--font-mono);
}

/* Trois faits vérifiables à la place des trois chiffres inventés (§1.1) — et
   dans le document, pas dans le visuel décoratif : ils se lisent. */
.hero-facts {
  display:               grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap:                   10px;
  margin:                0;
  padding:               0;
  list-style:            none;
}

.hero-facts li {
  display:        flex;
  flex-direction: column;
  gap:            3px;
  padding:        13px 14px;
  border:         1px solid var(--line);
  border-radius:  10px;
  background:     var(--surface);
}

.hero-fact-title {
  font-family: var(--font-title);
  font-size:   17px;
  font-weight: 700;
  line-height: 1.15;
  color:       var(--ink);
}

.hero-fact-note {
  color:       var(--ink-2);
  font-size:   13px;
  line-height: 1.35;
}

/* --- Le bandeau des documents ----------------------------------------------- */

/* Une seule ligne, toujours : le bandeau ne passe jamais à la ligne, et les
   pastilles glissent latéralement quand l'écran est trop étroit — un rang de
   documents qui se casse en deux ne se lit plus comme une liste. */
.documents-band {
  display:       flex;
  align-items:   center;
  gap:           26px;
  margin-top:    42px;
  padding-block: 22px;
  border-top:    1px solid var(--line);
  border-bottom: 1px solid var(--line);
  flex-wrap:     nowrap;
}

.documents-label {
  flex:           0 0 auto;
  margin:         0;
  color:          var(--muted);
  font-family:    var(--font-mono);
  font-size:      var(--t-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.documents-chips {
  display:       flex;
  gap:           10px;
  min-width:     0;
  margin:        0;
  padding:       0;
  list-style:    none;
  flex-wrap:     nowrap;
  overflow-x:    auto;
  scrollbar-width: none;
}

.documents-chips::-webkit-scrollbar {
  display: none;
}

.documents-chips li {
  flex:          0 0 auto;
  padding:       7px 14px;
  border:        1px solid var(--line);
  border-radius: var(--r-pill);
  background:    var(--surface);
  font-size:     13px;
  font-weight:   500;
  white-space:   nowrap;
}

/* Ce qui se lit aujourd'hui en vert ; ce qui vient ensuite, annoncé ; le reste,
   plus discret — sans date, donc sans insistance. */
.documents-chips .documents-chip-now {
  border-color: var(--teal);
  background:   var(--pos-bg);
  color:        var(--pos-strong);
}

.documents-chips .documents-chip-next span {
  color:       var(--muted);
  font-weight: 400;
}

.documents-chips .documents-chip-later {
  color:        var(--muted);
  font-weight:  400;
  border-style: dashed;
}

/* Sur un téléphone, l'étiquette passe au-dessus et laisse toute la largeur aux
   pastilles, qui restent sur leur ligne. */
@media (max-width: 720px) {
  .documents-band {
    align-items:    flex-start;
    flex-direction: column;
    gap:            12px;
  }

  .documents-chips {
    width: 100%;
  }
}

/* --- Les trois gestes -------------------------------------------------------- */

.how {
  padding-block: 54px;
}

.how h2,
.cta h2 {
  margin:         0;
  font-size:      clamp(28px, 3.4vw, 42px);
  line-height:    1.05;
  letter-spacing: -0.015em;
}

.how-cards {
  display:               grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap:                   16px;
  margin:                30px 0 0;
  padding:               0;
  list-style:            none;
}

.how-card {
  display:        flex;
  flex-direction: column;
  gap:            10px;
  padding:        24px 22px;
  border:         1px solid var(--line);
  border-radius:  12px;
  background:     var(--surface);
}

.how-card h3 {
  margin:      0;
  font-family: var(--font-title);
  font-size:   23px;
  font-weight: 600;
  line-height: 1.1;
}

.how-card p {
  margin:      0;
  color:       var(--ink-2);
  font-size:   14.5px;
  line-height: 1.6;
}

.how-step {
  color:          var(--teal-dark);
  font-family:    var(--font-mono);
  font-size:      var(--t-small);
  letter-spacing: 0.14em;
}

/* La troisième carte porte la promesse qui décide : rien n'est écrit sans
   vous. Elle est en marine pour ça, et pour rien d'autre. */
.how-card-strong {
  border-color: var(--navy);
  background:   var(--navy);
  color:        #fff;
}

.how-card-strong p {
  color: var(--side-fg);
}

.how-card-strong .how-step {
  color: var(--teal);
}

/* Ce qui existe déjà, sous les trois gestes qui viendront (bêta). */
.how-meanwhile {
  max-width:   68ch;
  margin:      22px 0 0;
  color:       var(--ink-2);
  font-size:   14.5px;
  line-height: 1.6;
}

/* --- L'appel à l'action ------------------------------------------------------ */

.cta {
  padding-block: 64px 8px;
}

.cta-block {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  gap:             28px;
  padding:         clamp(28px, 4vw, 52px);
  border-radius:   16px;
  background:      var(--navy);
  color:           #fff;
  flex-wrap:       wrap;
}

.cta-text {
  display:        flex;
  flex-direction: column;
  gap:            10px;
  max-width:      36ch;
  min-width:      0;
}

.cta-text p {
  margin:      0;
  color:       var(--side-fg);
  font-size:   16px;
  line-height: 1.55;
}

/* --- Pilotage ---------------------------------------------------------------- */

/* La section saigne d'un bord à l'autre, sur fond blanc : elle coupe la page en
   deux et marque le passage de « comment ça marche » à « ce que ça donne ». */
.product {
  border-top:    1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:    var(--surface);
}

.product-inner {
  display:               grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap:                   48px;
  align-items:           center;
  max-width:             1120px;
  margin:                0 auto;
  padding:               64px 20px;
}

.product-text {
  display:        flex;
  flex-direction: column;
  gap:            18px;
  min-width:      0;
}

.product h2 {
  margin:         0;
  font-size:      clamp(28px, 3.4vw, 42px);
  line-height:    1.05;
  letter-spacing: -0.015em;
}

.product-lead {
  max-width:   48ch;
  margin:      0;
  color:       var(--ink-2);
  font-size:   16.5px;
  line-height: 1.6;
}

.product-points {
  display:        flex;
  flex-direction: column;
  gap:            13px;
  margin:         0;
  padding:        0;
  list-style:     none;
}

.product-points li {
  display:     flex;
  gap:         12px;
  align-items: flex-start;
  font-size:   14.5px;
  line-height: 1.5;
  color:       var(--ink-2);
}

.product-points svg {
  flex:       0 0 19px;
  margin-top: 2px;
  color:      var(--teal-dark);
}

.product-points strong {
  color:       var(--ink);
  font-weight: 600;
}

/* Les points qui ont leur article d'aide : un soulignement au vert du logo,
   comme les liens de l'aide, sans changer la couleur du texte. */
.product-points a {
  color:                     inherit;
  text-decoration:           underline;
  text-decoration-color:     var(--teal-dark);
  text-decoration-thickness: 1px;
  text-underline-offset:     3px;
}

.product-points a:hover {
  color: var(--teal-dark);
}

/* --- Gestion locative -------------------------------------------------------- */

/* Juste après « Pilotage » : sur le fond de la page, pour que les deux sections
   ne se lisent pas comme une seule. */
.rental {
  border-top: 0;
  background: transparent;
}

.rental-note {
  margin:      0;
  color:       var(--muted);
  font-size:   14px;
  line-height: 1.55;
}

/* --- Le mini-tableau de bord -------------------------------------------------- */

.mini-dashboard {
  display:        flex;
  flex-direction: column;
  gap:            14px;
  min-width:      0;
  padding:        18px;
  border:         1px solid var(--line);
  border-radius:  14px;
  background:     var(--bg);
}

.mini-head {
  display:     flex;
  align-items: baseline;
  gap:         12px;
  flex-wrap:   wrap;
}

.mini-label {
  margin:         0;
  color:          var(--muted);
  font-family:    var(--font-mono);
  font-size:      var(--t-small);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.mini-total {
  margin:      0;
  font-family: var(--font-title);
  font-size:   34px;
  font-weight: 700;
  line-height: 1.05;
  color:       var(--ink);
}

.mini-chart {
  display:     flex;
  align-items: flex-end;
  gap:         7px;
  height:      112px;
}

.mini-bar {
  flex:          1;
  border-radius: 3px 3px 0 0;
}

/* Les mois passés en gris, les derniers en marine, le mois courant en vert :
   la même lecture que le tableau de bord de l'application. */
.mini-bar-past  { background: var(--line-strong); }
.mini-bar-solid { background: var(--navy); }
.mini-bar-live  { background: var(--teal); }

.mini-rows {
  display:        flex;
  flex-direction: column;
  gap:            8px;
  margin:         0;
  padding:        0;
  list-style:     none;
}

.mini-rows li {
  display:               grid;
  grid-template-columns: 1fr auto;
  gap:                   2px 12px;
  align-items:           center;
  padding:               11px 13px;
  border:                1px solid var(--line-soft);
  border-radius:         9px;
  background:            var(--surface);
}

.mini-row-name {
  font-size:   14px;
  font-weight: 600;
  color:       var(--ink);
}

.mini-row-note {
  grid-row:    2;
  color:       var(--muted);
  font-family: var(--font-mono);
  font-size:   11.5px;
}

.mini-row-amount {
  grid-row:    1 / span 2;
  grid-column: 2;
  font-family: var(--font-mono);
  font-size:   14px;
}

/* --- Vos données ------------------------------------------------------------- */

.data-promises {
  padding-block: 60px 0;
}

.data-promises h2 {
  margin:         0 0 26px;
  font-size:      clamp(28px, 3.4vw, 42px);
  line-height:    1.05;
  letter-spacing: -0.015em;
}

.promise-cards {
  display:               grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap:                   16px;
  margin:                0;
  padding:               0;
  list-style:            none;
}

.promise-card {
  display:        flex;
  flex-direction: column;
  gap:            9px;
  padding:        22px 20px;
  border:         1px solid var(--line);
  border-radius:  12px;
  background:     var(--surface);
}

.promise-card svg {
  color: var(--teal-dark);
}

.promise-card h3 {
  margin:      0;
  font-family: var(--font-title);
  font-size:   20px;
  font-weight: 600;
  line-height: 1.15;
}

.promise-card p {
  margin:      0;
  color:       var(--ink-2);
  font-size:   14.5px;
  line-height: 1.55;
}

.promise-link {
  margin:    20px 0 0;
  font-size: var(--t-body);
}

.promise-link a {
  color:         var(--ink);
  border-bottom: 2px solid var(--teal);
  padding-bottom: 2px;
  text-decoration: none;
}

/* --- La démonstration --------------------------------------------------------- */

.demo {
  padding-block: 56px 64px;
}

/* La vidéo à la largeur de la section. Les attributs width et height du
   <video> donnent son ratio (2,06:1, celui du montage) : la place est réservée
   avant le moindre chargement. Le fond marine se voit le temps que l'aperçu
   arrive. */
.demo h2 {
  margin:         0 0 24px;
  font-size:      clamp(28px, 3.4vw, 42px);
  line-height:    1.05;
  letter-spacing: -0.015em;
}

.demo-player {
  display:       block;
  width:         100%;
  height:        auto;
  border:        1px solid var(--line);
  border-radius: 16px;
  background:    var(--navy);
  box-shadow:    0 26px 60px -34px color-mix(in srgb, var(--navy) 55%, transparent);
}

/* --- Tarifs ------------------------------------------------------------------ */

/* Comme « Pilotage », la section saigne d'un bord à l'autre sur fond blanc :
   c'est le moment où la page demande quelque chose, et il se voit. */
.pricing {
  border-top:    1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:    var(--surface);
}

.pricing-inner {
  display:        flex;
  flex-direction: column;
  gap:            26px;
  max-width:      1120px;
  margin:         0 auto;
  padding:        64px 20px;
}

.pricing-head h2 {
  margin:         0;
  font-size:      clamp(28px, 3.4vw, 42px);
  line-height:    1.05;
  letter-spacing: -0.015em;
}

/* Sur le site, les cartes sont posées sur du blanc : elles reprennent le fond
   doux pour se détacher, et la mise en avant garde son trait vert. */
.pricing .plan-card {
  background: var(--surface-soft);
}

.pricing .plan-picker {
  display:        flex;
  flex-direction: column;
  gap:            18px;
}

.pricing .plan-actions a {
  flex:            1 1 auto;
  justify-content: center;
  text-decoration: none;
}

/* Elle rattrape ceux qui n'osent pas encore, sans faire concurrence aux
   cartes : pas de fond de couleur, un simple encadré en pointillé. */
.trial-offer {
  display:        flex;
  flex-direction: column;
  align-items:    flex-start;
  gap:            10px;
  padding:        22px 24px;
  border:         1px dashed var(--line-strong);
  border-radius:  var(--r-card);
  background:     var(--bg);
}

.trial-offer h3 {
  margin:      0;
  font-family: var(--font-title);
  font-size:   22px;
  font-weight: 700;
}

.trial-offer p {
  max-width:   68ch;
  margin:      0;
  color:       var(--ink-2);
  font-size:   14.5px;
  line-height: 1.6;
}

/* La carte unique de la bêta : la largeur d'une carte de la grille, pas celle
   de la page — une offre étirée sur 1 100 px se lit comme un bandeau. */
.beta-offer {
  width:     100%;
  max-width: 420px;
}

.beta-offer .plan-actions a {
  flex: 1 1 auto;
}

.plan-features .plan-feature-soon {
  color: var(--muted);
}

.pricing-vat {
  margin:    0;
  color:     var(--muted);
  font-size: var(--t-sub);
}

/* --- L'espace d'aide (32-actualites-guides.md §4) ----------------------------- */

/* Le sommaire : le bandeau, « Par où commencer », les groupes — sur la
   largeur de l'en-tête, 1 120 px, comme dans la maquette. */
.help-hero .release-hero-inner {
  display:        flex;
  flex-direction: column;
  gap:            14px;
  max-width:      1120px;
  box-sizing:     border-box;
  padding:        40px 24px 44px;
}

.help-hero .help-breadcrumb {
  margin: 0;
}

.help-hero h1 {
  margin:      0;
  font-family: var(--font-title);
  font-size:   44px;
  font-weight: 600;
  line-height: 1.05;
}

.help-hero .help-lead {
  max-width:   640px;
  margin:      0;
  color:       var(--side-fg);
  font-size:   var(--t-lead);
  line-height: 1.6;
}

.help-hero .help-lead + .help-lead {
  margin-top: 8px;
}

.help-index-body {
  display:        flex;
  flex-direction: column;
  gap:            36px;
  max-width:      1120px;
  box-sizing:     border-box;
  margin:         0 auto;
  padding:        36px 24px 56px;
}

.help-section-head {
  display:        flex;
  flex-direction: column;
  gap:            2px;
}

.help-section-head h2 {
  margin:      0;
  font-family: var(--font-title);
  font-size:   20px;
  font-weight: 600;
  color:       var(--ink);
}

.help-start .help-section-head h2 {
  font-size: var(--t-h2);
}

.help-section-head p {
  margin:    0;
  color:     var(--muted);
  font-size: var(--t-sub);
}

.help-start,
.help-group {
  display:        flex;
  flex-direction: column;
  gap:            12px;
  scroll-margin-top: 80px;
}

.help-start-steps {
  display:    flex;
  flex-wrap:  wrap;
  gap:        10px;
  margin:     0;
  padding:    0;
  list-style: none;
}

.help-start-steps li {
  flex: 1 1 140px;
}

.help-start-steps a {
  display:         flex;
  flex-direction:  column;
  gap:             6px;
  height:          100%;
  box-sizing:      border-box;
  padding:         14px 16px;
  border:          1px solid var(--line);
  border-radius:   var(--r-panel);
  background:      var(--surface);
  color:           var(--ink);
  text-decoration: none;
}

.help-start-number {
  display:         flex;
  align-items:     center;
  justify-content: center;
  width:           24px;
  height:          24px;
  border-radius:   50%;
  background:      var(--navy);
  color:           #FFFFFF;
  font-family:     var(--font-mono);
  font-size:       var(--t-small);
}

.help-start-label {
  font-size:   var(--t-body);
  font-weight: 600;
}

.help-start-note {
  color:     var(--muted);
  font-size: var(--t-small);
}

.help-group-head {
  display:     flex;
  align-items: center;
  gap:         11px;
}

.help-group-icon {
  display:         flex;
  flex:            none;
  align-items:     center;
  justify-content: center;
  width:           36px;
  height:          36px;
  border-radius:   var(--r-card);
  background:      var(--pos-bg);
  color:           var(--pos);
}

.help-group-count {
  margin-left: auto;
  color:       var(--muted);
  font-family: var(--font-mono);
  font-size:   var(--t-small);
  white-space: nowrap;
}

.help-summary {
  display:               grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap:                   10px;
  margin:                0;
  padding:               0;
  list-style:            none;
}

.help-summary a {
  display:         flex;
  align-items:     flex-start;
  gap:             14px;
  height:          100%;
  box-sizing:      border-box;
  padding:         14px 16px;
  border:          1px solid var(--line);
  border-radius:   var(--r-panel);
  background:      var(--surface);
  color:           var(--ink);
  text-decoration: none;
}

.help-start-steps a:hover,
.help-summary a:hover,
.content-card:hover {
  border-color: var(--teal);
  box-shadow:   0 2px 10px rgba(27, 58, 87, 0.07);
}

.help-summary-number {
  min-width:   20px;
  padding-top: 2px;
  color:       var(--muted);
  font-family: var(--font-mono);
  font-size:   var(--t-small);
}

.help-summary-text {
  display:        flex;
  flex:           1;
  flex-direction: column;
  gap:            4px;
  min-width:      0;
}

.help-summary-title {
  font-size:   14.5px;
  font-weight: 600;
  line-height: 1.35;
}

.help-summary-note {
  color:       var(--muted);
  font-size:   var(--t-sub);
  line-height: 1.5;
}

.help-summary-arrow {
  padding-top: 1px;
  color:       var(--teal);
  font-size:   var(--t-lead);
}

.help-contact {
  margin:     0;
  color:      var(--muted);
  font-size:  var(--t-body);
  text-align: center;
}

.help-contact a,
.help-feedback a {
  color:           var(--pos);
  font-weight:     600;
  text-decoration: none;
}

.help-contact a:hover,
.help-feedback a:hover {
  text-decoration: underline;
}

/* --- Le gabarit d'article : l'aide, les Guides, les Actualités ---------------- */

.content-page {
  max-width:  1120px;
  box-sizing: border-box;
  margin:     0 auto;
  padding:    28px 24px 56px;
}

.help-breadcrumb {
  display:        flex;
  flex-wrap:      wrap;
  gap:            4px 8px;
  margin:         0 0 10px;
  color:          var(--muted);
  font-family:    var(--font-mono);
  font-size:      var(--t-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Le fil d'Ariane n'est pas du texte d'article : ni souligné, ni en gras. */
.help-breadcrumb a {
  color:           var(--muted);
  font-weight:     400;
  text-decoration: none;
}

.help-breadcrumb a:hover {
  color: var(--pos);
}

.content-breadcrumb {
  margin-bottom: 22px;
}

/* La page en cours, dernière du fil : en clair, et sans capitales — un titre
   de soixante caractères en capitales se lit mal. Le fil d'un article
   s'arrête à sa rubrique, et celui du bandeau à « Aide » : courts, ils
   gardent leurs capitales. */
.help-breadcrumb [aria-current] {
  color:          var(--ink-2);
  letter-spacing: 0;
  text-transform: none;
}

.content-breadcrumb [aria-current],
.help-hero .help-breadcrumb [aria-current] {
  color:          var(--muted);
  letter-spacing: inherit;
  text-transform: inherit;
}

/* La rubrique : le seul lien du fil en vert, comme dans la maquette. */
.content-breadcrumb a + span + a {
  color: var(--pos);
}

.content-layout {
  display:               grid;
  grid-template-columns: minmax(0, 720px) minmax(220px, 260px);
  gap:                   48px;
  justify-content:       start;
  align-items:           start;
}

/* La colonne de droite vient d'abord dans le document — sur téléphone, « Sur
   cette page » passe ainsi avant le texte — et se range à droite à l'écran. */
.content-aside {
  display:        flex;
  flex-direction: column;
  gap:            22px;
  grid-column:    2;
  grid-row:       1;
  position:       sticky;
  top:            80px;
  max-height:     calc(100vh - 104px);
  overflow-y:     auto;
}

.content-article {
  grid-column: 1;
  grid-row:    1;
  min-width:   0;
}

.content-aside-label {
  margin:         0 0 4px;
  color:          var(--muted);
  font-family:    var(--font-mono);
  font-size:      var(--t-small);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.content-onpage summary {
  cursor:     pointer;
  list-style: none;
}

.content-onpage summary::-webkit-details-marker {
  display: none;
}

.content-toc {
  display:        flex;
  flex-direction: column;
  gap:            2px;
  margin-top:     6px;
}

.content-toc a {
  padding:         5px 0 5px 12px;
  border-left:     2px solid var(--line);
  color:           var(--ink-2);
  font-size:       13.5px;
  text-decoration: none;
}

.content-toc a:hover {
  color: var(--ink);
}

.content-toc a[aria-current] {
  border-left-color: var(--teal);
  color:             var(--ink);
}

.content-aside-group {
  display:        flex;
  flex-direction: column;
  gap:            8px;
  font-size:      13.5px;
}

.content-aside-group a {
  color:           var(--pos);
  text-decoration: none;
}

.content-aside-group a:hover {
  text-decoration: underline;
}

.content-aside-group [aria-current] {
  color:       var(--ink);
  font-weight: 600;
}

.content-meta {
  display:     flex;
  flex-wrap:   wrap;
  align-items: center;
  gap:         10px;
  margin:      0 0 18px;
}

.content-pill {
  padding:        3px 10px;
  border-radius:  999px;
  background:     var(--pos-bg);
  color:          var(--pos);
  font-family:    var(--font-mono);
  font-size:      var(--t-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-date {
  color:       var(--muted);
  font-family: var(--font-mono);
  font-size:   var(--t-small);
}

.content-article h1 {
  margin:      0 0 18px;
  font-family: var(--font-title);
  font-size:   38px;
  font-weight: 600;
  line-height: 1.1;
  color:       var(--ink);
}

/* Le corps rendu depuis le Markdown : aucune classe à poser, le contenu vient
   d'un fichier ou de l'admin. Les sélecteurs visent donc les éléments. */
.content-body > :first-child {
  margin-top: 0;
}

/* Le chapeau : le premier paragraphe, plus grand. */
.content-body > p:first-child {
  font-size:   18px;
  line-height: 1.65;
}

.help-article h2 {
  margin:      34px 0 12px;
  font-family: var(--font-title);
  font-size:   24px;
  font-weight: 600;
}

.help-article h3 {
  margin:    26px 0 10px;
  font-size: var(--t-h3);
}

.help-article p,
.help-article li {
  margin:      0 0 16px;
  color:       var(--ink-2);
  font-size:   var(--t-lead);
  line-height: 1.7;
}

.help-article ul,
.help-article ol {
  margin:       0 0 16px;
  padding-left: 20px;
}

.help-article li {
  margin-bottom: 8px;
}

.help-article strong {
  color:       var(--ink);
  font-weight: 600;
}

/* Les liens d'un article se voient : la famille du vert de « folio », mais
   assez foncé pour se lire en texte courant — le vert du logo lui-même
   (`--teal-dark`) n'a que 3:1 de contraste sur blanc, sous les 4,5:1 d'un
   texte. Il reste dans le soulignement et au survol, et le soulignement dit
   « lien » sans compter sur la seule couleur. */
.help-article a {
  color:                     var(--pos-strong);
  font-weight:               500;
  text-decoration:           underline;
  text-decoration-color:     var(--teal-dark);
  text-decoration-thickness: 1px;
  text-underline-offset:     3px;
}

.help-article a:hover,
.help-article a:focus-visible {
  color:                     var(--teal-dark);
  text-decoration-thickness: 2px;
}

.help-article table {
  width:           100%;
  margin:          20px 0;
  border-collapse: collapse;
  font-size:       var(--t-body);
}

.help-article th,
.help-article td {
  padding:       10px 12px;
  border-bottom: 1px solid var(--line);
  text-align:    left;
}

.help-article th {
  color:          var(--muted);
  font-size:      var(--t-small);
  font-weight:    600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.help-article code {
  padding:       2px 5px;
  border-radius: var(--r-badge);
  background:    var(--surface-alt);
  font-family:   var(--font-mono);
  font-size:     0.9em;
}

.help-article blockquote {
  margin:      0 0 16px;
  padding:     2px 0 2px 16px;
  border-left: 3px solid var(--line-strong);
}

.help-article blockquote p:last-child {
  margin-bottom: 0;
}

/* `> **À savoir** …` : l'encadré, le libellé à gauche du texte. */
.help-article .callout {
  display:               grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items:           baseline;
  column-gap:            12px;
  padding:               13px 16px;
  border-left:           3px solid var(--navy);
  border-radius:         0 8px 8px 0;
  background:            #F4F6F8;
}

.help-article .callout p {
  grid-column: 2;
  margin:      0;
  color:       #3E4F5B;
  font-size:   var(--t-body);
  line-height: 1.6;
}

.help-article .callout p + p {
  margin-top: 6px;
}

.help-article .callout .callout-label {
  grid-column: 1;
  grid-row:    1;
  color:       var(--ink);
}

/* Une liste de définitions : le tableau « un champ, ce qu'il est ». */
.help-article dl {
  display:               grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  margin:                0 0 16px;
  border:                1px solid var(--line);
  border-radius:         var(--r-panel);
  background:            var(--surface);
}

.help-article dt,
.help-article dd {
  margin:     0;
  padding:    14px 18px;
  font-size:  14.5px;
  line-height: 1.55;
}

.help-article dt {
  color:       var(--ink);
  font-weight: 600;
}

.help-article dd {
  color: var(--ink-2);
}

.help-article dt ~ dt,
.help-article dt ~ dt + dd {
  border-top: 1px solid var(--line-soft);
}

.help-article dd p {
  margin:    0;
  font-size: inherit;
}

.content-badge {
  display:        inline-block;
  margin-left:    8px;
  padding:        2px 6px;
  border-radius:  var(--r-badge);
  background:     #FBF1DC;
  color:          #8A5A00;
  font-family:    var(--font-mono);
  font-size:      var(--t-micro);
  font-weight:    400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 2px;
}

/* `[[Mes biens]]` : un bouton ou un menu de l'app, dessiné comme elle. */
.screen-label {
  display:       inline-flex;
  align-items:   center;
  padding:       2px 9px;
  border-radius: 6px;
  background:    #EAF0F4;
  color:         var(--ink);
  font-size:     var(--t-sub);
  font-weight:   500;
  line-height:   1.5;
  white-space:   nowrap;
}

/* L'ancre d'un intertitre : discrète, elle n'apparaît qu'au survol ou au
   clavier, pour copier l'adresse d'une section. */
.help-article .heading-anchor {
  margin-left:     8px;
  color:           var(--muted);
  font-weight:     400;
  text-decoration: none;
  opacity:         0;
  transition:      opacity 120ms ease;
}

.help-article h2:hover .heading-anchor,
.help-article h3:hover .heading-anchor,
.help-article .heading-anchor:focus-visible {
  opacity: 1;
}

.help-article .heading-anchor:hover {
  color: var(--teal-dark);
}

/* Une section liée ne se cache pas sous l'en-tête du site, qui reste collé en
   haut (55 px) : sa hauteur, plus un peu d'air. */
.help-article h2[id],
.help-article h3[id] {
  scroll-margin-top: 80px;
}

/* Les cartes de fin d'article : étapes suivantes, précédent / suivant. */
.content-cards,
.help-pager {
  display:   flex;
  flex-wrap: wrap;
  gap:       10px;
  margin:    10px 0 0;
}

.content-card,
.help-pager-link {
  display:         flex;
  flex:            1 1 220px;
  flex-direction:  column;
  gap:             4px;
  padding:         14px 16px;
  border:          1px solid var(--line);
  border-radius:   var(--r-panel);
  background:      var(--surface);
  color:           var(--ink);
  text-decoration: none;
}

.help-pager-link:hover,
.help-pager-link:focus-visible {
  border-color: var(--teal);
}

.content-card-kicker,
.help-pager-direction {
  color:       var(--muted);
  font-family: var(--font-mono);
  font-size:   var(--t-small);
}

.content-card-title,
.help-pager-title {
  font-size:   14.5px;
  font-weight: 600;
  line-height: 1.35;
}

.help-pager-next {
  align-items: flex-end;
  text-align:  right;
}

.help-feedback {
  margin:      26px 0 0;
  padding-top: 18px;
  border-top:  1px solid var(--line);
  color:       var(--ink-2);
  font-size:   var(--t-body);
}

/* L'appel à s'inscrire : le bandeau bleu nuit de la maquette, une fois par
   page, en dernier. */
.help-signup {
  display:         flex;
  flex-wrap:       wrap;
  align-items:     center;
  justify-content: space-between;
  gap:             16px;
  margin:          22px 0 0;
  padding:         22px 24px;
  border-radius:   12px;
  background:      var(--navy);
}

.help-signup p {
  margin: 0;
}

.help-signup-text {
  display:        flex;
  flex:           1 1 300px;
  flex-direction: column;
  gap:            4px;
}

.help-signup-title {
  color:       #FFFFFF;
  font-family: var(--font-title);
  font-size:   20px;
  font-weight: 600;
}

.help-signup-hook {
  color:       var(--side-fg);
  font-size:   var(--t-sub);
  line-height: 1.5;
}

.help-signup-actions {
  display:        flex;
  flex-direction: column;
  align-items:    flex-end;
  gap:            6px;
}

.help-signup-actions .button {
  color:           var(--teal-ink);
  font-weight:     600;
  text-decoration: none;
}

.help-signup-actions .button:hover {
  color: var(--teal-ink);
}

.help-signup-note {
  color:     var(--side-meta);
  font-size: var(--t-small);
}

.help-open {
  margin: 26px 0 0;
}

.help-open .button,
.help-open .button:hover {
  color:           var(--ink);
  font-weight:     500;
  text-decoration: none;
}

/* --- Les Actualités et les Guides (32-actualites-guides.md §3, §9) ---------- */

/* Le thème d'un article : son icône et son nom, en vert. */
.article-theme {
  display:     inline-flex;
  align-items: center;
  gap:         6px;
  color:       var(--pos);
  font-size:   12.5px;
  font-weight: 600;
}

.article-theme-pill {
  display:       inline-flex;
  align-self:    flex-start;
  padding:       4px 11px;
  border-radius: 999px;
  background:    var(--pos-bg);
}

.article-draft {
  text-transform: uppercase;
}

.article-draft-band {
  margin:        0;
  padding:       10px 14px;
  border-radius: var(--r-card);
  background:    var(--warn-bg);
  color:         var(--warn);
  font-size:     var(--t-sub);
  font-weight:   600;
}

.article-meta {
  display:     flex;
  flex-wrap:   wrap;
  align-items: center;
  gap:         8px 14px;
  margin:      0 0 18px;
  color:       var(--muted);
  font-size:   13.5px;
}

.article-meta time {
  color:       var(--ink);
  font-weight: 500;
}

.article-byline,
.article-reading {
  display:     inline-flex;
  align-items: center;
  gap:         6px;
}

.article-avatar {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  width:           22px;
  height:          22px;
  border-radius:   50%;
  background:      var(--navy);
}

.help-article .article-lead,
.article-lead {
  margin:      0 0 18px;
  color:       var(--ink-2);
  font-size:   19px;
  line-height: 1.6;
}

/* Les intertitres de service — Sources, Pour aller plus loin… — en
   étiquettes mono, pas en titres de section. */
.help-article h2.article-label,
.article-label {
  margin:         0 0 6px;
  padding:        0;
  border:         none;
  color:          var(--muted);
  font-family:    var(--font-mono);
  font-size:      var(--t-small);
  font-weight:    400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* « L'essentiel » d'une actualité : une carte, des puces vertes. */
.news-essentials {
  display:        flex;
  flex-direction: column;
  gap:            10px;
  padding:        18px 22px;
  border:         1px solid var(--line);
  border-radius:  12px;
  background:     var(--surface);
}

.news-essentials .article-label {
  margin: 0;
  color:  var(--pos);
}

.news-essentials ul {
  display:        flex;
  flex-direction: column;
  gap:            9px;
  margin:         0;
  padding:        0;
  list-style:     none;
}

.news-essentials li {
  position:     relative;
  padding-left: 16px;
  color:        var(--ink);
  font-size:    15.5px;
  line-height:  1.55;
}

.news-essentials li::before {
  position:      absolute;
  top:           9px;
  left:          0;
  width:         6px;
  height:        6px;
  border-radius: 50%;
  background:    var(--teal);
  content:       "";
}

.news-essentials p {
  margin: 0;
}

/* « En bref » d'un guide : une carte au liseré vert. */
.guide-brief {
  margin:        0 0 10px;
  padding:       16px 20px;
  border-left:   3px solid var(--teal);
  border-radius: 0 10px 10px 0;
  background:    var(--surface);
}

.help-article .guide-brief h2 {
  margin:      0 0 8px;
  font-size:   17px;
}

.help-article .guide-brief p {
  margin:      0;
  color:       var(--ink);
  font-size:   15px;
  line-height: 1.6;
}

.help-article .article-disclaimer,
.article-disclaimer {
  display:     flex;
  align-items: center;
  gap:         7px;
  margin:      0 0 20px;
  color:       var(--muted);
  font-size:   12.5px;
}

/* Les sources, numérotées. */
.article-sources {
  margin-top: 26px;
}

.article-sources ol {
  margin:        0;
  padding:       0;
  list-style:    none;
  border-top:    1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.help-article .article-sources li,
.article-sources li {
  display:     flex;
  gap:         12px;
  margin:      0;
  padding:     12px 0;
  font-size:   var(--t-body);
}

.article-sources li + li {
  border-top: 1px solid var(--line-soft);
}

.article-source-number {
  min-width:   18px;
  padding-top: 3px;
  color:       var(--muted);
  font-family: var(--font-mono);
  font-size:   var(--t-small);
}

.article-source-text {
  display:        flex;
  flex-direction: column;
  gap:            2px;
  min-width:      0;
  color:          var(--muted);
  font-size:      var(--t-sub);
}

.help-article .article-source-text a,
.article-source-text a {
  display:         inline-flex;
  align-items:     center;
  gap:             6px;
  color:           var(--ink);
  font-size:       14.5px;
  font-weight:     600;
  text-decoration: none;
}

.article-source-text a:hover {
  color: var(--pos);
}

.article-more {
  display:        flex;
  flex-direction: column;
  gap:            10px;
  margin-top:     26px;
}

/* « Pour aller plus loin » : le guide du thème, sur fond vert pâle. */
.news-further {
  display:         flex;
  align-items:     center;
  gap:             14px;
  padding:         16px 18px;
  border:          1px solid var(--pos-bg-2);
  border-radius:   12px;
  background:      var(--pos-bg);
  color:           var(--ink);
  text-decoration: none;
}

.news-further:hover {
  border-color: var(--teal);
}

.news-further-icon {
  display:         flex;
  flex:            none;
  align-items:     center;
  justify-content: center;
  width:           38px;
  height:          38px;
  border-radius:   var(--r-card);
  background:      var(--surface);
  color:           var(--pos);
}

.news-further-text {
  display:        flex;
  flex:           1;
  flex-direction: column;
  gap:            2px;
  min-width:      0;
}

.news-further-kicker {
  color:       var(--pos-strong);
  font-size:   12.5px;
  font-weight: 600;
}

.news-further-title {
  font-family: var(--font-title);
  font-size:   18px;
  font-weight: 600;
  line-height: 1.25;
}

.news-further-arrow {
  color:     var(--pos);
  font-size: 18px;
}

/* Les cartes d'article : la grille des Actualités, « Autres actualités »,
   « Autres guides ». */
.article-cards {
  display:   flex;
  flex-wrap: wrap;
  gap:       12px;
}

.article-cards .article-card {
  flex:    1 1 220px;
  padding: 16px 18px;
}

.article-card {
  display:         flex;
  flex-direction:  column;
  gap:             10px;
  height:          100%;
  box-sizing:      border-box;
  padding:         18px 20px;
  border:          1px solid var(--line);
  border-radius:   12px;
  background:      var(--surface);
  color:           var(--ink);
  text-decoration: none;
}

.article-card:hover,
.news-featured:hover {
  border-color: var(--teal);
  box-shadow:   0 2px 10px rgba(27, 58, 87, 0.07);
}

.article-card-head {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  gap:             10px;
}

.article-card-head time {
  color:       var(--muted);
  font-family: var(--font-mono);
  font-size:   var(--t-small);
  white-space: nowrap;
}

.article-card-title {
  font-family: var(--font-title);
  font-size:   19px;
  font-weight: 600;
  line-height: 1.2;
}

.article-cards .article-card-title {
  font-size:   17px;
  line-height: 1.25;
}

.article-card-lead {
  color:       var(--ink-2);
  font-size:   var(--t-body);
  line-height: 1.55;
}

.article-card-reading {
  margin-top: auto;
  color:      var(--muted);
  font-size:  12.5px;
}

/* La liste des Actualités. */
.news-body {
  gap: 22px;
}

.news-filters {
  display:   flex;
  flex-wrap: wrap;
  gap:       8px;
}

.news-filter {
  padding:         7px 14px;
  border:          1px solid var(--line-strong);
  border-radius:   999px;
  background:      var(--surface);
  color:           var(--ink);
  font-size:       13.5px;
  font-weight:     500;
  text-decoration: none;
  white-space:     nowrap;
}

.news-filter:hover {
  border-color: var(--navy);
}

.news-filter[aria-current] {
  border-color: var(--navy);
  background:   var(--navy);
  color:        #FFFFFF;
}

.news-featured {
  display:         flex;
  flex-wrap:       wrap;
  overflow:        hidden;
  border:          1px solid var(--line);
  border-radius:   14px;
  background:      var(--surface);
  color:           var(--ink);
  text-decoration: none;
}

.news-featured-art {
  display:         flex;
  flex:            1 1 300px;
  flex-direction:  column;
  justify-content: space-between;
  gap:             28px;
  min-height:      180px;
  box-sizing:      border-box;
  padding:         26px;
  background:      var(--navy);
}

.news-featured-label {
  color:          var(--side-fg);
  font-family:    var(--font-mono);
  font-size:      var(--t-small);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.news-featured-bars {
  display:     flex;
  align-items: flex-end;
  gap:         8px;
}

.news-featured-bars span {
  display:       block;
  width:         18px;
  border-radius: 4px;
  background:    var(--teal);
}

.news-featured-bars span:nth-child(1) { height: 40px; opacity: 0.5; }
.news-featured-bars span:nth-child(2) { height: 64px; opacity: 0.75; }
.news-featured-bars span:nth-child(3) { height: 92px; }

.news-featured-text {
  display:        flex;
  flex:           2 1 380px;
  flex-direction: column;
  gap:            12px;
  min-width:      0;
  padding:        26px 28px;
}

.news-featured-text .article-card-head {
  justify-content: flex-start;
}

.news-featured-title {
  font-family: var(--font-title);
  font-size:   32px;
  font-weight: 600;
  line-height: 1.12;
}

.news-featured-lead {
  color:       var(--ink-2);
  font-size:   15.5px;
  line-height: 1.6;
}

.news-featured-foot {
  display:     flex;
  align-items: center;
  color:       var(--muted);
  font-size:   var(--t-sub);
}

.news-featured-more {
  margin-left: auto;
  color:       var(--pos);
  font-size:   var(--t-body);
  font-weight: 600;
}

.news-grid {
  display:               grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap:                   14px;
  margin:                0;
  padding:               0;
  list-style:            none;
}

/* Une actualité : une colonne centrée. */
.news-page {
  max-width:  1120px;
  box-sizing: border-box;
  margin:     0 auto;
}

.news-article {
  display:        flex;
  flex-direction: column;
  gap:            18px;
  max-width:      720px;
  margin:         0 auto;
}

.news-article .content-breadcrumb {
  margin: 0;
}

.news-article h1 {
  margin:      0;
  font-family: var(--font-title);
  font-size:   40px;
  font-weight: 600;
  line-height: 1.08;
  color:       var(--ink);
  text-wrap:   balance;
}

.news-article .article-meta,
.news-article .article-lead {
  margin: 0;
}

.news-body-text h2 {
  font-size: 25px;
}

.news-body-text p,
.news-body-text li {
  font-size: 16.5px;
}

.news-article .help-signup {
  margin-top: 8px;
}

/* Une actualité de plus de six mois : ses chiffres ont pu changer. */
.news-aged {
  display:       flex;
  align-items:   flex-start;
  gap:           11px;
  margin:        0;
  padding:       12px 15px;
  border:        1px solid #F0D9A8;
  border-radius: var(--r-card);
  background:    #FFF7E8;
  color:         #7A5200;
  font-size:     var(--t-body);
  line-height:   1.5;
}

.news-aged strong {
  font-weight: 600;
}

.news-aged a {
  color: inherit;
}

@media (max-width: 600px) {
  .news-article h1,
  .news-featured-title {
    font-size: var(--t-h1);
  }
}

@media (max-width: 900px) {
  .content-layout {
    grid-template-columns: minmax(0, 1fr);
    gap:                   8px;
  }

  .content-aside,
  .content-article {
    grid-column: 1;
    grid-row:    auto;
  }

  .content-aside {
    position:   static;
    max-height: none;
  }

  /* Le groupe se retrouve en bas avec Précédent / Suivant : pas en tête. */
  .content-aside-group {
    display: none;
  }

  .content-onpage {
    margin-bottom: 14px;
    padding:       11px 14px;
    border:        1px solid var(--line);
    border-radius: var(--r-card);
    background:    var(--surface);
  }

  .content-onpage summary {
    margin:         0;
    color:          var(--ink);
    font-family:    var(--font-body);
    font-size:      var(--t-body);
    font-weight:    600;
    letter-spacing: 0;
    text-transform: none;
  }

  .content-onpage summary::after {
    content: " ▾";
  }

  .content-article h1 {
    font-size: var(--t-h1);
  }

  .help-article dl {
    grid-template-columns: minmax(0, 1fr);
  }

  .help-article dt ~ dt + dd {
    border-top: none;
  }

  .help-article dd {
    padding-top: 0;
  }

  .help-pager-next {
    order:       -1;
    align-items: flex-start;
    text-align:  left;
  }

  .help-signup-actions {
    align-items: flex-start;
  }
}

/* --- Le contact -------------------------------------------------------------- */

.contact-page {
  max-width: 62ch;
  margin:    0 auto;
  padding:   36px 20px 64px;
}

.contact-page h1 {
  margin-bottom: 8px;
}

.contact-lead {
  margin:      0 0 28px;
  color:       var(--ink-2);
  font-size:   var(--t-lead);
  line-height: 1.6;
}

.contact-page textarea {
  min-height: 160px;
  resize:     vertical;
}

/* Le champ piège (§6) : hors de l'écran, hors du flux, et hors de la tabulation
   par son `tabindex`. `display: none` serait plus court et plus mauvais — un
   robot qui lit le CSS saute ce qui est masqué, et le piège ne prendrait plus
   personne. */
.trap-row {
  position: absolute;
  left:     -10000px;
  width:    1px;
  height:   1px;
  overflow: hidden;
}

.contact-privacy {
  margin:      28px 0 0;
  padding-top: 18px;
  border-top:  1px solid var(--line);
  color:       var(--ink-2);
  font-size:   var(--t-sub);
  line-height: 1.6;
}

.contact-privacy a {
  color: var(--ink);
}

/* --- La vérification d'un document émis (#87) ------------------------------- */

.verify-figures {
  margin: 20px 0 8px;
}

.verify-form {
  display:     flex;
  flex-wrap:   wrap;
  align-items: flex-end;
  gap:         12px;
  margin-top:  28px;
}

.verify-form label {
  flex-basis: 100%;
  margin:     0;
}

.verify-form input {
  flex:           1 1 14ch;
  max-width:      24ch;
  margin:         0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- Les questions fréquentes ------------------------------------------------ */

.faq {
  padding-block: 64px 0;
}

.faq h2 {
  margin:         0 0 26px;
  font-size:      clamp(28px, 3.4vw, 42px);
  line-height:    1.05;
  letter-spacing: -0.015em;
}

/* Une seule colonne, et une largeur de lecture : une réponse de trois lignes
   étalée sur 1120 px se relit deux fois. */
.faq-list {
  max-width:     78ch;
  border-top:    1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

/* Le triangle par défaut du navigateur disparaît au profit du chevron, qui
   tourne — les deux à la fois feraient deux marqueurs pour une seule question. */
.faq-item summary {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  gap:             16px;
  padding:         18px 2px;
  cursor:          pointer;
  color:           var(--ink);
  font-family:     var(--font-title);
  font-size:       var(--t-h3);
  font-weight:     600;
  line-height:     1.25;
  list-style:      none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary svg {
  flex-shrink: 0;
  color:       var(--muted);
  transition:  transform 160ms ease;
}

.faq-item[open] summary svg {
  transform: rotate(180deg);
}

/* Le focus se voit : la question s'ouvre à l'`Entrée`, et personne ne doit
   avoir à deviner où il est dans la liste (§8.4). */
.faq-item summary:focus-visible {
  outline:        2px solid var(--teal-dark);
  outline-offset: 2px;
  border-radius:  var(--r-badge);
}

.faq-item p {
  max-width:     72ch;
  margin:        0;
  padding:       0 2px 20px;
  color:         var(--ink-2);
  font-size:     var(--t-body);
  line-height:   1.65;
}

.faq-item .faq-more {
  margin-top: 8px;
  color:      var(--muted);
  font-size:  var(--t-sub);
}

.faq-item .faq-more a {
  color:                 var(--pos-strong);
  text-decoration:       underline;
  text-decoration-color: var(--teal-dark);
  text-underline-offset: 3px;
}

.faq-link {
  margin:    22px 0 0;
  font-size: var(--t-body);
}

.faq-link a {
  color:           var(--ink);
  border-bottom:   2px solid var(--teal);
  padding-bottom:  2px;
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  .faq-item summary svg,
  .help-article .heading-anchor {
    transition: none;
  }
}

/* --- Le bandeau de consentement (19-beta-plan.md §6) ------------------------- */

/* Posé en bas, sans voile sur la page : on peut lire le site avant de
   répondre, et ne pas répondre vaut refus. */
.consent {
  position:       fixed;
  right:          16px;
  bottom:         16px;
  left:           16px;
  z-index:        50;
  display:        flex;
  flex-direction: column;
  gap:            10px;
  max-width:      520px;
  margin-inline:  auto;
  padding:        18px 20px;
  border:         1px solid var(--line-strong);
  border-radius:  var(--r-card);
  background:     var(--surface);
  box-shadow:     0 18px 40px -24px color-mix(in srgb, var(--navy) 45%, transparent);
}

.consent[hidden] {
  display: none;
}

.consent-title {
  margin:      0;
  font-family: var(--font-title);
  font-size:   18px;
  font-weight: 700;
}

.consent-text {
  margin:      0;
  color:       var(--ink-2);
  font-size:   14px;
  line-height: 1.55;
}

/* Même poids pour les deux : la CNIL demande qu'il soit aussi simple de
   refuser que d'accepter. */
.consent-actions {
  display: flex;
  gap:     8px;
}

.consent-actions button {
  flex: 1 1 0;
}

/* Un bouton, parce qu'il ne mène nulle part : il rouvre le bandeau. Habillé
   comme ses voisins du pied de page (voir « Le pied de page »). */
.site-footer-consent[hidden] {
  display: none;
}

/* --- Nouveautés (15-contacts-brevo.md §7.2, 31-redesign.md §6) ---------- */

/* Le bandeau : la seule page publique du redesign qui en a un, parce que
   c'est une page vitrine. */
.release-hero {
  background: var(--navy);
  color:      #FFFFFF;
}

.release-hero-inner {
  max-width: 1120px;
  margin:    0 auto;
  padding:   44px 20px 48px;
}

.release-hero h1 {
  margin: 4px 0 8px;
  color:  #FFFFFF;
}

.release-hero p {
  margin:    0;
  color:     var(--side-fg);
  font-size: var(--t-lead);
}

.release-hero .help-breadcrumb a,
.release-hero .help-breadcrumb {
  color: var(--side-meta);
}

.release-hero .help-breadcrumb a:hover {
  color: #FFFFFF;
}

.release-hero .help-breadcrumb [aria-current] {
  color: #FFFFFF;
}

.release-layout {
  display:               grid;
  grid-template-columns: 11rem minmax(0, 780px);
  gap:                   48px;
  justify-content:       center;
  max-width:             1120px;
  margin:                0 auto;
  padding:               36px 20px 64px;
}

/* L'index des versions de la page, en frise. */
.release-index {
  position:   sticky;
  top:        80px;
  align-self: start;
}

/* La frise : un trait vertical qui passe au centre des points, et un point
   cerclé par version — vert pour la dernière, gris pour les autres, comme
   dans la maquette. */
.release-index ol {
  position:   relative;
  margin:     0;
  padding:    0;
  list-style: none;
}

.release-index ol::before {
  content:    "";
  position:   absolute;
  top:        14px;
  bottom:     14px;
  left:       5px;
  width:      1px;
  background: var(--line-strong);
}

.release-index a {
  display:         flex;
  align-items:     flex-start;
  gap:             12px;
  padding:         8px 0;
  color:           var(--ink);
  text-decoration: none;
}

.release-index a::before {
  content:       "";
  position:      relative;
  z-index:       1;
  width:         10px;
  height:        10px;
  flex:          none;
  box-sizing:    border-box;
  margin-top:    4px;
  border:        2px solid var(--bg);
  border-radius: 50%;
  background:    #B5BBBE;
  box-shadow:    0 0 0 1px #B5BBBE;
}

.release-index li.is-latest a::before {
  background: var(--teal);
  box-shadow: 0 0 0 1px var(--teal);
}

.release-index a > span {
  display:        flex;
  flex-direction: column;
  gap:            1px;
  color:          var(--muted);
  font-size:      var(--t-small);
}

.release-index a:hover .release-index-version {
  color: var(--teal-dark);
}

.release-index-version {
  color: var(--teal-dark);
}

.release-index .release-index-version {
  color:       var(--ink);
  font-family: var(--font-mono);
  font-size:   var(--t-sub);
  font-weight: 500;
}

/* Une version : son numéro, sa date, son titre, son chapeau, puis ses
   rubriques en une colonne — un journal se lit de haut en bas. */
.release-note {
  scroll-margin-top: 72px;
}

.release-note + .release-note {
  margin-top:  44px;
  padding-top: 36px;
  border-top:  1px solid var(--line);
}

.release-note-meta {
  display:     flex;
  flex-wrap:   wrap;
  align-items: center;
  gap:         10px;
  margin:      0 0 10px;
  color:       var(--muted);
  font-family: var(--font-mono);
  font-size:   var(--t-small);
}

.release-note-version {
  padding:       4px 10px;
  border-radius: 6px;
  background:    var(--navy);
  color:         #FFFFFF;
  font-size:     var(--t-sub);
  font-weight:   500;
}

/* « Dernière version », comme dans la maquette : une pilule verte en
   capitales mono. */
.release-note-meta .badge {
  padding:        3px 9px;
  border-radius:  999px;
  background:     var(--teal);
  color:          var(--teal-ink);
  font-size:      var(--t-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.release-notes .release-note h2 {
  margin:      0 0 12px;
  padding:     0;
  border:      none;
  font-size:   var(--t-h2);
}

.release-section {
  margin:        14px 0 0;
  padding:       16px 20px 6px;
  border:        1px solid var(--line);
  border-radius: var(--r-card);
  background:    var(--surface);
}

.release-notes .release-section h3 {
  display:     flex;
  align-items: center;
  gap:         10px;
  margin:      0 0 12px;
  font-size:   var(--t-lead);
}

.release-section-icon {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  width:           30px;
  height:          30px;
  flex:            none;
  border-radius:   var(--r-ctl);
  background:      var(--pos-bg);
  color:           var(--pos-strong);
}

.release-notes .release-section p,
.release-notes .release-section li {
  font-size: var(--t-body);
}

/* Les puces : un point vert de 5 px, comme dans la maquette. */
.release-notes .release-section ul {
  padding:    0;
  list-style: none;
}

.release-notes .release-section li {
  position:     relative;
  padding-left: 15px;
}

.release-notes .release-section li::before {
  content:       "";
  position:      absolute;
  top:           0.65em;
  left:          0;
  width:         5px;
  height:        5px;
  border-radius: 50%;
  background:    var(--teal);
}

.release-notes .help-open {
  margin-top: 18px;
}

.release-notes .help-open .button {
  color:           var(--teal-ink);
  font-weight:     600;
  text-decoration: none;
}

.release-notes .help-open .button:hover {
  color: var(--teal-ink);
}

.release-pagination {
  display:         flex;
  flex-wrap:       wrap;
  align-items:     center;
  justify-content: space-between;
  gap:             12px;
  margin-top:      40px;
  padding-top:     22px;
  border-top:      1px solid var(--line);
}

.release-notes .release-pager {
  display:         inline-flex;
  align-items:     center;
  gap:             6px;
  padding:         8px 14px;
  border:          1px solid var(--line-strong);
  border-radius:   var(--r-ctl);
  background:      var(--surface);
  color:           var(--ink);
  font-size:       13.5px;
  font-weight:     500;
  text-decoration: none;
}

.release-notes a.release-pager:hover,
.release-notes a.release-page:hover {
  border-color: var(--navy);
  color:        var(--ink);
}

.release-notes .release-pager[aria-disabled] {
  border-color: var(--line);
  background:   var(--bg);
  color:        #A3AAAE;
  font-weight:  400;
  cursor:       not-allowed;
}

.release-pages {
  display:     flex;
  align-items: center;
  gap:         6px;
}

.release-notes .release-page {
  display:         flex;
  align-items:     center;
  justify-content: center;
  min-width:       34px;
  height:          34px;
  box-sizing:      border-box;
  border:          1px solid var(--line-strong);
  border-radius:   var(--r-ctl);
  background:      var(--surface);
  color:           var(--ink);
  font-family:     var(--font-mono);
  font-size:       var(--t-sub);
  font-weight:     400;
  text-decoration: none;
}

.release-notes .release-page[aria-current] {
  border-color: var(--navy);
  background:   var(--navy);
  color:        #FFFFFF;
}

.release-notes .release-pagination-count {
  margin:      12px 0 0;
  color:       var(--muted);
  font-family: var(--font-mono);
  font-size:   var(--t-small);
  text-align:  center;
}

@media (max-width: 900px) {
  .release-layout {
    grid-template-columns: minmax(0, 1fr);
    gap:                   20px;
  }

  .release-index {
    position: static;
  }
}

