/* ==========================================================================
   Pompy – feuille de style principale
   ========================================================================== */

/* Typographie : TeX Gyre Adventor (licence GUST, libre), clone fidèle d'ITC Avant Garde Gothic,
   police principale de la charte. Remplaçable par l'ITC Avant Garde webfont si la licence est fournie. */
@font-face {
    font-family: "Adventor";
    src: url("../fonts/texgyreadventor-regular.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Adventor";
    src: url("../fonts/texgyreadventor-bold.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}

:root {
    --navy: #262a5d;
    --navy-deep: #1b1e45;
    --red: #dc0d15;
    --red-deep: #b00a11;
    --beige: #f5e5c0;
    --beige-soft: #faf2df;
    --cream: #fdf8ef;
    --mint: #addad6;
    --mint-soft: #e6f4f2;
    --yellow: #ffcf5c;
    --ink: #1f2247;
    --muted: #5a5f7d;
    --white: #fff;

    --font-title: "ITC Avant Garde Gothic Pro", "Adventor", "Century Gothic", "Futura", system-ui, sans-serif;
    --font-body: "ITC Avant Garde Gothic Pro", "Adventor", "Century Gothic", system-ui, -apple-system, "Segoe UI", sans-serif;
    --sky: #addad6;

    --radius: 22px;
    --radius-lg: 36px;
    --shadow-sm: 0 4px 14px rgba(35, 44, 107, .08);
    --shadow: 0 18px 45px -12px rgba(35, 44, 107, .25);
    --shadow-lg: 0 30px 70px -20px rgba(35, 44, 107, .35);
    --ease-out: cubic-bezier(.2, .8, .2, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
    --container: 1200px;
    --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.03rem;
    line-height: 1.7;
    color: var(--ink);
    background: var(--cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.12; margin: 0 0 .5em; color: var(--navy); font-weight: 700; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
strong { font-weight: 800; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.center { text-align: center; }
.small { font-size: .875rem; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--navy); color: #fff; padding: .7rem 1.2rem; border-radius: 12px; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Typo ---------- */
.h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -.01em; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); }
.eyebrow {
    display: inline-flex; align-items: center; gap: .5em;
    font-family: var(--font-title); font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
    font-size: .82rem; color: var(--red); margin-bottom: .8rem;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: currentColor; }
.section-head { max-width: 720px; margin: 0 auto 3.2rem; text-align: center; }
.section-head .eyebrow::after { content: ""; width: 26px; height: 3px; border-radius: 3px; background: currentColor; }
.section { position: relative; padding: clamp(4.5rem, 9vw, 7.5rem) 0; }

/* ---------- Boutons ---------- */
.btn {
    --bg: var(--navy); --fg: #fff;
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent;
    background: var(--bg); color: var(--fg); text-decoration: none;
    font-family: var(--font-title); font-weight: 600; font-size: 1rem; line-height: 1.1;
    cursor: pointer; white-space: nowrap;
    transition: transform .35s var(--ease-spring), box-shadow .3s, background-color .25s;
    box-shadow: 0 8px 20px -8px rgba(38, 42, 93, .35);
    box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--bg) 70%, transparent);
}
.btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 28px -10px rgba(38, 42, 93, .4); box-shadow: 0 14px 28px -10px color-mix(in srgb, var(--bg) 80%, transparent); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .icon { transition: transform .35s var(--ease-spring); }
.btn:hover .icon { transform: scale(1.18) rotate(-8deg); }
.btn--red { --bg: var(--red); }
.btn--red:hover { background: var(--red-deep); }
.btn--navy { --bg: var(--navy); }
.btn--ghost { --bg: transparent; --fg: var(--navy); border-color: var(--navy); box-shadow: none; }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--ghost:hover .icon { transform: translateX(4px); }
.btn--sm { padding: .65em 1.15em; font-size: .95rem; }
.btn--lg { padding: 1em 1.8em; font-size: 1.08rem; }

.pill {
    display: inline-flex; align-items: center; gap: .5em;
    padding: .45em 1em .45em .75em; border-radius: 999px;
    background: var(--white); color: var(--red);
    font-family: var(--font-title); font-weight: 600; font-size: .95rem;
    box-shadow: var(--shadow-sm);
}

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
    display: flex; align-items: center;
    transition: background-color .35s, box-shadow .35s, height .35s;
}
.site-header.is-scrolled {
    --header-h: 70px;
    background: rgba(253, 248, 239, .9);
    background: color-mix(in srgb, var(--cream) 82%, transparent);
    backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: 0 6px 24px -14px rgba(35, 44, 107, .35);
}
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; }
/* Charte : logo toujours sur cartouche blanc, avec zone de tranquillité, sans effet ni déformation */
.site-header__logo { display: block; flex: none; background: #fff; padding: 7px 12px; border-radius: 14px; box-shadow: 0 2px 10px rgba(38, 42, 93, .08); }
.site-header__logo img { height: 44px; width: auto; transition: height .35s; }
.site-header.is-scrolled .site-header__logo img { height: 38px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: .2rem; }
.main-nav a {
    position: relative; display: block; padding: .5rem .7rem; border-radius: 999px;
    font-family: var(--font-title); font-weight: 500; font-size: .98rem; color: var(--navy); text-decoration: none;
    transition: background-color .25s, color .25s;
}
.main-nav a:hover { background: rgba(35, 44, 107, .07); }
.main-nav a[aria-current="page"] { background: var(--navy); color: #fff; }
.main-nav .main-nav__cta-mobile { display: none; }
.burger { display: none; }

@media (max-width: 1180px) {
    .main-nav a { padding: .5rem .55rem; font-size: .92rem; }
}
@media (max-width: 1060px) {
    .site-header__cta span { display: none; }
    .site-header__cta { padding: .7em; }
}
@media (max-width: 980px) {
    .site-header__cta { display: none; }
    .burger {
        display: grid; place-content: center; gap: 5px; margin-left: auto;
        width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--navy); cursor: pointer; z-index: 2;
    }
    .burger span:not(.sr-only) { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: #fff; transition: transform .35s var(--ease-out), opacity .2s; }
    .burger[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(7.5px) rotate(45deg); }
    .burger[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
    .burger[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-7.5px) rotate(-45deg); }
    .main-nav {
        position: fixed; inset: 0; z-index: 1; margin: 0;
        display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2rem;
        background: var(--cream);
        clip-path: circle(0 at calc(100% - 44px) 42px);
        transition: clip-path .6s var(--ease-out); visibility: hidden;
    }
    .main-nav.is-open { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; }
    .main-nav ul { flex-direction: column; align-items: center; gap: .3rem; }
    .main-nav a { font-size: 1.6rem; font-weight: 600; padding: .4rem 1.2rem; opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .5s var(--ease-out), background-color .25s; }
    .main-nav.is-open a { opacity: 1; transform: none; }
    .main-nav.is-open li:nth-child(1) a { transition-delay: .12s; }
    .main-nav.is-open li:nth-child(2) a { transition-delay: .16s; }
    .main-nav.is-open li:nth-child(3) a { transition-delay: .2s; }
    .main-nav.is-open li:nth-child(4) a { transition-delay: .24s; }
    .main-nav.is-open li:nth-child(5) a { transition-delay: .28s; }
    .main-nav.is-open li:nth-child(6) a { transition-delay: .32s; }
    .main-nav.is-open li:nth-child(7) a { transition-delay: .36s; }
    .main-nav .main-nav__cta-mobile { display: inline-flex; font-size: 1.1rem; opacity: 1; transform: none; padding: 1em 1.8em; color: #fff; background: var(--red); }
    body.menu-open { overflow: hidden; }
}

/* ---------- Vagues ---------- */
.wave { position: absolute; left: 0; width: 100%; height: clamp(40px, 6vw, 90px); pointer-events: none; }
.wave--bottom { bottom: -1px; fill: var(--navy); }
.wave--top { top: 0; transform: translateY(-99%); fill: var(--navy); }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    padding: calc(var(--header-h) + clamp(2rem, 6vw, 5rem)) 0 clamp(7rem, 12vw, 10rem);
    background:
        radial-gradient(circle at 85% 20%, rgba(143, 211, 200, .35), transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(239, 224, 187, .8), transparent 45%),
        var(--cream);
}
.hero__blobs span {
    position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55;
    animation: blob 18s ease-in-out infinite alternate;
}
.hero__blobs span:nth-child(1) { width: 420px; height: 420px; background: var(--beige); top: -120px; left: -100px; }
.hero__blobs span:nth-child(2) { width: 320px; height: 320px; background: var(--mint-soft); bottom: 10%; right: 35%; animation-delay: -6s; }
.hero__blobs span:nth-child(3) { width: 260px; height: 260px; background: #ffe3e0; top: 15%; right: -60px; animation-delay: -12s; }
@keyframes blob {
    to { transform: translate(60px, 40px) scale(1.15); }
}
.hero__hearts span {
    position: absolute; bottom: -40px; left: calc(6% + var(--i) * 11%);
    color: var(--red); opacity: 0;
    animation: rise 11s linear infinite; animation-delay: calc(var(--i) * -1.3s);
}
.hero__hearts span:nth-child(3n) { color: var(--mint); }
.hero__hearts span:nth-child(4n) { color: var(--beige); }
.hero__hearts .icon { width: calc(14px + (var(--i) * 3px) % 18px); height: auto; }
@keyframes rise {
    0% { transform: translateY(0) rotate(0); opacity: 0; }
    10% { opacity: .55; }
    80% { opacity: .35; }
    100% { transform: translateY(-110vh) rotate(40deg) translateX(40px); opacity: 0; }
}
.hero__grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero__title { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; letter-spacing: -.02em; margin: 1.2rem 0 1.4rem; }
.hl { position: relative; display: inline-block; color: var(--red); white-space: nowrap; }
.hl__line { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; }
.hl__line path { fill: none; stroke: var(--mint); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 1.2s .9s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__lead { font-size: clamp(1.12rem, 1.8vw, 1.35rem); color: var(--muted); max-width: 34rem; }
.hero__lead strong { color: var(--navy); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 2.2rem; }
.hero__proofs { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; color: var(--navy); font-weight: 700; font-size: .95rem; }
.hero__proofs li { display: flex; align-items: center; gap: .45em; }
.hero__proofs .icon { color: var(--red); }

.hero__visual { position: relative; aspect-ratio: 1 / .95; }
.hero__photo {
    position: absolute; inset: 4% 6% 8% 8%;
    border-radius: 58% 42% 46% 54% / 48% 52% 48% 52%;
    overflow: hidden; box-shadow: var(--shadow-lg);
    animation: morph 14s ease-in-out infinite;
    border: 8px solid #fff;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; transform: scale(1.08); }
@keyframes morph {
    50% { border-radius: 44% 56% 58% 42% / 56% 44% 56% 44%; }
}
.polaroid {
    position: absolute; background: #fff; padding: 8px 8px 26px; border-radius: 14px; box-shadow: var(--shadow);
}
.polaroid img { border-radius: 8px; object-fit: cover; width: 100%; height: 100%; }
.polaroid--a { width: 32%; aspect-ratio: 3 / 4; left: -4%; bottom: -2%; rotate: -8deg; animation: float 7s ease-in-out infinite; }
.polaroid--b { width: 34%; aspect-ratio: 4 / 3; right: -4%; top: -2%; rotate: 7deg; animation: float 8s -3s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -14px; } }
.seal {
    position: absolute; right: 2%; bottom: 4%; width: clamp(110px, 12vw, 150px); aspect-ratio: 1;
    border-radius: 50%; background: var(--red); color: #fff; box-shadow: var(--shadow);
    display: grid; place-items: center;
}
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.seal text { fill: #fff; font-family: var(--font-title); font-weight: 600; font-size: 17px; letter-spacing: 2.6px; }
.seal__center { font-family: var(--font-title); font-weight: 700; font-size: 2.4rem; line-height: .8; text-align: center; }
.seal__center small { display: block; font-size: .9rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-top: .25rem; }
@keyframes spin { to { rotate: 360deg; } }

@media (max-width: 900px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__visual { max-width: 520px; width: 100%; margin: 1rem auto 0; }
}

/* ---------- Ticker ---------- */
.ticker { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 1.1rem 0 1.4rem; }
.ticker__track { display: flex; align-items: center; gap: 1.6rem; width: max-content; animation: marquee 38s linear infinite; }
.ticker span { font-family: var(--font-title); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.45rem); white-space: nowrap; }
.ticker .icon { color: var(--yellow); }
.ticker .icon:nth-of-type(odd) { color: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Anniversaire ---------- */
.anniv { overflow: hidden; background: linear-gradient(180deg, var(--beige-soft), var(--cream)); }
.anniv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.anniv__visual { position: relative; aspect-ratio: 1 / .9; }
.anniv__img { position: absolute; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.anniv__img img { width: 100%; height: 100%; object-fit: cover; }
.anniv__img--main { inset: 0 18% 10% 0; rotate: -2deg; }
.anniv__img--small { width: 44%; aspect-ratio: 1; right: 0; bottom: 0; border: 7px solid #fff; rotate: 4deg; }
.sticker {
    position: absolute; left: -2%; top: -4%; display: grid; place-items: center; text-align: center;
    width: 112px; aspect-ratio: 1; border-radius: 50%;
    font-family: var(--font-title); font-weight: 700; line-height: 1.05; color: var(--navy);
    box-shadow: var(--shadow-sm); rotate: -12deg; animation: wobble 4s ease-in-out infinite;
}
.sticker--yellow { background: var(--yellow); }
@keyframes wobble { 50% { rotate: 6deg; scale: 1.06; } }
.confetti i {
    position: absolute; top: -20px; left: calc(var(--i) * 3.4%); /* côté photo uniquement : jamais derrière le texte */
    width: 10px; height: 16px; border-radius: 3px; opacity: .7;
    background: var(--red); animation: fall 9s linear infinite; animation-delay: calc(var(--i) * -.65s);
    z-index: 0;
}
.anniv__grid { position: relative; z-index: 1; }
.confetti i:nth-child(3n) { background: var(--mint); }
.confetti i:nth-child(3n+1) { background: var(--yellow); width: 8px; height: 8px; border-radius: 50%; }
.confetti i:nth-child(4n) { background: var(--navy); }
@keyframes fall { to { transform: translateY(900px) rotate(540deg); } }
@media (max-width: 860px) {
    .anniv__grid { grid-template-columns: 1fr; }
    .anniv__visual { max-width: 520px; width: 100%; margin-inline: auto; }
}

/* ---------- Cartes ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.card {
    display: flex; flex-direction: column; text-decoration: none; background: #fff; border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-sm);
    transition: transform .5s var(--ease-spring), box-shadow .4s;
}
.card:hover { transform: translateY(-10px) rotate(-.6deg); box-shadow: var(--shadow-lg); }
.card__media { aspect-ratio: 4 / 3.2; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.card:hover .card__media img { transform: scale(1.08); }
.card__body { padding: 1.6rem 1.7rem 1.8rem; }
.card__title { font-size: 1.55rem; }
.card__body p { color: var(--muted); }
.card__more { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-title); font-weight: 600; color: var(--red); }
.card__more .icon { transition: transform .35s var(--ease-spring); }
.card:hover .card__more .icon, .act-card:hover .card__more .icon { transform: translateX(6px); }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ---------- Chiffres ---------- */
.stats {
    position: relative; overflow: hidden; color: #fff; text-align: center;
    padding: clamp(4.5rem, 9vw, 7rem) 0;
    background: radial-gradient(circle at 50% 0%, #3a3f82, var(--navy) 55%, var(--navy-deep));
}
.stats__title { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.6rem); max-width: 820px; margin: 0 auto 3.4rem; }
.stats__title span { color: var(--yellow); }
.stats__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.stat {
    padding: 2rem 1rem; border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
.stat__value {
    display: block; font-family: var(--font-title); font-weight: 700; font-variant-numeric: tabular-nums;
    font-size: clamp(2.8rem, 6.5vw, 4.8rem); line-height: 1; color: #fff;
}
.stat:nth-child(2) .stat__value { color: var(--yellow); }
.stat__label { display: block; margin-top: .7rem; font-weight: 700; font-size: 1.05rem; color: rgba(255, 255, 255, .8); }
.stats__stars span {
    position: absolute; color: var(--yellow); opacity: .5;
    left: calc((var(--i) * 37%) % 100%); top: calc((var(--i) * 23%) % 100%);
    animation: twinkle 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.4s);
}
.stats__stars .icon { width: calc(10px + (var(--i) * 4px) % 16px); height: auto; }
@keyframes twinkle { 50% { opacity: .1; scale: .5; } }
@media (max-width: 760px) { .stats__list { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; } }

/* ---------- Frise ---------- */
.timeline { position: relative; max-width: 1000px; margin-inline: auto; display: grid; gap: 2.4rem; }
.timeline__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 6px; translate: -50% 0; border-radius: 6px; background: var(--beige); }
.timeline__line span { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(var(--red), var(--navy)); transform-origin: top; transform: scaleY(var(--progress, 0)); }
.timeline__item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.timeline__item:nth-child(odd) .timeline__card { grid-column: 2; }
.timeline__dot {
    position: absolute; left: 50%; top: 1.4rem; translate: -50% 0; z-index: 1;
    width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%;
    background: #fff; color: var(--red); border: 4px solid var(--beige); box-shadow: var(--shadow-sm);
    transition: background-color .4s, color .4s, border-color .4s, scale .5s var(--ease-spring);
}
.timeline__item.is-visible .timeline__dot { background: var(--red); color: #fff; border-color: #fff; scale: 1.08; }
.timeline__card {
    position: relative; background: #fff; border-radius: var(--radius); padding: 1.6rem 1.8rem; box-shadow: var(--shadow-sm);
}
.timeline__card h3 { font-size: 1.4rem; margin-bottom: .4em; }
.timeline__card p:last-child { margin: 0; color: var(--muted); }
.timeline__year {
    position: absolute; top: -1.05rem; right: 1.4rem; padding: .15em .75em; border-radius: 999px;
    background: var(--navy); color: #fff; font-family: var(--font-title); font-weight: 600; font-size: 1.05rem;
}
.timeline__date { font-weight: 800; color: var(--red); font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .3rem; }
@media (max-width: 760px) {
    .timeline__line, .timeline__dot { left: 27px; }
    .timeline__item { grid-template-columns: 1fr; padding-left: 74px; gap: 0; }
    .timeline__item:nth-child(odd) .timeline__card { grid-column: 1; }
}

/* ---------- Équation ---------- */
.equation { background: var(--beige-soft); }
.equation__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; max-width: 960px; margin: 0 auto 3rem; }
.eq-card {
    text-align: center; background: #fff; border-radius: var(--radius-lg); padding: 2.4rem 2rem; box-shadow: var(--shadow);
    font-size: 1.15rem; color: var(--muted);
}
.eq-card p { margin: 0; }
.eq-card__icon {
    display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%;
    background: var(--beige-soft); color: var(--navy);
}
.eq-card__icon .icon { width: 34px; height: 34px; }
.eq-card__big { font-family: var(--font-title); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3rem); color: var(--navy); line-height: 1.1; }
.eq-card__big sup { font-size: .4em; }
.eq-card strong { color: var(--navy); }
.eq-card--red { background: var(--red); color: rgba(255, 255, 255, .92); }
.eq-card--red .eq-card__big { color: #fff; }
.eq-card--red .eq-card__icon { background: rgba(255, 255, 255, .18); color: #fff; }
.eq-card--red .eq-card__icon .icon { animation: beat 1.4s ease-in-out infinite; }
@keyframes beat { 0%, 60%, 100% { scale: 1; } 15% { scale: 1.22; } 30% { scale: 1.02; } 45% { scale: 1.15; } }
.equation__equal {
    display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%;
    background: var(--navy); color: #fff; font-family: var(--font-title); font-weight: 700; font-size: 2.6rem; line-height: 1;
    box-shadow: var(--shadow);
}
@media (max-width: 760px) {
    .equation__row { grid-template-columns: 1fr; justify-items: center; }
    .eq-card { width: 100%; }
}

/* ---------- Carte de France ---------- */
.map__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.map__top { counter-reset: top; margin: 1.8rem 0 1rem; display: grid; gap: .7rem; }
.map__top li {
    counter-increment: top; display: flex; align-items: center; gap: 1rem; justify-content: space-between;
    background: #fff; border-radius: 16px; padding: .85rem 1.2rem; box-shadow: var(--shadow-sm); font-weight: 700;
}
.map__top li::before {
    content: counter(top); display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%;
    background: var(--red); color: #fff; font-family: var(--font-title);
}
.map__top span { flex: 1; }
.map__top strong { font-family: var(--font-title); color: var(--navy); font-size: 1.2rem; }
.map__visual { position: relative; }
.fr-map { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 20px 30px rgba(35, 44, 107, .18)); }
.fr-map__region {
    stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; cursor: pointer; outline: none;
    transition: fill .3s, transform .4s var(--ease-spring), filter .3s;
    transform-box: fill-box; transform-origin: center;
}
.lvl-0 { fill: #f8edd4; } .lvl-1 { fill: #e8d3a0; } .lvl-2 { fill: #addad6; } .lvl-3 { fill: #5b5f9e; } .lvl-4 { fill: #262a5d; }
.fr-map__region:hover, .fr-map__region:focus-visible, .fr-map__region.is-active { fill: var(--red); transform: scale(1.04); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .25)); }
.map__tip {
    position: absolute; pointer-events: none; z-index: 2; translate: -50% calc(-100% - 14px);
    background: var(--navy); color: #fff; border-radius: 14px; padding: .55rem .95rem; box-shadow: var(--shadow);
    font-weight: 700; white-space: nowrap; text-align: center; line-height: 1.3;
}
.map__tip strong { display: block; font-family: var(--font-title); font-size: 1.35rem; color: var(--yellow); }
.map__tip::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 14px; height: 14px; background: inherit; translate: -50% 0; rotate: 45deg; border-radius: 3px; }
.map__legend { display: flex; justify-content: center; gap: 4px; margin-top: 1rem; }
.map__legend li { width: 38px; height: 10px; border-radius: 10px; }
.map__legend .lvl-0 { background: #f8edd4; } .map__legend .lvl-1 { background: #e8d3a0; } .map__legend .lvl-2 { background: #addad6; } .map__legend .lvl-3 { background: #5b5f9e; } .map__legend .lvl-4 { background: #262a5d; }
@media (max-width: 860px) { .map__grid { grid-template-columns: 1fr; } }

/* ---------- Galerie défilante ---------- */
.gallery { overflow: hidden; background: linear-gradient(180deg, var(--cream), var(--mint-soft)); }
.marquee { display: grid; gap: 1.2rem; }
.marquee__row { overflow: hidden; }
.marquee__track { display: flex; gap: 1.2rem; width: max-content; animation: marquee 60s linear infinite; }
.marquee__row--reverse .marquee__track { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { width: clamp(240px, 26vw, 340px); aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.marquee__item:nth-child(even) { aspect-ratio: 4 / 3; rotate: 1deg; }
.marquee__item:nth-child(odd) { rotate: -1deg; }
.marquee__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.marquee__item:hover img { transform: scale(1.1); }

/* ---------- Agir ---------- */
.act__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.act-card {
    position: relative; overflow: hidden; display: flex; flex-direction: column; text-decoration: none;
    border-radius: var(--radius-lg); padding: 2.2rem 2rem; min-height: 290px;
    transition: transform .5s var(--ease-spring), box-shadow .4s;
}
.act-card::after {
    content: ""; position: absolute; right: -60px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%;
    background: rgba(255, 255, 255, .25); transition: transform .7s var(--ease-out);
}
.act-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.act-card:hover::after { transform: scale(1.8); }
.act-card h3 { font-size: 1.7rem; }
.act-card p { flex: 1; }
.act-card__icon { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; background: #fff; color: var(--navy); margin-bottom: 1.4rem; box-shadow: var(--shadow-sm); }
.act-card__icon .icon { width: 30px; height: 30px; }
.act-card--beige { background: var(--beige); }
.act-card--mint { background: var(--mint); }
.act-card--red { background: var(--red); color: #fff; }
.act-card--red h3, .act-card--red .card__more { color: #fff; }
.act-card--red .act-card__icon { color: var(--red); }
@media (max-width: 860px) { .act__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: clamp(40px, 6vw, 90px); background: var(--navy); color: rgba(255, 255, 255, .78); padding: 3.5rem 0 2rem; font-size: .98rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
/* Logo négatif officiel : réservé aux fonds foncés, de préférence le bleu-bleu (charte p. 10) */
.site-footer__logo { display: inline-block; margin-bottom: 1.4rem; }
.site-footer__logo img { height: 74px; width: auto; }
.site-footer__title { color: #fff; font-size: 1.15rem; margin-bottom: 1rem; }
.site-footer__links { display: grid; gap: .45rem; }
.socials { display: flex; gap: .6rem; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); transition: background-color .25s, transform .35s var(--ease-spring); }
.socials a:hover { background: var(--red); transform: translateY(-3px) rotate(-8deg); text-decoration: none; }
.site-footer__bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .85rem; display: grid; gap: .4rem; }
.site-footer__bottom p { margin: 0; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Apparitions au défilement ---------- */
.js [data-reveal] {
    opacity: 0; transform: translateY(40px);
    transition: opacity .9s var(--ease-out), transform 1s var(--ease-out);
    transition-delay: calc(var(--d, 0) * 110ms);
}
.js [data-reveal="left"] { transform: translateX(-60px); }
.js [data-reveal="right"] { transform: translateX(60px); }
.js [data-reveal="zoom"] { transform: scale(.85); transition-timing-function: var(--ease-spring), var(--ease-spring); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
    .hero__hearts, .confetti, .stats__stars { display: none; }
    .hl__line path { stroke-dashoffset: 0; }
}

/* ==========================================================================
   Pages internes
   ========================================================================== */

.btn--white { --bg: #fff; --fg: var(--red); }
.btn--white:hover { background: var(--cream); }
.btn--outline-white { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, .7); box-shadow: none; }
.btn--outline-white:hover { background: #fff; color: var(--navy); }
.btn--outline-white:hover .icon { transform: translateX(4px); }

/* ---------- En-tête de page ---------- */
.page-hero {
    position: relative; overflow: hidden;
    padding: calc(var(--header-h) + clamp(1.5rem, 5vw, 4rem)) 0 clamp(5.5rem, 10vw, 8rem);
    background:
        radial-gradient(circle at 85% 20%, rgba(143, 211, 200, .35), transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(239, 224, 187, .9), transparent 45%),
        var(--beige-soft);
}
.page-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.page-hero__title { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 700; letter-spacing: -.02em; margin: .8rem 0 1.2rem; }
.page-hero__title em { font-style: normal; color: var(--red); }
.page-hero__visual { position: relative; max-width: 470px; width: 100%; justify-self: center; }
.page-hero__photo {
    aspect-ratio: 1; overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow-lg);
    border-radius: 58% 42% 46% 54% / 48% 52% 48% 52%; animation: morph 14s ease-in-out infinite;
}
.page-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__heart {
    position: absolute; right: 4%; bottom: 6%; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
    background: var(--red); color: #fff; box-shadow: var(--shadow);
}
.page-hero__heart .icon { width: 38px; height: 38px; animation: beat 1.6s ease-in-out infinite; }
.crumbs { font-size: .92rem; font-weight: 700; color: var(--muted); }
.crumbs a { color: var(--navy); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.wave--cream { fill: var(--cream); }
@media (max-width: 860px) {
    .page-hero__grid { grid-template-columns: 1fr; }
    .page-hero__visual { max-width: 340px; }
}

/* ---------- Blocs éditoriaux ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__media { position: relative; }
.split__media .frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); rotate: -1.5deg; }
.split--reverse .split__media .frame { rotate: 1.5deg; }
.split__media .frame img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.split__media .frame--tall img { aspect-ratio: 4 / 5; }
.split__media .sticker { left: auto; right: -2%; top: -6%; }
.prose p { color: var(--muted); font-size: 1.08rem; }
.prose strong { color: var(--navy); }
.prose h2 { margin-bottom: .6em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.6em; }
.prose ul { display: grid; gap: .6rem; margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 1.9rem; color: var(--muted); }
.prose ul li::before {
    content: ""; position: absolute; left: 0; top: .32em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
    background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.section--beige { background: var(--beige-soft); }
.section--mint { background: var(--mint-soft); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
@media (max-width: 860px) {
    .split { grid-template-columns: 1fr; }
    .split--reverse > :first-child { order: 0; }
    .split__media { max-width: 520px; margin-inline: auto; }
}

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step {
    position: relative; background: #fff; border-radius: var(--radius-lg); padding: 2.4rem 1.6rem 1.8rem; box-shadow: var(--shadow-sm);
    counter-increment: step; text-align: center;
    transition: transform .5s var(--ease-spring), box-shadow .4s;
}
.step:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow); }
.step::before {
    content: counter(step); position: absolute; top: -18px; left: 50%; translate: -50% 0;
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    background: var(--navy); color: #fff; font-family: var(--font-title); font-weight: 700;
}
.step__icon { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 1rem; border-radius: 22px; background: var(--beige-soft); color: var(--red); }
.step__icon .icon { width: 34px; height: 34px; }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.4rem; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Fiche d'identité ---------- */
.id-card {
    position: relative; display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center;
    max-width: 880px; margin-inline: auto; padding: 2.2rem; border-radius: var(--radius-lg);
    background: #fff; box-shadow: var(--shadow); border: 3px dashed var(--beige);
}
.id-card__photo { width: 210px; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; rotate: -3deg; box-shadow: var(--shadow-sm); }
.id-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.id-card dl { display: grid; grid-template-columns: auto 1fr; gap: .55rem 1.4rem; margin: 0; }
.id-card dt { font-family: var(--font-title); font-weight: 600; color: var(--red); text-transform: uppercase; font-size: .85rem; letter-spacing: .08em; padding-top: .2em; }
.id-card dd { margin: 0; font-weight: 700; color: var(--navy); }
.id-card__stamp {
    position: absolute; right: 1.6rem; top: -1.4rem; rotate: 8deg; padding: .35em 1em; border-radius: 10px;
    background: var(--red); color: #fff; font-family: var(--font-title); font-weight: 700; letter-spacing: .06em; box-shadow: var(--shadow-sm);
}
@media (max-width: 640px) {
    .id-card { grid-template-columns: 1fr; justify-items: center; }
    .id-card dl { grid-template-columns: 1fr; gap: .1rem; }
    .id-card dd { margin-bottom: .6rem; }
}

/* ---------- Badges qualité ---------- */
.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.badge { text-align: center; padding: 1.8rem 1.2rem; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.badge__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto .9rem; border-radius: 50%; background: var(--mint-soft); color: var(--navy); }
.badge__icon .icon { width: 30px; height: 30px; }
.badge h3 { font-size: 1.15rem; margin-bottom: .3em; }
.badge p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .badges { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .badges { grid-template-columns: 1fr; } }

/* ---------- Mosaïque photos ---------- */
/* Grille (et non colonnes CSS : Safari fait clignoter les éléments animés dans un multicolonne) */
.mosaic {
    display: grid; grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: clamp(180px, 20vw, 250px); grid-auto-flow: dense; gap: 1.2rem;
}
.mosaic figure { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); isolation: isolate; }
.mosaic .is-tall { grid-row: span 2; }
.mosaic--two { grid-template-columns: repeat(2, 1fr); }
.mosaic--two .is-wide-md { grid-column: span 2; }
@media (max-width: 900px) {
    .mosaic { grid-template-columns: repeat(2, 1fr); }
    .mosaic .is-tall { grid-row: auto; }
    .mosaic .is-wide-md { grid-column: span 2; }
}
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.mosaic figure:hover img { transform: scale(1.06); }
.mosaic figcaption {
    position: absolute; inset: auto 0 0; padding: 2.2rem 1rem .8rem; color: #fff; font-weight: 700; font-size: .92rem;
    background: linear-gradient(transparent, rgba(24, 31, 82, .8));
    opacity: 0; translate: 0 10px; transition: opacity .4s, translate .4s var(--ease-out);
}
.mosaic figure:hover figcaption, .mosaic figure:focus-within figcaption { opacity: 1; translate: 0 0; }

/* ---------- Possibilités / cartes simples ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.tile { background: #fff; border-radius: var(--radius-lg); padding: 2rem 1.8rem; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-spring), box-shadow .4s; }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tile .act-card__icon { background: var(--beige-soft); box-shadow: none; color: var(--red); }
.tile h3 { font-size: 1.35rem; }
.tile p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

.notice {
    display: flex; gap: 1rem; align-items: flex-start; max-width: 760px; margin: 0 auto; padding: 1.4rem 1.6rem;
    border-radius: var(--radius); background: #fff; border-left: 6px solid var(--mint); box-shadow: var(--shadow-sm);
}
.notice .icon { color: var(--mint); width: 28px; height: 28px; margin-top: .1rem; }
.notice p { margin: 0; }

/* ---------- Actualités ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.8rem; }
.news-card { display: flex; flex-direction: column; text-decoration: none; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-spring), box-shadow .4s; }
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.news-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.news-card:hover .news-card__media img { transform: scale(1.07); }
.news-card__body { padding: 1.5rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.news-card__body p { color: var(--muted); flex: 1; }
.news-card h2 { font-size: 1.4rem; }
.news-date { display: inline-block; align-self: flex-start; margin-bottom: .8rem; padding: .2em .8em; border-radius: 999px; background: var(--beige-soft); color: var(--red); font-weight: 800; font-size: .85rem; }
.news-card--featured { grid-column: 1 / -1; flex-direction: row; }
.news-card--featured .news-card__media { flex: 1.2; aspect-ratio: auto; min-height: 340px; }
.news-card--featured .news-card__body { flex: 1; padding: 2.4rem; justify-content: center; }
.news-card--featured h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
@media (max-width: 760px) { .news-card--featured { flex-direction: column; } .news-card--featured .news-card__media { min-height: 220px; } }

.article { max-width: 780px; margin-inline: auto; }
.article__cover { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 2.4rem; }
.article__cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article__back { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-title); font-weight: 600; color: var(--red); text-decoration: none; margin-top: 2rem; }
.article__back .icon { rotate: 180deg; transition: transform .3s var(--ease-spring); }
.article__back:hover .icon { transform: translateX(6px); }
.article .mosaic { margin-top: 2rem; }

/* ---------- Formulaire ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.form { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: grid; gap: .4rem; margin-bottom: 1.2rem; }
.field label { font-weight: 800; color: var(--navy); font-size: .95rem; }
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; color: var(--ink); background: var(--cream);
    border: 2px solid var(--beige); border-radius: 14px; padding: .8rem 1rem;
    transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(35, 44, 107, .12); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--red); }
.field__error { color: var(--red); font-weight: 700; font-size: .88rem; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; color: var(--muted); margin-bottom: 1.4rem; }
.check input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--red); flex: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: .8rem; align-items: flex-start; border-radius: 16px; padding: 1rem 1.2rem; margin-bottom: 1.4rem; font-weight: 700; }
.alert .icon { flex: none; margin-top: .15rem; }
.alert--ok { background: var(--mint-soft); color: #1b5c52; }
.alert--error { background: #fde4e4; color: var(--red-deep); }
.contact-aside { display: grid; gap: 1.2rem; }
.info-card { background: var(--navy); color: rgba(255, 255, 255, .85); border-radius: var(--radius-lg); padding: 2rem; }
.info-card h2 { color: #fff; font-size: 1.4rem; }
.info-card a:not(.btn) { color: #fff; }
.info-card ul { display: grid; gap: .9rem; }
.info-card li { display: flex; gap: .8rem; align-items: flex-start; }
.info-card .icon { color: var(--yellow); margin-top: .2rem; }
.info-card--red { background: var(--red); }
.info-card--red .icon { color: #fff; }
.info-card--red .btn .icon { color: inherit; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Mentions légales ---------- */
.legal { max-width: 820px; margin-inline: auto; }
.legal section { background: #fff; border-radius: var(--radius); padding: 1.8rem 2rem; box-shadow: var(--shadow-sm); margin-bottom: 1.2rem; }
.legal h2 { font-size: 1.4rem; }
.legal p:last-child { margin-bottom: 0; }
.todo { background: #fff3c4; color: #7a5a00; border-radius: 6px; padding: 0 .35em; font-weight: 700; }

/* ---------- Bandeau final ---------- */
.cta-band { padding: 0 0 clamp(3rem, 6vw, 5rem); }
.cta-band__box {
    position: relative; overflow: hidden; text-align: center; color: rgba(255, 255, 255, .9);
    border-radius: var(--radius-lg); padding: clamp(2.6rem, 6vw, 4.2rem) clamp(1.4rem, 5vw, 4rem);
    background: radial-gradient(circle at 20% 0%, #f0383f, var(--red) 45%, var(--red-deep));
    box-shadow: var(--shadow-lg);
}
.cta-band__box h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); max-width: 760px; margin-inline: auto; }
.cta-band__box p { max-width: 640px; margin: 0 auto 2rem; font-size: 1.12rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; }
.cta-band__hearts span { position: absolute; color: rgba(255, 255, 255, .16); left: calc(4% + var(--i) * 17%); top: calc(10% + (var(--i) * 31%) % 70%); animation: float 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1s); }
.cta-band__hearts .icon { width: calc(40px + (var(--i) * 13px) % 50px); height: auto; }
.page-hero--article .article { position: relative; z-index: 1; }
.page-hero--article .news-date { margin: 1.2rem 0 0; }
main, .site-footer { overflow-x: hidden; overflow-x: clip; }
body.menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; }
@media (max-width: 560px) { .mosaic, .mosaic--two { grid-template-columns: 1fr; grid-auto-rows: 220px; } .mosaic figure:nth-child(n) { grid-row: auto; grid-column: auto; } }

/* ---------- Témoignages ---------- */
.quote-card {
    position: relative; margin: 0; background: #fff; border-radius: var(--radius-lg); padding: 2rem 1.8rem 1.6rem;
    box-shadow: var(--shadow-sm); transition: transform .5s var(--ease-spring), box-shadow .4s;
}
.quote-card:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: var(--shadow); }
.quote-card__mark { position: absolute; top: -18px; left: 1.6rem; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; box-shadow: var(--shadow-sm); }
.quote-card__mark .icon { width: 22px; height: 22px; }
.quote-card blockquote { margin: 0 0 1.4rem; }
.quote-card blockquote p { margin: 0; color: var(--ink); font-size: 1.02rem; }
.quote-card figcaption { display: flex; align-items: center; gap: .8rem; padding-top: 1.1rem; border-top: 2px dashed var(--beige); }
.quote-card figcaption strong { display: block; color: var(--navy); font-family: var(--font-title); font-weight: 600; font-size: 1.05rem; line-height: 1.2; }
.quote-card figcaption small { display: block; color: var(--muted); font-size: .88rem; font-weight: 700; }
.quote-card__avatar { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--beige); color: var(--navy); font-family: var(--font-title); font-weight: 700; font-size: 1.2rem; }
.quote-card__source { margin-left: auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--beige-soft); color: var(--navy); }
.quote-card__source .icon { width: 18px; height: 18px; }
.quote-card--featured { padding: 2.6rem 2.4rem 2rem; }
.quote-card__quote { font-family: var(--font-title); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.2; color: var(--red); margin-bottom: 1rem; }
.quote-card--featured blockquote p { color: var(--muted); }
.quotes-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.quotes-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; align-items: start; }
.quotes-wall__col { display: grid; gap: 2.2rem; padding-top: 18px; }
.quotes-wall__col:nth-child(2) { padding-top: 60px; }
@media (max-width: 900px) {
    .quotes-featured { grid-template-columns: 1fr; }
    .quotes-wall { grid-template-columns: 1fr 1fr; row-gap: 2.2rem; }
    .quotes-wall__col { display: contents; }
}
@media (max-width: 600px) { .quotes-wall { grid-template-columns: 1fr; } }

/* Témoignages sur l'accueil */
.home-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; align-items: start; margin-bottom: 2.4rem; }
.home-quotes .quote-card:nth-child(2) { margin-top: 2.2rem; }
@media (max-width: 900px) { .home-quotes { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; row-gap: 2.2rem; } .home-quotes .quote-card:nth-child(2) { margin-top: 0; } }

/* ---------- Éléments graphiques dessinés main (charte p. 13) ---------- */
.doodle {
    position: absolute; z-index: 0; pointer-events: none; overflow: visible;
    fill: none; stroke: var(--sky); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
    width: 60px; height: 60px;
}
.doodle use { stroke-dasharray: 1; stroke-dashoffset: 1; animation: doodle-draw 1.6s .4s var(--ease-out) forwards; }
.doodle--dashes { stroke-width: 9; }
.doodle--arrow { width: 120px; height: 75px; stroke-width: 3.5; }
@keyframes doodle-draw { to { stroke-dashoffset: 0; } }
@keyframes doodle-float { 50% { translate: 0 -8px; rotate: 6deg; } }
.doodle--star, .doodle--flower { animation: doodle-float 7s ease-in-out infinite; }
.hero__doodles { position: absolute; inset: 0; pointer-events: none; }
.d-hero-star { left: 4%; top: 22%; width: 46px; height: 46px; }
.d-hero-spring { right: 2%; top: 30%; width: 44px; height: 80px; }
.d-hero-flower { left: 44%; bottom: 16%; width: 40px; height: 40px; animation-delay: -3s; }
.d-hero-arrow { left: -18%; top: 4%; z-index: 3; stroke: var(--red); }
.d-hero-dashes { right: 4%; top: -6%; z-index: 3; width: 54px; height: 54px; }
.d-ph-dashes { left: -8%; top: -6%; z-index: 2; width: 54px; height: 54px; }
.d-ph-star { right: -6%; top: 18%; z-index: 2; width: 44px; height: 44px; }
.d-ph-spring { left: 3%; bottom: 22%; width: 38px; height: 70px; }
.d-cta-star { left: 6%; top: 18%; stroke: rgba(255, 255, 255, .55); width: 48px; height: 48px; }
.d-cta-dashes { right: 7%; top: 12%; stroke: rgba(255, 255, 255, .55); width: 50px; height: 50px; }
.d-cta-arrow { right: 10%; bottom: 10%; stroke: rgba(255, 255, 255, .45); }
.doodle--footer-a { right: 6%; top: 1.5rem; width: 46px; height: 46px; }
.doodle--footer-b { left: 46%; bottom: 4.5rem; width: 34px; height: 34px; animation-delay: -2s; }
.site-footer { position: relative; }
.cta-band__box > :not(.doodle):not(.cta-band__hearts) { position: relative; z-index: 1; }
@media (max-width: 900px) {
    .d-hero-arrow, .d-hero-flower, .d-ph-spring, .d-cta-arrow { display: none; }
    .d-hero-star { top: auto; bottom: 46%; }
}
@media (prefers-reduced-motion: reduce) { .doodle use { stroke-dashoffset: 0; } }

/* ---------- Partenaires ---------- */
.partner { display: block; }
.partner > a, .partner > span {
    position: relative; display: block; aspect-ratio: 3 / 2;
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm);
    transition: transform .45s var(--ease-spring), box-shadow .35s;
}
.partner img { position: absolute; inset: 14%; width: 72%; height: 72%; object-fit: contain; }
.partner > a:hover, .partner > span:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.partners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 1.1rem; }
.partners-band { overflow: hidden; }
.partners-marquee { overflow: hidden; margin-bottom: 2rem; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.partners-marquee__track { display: flex; gap: 1.1rem; width: max-content; padding: .8rem 0; animation: marquee 80s linear infinite; }
.partners-marquee:hover .partners-marquee__track { animation-play-state: paused; }
.partners-marquee .partner { width: 170px; flex: none; }
@media (max-width: 560px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } .partners-marquee .partner { width: 140px; } }

/* ---------- Page 404 ---------- */
.page-404 .article { padding-block: 2rem; }
.page-404__code { display: inline-flex; align-items: center; gap: .1em; font-family: var(--font-title); font-weight: 700; font-size: clamp(5rem, 16vw, 9rem); line-height: 1; color: var(--navy); margin-bottom: .5rem; }
.page-404__code span { display: grid; place-items: center; color: var(--red); }
.page-404__code .icon { width: .8em; height: .8em; animation: beat 1.6s ease-in-out infinite; }

/* ---------- Pompy autour du monde ---------- */
.travel { overflow: hidden; background: linear-gradient(180deg, var(--cream), var(--mint-soft)); }
.travel__path { position: absolute; inset: 8% 0 auto; width: 100%; height: 70%; fill: none; stroke: var(--sky); stroke-width: 3; stroke-dasharray: .012 .012; stroke-linecap: round; opacity: .8; }
.travel .container { position: relative; }
.travel__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6rem 2rem; max-width: 1080px; margin-inline: auto; }
.trip figure {
    margin: 0; background: #fff; padding: 12px 12px 18px; border-radius: 14px; box-shadow: var(--shadow);
    rotate: var(--r, 0deg); transition: rotate .5s var(--ease-spring), transform .5s var(--ease-spring), box-shadow .4s;
}
.trip figure:hover { rotate: 0deg; transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow-lg); }
.trip__photo { aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; }
.trip__photo img { width: 100%; height: 100%; object-fit: cover; }
.trip figcaption { position: relative; padding: 1.4rem .4rem 0; }
.trip__stamp {
    position: absolute; top: -1.1rem; left: .6rem; display: inline-flex; align-items: center; gap: .35em;
    padding: .3em .85em; border-radius: 999px; background: var(--red); color: #fff;
    font-family: var(--font-title); font-weight: 700; font-size: .92rem; box-shadow: var(--shadow-sm); rotate: -3deg;
}
.trip__stamp .icon { width: 1em; height: 1em; }
.trip figcaption strong { display: block; color: var(--navy); font-family: var(--font-title); font-size: 1.1rem; line-height: 1.3; }
.trip figcaption small { color: var(--muted); font-weight: 700; }
.travel__credit { margin-top: 2.4rem; }
@media (max-width: 900px) { .travel__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .travel__grid { grid-template-columns: 1fr; max-width: 380px; } }
.equation__note { max-width: 720px; margin: -1rem auto 2rem; text-align: center; color: var(--muted); font-size: 1.05rem; }
.equation__note strong { color: var(--navy); }
.tax__list { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-inline: auto; }
.tax__note { max-width: 640px; margin: 2.4rem auto 0; color: rgba(255, 255, 255, .75); font-size: .95rem; }
@media (max-width: 760px) { .tax__list { grid-template-columns: 1fr; } }

/* ---------- Mobile : zones tactiles et allègement décoratif ---------- */
.article__back { padding: .7rem 0; }
.info-card a[href^="tel:"], .site-footer a[href^="tel:"] { display: inline-block; padding: .55rem 0; }
@media (max-width: 600px) {
    .d-hero-spring, .d-hero-dashes, .d-ph-star { display: none; }
}
@media (max-width: 860px) { .confetti { display: none; } }

/* Listes déroulantes : même hauteur et même style que les champs, y compris sous Safari (iOS et macOS) */
.field select {
    -webkit-appearance: none; appearance: none; min-height: 3.1rem; padding-right: 2.8rem; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23262a5d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px;
}
.field input { min-height: 3.1rem; }

/* ==========================================================================
   Film « L'opération Pompy » — montage photo animé
   ========================================================================== */
.film { max-width: 1040px; margin-inline: auto; --ink-deep: #14173a; }
.film__screen {
    position: relative; aspect-ratio: 16 / 9; overflow: hidden; isolation: isolate;
    border-radius: var(--radius-lg); background: var(--ink-deep); box-shadow: 0 40px 80px -30px rgba(20, 23, 58, .55);
}
.film__scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.film__scene.is-active { opacity: 1; visibility: visible; z-index: 1; }

/* Photos : effet Ken Burns, lancé à chaque activation de scène */
.film__media { position: absolute; inset: 0; overflow: hidden; }
.film__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); transform-origin: var(--pos, center); will-change: transform; }
.is-active .film__media--in img   { animation: kb-in   calc(var(--dur, 6s) + 1.5s) cubic-bezier(.25, .1, .25, 1) both; }
.is-active .film__media--out img  { animation: kb-out  calc(var(--dur, 6s) + 1.5s) cubic-bezier(.25, .1, .25, 1) both; }
.is-active .film__media--left img { animation: kb-left calc(var(--dur, 6s) + 1.5s) cubic-bezier(.25, .1, .25, 1) both; }
.is-active .film__media--up img   { animation: kb-up   calc(var(--dur, 6s) + 1.5s) cubic-bezier(.25, .1, .25, 1) both; }
@keyframes kb-in   { from { transform: scale(1.04); } to { transform: scale(1.22); } }
@keyframes kb-out  { from { transform: scale(1.24); } to { transform: scale(1.04); } }
@keyframes kb-left { from { transform: scale(1.16) translateX(3%); } to { transform: scale(1.16) translateX(-3%); } }
@keyframes kb-up   { from { transform: scale(1.18) translateY(4%); } to { transform: scale(1.18) translateY(-4%); } }

/* Dégradé cinéma (lisibilité du texte) et vignette */
.film__shade { position: absolute; inset: 0; background:
    linear-gradient(to top, rgba(20, 23, 58, .92) 0%, rgba(20, 23, 58, .55) 32%, rgba(20, 23, 58, 0) 62%),
    linear-gradient(to right, rgba(20, 23, 58, .45) 0%, rgba(20, 23, 58, 0) 55%); }
.film__vignette { position: absolute; inset: 0; z-index: 3; pointer-events: none; box-shadow: inset 0 0 120px rgba(0, 0, 0, .35); border-radius: inherit; }

/* Textes cinétiques : apparition mot à mot */
.film__text { position: absolute; left: 6%; right: 26%; bottom: 9%; z-index: 2; }
.film__kicker {
    display: inline-flex; align-items: center; gap: .5em; margin: 0 0 .9rem; padding: .35em .9em; border-radius: 999px;
    background: var(--red); color: #fff; font-family: var(--font-title); font-weight: 700; font-size: clamp(.72rem, 1.3vw, .95rem);
    letter-spacing: .08em; text-transform: uppercase;
    opacity: 0; transform: translateY(12px);
}
.film__line { margin: 0; color: #fff; font-family: var(--font-title); font-weight: 700; line-height: 1.15; letter-spacing: -.01em;
    font-size: clamp(1.15rem, 3.1vw, 2.45rem); text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.film .w { display: inline-block; opacity: 0; transform: translateY(.55em); filter: blur(8px); }
.film .is-active .w { animation: word-in .75s var(--wd, .5s) cubic-bezier(.2, .8, .2, 1) forwards; }
.film .is-active .film__kicker { animation: word-in .6s .25s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes word-in { to { opacity: 1; transform: none; filter: blur(0); } }

/* Gyrophares (scène 1) */
.film__siren span { position: absolute; top: -20%; width: 55%; height: 80%; border-radius: 50%; filter: blur(60px); opacity: 0; mix-blend-mode: screen; z-index: 1; }
.film__siren span:first-child { left: -15%; background: #2f6bff; }
.film__siren span:last-child { right: -15%; background: #ff2a2a; }
.is-active .film__siren span:first-child { animation: siren-a 1.1s ease-in-out infinite; }
.is-active .film__siren span:last-child { animation: siren-a 1.1s .55s ease-in-out infinite; }
@keyframes siren-a { 0%, 100% { opacity: 0; } 30%, 45% { opacity: .65; } }

/* Cœurs (scène réconfort) */
.film__hearts span { position: absolute; bottom: -10%; left: calc(52% + (var(--h) * 5%)); color: #ff5a63; opacity: 0; z-index: 1; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .25)); }
.film__hearts .icon { width: calc(18px + (var(--h) * 7px) % 26px); height: auto; }
.is-active .film__hearts span { animation: film-heart 4.2s calc(.6s + var(--h) * .45s) ease-out infinite; }
@keyframes film-heart { 0% { transform: translateY(0) scale(.5); opacity: 0; } 15% { opacity: .95; } 100% { transform: translateY(-420%) translateX(-30px) scale(1.15) rotate(-12deg); opacity: 0; } }

/* Pastille prix */
.film__badge { position: absolute; right: 7%; top: 12%; z-index: 2; margin: 0; }
.film__badge span {
    display: grid; place-items: center; width: clamp(92px, 15vw, 150px); aspect-ratio: 1; border-radius: 50%; text-align: center;
    background: var(--yellow); color: var(--navy); font-family: var(--font-title); font-weight: 700; font-size: clamp(1rem, 2.4vw, 1.6rem); line-height: 1;
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .45); transform: scale(0) rotate(-25deg);
}
.is-active .film__badge span { animation: badge-pop .8s 1.4s cubic-bezier(.34, 1.56, .64, 1) forwards; }
@keyframes badge-pop { to { transform: scale(1) rotate(-8deg); } }

/* Ouverture : logo officiel */
.film__scene--intro { background: radial-gradient(circle at 50% 45%, #343a86 0%, var(--navy) 45%, var(--ink-deep) 100%); }
.film__glow { position: absolute; inset: 20% 25%; border-radius: 50%; background: radial-gradient(circle, rgba(173, 218, 214, .35), transparent 65%); filter: blur(20px); }
.film__intro { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1.4rem; padding: 0 8%; text-align: center; }
.film__logo { width: min(58%, 440px); height: auto; opacity: 0; transform: scale(.86); filter: blur(6px); }
.is-active .film__logo { animation: logo-in 1.1s .15s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes logo-in { to { opacity: 1; transform: none; filter: blur(0); } }
.film__tagline { margin: 0; color: var(--sky); font-family: var(--font-title); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: clamp(.75rem, 1.6vw, 1.05rem); }

/* Final : compteur sur mosaïque */
.film__scene--outro { background: var(--ink-deep); }
.film__mosaic { position: absolute; inset: -6%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; opacity: .32; }
.film__mosaic span { overflow: hidden; }
.film__mosaic img { width: 100%; height: 100%; object-fit: cover; }
.is-active .film__mosaic { animation: kb-out 9s ease-out both; }
.film__scene--outro::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(20, 23, 58, .55), rgba(20, 23, 58, .92) 70%); }
.film__outro { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; text-align: center; padding: 0 6%; }
.film__count { margin: 0; color: #fff; font-family: var(--font-title); font-weight: 700; font-size: clamp(3rem, 11vw, 7.5rem); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.film__count-label { margin: .3rem 0 0; color: var(--yellow); font-family: var(--font-title); font-weight: 700; font-size: clamp(1rem, 2.6vw, 1.8rem); }
.film__count-sub { margin: 1rem 0 1.4rem; color: rgba(255, 255, 255, .85); font-size: clamp(.9rem, 1.8vw, 1.2rem); }
.film__cta { opacity: 0; transform: translateY(14px); }
.is-active .film__cta { animation: word-in .7s 2.4s cubic-bezier(.2, .8, .2, 1) forwards; }

/* Volet de transition rouge puis bleu */
.film__wipe { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.film__wipe span { position: absolute; inset: 0; transform: translateX(-102%) skewX(-8deg); }
.film__wipe span:first-child { background: var(--red); }
.film__wipe span:last-child { background: var(--navy); }
.film__wipe.is-running span:first-child { animation: wipe .95s cubic-bezier(.7, 0, .3, 1) forwards; }
.film__wipe.is-running span:last-child { animation: wipe .95s .08s cubic-bezier(.7, 0, .3, 1) forwards; }
@keyframes wipe { 0% { transform: translateX(-112%) skewX(-8deg); } 45%, 55% { transform: translateX(0) skewX(-8deg); } 100% { transform: translateX(112%) skewX(-8deg); } }

/* Pause : tout se fige */
.film.is-paused .film__scene *, .film.is-paused .film__scene::after, .film.is-paused .film__bar span::after { animation-play-state: paused !important; }

/* Commandes */
.film__controls { display: flex; align-items: center; gap: 1rem; margin-top: 1.2rem; }
.film__play { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border: 0; border-radius: 50%; background: var(--navy); color: #fff; cursor: pointer; transition: transform .3s var(--ease-spring); }
.film__play:hover { transform: scale(1.08); }
.film__play svg { width: 22px; height: 22px; }
.film__bars { flex: 1; display: flex; gap: 6px; }
.film__bar { height: 32px; min-width: 0; border: 0; padding: 0; background: transparent; cursor: pointer; display: flex; align-items: center; }
.film__bar span { display: block; width: 100%; height: 6px; border-radius: 6px; background: var(--beige); position: relative; overflow: hidden; transition: height .2s; }
.film__bar:hover span { height: 9px; }
.film__bar span::after { content: ""; position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(0); }
.film__bar.is-done span::after { transform: scaleX(1); }
.film__bar.is-active span::after { animation: progress var(--dur, 5s) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }

/* Mobile : format 4/5, texte pleine largeur */
@media (max-width: 700px) {
    .film__screen { aspect-ratio: 4 / 5; border-radius: 22px; }
    .film__text { left: 6%; right: 6%; bottom: 7%; }
    .film__line { font-size: clamp(1.2rem, 5.6vw, 1.6rem); }
    .film__badge { right: 6%; top: 7%; }
    .film__logo { width: 78%; }
    .film__mosaic { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    .film .w, .film__kicker, .film__logo, .film__cta, .film__badge span { opacity: 1 !important; transform: none !important; filter: none !important; }
    .film__wipe, .film__siren, .film__hearts { display: none; }
}

/* ==========================================================================
   En-têtes compacts : le contenu principal visible dès l'arrivée
   ========================================================================== */

/* ---------- Contact : formulaire en haut de page ---------- */
.section--contact {
    padding-top: calc(var(--header-h) + clamp(1.2rem, 3vw, 2rem));
    background:
        radial-gradient(circle at 92% 0%, rgba(143, 211, 200, .3), transparent 32%),
        radial-gradient(circle at 0% 10%, rgba(239, 224, 187, .8), transparent 30%);
}
.page-intro { margin-bottom: clamp(1.2rem, 3vw, 1.8rem); }
.page-intro__title { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -.015em; margin: .4rem 0 .3rem; }
.page-intro__title em { font-style: normal; color: var(--red); }
.page-intro__lead { margin: 0; color: var(--muted); font-size: 1.05rem; max-width: 62ch; }
.section--contact .form textarea { min-height: 150px; }

/* ---------- L'opération : le film tout en haut ---------- */
.film-hero {
    position: relative; overflow: hidden;
    padding: calc(var(--header-h) + clamp(1rem, 3vw, 1.8rem)) 0 clamp(4.5rem, 8vw, 6rem);
    background:
        radial-gradient(circle at 85% 15%, rgba(143, 211, 200, .35), transparent 40%),
        radial-gradient(circle at 8% 85%, rgba(239, 224, 187, .9), transparent 45%),
        var(--beige-soft);
}
.film-hero .container { position: relative; z-index: 1; }
.film-hero__head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 3rem; flex-wrap: wrap;
    max-width: 1040px; margin: 0 auto clamp(1rem, 2.5vw, 1.5rem);
}
.film-hero__title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 700; letter-spacing: -.02em; margin: .4rem 0 0; }
.film-hero__title em { font-style: normal; color: var(--red); }
.film-hero__lead { margin: 0; max-width: 430px; color: var(--muted); font-size: 1rem; }
.film-hero__eyebrow {
    display: flex; align-items: center; gap: .45em; margin-bottom: .35rem;
    font-family: var(--font-title); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--red);
}
.film-hero__eyebrow .icon { width: 1.05em; height: 1.05em; }
/* Le film tient dans l'écran (en-tête, titre et commandes compris) */
.film-hero .film { max-width: min(1040px, max(600px, calc((100vh - var(--header-h) - 230px) * 16 / 9))); }
.d-fh-star { right: 5%; top: calc(var(--header-h) + 1.5rem); width: 46px; height: 46px; }
@media (max-width: 700px) {
    .film-hero .film { max-width: none; }
    .film-hero__lead { max-width: none; }
    .d-fh-star { display: none; }
}

/* ==========================================================================
   Indice de défilement (ordinateur uniquement, affiché par main.js)
   ========================================================================== */
.scroll-hint {
    position: fixed; left: 50%; bottom: 22px; z-index: 60;
    display: flex; align-items: center; gap: .7rem; padding: .4rem 1.1rem .4rem .4rem;
    border: 0; border-radius: 999px; background: #fff; color: var(--navy); box-shadow: var(--shadow);
    font: 600 .95rem/1.2 var(--font-title); cursor: pointer;
    opacity: 0; transform: translate(-50%, 24px); transition: opacity .4s ease, transform .5s var(--ease-spring);
}
.scroll-hint[hidden] { display: none; }
.scroll-hint.is-visible { opacity: 1; transform: translate(-50%, 0); }
.scroll-hint:hover { box-shadow: var(--shadow-lg); }
.scroll-hint__pompy { width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--beige); object-fit: cover; animation: hint-wiggle 2.4s ease-in-out infinite; }
.scroll-hint__arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; animation: hint-bounce 1.4s ease-in-out infinite; }
.scroll-hint__arrow .icon { width: 18px; height: 18px; rotate: 90deg; }
@keyframes hint-bounce { 0%, 100% { translate: 0 0; } 50% { translate: 0 5px; } }
@keyframes hint-wiggle { 0%, 70%, 100% { rotate: 0deg; } 78% { rotate: -10deg; } 86% { rotate: 8deg; } 94% { rotate: -4deg; } }
@media (max-width: 860px), (hover: none) { .scroll-hint { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .scroll-hint__pompy, .scroll-hint__arrow { animation: none; } }

/* ---------- Partenaires : formulaire de don à télécharger ---------- */
.don { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.don__doc { position: relative; max-width: 340px; justify-self: center; }
.don__doc a { display: block; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); rotate: -3deg; transition: rotate .4s var(--ease-spring), translate .4s var(--ease-spring); }
.don__doc a:hover { rotate: 0deg; translate: 0 -6px; }
.don__doc img { display: block; width: 100%; height: auto; }
.don__doc .sticker { left: auto; right: -8%; top: -5%; }
.prose ul.don__amounts { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.4rem 0; }
.prose ul.don__amounts li { padding: .8rem 1.2rem; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); display: grid; gap: .1rem; text-align: center; }
.prose ul.don__amounts li::before { display: none; }
.don__amounts strong { font-family: var(--font-title); font-size: 1.35rem; color: var(--red); }
.don__amounts span { font-size: .9rem; color: var(--muted); }
.don__meta { margin-left: .6rem; font-size: .9rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 860px) {
    .don { grid-template-columns: 1fr; }
    .don__doc { max-width: 240px; }
}
