/* XPREX — site public, look « premium moderne » (palette « XPREX × Yomara » : vert et or du logo, bleu nuit Yomara, aucun build : hébergement mutualisé).
   Couleurs de marque : variables --blue / --gold / --navy… surchargées par BrandTheme::siteCss() (admin → Couleurs et thème). */
@font-face { font-family: Satoshi; src: url('../fonts/satoshi/satoshi-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Satoshi; src: url('../fonts/satoshi/satoshi-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Satoshi; src: url('../fonts/satoshi/satoshi-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: Satoshi; src: url('../fonts/satoshi/satoshi-900.woff2') format('woff2'); font-weight: 900; font-display: swap; }

:root {
    /* marque (modifiables dans l'admin) */
    /* (les noms --blue / --navy datent de l'ancienne charte : --blue = couleur principale, vert XPREX) */
    --blue: #0E7C4A; --blue-deep: #025231; --blue-light: #4FD18F;
    --navy: #062B22; --navy-2: #0A2230; --navy-3: #03111D;
    --gold: #FEB901; --gold-hover: #F5A400; --on-gold: #062B22; --wa: #1FAF55;
    /* dégradés « XPREX × Yomara » : signature (héros, bandeaux) et or (boutons principaux) */
    --hero-gradient: radial-gradient(circle at 92% 0%, rgba(254, 185, 1, .16), transparent 45%), radial-gradient(circle at 100% 100%, rgba(18, 149, 90, .35), transparent 60%), linear-gradient(135deg, #040B24 0%, #025231 55%, #0E7C4A 100%);
    --gold-gradient: linear-gradient(160deg, #FFD34D 0%, #FEB901 50%, #F5A400 100%);
    --danger: #E5484D;

    --r-sm: 14px; --r-btn: 16px; --r-card: 22px; --r-lg: 28px; --r-xl: 32px;
    --max: 1200px; --gutter: 16px;
    --ease: cubic-bezier(.2, .7, .2, 1);

    /* clair (jour) */
    --bg: #F3F8F5; --surface: #FFFFFF; --surface-2: #EAF3EE; --ink: #062B22; --ink-2: #33473F; --muted: #4A5F56;
    --line: #DCE8E1; --line-2: #C9DAD0; --link: #025231;
    --gold-ink: color-mix(in srgb, var(--gold) 52%, #000);      /* « or » lisible sur fond clair (~ #846000) */
    --accent-soft: color-mix(in srgb, var(--blue) 10%, transparent);
    --gold-soft: color-mix(in srgb, var(--gold) 18%, transparent);
    --success: #1A7F37;
    --map-bg: #E6EEEA; --map-road: #FFFFFF; --map-start: #062B22;
    --header-bg: rgba(243, 248, 245, .86);
    --shadow: 0 1px 2px rgba(6, 43, 34, .04), 0 18px 40px -24px rgba(6, 43, 34, .22);
    color-scheme: light;
}
:root[data-theme="dark"] {
    --bg: #03111D; --surface: #0A2230; --surface-2: #102C3B; --ink: #FFFFFF; --ink-2: #C6D6D3; --muted: #9BB0B3;
    --line: #173847; --line-2: #22495A; --link: #4FD18F;
    --gold-ink: var(--gold);
    --accent-soft: color-mix(in srgb, var(--blue-light) 16%, transparent);
    --gold-soft: color-mix(in srgb, var(--gold) 14%, transparent);
    --success: #5EE07A;
    --map-bg: #0A1F2A; --map-road: #102C3B; --map-start: #FFFFFF;
    --header-bg: rgba(3, 17, 29, .86);
    --shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 18px 40px -24px rgba(0, 0, 0, .6);
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
    margin: 0; background: var(--bg); color: var(--ink);
    font: 400 16px/1.6 Satoshi, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.1; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 2px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--on-gold); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 24px; } }

/* logo XPREX (SVG en ligne, resources/brand/xprex-logo) : vert d'origine sur fond clair, éclairci sur fond sombre */
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none !important; min-height: 44px; }
.wordmark { display: block; height: 34px; width: auto; }
:root[data-theme="dark"] { --xlogo-green: #12955A; }

/* boutons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 52px; padding: 0 24px;
    border-radius: var(--r-btn); font-family: inherit; font-weight: 900; font-size: 1rem; border: 1px solid transparent; cursor: pointer;
    text-decoration: none !important; transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease); white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-lg { min-height: 60px; padding: 0 28px; border-radius: 18px; font-size: 1.06rem; }
.btn-sm { min-height: 44px; padding: 0 18px; border-radius: var(--r-sm); font-size: .95rem; }
.btn-gold { background: var(--gold-gradient, var(--gold)); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-outline { border-color: var(--line-2); color: var(--ink); background: transparent; font-weight: 700; }
.btn-outline:hover { border-color: var(--ink-2); background: var(--surface); }
.btn-ghost { border-color: rgba(255, 255, 255, .4); color: #fff; font-weight: 700; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-wa { background: var(--wa); color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* en-tête */
.header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.header.scrolled { border-bottom-color: var(--line); }
.header .wrap { display: flex; align-items: center; gap: 16px; height: 76px; }
.nav { display: none; margin-left: auto; gap: 6px; align-items: center; }
.nav a { color: var(--ink-2); font-weight: 500; font-size: .95rem; padding: 10px 12px; border-radius: 12px; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--surface); }
.tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn {
    width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: var(--r-sm); border: 1px solid var(--line);
    background: var(--surface); color: var(--ink); cursor: pointer; font: 700 .85rem/1 Satoshi, system-ui, sans-serif; text-decoration: none !important;
}
.icon-btn:hover { border-color: var(--line-2); }
.icon-btn svg { width: 20px; height: 20px; }
.burger { display: inline-grid; }
@media (min-width: 1024px) { .nav { display: flex; } .nav + .tools { margin-left: 8px; } .burger { display: none; } }
@media (max-width: 400px) { .tools .nav-book { padding: 0 14px; } }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--bg); padding: 8px 0 12px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 14px var(--gutter); color: var(--ink); font-weight: 700; font-size: 1.05rem; text-decoration: none; }
@media (min-width: 1024px) { .mobile-nav, .mobile-nav.open { display: none; } }

/* sélecteur de thème Système / Clair / Sombre */
.theme-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.theme-switch button {
    display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border: 0; border-radius: 11px; background: transparent;
    color: var(--muted); font: 500 .8rem/1 Satoshi, system-ui, sans-serif; cursor: pointer;
}
.theme-switch button svg { width: 16px; height: 16px; flex: none; }
.theme-switch button:hover { color: var(--ink); }
.theme-switch button[aria-pressed="true"] { background: var(--surface-2); color: var(--ink); font-weight: 700; }
.theme-switch.compact button { width: 38px; padding: 0; justify-content: center; }
.theme-switch.compact button span { display: none; }

/* héros */
.hero { padding: 40px 0 72px; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 1024px) { .hero { padding: 56px 0 88px; } }
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.hero h1 { font-size: clamp(2.5rem, 7.4vw, 4rem); font-weight: 900; line-height: 1.02; letter-spacing: -.03em; overflow-wrap: break-word; }
.hero h1 .gold { color: var(--gold-ink); }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.19rem); line-height: 1.55; color: var(--ink-2); max-width: 32em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .hero .actions .btn { width: 100%; } }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px 32px; margin: 0; padding-top: 8px; max-width: 640px; }
.stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; min-width: 0; }
.stats dd { margin: 0; font-size: clamp(1.4rem, 4vw, 1.75rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.2; }
.stats dt { font-size: .88rem; color: var(--muted); line-height: 1.4; }

/* maquette de téléphone (quand aucune image n'est fournie) */
.visual { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.visual img.hero-img { width: 100%; max-width: 460px; border-radius: var(--r-xl); border: 1px solid var(--line); }
.phone {
    width: min(320px, 100%, 78vw); aspect-ratio: 320 / 560; border-radius: 44px; background: var(--surface); border: 8px solid var(--surface-2);
    overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 0 0 1px var(--line);
}
.phone .map { width: 100%; flex: 1 1 auto; min-height: 0; display: block; }
.m-bg { fill: var(--map-bg); }
.m-road { stroke: var(--map-road); }
.m-route { stroke: var(--gold); }
.m-start { fill: var(--map-start); }
.m-end { fill: var(--gold); stroke: var(--bg); }
.phone .sheet { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.sheet .row { display: flex; align-items: center; gap: 10px; }
.sheet .avatar { width: 40px; height: 40px; border-radius: 14px; background: var(--gold); color: var(--on-gold); display: grid; place-items: center; font-weight: 900; font-size: .9rem; flex: none; }
.sheet .who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.sheet b { font-size: .9rem; font-weight: 700; }
.sheet small { color: var(--muted); font-size: .75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet .price { white-space: nowrap; font-weight: 900; font-size: 1rem; }
.sheet .cta { height: 46px; border-radius: 14px; background: var(--gold); display: grid; place-items: center; font-weight: 900; color: var(--on-gold); }

/* sections */
section.block { padding: 72px 0; }
section.block.tight { padding-top: 24px; }
@media (max-width: 767px) { section.block { padding: 56px 0; } }
.head { max-width: 720px; margin-bottom: 32px; }
.head.center { text-align: center; margin-left: auto; margin-right: auto; }
.kicker { display: inline-block; color: var(--gold-ink); font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.head h2 { font-size: clamp(1.85rem, 4.4vw, 2.5rem); font-weight: 900; letter-spacing: -.025em; }
.head p { color: var(--ink-2); font-size: 1.06rem; margin-top: 14px; }

.cards { display: grid; gap: 16px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards.four { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; overflow: hidden; display: flex; flex-direction: column; }
.card .media { margin: -28px -28px 22px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.card .media img { width: 100%; height: 100%; object-fit: cover; }
.card h3 { font-size: 1.35rem; font-weight: 900; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: .97rem; line-height: 1.5; }
.ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-ink); margin-bottom: 20px; flex: none; }
.ico svg { width: 28px; height: 28px; }
.card.service { min-height: 230px; }
.card.service .ico { width: auto; height: auto; background: none; border-radius: 0; place-items: start; margin-bottom: 18px; }
.card.service .ico svg { width: 36px; height: 36px; }
.card.featured { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.card.featured p { color: var(--on-gold); }
.card.featured .ico { color: var(--on-gold); }

/* étapes */
.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--gold); color: var(--on-gold); font-weight: 900; margin-bottom: 18px; }
.step h3 { font-size: 1.2rem; font-weight: 900; margin-bottom: 8px; }
.step p { color: var(--ink-2); }

/* applications : client = carte navy, Pro = carte bleue */
.apps { display: grid; gap: 16px; }
@media (min-width: 900px) { .apps { grid-template-columns: repeat(2, 1fr); } }
.app { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 36px; color: #fff; display: flex; gap: 20px; align-items: flex-end; background: var(--navy-2); border: 1px solid var(--navy-2); }
:root[data-theme="dark"] .app.client { border-color: var(--line); }
.app.pro { background: var(--blue); border-color: var(--blue); }
.app-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.app .tag { font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.app.pro .tag { color: #fff; }
.app h3 { font-size: clamp(1.6rem, 3vw, 1.9rem); font-weight: 900; }
.app p { color: #C6D6D3; line-height: 1.55; max-width: 28em; }
.app.pro p { color: #fff; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 8px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 16px; border-radius: var(--r-sm); background: #fff; color: #062B22; text-decoration: none !important; font-weight: 700; }
.app.pro .store { background: var(--navy-3); color: #fff; }
.store svg { width: 22px; height: 22px; flex: none; }
.store small { display: block; font-size: .68rem; font-weight: 500; opacity: .75; line-height: 1.1; }
.store span { line-height: 1.15; }
.store.soon { background: rgba(255, 255, 255, .1) !important; color: #fff !important; border: 1px dashed rgba(255, 255, 255, .45); cursor: default; }
.app .shot { display: none; flex: none; }
@media (min-width: 560px) { .app .shot { display: block; } }
.app .shot img { width: 140px; border-radius: 22px; }
.app-ico { width: 88px; height: 88px; border-radius: 26px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--gold); }
.app.pro .app-ico { background: rgba(4, 11, 36, .22); color: #fff; }
.app-ico svg { width: 44px; height: 44px; }

/* partenaires */
.partners .layout { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .partners .layout { grid-template-columns: .9fr 1.1fr; gap: 48px; } }
.partners .head { margin-bottom: 28px; }
.partners .side-img { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 28px; border: 1px solid var(--line); }
.partners .side-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.mini { display: grid; gap: 14px; }
@media (min-width: 560px) { .mini { grid-template-columns: repeat(2, 1fr); } }
.mini .card { padding: 24px; border-radius: var(--r-card); }
.mini .ico { width: 46px; height: 46px; margin-bottom: 14px; border-radius: 14px; }
.mini .ico svg { width: 24px; height: 24px; }
.mini .card h3 { font-size: 1.12rem; }

/* bandeau contact */
.cta-band { padding: 24px 0 88px; }
.cta-band .box { border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); padding: 36px 28px; display: grid; gap: 24px; align-items: center; }
.cta-band h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); font-weight: 900; letter-spacing: -.025em; }
.cta-band p { color: var(--ink-2); margin-top: 10px; font-size: 1.05rem; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .cta-band .actions .btn { width: 100%; } }
@media (min-width: 900px) { .cta-band .box { grid-template-columns: 1fr auto; padding: 48px 52px; } }

/* pages intérieures (contact, réserver) */
.page-hero { padding: 40px 0 32px; }
@media (min-width: 768px) { .page-hero { padding: 56px 0 40px; } }
.page-hero h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; max-width: 16em; }
.page-hero p { color: var(--ink-2); margin-top: 14px; max-width: 36em; font-size: 1.1rem; }
.contact { padding-bottom: 88px; }
.contact .grid { display: grid; gap: 16px; }
@media (min-width: 960px) { .contact .grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; min-width: 0; }
@media (min-width: 768px) { .panel { padding: 36px; } }
.form { display: grid; gap: 18px; }
@media (min-width: 640px) { .form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } }
.form .two > div + div { margin-top: 18px; }
@media (min-width: 640px) { .form .two > div + div { margin-top: 0; } }
.form label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 8px; }
.form input, .form select, .form textarea {
    width: 100%; min-height: 52px; font: inherit; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm);
    padding: 12px 16px; transition: border-color .2s, box-shadow .2s;
}
.form textarea { min-height: 160px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: var(--muted); opacity: 1; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--accent-soft); }
.form .err { color: var(--danger); font-size: .85rem; margin-top: 6px; }
:root[data-theme="dark"] .form .err { color: #FF8A8E; }
.form .invalid { border-color: var(--danger); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
@media (max-width: 479px) { .form .btn { width: 100%; } }
.alert { padding: 14px 16px; border-radius: var(--r-sm); font-weight: 500; margin-bottom: 18px; }
.alert.ok { background: color-mix(in srgb, var(--success) 12%, transparent); color: var(--ink); border: 1px solid color-mix(in srgb, var(--success) 35%, transparent); }
.alert.ko { background: color-mix(in srgb, var(--danger) 10%, transparent); color: var(--ink); border: 1px solid color-mix(in srgb, var(--danger) 35%, transparent); }
.infos { display: grid; gap: 12px; }
.info { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none !important; transition: border-color .2s; min-width: 0; }
a.info:hover { border-color: var(--line-2); }
.info .ico { width: 46px; height: 46px; margin: 0; border-radius: 14px; }
.info .ico svg { width: 22px; height: 22px; }
.info small { display: block; color: var(--muted); font-size: .85rem; }
.info b { font-weight: 700; word-break: break-word; }
.info.wa .ico { background: color-mix(in srgb, var(--wa) 16%, transparent); color: var(--wa); }

/* pied de page */
.footer { border-top: 1px solid var(--line); color: var(--muted); padding: 56px 0 28px; }
.footer .top { display: grid; gap: 32px; }
@media (min-width: 640px) { .footer .top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .footer .top { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; } }
.footer p.about { margin-top: 12px; max-width: 26em; color: var(--muted); }
.footer h4, .footer .f-title { color: var(--ink); font-size: .95rem; font-weight: 700; letter-spacing: 0; margin: 0 0 14px; line-height: 1.3; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--ink-2); }
.footer ul a:hover { color: var(--ink); }
.footer .bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center; font-size: .88rem; }
.footer .bottom-tools { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.footer .lang-link { color: var(--ink-2); font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.footer .by a { color: var(--gold-ink); font-weight: 700; }

/* bouton WhatsApp flottant */
.wa-float {
    position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 20px; background: var(--wa); color: #fff;
    display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(31, 175, 85, .7); transition: transform .2s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 30px; height: 30px; }

/* apparition au défilement */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* pages publiques autonomes (suivi de course, commande groupée) : barre du haut et pied communs */
.mini-top { border-bottom: 1px solid var(--line); background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 30; }
.mini-top .wrap { display: flex; align-items: center; gap: 10px; min-height: 68px; }
.mini-top .tools { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.mini-foot { padding: 18px var(--gutter) 24px; text-align: center; color: var(--muted); font-size: .8rem; border-top: 1px solid var(--line); }
.mini-foot a { color: var(--gold-ink); font-weight: 700; }

/* =====================================================================================================
   Vitrine 2 — héros plein écran, sections réordonnables, pages partenaires, blog (aucune dépendance externe)
   ===================================================================================================== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:root { --green: #025231; --green-2: #12955A; --hero-ink: #FFFFFF; --hero-ink-2: #E3F3EA; }

/* en-tête : sur le héros (transparent, texte blanc), puis plein au défilement */
.lang-btn { width: auto; padding: 0 12px; gap: 6px; display: inline-flex; align-items: center; }
.lang-btn svg { width: 18px; height: 18px; }
.btn-light { background: var(--surface); color: var(--ink); border-color: var(--line); font-weight: 700; }
.btn-light:hover { border-color: var(--line-2); }
.nav-dl span, .nav-app, .nav-book { display: none; }
@media (min-width: 640px) { .nav-dl span { display: inline; } }
@media (min-width: 1180px) { .nav-app, .nav-book { display: inline-flex; } }
.nav-dl { padding: 0 14px; }
body.has-hero .header { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.has-hero .header.solid { background: var(--header-bg); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--line); }
.header.on-hero:not(.solid) { --xlogo-green: var(--green-2); color: #fff; }
.header.on-hero:not(.solid) .nav a { color: rgba(255, 255, 255, .86); }
.header.on-hero:not(.solid) .nav a:hover, .header.on-hero:not(.solid) .nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .12); }
.header.on-hero:not(.solid) .icon-btn { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .24); color: #fff; }
.header.on-hero:not(.solid) .btn-light { background: #fff; color: #062B22; border-color: #fff; }
.nav a[aria-current="page"] { position: relative; }
@media (min-width: 1024px) { .nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--gold); } }
.mobile-nav .btn { margin: 8px var(--gutter) 0; width: calc(100% - 2 * var(--gutter)); color: var(--on-gold); }
body.has-hero .mobile-nav.open { background: var(--bg); }
body.has-hero .header:has(.mobile-nav.open) { background: var(--bg); }

/* héros plein écran */
.hero-full { position: relative; isolation: isolate; min-height: max(640px, 100svh); display: flex; align-items: center; color: var(--hero-ink); overflow: hidden; background: #040B24; background: var(--hero-gradient); }
.hero-full.hero-page { min-height: max(560px, 86svh); }
.hero-bg, .hero-bg > img, .hero-anim, .hero-lines, .hero-veil { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg { z-index: -1; }
.hero-bg > img { object-fit: cover; }
.hero-veil {
    background:
        linear-gradient(115deg, rgba(2, 82, 49, .72) 0%, rgba(4, 11, 36, .35) 48%, rgba(254, 185, 1, .22) 100%),
        linear-gradient(180deg, rgba(4, 11, 36, .62) 0%, rgba(4, 11, 36, .5) 45%, rgba(4, 11, 36, .9) 100%);
}
.hero-anim { background: var(--hero-gradient); overflow: hidden; } /* dégradé signature bleu nuit → vert XPREX */
.hero-anim i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .7; will-change: transform; }
.hero-anim .b1 { width: 55vmax; height: 55vmax; left: -15vmax; top: -10vmax; background: #12955A; animation: blob1 18s ease-in-out infinite alternate; }
.hero-anim .b2 { width: 40vmax; height: 40vmax; right: -12vmax; top: 10vmax; background: #FEB901; opacity: .32; animation: blob2 22s ease-in-out infinite alternate; }
.hero-anim .b3 { width: 45vmax; height: 45vmax; left: 30vmax; bottom: -25vmax; background: #025231; opacity: .55; animation: blob3 26s ease-in-out infinite alternate; }
@keyframes blob1 { to { transform: translate(18vmax, 10vmax) scale(1.15); } }
@keyframes blob2 { to { transform: translate(-14vmax, 12vmax) scale(.9); } }
@keyframes blob3 { to { transform: translate(-20vmax, -12vmax) scale(1.1); } }
.hero-lines path { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 2; stroke-dasharray: 6 10; }
.hero-lines path.run { stroke: #FEB901; stroke-width: 3; stroke-dasharray: 120 1600; stroke-linecap: round; animation: run 9s linear infinite; opacity: .45; }
@keyframes run { from { stroke-dashoffset: 1720; } to { stroke-dashoffset: 0; } }
.hero-inner { position: relative; padding-top: 120px; padding-bottom: 96px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.badge.on-dark { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #fff; align-self: center; backdrop-filter: blur(6px); }
.hero-full h1 { font-size: clamp(2.35rem, 7.2vw, 4.75rem); font-weight: 900; line-height: 1.04; letter-spacing: -.035em; max-width: 15em; text-wrap: balance; }
.hero-full .lead { font-size: clamp(1.02rem, 2vw, 1.2rem); color: var(--hero-ink-2); max-width: 40em; line-height: 1.55; }
.brush { position: relative; display: inline-block; white-space: nowrap; z-index: 0; }
.brush-stroke { position: absolute; left: -3%; bottom: -.16em; width: 106%; height: .42em; color: var(--gold); z-index: -1; overflow: visible; }
.brush-stroke path { stroke-dasharray: 700; stroke-dashoffset: 700; animation: brush 1.1s .35s var(--ease) forwards; }
@keyframes brush { to { stroke-dashoffset: 0; } }
.no-js .brush-stroke path { stroke-dashoffset: 0; animation: none; }
:root:not([data-theme="dark"]) .page-hero .brush-stroke, :root:not([data-theme="dark"]) .head .brush-stroke { color: var(--gold); }

/* recherche « Trouver un chauffeur » */
.finder { position: relative; width: 100%; max-width: 980px; margin-top: 8px; display: flex; flex-direction: column; gap: 10px; padding: 10px; border-radius: 26px;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .24); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); text-align: left; }
.finder-fields { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.finder .field { position: relative; display: flex; align-items: center; min-width: 0; flex: 1; }
.finder input[type="text"] {
    width: 100%; min-height: 58px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(4, 11, 36, .5); color: #fff;
    font: 500 1rem/1.2 Satoshi, system-ui, sans-serif; padding: 0 16px 0 58px; transition: border-color .2s, background-color .2s;
}
.finder input::placeholder { color: #C6D6D3; opacity: 1; }
.finder input:focus { outline: none; border-color: var(--gold); background: rgba(4, 11, 36, .7); }
.finder .locate { position: absolute; left: 6px; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 14px; border: 0; background: transparent; color: var(--gold); display: grid; place-items: center; cursor: pointer; z-index: 1; }
.finder .locate:hover, .finder .locate:focus-visible { background: rgba(255, 255, 255, .1); }
.finder .locate svg { width: 22px; height: 22px; }
.finder .locate.busy svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.finder .locate::after { content: ""; position: absolute; right: -6px; top: 12px; bottom: 12px; width: 1px; background: rgba(255, 255, 255, .25); }
.finder .dot { position: absolute; left: 24px; width: 11px; height: 11px; border-radius: 3px; background: var(--gold); box-shadow: 0 0 0 4px rgba(254, 185, 1, .25); pointer-events: none; }
.finder-go { min-height: 58px; border-radius: 18px; }
.finder-go svg { transition: transform .2s var(--ease); }
.finder-go:hover svg { transform: translateX(3px); }
.finder-status { position: absolute; left: 16px; bottom: -28px; margin: 0; font-size: .88rem; color: #FFE08A; }
.finder-status:empty { display: none; }
@media (min-width: 860px) {
    .finder { flex-direction: row; align-items: stretch; padding: 12px; }
    .finder-fields { flex-direction: row; }
    .finder-go { padding: 0 30px; }
}
.suggest { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; margin: 0; padding: 6px; list-style: none; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 50px -20px rgba(4, 11, 36, .55); max-height: 320px; overflow: auto; color: var(--ink); }
.suggest li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; cursor: pointer; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--surface-2); }
.suggest li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--gold-ink); }
.suggest b { display: block; font-weight: 700; font-size: .95rem; }
.suggest small { display: block; color: var(--muted); font-size: .82rem; }
.suggest .none { color: var(--muted); cursor: default; }
.hero-note { display: inline-flex; align-items: center; gap: 8px; color: var(--hero-ink-2); font-size: .92rem; margin-top: 10px; }
.hero-note svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.hero-scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 28px; height: 44px; border-radius: 16px; border: 2px solid rgba(255, 255, 255, .45); display: none; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (min-height: 760px) and (min-width: 768px) { .hero-scroll { display: block; } }
.hero-page .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 479px) { .hero-page .actions .btn { width: 100%; } }

/* chiffres de la bannière chauffeur */
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 12px 0 0; width: 100%; max-width: 760px; }
.figures > div { display: flex; flex-direction: column-reverse; padding: 16px 18px; border-radius: 20px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); }
.figures dd { margin: 0; font-size: clamp(1.15rem, 2.4vw + .5rem, 1.75rem); font-weight: 900; color: var(--gold); letter-spacing: -.02em; white-space: nowrap; }
.figures dt { color: var(--hero-ink-2); font-size: .9rem; }
.figures-note { font-size: .8rem; color: var(--hero-ink-2); opacity: .85; }

/* en-têtes de section */
.head h2 { text-wrap: balance; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 28px; }
.head-row .head { margin-bottom: 0; }
.sub-title { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 8px 0 14px; font-weight: 700; }
.reveal { transition-delay: var(--d, 0ms); }

/* nos services */
.svc-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none !important; min-height: 96px; transition: border-color .25s, transform .25s var(--ease); }
.svc:hover { border-color: var(--gold); transform: translateY(-3px); }
.svc-ico { width: 54px; height: 54px; flex: none; border-radius: 17px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-ink); }
.svc-ico svg { width: 28px; height: 28px; }
.svc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.svc-body b { font-weight: 900; font-size: 1.08rem; }
.svc-body small { color: var(--ink-2); font-size: .92rem; line-height: 1.45; }
.svc-go { color: var(--muted); transition: transform .2s, color .2s; }
.svc-go svg { width: 20px; height: 20px; }
.svc:hover .svc-go { color: var(--gold-ink); transform: translateX(3px); }

/* comment ça marche */
.how { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .how { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.how-step { width: 100%; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center; text-align: left; padding: 16px 18px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; position: relative; overflow: hidden; transition: border-color .25s, background-color .25s; }
.how-step .num { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-weight: 900; background: var(--surface-2); color: var(--ink); transition: background-color .25s, color .25s; }
.how-step .txt b { display: block; font-weight: 900; font-size: 1.05rem; }
.how-step .txt small { display: block; color: var(--ink-2); font-size: .93rem; line-height: 1.45; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s var(--ease), opacity .3s; }
.how-step.on { border-color: var(--gold); }
.how-step.on .num { background: var(--gold); color: var(--on-gold); }
.how-step.on .txt small { max-height: 6em; opacity: 1; }
.no-js .how-step .txt small { max-height: none; opacity: 1; }
.how-step .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: transparent; }
.how-step .bar i { display: block; height: 100%; width: 0; background: var(--gold); }
.how.playing .how-step.on .bar i { animation: fill var(--step-ms, 4200ms) linear forwards; }
@keyframes fill { to { width: 100%; } }

/* maquettes de téléphone (comment ça marche, suivi) */
.phone-frame { width: min(310px, 100%); margin: 0 auto; aspect-ratio: 310 / 600; border-radius: 44px; background: var(--surface); border: 9px solid var(--surface-2); box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(4, 11, 36, .45); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.phone-frame::before { content: ""; position: absolute; top: 8px; left: 50%; width: 80px; height: 20px; margin-left: -40px; border-radius: 12px; background: var(--surface-2); z-index: 2; }
.ph-map { position: relative; flex: 1 1 auto; min-height: 0; }
.ph-map svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.m-block rect { fill: var(--surface-2); opacity: .7; }
.m-route.draw { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 2.4s var(--ease) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.m-pulse { fill: var(--gold); opacity: .35; transform-origin: 200px 60px; animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: .5; } to { transform: scale(2.4); opacity: 0; } }
.ph-sheet { position: relative; padding: 16px; display: grid; min-height: 152px; background: var(--surface); border-top: 1px solid var(--line); }
.ph-sheet .scr { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 10px; justify-content: center; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s var(--ease); pointer-events: none; }
.how-phone[data-active="1"] .s1, .how-phone[data-active="2"] .s2, .how-phone[data-active="3"] .s3, .how-phone[data-active="4"] .s4, .how-phone[data-active="5"] .s5,
.track-phone .ph-sheet > * { opacity: 1; transform: none; }
.track-phone .ph-sheet { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.ph-input { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 14px; background: var(--surface-2); font-size: .9rem; font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ph-input.muted { color: var(--muted); font-weight: 500; }
.pin { width: 10px; height: 10px; flex: none; border-radius: 50%; background: var(--map-start); }
.pin.b { border-radius: 3px; background: var(--gold); }
.ph-veh { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 14px; border: 1px solid var(--line); font-size: .9rem; }
.ph-veh img { transform: rotate(90deg); }
.ph-veh.sel { border-color: var(--gold); background: var(--gold-soft); }
.scr small { color: var(--muted); font-size: .8rem; text-align: center; }
.ph-offer { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ph-offer span { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); font-weight: 900; font-size: 1.3rem; }
.ph-offer b { font-size: 1.6rem; font-weight: 900; }
.radar { position: relative; height: 34px; }
.radar i { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px; border-radius: 50%; border: 2px solid var(--gold); animation: pulse2 1.8s ease-out infinite; }
.radar i:nth-child(2) { animation-delay: .6s; } .radar i:nth-child(3) { animation-delay: 1.2s; }
@keyframes pulse2 { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.ph-driver { display: flex; align-items: center; gap: 10px; }
.ph-driver b { display: block; font-size: .92rem; font-weight: 900; }
.ph-driver small { display: block; color: var(--muted); font-size: .8rem; text-align: left; }
.ph-driver .avatar { width: 40px; height: 40px; border-radius: 14px; background: var(--gold); color: var(--on-gold); display: grid; place-items: center; font-weight: 900; flex: none; }
.ph-driver .avatar svg { width: 22px; height: 22px; }
.ph-driver .eta { margin-left: auto; font-weight: 900; padding: 6px 10px; border-radius: 10px; background: var(--gold-soft); color: var(--gold-ink); white-space: nowrap; }
.ph-progress { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.ph-progress i { display: block; height: 100%; width: 30%; border-radius: 3px; background: var(--gold); animation: prog 9s linear infinite; }
@keyframes prog { from { width: 8%; } to { width: 100%; } }

/* véhicules */
.veh-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); margin-bottom: 18px; }
.veh { padding: 20px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; transition: border-color .25s, transform .25s var(--ease); }
.veh:hover { border-color: var(--line-2); transform: translateY(-3px); }
.veh-ico { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: var(--surface-2); margin-bottom: 6px; }
.veh-ico img { width: 56px; height: 56px; transform: rotate(90deg); transition: transform .4s var(--ease); }
.veh:hover .veh-ico img { transform: rotate(90deg) translateY(-4px); }
.veh h4 { font-size: 1.12rem; font-weight: 900; }
.veh p { color: var(--ink-2); font-size: .92rem; line-height: 1.45; }
.chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); font-size: .82rem; font-weight: 700; margin-top: auto; }
.chip svg { width: 15px; height: 15px; }

/* suivi en temps réel */
.two-col { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .two-col { grid-template-columns: 1fr 1fr; gap: 56px; } }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.points li { display: flex; gap: 14px; align-items: flex-start; }
.points .ico { width: 46px; height: 46px; margin: 0; border-radius: 14px; }
.points .ico svg { width: 22px; height: 22px; }
.points b { display: block; font-weight: 900; font-size: 1.05rem; }
.points small { display: block; color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.ph-map.tall { min-height: 0; }

/* compteurs : bandeau sombre dans les deux thèmes */
.stats-band { border-radius: var(--r-xl); padding: 36px 24px; background: var(--hero-gradient); color: #fff; display: grid; gap: 24px; border: 1px solid #173847; }
@media (min-width: 900px) { .stats-band { grid-template-columns: .8fr 1.6fr; padding: 48px; align-items: center; } }
.stats-band .head { margin: 0; }
.stats-band .kicker { color: var(--gold); }
.stats-band .note { grid-column: 1 / -1; font-size: .82rem; color: #9BB0B3; }
.counters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 16px; margin: 0; }
@media (min-width: 640px) { .counters { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); } }
.counter { display: flex; flex-direction: column-reverse; gap: 4px; }
.counter dd { margin: 0; font-size: clamp(1.8rem, 4.6vw, 2.6rem); font-weight: 900; letter-spacing: -.03em; color: var(--gold); line-height: 1.05; font-variant-numeric: tabular-nums; }
.counter dd sup { font-size: .45em; color: #C6D6D3; }
.counter dt { color: #C6D6D3; font-size: .92rem; line-height: 1.35; }

/* avis clients */
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 360px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
.reviews:focus-visible { outline-offset: 4px; }
.review { margin: 0; scroll-snap-align: start; padding: 24px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.stars { display: flex; gap: 2px; color: var(--gold); }
.stars svg { width: 18px; height: 18px; }
.stars .off { color: var(--line-2); }
.review blockquote { margin: 0; font-size: 1.02rem; line-height: 1.55; color: var(--ink); flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 10px; }
.review .avatar { width: 40px; height: 40px; border-radius: 14px; background: var(--gold-soft); color: var(--gold-ink); display: grid; place-items: center; font-weight: 900; flex: none; }
.review figcaption b { display: block; }
.review figcaption small { display: block; color: var(--muted); font-size: .82rem; }

/* QR codes */
.qr-box { display: none; flex: none; flex-direction: column; align-items: center; gap: 8px; }
@media (min-width: 720px) { .qr-box { display: flex; } }
.qrs { display: flex; gap: 10px; }
.qrs span { display: block; padding: 6px; border-radius: 14px; background: #fff; }
.qr { width: 104px; height: 104px; display: block; }
.qr-box small { font-size: .78rem; opacity: .85; }
.app .qr-box small { color: #fff; }

/* FAQ */
.faq-wrap { display: grid; gap: 24px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; } }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; font-weight: 900; font-size: 1.04rem; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); flex: none; transition: transform .25s var(--ease); }
.faq summary svg { width: 18px; height: 18px; }
.faq details[open] summary span { transform: rotate(45deg); background: var(--gold); color: var(--on-gold); }
.faq .answer { padding: 0 20px 18px; color: var(--ink-2); line-height: 1.6; }
.faq .answer p + p, .faq .answer ul, .faq .answer ol { margin-top: 10px; }
.faq .answer :is(h1, h2, h3, h4) { font-size: 1rem; font-weight: 900; color: var(--ink); margin: 14px 0 6px; letter-spacing: 0; }
.faq .answer ul, .faq .answer ol { padding-left: 20px; }

/* actualités */
.posts { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.post-card { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .25s, transform .25s var(--ease); }
.post-card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.post-link { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none !important; }
.post-media { aspect-ratio: 16 / 9; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-ph { width: 72px; opacity: .7; }
.post-ph svg { width: 100%; height: auto; }
.post-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-body time { color: var(--muted); font-size: .85rem; }
.post-body h3 { font-size: 1.2rem; font-weight: 900; }
.post-body p { color: var(--ink-2); font-size: .95rem; }
.post-body .more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; color: var(--gold-ink); font-weight: 700; }
.post-body .more svg { width: 18px; height: 18px; }
.empty { color: var(--muted); padding: 24px 0 48px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 28px; }
.narrow { max-width: 820px; }
.crumbs { display: flex; gap: 8px; font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--ink-2); }
.article .meta { color: var(--muted); }
.article-cover { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--line); margin-bottom: 28px; aspect-ratio: 1200 / 630; object-fit: cover; }
.prose { font-size: 1.08rem; line-height: 1.75; color: var(--ink-2); padding-bottom: 56px; }
.prose h2, .prose h3 { color: var(--ink); margin: 1.6em 0 .6em; font-weight: 900; }
.prose p, .prose ul, .prose ol, .prose blockquote { margin: 0 0 1em; }
.prose blockquote { border-left: 4px solid var(--gold); padding: 6px 0 6px 16px; background: var(--surface); border-radius: 0 12px 12px 0; }
.prose a { color: var(--link); text-decoration: underline; }
.prose img { border-radius: 16px; margin: 1em 0; }
.h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 900; }
.h3 { font-size: 1.3rem; font-weight: 900; margin-bottom: 10px; }

/* contact (accueil et page) */
section.contact.block { padding-bottom: 88px; }
.map-card { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.map-card iframe { display: block; width: 100%; height: 240px; border: 0; }
.map-link { display: flex; align-items: center; gap: 8px; padding: 12px 16px; font-weight: 700; color: var(--ink); }
.map-link svg { width: 18px; height: 18px; }
.partners .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mini a.card { color: var(--ink); text-decoration: none !important; transition: border-color .25s, transform .25s var(--ease); }
.mini a.card:hover { border-color: var(--gold); transform: translateY(-3px); }

/* pages partenaires */
.benefits { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
@media (min-width: 1024px) { .benefits { grid-template-columns: repeat(3, 1fr); } .benefits.four { grid-template-columns: repeat(4, 1fr); } }
.benefits .card { padding: 26px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: none; }
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(4, 1fr); } }
.timeline li { position: relative; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.timeline .num { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; font-weight: 900; background: var(--gold); color: var(--on-gold); }
@media (min-width: 900px) { .timeline li:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -15px; width: 16px; height: 2px; background: var(--gold); } }
.timeline h3 { font-size: 1.12rem; font-weight: 900; margin-bottom: 6px; }
.timeline p { color: var(--ink-2); font-size: .95rem; }
.docs-card, .amb, .final { border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); padding: 28px; display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .docs-card { grid-template-columns: .8fr 1.2fr; padding: 40px; } .amb { grid-template-columns: auto 1fr auto; padding: 32px 40px; } .final { grid-template-columns: 1fr auto; padding: 44px; } }
.docs-card > div:first-child { display: flex; flex-direction: column; gap: 14px; }
.docs-card h2, .amb h2, .final h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); font-weight: 900; letter-spacing: -.02em; }
.docs-card .ico, .amb .ico { margin: 0; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--success); }
.amb p, .final p { color: var(--ink-2); margin-top: 8px; }
.final { background: var(--hero-gradient); color: #fff; border-color: #173847; }
.final p { color: #C6D6D3; }
.final .stores { padding-top: 16px; }
.final .final-link a { color: var(--gold); font-weight: 700; }

/* pied de page */
.footer .socials, .socials { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); }
.socials a:hover { color: var(--ink); border-color: var(--line-2); }
.socials svg { width: 20px; height: 20px; }
.footer-apps { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.footer-apps .f-title { margin: 0 8px 0 0; }
.stores.compact { padding-top: 0; gap: 8px; }
.stores.compact .store { min-height: 46px; padding: 6px 12px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.stores.compact .store.soon { background: transparent !important; color: var(--muted) !important; border: 1px dashed var(--line-2); }
.footer .langs { display: inline-flex; gap: 4px; }
.footer .langs a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 12px; color: var(--ink-2); font-weight: 700; }
.footer .langs a[aria-current="true"] { background: var(--surface); color: var(--ink); }

/* mouvement réduit : rien ne bouge, tout est visible */
@media (prefers-reduced-motion: reduce) {
    .brush-stroke path, .m-route.draw { stroke-dashoffset: 0 !important; }
    .how-step .txt small { transition: none; }
    .hero-anim i { animation: none !important; }
}
