/* ==========================================================================
   GPS Tracker Maroc — Design system (rouge · blanc · gris foncé)
   Design SaaS : typographie nette, cartes à coins arrondis, ombres douces, interfaces produit. Aucune dépendance :
   polices système, CSS pur, mobile d'abord.
   Sommaire : 1 Tokens · 2 Base · 3 Mise en page · 4 Boutons & badges ·
   5 Header · 6 Hero · 7 Visuel produit · 8 Sections · 9 Cartes · 10 Carte de
   couverture · 11 Tarifs · 12 FAQ · 13 Pages de contenu · 14 Footer ·
   15 Barre mobile · 16 Animations · 17 Impression
   ========================================================================== */

/* 1 — TOKENS ------------------------------------------------------------- */
:root {
    --ink: #10292b;
    --ink-2: #2f4a4c;
    --muted: #566b6d;
    --line: #e1ecec;
    --line-strong: #c9dada;
    --bg: #ffffff;
    --bg-alt: #f3f8f8;
    --bg-tint: #f0faf9;

    --brand: #00a39e;
    --brand-600: #008c88;
    --brand-700: #007572;
    --brand-800: #0b4f50;
    --brand-100: #c4ece9;
    --brand-50: #e6f6f5;
    --amber: #083f43;
    --amber-600: #00a39e;
    --amber-50: #e6f6f5;
    --danger: #e5484d;
    --ok: #16a34a;

    --dark: #062f32;
    --dark-2: #0b4f50;
    --dark-line: rgba(255, 255, 255, .12);

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-sm: 0 1px 2px rgba(16, 41, 43, .06), 0 1px 1px rgba(16, 41, 43, .04);
    --shadow: 0 4px 12px rgba(16, 41, 43, .05), 0 14px 32px rgba(16, 41, 43, .08);
    --shadow-lg: 0 12px 24px rgba(16, 41, 43, .08), 0 36px 72px rgba(16, 41, 43, .16);

    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --header-h: 68px;
    --gutter: clamp(18px, 4.5vw, 36px);
    --ease: cubic-bezier(.22, .8, .24, 1);
}

/* 2 — BASE --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink-2);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-700); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--brand-800); text-decoration: underline; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--brand-100); color: var(--ink); }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { padding-left: 1.25em; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); font-weight: 700; letter-spacing: -.022em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.4rem + 5.2vw, 5rem); letter-spacing: -.04em; line-height: 1.03; font-weight: 750; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3.1rem); letter-spacing: -.034em; line-height: 1.08; }
h3 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); letter-spacing: -.018em; line-height: 1.25; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); line-height: 1.55; color: var(--muted); max-width: 46ch; }
.grad {
    color: var(--brand-700);
    background: linear-gradient(100deg, #007572 0%, #00a39e 55%, #3cc9c3 100%);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* 3 — MISE EN PAGE ------------------------------------------------------- */
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--tint { background: linear-gradient(180deg, var(--bg-tint), #fff); }
.section--dark { background: var(--dark); color: #c3c8cf; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: #aab0b8; }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section-head { max-width: 780px; margin: 0 auto clamp(36px, 5vw, 64px); text-align: center; }
.section-head .lead { margin-inline: auto; }
.section-head--left { margin-inline: 0; text-align: left; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-700); }
.section--dark .eyebrow { color: #5fd9d3; }
.split { display: grid; gap: clamp(28px, 5vw, 72px); grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.split--center { align-items: center; }
.split--single { grid-template-columns: minmax(0, 780px); justify-content: center; }
.split--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.5vw, 48px); }
.stack > * + * { margin-top: 1.25rem; }
.center { text-align: center; }
@media (max-width: 880px) {
    .split, .split--3 { grid-template-columns: minmax(0, 1fr); }
    .split--reverse > :first-child { order: 2; }
}

/* 4 — BOUTONS & BADGES --------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px;
    font-size: 1rem; font-weight: 600; line-height: 1; white-space: nowrap; text-decoration: none !important;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--brand-700); color: #fff; box-shadow: 0 1px 2px rgba(10, 106, 100, .3), 0 8px 20px rgba(0, 117, 114, .28); }
.btn--primary:hover { background: var(--brand-800); color: #fff; transform: translateY(-1px); box-shadow: 0 2px 4px rgba(10, 106, 100, .3), 0 14px 28px rgba(0, 117, 114, .34); }
.btn--secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn--secondary:hover { color: var(--ink); border-color: var(--ink-2); transform: translateY(-1px); }
.btn--ghost { color: var(--ink-2); background: transparent; }
.btn--ghost:hover { color: var(--ink); background: rgba(16, 41, 43, .05); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { color: var(--ink); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(0, 0, 0, .25); }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn--outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--whatsapp { background: #1fa855; color: #fff; }
.btn--whatsapp:hover { background: #178a45; color: #fff; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .94rem; }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 1.08rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.eyebrow .badge { text-transform: none; letter-spacing: 0; font-size: .88rem; text-align: left; }
.badge .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(22, 163, 74, .18); }

/* 5 — HEADER ------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); display: flex; align-items: center; }
/* Le fond flouté vit dans un pseudo-élément : un backdrop-filter sur l'en-tête lui-même
   piégerait le menu mobile (position: fixed) à l'intérieur de sa hauteur de 68 px. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid transparent; transition: border-color .25s, background-color .25s; }
.site-header.is-scrolled::before { border-color: var(--line); background: rgba(255, 255, 255, .88); }
.nav { display: flex; align-items: center; gap: 24px; width: 100%; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 12px; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border: 0; background: none; border-radius: 999px; font-size: .97rem; font-weight: 550; color: var(--ink-2); text-decoration: none; }
.nav-link:hover, .nav-item.is-open > .nav-link { color: var(--ink); background: rgba(16, 41, 43, .05); text-decoration: none; }
.nav-link[aria-current="page"] { color: var(--brand-700); }
.nav-link .chev { width: 10px; height: 10px; transition: transform .2s; }
.nav-item.is-open > .nav-link .chev { transform: rotate(180deg); }
.menu { position: absolute; top: calc(100% + 10px); left: 50%; min-width: 280px; padding: 10px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; }
.menu--wide { min-width: 460px; }
.nav-item.is-open > .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 981px) {
    .nav-item:hover > .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
    .nav-item:hover > .nav-link { color: var(--ink); background: rgba(16, 41, 43, .05); }
    .nav-item:hover > .nav-link .chev { transform: rotate(180deg); }
    .nav-item:hover > .menu::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
}
.menu a { display: block; padding: 10px 14px; border-radius: 12px; color: var(--ink-2); font-weight: 550; font-size: .97rem; text-decoration: none; }
.menu a:hover { background: var(--bg-alt); color: var(--ink); }
.menu a small { display: block; margin-top: 1px; font-weight: 400; font-size: .84rem; color: var(--muted); }
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.menu-foot { display: block; margin: 8px -10px -10px; padding: 14px 24px !important; border-top: 1px solid var(--line); border-radius: 0 0 20px 20px !important; background: var(--bg-alt); color: var(--brand-700) !important; font-weight: 650 !important; }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s, top .25s var(--ease); }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.menu-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 980px) {
    .nav-toggle { display: block; }
    .nav-actions .btn--ghost, .nav-actions .btn--primary { display: none; }
    .nav-links { position: fixed; inset: var(--header-h) 0 0 0; margin: 0; padding: 12px var(--gutter) 120px; flex-direction: column; align-items: stretch; gap: 0; background: #fff; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .22s, transform .22s var(--ease), visibility .22s; }
    .menu-open .nav-links { opacity: 1; visibility: visible; transform: none; }
    .menu-open { overflow: hidden; }
    .nav-item { border-bottom: 1px solid var(--line); padding: 8px 0 14px; }
    .nav-link { padding: 12px 0; font-size: 1.15rem; font-weight: 700; color: var(--ink); background: none !important; pointer-events: none; }
    .nav-link .chev { display: none; }
    .menu, .menu--wide { position: static; min-width: 0; padding: 0; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; background: none; }
    .menu a { padding: 11px 4px; font-size: 1.02rem; font-weight: 500; }
    .menu a small { display: none; }
    .menu-grid { grid-template-columns: repeat(2, 1fr); }
    .menu-foot { margin: 6px 0 0; padding: 12px 4px !important; border: 0; background: none; }
    .nav-links .nav-mobile-cta { display: flex; margin-top: 20px; }
}
.nav-mobile-cta { display: none; flex-direction: column; gap: 10px; }

/* 6 — HERO --------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 8vw, 110px); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(60% 55% at 85% 12%, rgba(0, 163, 158, .13), transparent 70%),
    radial-gradient(45% 50% at 10% 0%, rgba(0, 163, 158, .10), transparent 70%),
    radial-gradient(50% 60% at 60% 100%, rgba(16, 41, 43, .05), transparent 70%),
    linear-gradient(180deg, #fdfdfd 0%, #fff 100%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; opacity: .55; -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent 75%); mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 22px; font-size: clamp(2.1rem, 1.3rem + 3.1vw, 3.7rem); line-height: 1.07; letter-spacing: -.035em; }
.hero .lead { margin-bottom: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 34px 0 0; padding: 0; list-style: none; font-size: .95rem; color: var(--muted); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--brand-700); flex: none; }
.hero--center { text-align: center; }
.hero--center .lead { margin-inline: auto; }
.hero--center .btn-row, .hero--center .hero-trust { justify-content: center; }
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: minmax(0, 1fr); }
    .hero-copy { text-align: center; }
    .hero-copy .lead { margin-inline: auto; }
    .hero-copy .btn-row, .hero-copy .hero-trust { justify-content: center; }
}

/* Hero des pages internes et des villes */
.page-hero { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 56px) 0 clamp(44px, 6vw, 84px); isolation: isolate; }
.page-hero .hero-bg { background:
    radial-gradient(50% 70% at 90% 0%, rgba(0, 163, 158, .10), transparent 70%),
    radial-gradient(40% 60% at 0% 0%, rgba(0, 163, 158, .08), transparent 70%),
    linear-gradient(180deg, #fdfdfd, #fff); }
.page-hero h1 { font-size: clamp(2rem, 1.15rem + 3.5vw, 3.6rem); max-width: 22ch; }
.page-hero .lead { margin-bottom: 28px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 920px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); } }
.crumbs { margin: 0 0 clamp(20px, 3vw, 36px); padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink-2); font-weight: 600; }

/* 7 — VISUEL PRODUIT (maquette d'interface) ------------------------------- */
.mock { position: relative; max-width: 640px; margin-inline: auto; }
.mock-window { border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transition: transform .6s var(--ease); }
.mock:hover .mock-window { transform: perspective(1600px) rotateY(0) rotateX(0); }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fafafb; }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e3e5e8; }
.mock-bar i:nth-child(1) { background: #ff6b64; } .mock-bar i:nth-child(2) { background: #ffc13c; } .mock-bar i:nth-child(3) { background: #2fd158; }
.mock-bar b { margin-left: 10px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.mock-body { display: grid; grid-template-columns: 188px minmax(0, 1fr); min-height: 380px; }
.mock-list { padding: 14px; border-right: 1px solid var(--line); background: #fafafb; }
.mock-list h4 { margin: 2px 4px 10px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mock-veh { display: flex; align-items: center; gap: 10px; padding: 10px; margin-bottom: 6px; border-radius: 12px; font-size: .84rem; line-height: 1.25; color: var(--ink-2); }
.mock-veh b { display: block; color: var(--ink); font-size: .86rem; }
.mock-veh span { font-size: .75rem; color: var(--muted); }
.mock-veh.is-active { background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.mock-veh .st { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(22, 163, 74, .16); }
.mock-veh .st.idle { background: var(--amber); box-shadow: 0 0 0 3px rgba(8, 63, 67, .18); }
.mock-veh .st.off { background: #aab0b8; box-shadow: none; }
.mock-map { position: relative; background: #eceff2; }
.mock-map svg { width: 100%; height: 100%; min-height: 380px; }
.mock-chip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow); font-size: .85rem; line-height: 1.3; color: var(--muted); animation: floaty 7s ease-in-out infinite; }
.mock-chip b { display: block; color: var(--ink); font-size: .9rem; }
.mock-chip .ic { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; }
.mock-chip .ic svg { width: 20px; height: 20px; }
.mock-chip--alert { right: -18px; top: 70px; }
.mock-chip--alert .ic { background: var(--amber-50); color: var(--amber-600); }
.mock-chip--trip { left: 28px; bottom: -30px; animation-delay: -3.2s; }
.mock-chip--trip .ic { background: var(--brand-50); color: var(--brand-700); }
.route-line { stroke-dasharray: 6 9; animation: dash 1.6s linear infinite; }
.pin-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
@keyframes dash { to { stroke-dashoffset: -30; } }
@keyframes pulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 640px) {
    .mock-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .mock-list { display: none; }
    .mock-map svg { min-height: 300px; }
    .mock-window { transform: none; }
    .mock-chip--alert { right: -6px; top: 38px; }
    .mock-chip--trip { left: 8px; bottom: -22px; }
    .mock-chip { padding: 9px 12px; font-size: .78rem; }
}

/* 8 — SECTIONS ----------------------------------------------------------- */
/* Bandeau de chiffres */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.stat { padding: 28px 24px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; white-space: nowrap; font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.25rem); font-weight: 750; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.stat span { font-size: .92rem; color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; min-height: 320px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius-xl); background: #fff; color: var(--muted); overflow: hidden; text-decoration: none !important; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); color: var(--muted); }
.tile h3 { margin-bottom: 8px; }
.tile p { margin: 0; max-width: 40ch; }
.tile--wide { grid-column: span 2; }
.tile--tint { background: linear-gradient(160deg, var(--brand-50), #fff 60%); }
.tile--amber { background: linear-gradient(160deg, var(--amber-50), #fff 60%); }
.tile--dark { background: var(--dark); border-color: var(--dark); color: #aab0b8; }
.tile--dark h3 { color: #fff; }
.tile--dark:hover { color: #aab0b8; }
.tile-visual { flex: 1; display: flex; align-items: flex-end; min-height: 120px; }
.tile-visual svg { width: 100%; height: auto; max-height: 190px; }
.tile .link-arrow { margin-top: 14px; font-size: .95rem; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile--wide { grid-column: span 2; } }
@media (max-width: 640px) { .bento { grid-template-columns: minmax(0, 1fr); } .tile--wide { grid-column: auto; } .tile { min-height: 0; } }

/* Visuels internes des tuiles */
.notifs { display: grid; gap: 10px; width: 100%; }
.notif { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); font-size: .86rem; line-height: 1.3; color: var(--muted); }
.notif b { display: block; color: var(--ink); font-size: .9rem; }
.notif .ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--amber-50); color: var(--amber-600); }
.notif .ic svg { width: 19px; height: 19px; }
.bigstat { display: flex; align-items: baseline; gap: 10px; color: var(--ink); }
.bigstat b { font-size: clamp(3.4rem, 2.6rem + 3vw, 4.8rem); font-weight: 750; letter-spacing: -.05em; line-height: 1; background: linear-gradient(100deg, var(--brand-700), var(--amber-600)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.bigstat span { color: var(--muted); font-weight: 600; }
.chips--dark .chip { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #d9dde2; }
.photo { width: 100%; height: auto; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); object-fit: cover; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: step; position: relative; }
.step { position: relative; padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 14px; background: var(--brand-700); color: #fff; font-weight: 700; font-size: 1.1rem; box-shadow: 0 8px 20px rgba(0, 117, 114, .3); }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; }
@media (max-width: 880px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Cas d'usage (section sombre) */
.persona-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.persona { display: flex; flex-direction: column; padding: 32px 28px; border: 1px solid var(--dark-line); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); color: #aab0b8; text-decoration: none !important; transition: transform .3s var(--ease), border-color .3s, background .3s; }
.persona:hover { transform: translateY(-4px); border-color: rgba(95, 217, 211, .55); background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03)); color: #aab0b8; }
.persona .ic { width: 48px; height: 48px; margin-bottom: 20px; border-radius: 14px; display: grid; place-items: center; background: rgba(0, 163, 158, .18); color: #5fd9d3; }
.persona .ic svg { width: 26px; height: 26px; }
.persona ul { margin: 14px 0 22px; padding: 0; list-style: none; font-size: .96rem; }
.persona li { position: relative; padding: 5px 0 5px 24px; }
.persona li::before { content: ""; position: absolute; left: 0; top: 13px; width: 12px; height: 7px; border-left: 2px solid #5fd9d3; border-bottom: 2px solid #5fd9d3; transform: rotate(-45deg) scale(.9); }
.persona .link-arrow { margin-top: auto; color: #5fd9d3; }
@media (max-width: 880px) { .persona-grid { grid-template-columns: minmax(0, 1fr); } }

/* Bandeau d'appel à l'action */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px); text-align: center; color: #cfeeeb; background:
    radial-gradient(60% 90% at 100% 0%, rgba(252, 176, 64, .35), transparent 60%),
    radial-gradient(60% 90% at 0% 100%, rgba(0, 163, 158, .35), transparent 60%),
    linear-gradient(135deg, #0b4f50, #0b4f52 60%, #0a3a46); }
.cta-band h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.cta-band p { max-width: 54ch; margin: 0 auto 28px; font-size: 1.12rem; color: #cfeeeb; }
.cta-band .btn-row { justify-content: center; }

/* 9 — CARTES & LISTES ---------------------------------------------------- */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 880px) { .cards--3 { grid-template-columns: minmax(0, 1fr); } }
.card { padding: 26px 26px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s; }
.card:hover { box-shadow: var(--shadow); border-color: var(--line-strong); }
.card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.card p { margin: 0; font-size: .98rem; color: var(--muted); }
.card .ic { width: 44px; height: 44px; margin-bottom: 16px; border-radius: 13px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); }
.card .ic svg { width: 24px; height: 24px; }
.card--flat { background: var(--bg-alt); border-color: transparent; }

.feature-list { margin: 0 0 1.6rem; padding: 0; list-style: none; }
.feature-list li { position: relative; padding: 9px 0 9px 32px; }
.feature-list li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 14px; height: 8px; border-left: 2.5px solid var(--brand-700); border-bottom: 2.5px solid var(--brand-700); transform: rotate(-45deg); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); font-size: .95rem; font-weight: 550; text-decoration: none !important; transition: border-color .2s, color .2s, background .2s, transform .2s var(--ease); }
.chip:hover { border-color: var(--brand); color: var(--brand-800); background: var(--brand-50); transform: translateY(-1px); }

/* Quartiers / zones d'une ville */
.zone-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.zone { position: relative; padding: 22px 22px 20px 58px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.zone::before { content: ""; position: absolute; left: 20px; top: 24px; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; background: var(--amber); transform: rotate(-45deg); box-shadow: inset 0 0 0 6px var(--amber); }
.zone::after { content: ""; position: absolute; left: 27px; top: 31px; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.zone b { display: block; color: var(--ink); line-height: 1.3; margin-bottom: 4px; }
.zone span { font-size: .95rem; color: var(--muted); }

/* Faits-clés d'une ville (carte du hero) */
.factcard { border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow); overflow: hidden; }
.factcard .map { padding: 12px; background: linear-gradient(160deg, var(--brand-50), #fff); }
.factcard dl { margin: 0; padding: 6px 22px 8px; }
.factcard dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.factcard dl > div:last-child { border: 0; }
.factcard dt { color: var(--muted); }
.factcard dd { margin: 0; font-weight: 650; color: var(--ink); text-align: right; }

/* 10 — CARTE DE COUVERTURE ----------------------------------------------- */
.covmap { position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--radius-xl); background: radial-gradient(70% 70% at 50% 40%, var(--brand-50), #fff 75%); box-shadow: var(--shadow-sm); overflow: hidden; }
.covmap::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(16, 41, 43, .08) 1px, transparent 1.2px); background-size: 22px 22px; }
.covmap svg { position: relative; width: 100%; height: 100%; }
.covmap a { cursor: pointer; }
.covmap .dot { fill: var(--brand-700); opacity: .75; transition: r .2s var(--ease), opacity .2s, fill .2s; }
.covmap a:hover .dot, .covmap a:focus-visible .dot { opacity: 1; fill: var(--amber-600); r: 1.9; }
.covmap .dot--main { fill: var(--brand-700); opacity: 1; }
.covmap .dot--current { fill: var(--amber-600); opacity: 1; }
.covmap .halo { fill: var(--amber); opacity: .35; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
.covmap .label { font-size: 2.5px; font-weight: 650; fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: .8px; stroke-linejoin: round; pointer-events: none; }
.covmap a:focus-visible { outline: none; }
/* Cartes de villes (hub) */
.city-cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin: 0; padding: 0; list-style: none; }
.city-card { position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 28px 28px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; color: var(--muted); text-decoration: none !important; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.city-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand); color: var(--muted); }
.city-card .region { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-700); }
.city-card h2 { margin: 0; font-size: 1.45rem; }
.city-card p { margin: 0 0 14px; font-size: .98rem; }
.city-card .link-arrow { margin-top: auto; }
.city-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); margin: 0; padding: 0; list-style: none; }
.city-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font-weight: 600; text-decoration: none !important; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.city-link::after { content: "→"; color: var(--brand-700); transition: transform .2s var(--ease); }
.city-link:hover { border-color: var(--brand); box-shadow: var(--shadow); color: var(--ink); transform: translateY(-1px); }
.city-link:hover::after { transform: translateX(3px); }

/* 11 — TARIFS ------------------------------------------------------------ */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 920px; margin-inline: auto; }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius-xl); background: #fff; }
.plan--featured { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--brand), var(--amber)) border-box; border: 2px solid transparent; box-shadow: var(--shadow-lg); }
.plan .tag { position: absolute; top: -14px; left: 32px; padding: 5px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.plan h3 { margin-bottom: 4px; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 6px; color: var(--ink); }
.plan .price b { font-size: clamp(3rem, 2.2rem + 3vw, 4.4rem); font-weight: 750; letter-spacing: -.05em; line-height: 1; }
.plan .price span { color: var(--muted); font-size: 1rem; }
.plan .note { color: var(--muted); font-size: .95rem; }
.plan .feature-list { margin: 22px 0 30px; }
.plan .btn { margin-top: auto; }
@media (max-width: 760px) { .pricing { grid-template-columns: minmax(0, 1fr); } }

/* 12 — FAQ --------------------------------------------------------------- */
.faq-list { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .25s, border-color .25s; }
.faq[open] { box-shadow: var(--shadow); border-color: var(--line-strong); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-size: 1.06rem; font-weight: 650; color: var(--ink); line-height: 1.4; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq-a { padding: 0 24px 22px; color: var(--muted); }
.faq-a p:last-child { margin-bottom: 0; }

/* 13 — PAGES DE CONTENU -------------------------------------------------- */
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.2rem); margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose h3:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { list-style: none; padding: 0; margin: 0 0 1.2em; }
.prose li { position: relative; padding: 6px 0 6px 28px; }
.prose li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px; border-left: 2.5px solid var(--brand-700); border-bottom: 2.5px solid var(--brand-700); transform: rotate(-45deg); }
.prose .chips li { padding: 0; }
.prose .chips li::before { display: none; }
.prose article + article { margin-top: 2em; }
.prose a { font-weight: 550; text-decoration: underline; text-decoration-color: rgba(0, 117, 114, .35); }
.prose a:hover { text-decoration-color: currentColor; }
.prose .btn { text-decoration: none; }
.section-title { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); max-width: 24ch; margin-inline: auto; }
.section-sub { max-width: 72ch; margin: 0 auto 1.2em; text-align: center; color: var(--muted); font-size: 1.1rem; }
.section-title + .section-sub { margin-top: calc(-1 * clamp(8px, 2vw, 24px)); margin-bottom: clamp(28px, 4vw, 48px); }
.container > .split + .section-sub { margin-top: clamp(28px, 4vw, 48px); }

/* 14 — FOOTER ------------------------------------------------------------ */
.site-footer { background: var(--dark); color: #9aa0a8; padding: clamp(56px, 7vw, 88px) 0 28px; font-size: .96rem; }
.site-footer a { color: #c3c8cf; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.footer-brand img { height: 48px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .92; }
.footer-brand p { max-width: 34ch; }
.site-footer h4 { margin: 0 0 16px; color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { padding: 4px 0; }
.footer-contact { margin-top: 18px; padding: 0; list-style: none; }
.footer-contact li { padding: 3px 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--dark-line); font-size: .88rem; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* 15 — BARRE D'ACTIONS MOBILE ------------------------------------------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
    .mobile-bar { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 22px; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); box-shadow: 0 10px 40px rgba(16, 41, 43, .22); }
    .mobile-bar .btn { min-height: 46px; padding: 0 12px; font-size: .96rem; }
    body { padding-bottom: 92px; }
    .menu-open .mobile-bar { display: none; }
}

/* 16 — ANIMATIONS D'APPARITION ------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
    .mock-window { transform: none; }
}

/* 16b — PLATEFORME : illustrations d'interface, cartes fonctionnalités, formulaires ----- */
/* Classes utilitaires SVG (couleurs du thème) */
.f-brand { fill: var(--brand); } .f-brand-soft { fill: var(--brand-100); } .f-dark { fill: var(--ink); } .f-mute { fill: #aab0b8; }
.f-ok { fill: var(--ok); } .f-warn { fill: #f59e0b; }
.s-brand { stroke: var(--brand); } .s-dark { stroke: var(--ink-2); } .s-line { stroke: var(--line-strong); } .s-ok { stroke: var(--ok); }
.t-label { font: 700 12px/1 var(--font); fill: var(--ink); }
.t-sub { font: 500 11px/1 var(--font); fill: var(--muted); }
.t-axis { font: 500 11px/1 var(--font); fill: var(--muted); }
.t-big { font: 750 38px/1 var(--font); fill: var(--ink); letter-spacing: -.03em; }

/* Fenêtre « application » qui contient les illustrations */
.win { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fafafb; }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e3e5e8; }
.win-bar i:nth-child(1) { background: #ff6b64; } .win-bar i:nth-child(2) { background: #ffc13c; } .win-bar i:nth-child(3) { background: #2fd158; }
.win-bar b { margin-left: 8px; font-size: .84rem; font-weight: 650; color: var(--ink-2); }
.win-body { display: grid; gap: 14px; padding: 14px; background: var(--bg-alt); grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
.win-body--single { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 640px) { .win-body { grid-template-columns: minmax(0, 1fr); } }
.wdg { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; font-size: .9rem; color: var(--ink-2); }
.wdg svg { width: 100%; height: auto; }
.wdg--map, .wdg--chart, .wdg--gauge { padding: 0; }
.wdg--chart { padding: 10px 10px 4px; }
.wdg--gauge { padding: 14px 10px 8px; max-width: 320px; margin-inline: auto; width: 100%; }
.wdg--card { padding: 16px; }
.wdg-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 1rem; color: var(--ink); }
.wdg-head .pill { margin-left: auto; }
.wdg-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(22, 163, 74, .16); }
.wdg-dl { margin: 0; }
.wdg-dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.wdg-dl dt { color: var(--muted); font-size: .84rem; } .wdg-dl dd { margin: 0; text-align: right; font-weight: 600; color: var(--ink); font-size: .88rem; }
.wdg--list { padding: 8px; display: grid; gap: 4px; }
.wdg-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: .84rem; line-height: 1.35; color: var(--muted); }
.wdg-row b { display: block; color: var(--ink); font-size: .9rem; }
.wdg-row--alert { background: var(--brand-50); }
.wdg-ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--bg-alt); color: var(--ink-2); }
.wdg-row--alert .wdg-ic { background: #fff; color: var(--brand-700); }
.wdg-ic svg { width: 18px; height: 18px; }
.wdg-rule { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--bg-alt); font-size: .86rem; }
.wdg-rule b { color: var(--ink); }
.wdg-rule--then { background: var(--brand-50); }
.wdg-tag { flex: none; min-width: 52px; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700; text-align: center; letter-spacing: .04em; text-transform: uppercase; }
.wdg-tag--then { background: var(--brand); }
.wdg-step { position: relative; display: flex; gap: 14px; padding: 8px 12px; font-size: .84rem; line-height: 1.35; color: var(--muted); }
.wdg-step b { display: block; color: var(--ink); font-size: .9rem; }
.wdg-step i { flex: none; width: 12px; height: 12px; margin-top: 5px; border-radius: 50%; position: relative; z-index: 1; box-shadow: 0 0 0 4px #fff; }
.wdg-step::before { content: ""; position: absolute; left: 17px; top: 22px; bottom: -14px; width: 2px; background: var(--line-strong); }
.wdg-step:last-child::before { display: none; }
.wdg--table { padding: 6px 4px 0; overflow-x: auto; }
.wdg--table table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.wdg--table th { padding: 8px 10px; text-align: left; color: var(--muted); font-weight: 600; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.wdg--table td { padding: 9px 10px; border-top: 1px solid var(--line); color: var(--ink); white-space: nowrap; }
.wdg-foot { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.wdg-foot svg { width: 14px; height: 14px; }
.wdg-field { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; margin-bottom: 8px; border: 1px solid var(--line); border-radius: 12px; }
.wdg-field label { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.wdg-field span { font-weight: 600; color: var(--ink); font-size: .9rem; }
.wdg-btn { margin-top: 4px; width: 100%; pointer-events: none; }
.wdg--kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.kpi { padding: 14px 16px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.kpi:nth-child(-n+2) { border-top: 0; } .kpi:nth-child(odd) { border-left: 0; }
.kpi span { display: block; font-size: .76rem; color: var(--muted); }
.kpi b { font-size: 1.45rem; letter-spacing: -.02em; color: var(--ink); font-weight: 750; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: var(--bg-alt); color: var(--ink-2); }
.pill--ok { background: #e3f6ea; color: #15803d; } .pill--warn { background: #fff1d6; color: #9a5b00; } .pill--brand { background: var(--brand-50); color: var(--brand-700); }

/* Badges de disponibilité (honnêteté sur ce qui dépend du matériel, de la formule ou d'un module) */
.avail { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 650; line-height: 1.3; background: #e3f6ea; color: #15803d; }
.avail::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.avail--hardware { background: #eef0f3; color: #3b424d; }
.avail--plan { background: #fff1d6; color: #9a5b00; }
.avail--custom { background: var(--brand-50); color: var(--brand-700); }
.notice { display: flex; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-left: 4px solid var(--ink-2); border-radius: var(--radius); background: #fff; font-size: .96rem; color: var(--ink-2); }
.notice + .notice { margin-top: 12px; }
.notice b { display: block; margin-bottom: 2px; color: var(--ink); }
.notice p { margin: 0; }
.notice--hardware { border-left-color: #6b7380; } .notice--plan { border-left-color: #f59e0b; } .notice--custom { border-left-color: var(--brand); } .notice--info { border-left-color: var(--line-strong); }

/* Grille des fonctionnalités */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1020px) { .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .feat-grid { grid-template-columns: minmax(0, 1fr); } }
.feat-card { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.feat-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.feat-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--brand-50); color: var(--brand-700); }
.feat-ic svg { width: 26px; height: 26px; }
.feat-card h3 { margin-bottom: 8px; font-size: 1.2rem; }
.feat-card > p { margin: 0 0 14px; font-size: .98rem; color: var(--muted); }
.feat-card .feature-list { margin-bottom: 20px; font-size: .94rem; }
.feat-card .link-arrow { margin-top: auto; font-weight: 650; }
.feat-card .avail { font-size: .72rem; }
.feat-card--hot { border-color: var(--brand-100); background: linear-gradient(180deg, var(--brand-50), #fff 55%); }

/* Tableau de bord (accueil) */
.dash { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 920px) { .dash { grid-template-columns: minmax(0, 1fr); } }
.dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dkpi { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.dkpi .ic { grid-row: span 2; margin: 0; width: 42px; height: 42px; }
.dkpi span:not(.ic) { align-self: end; } .dkpi b { align-self: start; }
.dkpi { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.dkpi .ic { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 10px; border-radius: 10px; background: var(--brand-50); color: var(--brand-700); }
.dkpi .ic svg { width: 18px; height: 18px; }
.dkpi span { display: block; font-size: .78rem; color: var(--muted); line-height: 1.3; }
.dkpi b { display: block; font-size: 1.5rem; letter-spacing: -.02em; color: var(--ink); font-weight: 750; line-height: 1.25; }
.dkpi small { font-size: .74rem; font-weight: 500; color: var(--muted); }
.dkpi--ok .ic { background: #e3f6ea; color: #15803d; }
.dkpi--dark .ic { background: var(--ink); color: #fff; }
.demo-note { margin-top: 14px; font-size: .84rem; color: var(--muted); }

/* Pourquoi nous / secteurs / compatibilité */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.why { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.why .ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--brand-700); color: #fff; }
.why .ic svg { width: 24px; height: 24px; }
.why h3 { margin: 0 0 4px; font-size: 1.08rem; } .why p { margin: 0; font-size: .95rem; color: var(--muted); }
.sector-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.sector { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; text-decoration: none !important; color: var(--muted); font-size: .94rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
a.sector:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--muted); }
.sector .ic { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); }
.sector .ic svg { width: 22px; height: 22px; }
.sector h3 { margin: 0 0 6px; font-size: 1.05rem; } .sector p { margin: 0; }
.compat { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.compat-item { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.compat-item .ic { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; border-radius: 12px; background: var(--ink); color: #fff; }
.compat-item .ic svg { width: 22px; height: 22px; }
.compat-item h3 { margin: 0 0 6px; font-size: 1.02rem; } .compat-item p { margin: 0 0 10px; font-size: .92rem; color: var(--muted); }

/* Mise en avant (location, historique) */
.spot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 920px) { .spot { grid-template-columns: minmax(0, 1fr); } }
.scope { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 8px; }
.scope li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: .96rem; color: #e1ecec; }
.scope li em { margin-left: auto; font-style: normal; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; background: #14532d; color: #bbf7d0; }
.scope li em.is-custom { background: #4a1d23; color: #ffc9cf; }
.scope--light li { background: #fff; border-color: var(--line); color: var(--ink-2); }
.scope--light li em { background: #e3f6ea; color: #15803d; } .scope--light li em.is-custom { background: var(--brand-50); color: var(--brand-700); }

/* Pages fonctionnalité */
.feat-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 980px) { .feat-hero-grid { grid-template-columns: minmax(0, 1fr); } }
.feat-hero-grid .avail { margin-bottom: 16px; }
.how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: how; }
@media (max-width: 1020px) { .how { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 560px) { .how { grid-template-columns: minmax(0, 1fr); } }
.how li { list-style: none; position: relative; padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; counter-increment: how; }
.how li::before { content: counter(how); display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 12px; background: var(--brand-700); color: #fff; font-weight: 700; }
.how h3 { margin: 0 0 6px; font-size: 1.05rem; } .how p { margin: 0; font-size: .94rem; color: var(--muted); }
.ex-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 980px) { .ex-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; } }
.ex { display: flex; flex-direction: column; gap: 14px; }
.ex .wdg { flex: 1; box-shadow: var(--shadow-sm); }
.ex h3 { margin: 0 0 2px; font-size: 1.05rem; } .ex p { margin: 0; font-size: .94rem; color: var(--muted); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 880px) { .related-grid { grid-template-columns: minmax(0, 1fr); } }
.related { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; text-decoration: none !important; color: var(--muted); font-size: .94rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.related:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--muted); }
.related .feat-ic { width: 42px; height: 42px; border-radius: 12px; } .related .feat-ic svg { width: 22px; height: 22px; }
.related b { display: block; margin-bottom: 2px; color: var(--ink); font-size: 1.02rem; }
.feat-nav { display: flex; flex-wrap: wrap; gap: 8px; }

/* Formulaires */
.form { padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.form h2, .form h3 { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 650; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fff; font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0, 163, 158, .14); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--brand); }
.field-error { margin: 0; font-size: .86rem; font-weight: 600; color: var(--brand-700); }
.field--check { flex-direction: row; align-items: flex-start; gap: 10px; }
.field--check input { width: 20px; min-height: 0; height: 20px; margin-top: 3px; accent-color: var(--brand); flex: none; }
.field--check label { font-weight: 450; font-size: .92rem; color: var(--ink-2); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { margin-bottom: 18px; padding: 14px 16px; border-radius: 12px; background: var(--brand-50); color: var(--brand-800); font-weight: 600; }
.form-success { padding: clamp(28px, 4vw, 44px); border: 1px solid #bbf7d0; border-radius: var(--radius-lg); background: #f0fdf4; text-align: center; }
.form-success h2 { margin-top: 0; font-size: 1.6rem; }
.form-fine { margin: 14px 0 0; font-size: .82rem; color: var(--muted); }

/* Bouton WhatsApp flottant (ordinateur et tablette ; sur mobile la barre d'actions s'en charge) */
.wa-float { position: fixed; z-index: 95; right: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 999px; background: #1fa855; color: #fff; font-weight: 650; box-shadow: 0 10px 28px rgba(31, 168, 85, .4); text-decoration: none !important; transition: transform .25s var(--ease), box-shadow .25s; }
.wa-float:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 14px 34px rgba(31, 168, 85, .5); }
.wa-float svg { width: 26px; height: 26px; }
@media (max-width: 760px) { .wa-float { display: none; } }

/* 17 — IMPRESSION -------------------------------------------------------- */
@media print {
    .site-header, .mobile-bar, .hero-bg, .cta-band, .site-footer { display: none !important; }
    body { color: #000; background: #fff; }
    a { color: #000; text-decoration: underline; }
}

.win-body--single .wdg--map { max-width: 540px; width: 100%; margin-inline: auto; }
