/* Charte « Jaune trax » — polices auto-hébergées (licence OFL), aucun appel à un service tiers */
@font-face { font-family: 'Figtree'; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/figtree-latin-400-normal-u_XW_Ki.woff2") format('woff2'); }
@font-face { font-family: 'Figtree'; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/figtree-latin-600-normal-FiADCe5.woff2") format('woff2'); }
@font-face { font-family: 'Figtree'; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/figtree-latin-700-normal-4pSq5Ts.woff2") format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/bricolage-grotesque-latin-800-normal-7tst0g-.woff2") format('woff2'); }

:root {
    --fond: #FFF8EC;
    --surface: #FFFFFF;
    --encre: #1F1A14;
    --encre-douce: #6A5D4D;
    --bordure: #EADCC4;
    --jaune: #FFC629;
    --jaune-clair: #FFF0C2;
    --vert: #1D4B3B;
    --vert-clair: #DCEBE2;
    --rouge: #D52B1E;
    --titre: 'Bricolage Grotesque', 'Arial Black', sans-serif;
    --texte: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--encre); font-family: var(--texte); font-size: 17px; line-height: 1.5; }
h1, h2, p, ul { margin: 0; }
a { color: var(--encre); text-underline-offset: 3px; }
a:hover { color: #000; }

.page { max-width: 560px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; }

.entete { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; }
.marque { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.marque-texte { display: flex; flex-direction: column; gap: 2px; }
.marque-nom { font-family: var(--titre); font-weight: 800; font-size: 22px; line-height: 1; letter-spacing: -0.02em; }
.marque-region { font-size: 13px; font-weight: 600; color: var(--encre-douce); }
.pastille-bientot { padding: 6px 14px; border-radius: 999px; background: var(--encre); color: var(--jaune); font-weight: 700; font-size: 14px; }

.intro { display: flex; flex-direction: column; gap: 12px; padding: 8px 20px 0; }
.intro h1 { font-family: var(--titre); font-weight: 800; font-size: clamp(30px, 7vw, 40px); line-height: 1.04; letter-spacing: -0.025em; }
.chapo { color: var(--encre-douce); font-size: 17px; }

.illustration { display: block; width: 100%; height: auto; margin-top: 12px; }

.choix { display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.carte-choix { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 24px; }
.carte-offre { background: var(--jaune); color: var(--encre); box-shadow: 0 3px 0 var(--encre); }
.carte-recherche { background: var(--vert); color: #FFFFFF; box-shadow: 0 3px 0 #0F2A20; }
.choix-titre { font-family: var(--titre); font-weight: 800; font-size: 22px; line-height: 1.1; }
.choix-texte { font-size: 16px; font-weight: 600; }

.garanties { list-style: none; padding: 4px 16px 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 15px; font-weight: 700; }
.garanties li::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: var(--vert); vertical-align: 1px; }

.pied { margin-top: auto; padding: 18px 20px 26px; border-top: 1px solid var(--bordure); font-size: 14px; color: var(--encre-douce); text-align: center; }

/* Page de contrôle */
.page-sante { max-width: 980px; padding: 24px 16px; gap: 14px; }
.page-sante h1 { font-family: var(--titre); font-weight: 800; font-size: 30px; }
.resume { padding: 12px 16px; border-radius: 16px; font-weight: 700; }
.resume-ok { background: var(--vert-clair); color: var(--vert); }
.resume-ko { background: #FBE3E0; color: #8E1B12; }
.tableau-sante { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 16px; overflow: hidden; font-size: 15px; }
.tableau-sante th, .tableau-sante td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--bordure); vertical-align: top; }
.tableau-sante th { background: var(--jaune-clair); }
.tableau-sante tr.ko td { background: #FBE3E0; color: #8E1B12; font-weight: 600; }
@media (max-width: 640px) { .tableau-sante td:nth-child(5), .tableau-sante th:nth-child(5) { display: none; } }
