/* Pages Enjeu et hub de la trame v2 (README §8.2). */


/* Symptômes : le script remplace chaque ligne par un bouton aria-pressed. */
.symptomes { display: flex; flex-direction: column; gap: 10px; }
.symptome-texte { font-size: clamp(1.0625rem, 1.7vw, 1.25rem); font-weight: 500; line-height: 1.4; text-wrap: pretty; }
.symptome { display: flex; align-items: center; min-height: 76px; padding: 18px 24px; background: var(--surface); border-radius: var(--forme-m); }
.symptome-bouton { display: flex; align-items: center; gap: 18px; width: 100%; min-height: 76px; padding: 18px 24px; background: var(--surface); border: 0; border-radius: var(--forme-m); text-align: left; cursor: pointer; color: var(--texte); box-shadow: inset 0 0 0 0 var(--donnee); transition: box-shadow 0.35s var(--ease); }
.js .symptome { display: block; min-height: 0; padding: 0; }
.symptome-bouton[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--donnee); }
.symptome-case { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--donnee); background: transparent; color: #fff; font-size: 0.9375rem; font-weight: 700; line-height: 1; transition: background-color 0.3s; }
.symptome-bouton[aria-pressed="true"] .symptome-case { background: var(--accent); }
.symptome-bouton[aria-pressed="true"] .symptome-case::before { content: '\2713'; content: '\2713' / ''; }
.compteur { align-self: center; padding: 10px 18px; border-radius: var(--forme-s); font-size: 1.0625rem; font-weight: 600; line-height: 1; color: var(--texte); }
html:not(.js) .aide-js { display: none; }
.compteur:empty { display: none; }
.compteur-action { align-self: center; }

/* Ce qui se passe vraiment, livrables et retours de terrain : blocs titrés à lecture continue. */
.detail { display: flex; flex-direction: column; gap: 36px; }
.detail-bloc { display: flex; flex-direction: column; gap: 10px; }
.detail-titre { font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
.detail-bloc .chapeau-compact { color: var(--texte-2); line-height: 1.6; text-wrap: pretty; }

/* Ce que je regarde en premier, mes seuils d'alerte. */
.colonne-liste { display: flex; flex-direction: column; gap: 20px; }
.liste-points { display: flex; flex-direction: column; gap: 14px; padding-left: 1.25em; list-style: disc; }
.liste-points li { font-size: 1.0625rem; line-height: 1.55; text-wrap: pretty; }
.liste-points li::marker { color: var(--accent); }

/* Diagnostic : panneau marine, texte à gauche, les quatre postes à droite. */
.section-panneau { padding: clamp(24px, 3vw, 40px) 0; background: var(--fond); }
.panneau-diagnostic { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 40px 56px; padding: clamp(36px, 6vw, 88px); }
.panneau-diagnostic .chapeau-compact { font-size: 1.125rem; line-height: 1.55; color: var(--muted); }
.panneau-diagnostic .h2-moyen { font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.06; letter-spacing: -0.04em; }
.colonne-postes { display: flex; flex-direction: column; gap: 12px; }
.grille-postes-marine { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
/* Sous 480px, deux colonnes laissent environ 100px aux tuiles : « Prévention » se coupait en pleine lettre. */
@media (max-width: 480px) { .grille-postes-marine { grid-template-columns: minmax(0, 1fr); } }
.poste-marine { display: flex; flex-direction: column; gap: 8px; min-height: 150px; padding: 22px; border-radius: var(--forme-m); background: var(--navy-2); color: #fff; }
.poste-marine-type { font-size: 0.875rem; font-weight: 600; line-height: 1; color: var(--muted); }
.poste-marine-nom, .poste-marine-exemple { hyphens: none; }
.poste-marine-nom { font-size: 1.25rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.poste-marine-exemple { font-size: 0.9375rem; line-height: 1.45; color: var(--muted); text-wrap: pretty; }
.poste-marine-actif { background: var(--accent-light); color: var(--navy); }
.poste-marine-actif .poste-marine-type, .poste-marine-actif .poste-marine-exemple { color: var(--navy); }

/* Ce que je fais */

/* Format conseillé */
.grille-formats-enjeu { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.tuile-format-enjeu { display: flex; flex-direction: column; gap: 14px; padding: 30px 28px; background: var(--surface); color: var(--texte); border-radius: var(--forme-l); transition: transform 0.8s var(--ease); }
.tuile-format-enjeu:hover { transform: scale(1.012); color: var(--texte); }
.titre-tuile-grand { font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.025em; }
.tuile-lien { padding-top: 4px; font-size: 1.0625rem; font-weight: 500; line-height: 1; color: var(--lien); }

/* Outil et cas liés */
.grille-chiffres { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grille-chiffres-seule { grid-template-columns: minmax(0, 520px); justify-content: center; }
.colonne-outil { display: flex; flex-direction: column; gap: 14px; }
.outil-aussi { display: flex; justify-content: space-between; gap: 16px; padding: 18px 24px; min-height: 44px; background: var(--fond-alt); border-radius: var(--forme-m); font-size: 1rem; font-weight: 500; line-height: 1.3; color: var(--texte); }
.outil-aussi:hover { color: var(--texte); }
.outil-aussi-fleche { color: var(--lien); }

/* Pour aller plus loin */
.ligne-insight { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 28px; background: var(--surface); color: var(--texte); border-radius: var(--forme-m); transition: transform 0.8s var(--ease); }
.ligne-insight:hover { transform: scale(1.01); color: var(--texte); }
.ligne-insight-texte { display: flex; flex-direction: column; gap: 8px; }
.ligne-insight-meta { font-size: 0.875rem; font-weight: 500; line-height: 1.3; color: var(--texte-2); }
.ligne-insight-titre { font-size: clamp(1.1875rem, 2vw, 1.5rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; text-wrap: balance; }
.ligne-insight-fleche { font-size: 1.375rem; line-height: 1; color: var(--lien); }

/* Hub : tableau des quatre postes */
.grille-postes-hub { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.poste-hub { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 26px 24px; background: var(--surface); border-radius: var(--forme-m); }
.poste-hub .lien-fleche { padding-top: 6px; font-size: 1rem; line-height: 1.3; }
