/* ==========================================================================
   eKo — proposition de refonte de la home (v2 : éditorial, clair, élégant)
   Feuille autonome (aucune dépendance Bootstrap / Dashmix).
   ========================================================================== */

@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/dmsans-latin.woff2') format('woff2'); }

:root {
    --bg: #ffffff;
    --bg-2: #f4f3fa;          /* lavande très claire */
    --paper: #ffffff;
    --ink: #1f1f54;           /* bleu nuit eKo */
    --ink-2: #17173f;
    --text: #4a4a66;
    --muted: #666676;
    --line: rgba(31, 31, 84, .1);
    --line-2: rgba(31, 31, 84, .18);
    --violet: #704af1;
    --violet-soft: #efeaff;
    --yellow: #ffb10a;
    --green: #22a07a;

    --radius: 22px;
    --radius-sm: 14px;
    --shadow-sm: 0 1px 2px rgba(31,31,84,.06), 0 4px 14px -6px rgba(31,31,84,.12);
    --shadow: 0 2px 4px rgba(31,31,84,.04), 0 24px 60px -24px rgba(31,31,84,.28);
    --shadow-lg: 0 4px 8px rgba(31,31,84,.04), 0 50px 100px -40px rgba(31,31,84,.45);
    --ease: cubic-bezier(.22, 1, .36, 1);
    --container: 1180px;
    --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
    margin: 0; background: var(--bg); color: var(--text);
    font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }

.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 16px; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico--sm { width: 16px; height: 16px; }
.ico--xs { width: 13px; height: 13px; }

/* Mots mis en avant (charte eKo) : DM Sans gras, violet sur fond clair, jaune sur fond bleu nuit */
.hl { font-style: normal; font-weight: 700; color: var(--violet); }
.mega__feature .hl, .plan--featured .hl { color: var(--yellow); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); margin-bottom: 20px; }
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.eyebrow--light { color: rgba(255,255,255,.6); }

.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.tag--violet { background: var(--violet); color: #fff; }
.tag--yellow { background: var(--yellow); color: var(--ink); }

/* ---------- Boutons ---------- */
.btn {
    --bg: var(--ink); --fg: #fff; --fill: var(--violet);
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 24px; border-radius: 100px; font-weight: 700; font-size: 14px; line-height: 1; text-transform: uppercase; letter-spacing: .12em;
    background: var(--bg); color: var(--fg); overflow: hidden; isolation: isolate; white-space: nowrap;
    transition: color .4s var(--ease), box-shadow .4s var(--ease);
}
.btn::before { /* remplissage circulaire depuis la position de la souris */
    content: ''; position: absolute; z-index: -1; left: var(--mx, 50%); top: var(--my, 50%);
    width: 0; height: 0; border-radius: 50%; transform: translate(-50%, -50%); background: var(--fill);
    transition: width .55s var(--ease), height .55s var(--ease);
}
.btn:hover::before { width: 260%; height: 640%; }
.btn--dark { --bg: var(--ink); --fg: #fff; --fill: var(--violet); }
.btn--yellow { --bg: var(--yellow); --fg: var(--ink); --fill: #ffc443; }
.btn--line { --bg: transparent; --fg: var(--ink); --fill: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--line:hover { color: #fff; }
.btn--line-light { --bg: transparent; --fg: #fff; --fill: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.btn--sm { padding: 12px 18px; font-size: 12.5px; letter-spacing: .1em; }
.btn--lg { padding: 18px 28px; font-size: 14.5px; }
.btn--xl { padding: 21px 34px; font-size: 15px; }
.btn--block { width: 100%; }
.btn .ico { transition: transform .45s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.link-arrow .ico { transition: transform .45s var(--ease); }
a:hover > .link-arrow .ico, .link-arrow:hover .ico { transform: translateX(6px); }


/* ==========================================================================
   En-tête : capsule flottante
   ========================================================================== */
.site-header { position: fixed; left: 0; right: 0; top: 14px; z-index: 100; padding: 0 var(--gutter); transition: transform .6s var(--ease); pointer-events: none; }
.site-header.is-hidden { transform: translateY(-140%); }
.capsule {
    pointer-events: auto; position: relative; max-width: var(--container); /* même largeur que le contenu du pied de page */ margin: 0 auto; height: 60px;
    display: flex; align-items: center; gap: 12px; padding: 0 8px 0 22px; border-radius: 999px;
    background: rgba(255, 255, 255, .72); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
    box-shadow: inset 0 0 0 1px var(--line), 0 10px 30px -18px rgba(31,31,84,.35);
    transition: max-width .6s var(--ease), background-color .4s;
}
.site-header.is-scrolled .capsule { background: rgba(255, 255, 255, .92); }
.brand img { width: 62px; }
.capsule__cta { margin-left: auto; }

.nav { margin-left: 18px; display: none; }
.nav__list { display: flex; gap: 2px; }
.nav__link {
    position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 5px;
    padding: 9px 12px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--text); transition: color .3s;
}
.nav__link:hover, .nav__item.is-open > .nav__link { color: var(--ink); }
.nav__link .ico { opacity: .6; transition: transform .45s var(--ease); }
.nav__item.is-open > .nav__link .ico { transform: rotate(180deg); }
.nav__pill { position: absolute; left: 0; top: 0; height: 38px; width: 0; border-radius: 999px; background: rgba(31,31,84,.06); opacity: 0; pointer-events: none; transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s; }

.mega {
    position: absolute; left: 50%; top: calc(100% + 12px); width: min(1000px, calc(100vw - 32px));
    transform: translate(-50%, -8px); background: var(--paper); color: var(--text);
    border-radius: 26px; padding: 18px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg);
    opacity: 0; visibility: hidden; pointer-events: none;
    clip-path: inset(0 0 100% 0 round 26px);
    transition: opacity .3s var(--ease), transform .55s var(--ease), clip-path .6s var(--ease), visibility 0s .6s;
}
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item.is-open > .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); clip-path: inset(0 0 0 0 round 26px); transition-delay: 0s; }
.has-mega--small { position: relative; }
.mega--small { width: 340px; left: 0; transform: translate(-20%, -8px); display: grid; gap: 2px; padding: 10px; }
.nav__item.is-open > .mega--small { transform: translate(-20%, 0); }
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.15fr; gap: 6px; }
.mega--cases { width: min(1080px, calc(100vw - 32px)); }
.mega__grid--cases { grid-template-columns: 2.2fr 1fr 1.05fr; }
.mega__col--others { display: flex; flex-direction: column; padding-left: 14px; border-left: 1px solid var(--line); }
.mega__mini { padding: 6px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink); transition: background-color .25s, color .25s, opacity .45s var(--ease), transform .45s var(--ease); }
.mega__mini:hover { background: var(--bg-2); color: var(--violet); }
.mega .mega__mini { opacity: 0; transform: translateY(6px); }
.nav__item.is-open .mega .mega__mini { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 30ms + 90ms); }
.mega__col--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 6px; align-content: start; }
.mega__col--2 .mega__title { grid-column: 1 / -1; }
.mega__title { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin: 8px 12px 6px; }
.mega__link { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; transition: background-color .25s, transform .45s var(--ease), opacity .45s var(--ease); }
.mega__link .ico, .mega__link img { margin-top: 2px; color: var(--muted); transition: color .25s, transform .45s var(--ease); }
.mega__link strong { display: block; color: var(--ink); font-size: 14.5px; font-weight: 600; }
.mega__link small { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; }
.mega__link:hover { background: var(--bg); }
.mega__link:hover .ico { color: var(--violet); transform: scale(1.1); }
.mega__feature { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 22px; border-radius: 18px; background: var(--ink); color: rgba(255,255,255,.7); font-size: 14px; position: relative; overflow: hidden; }
.mega__feature::after { content: ''; position: absolute; width: 220px; height: 220px; right: -80px; bottom: -90px; border-radius: 50%; background: radial-gradient(closest-side, rgba(112,74,241,.8), transparent); }
.mega__feature strong { color: #fff; font-size: 22px; line-height: 1.1; font-weight: 600; letter-spacing: -.02em; }
.mega__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; position: relative; z-index: 1; }
.mega .mega__link, .mega .mega__feature, .mega .mega__title { opacity: 0; transform: translateY(6px); }
.nav__item.is-open .mega .mega__link, .nav__item.is-open .mega .mega__feature, .nav__item.is-open .mega .mega__title {
    opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease), background-color .25s;
    transition-delay: calc(var(--i, 0) * 30ms + 90ms);
}

/* ---------- Burger + menu mobile ---------- */
.burger { margin-left: 6px; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); display: grid; place-content: center; gap: 5px; position: relative; z-index: 110; }
.burger span { display: block; width: 18px; height: 1.5px; border-radius: 2px; background: #fff; transition: transform .5s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.menu-mobile { position: fixed; inset: 0; z-index: 95; background: var(--bg); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; clip-path: circle(0 at var(--ox, calc(100% - 40px)) var(--oy, 44px)); transition: clip-path .85s var(--ease); }
.menu-mobile.is-open { clip-path: circle(150% at var(--ox, calc(100% - 40px)) var(--oy, 44px)); }
.menu-mobile[hidden] { display: block; visibility: hidden; }
.menu-mobile.is-open[hidden] { visibility: visible; }
.menu-mobile__inner { padding: 110px var(--gutter) 36px; min-height: 100%; display: flex; flex-direction: column; }
.menu-mobile__list > li { border-bottom: 1px solid var(--line); overflow: hidden; }
.menu-mobile__list > li > a, .menu-mobile summary {
    display: flex; justify-content: space-between; align-items: center; padding: 16px 0; list-style: none; cursor: pointer;
    font-size: 28px; font-weight: 700; line-height: 1.15; color: var(--ink);
    transform: translateY(110%); transition: transform .8s var(--ease);
}
.menu-mobile.is-open .menu-mobile__list > li > a, .menu-mobile.is-open summary { transform: none; transition-delay: calc(var(--i, 0) * 70ms + 250ms); }
.menu-mobile summary::-webkit-details-marker { display: none; }
.menu-mobile summary .ico { transition: transform .45s var(--ease); }
.menu-mobile details[open] summary .ico { transform: rotate(45deg); color: var(--violet); }
.menu-mobile__sub { display: grid; padding: 0 0 18px; }
.menu-mobile__sub a { padding: 7px 0; color: var(--muted); }
.menu-mobile__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 16px; opacity: 0; transition: opacity .5s .6s; }
.menu-mobile.is-open .menu-mobile__foot { opacity: 1; }
.menu-mobile__tel { display: inline-flex; gap: 10px; align-items: center; justify-content: center; color: var(--muted); }

@media (min-width: 1200px) { .nav { display: block; } .burger { display: none; } }
@media (max-width: 560px) { .capsule__cta { display: none; } .burger { margin-left: auto; } .capsule { padding-left: 18px; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding: 150px 0 0; overflow: hidden; text-align: center; }
.hero__glow { position: absolute; left: 50%; top: 380px; width: 1100px; height: 700px; transform: translateX(-50%); pointer-events: none;
    background: radial-gradient(50% 50% at 50% 50%, rgba(112,74,241,.18), transparent 70%), radial-gradient(30% 30% at 70% 40%, rgba(255,177,10,.14), transparent 70%); }
.hero__inner { position: relative; }
.announce {
    display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; margin-bottom: 30px; border-radius: 999px;
    background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--text); text-align: left;
    transition: box-shadow .3s;
}
.announce:hover { box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow-sm); }
.announce .ico { color: var(--muted); transition: transform .45s var(--ease); }
.announce:hover .ico { transform: translateX(4px); }
.hero__title { font-size: clamp(36px, 6.4vw, 80px); font-weight: 700; letter-spacing: -.03em; line-height: 1.04; margin: 0 auto 28px; }
/* Titre de la home sur deux lignes exactement : taille calculée pour que la 1re ligne (≈ 13,4 em) tienne */
@media (min-width: 700px) {
    .hero__title { font-size: clamp(36px, calc((100vw - 72px) / 13.9), 80px); }
    .hero__title .line__in { white-space: nowrap; }
}
.line { display: block; overflow: hidden; padding-bottom: .08em; }
.line__in { display: inline-block; }
.hero__lead { font-size: clamp(17px, 1.5vw, 20px); max-width: 640px; margin: 0 auto; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 36px 0 22px; }
.hero__checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.hero__checks li { display: inline-flex; align-items: center; gap: 7px; }
.hero__checks .ico { width: 16px; height: 16px; color: var(--violet); }

/* ---------- Maquette de l'application ---------- */
.mock-wrap { position: relative; margin-top: 70px; perspective: 1600px; }
.mock {
    position: relative; text-align: left; border-radius: 20px; background: var(--paper);
    box-shadow: inset 0 0 0 1px var(--line), var(--shadow-lg); font-size: 13px; color: var(--text);
    transform-origin: 50% 0;
}
.mock__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.mock__dots { display: flex; gap: 6px; }
.mock__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); }
.mock__url { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 8px; background: var(--bg); color: var(--muted); font-size: 12px; }
.mock__body { display: grid; grid-template-columns: 60px 1fr; min-height: 420px; }
.mock__side { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 18px 0; border-right: 1px solid var(--line); color: var(--muted); }
.mock__side .ico { width: 18px; height: 18px; }
.mock__side .is-active { color: var(--violet); }
.mock__logo { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.mock__main { padding: 22px 24px 24px; display: grid; gap: 16px; align-content: start; }
.mock__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.mock__head p { margin: 0; }
.mock__hello { font-size: 20px; font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.mock__sub { color: var(--muted); }
.mock__tools { display: flex; gap: 8px; }
.mock__search { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); min-width: 200px; }
.mock__new { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { padding: 14px 16px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.kpi p { margin: 0; }
.kpi__label { color: var(--muted); font-size: 12px; }
.kpi__value { font-size: 26px; font-weight: 600; color: var(--ink); letter-spacing: -.03em; margin: 4px 0 !important; font-variant-numeric: tabular-nums; }
.kpi__delta { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-weight: 600; font-size: 12px; }
.kpi__meta { color: var(--muted); font-size: 12px; }
.mock__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 12px; }
.panel { padding: 16px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.panel__title { margin: 0 0 12px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; }
.panel__title span { color: var(--muted); font-weight: 400; font-size: 12px; }
.bars { height: 150px; display: flex; align-items: flex-end; gap: 10px; padding-bottom: 20px; }
.bars span { position: relative; flex: 1; height: var(--h); border-radius: 8px 8px 4px 4px; background: var(--violet-soft); transform-origin: bottom; }
.bars span.is-current { background: var(--violet); }
.bars i { position: absolute; left: 0; right: 0; bottom: -20px; text-align: center; font-style: normal; font-size: 11px; color: var(--muted); }
.rows { display: grid; gap: 4px; }
.rows li { display: grid; grid-template-columns: 30px 1fr auto auto; gap: 10px; align-items: center; padding: 8px 6px; border-radius: 10px; }
.rows li:hover { background: var(--bg); }
.rows strong { display: block; color: var(--ink); font-weight: 600; font-size: 13px; }
.rows small { color: var(--muted); font-size: 11px; }
.rows b { color: var(--ink); font-weight: 600; }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; background: var(--c); }
.status { padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.status--peppol { background: var(--violet-soft); color: var(--violet); }
.status--paid { background: rgba(34,160,122,.12); color: var(--green); }
.status--wait { background: rgba(255,177,10,.18); color: #a46d00; }
.mock__toast {
    position: absolute; right: -18px; bottom: 60px; display: flex; gap: 12px; align-items: center; padding: 12px 18px 12px 12px;
    border-radius: 16px; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg);
}
.mock__toast strong { display: block; font-size: 14px; }
.mock__toast small { color: rgba(255,255,255,.6); font-size: 12px; }
.mock__toast-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); }

/* ---------- Maquette fidèle de l'écran d'accueil eKo ---------- */
.mock--eko { --app-dark: #343a40; --app-bg: #f4f4f4; --app-line: #e3e3e3; --app-yellow: #ffb10a; overflow: hidden; border-radius: 16px; background: var(--app-bg); box-shadow: 0 0 0 1px rgba(31,31,84,.12), var(--shadow-lg); font-size: 13px; color: #3c4043; }
.mock--eko + .mock__toast, .mock--eko .mock__toast { z-index: 2; }
.app-top { display: flex; align-items: center; gap: 14px; height: 52px; padding: 0 16px; background: var(--app-dark); color: #fff; }
.app-top__logo { width: 64px; height: auto; margin-right: 22px; }
.app-top__btn { width: 34px; height: 30px; border-radius: 6px; display: grid; place-items: center; background: #2b3035; }
.app-top__search { flex: 0 1 420px; height: 30px; display: flex; align-items: center; padding: 0 12px; border-radius: 4px; background: #4a5057; color: #c9ccd0; font-size: 13px; }
.app-top__user { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 6px; background: #2b3035; font-weight: 700; font-size: 13px; }
.app-body { display: grid; grid-template-columns: 52px 1fr; }
.app-side { display: flex; flex-direction: column; align-items: center; gap: 13px; padding: 16px 0; background: var(--app-dark); color: var(--app-yellow); }
.app-side .ico { width: 17px; height: 17px; stroke-width: 2; opacity: .92; }
.app-side .ico.is-active { opacity: 1; filter: drop-shadow(0 0 6px rgba(255,177,10,.45)); }
.app-main { padding: 22px 26px 26px; min-width: 0; }
.app-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.app-hello { margin: 0; font-size: 26px; font-weight: 600; color: #222; letter-spacing: -.01em; }
.app-create { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 4px; background: var(--app-yellow); color: #222; font-weight: 600; font-size: 14px; box-shadow: 0 2px 6px rgba(255,177,10,.4); }
.app-create .ico { stroke-width: 3; }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.app-card { background: #fff; border: 1px solid var(--app-line); border-radius: 3px; min-width: 0; }
.app-card--wide { grid-column: span 2; }
.app-card__head { display: flex; justify-content: space-between; align-items: center; height: 46px; padding: 0 12px 0 14px; border-bottom: 1px solid var(--app-line); font-weight: 600; color: #222; font-size: 13.5px; }
.app-btns { display: flex; gap: 6px; }
.app-btn { width: 30px; height: 30px; border-radius: 4px; display: grid; place-items: center; background: var(--app-yellow); color: #222; }
.app-btn--light { background: #f1f1f1; color: #555; }
.app-ico { color: #555; display: grid; }
.app-card__body { padding: 12px 14px 14px; }
.app-day { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: #6c757d; font-size: 14px; }
.app-date { width: 34px; height: 32px; border-radius: 3px; display: grid; place-items: center; background: #3ec1f3; color: #1c2a33; font-weight: 700; font-size: 17px; }
.app-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.app-item { display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-bottom: 1px dashed #ececec; }
.app-item:last-child { border-bottom: 0; }
.app-item > b { flex: none; min-width: 38px; color: #222; font-size: 12.5px; }
.app-item > span { min-width: 0; flex: 1; }
.app-item strong { display: block; font-weight: 600; color: #222; font-size: 12.5px; line-height: 1.35; overflow-wrap: anywhere; }
.app-item small { display: block; color: #8a8f94; font-size: 11.5px; line-height: 1.35; }
.app-item--memo { border-left: 3px solid var(--app-yellow); padding-left: 10px; border-bottom-style: solid; }
.app-tag { flex: none; padding: 2px 8px; border-radius: 3px; font-style: normal; font-size: 11px; font-weight: 600; }
.app-tag--orange { background: #fff1d6; color: #9a6200; }
.app-tag--violet { background: var(--violet-soft); color: var(--violet); }
.app-tag--blue { background: #e1f4fd; color: #11729b; }
.app-tag--green { background: #e3f6ef; color: #12785a; }
@media (max-width: 1100px) { .app-grid { grid-template-columns: repeat(2, 1fr); } .app-card--wide { grid-column: span 2; } }
@media (max-width: 860px) {
    .app-body { grid-template-columns: 1fr; }
    .app-side, .app-top__search, .app-top__btn { display: none; }
    .app-grid { grid-template-columns: 1fr; }
    .app-card--wide { grid-column: auto; }
    .app-card:nth-child(n+3) { display: none; }
    .app-main { padding: 16px; }
    .app-hello { font-size: 21px; }
}

@media (max-width: 860px) {
    .mock__body { grid-template-columns: 1fr; }
    .mock__side, .mock__search { display: none; }
    .mock__grid { grid-template-columns: 1fr; }
    .mock__kpis { grid-template-columns: 1fr 1fr; }
    .mock__kpis .kpi:last-child { display: none; }
    .mock__toast { right: 8px; bottom: -24px; }
    .mock__main { padding: 16px; }
}

/* ==========================================================================
   Logos
   ========================================================================== */
.logos { padding: 90px 0 30px; }
.logos__title { text-align: center; font-size: clamp(18px, 1.7vw, 22px); font-weight: 500; color: var(--ink); margin-bottom: 36px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 88px; padding-right: 88px; }
.marquee__group img { height: 64px; width: auto; max-width: 200px; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .65; mix-blend-mode: multiply; transition: filter .3s, opacity .3s; }
/* logos d'intégrations : fichiers sources plus petits, affichés un peu moins haut pour rester nets */
.marquee__group img[src*="/int-"] { height: 44px; max-width: 150px; }
@media (max-width: 600px) { .marquee__group { gap: 56px; padding-right: 56px; } .marquee__group img { height: 48px; } }
@media (max-width: 600px) { .marquee__group img[src*="/int-"] { height: 34px; } }
.marquee__group img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Manifeste
   ========================================================================== */
.manifesto { padding: clamp(72px, 10vw, 140px) 0; }
.manifesto__text { max-width: 1000px; margin: 0 auto; text-align: center; font-size: clamp(28px, 4vw, 52px); line-height: 1.15; letter-spacing: -.03em; color: var(--ink); font-weight: 500; }
html.anim .manifesto__text .w { opacity: .14; }
/* Vidéo seule, en grand, après les fonctionnalités (aucun texte par-dessus) */
.film-section { padding: 0 0 clamp(90px, 11vw, 150px); }
.film { position: relative; overflow: hidden; border-radius: 32px; aspect-ratio: 16 / 9; max-height: 660px; width: 100%; background: var(--ink); box-shadow: var(--shadow-lg); }
.film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__toggle { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.85); color: var(--ink); opacity: .75; transition: opacity .3s, transform .4s var(--ease); }
.film:hover .film__toggle, .film__toggle:focus-visible { opacity: 1; }
.film__toggle .ico { fill: currentColor; stroke: none; }
.film__play, .film.is-paused .film__pause { display: none; }
.film.is-paused .film__play { display: block; }
@media (max-width: 700px) { .film { aspect-ratio: 4 / 3; border-radius: 22px; } .film__video { object-position: 35% center; } }

/* ==========================================================================
   Sections génériques
   ========================================================================== */
.section { padding: clamp(90px, 11vw, 150px) 0; position: relative; }
.section__head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--split { max-width: none; display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; }
.section__head--split > div { max-width: 640px; }
.section__title { font-size: clamp(36px, 5vw, 64px); }
.section__lead { font-size: 19px; margin-top: 22px; color: var(--muted); }
.section__lead a { color: var(--violet); font-weight: 600; }

.checklist { display: grid; gap: 10px; margin: 20px 0 26px; font-size: 15px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .ico { color: var(--violet); margin-top: 3px; width: 17px; height: 17px; }

.spotlight { position: relative; isolation: isolate; }
.spotlight::after {
    content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0;
    background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), var(--spot, rgba(112, 74, 241, .09)), transparent 65%);
    transition: opacity .4s;
}
.spotlight:hover::after { opacity: 1; }

/* ==========================================================================
   Plan interactif des fonctionnalités
   ========================================================================== */
.city { padding: clamp(40px, 6vw, 80px) 0 clamp(90px, 11vw, 150px); }
.city__stage {
    display: grid; grid-template-columns: 1fr; border-radius: 32px; overflow: hidden;
    background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
}
.city__viewport { position: relative; padding: 40px 2% 10px; background: linear-gradient(180deg, #efeaff 0%, #f8f7fd 100%); }
.city__map { position: relative; width: 100%; height: auto; overflow: visible; cursor: pointer; }
.city__map .face { stroke: rgba(31,31,84,.18); stroke-width: .6; stroke-linejoin: round; }
.city__map .road { stroke: none; }
.city__map .grass, .city__map .water { stroke: rgba(31,31,84,.05); }
.city__map .lane { stroke: rgba(255,255,255,.75); stroke-width: 1.4; stroke-dasharray: 7 7; }
.city__map .stripe { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1; }
.city__map .win { fill: rgba(255,255,255,.62); stroke: none; }
.city__map .win--side { fill: rgba(255,255,255,.4); }
.city__map .bld { transition: transform .5s var(--ease), opacity .45s; }
.city__map .bld.is-hot, .city__map .bld.is-selected { transform: translateY(-8px); }
.city__map.has-selection .bld:not(.is-selected):not(.is-hot) { opacity: .75; }
.city__map .pin__bg { fill: #fff; stroke-width: 2; filter: drop-shadow(0 4px 6px rgba(31,31,84,.25)); transition: fill .3s; }
.city__map .pin__ico { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.city__map .bld.is-selected .pin__bg { stroke-width: 3; }
.city__map .fx { pointer-events: none; }
.city__map [data-layer="scene"] { pointer-events: none; }
.city__map .tok { filter: drop-shadow(0 4px 6px rgba(31,31,84,.22)); }
.city__map .tok__txt { font: 700 10px 'DM Sans', sans-serif; }
.city__map .tok__label { font: 600 13px 'DM Sans', sans-serif; fill: #fff; }
.city__map .fx__bg { fill: #fff; stroke-width: 1.5; filter: drop-shadow(0 6px 10px rgba(31,31,84,.2)); }
.city__map .fx__text { font: 600 18px 'DM Sans', sans-serif; fill: var(--ink); }

.city__tip {
    position: absolute; z-index: 4; transform: translate(-50%, -100%); padding: 9px 14px; border-radius: 12px;
    background: var(--ink); color: #fff; font-size: 14px; pointer-events: none; box-shadow: var(--shadow-lg); white-space: nowrap;
}
.city__tip::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: var(--ink); transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.city__tip p { margin: 0; }
.city__tip-title { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.city__tip-title span { width: 9px; height: 9px; border-radius: 3px; }
.city__hint {
    position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); margin: 0; display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.9); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--text); white-space: nowrap;
    transition: opacity .5s, transform .5s var(--ease);
}
.city__hint.is-hidden { opacity: 0; transform: translate(-50%, 10px); pointer-events: none; }

/* Parcours guidé */
.story-btn {
    position: absolute; z-index: 3; left: 18px; top: 18px; display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px; border-radius: 100px; background: var(--ink); color: #fff;
    font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; box-shadow: var(--shadow-sm);
    transition: background-color .3s, transform .4s var(--ease);
}
.story-btn:hover { background: var(--violet); }
.story-btn .ico { fill: currentColor; stroke: none; }
.story {
    position: relative; z-index: 3; max-width: 640px; margin: 0 auto 14px;
    padding: 14px 18px 16px; border-radius: 18px; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
}
.story[hidden] { display: none; }
.story p { margin: 0; }
.story__step { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--violet); }
.story__text { font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; color: var(--ink); line-height: 1.35; margin-top: 2px !important; min-height: 1.35em; }
.story__bar { display: block; height: 4px; margin-top: 12px; border-radius: 4px; background: var(--bg-2); overflow: hidden; }
.story__bar span { display: block; height: 100%; width: 100%; background: var(--violet); transform-origin: left; transform: scaleX(0); transition: transform .8s var(--ease); }
@media (max-width: 600px) { .story__text { font-size: 15px; } .story-btn { left: 12px; top: 12px; } }

/* Explorateur (accordéon des pôles) */
.explorer { display: flex; flex-direction: column; padding: 18px; border-top: 1px solid var(--line); }
.district { border-bottom: 1px solid var(--line); }
.district h3 { font-size: inherit; letter-spacing: 0; }
.district button {
    width: 100%; display: flex; align-items: center; gap: 12px; padding: 15px 8px; text-align: left;
    font-size: 17px; font-weight: 600; color: var(--ink); border-radius: 10px; transition: background-color .25s;
}
.district button:hover { background: var(--bg); }
.district button .ico { margin-left: auto; color: var(--muted); transition: transform .45s var(--ease); }
.district.is-open button .ico { transform: rotate(180deg); }
.district .dot { width: 12px; height: 12px; border-radius: 4px; background: var(--c); flex: none; }
.district__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.district.is-open .district__body { grid-template-rows: 1fr; }
.district__inner { overflow: hidden; min-height: 0; padding: 0 8px; }
.district__body p { margin: 0 0 10px; color: var(--muted); font-size: 15.5px; }
.district__body ul { display: grid; gap: 8px; margin-bottom: 14px; font-size: 15.5px; }
.district__body li { display: flex; gap: 10px; align-items: flex-start; }
.district__body li .ico { width: 17px; height: 17px; margin-top: 3px; color: var(--violet); }
.district__body li a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color .3s; }
.district__body li a:hover { text-decoration-color: var(--violet); }
.district__body .link-arrow { margin-bottom: 18px; color: var(--violet); }
.explorer__foot { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px; border-radius: 14px; background: var(--bg); font-size: 14px; color: var(--muted); transition: background-color .3s; }
.explorer__foot:hover { background: var(--bg-2); }
.explorer__foot .ico { color: var(--violet); margin-top: 1px; }
@media (min-width: 992px) {
    .city__stage { grid-template-columns: 1.45fr 1fr; }
    .city__viewport { padding: 60px 3% 30px; display: flex; flex-direction: column; justify-content: center; }
    .explorer { border-top: 0; border-left: 1px solid var(--line); padding: 22px 24px; max-height: 760px; overflow-y: auto; }
}

/* ==========================================================================
   Facturation électronique
   ========================================================================== */
.fe { background: var(--bg-2); }
.fe__layout { display: grid; gap: 56px; margin-bottom: 64px; }
.fe__logos { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.fe__logos img { height: 92px; width: auto; padding: 14px 20px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.timeline { position: relative; display: grid; gap: 34px; padding-left: 34px; align-content: center; }
.timeline__track { position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.timeline__progress { display: block; width: 100%; height: 100%; background: var(--violet); transform-origin: top; }
.timeline__step { position: relative; }
.timeline__step::before { content: ''; position: absolute; left: -34px; top: 7px; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--violet); }
.timeline__step--eko::before { background: var(--yellow); box-shadow: 0 0 0 6px rgba(255,177,10,.2); }
.timeline__step p { margin: 0; color: var(--muted); }
.timeline__step strong { color: var(--ink); }
.timeline__date { font-size: 22px; font-weight: 700; line-height: 1.1; color: var(--ink) !important; margin-bottom: 6px !important; }
.fe__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 30px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.card h3 { font-size: 26px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .link-arrow { margin-top: auto; padding-top: 8px; }
.card--violet { --spot: rgba(255,255,255,.18); background: var(--violet); box-shadow: none; }
.card--violet h3, .card--violet .link-arrow, .card--violet strong { color: #fff; }
.card--violet p { color: rgba(255,255,255,.8); }
.card--violet .tag { align-self: flex-start; }
@media (min-width: 992px) { .fe__layout { grid-template-columns: 1fr 1fr; gap: 96px; } }
@media (max-width: 900px) { .fe__cards { grid-template-columns: 1fr; } }

/* ==========================================================================
   Fonctionnalités (bento)
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; grid-auto-flow: dense; }
.tile {
    position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: var(--radius);
    background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden;
    transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.tile:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.tile h3 { font-size: 19px; letter-spacing: -.02em; }
.tile p { margin: 0; color: var(--muted); font-size: 14.5px; }
.tile__ico { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--violet-soft); color: var(--violet); margin-bottom: 10px; transition: background-color .4s, color .4s, transform .55s var(--ease); }
.tile:hover .tile__ico { background: var(--violet); color: #fff; transform: rotate(-6deg); }
.tile__go { position: absolute; top: 20px; right: 20px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); opacity: 0; transform: scale(.6) rotate(-45deg); transition: opacity .4s, transform .55s var(--ease); }
.tile__go .ico { width: 16px; height: 16px; }
.tile:hover .tile__go { opacity: 1; transform: none; }
.tile--wide { grid-column: span 2; }
.tile--tall { grid-row: span 2; }
@media (min-width: 992px) { .tile--xwide { grid-column: span 3; } }
.tile--photo { background: var(--ink); box-shadow: none; }
.tile--photo h3 { color: #fff; } .tile--photo p { color: rgba(255,255,255,.7); }
.tile--photo .tile__ico { background: rgba(255,255,255,.1); color: #fff; }
.tile--photo .tile__go { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.tile__img { margin-top: auto; border-radius: 16px; transform: translateY(26px); transition: transform .7s var(--ease); }
.tile--tall:hover .tile__img { transform: translateY(8px); }
.tile__steps { display: grid; gap: 10px; margin-top: auto; padding-top: 18px; }
.tile__steps li { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.9); font-size: 14.5px; font-weight: 600; transition: background-color .3s, transform .45s var(--ease); }
.tile__steps .ico { color: var(--yellow); flex: none; }
.tile--ink { --spot: rgba(255,177,10,.16); background: var(--violet); box-shadow: none; }
.tile--ink h3 { color: #fff; } .tile--ink p { color: rgba(255,255,255,.8); }
.tile--ink .tile__ico { background: rgba(255,255,255,.15); color: #fff; }
.tile--ink .tile__go { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
@media (max-width: 991px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .tile--wide { grid-column: auto; } .tile--tall { grid-row: auto; } }

/* ==========================================================================
   Tarifs
   ========================================================================== */
.pricing { padding-top: 0; }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; perspective: 1400px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px 30px; border-radius: 26px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transform-style: preserve-3d; }
.plan .btn { margin-top: auto; }
.plan__name { font-size: 28px; font-weight: 700; }
.plan__desc { margin: 12px 0 22px; font-size: 15px; color: var(--muted); min-height: 3.2em; }
.plan__price { font-size: 56px; font-weight: 700; color: var(--ink); letter-spacing: -.03em; line-height: 1; margin-bottom: 4px; }
.plan__price small { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan--featured { background: var(--violet); box-shadow: var(--shadow-lg); color: rgba(255,255,255,.9); }
.plan--featured .plan__name, .plan--featured .plan__price { color: #fff; }
.plan--featured .plan__desc, .plan--featured .plan__price small { color: rgba(255,255,255,.82); }
.plan--featured .checklist .ico { color: var(--yellow); }
.plan__tag { position: absolute; top: 22px; right: 22px; padding: 5px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 600; }
@media (max-width: 900px) { .pricing__grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { border-top: 1px solid var(--line); }
.faq__inner { display: grid; gap: 48px; }
.faq__list { display: grid; border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-size: 19px; font-weight: 500; letter-spacing: -.015em; transition: color .3s; }
.faq__item summary:hover h3 { color: var(--violet); }
.faq__item summary .ico { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); transition: transform .5s var(--ease), background-color .3s, color .3s; }
.faq__item[open] summary .ico { transform: rotate(45deg); background: var(--ink); color: #fff; }
.faq__answer { padding: 0 54px 26px 0; color: var(--muted); }
.faq__answer p { margin: 0; }
@media (min-width: 992px) { .faq__inner { grid-template-columns: 1fr 1.5fr; gap: 90px; align-items: start; } .faq__head { position: sticky; top: 130px; } }

/* ==========================================================================
   CTA + footer
   ========================================================================== */
/* Appel à l'action final : aplat clair, titre à gauche, phrase + boutons à droite */
.cta { padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 5vw, 64px); }
.cta__card {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start;
    padding: clamp(28px, 4.5vw, 56px); border-radius: 28px; background: var(--bg-2);
}
.cta__title { font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -.03em; line-height: 1.06; margin: 0; }
.cta__lead { font-size: 18px; color: var(--muted); margin: 0 0 26px; max-width: 440px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta__note { margin: 20px 0 0; font-size: 14px; color: var(--muted); letter-spacing: .01em; }
.cta__blog { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 28px; color: var(--muted); font-size: 15px; transition: color .3s; }
.cta__blog:hover { color: var(--violet); }
@media (max-width: 900px) { .cta__card { grid-template-columns: 1fr; align-items: start; } }
@media (max-width: 560px) { .cta__card { border-radius: 24px; } .cta__actions .btn { width: 100%; } }

.footer { margin-top: 24px; padding: 72px 0 26px; background: #fff; color: var(--muted); font-size: 15px; }
.footer a { transition: color .25s, background-color .25s, box-shadow .25s; }
.footer__top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer__logo { width: 96px; height: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 380px; font-size: 16px; line-height: 1.6; }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.footer__social a:hover { background: var(--yellow); color: var(--ink); box-shadow: none; }
.footer__contact { align-self: end; }
.footer__kicker { margin: 0 0 16px; color: var(--ink); font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.footer__phones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.footer__phone { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--bg-2); color: var(--ink); font-weight: 700; font-size: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.footer__phone:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.footer__phone img { border-radius: 3px; flex: none; box-shadow: 0 0 0 1px var(--line); }
.footer__phone small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.footer__links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 44px 0; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { width: fit-content; }
.footer__col a:hover, .footer__legal a:hover { color: var(--violet); }
.footer__title { color: var(--ink); font-weight: 700; margin: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }
.footer__bottom p { margin: 0; }
.footer__label { width: 78px; height: auto; opacity: .8; }
.footer__legal { margin-left: auto !important; display: flex; gap: 22px; flex-wrap: wrap; }
@media (max-width: 991px) { .footer__top { grid-template-columns: 1fr; } .footer__links { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__phones { grid-template-columns: 1fr; } .footer__legal { margin-left: 0 !important; } }

/* ==========================================================================
   États initiaux des animations (seulement si JS actif et animations permises)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
    html.js.anim [data-reveal] { opacity: 0; transform: translateY(40px); }
    html.js.anim .line__in { transform: translateY(110%); }
    html.js.anim [data-hero-in] { opacity: 0; transform: translateY(20px); }
    html.js.anim .mock { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .marquee__track { animation: none; }
    html.anim .manifesto__text .w { opacity: 1; }
}

.cc-window, .cc-revoke { z-index: 500 !important; font-family: inherit !important; }

/* ==========================================================================
   Bloc « confiance locale » (front/refonte/_trust) : label, hébergement, équipe
   ========================================================================== */
.trust { background: var(--bg-2); }
.trust__head { display: flex; align-items: center; gap: clamp(20px, 3vw, 36px); margin-bottom: clamp(36px, 5vw, 56px); }
.trust__head .eyebrow { margin-bottom: 12px; }
.trust__label { flex: none; width: clamp(84px, 9vw, 120px); height: auto; filter: drop-shadow(0 12px 24px rgba(31,31,84,.18)); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.trust__item { padding: 26px 24px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.trust__item h3 { font-size: 18px; letter-spacing: -.015em; margin: 16px 0 8px; }
.trust__item p { margin: 0; font-size: 15px; color: var(--muted); }
.trust__ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--violet); color: #fff; }
@media (max-width: 1000px) { .trust__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust__grid { grid-template-columns: 1fr; } .trust__head { flex-direction: column; align-items: flex-start; } }

/* Sélecteur de langue FR / EN (en-tête et menu mobile) */
.lang-pill { display: inline-flex; gap: 2px; padding: 3px; margin-left: auto; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); flex: none; }
.lang-pill__item { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted); transition: background-color .25s, color .25s; }
.lang-pill__item:hover { color: var(--ink); }
@media (pointer: coarse) { .lang-pill__item { min-width: 44px; min-height: 44px; } } /* zone tactile 44 px (Apple HIG) */
.lang-pill__item.is-active { background: var(--ink); color: #fff; }
.capsule .lang-pill + .capsule__cta { margin-left: 8px; }
@media (max-width: 560px) { .capsule .lang-pill { margin-left: auto; } .capsule .lang-pill ~ .burger { margin-left: 8px; } }
@media (min-width: 600px) { .cta__title .hl { white-space: nowrap; } }

/* ==========================================================================
   Règles d'interface communes (audit Web Interface Guidelines)
   ========================================================================== */
h1, h2, h3, .section__title { text-wrap: balance; }
p, li, blockquote { text-wrap: pretty; }
a, button, .btn, .chip, summary, label { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
[id] { scroll-margin-top: 96px; }
.plan__price, .sim__date, .aid__big, .steps__num, .cta__num { font-variant-numeric: tabular-nums; }

/* Halo des en-têtes de pages intérieures : contenu dans l'en-tête et fondu en haut et en bas (plus de coupure nette) */
.page-hero .hero__glow, .blog-hero .hero__glow, .article-hero .hero__glow, .cases-hero .hero__glow {
    top: 0; bottom: 0; height: auto; max-height: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 55%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 35%, #000 55%, transparent 100%);
}

/* Derniers articles du blog (home) : 1 à la une + 4 en grille 2×2 ; sur mobile, slider horizontal */
.latest { border-top: 1px solid var(--line); }
.latest .section__head { margin-bottom: clamp(28px, 4vw, 44px); }
.latest__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(20px, 2.5vw, 32px); }
.latest__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); margin: 0; padding: 0; list-style: none; }
.latest__item { min-width: 0; }
.latest__card { display: flex; flex-direction: column; height: 100%; }
.latest__media { display: block; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--bg-2); }
.latest__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.latest__card:hover .latest__media img { transform: scale(1.04); }
.latest__title { font-size: 17px; line-height: 1.3; letter-spacing: -.01em; margin: 14px 0 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.latest__read { margin-top: auto; align-self: flex-start; }
.latest__card--featured { padding: clamp(18px, 2vw, 26px); border-radius: 26px; background: var(--ink); color: #fff; }
.latest__card--featured .latest__media { aspect-ratio: 16 / 11; border-radius: 18px; background: rgba(255,255,255,.08); }
.latest__card--featured .latest__title { color: #fff; font-size: clamp(22px, 2.2vw, 28px); -webkit-line-clamp: 4; }
.latest__flag { margin: 18px 0 -6px; font-size: 13px; font-weight: 700; color: var(--yellow); }
@media (max-width: 900px) { .latest__layout { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
    .latest__layout { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scroll-padding: 0 var(--gutter); }
    .latest__layout::-webkit-scrollbar { display: none; }
    .latest__grid { display: contents; }
    .latest__card--featured, .latest__item { flex: 0 0 82%; scroll-snap-align: start; }
    .latest .section__head .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) { .latest__media img { transition: none; } }

/* Encart « Exemple » au-dessus du plan interactif : étiquette et titre sur une ligne */
.city__intro { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin: 0 auto 26px; font-size: 18px; color: var(--ink); }

/* Bulles de dialogue du parcours guidé (plan interactif) */
.city__map .say__bg, .city__map .say__tail { fill: #fff; stroke-width: 1.5; }
.city__map .say__bg { filter: drop-shadow(0 6px 12px rgba(31,31,84,.18)); }
.city__map .say__text { font: 600 21px 'DM Sans', sans-serif; fill: var(--ink); }

/* Mobile : aucune bande blanche à droite (rien ne dépasse de l'écran) et halo de la home en fondu */
html, body { overflow-x: clip; max-width: 100%; }
.hero .hero__glow { -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 25%, #000 60%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 25%, #000 60%, transparent 100%); }
@media (max-width: 700px) { .hero .hero__glow { width: 160vw; } }

/* Logos facture électronique cliquables */
.fe__logo { display: inline-block; border-radius: 18px; transition: transform .35s var(--ease), box-shadow .35s; }
.fe__logo:hover { transform: translateY(-3px); }
.fe__logo:hover img { box-shadow: inset 0 0 0 1.5px var(--violet); }

/* Mobile : bandeau « Réforme 2026 » masqué sur la home */
@media (max-width: 640px) { .hero .announce { display: none; } }

/* Section suivie de l'encart final : marge basse réduite (évite le grand vide avant l'encart) */
.section:has(+ .cta), .metiers:has(+ .cta), .blog-list:has(+ .cta) { padding-bottom: clamp(32px, 4vw, 56px); }

/* Logos du défilé cliquables */
.marquee__group a { display: block; border-radius: 8px; }
.marquee__group a:focus-visible { outline: 2px solid var(--violet, #704af1); outline-offset: 6px; }
.marquee__group a:hover img, .marquee__group a:focus-visible img { filter: none; opacity: 1; }

/* Méga-menu Fonctionnalités : accès à la page qui les présente toutes */
.mega__all { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 14px 18px; border-radius: 16px; background: var(--bg-2); color: var(--ink); font-size: 15px; transition: background .2s; }
.mega__all small { color: var(--muted); font-size: 13.5px; margin-left: 8px; }
.mega__all:hover, .mega__all:focus-visible { background: var(--violet-soft); }
.mega__all .ico { color: var(--violet); }

/* Home : spot vidéo de 30 s, lancé par le visiteur (son activé, contrôles natifs après le clic) */
.spot__layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.spot__intro .section__lead { margin-bottom: 28px; }
.spot__player { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--violet); box-shadow: var(--shadow-lg); }
.spot__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.spot__play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: 0 12px 40px rgba(31,31,84,.35); transition: transform .4s var(--ease); }
.spot__play .ico { width: 30px; height: 30px; fill: currentColor; stroke: none; margin-left: 4px; }
.spot__play:hover { transform: scale(1.08); }
.spot__play:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.spot.is-playing .spot__play { display: none; }
@media (max-width: 900px) { .spot__layout { grid-template-columns: 1fr; } .spot__player { border-radius: 22px; } .spot__play { width: 68px; height: 68px; } }

/* Grands fonds : dégradé bleu nuit → violet plutôt qu'un aplat bleu nuit */
:root { --grad-ink: linear-gradient(135deg, #1f1f54 0%, #3b2a96 55%, #704af1 100%); }
.mega__feature, .latest__card--featured { background: var(--grad-ink); }
.mega__feature::after { display: none; }

/* Page Luxembourg : logo Made in Luxembourg en grand */
.trust--big .trust__head { gap: clamp(28px, 4vw, 56px); }
.trust--big .trust__label { width: clamp(150px, 17vw, 240px); }

/* Catégorie d'article : étiquette violette, texte blanc, posée sur la photo (blog et accueil) */
.tag--cat { padding: 6px 13px; background: var(--violet); color: #fff; font-size: 13px; letter-spacing: .01em; box-shadow: 0 6px 18px -6px rgba(31, 31, 84, .4); }
.latest__media { position: relative; }
.latest__cats { position: absolute; left: 12px; top: 12px; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; }

/* Mobile : cartes du slider d'articles en carte blanche avec ombre (marge pour que l'ombre ne soit pas coupée) */
@media (max-width: 640px) {
    .latest__layout { padding-top: 6px; padding-bottom: 28px; }
    .latest__item .latest__card { padding: 12px 12px 16px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 14px 30px -14px rgba(31, 31, 84, .28); }
    .latest__item .latest__media { border-radius: 12px; }
    .latest__card--featured { box-shadow: 0 14px 30px -14px rgba(31, 31, 84, .4); }
}

/* Menu Métiers : métiers à gauche (2 colonnes), besoins au centre, carte « tous les métiers » à droite */
.mega__grid--cases { grid-template-columns: 1.35fr 1.35fr 1fr; }
.mega__col--metiers { display: grid; grid-template-columns: 1fr 1fr; gap: 0 6px; align-content: start; }
.mega__col--metiers .mega__title { grid-column: 1 / -1; }
.mega__col--besoins { display: flex; flex-direction: column; padding-left: 14px; border-left: 1px solid var(--line); }
.menu-mobile__label { margin: 10px 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--violet); }
.menu-mobile__label:first-child { margin-top: 0; }

/* Menu Métiers : 4 colonnes (métiers, profils, besoins, carte) */
.mega--cases { width: min(1240px, calc(100vw - 32px)); }
.mega__grid--cases { grid-template-columns: 1.3fr 1fr 1fr .8fr; }
.mega__col--metiers .mega__mini { font-size: 13.5px; }

/* Menu Métiers : métiers en 3e colonne, une ligne par métier avec son icône */
.mega__grid--cases { grid-template-columns: 1.05fr 1.05fr .9fr .85fr; }
.mega__col--metiers { display: flex; flex-direction: column; gap: 0; padding-left: 14px; border-left: 1px solid var(--line); }
.mega__col--metiers .mega__mini { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 14px; padding: 6px 10px; }
.mega__col--metiers .mega__mini .ico { flex: none; width: 17px; height: 17px; color: var(--muted); transition: color .25s; }
.mega__col--metiers .mega__mini:hover .ico { color: var(--violet); }

/* Méga-menus : même largeur que la capsule du menu et le pied de page */
.mega:not(.mega--small), .mega--cases { width: min(var(--container), calc(100vw - var(--gutter) * 2)); }
/* Moins de marge au-dessus du pied de page */
main > .section:last-child { padding-bottom: clamp(48px, 6vw, 80px); }
.footer { padding-top: 56px; }
/* Accueil mobile : sans vidéo, sans plan interactif ni FAQ */
@media (max-width: 767px) {
    .film-section, .city, .faq--home { display: none; }
}

/* Méga-menu Métiers : renvoi vers tous les métiers */
.mega__col--metiers .mega__mini--more { color: var(--violet); }
.mega__col--metiers .mega__mini--more .ico { color: var(--violet); }

/* Pied de page : lien Conselio */
.footer__bottom p a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.footer__bottom p a:hover { color: var(--violet); text-decoration-color: currentColor; }

/* Bandeau cookies (cookieconsent) aux couleurs du nouveau site : carte blanche, boutons pilule */
.cc-window.cc-floating { font-family: 'DM Sans', system-ui, sans-serif !important; max-width: 380px !important; padding: 22px 22px 18px !important; border-radius: 20px !important;
    background: #fff !important; color: var(--text) !important; font-size: 14.5px !important; line-height: 1.55 !important;
    box-shadow: 0 0 0 1px var(--line), 0 30px 70px -24px rgba(31, 31, 84, .4) !important; }
.cc-window.cc-floating.cc-right { right: 20px !important; bottom: 20px !important; }
.cc-window .cc-message { margin: 0 0 16px !important; color: var(--text) !important; }
.cc-window .cc-link { padding: 0 !important; color: var(--violet) !important; opacity: 1 !important; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cc-window .cc-compliance { display: flex !important; gap: 10px; align-items: stretch; }
.cc-window .cc-btn { flex: 1 1 0 !important; margin: 0 !important; padding: 12px 16px !important; border: 0 !important; border-radius: 999px !important;
    font-family: inherit !important; font-size: 12.5px !important; font-weight: 700 !important; letter-spacing: .06em; text-transform: uppercase; transition: background-color .25s, color .25s; }
.cc-window .cc-btn.cc-allow { background: var(--violet) !important; color: #fff !important; }
.cc-window .cc-btn.cc-allow:hover { background: var(--ink) !important; }
.cc-window .cc-btn.cc-deny { background: var(--bg-2) !important; color: var(--ink) !important; }
.cc-window .cc-btn.cc-deny:hover { background: var(--violet-soft) !important; }
.cc-window .cc-btn:focus-visible, .cc-window .cc-link:focus-visible { outline: 2px solid var(--violet) !important; outline-offset: 2px; }
.cc-revoke { font-family: 'DM Sans', system-ui, sans-serif !important; padding: 8px 14px !important; border-radius: 12px 12px 0 0 !important; background: #fff !important; color: var(--ink) !important;
    font-size: 13px !important; font-weight: 600; box-shadow: 0 0 0 1px var(--line), 0 -8px 24px -14px rgba(31, 31, 84, .3) !important; }
@media (max-width: 600px) {
    .cc-window.cc-floating, .cc-window.cc-floating.cc-right { left: 12px !important; right: 12px !important; bottom: 12px !important; max-width: none !important; }
}
/* Bandeau cookies : libellés en minuscules pour que « Autoriser les cookies » tienne sur une ligne */
.cc-window .cc-btn { flex: 1 1 auto !important; white-space: nowrap; text-transform: none; letter-spacing: 0; font-size: 14px !important; padding: 12px 14px !important; }
.cc-window .cc-btn.cc-deny { flex: 0 1 auto !important; }

/* eKo en situation : ordinateur, tablette et smartphone (accueil) */
.devices { overflow: hidden; }
.devices__stage { position: relative; perspective: 1800px; max-width: 640px; margin: clamp(36px, 5vw, 64px) auto 0; padding: 0 0 clamp(40px, 6vw, 70px); }
.device { margin: 0; }
.device figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.device__screen { overflow: hidden; background: #fff; }
.device__screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.device--laptop { width: 78%; margin: 0 auto; }
.device--laptop .device__screen { transform-origin: 50% 100%; aspect-ratio: 16 / 10; border: 12px solid #1f1f2a; border-bottom-width: 18px; border-radius: 18px 18px 0 0; }
.device__base { height: 16px; margin: 0 -7%; border-radius: 0 0 18px 18px; background: linear-gradient(#d9d9e3, #b9b9c8); box-shadow: 0 30px 50px -20px rgba(31, 31, 84, .45); }
.device--tablet { position: absolute; left: 0; bottom: 0; width: 36%; }
.device--tablet .device__screen { aspect-ratio: 16 / 10; border: 12px solid #1f1f2a; border-radius: 22px; box-shadow: 0 30px 60px -24px rgba(31, 31, 84, .55); }
.device--phone { position: absolute; right: 2%; bottom: 0; width: 17%; }
.device--phone .device__screen { aspect-ratio: 390 / 844; border: 8px solid #1f1f2a; border-radius: 30px; box-shadow: 0 30px 60px -24px rgba(31, 31, 84, .55); }
@media (max-width: 767px) {
    .device--laptop { width: 100%; }
    .device--laptop .device__screen { border-width: 7px; border-bottom-width: 10px; border-radius: 12px 12px 0 0; }
    .device__base { height: 10px; margin: 0 -5%; }
    .device--tablet { width: 50%; left: 0; bottom: 0; }
    .device--tablet .device__screen { border-width: 7px; border-radius: 14px; }
    .device--phone { width: 25%; right: 0; bottom: 0; }
    .device--phone .device__screen { border-width: 5px; border-radius: 18px; }
    .devices__stage { padding-bottom: 56px; max-width: 400px; }
}

/* Encart « Suivez-nous » (blog, contact) : texte à gauche, visuel téléphone à droite */
.social-cta__card { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: clamp(20px, 3vw, 40px); padding: clamp(32px, 5vw, 64px) clamp(28px, 5vw, 64px) 0; border-radius: 28px; background: var(--bg-2); overflow: hidden; }
.social-cta__text { align-self: center; padding-bottom: clamp(32px, 5vw, 64px); }
.social-cta__text .section__title { margin: 0; }
.social-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.social-cta__actions .ico { width: 18px; height: 18px; }
.social-cta__visual { position: relative; justify-self: end; width: 100%; max-width: 440px; }
.social-cta__img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
/* réactions (pouces, cœurs…) qui sortent du haut du téléphone, entre les bulles violettes, et passent derrière le texte */
.social-cta__text { position: relative; z-index: 2; }
.social-cta__reacts { --rise: 170px; position: absolute; inset: 27% 0 auto 0; height: 0; z-index: 1; pointer-events: none; }
.social-cta__reacts span { position: absolute; left: var(--x); bottom: 0; margin-left: -18px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: 0 8px 20px -8px rgba(31, 31, 84, .45); font-size: 19px; line-height: 1; opacity: 0; animation: react-up 6.3s var(--d) ease-out infinite; }
@keyframes react-up {
    0% { transform: translate(0, 0) scale(.4); opacity: 0; }
    10% { opacity: 1; transform: translate(0, calc(var(--rise) * -.1)) scale(1); }
    40% { transform: translate(-3px, calc(var(--rise) * -.5)) scale(1); }
    62% { transform: translate(3px, calc(var(--rise) * -.78)) scale(.95); opacity: 1; }
    80% { transform: translate(-2px, calc(var(--rise) * -1)) scale(.9); opacity: 0; }
    100% { transform: translate(-2px, calc(var(--rise) * -1)) scale(.9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .social-cta__reacts { display: none; } }
@media (max-width: 860px) {
    .social-cta__card { grid-template-columns: 1fr; padding-bottom: 0; }
    .social-cta__text { padding-bottom: 0; }
    .social-cta__visual { max-width: 320px; justify-self: center; }
    .social-cta__reacts { --rise: 205px; }
    .social-cta__reacts span { width: 32px; height: 32px; margin-left: -16px; font-size: 17px; }
}

/* Version France / Luxembourg (html[data-pays], posé dans le <head>) */
html[data-pays="fr"] .hide-fr, html[data-pays="lu"] .hide-lu, html:not([data-pays]) .hide-none { display: none !important; }

/* Accueil : maquette eKo un peu plus compacte (ordinateur et mobile) */
.mock-wrap .mock--eko { max-width: 1080px; margin-inline: auto; }
@media (max-width: 767px) { .mock-wrap { margin-top: 44px; } .mock-wrap .mock--eko { max-width: 92%; } }

/* Accueil : blocs Luxembourg (Made in Luxembourg, wallee, SME Packages), visibles seulement si html[data-pays="lu"] */
html:not([data-pays="lu"]) .only-lu { display: none !important; }
.lu-home .aid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; padding: clamp(30px, 4.5vw, 60px); border-radius: 32px; background: var(--ink); color: rgba(255,255,255,.75); }
.lu-home .aid h2 { color: #fff; font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 18px; }
.lu-home .aid .checklist { color: #fff; margin: 0; }
.lu-home .aid .checklist .ico { color: var(--yellow); }
.lu-home .aid__big { font-size: clamp(64px, 9vw, 120px); font-weight: 700; color: var(--yellow); line-height: 1; letter-spacing: -.04em; }
.lu-home .aid small { display: block; margin-top: 18px; font-size: 13.5px; color: rgba(255,255,255,.55); }
.lu-home .aid__quote { font-size: 18px; line-height: 1.6; color: #fff; margin: 18px 0 12px; }
.lu-home .aid__label { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin: 0 0 12px; }
.lu-home .aid__contacts { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.lu-home .aid__contacts a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-weight: 600; }
.lu-home .aid__contacts a:hover { background: var(--yellow); color: var(--ink); }
.lu-home .wallee-head { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: clamp(24px, 4vw, 56px); margin-bottom: clamp(28px, 4vw, 48px); }
.lu-home .wallee-head .section__head { margin-bottom: 24px; }
.lu-home .wallee-head__img { position: relative; justify-self: center; display: block; width: min(100%, 300px); }
.lu-home .wallee-head__img img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(31, 31, 84, .25)); }
.lu-home .wallee-float { display: block; animation: wallee-float 5s ease-in-out infinite; }
@keyframes wallee-float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-12px) rotate(1.5deg); } }
@media (max-width: 900px) { .lu-home .aid { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .lu-home .wallee-head { grid-template-columns: 1fr; } .lu-home .wallee-head__img { width: 200px; } }
@media (prefers-reduced-motion: reduce) { .lu-home .wallee-float { animation: none; } }

/* Accueil : autant d'espace sous le manifeste qu'au-dessus */
.manifesto + .devices { padding-top: 0; }
.manifesto:has(+ .devices) { padding-bottom: clamp(56px, 8vw, 116px); }


/* Barre de progression de lecture (violette, très fine) et barre de défilement bleu nuit */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--violet); transform: scaleX(0); transform-origin: 0 50%; }
html { scrollbar-color: var(--ink) #ececf4; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #ececf4; }
::-webkit-scrollbar-thumb { border: 2px solid #ececf4; border-radius: 999px; background: var(--ink); }
::-webkit-scrollbar-thumb:hover { background: #2c2c75; }
.footer__label-link { display: inline-flex; flex: none; border-radius: 8px; transition: opacity .2s; }
.footer__label-link:hover { opacity: .75; }

/* Accueil : marge sous la maquette, halo étiré jusqu'en bas du héros (fondu, plus de coupure nette) */
.hero { padding-bottom: clamp(56px, 8vw, 110px); }
.hero .hero__glow { height: auto; bottom: 0; }
/* Titre de l'accueil sur mobile : le texte coule et se répartit en lignes équilibrées */
@media (max-width: 699px) {
    .hero__title { text-wrap: balance; }
    .hero__title .line, .hero__title .line__in { display: inline; }
}
/* « eKo en situation » un peu plus petit */
.devices__stage { max-width: 560px; }
@media (max-width: 767px) { .devices__stage { max-width: 300px; padding-bottom: 46px; } }

/* Accueil : plus d'air autour du manifeste ; tablette et téléphone décalés hors du bord de l'ordinateur */
.manifesto { padding: clamp(96px, 12vw, 170px) 0; }
.manifesto:has(+ .devices) { padding-bottom: clamp(80px, 10vw, 140px); }
.devices__stage .device--tablet { left: -9%; }
.devices__stage .device--phone { right: -7%; }
@media (max-width: 767px) { .devices__stage .device--tablet { left: -8%; } .devices__stage .device--phone { right: -6%; } }

/* Bouton flottant « Cookies » masqué une fois les cookies acceptés (le choix reste modifiable depuis la page Cookies) */
.cc-accepted .cc-revoke { display: none !important; }
