/* ==========================================================================
   Voyara — Landing page
   Charte issue du logo : bleu marine, azur, orange/rouge.
   ========================================================================== */

/* --------------------------------------------------------------- Tokens -- */
:root {
    /* Couleurs de marque (échantillonnées sur le logo) */
    --navy-900: #05122f;
    --navy-800: #071a4a;
    --navy-700: #0a1f66;
    --navy-600: #12307f;
    --azure-600: #0a66d6;
    --azure-500: #0b84e5;
    --azure-400: #38a5f5;
    --azure-100: #e4f0ff;
    --orange: #f97316;
    --orange-600: #ea6a06;
    --red: #ea2418;

    /* Surfaces — thème clair */
    --bg: #ffffff;
    --bg-2: #f4f8fd;
    --bg-3: #eaf1fa;
    --surface: #ffffff;
    --text: #0b1b3f;
    --text-2: #45587c;
    --text-3: #7386a4;
    --border: #e1eaf6;
    --border-2: #d3e0f0;

    --brand-grad: linear-gradient(135deg, var(--azure-500), var(--azure-600));
    --warm-grad: linear-gradient(135deg, var(--orange), var(--red));

    --shadow-xs: 0 1px 2px rgba(10, 31, 102, .06);
    --shadow-sm: 0 2px 8px rgba(10, 31, 102, .07), 0 1px 2px rgba(10, 31, 102, .05);
    --shadow-md: 0 12px 32px rgba(10, 31, 102, .10);
    --shadow-lg: 0 28px 70px rgba(10, 31, 102, .18);
    --shadow-xl: 0 44px 110px rgba(5, 18, 47, .28);

    --r-sm: 10px;
    --r: 14px;
    --r-lg: 20px;
    --r-xl: 28px;

    --wrap: 1200px;
    --header-h: 74px;
    --ease: cubic-bezier(.4, 0, .2, 1);
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

[data-theme="dark"] {
    --bg: #060d22;
    --bg-2: #0a1330;
    --bg-3: #0e1839;
    --surface: #0d1734;
    --text: #eaf0fb;
    --text-2: #a9b8d6;
    --text-3: #7a8cb0;
    --border: #1b2950;
    --border-2: #24356b;

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .35);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, .45);
    --shadow-lg: 0 28px 70px rgba(0, 0, 0, .55);
    --shadow-xl: 0 44px 110px rgba(0, 0, 0, .65);
}

/* ----------------------------------------------------------------- Base -- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
    margin: 0;
    color: var(--text);
    line-height: 1.15;
    letter-spacing: -.025em;
    font-weight: 800;
}

h1 { font-size: clamp(2.15rem, 4.3vw, 3.3rem); line-height: 1.09; letter-spacing: -.032em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); letter-spacing: -.03em; }
h3 { font-size: 1.15rem; }

p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 5vw, 32px); }

.section { padding-block: clamp(68px, 8.5vw, 116px); }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--border); }

.icon-sm { width: 18px; height: 18px; flex: none; }
.icon { width: 22px; height: 22px; flex: none; }
.icon-lg { width: 26px; height: 26px; flex: none; }

/* Accent orange sous un mot clé du titre */
.mark {
    position: relative;
    white-space: nowrap;
    color: var(--navy-700);
}
[data-theme="dark"] .mark { color: #fff; }
.mark::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -.04em;
    height: .095em;
    min-height: 4px;
    background: var(--warm-grad);
    border-radius: 99px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--azure-600);
}
[data-theme="dark"] .eyebrow { color: var(--azure-400); }

.section-head { max-width: 660px; margin-inline: auto; text-align: center; margin-bottom: clamp(38px, 5vw, 62px); }
.section-head h2 { margin-top: 16px; }
.section-head p { margin-top: 16px; color: var(--text-2); font-size: 1.06rem; }

/* -------------------------------------------------------------- Boutons -- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 20px;
    border: 1.5px solid transparent;
    border-radius: var(--r-sm);
    font-size: .93rem;
    font-weight: 700;
    letter-spacing: -.01em;
    cursor: pointer;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
    white-space: nowrap;
}

.btn-primary {
    background: var(--brand-grad);
    color: #fff;
    box-shadow: 0 4px 14px rgba(11, 132, 229, .32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(11, 132, 229, .42); }

.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--azure-500); color: var(--azure-600); transform: translateY(-2px); }
[data-theme="dark"] .btn-ghost:hover { color: var(--azure-400); }

.btn-light { background: #fff; color: var(--navy-700); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }

.btn-outline-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }

.btn-lg { padding: 14px 26px; font-size: 1rem; border-radius: 12px; }

/* --------------------------------------------------------------- Header -- */
.site-header {
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    z-index: 100;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: transparent;
    transition: background .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
    border-bottom: 1px solid transparent;
}
.site-header.scrolled {
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    backdrop-filter: saturate(1.6) blur(14px);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-xs);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo { height: 34px; width: auto; }
.brand-logo.on-dark { display: none; }
[data-theme="dark"] .brand-logo.on-light { display: none; }
[data-theme="dark"] .brand-logo.on-dark { display: block; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav-links a {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: .92rem;
    font-weight: 600;
    color: var(--text-2);
    transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover { color: var(--text); background: var(--bg-3); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.theme-btn {
    display: inline-grid;
    place-items: center;
    width: 38px; height: 38px;
    border: 1.5px solid var(--border-2);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text-2);
    cursor: pointer;
    transition: color .2s var(--ease), border-color .2s var(--ease);
}
.theme-btn:hover { color: var(--azure-600); border-color: var(--azure-500); }
.theme-btn .icon-sun { display: none; }
[data-theme="dark"] .theme-btn .icon-moon { display: none; }
[data-theme="dark"] .theme-btn .icon-sun { display: block; }

.burger {
    display: none;
    place-items: center;
    width: 40px; height: 40px;
    border: 1.5px solid var(--border-2);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    inset-block-start: var(--header-h);
    inset-inline: 0;
    z-index: 99;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 16px clamp(20px, 5vw, 32px) 26px;
    display: none;
    flex-direction: column;
    gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 13px 4px; font-weight: 600; color: var(--text-2); border-bottom: 1px solid var(--border); }
.mobile-menu .btn { margin-top: 12px; border-bottom: 0; justify-content: center; }

/* ----------------------------------------------------------------- Hero -- */
.hero {
    position: relative;
    padding-block: calc(var(--header-h) + clamp(48px, 7vw, 92px)) clamp(60px, 8vw, 104px);
    overflow: hidden;
}

/* Trame de points très discrète (remplace les "glows" génériques) */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(currentColor 1px, transparent 1.2px);
    background-size: 28px 28px;
    color: var(--azure-500);
    opacity: .07;
    mask-image: radial-gradient(ellipse 80% 62% at 50% 30%, #000 25%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 80% 62% at 50% 30%, #000 25%, transparent 78%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
    gap: clamp(40px, 4.5vw, 64px);
    align-items: center;
}

.hero h1 { margin-top: 20px; }
.hero-sub { margin-top: 22px; font-size: 1.115rem; color: var(--text-2); max-width: 34em; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-trust { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--text-2); }
.hero-trust svg { color: var(--azure-500); }

.hero-visual { position: relative; }

/* --------------------------------------------------------- Maquettes UI -- */
.browser-mock {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 16px;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
}
.browser-dots { display: flex; gap: 6px; flex: none; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-2); }
.browser-dots span:first-child { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }
.browser-url {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--bg);
    border: 1px solid var(--border);
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-3);
}
.browser-url svg { width: 12px; height: 12px; }
.browser-screen { background: var(--bg-2); }
.browser-screen img { width: 100%; height: auto; }

.phone-mock {
    position: absolute;
    inset-block-end: -46px;
    inset-inline-end: -30px;
    width: 168px;
    border-radius: 26px;
    padding: 7px;
    background: linear-gradient(160deg, #1b2c55, #060d22);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, .1);
}
.phone-screen { position: relative; border-radius: 20px; overflow: hidden; background: var(--surface); }
.phone-screen img { width: 100%; height: auto; }
.phone-notch {
    position: absolute;
    inset-block-start: 7px;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    width: 46px; height: 5px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .28);
    z-index: 2;
}

.zoomable { position: relative; cursor: zoom-in; }
.zoom-hint {
    position: absolute;
    inset-block-start: 14px;
    inset-inline-end: 14px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 34px; height: 34px;
    border-radius: 9px;
    background: rgba(6, 13, 34, .58);
    color: #fff;
    backdrop-filter: blur(6px);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.zoomable:hover .zoom-hint { opacity: 1; transform: none; }

/* ----------------------------------------------------------- Bande navy -- */
.stats-band {
    background: linear-gradient(130deg, var(--navy-900) 0%, var(--navy-700) 52%, var(--azure-600) 128%);
    color: #fff;
    padding-block: clamp(36px, 4.6vw, 54px);
}
.stats-band .wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    text-align: center;
}
.stat .num {
    font-size: clamp(1.85rem, 3.4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.1;
}
.stat .lbl { margin-top: 4px; font-size: .87rem; color: rgba(255, 255, 255, .72); font-weight: 600; }

/* ------------------------------------------------------------ Features -- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature {
    padding: 30px 28px 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-2); }

.feature-icon {
    display: grid;
    place-items: center;
    width: 50px; height: 50px;
    border-radius: 13px;
    background: var(--azure-100);
    color: var(--azure-600);
    margin-bottom: 20px;
}
[data-theme="dark"] .feature-icon { background: rgba(11, 132, 229, .16); color: var(--azure-400); }

.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--text-2); font-size: .955rem; }

/* --------------------------------------------------------------- Split -- */
.split {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: clamp(40px, 5.5vw, 72px);
    align-items: center;
}
.split-copy h2 { margin-top: 18px; }
.split-copy > p { margin-top: 16px; color: var(--text-2); font-size: 1.06rem; }

.check-list { margin-top: 30px; display: grid; gap: 18px; }
.check-item { display: flex; gap: 14px; }
.tick {
    display: grid;
    place-items: center;
    width: 25px; height: 25px;
    flex: none;
    margin-top: 2px;
    border-radius: 7px;
    background: var(--azure-100);
    color: var(--azure-600);
}
[data-theme="dark"] .tick { background: rgba(11, 132, 229, .18); color: var(--azure-400); }
.check-item strong { display: block; font-size: .98rem; font-weight: 700; }
.check-item span { display: block; margin-top: 3px; color: var(--text-2); font-size: .93rem; line-height: 1.6; }

/* ------------------------------------------------------------ Showcase -- */
.showcase-main { margin-bottom: 22px; }
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.showcase-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform .26s var(--ease), box-shadow .26s var(--ease);
}
.showcase-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.showcase-card img { width: 100%; height: 250px; object-fit: cover; object-position: top center; }
.showcase-cap { padding: 20px 24px 24px; }
.showcase-cap h3 { display: flex; align-items: center; gap: 9px; font-size: 1.02rem; }
.showcase-cap h3 svg { color: var(--azure-500); }
.showcase-cap p { margin-top: 7px; color: var(--text-2); font-size: .93rem; }

/* --------------------------------------------------------------- Steps -- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card {
    position: relative;
    padding: 28px 24px 30px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
}
.step-num {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    border-radius: 11px;
    background: var(--warm-grad);
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 18px;
    box-shadow: 0 6px 16px rgba(234, 36, 24, .26);
}
.step-card h3 { font-size: 1.04rem; margin-bottom: 9px; }
.step-card p { color: var(--text-2); font-size: .93rem; }
.step-arrow {
    position: absolute;
    inset-block-start: 40px;
    inset-inline-end: -22px;
    color: var(--border-2);
    z-index: 2;
}

/* ------------------------------------------------------- Marque blanche -- */
.formats { display: flex; flex-wrap: wrap; gap: 11px; justify-content: center; }
.format-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-2);
}
.format-chip svg { color: var(--azure-500); }

.country-list {
    margin-top: 30px;
    text-align: center;
    color: var(--text-3);
    font-size: .93rem;
    font-weight: 600;
    letter-spacing: .01em;
}

/* --------------------------------------------------------- Comptes démo -- */
.demo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 820px; margin-inline: auto; }
.demo-card {
    padding: 28px;
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    background: var(--surface);
}
.demo-card.is-primary { border-color: var(--azure-500); box-shadow: 0 0 0 3px rgba(11, 132, 229, .1); }
.demo-role { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; }
.demo-role svg { color: var(--azure-600); }
[data-theme="dark"] .demo-role svg { color: var(--azure-400); }
.demo-card > p { margin-top: 8px; color: var(--text-2); font-size: .93rem; }
.cred { margin-top: 18px; display: grid; gap: 8px; }
.cred-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 14px;
    border-radius: var(--r-sm);
    background: var(--bg-2);
    border: 1px solid var(--border);
}
.cred-row span { font-size: .76rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--text-3); }
.cred-row code {
    font-family: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, monospace;
    font-size: .9rem;
    font-weight: 600;
    color: var(--text);
}
.demo-card .btn { margin-top: 18px; width: 100%; }

/* ----------------------------------------------------------------- FAQ -- */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    transition: border-color .2s var(--ease);
}
.faq-item.open { border-color: var(--azure-500); }
.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 19px 24px;
    background: none;
    border: 0;
    text-align: start;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    line-height: 1.45;
}
.faq-q .chev { color: var(--text-3); transition: transform .28s var(--ease); flex: none; }
.faq-item.open .chev { transform: rotate(180deg); color: var(--azure-500); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 24px 21px; color: var(--text-2); font-size: .96rem; }

/* ------------------------------------------------------------ CTA final -- */
.cta-final { position: relative; padding-block: clamp(70px, 8vw, 108px); }
.cta-box {
    position: relative;
    overflow: hidden;
    padding: clamp(44px, 6vw, 76px) clamp(28px, 5vw, 64px);
    border-radius: var(--r-xl);
    background: linear-gradient(130deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--azure-600) 132%);
    color: #fff;
    text-align: center;
    box-shadow: var(--shadow-xl);
}
.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .5) 1px, transparent 1.2px);
    background-size: 26px 26px;
    opacity: .1;
    mask-image: radial-gradient(ellipse 70% 80% at 70% 10%, #000, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 10%, #000, transparent 70%);
}
.cta-box > * { position: relative; }
.cta-box .eyebrow { color: var(--azure-400); }
.cta-box h2 { color: #fff; margin-top: 16px; }
.cta-box p { margin-top: 16px; color: rgba(255, 255, 255, .82); font-size: 1.06rem; max-width: 48em; margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; margin-top: 34px; }

/* -------------------------------------------------------------- Footer -- */
.site-footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, .68);
    padding-block: clamp(52px, 6vw, 76px) 30px;
}
.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 2fr);
    gap: clamp(36px, 5vw, 64px);
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand .brand-logo { height: 36px; }
.footer-brand p { margin-top: 18px; font-size: .93rem; max-width: 34em; line-height: 1.75; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-col h4 { color: #fff; font-size: .87rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 15px; }
.footer-col a { display: block; padding: 6px 0; font-size: .93rem; transition: color .2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
    padding-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    font-size: .86rem;
    color: rgba(255, 255, 255, .5);
}

/* ------------------------------------------------------------ Lightbox -- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    place-items: center;
    background: rgba(4, 9, 24, .93);
    backdrop-filter: blur(8px);
    padding: 4vh 4vw;
}
.lightbox.open { display: grid; }
.lightbox-img { max-width: 100%; max-height: 84vh; display: grid; place-items: center; }
.lightbox-img img { max-width: 100%; max-height: 84vh; width: auto; border-radius: 10px; box-shadow: 0 40px 90px rgba(0, 0, 0, .6); }
.lb-btn {
    position: absolute;
    display: grid;
    place-items: center;
    width: 46px; height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .1);
    color: #fff;
    cursor: pointer;
    transition: background .2s var(--ease);
}
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-close { inset-block-start: 22px; inset-inline-end: 22px; }
.lb-prev { inset-inline-start: 20px; inset-block-start: 50%; transform: translateY(-50%); }
.lb-next { inset-inline-end: 20px; inset-block-start: 50%; transform: translateY(-50%); }
.lb-caption {
    position: absolute;
    inset-block-end: 26px;
    inset-inline: 0;
    text-align: center;
    color: rgba(255, 255, 255, .8);
    font-size: .9rem;
    font-weight: 600;
}

/* ---------------------------------------------------------- Révélation -- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .09s; }
.reveal-d2 { transition-delay: .18s; }
.reveal-d3 { transition-delay: .27s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* -------------------------------------------------------------- Mobile -- */
@media (max-width: 1080px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .step-arrow { display: none; }
}

@media (max-width: 960px) {
    .nav-links { display: none; }
    .burger { display: grid; }
    .header-actions .btn { display: none; }

    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { margin-top: 8px; }
    .phone-mock { width: 132px; inset-block-end: -32px; inset-inline-end: -12px; }

    .split { grid-template-columns: 1fr; }
    .split-visual { order: 2; }

    .stats-band .wrap { grid-template-columns: repeat(2, 1fr); gap: 26px; }
    .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .features-grid, .steps-grid, .showcase-grid, .demo-grid { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .showcase-card img { height: 200px; }
    .hero-cta .btn, .cta-actions .btn { width: 100%; }
    .lb-prev { inset-inline-start: 8px; }
    .lb-next { inset-inline-end: 8px; }
}

@media (max-width: 460px) {
    .footer-cols { grid-template-columns: 1fr; }
    .phone-mock { display: none; }
}
