/* ──────────────────────────────────────────────────────────────
   Feuille de style des pages de contenu (hors page d'accueil).
   Reprend la charte de index.html : Poppins, verts KEEPITCLEAN,
   cartes arrondies. Volontairement compacte — ces pages sont du
   texte, pas une vitrine interactive.
   ────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --gd: #085041;
    --gm: #0F6E56;
    --ga: #1D9E75;
    --gl: #9FE1CB;
    --gp: #E1F5EE;
    --navy: #12243a;
    --blue: #1f3a5f;
    --muted: #7a90a8;
    --bg: #f4f6f9;
    --white: #ffffff;
    --r: 16px;
    --sh: 0 4px 32px rgba(31,58,95,0.09);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Poppins', sans-serif;
    color: var(--blue);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}
a { color: var(--gm); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

.container { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1140px; }

/* ── NAV ─────────────────────────────────────────────────────── */
nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e8eef0;
}
.nav-inner {
    max-width: 1140px; margin: 0 auto; padding: 12px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.nav-logo:hover { text-decoration: none; }
.nav-logo .name { font-weight: 700; font-size: 15px; letter-spacing: 0.5px; line-height: 1.2; }
.nav-logo .by { font-size: 10.5px; color: var(--muted); line-height: 1.2; }
.nav-links { display: flex; gap: 22px; list-style: none; }
.nav-links a { color: var(--blue); font-size: 13.5px; font-weight: 500; }
.btn-green {
    display: inline-block; background: var(--gm); color: var(--white);
    font-size: 13px; font-weight: 600; padding: 10px 20px; border-radius: 10px;
    transition: background 0.2s;
}
.btn-green:hover { background: var(--gd); text-decoration: none; }
.btn-green { white-space: nowrap; }
@media (max-width: 860px) { .nav-links { display: none; } }
@media (max-width: 420px) {
    /* Sur petit ecran le bouton passait sur deux lignes et ecrasait le logo. */
    .nav-inner { padding: 10px 16px; }
    .btn-green { font-size: 12px; padding: 9px 14px; }
    .nav-logo svg { width: 26px; height: 31px; }
    .nav-logo .name { font-size: 13.5px; }
    .nav-logo .by { font-size: 9.5px; }
}

/* ── FIL D'ARIANE ────────────────────────────────────────────── */
.ariane { font-size: 12.5px; color: var(--muted); padding: 22px 0 0; }
.ariane a { color: var(--muted); }
.ariane span { margin: 0 6px; opacity: 0.6; }

/* ── ARTICLE ─────────────────────────────────────────────────── */
article { padding: 18px 0 70px; }
.chapeau {
    font-size: 17px; color: var(--navy); line-height: 1.65;
    padding-bottom: 8px;
}
h1 {
    font-size: clamp(28px, 5vw, 40px); line-height: 1.18; letter-spacing: -0.5px;
    color: var(--navy); font-weight: 700; margin: 14px 0 20px;
}
h2 {
    font-size: clamp(21px, 3.4vw, 27px); line-height: 1.25; color: var(--navy);
    font-weight: 700; margin: 46px 0 14px; letter-spacing: -0.3px;
}
h3 { font-size: 17px; color: var(--navy); font-weight: 600; margin: 28px 0 8px; }
p { margin-bottom: 16px; }
article ul, article ol { margin: 0 0 18px 22px; }
article li { margin-bottom: 8px; }
strong { color: var(--navy); font-weight: 600; }

/* ── ENCARTS ─────────────────────────────────────────────────── */
.encart {
    background: var(--gp); border-left: 4px solid var(--ga);
    border-radius: 0 var(--r) var(--r) 0;
    padding: 20px 24px; margin: 26px 0;
}
.encart p:last-child { margin-bottom: 0; }
.encart-titre { font-weight: 700; color: var(--gd); margin-bottom: 6px; display: block; }

.carte {
    background: var(--bg); border-radius: var(--r);
    padding: 22px 24px; margin: 24px 0;
}
.carte p:last-child, .carte ul:last-child { margin-bottom: 0; }

/* ── TABLEAUX ────────────────────────────────────────────────── */
.tableau-enveloppe { overflow-x: auto; margin: 26px 0; }
table { border-collapse: collapse; width: 100%; font-size: 14.5px; min-width: 460px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid #e3eae8; vertical-align: top; }
th { background: var(--gp); color: var(--gd); font-weight: 600; font-size: 13.5px; }
tbody tr:last-child td { border-bottom: none; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq details {
    background: var(--bg); border-radius: 12px;
    padding: 16px 20px; margin-bottom: 10px;
}
.faq summary {
    font-weight: 600; color: var(--navy); cursor: pointer;
    font-size: 15px; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: '+ '; color: var(--ga); font-weight: 700; }
.faq details[open] summary::before { content: '− '; }
.faq details[open] summary { margin-bottom: 10px; }
.faq p { margin-bottom: 0; font-size: 14.5px; }

/* ── APPEL À L'ACTION ────────────────────────────────────────── */
.cta {
    background: var(--gd); color: var(--white); border-radius: var(--r);
    padding: 36px 32px; margin: 54px 0 0; text-align: center;
}
.cta h2 { color: var(--white); margin: 0 0 10px; font-size: 24px; }
.cta p { color: var(--gl); margin-bottom: 22px; font-size: 15px; }
.cta .btn-green { background: var(--white); color: var(--gd); padding: 13px 28px; font-size: 14px; }
.cta .btn-green:hover { background: var(--gl); }

/* ── POUR ALLER PLUS LOIN ────────────────────────────────────── */
.liens-internes { margin: 50px 0 0; }
.liens-internes h2 { font-size: 20px; margin-bottom: 14px; }
.liens-internes ul { list-style: none; margin-left: 0; }
.liens-internes li { margin-bottom: 10px; padding-left: 18px; position: relative; }
.liens-internes li::before { content: '→'; position: absolute; left: 0; color: var(--ga); }

/* ── PIED DE PAGE ────────────────────────────────────────────── */
footer { background: var(--navy); color: #c9d6e4; padding: 40px 0 34px; font-size: 13px; }
.footer-inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 36px 60px; margin-bottom: 28px; }
.footer-col-titre {
    color: var(--white); font-weight: 600; font-size: 12px;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px;
}
.footer-cols a { display: block; color: #c9d6e4; margin-bottom: 7px; }
.footer-cols a:hover { color: var(--gl); }
.footer-bas {
    border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px;
    display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
    color: #8fa3b8; font-size: 12.5px;
}
.footer-bas a { color: #8fa3b8; }
