/* Pages Cas de la trame v2 (README §8.5) : liste en grandes lignes, fiche avec colonne latérale. */

.liste-cas { display: flex; flex-direction: column; gap: 16px; }
.ligne-cas { display: flex; flex-wrap: wrap; align-items: stretch; overflow: hidden; border-radius: var(--forme-l); background: var(--fond-alt); box-shadow: var(--ombre-carte); color: var(--texte); transition: transform 0.8s var(--ease); }
.ligne-cas:hover { transform: scale(1.008); color: var(--texte); }
.ligne-cas-chiffre { flex: 1 1 300px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 200px; padding: 32px; background: var(--navy); color: #fff; font-size: clamp(3.5rem, 7vw, 5.5rem); font-weight: 700; line-height: 0.92; letter-spacing: -0.055em; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Une colonne (moins de 600px) : « ≈ 90 → 120 % » mesure 5,65 em et « Défendu, puis étendu » 8,8 em ; la taille suit la largeur et le texte peut passer à la ligne. */
@media (max-width: 600px) { .ligne-cas-chiffre { font-size: 11.5vw; white-space: normal; } }
.ligne-cas-corps { flex: 2 1 380px; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 32px; }
.ligne-cas-contexte { font-size: 0.9375rem; font-weight: 600; line-height: 1.3; color: var(--texte-2); }
.ligne-cas-titre { font-size: clamp(1.375rem, 2.4vw, 1.875rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.03em; text-wrap: balance; }
.ligne-cas-lien { font-size: 1.0625rem; font-weight: 500; line-height: 1; color: var(--lien); }

/* Fiche */
.hero-fiche { padding-bottom: clamp(48px, 6vw, 72px); }
.hero-colonne-fiche { gap: 18px; padding-top: clamp(28px, 5vw, 64px); }
/* 14vw : « ≈ 90 → 120 % » mesure 5,65 em et doit tenir dans la largeur utile, dès 320px. */
.chiffre-geant { font-size: clamp(2.5rem, 14vw, 9.5rem); font-weight: 700; line-height: 0.9; letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.titre-fiche { max-width: 22ch; font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.035em; text-wrap: balance; }
.section-fiche { padding: clamp(64px, 8vw, 112px) 0; }
.fiche-colonnes { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.fiche-blocs { flex: 2 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.fiche-bloc { display: flex; flex-direction: column; gap: 10px; padding: 28px 30px; background: var(--surface); border-radius: var(--forme-l); }
.fiche-bloc-titre { font-size: 0.9375rem; font-weight: 600; line-height: 1; color: var(--lien); }
.fiche-bloc p { font-size: 1.125rem; line-height: 1.6; color: var(--texte-2); text-wrap: pretty; }
.fiche-lateral { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; position: sticky; top: calc(var(--haut-entete) + 20px); }
.fiche-resultat { display: flex; flex-direction: column; gap: 6px; padding: 28px; background: var(--navy); color: #fff; border-radius: var(--forme-l); }
.fiche-resultat-titre { padding-bottom: 6px; font-size: 0.9375rem; font-weight: 600; line-height: 1; color: var(--accent-light); }
.fiche-resultat li { padding: 10px 0; border-top: 1px solid var(--rule); font-size: 1.0625rem; font-weight: 500; line-height: 1.45; }
.fiche-lien { display: flex; flex-direction: column; gap: 8px; padding: 22px 26px; background: var(--surface); border-radius: var(--forme-l); color: var(--texte); }
.fiche-lien:hover { color: var(--texte); }
.fiche-lien-etiquette { font-size: 0.875rem; font-weight: 600; line-height: 1; color: var(--texte-2); }
.fiche-lien-texte { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.lien-retour { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; font-size: 1.0625rem; font-weight: 500; line-height: 1; }
@media (max-width: 760px) { .fiche-lateral { position: static; } }

.fiche-bloc-liste { display: flex; flex-direction: column; gap: 8px; padding-left: 1.25em; list-style: disc; font-size: 1.125rem; line-height: 1.55; color: var(--texte-2); }
.fiche-bloc-liste li::marker { color: var(--lien); }
