/*
 * En-tête de page interne — .page-hero et .crumbs de la maquette (page « Nos
 * actions »). Partagé par les layouts « entete » et « actions_liste », et par la
 * fiche d'une action.
 *
 * Écarts :
 *
 *   — mot en italique du titre en bleu profond (.title-accent), et non en or :
 *     2.63:1 sur le papier, même en très grand ;
 *   — fil d'Ariane en <nav> + <ol> ; les « / » restent décoratifs, en CSS.
 *
 * Contrastes : fil d'Ariane gris 5.02:1, page courante bleu 10.9:1 ; titre bleu
 * 10.9:1 ; introduction --text-2 sur papier 10.7:1.
 */

.page-hero {
  position: relative;
  padding: clamp(60px, 8vw, 120px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--border);
}

.crumbs { margin-bottom: 24px; }

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.crumbs li:not(:last-child)::after {
  content: " / ";
  margin-left: 8px;
}

.crumbs a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

.crumbs .current { color: var(--primary); font-weight: 600; }

.page-hero h1 {
  font-family: var(--ff-heading);
  font-weight: 500;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--primary);
}

.page-hero .lede {
  max-width: 50ch;
  margin-top: 28px;
  font-family: var(--ff-editorial);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.4;
  color: var(--text-2);
}

/* ==========================================================================
   Fiche d'une action (single-action.php) — non maquettée
   ==========================================================================

   En-tête de la page « Nos actions », informations pratiques en <dl>, photo et
   texte à la largeur de lecture. Informations : libellés gris 5.02:1, valeurs
   encre 16.4:1 ; icônes dorées décoratives. */

.action-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.action-facts dt {
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.action-facts dd {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--ff-heading);
  font-size: 20px;
  color: var(--text);
}

.action-facts dd .icon { width: 16px; height: 16px; color: var(--accent); }

.action-single-image {
  max-width: 960px;
  margin: 0 0 48px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--primary-pale);
}

.action-single-image img { width: 100%; height: 100%; object-fit: cover; }

/* Association soutenue — hors maquette (7 octobre 2026).
   Carte blanche : la plupart des logos d'association sont livrés sur fond blanc.
   Sur-titre --text-muted 5.32:1 sur blanc, nom encre, texte --text-2 11.3:1,
   lien bleu profond 11.6:1. Filet doré à gauche : décor. */

.action-association {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 0 48px;
  padding: 28px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
}

.action-association-logo { width: 160px; }

.action-association-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 140px;
  object-fit: contain;
  object-position: left center;
}

.action-association-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 400;
}

.action-association-eyebrow {
  font-family: var(--ff-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.action-association-name {
  font-family: var(--ff-heading);
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.1;
  color: var(--text);
}

.action-association-text {
  margin-top: 12px;
  max-width: 60ch;
  color: var(--text-2);
}

.action-association-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 8px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.action-association-link:hover { text-decoration-thickness: 2px; }
.action-association-link .icon { width: 16px; height: 16px; }

@media (min-width: 700px) {
  .action-association { padding: 32px 40px; }

  .action-association--logo {
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: center;
    gap: 36px;
  }

  .action-association-logo { width: 100%; }
}

.action-single-back { margin-top: 48px; }
