:root {
    --brown: #89623A;
    --brown-deep: #3f2d1c;
    --brown-dark: #2c2017;
    --gold: #b9894c;
    --sand: #D8C6A8;
    --cream: #F9F6F3;
    --cream-2: #f2eadf;
    --white: #ffffff;
    --ink: #2e2924;
    --muted: #6f655c;
    --line: rgba(63,45,28,.14);
    --shadow: 0 18px 50px rgba(63,45,28,.10);
    --radius: 22px;
    --container: 1180px;
    --footer-fixed-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--white); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 9999; background: var(--brown-dark); color: white; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.94); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.navbar { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 285px; }
.brand img { width: 66px; height: 66px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { color: var(--brown); font-size: 1.35rem; letter-spacing: .04em; }
.brand-copy small { max-width: 215px; margin-top: 4px; color: var(--muted); font-size: .72rem; }
.main-nav { display: flex; align-items: center; gap: 25px; }
.main-nav a { position: relative; padding: 31px 0 27px; color: var(--brown-deep); font-size: .86rem; font-weight: 800; text-transform: uppercase; letter-spacing: .035em; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 19px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: .25s; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: white; border-radius: 12px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--brown-deep); margin: 5px 0; }

.flash-wrap { position: fixed; right: 24px; top: 104px; z-index: 1001; width: min(420px, calc(100% - 48px)); }
.flash { background: var(--brown-deep); color: white; padding: 14px 18px; border-radius: 14px; box-shadow: var(--shadow); }

.section { position: relative; padding: 100px 0; }
.section-soft { background: var(--cream); }
.section-dark { background: linear-gradient(140deg, #2d2118, #5c4028 62%, #765336); color: white; overflow: hidden; }
.section-dark::after { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); right: -230px; top: -260px; }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.light p { color: rgba(255,255,255,.72); }
.eyebrow { display: inline-block; color: var(--brown); text-transform: uppercase; font-weight: 900; font-size: .77rem; letter-spacing: .15em; margin-bottom: 10px; }
.section-dark .eyebrow, .support .eyebrow { color: var(--sand); }
h1, h2, h3 { color: var(--brown-deep); line-height: 1.15; margin-top: 0; }
h1 { font-size: clamp(2.65rem, 6vw, 5.3rem); letter-spacing: -.05em; margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.035em; margin-bottom: 18px; }
h3 { font-size: 1.22rem; }
.section-dark h2, .section-dark h3, .support h2 { color: white; }
p { margin-top: 0; }
.lead { max-width: 720px; color: #52483f; font-size: clamp(1.06rem, 1.6vw, 1.25rem); }

.hero { min-height: calc(100vh - 86px); display: grid; align-items: center; overflow: hidden; background: radial-gradient(circle at 76% 42%, rgba(217,199,170,.5), transparent 32%), linear-gradient(120deg, #fff 12%, #fcf8f3 54%, #efe1cf 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .4; background-image: linear-gradient(rgba(138,98,57,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(138,98,57,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent 0, black 55%, black 100%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 70px; }
.hero-copy { padding: 48px 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1px solid var(--brown); background: var(--brown); color: var(--white); font-weight: 850; font-size: .86rem; text-transform: uppercase; letter-spacing: .035em; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.btn-primary { background: var(--brown); color: white; box-shadow: 0 12px 28px rgba(138,98,57,.2); }
.btn-primary:hover, .btn:hover { background: var(--brown-deep); border-color: var(--brown-deep); color: var(--white); }
.btn-secondary:hover { background: var(--brown-deep); border-color: var(--brown-deep); color: var(--white); }
.btn-secondary { border-color: var(--brown); color: var(--brown-deep); background: rgba(255,255,255,.78); }
.hero-note { color: var(--muted); font-size: .9rem; font-weight: 700; letter-spacing: .03em; }
.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.hero-visual img { position: relative; z-index: 2; width: min(470px, 92%); filter: drop-shadow(0 28px 26px rgba(63,45,28,.16)); }
.logo-halo { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.7); box-shadow: 0 0 0 36px rgba(255,255,255,.28), 0 0 0 72px rgba(255,255,255,.12); }

.about-grid { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 24px; align-items: stretch; }
.about-intro { padding: 8px 32px 8px 0; font-size: 1.05rem; }
.value-card { background: white; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-mark { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--cream-2); color: var(--brown); font-weight: 900; margin-bottom: 32px; }

.objectives-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.objective { min-height: 280px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: transform .25s, background .25s; }
.objective:hover { background: var(--cream); transform: translateY(-4px); }
.objective > span { display: inline-block; margin-bottom: 48px; color: var(--gold); font-weight: 900; font-size: 1.45rem; }
.objective p { color: var(--muted); }

.domains-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.domain-card { padding: 30px; border-radius: 18px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); }
.domain-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 30px; background: var(--sand); color: var(--brown-deep); border-radius: 12px; font-weight: 950; }
.domain-card p { color: rgba(255,255,255,.72); }

.content-grid, .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.content-card, .news-card { overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 35px rgba(63,45,28,.07); }
.content-card img, .content-card .card-placeholder { width: 100%; height: 220px; object-fit: cover; }
.card-placeholder { display: grid; place-items: center; background: linear-gradient(140deg, var(--cream-2), var(--sand)); color: rgba(63,45,28,.3); font-size: 4rem; font-weight: 950; letter-spacing: .12em; }
.content-card-body { padding: 28px; }
.tag { display: inline-flex; padding: 4px 9px; margin-bottom: 12px; border-radius: 999px; background: var(--cream-2); color: var(--brown); font-size: .72rem; font-weight: 850; text-transform: uppercase; }
.text-link { color: var(--brown); font-weight: 850; }
.empty-state { grid-column: 1 / -1; padding: 48px; border: 1px dashed rgba(138,98,57,.45); border-radius: var(--radius); background: var(--cream); }
.empty-state h3 { font-size: 1.6rem; }

.impact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.impact-panel { display: grid; grid-template-columns: 1fr 1fr; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.impact-panel div { min-height: 170px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.impact-panel strong { color: var(--gold); font-size: 2rem; }
.impact-panel span { color: var(--brown-deep); font-weight: 800; }

.news-card img { width: 100%; height: 180px; object-fit: cover; }
.news-card > div { padding: 26px; }
.news-card time { color: var(--gold); font-weight: 800; font-size: .8rem; text-transform: uppercase; }
.news-card h3 { margin-top: 10px; }
.news-card p { color: var(--muted); }

.support { color: white; background: linear-gradient(110deg, var(--brown-deep), var(--brown)); }
.support-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.support-grid p { color: rgba(255,255,255,.78); }
.support-actions { display: grid; gap: 10px; }
.support-actions a { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.support-actions strong { color: white; }
.support-actions span { color: rgba(255,255,255,.68); text-align: right; }

.contact-section { background: #fff; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.contact-points { margin-top: 36px; display: grid; gap: 18px; }
.contact-points div { display: flex; flex-direction: column; padding-left: 18px; border-left: 3px solid var(--sand); }
.contact-points span { color: var(--muted); }
.contact-form { padding: 34px; background: var(--cream); border-radius: var(--radius); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 7px; margin-bottom: 16px; color: var(--brown-deep); font-size: .85rem; font-weight: 800; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid rgba(63,45,28,.18); background: white; border-radius: 10px; padding: 13px 14px; color: var(--ink); outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--brown); box-shadow: 0 0 0 3px rgba(138,98,57,.1); }
.form-error { color: #9c342d; margin: -6px 0 14px; font-size: .84rem; }

.footer { background: #231912; color: rgba(255,255,255,.72); padding: 58px 0 18px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.footer-brand { display: flex; align-items: center; gap: 20px; }
.footer-brand img { width: 92px; height: 92px; object-fit: contain; background: white; border-radius: 16px; padding: 6px; }
.footer strong { color: white; display: block; margin-bottom: 10px; }
.footer a { display: block; margin: 6px 0; }
.footer-bottom { margin-top: 42px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.footer-fixed-name { color: rgba(255,255,255,.78); font-size: .82rem; text-align: center; }
.back-top { width: 40px; height: 40px; display: grid !important; place-items: center; background: var(--brown); color: white; border-radius: 10px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

.detail-shell { padding: 80px 0; }
.detail-shell img { border-radius: var(--radius); margin-bottom: 28px; }

@media (max-width: 1050px) {
    .brand-copy { display: none; }
    .brand { min-width: auto; }
    .main-nav { gap: 18px; }
    .main-nav a { font-size: .78rem; }
    .hero-grid { grid-template-columns: 1fr 420px; gap: 25px; }
    .about-grid { grid-template-columns: 1fr 1fr; }
    .about-intro { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
    html { scroll-padding-top: 76px; }
    .navbar { min-height: 74px; }
    .brand img { width: 56px; height: 56px; }
    .nav-toggle { display: block; }
    .main-nav { position: absolute; left: 20px; right: 20px; top: 68px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 18px 16px; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px 4px; }
    .main-nav a::after { bottom: 6px; right: auto; width: 36px; }
    .section { padding: 76px 0; }
    .hero { min-height: auto; }
    .hero-grid, .impact-grid, .support-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero-copy { padding-top: 50px; }
    .hero-visual { min-height: 320px; }
    .hero-visual img { width: min(360px, 90%); }
    .logo-halo { width: 300px; height: 300px; }
    .objectives-grid, .domains-grid, .content-grid, .news-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .about-intro { grid-column: auto; padding-right: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2.15rem; }
    .hero-actions .btn { width: 100%; }
    .objectives-grid, .domains-grid, .content-grid, .news-grid, .impact-panel, .form-row, .footer-grid { grid-template-columns: 1fr; }
    .objective { min-height: auto; }
    .objective > span { margin-bottom: 26px; }
    .support-actions a { flex-direction: column; }
    .support-actions span { text-align: left; }
    .contact-form { padding: 24px; }
    .footer-brand { grid-column: auto; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   Navigation "écran par écran" — page d'accueil PEN
   ========================================================= */
@media (min-width: 821px) {
    html:has(body.home-snap) {
        scroll-snap-type: y mandatory;
        scroll-behavior: smooth;
        scroll-padding-top: 86px;
    }

    body.home-snap main > .section {
        min-height: calc(100svh - 86px - var(--footer-fixed-h));
        scroll-snap-align: start;
        scroll-snap-stop: always;
        display: flex;
        align-items: center;
        padding-top: clamp(42px, 5vh, 68px);
        padding-bottom: clamp(42px, 5vh, 68px);
    }

    body.home-snap main > .hero {
        min-height: calc(100svh - 86px - var(--footer-fixed-h));
    }

    body.home-snap main > .section > .container {
        width: min(calc(100% - 72px), var(--container));
    }

    /* Les sections denses restent compactes pour tenir dans un écran courant. */
    body.home-snap .section-heading {
        margin-bottom: clamp(22px, 3vh, 36px);
    }

    body.home-snap .objective {
        min-height: 0;
        padding: clamp(20px, 2.4vw, 30px);
    }

    body.home-snap .objective > span {
        margin-bottom: clamp(18px, 3vh, 34px);
    }

    body.home-snap .domain-card {
        padding: clamp(20px, 2.2vw, 28px);
    }

    body.home-snap .domain-icon {
        margin-bottom: 20px;
    }

    body.home-snap .content-card img,
    body.home-snap .content-card .card-placeholder {
        height: clamp(145px, 19vh, 200px);
    }

    body.home-snap .news-card img {
        height: clamp(125px, 17vh, 170px);
    }

    body.home-snap .content-card-body,
    body.home-snap .news-card > div {
        padding: clamp(20px, 2vw, 26px);
    }

    /* Repères latéraux : donnent l'impression de naviguer entre des pages. */
    .page-dots {
        position: fixed;
        z-index: 980;
        right: 22px;
        top: 50%;
        transform: translateY(-50%);
        display: grid;
        gap: 11px;
        padding: 12px 9px;
        border-radius: 999px;
        background: rgba(255,255,255,.72);
        border: 1px solid rgba(63,45,28,.10);
        box-shadow: 0 10px 30px rgba(63,45,28,.08);
        backdrop-filter: blur(12px);
    }

    .page-dots a {
        width: 15px;
        height: 15px;
        display: grid;
        place-items: center;
        border-radius: 50%;
    }

    .page-dots a span {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: rgba(63,45,28,.34);
        transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
    }

    .page-dots a:hover span,
    .page-dots a.active span {
        background: var(--brown);
        transform: scale(1.55);
        box-shadow: 0 0 0 3px rgba(138,98,57,.13);
    }

    /* Footer fixe : toujours visible en bas sans créer un écran supplémentaire. */
    body.home-snap .footer {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 990;
        height: var(--footer-fixed-h);
        padding: 0;
        background: rgba(35,25,18,.96);
        border-top: 1px solid rgba(255,255,255,.10);
        backdrop-filter: blur(12px);
        box-shadow: 0 -8px 26px rgba(35,25,18,.10);
        scroll-snap-align: none;
    }

    /* Conserver le contenu institutionnel du footer v3, mais en format compact. */
    body.home-snap .footer-grid {
        height: 56px;
        display: grid;
        grid-template-columns: minmax(320px, 2fr) minmax(255px, 1.25fr) minmax(170px, .75fr);
        align-items: center;
        gap: clamp(16px, 2.3vw, 34px);
    }

    body.home-snap .footer-brand {
        min-width: 0;
        gap: 11px;
    }

    body.home-snap .footer-brand img {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        border-radius: 9px;
        padding: 3px;
    }

    body.home-snap .footer-brand strong {
        margin: 0 0 2px;
        font-size: clamp(.66rem, .77vw, .76rem);
        line-height: 1.1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    body.home-snap .footer-brand p {
        margin: 0;
        color: rgba(255,255,255,.62);
        font-size: clamp(.56rem, .67vw, .65rem);
        line-height: 1.12;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    body.home-snap .footer-grid > div:not(.footer-brand) {
        display: flex;
        align-items: center;
        gap: 11px;
        min-width: 0;
        white-space: nowrap;
    }

    body.home-snap .footer-grid > div:not(.footer-brand) strong {
        margin: 0;
        font-size: .68rem;
        text-transform: uppercase;
        letter-spacing: .055em;
        color: rgba(255,255,255,.94);
    }

    body.home-snap .footer-grid > div:not(.footer-brand) a {
        display: inline-flex;
        margin: 0;
        color: rgba(255,255,255,.70);
        font-size: .66rem;
        transition: color .2s ease;
    }

    body.home-snap .footer-grid > div:not(.footer-brand) a:hover {
        color: white;
    }

    body.home-snap .footer-bottom {
        min-height: 28px;
        margin-top: 0;
        padding-top: 0;
        border-top: 1px solid rgba(255,255,255,.09);
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 18px;
        font-size: .62rem;
        color: rgba(255,255,255,.56);
    }

    body.home-snap .footer-bottom .back-top {
        justify-self: end;
        width: 24px;
        height: 24px;
        border-radius: 7px;
        font-size: .8rem;
    }
}

@media (max-width: 820px) {
    .page-dots { display: none; }
    .footer-fixed-name { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html:has(body.home-snap) { scroll-snap-type: none; }
}

/* =========================================================
   Écrans denses — Objectifs & Domaines
   Garder l'intégralité du contenu visible sur un écran desktop.
   ========================================================= */
@media (min-width: 821px) {
    body.home-snap .screen-compact > .screen-compact-layout {
        display: grid;
        grid-template-columns: minmax(235px, .72fr) minmax(0, 2.15fr);
        gap: clamp(26px, 4vw, 58px);
        align-items: center;
    }

    body.home-snap .screen-compact .screen-side-heading {
        margin: 0;
        max-width: 360px;
        text-align: left;
    }

    body.home-snap .screen-compact .screen-side-heading h2 {
        font-size: clamp(1.75rem, 3.1vw, 2.85rem);
        margin-bottom: 14px;
    }

    body.home-snap .screen-compact .screen-side-heading p {
        margin-bottom: 0;
        font-size: clamp(.88rem, 1.15vw, 1rem);
        line-height: 1.52;
    }

    body.home-snap .screen-compact .objectives-grid,
    body.home-snap .screen-compact .domains-grid {
        width: 100%;
        align-self: center;
    }

    body.home-snap .screen-compact .objective {
        min-height: 0;
        padding: clamp(15px, 1.7vw, 23px);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    body.home-snap .screen-compact .objective > span {
        margin: 0 0 8px;
        font-size: clamp(1rem, 1.6vw, 1.25rem);
        line-height: 1;
    }

    body.home-snap .screen-compact .objective h3,
    body.home-snap .screen-compact .domain-card h3 {
        font-size: clamp(.94rem, 1.3vw, 1.08rem);
        margin-bottom: 7px;
        line-height: 1.22;
    }

    body.home-snap .screen-compact .objective p,
    body.home-snap .screen-compact .domain-card p {
        margin-bottom: 0;
        font-size: clamp(.78rem, 1.02vw, .9rem);
        line-height: 1.42;
    }

    body.home-snap .screen-compact .domains-grid {
        gap: clamp(10px, 1.3vw, 16px);
    }

    body.home-snap .screen-compact .domain-card {
        padding: clamp(15px, 1.65vw, 22px);
    }

    body.home-snap .screen-compact .domain-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 10px;
        border-radius: 10px;
        font-size: .88rem;
    }
}

/* Écrans portables peu hauts : compacter encore sans masquer de texte. */
@media (min-width: 821px) and (max-height: 850px) {
    body.home-snap main > .screen-compact {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    body.home-snap .screen-compact > .screen-compact-layout {
        gap: 28px;
    }

    body.home-snap .screen-compact .screen-side-heading h2 {
        font-size: clamp(1.55rem, 2.6vw, 2.2rem);
        margin-bottom: 10px;
    }

    body.home-snap .screen-compact .screen-side-heading p {
        font-size: .82rem;
        line-height: 1.4;
    }

    body.home-snap .screen-compact .objective,
    body.home-snap .screen-compact .domain-card {
        padding: 13px 15px;
    }

    body.home-snap .screen-compact .objective > span {
        margin-bottom: 6px;
        font-size: 1rem;
    }

    body.home-snap .screen-compact .objective h3,
    body.home-snap .screen-compact .domain-card h3 {
        font-size: .9rem;
        margin-bottom: 5px;
    }

    body.home-snap .screen-compact .objective p,
    body.home-snap .screen-compact .domain-card p {
        font-size: .74rem;
        line-height: 1.32;
    }

    body.home-snap .screen-compact .domain-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 7px;
    }
}

/* Tablettes et mobiles : revenir au flux normal pour préserver la lisibilité. */
@media (max-width: 820px) {
    .screen-compact-layout {
        display: block;
    }
}

/* =========================================================
   V8 — Une section = un écran complet
   Chaque écran desktop tient entre le header et le footer.
   Le contenu est compacté de façon responsive, sans déborder
   visuellement sur l'écran suivant.
   ========================================================= */
@media (min-width: 821px) {
    body.home-snap main > .screen-fit {
        height: calc(100svh - 86px - var(--footer-fixed-h));
        min-height: 0;
        max-height: calc(100svh - 86px - var(--footer-fixed-h));
        overflow: hidden;
        padding-top: clamp(22px, 3.4vh, 38px);
        padding-bottom: clamp(22px, 3.4vh, 38px);
    }

    body.home-snap main > .screen-fit > .container {
        max-height: 100%;
    }

    body.home-snap .screen-fit .section-heading {
        margin-bottom: clamp(14px, 2.2vh, 24px);
    }

    body.home-snap .screen-fit .section-heading h2 {
        font-size: clamp(1.75rem, 3vw, 2.75rem);
        margin-bottom: clamp(8px, 1.4vh, 14px);
    }

    body.home-snap .screen-fit .section-heading p,
    body.home-snap .screen-fit p {
        line-height: 1.42;
    }

    /* Accueil */
    body.home-snap .screen-hero .hero-grid {
        height: 100%;
        gap: clamp(28px, 4vw, 58px);
    }

    body.home-snap .screen-hero .hero-copy {
        padding: 0;
    }

    body.home-snap .screen-hero h1 {
        font-size: clamp(2.45rem, 5vw, 4.65rem);
        margin-bottom: clamp(14px, 2vh, 22px);
    }

    body.home-snap .screen-hero .lead {
        font-size: clamp(.94rem, 1.35vw, 1.12rem);
        line-height: 1.48;
    }

    body.home-snap .screen-hero .hero-actions {
        margin: clamp(16px, 2.2vh, 24px) 0 clamp(12px, 1.7vh, 18px);
    }

    body.home-snap .screen-hero .hero-visual {
        min-height: 0;
        height: min(46vh, 410px);
    }

    body.home-snap .screen-hero .hero-visual img {
        width: min(400px, 88%);
        max-height: 100%;
        object-fit: contain;
    }

    body.home-snap .screen-hero .logo-halo {
        width: min(34vw, 360px);
        height: min(34vw, 360px);
    }

    /* Qui sommes-nous ? : conserver les trois blocs sur une seule ligne
       même entre 821 et 1050 px, où l'ancienne règle les empilait. */
    body.home-snap .screen-about .section-heading {
        max-width: 820px;
    }

    body.home-snap .screen-about .about-grid {
        grid-template-columns: 1.2fr .9fr .9fr;
        gap: clamp(12px, 1.7vw, 20px);
        align-items: stretch;
    }

    body.home-snap .screen-about .about-intro {
        grid-column: auto;
        padding: 2px clamp(12px, 1.6vw, 22px) 2px 0;
        font-size: clamp(.80rem, .98vw, .94rem);
        line-height: 1.42;
    }

    body.home-snap .screen-about .about-intro p {
        margin-bottom: clamp(8px, 1.3vh, 13px);
    }

    body.home-snap .screen-about .value-card {
        padding: clamp(17px, 1.8vw, 24px);
        border-radius: 18px;
    }

    body.home-snap .screen-about .card-mark {
        width: 34px;
        height: 34px;
        margin-bottom: clamp(10px, 1.5vh, 16px);
        font-size: .82rem;
    }

    body.home-snap .screen-about .value-card h3 {
        margin-bottom: 8px;
        font-size: clamp(1rem, 1.3vw, 1.16rem);
    }

    body.home-snap .screen-about .value-card p {
        margin-bottom: 0;
        font-size: clamp(.78rem, .94vw, .90rem);
        line-height: 1.42;
    }

    /* Objectifs / domaines : utiliser toute la hauteur utile sans la dépasser. */
    body.home-snap .screen-compact > .screen-compact-layout {
        height: 100%;
        align-items: center;
    }

    body.home-snap .screen-compact .objectives-grid,
    body.home-snap .screen-compact .domains-grid {
        max-height: 100%;
    }

    /* Programmes & Actualités : aperçu de trois cartes dans un seul écran. */
    body.home-snap .screen-listing .section-heading {
        margin-bottom: clamp(12px, 1.8vh, 20px);
    }

    body.home-snap .screen-listing .content-grid,
    body.home-snap .screen-listing .news-grid {
        gap: clamp(12px, 1.6vw, 20px);
    }

    body.home-snap .screen-listing .content-card img,
    body.home-snap .screen-listing .content-card .card-placeholder,
    body.home-snap .screen-listing .news-card img {
        height: clamp(108px, 15vh, 148px);
    }

    body.home-snap .screen-listing .content-card-body,
    body.home-snap .screen-listing .news-card > div {
        padding: clamp(14px, 1.5vw, 20px);
    }

    body.home-snap .screen-listing .content-card h3,
    body.home-snap .screen-listing .news-card h3 {
        font-size: clamp(.95rem, 1.25vw, 1.1rem);
        margin-bottom: 7px;
    }

    body.home-snap .screen-listing .content-card p,
    body.home-snap .screen-listing .news-card p {
        margin-bottom: 9px;
        font-size: clamp(.74rem, .88vw, .84rem);
        line-height: 1.35;
    }

    body.home-snap .screen-listing .tag,
    body.home-snap .screen-listing .news-card time,
    body.home-snap .screen-listing .text-link {
        font-size: .70rem;
    }

    body.home-snap .screen-listing .empty-state {
        padding: clamp(22px, 3vh, 34px);
    }

    /* Démarche */
    body.home-snap .screen-impact .impact-grid {
        height: 100%;
        gap: clamp(32px, 5vw, 58px);
    }

    body.home-snap .screen-impact .section-heading {
        margin-bottom: 0;
    }

    body.home-snap .screen-impact .impact-panel div {
        min-height: clamp(105px, 16vh, 140px);
        padding: clamp(18px, 2vw, 25px);
    }

    body.home-snap .screen-impact .impact-panel strong {
        font-size: clamp(1.45rem, 2.6vw, 2rem);
    }

    body.home-snap .screen-impact .impact-panel span {
        font-size: clamp(.78rem, 1vw, .9rem);
    }

    /* Nous soutenir */
    body.home-snap .screen-support .support-grid {
        height: 100%;
        gap: clamp(38px, 6vw, 70px);
    }

    body.home-snap .screen-support .support-actions {
        gap: 0;
    }

    body.home-snap .screen-support .support-actions a {
        padding: clamp(12px, 2vh, 18px) 0;
    }

    body.home-snap .screen-support .support-actions strong {
        font-size: clamp(.88rem, 1.1vw, 1rem);
    }

    body.home-snap .screen-support .support-actions span {
        font-size: clamp(.76rem, .9vw, .85rem);
    }

    /* Contact : formulaire compact et informations intégralement visibles. */
    body.home-snap .screen-contact .contact-grid {
        height: 100%;
        grid-template-columns: .9fr 1.1fr;
        gap: clamp(34px, 5vw, 64px);
        align-items: center;
    }

    body.home-snap .screen-contact .section-heading {
        margin: 0;
    }

    body.home-snap .screen-contact .section-heading h2 {
        font-size: clamp(1.7rem, 2.8vw, 2.6rem);
    }

    body.home-snap .screen-contact .section-heading > p {
        font-size: clamp(.80rem, .95vw, .9rem);
        margin-bottom: 0;
    }

    body.home-snap .screen-contact .contact-points {
        margin-top: clamp(14px, 2vh, 22px);
        gap: 9px;
    }

    body.home-snap .screen-contact .contact-points div {
        padding-left: 13px;
    }

    body.home-snap .screen-contact .contact-points strong,
    body.home-snap .screen-contact .contact-points span {
        font-size: clamp(.74rem, .88vw, .84rem);
        line-height: 1.3;
    }

    body.home-snap .screen-contact .contact-form {
        padding: clamp(17px, 2vw, 24px);
        border-radius: 18px;
    }

    body.home-snap .screen-contact .form-row {
        gap: 11px;
    }

    body.home-snap .screen-contact .contact-form label {
        gap: 4px;
        margin-bottom: 8px;
        font-size: .75rem;
    }

    body.home-snap .screen-contact .contact-form input,
    body.home-snap .screen-contact .contact-form textarea {
        padding: 9px 11px;
        border-radius: 8px;
        font-size: .82rem;
    }

    body.home-snap .screen-contact .contact-form textarea {
        min-height: 74px;
        max-height: 92px;
        resize: vertical;
    }

    body.home-snap .screen-contact .contact-form .btn {
        min-height: 40px;
        padding: 0 18px;
        font-size: .76rem;
    }

    body.home-snap .screen-contact .form-error {
        margin: 2px 0 6px;
        font-size: .70rem;
        line-height: 1.25;
    }

    /* Ajustement automatique ajouté par JS lorsqu'un écran est encore trop dense. */
    body.home-snap .screen-fit.fit-tight {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    body.home-snap .screen-fit.fit-tight .section-heading {
        margin-bottom: 10px;
    }

    body.home-snap .screen-fit.fit-tight .section-heading h2 {
        font-size: clamp(1.55rem, 2.6vw, 2.25rem);
        margin-bottom: 7px;
    }

    body.home-snap .screen-fit.fit-tight p {
        font-size: .76rem;
        line-height: 1.31;
    }

    body.home-snap .screen-fit.fit-tight .value-card,
    body.home-snap .screen-fit.fit-tight .domain-card,
    body.home-snap .screen-fit.fit-tight .objective,
    body.home-snap .screen-fit.fit-tight .content-card-body,
    body.home-snap .screen-fit.fit-tight .news-card > div,
    body.home-snap .screen-fit.fit-tight .contact-form {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    body.home-snap .screen-fit.fit-tight .content-card img,
    body.home-snap .screen-fit.fit-tight .content-card .card-placeholder,
    body.home-snap .screen-fit.fit-tight .news-card img {
        height: 96px;
    }

    body.home-snap .screen-fit.fit-ultra > .container {
        zoom: .90;
    }
}

/* Sur écran très bas, garder la logique plein écran tout en libérant davantage d'espace. */
@media (min-width: 821px) and (max-height: 740px) {
    body.home-snap main > .screen-fit {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    body.home-snap .screen-hero h1 {
        font-size: clamp(2rem, 4.3vw, 3.4rem);
    }

    body.home-snap .screen-hero .hero-visual {
        height: min(40vh, 300px);
    }

    body.home-snap .screen-about .section-heading h2,
    body.home-snap .screen-contact .section-heading h2 {
        font-size: clamp(1.45rem, 2.45vw, 2rem);
    }

    body.home-snap .screen-about .value-card {
        padding: 13px 15px;
    }

    body.home-snap .screen-about .about-intro,
    body.home-snap .screen-about .value-card p {
        font-size: .72rem;
        line-height: 1.3;
    }

    body.home-snap .screen-contact .contact-form {
        padding: 13px 15px;
    }

    body.home-snap .screen-contact .contact-form label {
        margin-bottom: 5px;
    }

    body.home-snap .screen-contact .contact-form input,
    body.home-snap .screen-contact .contact-form textarea {
        padding: 7px 9px;
    }

    body.home-snap .screen-contact .contact-form textarea {
        min-height: 56px;
        max-height: 68px;
    }
}

/* =========================================================
   MPFS — Mécanisme de plaintes, feedback et signalement
   ========================================================= */
.nav-mpfs {
    padding: 11px 14px !important;
    border-radius: 10px;
    background: var(--brown-deep);
    color: #fff !important;
    white-space: nowrap;
}
.nav-mpfs::after { display: none !important; }
.nav-mpfs:hover { background: var(--brown); }

.mpfs-page { background: var(--cream); }
.mpfs-page .site-header { position: sticky; }
.mpfs-page h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
.mpfs-hero {
    padding: 88px 0 72px;
    background:
        radial-gradient(circle at 78% 22%, rgba(217,199,170,.42), transparent 32%),
        linear-gradient(125deg, #fff 10%, #fbf6ef 64%, #efe1cf 100%);
    border-bottom: 1px solid var(--line);
}
.mpfs-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 56px;
    align-items: center;
}
.mpfs-principles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.mpfs-principles span {
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(138,98,57,.10);
    color: var(--brown-deep);
    font-size: .78rem;
    font-weight: 850;
}
.mpfs-info-card,
.mpfs-alert {
    padding: 26px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.9);
    box-shadow: var(--shadow);
}
.mpfs-info-card strong,
.mpfs-alert strong { color: var(--brown-deep); display: block; margin-bottom: 8px; }
.mpfs-info-card p:last-child,
.mpfs-alert p:last-child { margin-bottom: 0; }
.mpfs-options { padding: 86px 0; }
.mpfs-choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mpfs-choice-card {
    display: flex;
    flex-direction: column;
    min-height: 360px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 12px 34px rgba(63,45,28,.06);
}
.mpfs-choice-card p { color: var(--muted); flex: 1; }
.mpfs-choice-card .btn { align-self: flex-start; margin-top: 18px; }
.mpfs-choice-number { color: var(--gold); font-weight: 950; font-size: 1.2rem; margin-bottom: 34px; }
.mpfs-choice-card-strong { border-color: rgba(138,98,57,.38); background: linear-gradient(145deg, #fff, #f6ecdf); }
.mpfs-assurance { padding: 58px 0 72px; background: #fff; border-top: 1px solid var(--line); }
.mpfs-assurance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mpfs-assurance-grid > div { padding-left: 18px; border-left: 3px solid var(--sand); }
.mpfs-assurance-grid strong { color: var(--brown-deep); }
.mpfs-assurance-grid p { margin: 6px 0 0; color: var(--muted); }

.mpfs-form-section { padding: 72px 0 96px; background: linear-gradient(180deg, #fff, var(--cream)); }
.mpfs-form-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 54px; align-items: start; }
.mpfs-form-intro { position: sticky; top: 112px; }
.mpfs-form-intro .eyebrow { margin-top: 34px; }
.mpfs-form-intro h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.mpfs-form-intro > p { color: var(--muted); }
.mpfs-form-intro .mpfs-alert { margin-top: 24px; box-shadow: none; background: #fff; }
.mpfs-form {
    padding: 30px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
}
.mpfs-form fieldset { margin: 0; padding: 0 0 28px; border: 0; }
.mpfs-form fieldset + fieldset { padding-top: 28px; border-top: 1px solid var(--line); }
.mpfs-form legend { width: 100%; margin-bottom: 18px; color: var(--brown-deep); font-size: 1.06rem; font-weight: 900; }
.mpfs-form label { display: grid; gap: 7px; margin-bottom: 16px; color: var(--brown-deep); font-size: .86rem; font-weight: 800; }
.mpfs-input,
.mpfs-form select,
.mpfs-form input[type=text],
.mpfs-form input[type=email],
.mpfs-form textarea {
    width: 100%;
    border: 1px solid rgba(63,45,28,.18);
    background: #fff;
    border-radius: 10px;
    padding: 12px 13px;
    color: var(--ink);
    outline: none;
}
.mpfs-form textarea { resize: vertical; min-height: 150px; }
.mpfs-input:focus,
.mpfs-form select:focus,
.mpfs-form input:focus,
.mpfs-form textarea:focus { border-color: var(--brown); box-shadow: 0 0 0 3px rgba(138,98,57,.1); }
.mpfs-radio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mpfs-radio-card {
    position: relative;
    display: flex !important;
    min-height: 76px;
    align-items: center;
    gap: 10px !important;
    margin: 0 !important;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--cream);
    cursor: pointer;
}
.mpfs-radio-card input { accent-color: var(--brown); }
.mpfs-check {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: flex-start;
    gap: 10px !important;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--cream);
}
.mpfs-check input { margin-top: 4px; accent-color: var(--brown); }
.mpfs-check span { font-weight: 700; }
.mpfs-form label.is-disabled { opacity: .5; }
.mpfs-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-top: 24px; border-top: 1px solid var(--line); }
.mpfs-submit-row p { margin: 0; max-width: 560px; color: var(--muted); font-size: .82rem; }
.mpfs-form-error { margin-bottom: 18px; }

.mpfs-confirmation { min-height: 70vh; display: grid; align-items: center; padding: 90px 0; background: linear-gradient(145deg, #fff, var(--cream)); }
.mpfs-confirm-card { max-width: 780px; margin: 0 auto; padding: 44px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.mpfs-confirm-card h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.mpfs-confirm-mark { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 50%; background: var(--cream-2); color: var(--brown); border: 1px solid var(--sand); font-size: 1.8rem; font-weight: 950; }
.mpfs-reference { margin: 28px 0; padding: 22px; border-radius: 14px; background: var(--brown-deep); color: #fff; }
.mpfs-reference span { display: block; margin-bottom: 6px; color: rgba(255,255,255,.72); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }
.mpfs-reference strong { font-size: clamp(1.25rem, 3vw, 2rem); letter-spacing: .035em; }
.mpfs-confirm-card .mpfs-alert { margin: 24px 0; text-align: left; box-shadow: none; background: #fff8e8; }
.mpfs-save-reference { color: var(--muted); font-size: .9rem; }
.mpfs-confirm-card .hero-actions { justify-content: center; }

@media (max-width: 1120px) {
    .main-nav { gap: 14px; }
    .main-nav a { font-size: .73rem; }
    .nav-mpfs { padding-inline: 10px !important; }
}

@media (max-width: 820px) {
    .nav-mpfs { margin-top: 6px; text-align: center; }
    .mpfs-hero-grid,
    .mpfs-form-layout { grid-template-columns: 1fr; }
    .mpfs-choice-grid,
    .mpfs-assurance-grid { grid-template-columns: 1fr; }
    .mpfs-form-intro { position: static; }
    .mpfs-radio-grid { grid-template-columns: 1fr; }
    .mpfs-submit-row { flex-direction: column; align-items: stretch; }
    .mpfs-submit-row .btn { width: 100%; }
}

@media (max-width: 560px) {
    .mpfs-hero { padding: 62px 0 52px; }
    .mpfs-options { padding: 62px 0; }
    .mpfs-form { padding: 22px; border-radius: 18px; }
    .mpfs-confirm-card { padding: 28px 20px; }
}

/* =========================================================
   Footer v12 — navigation horizontale sur une ligne
   ========================================================= */
.footer-nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.footer-nav-separator {
    color: rgba(255,255,255,.42);
    line-height: 1;
}

@media (min-width: 821px) {
    body.home-snap .footer-grid {
        grid-template-columns: minmax(300px, 1.55fr) minmax(440px, 1.7fr) minmax(155px, .65fr);
        gap: clamp(12px, 1.8vw, 24px);
    }

    body.home-snap .footer-grid > .footer-nav-group {
        display: flex;
        align-items: center;
        min-width: 0;
        white-space: nowrap;
    }

    /* Comme sur la référence visuelle : les liens se lisent comme une phrase horizontale. */
    body.home-snap .footer-nav-group > strong {
        display: none;
    }

    body.home-snap .footer-nav-links {
        width: 100%;
        min-width: 0;
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: clamp(5px, .55vw, 8px);
        white-space: nowrap;
        overflow: visible;
        line-height: 1;
    }

    body.home-snap .footer-nav-links a {
        display: inline-flex;
        flex: 0 0 auto;
        margin: 0;
        white-space: nowrap;
        font-size: clamp(.58rem, .66vw, .67rem);
    }

    body.home-snap .footer-nav-links .footer-mpfs-link {
        width: auto;
        max-width: none;
        white-space: nowrap;
    }

    body.home-snap .footer-nav-separator {
        display: inline-flex;
        flex: 0 0 auto;
        margin: 0 1px;
        color: rgba(255,255,255,.38);
        font-size: .64rem;
    }

    body.home-snap .footer-grid > .footer-admin-group {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
        white-space: nowrap;
    }
}

@media (max-width: 820px) {
    .footer-nav-links {
        align-items: flex-start;
        gap: 7px;
    }
    .footer-nav-separator { display: none; }
}


/* =========================================================
   V14 — accès MPFS discret dans le pied de page
   ========================================================= */
.footer-mpfs-menu {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    margin: 0;
}

.footer-mpfs-menu summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: rgba(255,255,255,.70);
    font-size: .66rem;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    list-style: none;
    transition: color .2s ease;
}

.footer-mpfs-menu summary::-webkit-details-marker { display: none; }
.footer-mpfs-menu summary::after {
    content: "▴";
    font-size: .58rem;
    color: rgba(255,255,255,.48);
    transition: transform .2s ease;
}
.footer-mpfs-menu[open] summary::after { transform: rotate(180deg); }
.footer-mpfs-menu summary:hover,
.footer-mpfs-menu summary:focus-visible { color: #fff; }
.footer-mpfs-menu summary:focus-visible {
    outline: 2px solid var(--sand);
    outline-offset: 4px;
    border-radius: 3px;
}

.footer-mpfs-actions {
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    z-index: 1200;
    width: 224px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    background: rgba(35,25,18,.98);
    box-shadow: 0 14px 38px rgba(0,0,0,.28);
}

.footer-mpfs-actions::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: -6px;
    width: 10px;
    height: 10px;
    background: rgba(35,25,18,.98);
    transform: rotate(45deg);
    border-right: 1px solid rgba(255,255,255,.10);
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.footer-mpfs-actions a,
body.home-snap .footer-grid > div:not(.footer-brand) .footer-mpfs-actions a {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 10px 11px;
    border-radius: 8px;
    color: rgba(255,255,255,.82);
    font-size: .72rem;
    font-weight: 750;
    line-height: 1.25;
    white-space: normal;
}

.footer-mpfs-actions a:hover,
.footer-mpfs-actions a:focus-visible,
body.home-snap .footer-grid > div:not(.footer-brand) .footer-mpfs-actions a:hover,
body.home-snap .footer-grid > div:not(.footer-brand) .footer-mpfs-actions a:focus-visible {
    color: #fff;
    background: rgba(255,255,255,.09);
}

@media (max-width: 820px) {
    .footer-mpfs-menu {
        margin-top: 2px;
        align-self: flex-start;
    }
    .footer-mpfs-menu summary { font-size: .82rem; }
    .footer-mpfs-actions {
        left: 0;
        right: auto;
        bottom: calc(100% + 10px);
        width: min(240px, calc(100vw - 40px));
    }
    .footer-mpfs-actions::after {
        left: 18px;
        right: auto;
    }
}


/* =========================================================
   V15 — Cohérence visuelle et contenus institutionnels
   ========================================================= */
.principles-line {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--brown-deep);
    font-size: .9rem;
}
.impact-panel small {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.38;
}
.contact-points a { color: var(--brown); font-weight: 800; }
.contact-points a:hover { color: var(--brown-deep); }

/* Pages secondaires : reprendre la même charte que la One Page. */
.page-hero {
    padding: 86px 0 72px;
    background: radial-gradient(circle at 80% 35%, rgba(216,198,168,.42), transparent 30%), linear-gradient(125deg, var(--white), var(--cream));
    border-bottom: 1px solid var(--line);
}
.narrow { max-width: 860px; }
.prose-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.prose-card {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 12px 34px rgba(63,45,28,.065);
}
.prose-card .card-mark { margin-bottom: 18px; }
.prose-card h2 { font-size: 1.5rem; }
.prose-card p { margin-bottom: 0; color: var(--muted); }
.form-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 46px; align-items: start; }
.form-card, .panel {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 12px 34px rgba(63,45,28,.065);
}
.form-card .field { margin-bottom: 16px; }
.form-card .field label { display: block; margin-bottom: 6px; color: var(--brown-deep); font-weight: 800; }
.form-card input, .form-card textarea, .form-card select {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
}
.form-card input:focus, .form-card textarea:focus, .form-card select:focus {
    outline: 0;
    border-color: var(--brown);
    box-shadow: 0 0 0 3px rgba(137,98,58,.10);
}
.list-stack { display: grid; gap: 14px; }
.list-item { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.list-item h2 { font-size: 1.25rem; margin-bottom: 6px; }
.empty { padding: 30px; border: 1px dashed var(--sand); border-radius: 16px; background: var(--cream); color: var(--muted); }

@media (min-width: 821px) {
    body.home-snap .screen-about .value-card p {
        font-size: clamp(.74rem, .88vw, .86rem);
        line-height: 1.36;
    }
    body.home-snap .screen-impact .impact-panel div {
        justify-content: flex-start;
    }
    body.home-snap .screen-impact .impact-panel small {
        font-size: clamp(.68rem, .80vw, .76rem);
        line-height: 1.3;
    }
}

@media (max-width: 820px) {
    .prose-layout, .form-layout { grid-template-columns: 1fr; }
    .page-hero { padding: 64px 0 50px; }
}

/* =========================================================
   V16 — Footer public : anti-chevauchement et vitrine PEN
   ========================================================= */
.footer-brand > div {
    min-width: 0;
    max-width: 100%;
}

.footer-brand strong,
.footer-brand p {
    max-width: 100%;
}

@media (min-width: 821px) {
    body.home-snap .footer-grid {
        grid-template-columns: minmax(0, 1.55fr) minmax(0, 1.25fr) auto;
        gap: clamp(14px, 1.6vw, 24px);
    }

    body.home-snap .footer-brand {
        min-width: 0;
        overflow: hidden;
    }

    body.home-snap .footer-brand > div {
        min-width: 0;
        overflow: hidden;
    }

    body.home-snap .footer-brand strong {
        display: block;
        max-width: 100%;
        margin: 0 0 3px;
        font-size: clamp(.64rem, .72vw, .72rem);
        line-height: 1.12;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    body.home-snap .footer-brand p {
        display: block;
        max-width: 100%;
        margin: 0;
        font-size: clamp(.55rem, .61vw, .62rem);
        line-height: 1.12;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    body.home-snap .footer-nav-group {
        min-width: 0;
        justify-content: flex-end;
        overflow: visible;
    }

    body.home-snap .footer-nav-links {
        width: auto;
        max-width: 100%;
        justify-content: flex-end;
        gap: clamp(4px, .45vw, 7px);
    }

    body.home-snap .footer-nav-links a,
    body.home-snap .footer-mpfs-menu summary {
        font-size: clamp(.56rem, .61vw, .64rem);
    }

    body.home-snap .footer-admin-group {
        justify-self: end;
        min-width: max-content;
    }

    body.home-snap .footer-admin-group > strong {
        display: none !important;
    }
}

@media (max-width: 1040px) and (min-width: 821px) {
    body.home-snap .footer-grid {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
        gap: 12px;
    }
    body.home-snap .footer-brand strong { font-size: .61rem; }
    body.home-snap .footer-brand p { font-size: .53rem; }
    body.home-snap .footer-nav-links a,
    body.home-snap .footer-mpfs-menu summary { font-size: .55rem; }
}

/* =========================================================
   V17 — Objectifs interactifs : méthodologie PEN
   ========================================================= */
.objective-card {
    position: relative;
    cursor: pointer;
    outline: none;
}
.objective-card:focus-visible {
    box-shadow: inset 0 0 0 3px rgba(137,98,58,.34);
    background: var(--cream);
}
.objective-card .objective-more {
    display: inline-flex;
    margin-top: 16px;
    margin-bottom: 0;
    color: var(--brown);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .02em;
}
.objective-card:hover .objective-more,
.objective-card:focus-visible .objective-more {
    color: var(--brown-deep);
}

.objective-dialog[hidden] { display: none !important; }
.objective-dialog {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: grid;
    place-items: center;
    padding: clamp(18px, 4vw, 48px);
}
.objective-dialog-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(35,25,18,.72);
    backdrop-filter: blur(5px);
}
.objective-dialog-panel {
    position: relative;
    z-index: 1;
    width: min(980px, 96vw);
    max-height: min(84vh, 780px);
    overflow: auto;
    overscroll-behavior: contain;
    padding: clamp(28px, 4vw, 52px);
    border: 1px solid rgba(137,98,58,.25);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 28px 80px rgba(35,25,18,.34);
}
.objective-dialog-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--cream);
    color: var(--brown-deep);
    font: inherit;
    font-size: 1.65rem;
    line-height: 1;
    cursor: pointer;
}
.objective-dialog-close:hover,
.objective-dialog-close:focus-visible {
    background: var(--brown);
    border-color: var(--brown);
    color: var(--white);
    outline: none;
}
.objective-dialog-heading {
    padding-right: 54px;
    padding-bottom: 22px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
}
.objective-dialog-heading > span {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--gold);
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .78rem;
}
.objective-dialog-heading h3 {
    margin-bottom: 10px;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    color: var(--brown-deep);
}
.objective-dialog-heading p {
    max-width: 820px;
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
}
.objective-method-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.objective-method-grid section {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--cream);
}
.objective-method-grid h4 {
    margin: 0 0 10px;
    color: var(--brown-deep);
    font-size: 1rem;
}
.objective-method-grid p,
.objective-method-grid li {
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.55;
}
.objective-method-grid p { margin: 0; }
.objective-method-grid ul {
    margin: 0;
    padding-left: 18px;
}
.objective-method-grid li + li { margin-top: 6px; }
body.objective-modal-open { overflow: hidden !important; }

@media (min-width: 821px) {
    body.home-snap .objective-card .objective-more {
        margin-top: clamp(8px, 1.2vh, 14px);
        font-size: clamp(.63rem, .72vw, .76rem);
    }
}

@media (max-width: 700px) {
    .objective-dialog { padding: 12px; }
    .objective-dialog-panel {
        width: 100%;
        max-height: 90vh;
        padding: 26px 20px 22px;
        border-radius: 18px;
    }
    .objective-method-grid { grid-template-columns: 1fr; }
    .objective-dialog-heading { padding-right: 42px; }
}


/* =========================================================
   V18 — Cartes interactives : vision, mission, domaines, démarche
   ========================================================= */
.interactive-card,
.impact-panel .method-card {
    position: relative;
    cursor: pointer;
    outline: none;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.value-card.interactive-card::after,
.domain-card.interactive-card::after,
.impact-panel .method-card::after {
    content: "Voir le détail →";
    position: absolute;
    right: 18px;
    bottom: 13px;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .02em;
    opacity: .78;
}

.value-card.interactive-card {
    padding-bottom: 48px;
}
.value-card.interactive-card::after { color: var(--brown); }
.value-card.interactive-card:hover,
.value-card.interactive-card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(137,98,58,.44);
    box-shadow: 0 16px 38px rgba(63,45,28,.12);
}

.domain-card.interactive-card {
    padding-bottom: 48px;
}
.domain-card.interactive-card::after { color: var(--sand); }
.domain-card.interactive-card:hover,
.domain-card.interactive-card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(216,198,168,.55);
    background: rgba(255,255,255,.10);
    box-shadow: 0 16px 36px rgba(25,18,13,.18);
}

.impact-panel .method-card {
    padding-bottom: 46px;
}
.impact-panel .method-card::after { color: var(--brown); }
.impact-panel .method-card:hover,
.impact-panel .method-card:focus-visible {
    background: var(--cream);
    box-shadow: inset 0 0 0 2px rgba(137,98,58,.18);
}

@media (min-width: 821px) {
    body.home-snap .screen-about .value-card.interactive-card {
        padding-bottom: clamp(36px, 4.6vh, 46px);
    }
    body.home-snap .screen-compact .domain-card.interactive-card {
        padding-bottom: clamp(34px, 4.4vh, 44px);
    }
    body.home-snap .screen-impact .impact-panel .method-card {
        padding-bottom: clamp(34px, 4.5vh, 46px);
    }
    body.home-snap .value-card.interactive-card::after,
    body.home-snap .domain-card.interactive-card::after,
    body.home-snap .impact-panel .method-card::after {
        right: 14px;
        bottom: 10px;
        font-size: clamp(.56rem, .62vw, .66rem);
    }
}

@media (max-width: 700px) {
    .value-card.interactive-card,
    .domain-card.interactive-card,
    .impact-panel .method-card {
        padding-bottom: 48px;
    }
}
