/* ============================================================
   Compléments pour les nouvelles pages (décembre 2026)
   Se charge après style.css, qui reste inchangé.
   ============================================================ */

.main-nav a[aria-current="page"] { color: var(--color-accent); }

/* Héro des pages intérieures (sans photo) */
.hero-page { padding: clamp(3rem, 7vw, 5rem) 0; }
.hero-page h1, .hero-page .hero-sub { max-width: 760px; }

.breadcrumb {
  font-size: 0.9rem;
  color: #b9c6da;
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: #d7e3f5; }
.breadcrumb a:hover { color: #fff; }

/* Texte courant */
.prose { max-width: 820px; }
.prose h2 { margin-top: 2.25rem; }
.prose h2:first-child { margin-top: 0; }
.prose > p, .prose > ul li { color: var(--color-ink-soft); }
.prose > ul { padding-left: 1.25rem; margin: 0 0 1em; }
.prose > ul li { margin-bottom: 0.4rem; }
.prose .criteria-grid { margin-bottom: 1rem; }

/* Cartes cliquables */
.card-link { display: block; color: inherit; text-decoration: none; transition: transform 0.15s ease, border-color 0.15s ease; }
.card-link:hover { color: inherit; transform: translateY(-2px); border-color: var(--color-accent); }
.card-more { display: inline-block; margin-top: 1rem; color: var(--color-accent); font-weight: 600; }

/* Grille de quatre cartes : deux par ligne */
@media (min-width: 700px) { .cards.cards-2 { grid-template-columns: repeat(2, 1fr); } }

/* Menu : six entrées. Le menu déroulant reste actif jusqu'à 1100 px */
@media (min-width: 800px) and (max-width: 1099px) {
  .nav-toggle-label { display: flex; }
  .main-nav { display: none !important; flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: 0.25rem; padding-bottom: 1rem; }
  .nav-toggle:checked ~ .main-nav { display: flex !important; }
}
@media (min-width: 1100px) { .main-nav { gap: 1rem; } .main-nav a { white-space: nowrap; font-size: 0.9rem; } }

/* Étapes numérotées */
.steps { list-style: none; counter-reset: etape; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem; }
.steps li {
  counter-increment: etape;
  position: relative;
  padding: 1.15rem 1.4rem 1.15rem 4.2rem;
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(etape);
  position: absolute;
  left: 1.3rem;
  top: 1.05rem;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-accent);
}
.steps h3 { margin-bottom: 0.3rem; }
.steps p { margin: 0; color: var(--color-ink-soft); }

/* Questions fréquentes */
.faq details {
  background: var(--color-bg);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  margin-bottom: 0.75rem;
}
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 0.75rem 0 0; color: var(--color-ink-soft); }

/* Tableau */
.table-wrap { overflow-x: auto; margin-bottom: 1.5rem; }
table { border-collapse: collapse; width: 100%; font-size: 0.97rem; }
th, td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--color-line); }
th { background: var(--color-bg-alt); }
td { color: var(--color-ink-soft); }

/* Bandeau d'appel à l'action */
.cta-band { text-align: center; }
.cta-band p { color: var(--color-ink-soft); max-width: 620px; margin: 0 auto 1.5rem; }

/* Pied de page : liens sur plusieurs lignes */
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.site-footer nav a { margin-left: 0; }
.site-footer p a { margin-left: 0; text-decoration: underline; }

/* Fil d'Ariane sur fond clair */
.breadcrumb-dark { font-size: 0.9rem; color: var(--color-ink-soft); margin-bottom: 1.25rem; }
