/* ABLOGUI — widget « axes » (repris de la maquette d'accueil, maquettes/css/accueil.css) */
.ab-valeurs__titre { text-align: center; font-size: var(--ab-fs-xl); margin-bottom: clamp(36px, 5vw, 64px); }
.ab-valeurs__grille { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 4vw, 56px); }
.ab-valeur { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 22px; align-items: start; font-family: var(--ab-police); }
.ab-valeur__icone { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--_f); color: var(--_c); transition: transform .6s var(--ab-doux); }
.ab-valeur:hover .ab-valeur__icone { transform: rotate(-8deg) scale(1.06); }
.ab-valeur__icone svg { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ab-valeur h3 { margin-top: 12px; font-size: var(--ab-fs-l); font-weight: 900; line-height: 1.2; }
.ab-valeur p { margin-top: 10px; color: var(--ab-texte-doux); font-weight: 400; line-height: 1.55; }
@media (max-width: 900px) {
  .ab-valeurs__grille { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

/* Variante « grille » (page À propos, valeurs de L'Arche) : 2 colonnes centrées, séparées par des pointillés */
.ab-valeurs__chapeau { max-width: 62ch; margin: -36px auto clamp(36px, 5vw, 56px); text-align: center; }
.ab-valeurs--grille .ab-valeurs__titre { font-size: var(--ab-fs-2xl); }
.ab-valeurs--grille .ab-valeurs__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; max-width: 1040px; margin-inline: auto; }
.ab-valeurs--grille .ab-valeur { grid-template-columns: 1fr; justify-items: center; gap: 0; padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 56px); text-align: center; }
.ab-valeurs--grille .ab-valeur:nth-child(odd) { border-right: 2px dotted var(--ab-ligne-forte); }
.ab-valeurs--grille .ab-valeur:nth-child(n+3) { border-top: 2px dotted var(--ab-ligne-forte); }
.ab-valeurs--grille .ab-valeur__icone { width: 120px; height: 120px; margin-bottom: 22px; }
.ab-valeurs--grille .ab-valeur__icone svg { width: 54px; height: 54px; }
.ab-valeurs--grille .ab-valeur h3 { margin-top: 0; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); letter-spacing: -.02em; } /* noms des domaines un peu plus grands (24 octobre 2026) */
.ab-valeurs--grille .ab-valeur p { max-width: 40ch; margin-inline: auto; }
@media (max-width: 760px) {
  .ab-valeurs--grille .ab-valeurs__grille { grid-template-columns: 1fr; }
  .ab-valeurs--grille .ab-valeur:nth-child(odd) { border-right: 0; }
  .ab-valeurs--grille .ab-valeur:nth-child(n+2) { border-top: 2px dotted var(--ab-ligne-forte); }
}

/* Intitulé officiel du plan stratégique, en petit au-dessus du titre web court */
.ab-valeur__officiel { display: block; margin-top: 10px; font-size: var(--ab-fs-xs); font-weight: 800; letter-spacing: .02em; line-height: 1.4; color: var(--_c); }
.ab-valeur__officiel + h3 { margin-top: 6px; }
.ab-valeurs--grille .ab-valeur__officiel { margin: 0 auto 8px; max-width: 36ch; }

/* Quatre axes en ligne (accueil) : pictogramme au-dessus, quatre colonnes */
.ab-valeurs--4 .ab-valeurs__grille { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px clamp(20px, 3vw, 40px); }
.ab-valeurs--4 .ab-valeur { grid-template-columns: 1fr; gap: 18px; }
.ab-valeurs--4 .ab-valeur__icone { width: 76px; height: 76px; }
.ab-valeurs--4 .ab-valeur__icone svg { width: 38px; height: 38px; }
.ab-valeurs--4 .ab-valeur__officiel { margin-top: 0; }
@media (max-width: 1100px) {
  .ab-valeurs--4 .ab-valeurs__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin-inline: auto; }
}
@media (max-width: 600px) {
  .ab-valeurs--4 .ab-valeurs__grille { grid-template-columns: 1fr; }
  .ab-valeurs--4 .ab-valeur { grid-template-columns: 76px minmax(0, 1fr); }
}

/* Pastilles en forme de tache : jaune pâle, pictogramme vert (accueil) */
.ab-valeurs--tache .ab-valeur__icone { background: #fdf1cc; color: var(--ab-vert-texte); border-radius: 46% 54% 52% 48% / 56% 44% 56% 44%; }
.ab-valeurs--tache .ab-valeur__officiel { color: var(--ab-vert-texte); }

/* Icônes illustrées (retours du 23 octobre 2026, dans l'esprit de GuinéeVote) : sans pastille, contour vert nuit */
.ab-valeurs--illustre .ab-valeur__icone { width: 96px; height: 96px; border-radius: 0; background: none; color: var(--ab-vert-nuit); }
.ab-valeurs--illustre .ab-valeur__icone svg { width: 92px; height: 92px; stroke-width: 2; }
.ab-valeurs--illustre .ab-valeur:hover .ab-valeur__icone { transform: translateY(-4px) rotate(-3deg); }
.ab-valeurs--illustre .ab-valeur__officiel { color: var(--ab-vert-texte); }
.ab-valeurs--grille.ab-valeurs--illustre .ab-valeur__icone { width: 110px; height: 110px; }
.ab-valeurs--grille.ab-valeurs--illustre .ab-valeur__icone svg { width: 100px; height: 100px; }

/* « Autre icône ou SVG… » : une icône de la bibliothèque est pleine et prend la couleur du bloc,
   un SVG envoyé garde ses couleurs ; même taille que les pictogrammes maison */
.ab-valeur__icone--biblio svg { fill: currentColor; stroke: none; }
.ab-valeur__icone--biblio i { font-size: 38px; line-height: 1; color: currentColor; }
.ab-valeur__icone--svg svg { fill: initial; stroke: initial; stroke-width: initial; }
.ab-valeur__icone--svg img { width: 42px; height: 42px; object-fit: contain; }
.ab-valeurs--illustre .ab-valeur__icone--biblio svg { width: 56px; height: 56px; }
