/* ==========================================================================
   Site public du CVI de Yaoundé : feuille de style unique (sans outil de compilation).
   Palette : tout en VERT (#0e8c6d, vert du logo ; aucune couleur bleue), tricolore du drapeau en liseré.
   Après une modification, changer 'assets_version' dans config/site.php.
   ========================================================================== */

:root {
    /* Vert (dominant) */
    --green-900: #053b2d;
    --green-800: #064a38;
    --green-700: #0a6a50;
    --green-600: #0e8c6d;
    --green-500: #14a07d;
    --green-100: #dff3ec;
    --green-50: #f1faf6;

    /* Noms d'usage dans le reste de la feuille */
    --navy: var(--green-800);      /* titres et fonds sombres */
    --navy-2: var(--green-700);
    --accent: var(--green-600);    /* action principale */
    --accent-dark: var(--green-700);
    --sky: var(--green-100);
    --sky-2: var(--green-50);
    --ink: #13251e;
    --muted: #52675d;
    --line: #d3e7dd;
    --white: #fff;
    --green: #007a5e;              /* vert du drapeau (liseré) */
    --red: #ce1126;
    --yellow: #fcd116;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 12px 32px rgba(5, 59, 45, .11);
    --shadow-sm: 0 4px 14px rgba(5, 59, 45, .08);
    --max: 1180px;
    --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-800); }
/* Numéros de téléphone : jamais soulignés (accueil, contact, le centre, rendez-vous, pied de page, FAQ), même au survol ; le survol les estompe à peine. */
a[href^="tel:"], a[href^="tel:"]:hover { text-decoration: none !important; }
a[href^="tel:"]:not(.btn):not(.floatbar__call):hover { opacity: .8; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.18; letter-spacing: -.015em; color: var(--navy); }
h1 { font-size: clamp(2.05rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }

.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

:focus-visible { outline: 3px solid var(--green-600); outline-offset: 3px; border-radius: 4px; }

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Liseré tricolore + barre du haut ---------- */
.flagbar { display: flex; height: 5px; }
.flagbar span { flex: 1; }
.flagbar span:nth-child(1) { background: var(--green); }
.flagbar span:nth-child(2) { background: var(--red); }
.flagbar span:nth-child(3) { background: var(--yellow); }

.topbar { background: var(--green-900); color: #fff; font-size: 15px; font-weight: 500; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar__links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.topbar__links a { display: inline-flex; align-items: center; gap: 7px; padding: 6px 0; }
.lang { display: flex; gap: 4px; }
.lang a {
    padding: 3px 11px; border-radius: 999px; font-weight: 700; font-size: 13px; letter-spacing: .04em;
    border: 1px solid rgba(255, 255, 255, .28);
}
.lang a:hover { background: rgba(255, 255, 255, .12); text-decoration: none; }
.lang a[aria-current] { background: #fff; color: var(--navy); border-color: #fff; }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.is-stuck { box-shadow: var(--shadow-sm); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 82px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { border-radius: 50%; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; }
.brand__text small { font-size: .78rem; color: var(--muted); font-weight: 500; }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light .brand__text small { color: #e8f7f0; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav ul { display: flex; gap: 4px; }
.nav li a {
    display: block; padding: 9px 14px; border-radius: 999px; text-decoration: none; color: var(--ink);
    font-weight: 600; font-size: .97rem; white-space: nowrap;
}
.nav li a:hover { background: var(--sky); color: var(--navy); }
.nav li a[aria-current="page"] { background: var(--sky); color: var(--accent-dark); }

.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 12px; width: 46px; height: 46px; align-items: center; justify-content: center; color: var(--navy); cursor: pointer; }
.burger .icon { width: 24px; height: 24px; }
.burger__close { display: none; }
.burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: inline-block; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
    font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(14, 140, 109, .30); }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--light { background: #fff; color: var(--navy); box-shadow: 0 6px 18px rgba(0, 0, 0, .16); }
.btn--light:hover { background: var(--sky); color: var(--navy); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.btn--outline { background: #fff; color: var(--accent-dark); border-color: var(--accent); }
.btn--outline:hover { background: var(--sky); color: var(--navy); }
.btn--wa { background: #fff; color: var(--green-700); }
.btn--wa:hover { background: var(--green-50); color: var(--green-800); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.nav__cta { padding: 11px 22px; white-space: nowrap; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .15s; }

/* ---------- Textes d'introduction ---------- */
.eyebrow { display: inline-block; margin: 0 0 12px; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.eyebrow--light { color: #b9f6dd; font-size: .9rem; }
.lead { font-size: 1.12rem; color: var(--muted); }
.lead--light { color: #fff; font-size: 1.2rem; font-weight: 500; }
.prose { color: #2a3d34; }

/* ---------- Haut de la page d'accueil (bannière avec photo) ---------- */
.hero {
    position: relative; color: #fff; padding: 64px 0 128px; overflow: hidden; isolation: isolate;
    background:
        radial-gradient(560px 340px at -4% 108%, rgba(20, 160, 125, .38), transparent 60%),
        linear-gradient(135deg, #053b2d 0%, #07503c 48%, #0a6a50 100%);
}
/* La photo occupe la droite de la bannière et se fond dans le vert vers la gauche. */
.hero__photo { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 60%; margin: 0; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
.hero__photo::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(90deg, #053b2d 0%, rgba(5, 59, 45, .72) 9%, rgba(5, 59, 45, 0) 34%),
        linear-gradient(0deg, rgba(5, 59, 45, .6) 0%, rgba(5, 59, 45, 0) 32%);
}
.hero__grid { position: relative; }
.hero__text { max-width: 610px; }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero h1 span { display: block; color: #8be9c8; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }


/* ---------- Bandeau de points forts ---------- */
.strip { position: relative; z-index: 2; margin-top: -62px; }
.strip__card { background: #fff; border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.strip__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__list li { display: flex; align-items: center; gap: 14px; padding: 22px 22px; border-right: 1px solid var(--line); }
.strip__list li:last-child { border-right: 0; }
.strip__icon { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--sky); color: var(--accent-dark); display: grid; place-items: center; }
.strip__icon .icon { width: 24px; height: 24px; }
.strip__list strong { display: block; color: var(--navy); line-height: 1.2; }
/* Infos pratiques : adresse, téléphones, horaires, WhatsApp */
.strip__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--green-50); border-top: 1px solid var(--line); }
.strip__facts li { display: flex; gap: 12px; align-items: flex-start; padding: 18px 22px; font-size: .92rem; line-height: 1.4; border-right: 1px solid var(--line); }
.strip__facts li:last-child { border-right: 0; }
.strip__facts li > .icon { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--green-700); }
.strip__facts strong { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1px; }
.strip__facts a { font-weight: 700; }
.strip__list li > div > span { font-size: .9rem; color: var(--muted); line-height: 1.3; display: block; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section--tint { background: var(--sky-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { max-width: 720px; margin-bottom: 40px; }
.section__more { margin-top: 32px; margin-bottom: 0; }

.cards { display: grid; gap: 22px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #b3d9c9; }
.card h3 { margin-bottom: .35em; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.card__icon { display: inline-grid; place-items: center; width: 50px; height: 50px; margin-bottom: 18px; border-radius: 15px; background: var(--sky); color: var(--accent-dark); flex: none; }
.card__icon .icon { width: 26px; height: 26px; }

/* ---------- Bandeau « voyageurs » ---------- */
.band { color: #fff; padding: 72px 0; background: linear-gradient(120deg, #053b2d 0%, #0a6a50 100%); position: relative; overflow: hidden; }
.band .eyebrow--light { color: #b9f6dd; }
.band .lead--light { color: #fff; }
.band h2 { color: #fff; }
.band__grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 48px; align-items: center; }
.band .lead { max-width: 620px; margin-bottom: 26px; }
.countdown {
    justify-self: center; width: 230px; height: 230px; border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    background: rgba(255, 255, 255, .08); border: 2px dashed rgba(255, 255, 255, .45);
}
.countdown strong { font-size: 5.2rem; line-height: .95; font-weight: 800; color: #fff; }
.countdown span { font-size: 1.5rem; font-weight: 800; color: #fff; }
.countdown small { font-size: 1.05rem; font-weight: 600; color: #fff; }

/* ---------- Chef du centre ---------- */
.chief { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.chief__photo { margin: 0; position: relative; max-width: 440px; justify-self: center; width: 100%; }
.chief__photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: 28px; background: linear-gradient(135deg, var(--green-500), var(--green-800)); opacity: .20; }
.chief__photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 42% 28%; border-radius: 28px; box-shadow: var(--shadow); border: 6px solid #fff; background: var(--sky); }
.chief__name { font-size: 1.2rem; font-weight: 700; color: var(--green-700); margin: -.2em 0 1em; }
.checks { display: grid; gap: 10px; margin: 0 0 28px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .icon { flex: none; width: 24px; height: 24px; margin-top: 1px; padding: 4px; border-radius: 50%; background: #dff3ea; color: var(--green); }
.checks--big li { font-size: 1.08rem; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; box-shadow: var(--shadow-sm); }
.steps__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 16px; background: var(--green-600); color: #fff; font-weight: 800; font-size: 1.15rem; box-shadow: 0 6px 14px rgba(14, 140, 109, .3); }
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Appels à l'action ---------- */
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cta-box { border-radius: 24px; padding: 40px 38px; display: flex; flex-direction: column; align-items: flex-start; }
.cta-box h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: .4em; }
.cta-box p { max-width: 440px; margin-bottom: 24px; }
.cta-box__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: 20px; }
.cta-box__icon .icon { width: 28px; height: 28px; }
.cta-box--wa { background: linear-gradient(135deg, #064a38, #0e8c6d); color: #e3f8ef; }
.cta-box--wa h2 { color: #fff; }
.cta-box--wa .cta-box__icon { background: rgba(255, 255, 255, .18); color: #fff; }
.cta-box--contact { background: var(--green-100); border: 1px solid #b3d9c9; }
.cta-box--contact .cta-box__icon { background: #fff; color: var(--green-700); }
.cta-box--contact .btn--primary { background: var(--green-600); box-shadow: 0 6px 16px rgba(14, 140, 109, .28); }
.cta-box--contact .btn--primary:hover { background: var(--green-700); }
.cta-box--contact .btn--outline { border-color: var(--green-600); color: var(--green-700); }
.cta-box--contact .btn--outline:hover { background: #fff; }
.cta-box__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Pages intérieures ---------- */
.pagehead { background: linear-gradient(115deg, #053b2d 0%, #0a6a50 100%); color: #fff; padding: 46px 0 54px; position: relative; overflow: hidden; }
.pagehead::before {
    content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 55%;
    background: url('../images/hero-vaccin.webp') 68% 42% / cover no-repeat; opacity: .38;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 70%); mask-image: linear-gradient(90deg, transparent 0%, #000 70%);
}
.pagehead .container { position: relative; z-index: 1; }
.pagehead h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .35em; max-width: 820px; }
.pagehead .lead { max-width: 720px; margin: 0; }
.crumbs { font-size: .95rem; font-weight: 600; color: #fff; margin-bottom: 14px; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
.panel { background: var(--sky-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.panel h3 { margin-bottom: .4em; }
.contact-list { display: grid; gap: 12px; margin: 18px 0 22px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .icon { margin-top: 3px; color: var(--accent-dark); width: 20px; height: 20px; }

/* ---------- Catalogue des vaccins ---------- */
.searchbox { max-width: 560px; margin-bottom: 36px; }
.searchbox label { display: block; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.searchbox__field { position: relative; }
.searchbox__field .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 20px; height: 20px; }
.searchbox input {
    width: 100%; padding: 14px 18px 14px 46px; border: 2px solid var(--line); border-radius: 999px; font: inherit; background: #fff; color: var(--ink);
}
.searchbox input:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(14, 140, 109, .18); }
.empty-note { padding: 18px 20px; background: var(--sky); border-radius: var(--radius-sm); color: var(--navy); font-weight: 600; }
.vgroups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 36px; }
.vgroup { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 26px 26px 14px; }
.vgroup[hidden] { display: none; }
.vgroup__head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.vgroup__head .card__icon { margin: 0; }
.vgroup__head h2 { font-size: 1.3rem; margin: 0; }
.vgroup__head p { margin: 0; color: var(--muted); font-size: .94rem; }
.vlist li { padding: 14px 0; border-top: 1px solid var(--line); }
.vlist li[hidden] { display: none; }
.vlist strong { display: block; color: var(--navy); }
.vlist span { color: var(--muted); font-size: .96rem; display: block; }

.notice { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: var(--radius); }
.notice > .icon { width: 28px; height: 28px; margin-top: 2px; }
.notice p { margin: 0 0 12px; }
.notice--info { background: var(--green-100); border: 1px solid #b3d9c9; color: var(--green-800); }
.notice--info > .icon { color: var(--green-600); }
.notice--warn { background: #fff8e1; border: 1px solid #f3dd8b; color: #5c4600; }
.notice--warn > .icon { color: #b58500; }
.notice strong { display: block; margin-bottom: 4px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.infolist { display: grid; gap: 18px; margin: 20px 0 26px; }
.infolist li { display: flex; gap: 16px; align-items: flex-start; }
.infolist .card__icon { margin: 0; width: 46px; height: 46px; }
.infolist strong { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.infolist a { font-weight: 700; }

/* Carte Google Maps (page Contact) */
.mapframe { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: var(--sky); aspect-ratio: 16 / 7; min-height: 340px; }
.mapframe iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 720px) { .mapframe { aspect-ratio: 4 / 3; min-height: 300px; border-radius: 16px; } }

.contact__form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 34px; box-shadow: var(--shadow); scroll-margin-top: 100px; }
.form { display: grid; gap: 18px; }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; color: var(--navy); }
.req { color: var(--red); }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 16px; font: inherit; color: var(--ink); background: #fff;
    border: 2px solid var(--line); border-radius: 12px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(14, 140, 109, .18); }
.field--err input, .field--err select, .field--err textarea { border-color: var(--red); }
.field__err { margin: 6px 0 0; font-size: .9rem; font-weight: 600; color: var(--red); }
.field__hint { margin: -6px 0 0; font-size: .88rem; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; margin-bottom: 22px; }
.alert .icon { width: 26px; height: 26px; margin-top: 1px; }
.alert p { margin: 0; }
.alert strong { display: block; }
.alert--ok { background: #e6f6ee; border: 1px solid #a9dcc3; color: #0b5a38; }
.alert--err { background: #fdecee; border: 1px solid #f3b4bb; color: #8a0f1d; }
.alert:focus { outline: none; }

/* ---------- Pied de page ---------- */
.footer { background: var(--green-900); color: #e8f7f0; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.3fr .7fr 1.2fr; gap: 48px; padding-top: 64px; padding-bottom: 48px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__about p { margin: 18px 0 14px; max-width: 360px; }
.footer__ministry { display: flex; align-items: center; gap: 12px; font-size: .9rem; }
.footer__title { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: #8fe0c2; margin-bottom: 16px; }
.footer__list { display: grid; gap: 10px; }
.footer__list--icons li { display: flex; gap: 12px; align-items: flex-start; }
.footer__list--icons .icon { margin-top: 4px; color: #8fe0c2; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }
.footer__bottom-in { display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 16px; }
/* Ancre invisible tout en haut de la page (cible du bouton « haut de page ») : pas de liseré de focus sur un élément vide */
#top:focus { outline: none; }
/* « Haut de page » : une simple icône ronde (le libellé reste pour les lecteurs d'écran et l'infobulle) */
.footer__top { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-left: auto; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); transition: background .15s, transform .15s; }
.footer__top .icon { width: 20px; height: 20px; }
.footer__top:hover { background: rgba(255, 255, 255, .18); text-decoration: none !important; transform: translateY(-2px); }

/* ---------- Pages d'erreur ---------- */
.errorpage { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: linear-gradient(135deg, #053b2d, #0a6a50); }
.errorpage__box { width: 100%; max-width: 520px; background: #fff; border-radius: 24px; padding: 44px 36px; text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.errorpage__box img { margin: 0 auto 8px; border-radius: 18px; }
.errorpage__code { font-size: 4.6rem; font-weight: 800; line-height: 1; margin: 6px 0 10px; color: var(--green-600); }
.errorpage__box h1 { font-size: 1.6rem; }
.errorpage__box p { color: var(--muted); }
.errorpage__site { margin: 26px 0 0; font-size: .85rem; }

/* ---------- Apparition douce ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Menu mobile (le menu complet : 6 liens + bouton, il lui faut de la largeur) ---------- */
@media (max-width: 1199px) {
    .burger { display: inline-flex; }
    .nav {
        position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow); padding: 14px 20px 22px; flex-direction: column; align-items: stretch; gap: 14px; display: none;
    }
    .nav.is-open { display: flex; }
    .nav ul { flex-direction: column; }
    .nav li a { padding: 13px 16px; border-radius: 12px; }
    .nav__cta { width: 100%; }
    .header__in { position: relative; }
}

/* ---------- Tablette ---------- */
@media (max-width: 1020px) {
    /* Photo en tête de la bannière, fondue dans le vert vers le bas */
    .hero { padding: 0 0 116px; }
    .hero__photo { position: relative; z-index: auto; width: 100%; height: 300px; margin-bottom: 30px; }
    .hero__photo img { object-position: 60% 45%; }
    .hero__photo::after { background: linear-gradient(0deg, #053b2d 0%, rgba(5, 59, 45, .55) 28%, rgba(5, 59, 45, 0) 62%); }
    .strip__list { grid-template-columns: repeat(2, 1fr); }
    .strip__list li:nth-child(2) { border-right: 0; }
    .strip__list li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .strip__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .strip__facts li:nth-child(2) { border-right: 0; }
    .strip__facts li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .cards--3 { grid-template-columns: repeat(2, 1fr); }
    .cards--4 { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .band__grid { grid-template-columns: 1fr; }
    .countdown { justify-self: center; width: 190px; height: 190px; }
    .countdown strong { font-size: 4.2rem; }
    .chief { grid-template-columns: 1fr; gap: 40px; }
    .split, .contact { grid-template-columns: 1fr; gap: 36px; }
    .vgroups { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__about { grid-column: 1 / -1; }
}

/* ---------- Téléphone ---------- */
@media (max-width: 640px) {
    body { font-size: 16px; }
    .section { padding: 56px 0; }
    .hero { padding: 0 0 104px; }
    .hero__photo { height: 230px; margin-bottom: 24px; }
    .hero__actions .btn { width: 100%; }
    .strip { margin-top: -54px; }
    .strip__list { grid-template-columns: 1fr; }
    .strip__list li { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px 18px; }
    .strip__list li:last-child { border-bottom: 0; }
    .strip__list li:nth-child(2) { border-bottom: 1px solid var(--line); }
    .strip__facts { grid-template-columns: 1fr; }
    .strip__facts li { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 18px; }
    .strip__facts li:last-child { border-bottom: 0; }
    .cards--3, .cards--4, .steps { grid-template-columns: 1fr; }
    .cta-grid { grid-template-columns: 1fr; }
    .cta-box { padding: 30px 24px; }
    .field-row { grid-template-columns: 1fr; }
    .contact__form { padding: 24px 20px; }
    .footer__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
    .chief__photo::before { inset: 14px -10px -14px 10px; }
    .brand__text small { display: none; }
    .topbar__links { gap: 2px 16px; }
    .topbar__links .topbar__mail { display: none; }
}

/* ==========================================================================
   Actualités et prise de rendez-vous
   ========================================================================== */

.container--narrow { max-width: 760px; }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }
.btn--danger { background: #fff; color: #a3121f; border-color: #e5a3aa; }
.btn--danger:hover { background: #fdecee; color: #7d0d17; }
.nav__cta .icon { width: 1.05em; height: 1.05em; }

/* ---------- Bandeau « rendez-vous » de l'accueil ---------- */
.booknow { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.booknow__text .lead { max-width: 560px; }
.booknow__points { display: grid; gap: 14px; }
.booknow__points li {
    display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 16px 20px; font-weight: 700; color: var(--navy); box-shadow: var(--shadow-sm);
}
.booknow__points .steps__n { margin: 0; flex: none; }

/* ---------- Actualités ---------- */
.newsgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.newscard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.newscard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.newscard__media { display: block; aspect-ratio: 16 / 9; background: var(--sky); overflow: hidden; }
.newscard__media img { width: 100%; height: 100%; object-fit: cover; }
.newscard__ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--green-600); background: linear-gradient(135deg, var(--green-100), #c5e8da); }
.newscard__ph .icon { width: 44px; height: 44px; }
.newscard__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.newscard__body time { font-size: .84rem; font-weight: 700; letter-spacing: .04em; color: var(--green-700); text-transform: uppercase; }
.newscard__body h3 { margin: 0; font-size: 1.2rem; }
.newscard__body h3 a { color: var(--navy); text-decoration: none; }
.newscard__body h3 a:hover { color: var(--green-700); text-decoration: underline; }
.newscard__body p { margin: 0 0 8px; color: var(--muted); font-size: .98rem; }
.newscard__body .link-arrow { margin-top: auto; }

.empty { max-width: 560px; margin: 0 auto; text-align: center; padding: 24px 0 8px; }
.empty .card__icon { margin: 0 auto 18px; }

.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.pager__btn { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-weight: 700; text-decoration: none; }
a.pager__btn:hover { background: var(--sky); }
.pager__btn.is-current { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.pager__btn.is-disabled { opacity: .4; }
.pager__gap { align-self: center; color: var(--muted); }

.pagehead--article h1 { max-width: 900px; }
.article { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }
.article__image { margin: 0 0 28px; }
.article__image img { width: 100%; border-radius: 20px; box-shadow: var(--shadow-sm); background: var(--sky); }
.article__side { position: sticky; top: 110px; }
.icon--flip { transform: scaleX(-1); }
.richtext { font-size: 1.08rem; line-height: 1.75; color: #1d3128; max-width: 760px; }
.richtext h2 { font-size: 1.6rem; margin: 1.6em 0 .5em; }
.richtext h3 { font-size: 1.25rem; margin: 1.4em 0 .4em; }
.richtext p { margin: 0 0 1.1em; }
.richtext ul, .richtext ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.richtext ul { list-style: disc; }
.richtext ol { list-style: decimal; }
.richtext li { margin-bottom: .35em; }
.richtext img { border-radius: 14px; margin: 1.2em 0; }
.richtext blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--green-600); background: var(--green-50); border-radius: 0 12px 12px 0; color: var(--navy); }
.richtext a { font-weight: 600; }
.richtext table { border-collapse: collapse; width: 100%; margin: 1.2em 0; }
.richtext th, .richtext td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }

.sidecard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.sidecard + .sidecard { margin-top: 20px; }
.sidecard h2 { font-size: 1.15rem; margin-bottom: .6em; }
.sidecard p { color: var(--muted); }
.sidecard--cta { background: linear-gradient(135deg, var(--green-50), var(--green-100)); }
.sidecard dl { margin: 0; }
.sidecard dt { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }
.sidecard dd { margin: 2px 0 0; font-weight: 700; color: var(--navy); }
.sidecard .contact-list { margin-bottom: 14px; }

/* ---------- Prise de rendez-vous ---------- */
.booking { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.booking__main { min-width: 0; scroll-margin-top: 100px; }
.booking__side { position: sticky; top: 110px; }
.booking__form { gap: 26px; }

.bstep { margin: 0; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); min-width: 0; }
.bstep--err { border-color: var(--red); }
.bstep legend { display: flex; align-items: center; gap: 14px; float: left; width: 100%; padding: 0; margin: 0 0 6px; font-size: 1.3rem; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.bstep legend .steps__n { margin: 0; flex: none; }
.bstep legend + * { clear: both; }
.bstep__hint { margin: 0 0 18px; color: var(--muted); font-size: .96rem; }
.bstep__hint--end { margin: 14px 0 0; font-size: .9rem; }
.bstep > .field + .field, .bstep > .field-row + .field, .bstep > .field + .field-row, .bstep > .field-row + .field-row, .bstep > .timepick + .field, .bstep > .field__err + .field, .bstep > .notice + .field { margin-top: 18px; }

.pickgroup + .pickgroup { margin-top: 20px; }
.pickgroup h3 { display: flex; align-items: center; gap: 10px; font-size: .98rem; margin-bottom: 10px; color: var(--green-700); }
.pickgroup h3 .icon { width: 20px; height: 20px; }
.pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }

.pick__item { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; height: 100%; }
.pick__item:hover { border-color: #9fd2bf; background: var(--green-50); }
.pick__item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick__box { flex: none; width: 24px; height: 24px; border-radius: 8px; border: 2px solid #b7cfc4; display: grid; place-items: center; color: transparent; background: #fff; transition: all .15s; }
.pick__box .icon { width: 15px; height: 15px; }
.pick__text { font-weight: 600; line-height: 1.25; color: var(--ink); }
.pick__text small { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; margin-top: 2px; }
.pick__item:has(input:checked) { border-color: var(--green-600); background: var(--green-50); box-shadow: 0 0 0 3px rgba(14, 140, 109, .14); }
.pick__item:has(input:checked) .pick__box { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.pick__item:has(input:focus-visible) { outline: 3px solid var(--green-600); outline-offset: 2px; }
.pick__item--wide { margin-top: 22px; background: var(--green-100); border-color: #b3d9c9; }
.pick__item--wide:hover { background: #cfeadf; border-color: #86c5ac; }
.pick__item--wide:has(input:checked) { border-color: var(--green-600); background: #cfeadf; box-shadow: 0 0 0 3px rgba(14, 140, 109, .16); }
.pick__item--wide:has(input:checked) .pick__box { background: var(--green-600); border-color: var(--green-600); }

/* Choix du jour (pastilles) puis de l'heure d'arrivée : pas de nombre de places */
.bstep__sub { margin: 20px 0 10px; font-size: .98rem; color: var(--green-700); }
.bstep__sub:first-of-type { margin-top: 4px; }
.daypick { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.daychip { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 10px 6px; border: 2px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; text-align: center; line-height: 1.15; transition: border-color .15s, background .15s; }
.daychip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.daychip__wd { font-size: .8rem; font-weight: 700; text-transform: capitalize; color: var(--muted); }
.daychip strong { font-size: 1.6rem; line-height: 1.05; color: var(--navy); }
.daychip small { font-size: .82rem; text-transform: capitalize; color: var(--muted); }
.daychip:hover { border-color: #9fd2bf; background: var(--green-50); }
.daychip:has(input:checked) { border-color: var(--green-600); background: var(--green-600); }
.daychip:has(input:checked) .daychip__wd, .daychip:has(input:checked) strong, .daychip:has(input:checked) small { color: #fff; }
.daychip:has(input:focus-visible), .timechip:has(input:focus-visible) { outline: 3px solid var(--green-600); outline-offset: 2px; }

.timepick { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.timechip { position: relative; display: flex; align-items: center; justify-content: center; padding: 10px 6px; border: 2px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font-weight: 700; color: var(--navy); transition: border-color .15s, background .15s; }
.timechip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.timechip:hover { border-color: #9fd2bf; background: var(--green-50); }
.timechip:has(input:checked) { border-color: var(--green-600); background: var(--green-600); color: #fff; }
.timechip:has(input:disabled) { cursor: not-allowed; background: #f3f5f4; border-color: #e1e7e3; color: #8b9a92; text-decoration: line-through; }

.field--narrow { max-width: 520px; }
.field--narrow select { max-width: 220px; }
.field__hint--below { margin: 6px 0 0; }
.field--narrow + .field__hint { margin-top: 6px; }
.btn[disabled] { cursor: not-allowed; }

.alert .alert__list { margin: 6px 0 0; padding-left: 18px; list-style: disc; }

/* ---------- Fiche d'un rendez-vous ---------- */
.ticket { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 32px; border-top: 6px solid var(--green-600); }
.ticket.status--cancelled, .ticket.status--no_show { border-top-color: #b9c4be; }
.ticket.status--pending { border-top-color: #e5a50a; }
.ticket__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.ticket__head small { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.ticket__ref { font-size: 1.9rem; letter-spacing: .06em; color: var(--navy); font-family: "Cascadia Mono", Consolas, monospace; }
.badge { display: inline-block; padding: 6px 14px; border-radius: 999px; font-weight: 800; font-size: .85rem; background: var(--sky); color: var(--green-700); }
.badge--pending { background: #fff3cf; color: #7a5600; }
.badge--confirmed { background: #dff3ea; color: #0b5a38; }
.badge--cancelled, .badge--no_show { background: #eceff0; color: #4d5a53; }
.badge--done { background: var(--green-800); color: #fff; }
.ticket__status { margin: 0 0 20px; padding: 14px 16px; background: var(--green-50); border-radius: 12px; color: var(--navy); font-weight: 600; }
.ticket__list { margin: 0 0 24px; display: grid; gap: 0; }
.ticket__list > div { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.ticket__list dt { color: var(--muted); font-weight: 700; font-size: .92rem; }
.ticket__list dd { margin: 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.ticket__bring { background: var(--sky-2); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin-bottom: 24px; }
.ticket__bring h2 { font-size: 1.1rem; margin-bottom: .6em; }
.ticket__bring .checks { margin-bottom: 12px; }
.ticket__bring p { margin: 0; font-size: .94rem; }
.ticket__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ticket__actions form { margin: 0; }
.ticket__actions p { margin: 0; }
.vlist__book { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 700; font-size: .9rem; text-decoration: none; }
.vlist__book:hover { text-decoration: underline; }
.vaccines-book { margin: -8px 0 28px; }

@media print {
    .flagbar, .topbar, .header, .footer, .pagehead, .ticket__actions, .section__more, .skip-link { display: none !important; }
    .ticket { box-shadow: none; border: 2px solid #000; }
    .section { padding: 12px 0; }
}

@media (max-width: 1020px) {
    .newsgrid { grid-template-columns: repeat(2, 1fr); }
    .booknow { grid-template-columns: 1fr; gap: 32px; }
    .article, .booking { grid-template-columns: 1fr; gap: 32px; }
    .article__side, .booking__side { position: static; }
    .sidecard[data-summary] { display: none; }
}

@media (max-width: 640px) {
    .newsgrid { grid-template-columns: 1fr; }
    .bstep { padding: 22px 18px; }
    .bstep legend { font-size: 1.15rem; }
    .pick { grid-template-columns: 1fr; }
    .daypick { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; }
    .daychip { padding: 8px 2px; }
    .daychip strong { font-size: 1.35rem; }
    .daychip__wd, .daychip small { font-size: .72rem; }
    .timepick { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px; }
    .field--narrow { max-width: none; }
    .ticket { padding: 22px 18px; }
    .ticket__list > div { grid-template-columns: 1fr; gap: 2px; }
    .ticket__actions .btn { width: 100%; }
    .article__side { order: 2; }
}

/* ==========================================================================
   Avis des usagers, questions fréquentes, boutons fixes (appeler / WhatsApp)
   ========================================================================== */

/* Photo chaleureuse facultative à côté de « Réservez votre vaccination » (config site.reassure_photo) */
.booknow--photo { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; }
.booknow__photo { grid-row: 1 / span 2; margin: 0; }
.booknow__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); border: 6px solid #fff; }
.booknow--photo .booknow__points { grid-column: 2; }

/* Avis : défilement horizontal calé sur les cartes */
.reviews__track {
    display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; margin: 0 -4px;
    scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
.reviews__track:focus-visible { outline-offset: -3px; }
.review { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; min-width: 250px; }
.review blockquote {
    margin: 0; height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 22px 24px 18px; box-shadow: var(--shadow-sm);
}
.review blockquote::before { content: "\201C"; display: block; font: 700 4rem/0.7 Georgia, "Times New Roman", serif; color: var(--green-600); opacity: .4; margin-bottom: 8px; }
.review p { flex: 1; margin: 0 0 18px; font-size: 1.1rem; line-height: 1.55; color: var(--ink); }
.review footer { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; border-top: 1px solid var(--line); padding-top: 14px; font-size: .93rem; color: var(--muted); }
.review footer strong { color: var(--navy); }
.review__score { margin-left: auto; padding: 2px 11px; border-radius: 999px; background: var(--green-100); color: var(--green-800); font-weight: 800; font-size: .86rem; }
.reviews__nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 2px; }
.reviews__nav[hidden] { display: none; }
.reviews__btn {
    width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
    border: 2px solid var(--line); background: #fff; color: var(--green-700); transition: background .15s, border-color .15s;
}
.reviews__btn:hover { background: var(--green-100); border-color: var(--green-600); }
.reviews__btn--prev .icon { transform: rotate(180deg); }

/* Questions fréquentes : menus déroulants */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.faq__item[open] { border-color: #9fd3bf; }
.faq__item summary {
    position: relative; display: block; cursor: pointer; list-style: none; padding: 18px 64px 18px 22px;
    font-weight: 700; font-size: 1.08rem; line-height: 1.35; color: var(--navy);
}
.faq__item summary::-webkit-details-marker { display: none; }
/* Le « + » / « − » est dessiné (pas une lettre de la police, qui le décale vers le bas) : toujours exactement au centre du rond, qui est lui-même centré sur la ligne de la question. */
.faq__item summary::after {
    content: ""; position: absolute; right: 18px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%;
    background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M9 16h14M16 9v14' stroke='%230a6a50' stroke-width='3' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") center / 32px 32px no-repeat;
}
.faq__item[open] summary::after {
    background: var(--green-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M9 16h14' stroke='%23fff' stroke-width='3' stroke-linecap='round' fill='none'/%3E%3C/svg%3E") center / 32px 32px no-repeat;
}
.faq__item p { margin: 0; padding: 0 22px 20px; font-size: 1.04rem; color: var(--ink); }

/* Boutons fixes : appeler / WhatsApp, toujours à portée de pouce */
.floatbar { position: fixed; z-index: 60; right: 18px; bottom: 18px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.floatbar a {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px; border-radius: 999px;
    color: #fff; font-weight: 800; font-size: 1.05rem; text-decoration: none; border: 2px solid rgba(255, 255, 255, .85);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .3); transition: transform .15s;
}
.floatbar a:hover { color: #fff; transform: translateY(-2px); }
.floatbar .icon { width: 22px; height: 22px; }
.floatbar__call { background: var(--green-800); }
.floatbar__wa { background: #178443; }
.floatbar.is-hidden { display: none; }
.floatbar { transition: opacity .2s ease, transform .2s ease, visibility 0s; }
.floatbar.is-away { opacity: 0; visibility: hidden; transform: translateY(14px); pointer-events: none; transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }

@media (max-width: 1020px) {
    .review { flex-basis: calc((100% - 20px) / 2); }
    .booknow--photo { grid-template-columns: 1fr; }
    .booknow__photo { grid-row: auto; }
    .booknow--photo .booknow__points { grid-column: auto; }
}

@media (max-width: 640px) {
    .review { flex-basis: 86%; }
    .floatbar { left: 12px; right: 12px; bottom: 12px; flex-direction: row; justify-content: center; }
    .floatbar a { flex: 1 1 0; max-width: 230px; padding: 12px 14px; }
    .footer { padding-bottom: 78px; }
    .faq__item summary { font-size: 1.02rem; padding-right: 58px; }
}

@media print {
    .floatbar { display: none !important; }
}

/* Parcours du Chef du Centre : frise chronologique */
.timeline { position: relative; display: grid; gap: 24px; margin: 0; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: linear-gradient(var(--green-600), var(--green-100)); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -30px; top: 4px; width: 19px; height: 19px; box-sizing: border-box; border-radius: 50%; background: #fff; border: 4px solid var(--green-600); }
.timeline__when { display: inline-block; font-size: .86rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--green-700); }
.timeline h3 { margin: 2px 0 4px; font-size: 1.12rem; }
.timeline p { margin: 0; color: var(--muted); }
.panel h3 + p + h3 { margin-top: 1.4em; }

/* ---------- Page de chargement (sans logo) ---------- */
html.is-loading { background: var(--green-50); }
.pageloader { position: fixed; inset: 0; z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: var(--green-50); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .4s ease, visibility 0s linear .4s; }
.is-loading .pageloader { opacity: 1; visibility: visible; pointer-events: auto; transition: none; }
.pageloader__ring { position: relative; width: 64px; height: 64px; border-radius: 50%; border: 6px solid var(--green-100); border-top-color: var(--green-600); animation: pageloader-spin .85s linear infinite; }
.pageloader__ring::after { content: ""; position: absolute; inset: 16px; border-radius: 50%; background: var(--green-600); animation: pageloader-pulse 1.4s ease-in-out infinite; }
@keyframes pageloader-spin { to { transform: rotate(360deg); } }
@keyframes pageloader-pulse { 0%, 100% { transform: scale(.5); opacity: .35; } 50% { transform: scale(1); opacity: .9; } }
@media (prefers-reduced-motion: reduce) {
    .pageloader__ring { animation-duration: 2.4s; }
    .pageloader__ring::after { animation: none; opacity: .6; }
}
@media print { .pageloader { display: none !important; } }

/* ---------- Compteur de visites (pied de page) ---------- */
.footer__visits { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .88); font-variant-numeric: tabular-nums; }
.footer__visits .icon { width: 1.05em; height: 1.05em; }
