/* Page de l'agence de Yaoundé (07/11/2026, demande d'Alex : « mettre en avant
   le fait que nous sommes aussi présents à Yaoundé »). Chargée par
   agence-immigration-yaounde.html et sa jumelle anglaise seulement.
   Tout passe par les jetons de css/styles.css : le mode nuit suit seul. */

.ag-chapo { max-width: 60ch; margin: 14px auto 0; color: var(--muted); font-size: var(--fs-md); line-height: 1.6; }
.ag-hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }
.ag-hero-actions .btn { min-height: 48px; }

/* ---------- L'agence en bref : la fiche et le texte ---------- */
.ag-intro { display: grid; gap: var(--sp-7); grid-template-columns: minmax(0, 1fr); align-items: start; }
.ag-intro > * { min-width: 0; }
.ag-texte h2 { font-size: var(--fs-h2); font-weight: 700; color: var(--navy-dark); letter-spacing: var(--tracking-title); line-height: 1.15; margin-bottom: var(--sp-5); text-wrap: balance; }
.ag-texte p { color: var(--muted); font-size: var(--fs-md); line-height: 1.7; max-width: 62ch; margin: 0 0 var(--sp-4); }
.ag-texte p:last-child { margin-bottom: 0; }
.ag-texte a { color: var(--red-dark); font-weight: 600; text-underline-offset: 3px; }

.ag-fiche { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.ag-fiche-tete { background: var(--fond-sombre); color: var(--sur-couleur); padding: var(--sp-6) var(--sp-5) var(--sp-5); }
.ag-ville { display: block; font-size: var(--fs-sm); font-weight: 600; color: rgba(255, 255, 255, .78); margin-bottom: 4px; }
.ag-lieu { display: block; font-family: Sora, sans-serif; font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.5rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.ag-repere { display: flex; gap: var(--sp-2); align-items: center; margin-top: var(--sp-3); font-size: var(--fs-base); color: rgba(255, 255, 255, .9); }
.ag-repere svg { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; }
.ag-fiche-corps { padding: var(--sp-5); display: grid; gap: var(--sp-5); }
.ag-bloc-titre { font-size: var(--fs-sm); font-weight: 700; color: var(--navy-dark); margin: 0 0 var(--sp-2); }
.ag-horaires { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px var(--sp-4); margin: 0; font-size: var(--fs-base); font-variant-numeric: tabular-nums; }
.ag-horaires dt { color: var(--muted); }
.ag-horaires dd { margin: 0; color: var(--ink); font-weight: 600; }
.ag-tels { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ag-tels a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ag-tels small { color: var(--muted); font-weight: 500; margin-left: var(--sp-2); }
.ag-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.ag-actions .btn { flex: 1 1 200px; min-height: 48px; justify-content: center; }

/* ---------- Ce que l'on fait à Yaoundé : des lignes, pas des cartes ---------- */
.ag-offre { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ag-offre li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--sp-2) var(--sp-4); padding: var(--sp-5) 0; border-bottom: 1px solid var(--line); }
.ag-ico { width: 44px; height: 44px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; }
.ag-ico svg { width: 22px; height: 22px; stroke: var(--red-dark); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ag-offre h3 { font-size: var(--fs-lg); color: var(--navy-dark); line-height: 1.3; margin: 0 0 4px; }
.ag-offre p { color: var(--muted); font-size: var(--fs-base); line-height: 1.6; margin: 0; max-width: 64ch; }
.ag-lien { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--red-dark); font-weight: 600; text-underline-offset: 3px; }
.ag-lien svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.4; transition: transform .2s ease-out; }
.ag-lien:hover svg { transform: translateX(3px); }

/* ---------- Venir à l'agence : le repère dessiné ---------- */
.ag-venir { display: grid; gap: var(--sp-7); grid-template-columns: minmax(0, 1fr); align-items: center; }
.ag-venir > * { min-width: 0; }
.ag-etapes { margin: 0 0 var(--sp-5); padding: 0; list-style: none; counter-reset: etape; display: grid; gap: var(--sp-4); }
.ag-etapes li { counter-increment: etape; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: var(--sp-3); color: var(--muted); font-size: var(--fs-md); line-height: 1.6; }
.ag-etapes li::before { content: counter(etape); width: 32px; height: 32px; border-radius: var(--r-pill); background: var(--red-dark); color: var(--sur-couleur); font-weight: 700; font-size: var(--fs-sm); display: grid; place-items: center; }
.ag-etapes b { color: var(--ink); }
.ag-plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-5); }
.ag-plan svg { display: block; width: 100%; height: auto; }
.ag-plan .route { fill: var(--line-strong); }
.ag-plan .marquage { stroke: var(--white); stroke-width: 3; stroke-dasharray: 14 12; fill: none; }
.ag-plan .station { fill: var(--bg); stroke: var(--muted); stroke-width: 2; }
.ag-plan .station-trait { stroke: var(--muted); stroke-width: 2; fill: none; stroke-linecap: round; }
.ag-plan .agence { fill: var(--red-dark); }
.ag-plan .agence-trou { fill: var(--white); }
.ag-plan .fleche { stroke: var(--red-dark); stroke-width: 2.4; fill: none; stroke-dasharray: 5 6; stroke-linecap: round; }
.ag-plan text { font-family: Sora, sans-serif; font-size: var(--fs-base); font-weight: 600; fill: var(--ink); }
.ag-plan .petit { font-size: var(--fs-xs); font-weight: 500; fill: var(--muted); }
.ag-plan figcaption { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--muted); }

/* ---------- Vos démarches : une liste de lectures ---------- */
.ag-lectures { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; border-top: 1px solid var(--line); }
.ag-lectures a { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); padding: var(--sp-4) 0; border-bottom: 1px solid var(--line); color: var(--navy-dark); font-weight: 600; line-height: 1.4; min-height: 44px; }
.ag-lectures a:hover { color: var(--red-dark); }
.ag-lectures svg { width: 18px; height: 18px; flex: none; stroke: var(--red-dark); fill: none; stroke-width: 2.4; }

.ag-faq-section .faq .faq-body p { margin: 0; }

@media (min-width: 900px) {
  .ag-intro { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--sp-9); }
  .ag-offre li { grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; }
  .ag-lien { grid-column: auto; justify-self: end; }
  .ag-venir { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-9); }
}

@media (max-width: 767px) {
  .ag-hero-actions .btn { width: 100%; }
  /* Au téléphone, l'adresse et les horaires passent avant le texte. */
  .ag-fiche { order: -1; }
  .ag-fiche-tete { padding: var(--sp-5) var(--sp-4) var(--sp-4); }
  .ag-fiche-corps { padding: var(--sp-4); }
  .ag-offre li { padding: var(--sp-4) 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ag-lien svg { transition: none; }
}
