/* Accueil de la trame v2 (README §8.1). */


/* 1. Hero */
.hero-interieur { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; padding-top: clamp(64px, 10vw, 128px); padding-bottom: clamp(40px, 5vw, 56px); }
.hero-titre { max-width: 16ch; font-size: clamp(2.75rem, 7vw, 5.75rem); line-height: 1; }
.hero-actions { padding-top: 18px; }

/* 2. Panneau de preuves */
.preuves { background: var(--fond); }
.preuves .conteneur-large { padding-bottom: clamp(72px, 9vw, 120px); }
.panneau-preuves { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; align-items: stretch; }
.tuile-preuve { container-type: inline-size; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--fond-alt); color: var(--texte); border-radius: var(--forme-l); }
.tuile-preuve-entete { display: flex; flex-direction: column; gap: 6px; }
.tuile-preuve-tete { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tuile-preuve-nom { font-size: 0.9375rem; font-weight: 600; line-height: 1.2; }
.tuile-preuve > .tuile-preuve-nom { min-height: 2.4em; }
@media (max-width: 700px) { .tuile-preuve > .tuile-preuve-nom { min-height: 0; } }
/* Taille liée à la largeur utile de la tuile : « ≈ 90 % → 120 % » mesure environ 6,9 em, 14cqi la laisse à 97 % de la largeur utile au plus. */
.preuve-chiffre { padding-top: 6px; font-size: clamp(1.5rem, 14cqi, 3.5rem); font-weight: 500; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mesures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--rule); border-radius: var(--forme-m); overflow: hidden; }
.mesure { padding: 16px; background: var(--navy); }
.mesure dt { font-size: 0.8125rem; line-height: 1.3; color: var(--muted); }
.mesure dd { margin: 6px 0 0; font-size: 1.75rem; font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.mesure .mesure-accent { color: var(--accent-light); }

/* Schémas : couleurs par classes, jamais en attribut */

/* 3. Quatre enjeux */
.section-enjeux { padding-top: 0; }

/* 4. Méthode */
.panneau-facture { grid-template-columns: minmax(0, 560px); justify-content: center; }
.liens-section { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.facture { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--paper); color: var(--navy); border-radius: var(--forme-l); box-shadow: 0 28px 56px -20px rgba(0, 0, 0, 0.5); }
.facture .petit { color: var(--ink-2); }
.facture .puce { background: var(--cream); color: var(--accent); }
.facture-titre { font-size: 1.125rem; font-weight: 700; line-height: 1.2; }
.facture table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.4; font-variant-numeric: tabular-nums; }
.facture td { padding: 11px 0; border-bottom: 1px solid var(--rule-ivory); }
.facture .montant { text-align: right; }
.facture .montant-neutre { color: var(--ink-2); }
.facture tfoot th { padding: 16px 0 0; text-align: left; font-size: 0.9375rem; font-weight: 600; line-height: 1; }
.facture tfoot td { padding: 16px 0 0; border-bottom: 0; }
.facture .facture-total { font-size: 2.25rem; font-weight: 500; line-height: 1; letter-spacing: -0.04em; color: var(--accent-dark); }
.facture-pied { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tampon { display: inline-block; transform: rotate(-7deg); box-shadow: inset 0 0 0 2px var(--accent-btn); color: var(--accent-btn); padding: 8px 12px; border-radius: var(--forme-s); font-size: 0.9375rem; font-weight: 800; line-height: 1; letter-spacing: 0.06em; white-space: nowrap; }

/* 5. Cas */
.grille-cas { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: stretch; }

/* 6. Formats */
.section-serree { padding: clamp(72px, 9vw, 112px) 0; }
.grille-formats { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.tuile-format { display: flex; flex-direction: column; gap: 14px; padding: 26px; background: var(--surface); color: var(--texte); border-radius: var(--forme-l); }
.tuile-format:hover { color: var(--texte); }
.tuile-format-entree { box-shadow: inset 0 0 0 2px var(--accent); }

/* 7. Retail */
.section-marine .h2 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); }
.grille-terrains { align-items: stretch; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
.tuile-terrain { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--fond-alt); border-radius: var(--forme-l); color: var(--texte); }
.tuile-terrain-titre { min-height: 2.4em; font-size: 1.0625rem; font-weight: 600; line-height: 1.2; }
.tuile-terrain p { font-size: 1rem; line-height: 1.55; color: var(--texte-2); hyphens: none; }
.terrain-reference { hyphens: none; margin-top: 32px; font-size: 1.0625rem; line-height: 1.55; color: var(--texte-2); }
@media (max-width: 1000px) { .grille-terrains { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grille-terrains { grid-template-columns: 1fr; } .tuile-terrain-titre { min-height: 0; } }

/* 8. Ressources */
.grille-ressources { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }


/* Repasse v3 : sous-titre du hero, en-têtes alignés à gauche, axes de la courbe, postes compacts */
.chapeau-2 { max-width: 44ch; font-size: 1.0625rem; line-height: 1.5; color: var(--texte-2); }
.facture, .facture td, .facture th, .grille-postes, .poste, .legende, .carte-cas, .tuile-preuve, .tuile-format { hyphens: none; }
