/* =====================================================================
   guide.css — styles propres aux guides (parent, enfant, hub)
   ---------------------------------------------------------------------
   Ce fichier ne contient QUE les styles que base.css ne couvre pas.
   Sont hérités de base.css : header, logo, breadcrumb, boutons, encadré,
   faq-section, sources-details/columns, eeat-section, cluster-guides,
   pillars-section, content-pillars, cta-final.
   Sources : prototypes .final/prototype_guide_parent_v5.html,
   prototype_guide_enfant_v4.html, prototype_hub_guides_v1.html.
   ===================================================================== */

/* ===== OVERRIDES VARIABLES GUIDES (parent + enfant uniquement) ========
   Les guides parent/enfant utilisent un conteneur plus large (1280px)
   et un main-content plus large (820px) que le reste du site (1080/680px).
   Le hub guides conserve les variables par défaut (1080px).
   Ref : prototype_guide_parent_v5.html :root. ============================ */
.guide-page {
  --wide-width: 1280px;
  --content-width: 820px;
}

/* ===== HERO GUIDE ===================================================== */
.hero {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 80px 5% 48px;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-primary);
  margin-bottom: 24px;
  max-width: 800px;
}
.hero .accroche {
  font-family: var(--font-body);
  font-size: 1.2rem;
  line-height: 1.5;
  max-width: var(--content-width);
  color: var(--color-text);
  margin-bottom: 12px;
}
.hero .meta {
  margin-top: 20px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--color-secondary);
}
.hero .meta .updated {
  color: var(--color-accent-dark);
  font-weight: 600;
}
.hero .depth-signal {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  color: var(--color-secondary);
}

/* ===== ANCHOR BAND GUIDE (V5) — bande entière cliquable ================
   Le guide utilise une bande dédiée, distincte de la barre d'ancres
   du single-service : un <button> unique qui pilote l'ouverture du
   mega-menu via .is-open. Structure exploitée par le helper
   solent_render_guide_anchor_band. ==================================== */
.anchor-band {
  background: var(--color-primary);
  color: inherit;
  font: inherit;
  border: none;
  width: 100%;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-align: left;
  -webkit-appearance: none;
  appearance: none;
  display: block;
  position: relative;
  transition: background 0.2s ease;
}
.anchor-band:hover { background: #1e1e1e; }
.anchor-band-inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 56px;
}

/* Label gauche — identité du domaine ou du cluster enfant */
.anchor-band-label {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--font-heading);
  color: var(--color-surface);
}
.ab-parent-path {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}
.ab-domain {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-surface);
  white-space: nowrap;
}
.ab-breadcrumb-sep {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
}
.ab-chevron {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 4px;
}
.ab-sep {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
}
.ab-counter {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
}
.ab-counter strong {
  font-weight: 700;
  color: var(--color-surface);
}

/* CTA droite — texte simple + chevron qui pivote à l'ouverture */
.anchor-band-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.anchor-band:hover .anchor-band-cta,
.anchor-band.is-open .anchor-band-cta {
  color: var(--color-surface);
}
.anchor-band-cta .chevron {
  display: inline-block;
  font-size: 0.7rem;
  transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1);
}
.anchor-band:hover .anchor-band-cta .chevron,
.anchor-band.is-open .anchor-band-cta .chevron {
  transform: rotate(180deg);
}

/* ===== ANCHOR BAND MEGA MENU ========================================= */
.anchor-band-mega {
  max-height: 0;
  overflow: hidden;
  background: var(--color-primary);
  transition: max-height 0.4s cubic-bezier(0.2, 0, 0, 1);
}
.anchor-band.is-open + .anchor-band-mega { max-height: 900px; }
.anchor-band-mega-inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 28px 5% 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Colonne du mega : titre-porte cliquable + compteur */
.mega-col { display: block; }
.mega-col-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: color 0.2s ease;
}
a.mega-col-title:hover { color: var(--color-surface); }
.mega-col-title.is-current {
  color: var(--color-surface);
  cursor: default;
}
.mct-count {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
}
.mct-count strong {
  font-weight: 600;
  color: var(--color-surface);
}

/* Liste de guides dans la colonne gauche */
/* Pas de séparateur vertical entre colonnes dans le mega menu guide (fond noir) */
.anchor-band-mega .mega-col + .mega-col { border-left: none; }

.mega-col-list { list-style: none; padding: 0; margin: 0; }
.mega-col-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: color 0.2s ease;
}
.mega-col-list li a:hover { color: var(--color-surface); }
.mega-col-list li a .mega-meta {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 12px;
}
.mega-col-list li a:hover .mega-meta { color: rgba(255, 255, 255, 0.8); }
.mega-col-list li.is-current a {
  color: var(--color-surface);
  font-weight: 600;
  pointer-events: none;
  cursor: default;
}

/* Cartes article dans la colonne droite du mega */
.mega-article {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  text-decoration: none;
}
.mega-article-title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.3;
  margin-bottom: 4px;
  transition: color 0.2s ease;
}
.mega-article-meta {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s ease;
}
.mega-article:hover .mega-article-title { color: var(--color-surface); }
.mega-article:hover .mega-article-meta { color: rgba(255, 255, 255, 0.8); }
/* Focus par assombrissement des frères (effet Anthropic) */
.mega-col:has(.mega-article:hover) .mega-article:not(:hover) .mega-article-title {
  color: rgba(255, 255, 255, 0.65);
}
.mega-col:has(.mega-article:hover) .mega-article:not(:hover) .mega-article-meta {
  color: rgba(255, 255, 255, 0.45);
}

/* Footer du mega — 3 portes de sortie transactionnelles */
.anchor-band-mega-footer {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.mega-footer-inner {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 20px 5%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mega-footer-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 14px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.mega-footer-link:hover { background: rgba(255, 255, 255, 0.06); }
.mfl-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}
.mfl-meta {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}
.mega-footer-link:hover .mfl-label { color: var(--color-surface); }
.mega-footer-link:hover .mfl-meta { color: rgba(255, 255, 255, 0.75); }

/* ===== LAYOUT BRUZZO GUIDE (sidebar TOC + contenu) ==================== */
.guide-layout {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 48px 5% 60px;
  display: grid;
  grid-template-columns: var(--toc-width, 260px) 1fr;
  gap: 48px;
}

/* Sidebar sticky — avocats + TOC + CTA */
.guide-sidebar {
  position: sticky;
  top: 72px;
  align-self: start;
}
.sidebar-section { margin-bottom: 28px; }
.sidebar-section-title {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

/* TOC guide — distinct de la TOC dossier (ascenseur vertical actif) */
.toc-wrapper {
  position: relative;
  max-height: calc(100vh - 180px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--color-secondary) transparent; /* Firefox */
}
/* Ascenseur visible : 3px passait inaperçu, la TOC semblait simplement coupée */
.toc-wrapper::-webkit-scrollbar { width: 6px; }
.toc-wrapper::-webkit-scrollbar-track { background: transparent; }
.toc-wrapper::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 3px;
}
.toc-wrapper:hover::-webkit-scrollbar-thumb { background: var(--color-secondary); }
.guide-sidebar .toc {
  list-style: none;
  padding: 0 0 0 12px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  line-height: 1.3;
  border-left: 2px solid var(--color-border);
}
.toc-indicator {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 20px;
  background: var(--color-accent-dark);
  transition: top 0.25s ease, height 0.25s ease;
  z-index: 1;
}
.guide-sidebar .toc li { padding: 7px 0; }
.guide-sidebar .toc li a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.82rem;
  display: block;
  line-height: 1.35;
  transition: color 0.2s ease, transform 0.2s ease;
}
.guide-sidebar .toc li a:hover {
  color: var(--color-accent-dark);
  transform: translateX(4px);
}
.guide-sidebar .toc li.is-active > a {
  color: var(--color-accent-dark);
  font-weight: 600;
}

/* Entrées H3 de la TOC : indentées, à puce, repliées par défaut et dépliées
   dans le groupe du H2 actif. Parité avec single-blog.css (.toc .toc-h3) —
   toc.js pose déjà les classes .toc-h3 / .toc-h3-visible sur les guides, seul
   le CSS manquait, d'où une TOC plate sur les pages guide.
   Sélecteurs scopés .guide-sidebar .toc (0,3,0) et non .toc (0,2,0) : il faut
   passer devant .guide-sidebar .toc li (0,2,1), sinon le padding l'emporte et
   le repli reste cassé. Même mécanique de spécificité qu'ADR-007. */
.guide-sidebar .toc .toc-h3 {
  position: relative;
  padding: 0 0 0 14px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.25s ease, padding 0.25s ease;
}
.guide-sidebar .toc .toc-h3.toc-h3-visible {
  max-height: 3em;
  opacity: 1;
  padding-top: 7px;
  padding-bottom: 0;
}
.guide-sidebar .toc .toc-h3 a {
  font-size: 0.77rem;
  font-weight: 400;
}
.guide-sidebar .toc .toc-h3::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-border);
  transform: translateY(-50%);
}
.guide-sidebar .toc .toc-h3.is-active > a {
  color: var(--color-accent-dark);
  font-weight: 500;
}
.guide-sidebar .toc .toc-h3.is-active::before {
  background: var(--color-accent-dark);
}

/* TOC : hauteur bornée à la place réellement disponible, avec ascenseur.
   Le `max-height: calc(100vh - 180px)` de .toc-wrapper est un forfait qui ignore
   la hauteur du bloc avocats au-dessus (variable : 1 à 3 référents selon le guide)
   et celle du CTA en dessous. Quand un groupe de H3 se déplie, la TOC peut donc
   dépasser le bas de l'écran sans jamais déclencher son propre ascenseur.
   On borne la sidebar sticky à la hauteur du viewport et on laisse la section
   sommaire absorber l'espace restant : avocats et CTA gardent leur taille, la TOC
   scrolle seule. `min-height: 0` est indispensable — sans lui, un conteneur flex
   refuse de descendre sous la hauteur de son contenu et l'ascenseur ne sort jamais.
   Desktop uniquement : en < 769px la sidebar repasse en statique et la TOC devient
   un accordéon (voir la media query mobile plus bas). */
@media (min-width: 769px) {
  .guide-sidebar {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 96px); /* 72px de sticky top + 24px de respiration */
  }
  /* avocats + CTA : taille naturelle, jamais compressés */
  .guide-sidebar > .sidebar-section:not([aria-label]),
  .guide-sidebar > .sidebar-cta {
    flex: 0 0 auto;
  }
  /* section sommaire : prend le reste et devient le conteneur de défilement */
  .guide-sidebar > .sidebar-section[aria-label] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
  }
  .guide-sidebar .toc-wrapper {
    max-height: none;
    flex: 1 1 auto;
    min-height: 0;
    padding-right: 8px; /* évite que l'ascenseur ne chevauche le texte */
  }
}

/* Carte avocats dans la sidebar */
.avocats-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.avocat-card {
  display: flex;
  align-items: center;
  gap: 10px;
}
.avocat-card img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  filter: grayscale(1) contrast(1.1);
}
.avocat-card .avocat-info { line-height: 1.3; }
.avocat-card .avocat-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-primary);
  text-decoration: none;
  display: block;
  transition: color 0.2s ease;
}
.avocat-card .avocat-name:hover { color: var(--color-accent-dark); }
.avocat-card .avocat-role {
  font-size: 0.72rem;
  color: var(--color-secondary);
  font-family: var(--font-heading);
}

.sidebar-cta { margin-top: 24px; }

/* ===== CONTENU ÉDITORIAL DU GUIDE ==================================== */
.main-content { max-width: var(--content-width); }
.main-content h2 {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 56px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.main-content h2:first-child { margin-top: 0; }
.main-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 40px;
  margin-bottom: 12px;
}
.main-content p {
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 18px;
}
.main-content ul,
.main-content ol {
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 18px;
  padding-left: 1.5em;
}
.main-content li { margin-bottom: 6px; }

/* ===== SOURCES + FAQ GUIDE (overrides base.css) ======================
   Dans les guides, la section faq-inner n'a pas de border-top (contrairement
   aux articles de blog). Les marges et paddings sont réduits.
   Ref : prototype_guide_parent_v5.html .faq-inner, .sources-details. ===== */
.guide-page .faq-inner {
  border-top: none;
  padding-top: 16px;
}
.guide-page .faq-inner .sources-details {
  margin-left: -24px;
  margin-right: -24px;
}

/* ===== HUB GUIDES — catalogue par domaine ============================ */
.domains {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 5% 40px;
}
.domain-section {
  padding: 48px 0;
  border-top: 1px solid var(--color-border);
}
.domain-section:last-child { border-bottom: 1px solid var(--color-border); }
.domain-header { margin-bottom: 24px; }
.domain-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--color-accent-dark);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.domain-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: 16px;
}
.domain-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.domain-title a:hover { color: var(--color-accent-dark); }
.domain-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-secondary);
  max-width: var(--content-width);
  margin-bottom: 8px;
}
.domain-stats {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--color-secondary);
  margin-bottom: 0;
}
.domain-stats strong {
  font-weight: 700;
  color: var(--color-primary);
}

/* Cartes des guides enfants d'un domaine */
.guide-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.guide-link {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--color-border);
  text-decoration: none;
  transition: border-color 0.3s cubic-bezier(0.2, 0, 0, 1);
}
.guide-link:hover { border-color: var(--color-accent-dark); }
.guide-link-title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 4px;
  transition: color 0.2s ease;
}
.guide-link:hover .guide-link-title { color: var(--color-accent-dark); }
.guide-link-meta {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  color: var(--color-secondary);
  margin-top: auto;
}

/* ===== RESPONSIVE ==================================================== */
@media (min-width: 769px) and (max-width: 1024px) {
  :root { --toc-width: 220px; }
  .guide-layout { gap: 32px; }
  .guide-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero { padding: 48px 5% 32px; }

  .guide-layout { display: block; }
  .guide-sidebar { position: static; margin-bottom: 32px; }

  /* TOC collapsible en mobile (seule la section avec aria-label se replie) */
  .sidebar-section[aria-label] .toc-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .sidebar-section[aria-label] .sidebar-section-title {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .sidebar-section[aria-label] .sidebar-section-title::after {
    content: '+';
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-secondary);
  }
  .sidebar-section[aria-label].is-open .sidebar-section-title::after {
    content: '\2212';
  }
  .sidebar-section[aria-label].is-open .toc-wrapper { max-height: 500px; }

  .sidebar-cta { display: none; }

  .anchor-band-inner {
    flex-wrap: wrap;
    gap: 12px;
    min-height: 0;
    padding: 12px 5%;
  }
  .anchor-band-label { width: 100%; gap: 8px; font-size: 0.78rem; }
  .ab-domain { font-size: 0.85rem; }
  .ab-counter { font-size: 0.72rem; }
  .anchor-band-cta { width: 100%; justify-content: center; font-size: 0.72rem; }
  .anchor-band-mega-inner { grid-template-columns: 1fr; gap: 24px; }
  .mega-footer-inner { grid-template-columns: 1fr; gap: 8px; padding: 16px 5%; }
  .mega-footer-link { padding: 12px 14px; border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.15); }

  .avocat-card img { width: 36px; height: 36px; }

  .guide-links { grid-template-columns: 1fr; gap: 8px; }

  .domain-section { padding: 32px 0; }
}

/* =====================================================================
   TIMELINE — frise chronologique inline dans le corps d'un guide
   Portée depuis single-service.css : le composant est partagé mais son
   CSS n'était chargé que sur les pages service. Les guides utilisent le
   même markup (.timeline-block > .timeline > .timeline-step) ; on
   réplique donc les règles ici pour qu'elles s'appliquent aussi aux
   pages guide (qui ne chargent que base.css + guide.css).
   ===================================================================== */
.guide-page .timeline-block {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 32px 0;
  margin: 48px 0;
}
.guide-page .timeline-block .timeline-block-label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary);
  text-align: center;
  margin-bottom: 16px;
}
.guide-page .timeline {
  display: flex;
  align-items: flex-start;
  position: relative;
}
.guide-page .timeline::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  height: 1px;
  background: var(--color-border);
}
.guide-page .timeline-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.guide-page .timeline-dot {
  width: 24px;
  height: 24px;
  border: 1px solid var(--color-primary);
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.guide-page .timeline-step:hover .timeline-dot {
  background: var(--color-primary);
  color: var(--color-surface);
}
.guide-page .timeline-block .timeline-step-title {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-secondary);
  line-height: 1.3;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .guide-page .timeline {
    flex-direction: column;
    gap: 12px;
    padding-left: 32px;
  }
  .guide-page .timeline::before {
    top: 12px;
    bottom: 12px;
    left: 12px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .guide-page .timeline-step {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 10px;
  }
  .guide-page .timeline-dot {
    flex-shrink: 0;
    margin-bottom: 0;
    position: absolute;
    left: -32px;
  }
}

/* =====================================================================
   TIMELINE — variante « détail » (2026-08-09)
   Portée depuis single-service.css, même motif que la frise de base : le
   composant est partagé, mais le CSS des guides est répliqué ici parce que
   les pages guide ne chargent que base.css + guide.css.
   Motif de la variante : la frise de base n'accueille qu'un titre court par
   étape. Six guides (18382, 18384, 18396, 18398, 18400, 18402) portaient
   chacun un balisage improvisé — cinq markups divergents, classes orphelines
   sans aucun CSS — parce qu'ils avaient besoin d'un commentaire par étape.
   Sans la classe modificatrice, le contrat de base est inchangé.
   ===================================================================== */
.guide-page .timeline-block--detail .timeline {
  flex-direction: column;
  align-items: stretch;
  gap: 26px;
  padding-left: 40px;
}
.guide-page .timeline-block--detail .timeline::before {
  top: 6px;
  bottom: 6px;
  left: 12px;
  right: auto;
  width: 1px;
  height: auto;
}
.guide-page .timeline-block--detail .timeline-step {
  flex: 0 0 auto;
  display: block;
  text-align: left;
}
.guide-page .timeline-block--detail .timeline-dot {
  position: absolute;
  left: -40px;
  top: 0;
  margin-bottom: 0;
}
.guide-page .timeline-block--detail .timeline-step-when {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-dark);
  margin: 0 0 4px;
}
.guide-page .timeline-block--detail .timeline-step-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.35;
  margin: 0 0 8px;
}
.guide-page .timeline-block--detail .timeline-step-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text);
  margin: 0;
}
@media (max-width: 768px) {
  .guide-page .timeline-block--detail .timeline {
    padding-left: 32px;
  }
  .guide-page .timeline-block--detail .timeline-dot {
    left: -32px;
  }
}
