:root {
    --bg: #f3f2f1;
    --bg-soft: #eaf3ff;
    --panel: #ffffff;
    --line: #e1dfdd;
    --text: #1f2933;
    --text-soft: #4a5568;
    --muted: #6e7c8e;
    --accent: #0078d4;
    --accent-strong: #106ebe;
    --accent-soft: #deecf9;
    --max: 1100px;
    --radius: 14px;
    --shadow: 0 10px 24px rgba(15, 32, 64, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 360px);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ── Topbar ──────────────────────────────────────────────── */

.topbar {
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 18px;
    color: var(--text);
    letter-spacing: 0.02em;
}

.brand:hover { text-decoration: none; }

.topbar-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 14px;
}

.topbar-nav a { color: var(--text-soft); font-weight: 600; }

.topbar-cta {
    background: var(--accent);
    color: #fff !important;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 700;
}
.topbar-cta:hover { background: var(--accent-strong); text-decoration: none; }

@media (max-width: 720px) {
    .topbar-nav a:not(.topbar-cta) { display: none; }
}

/* ── Buttons ─────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); text-decoration: none; color: #fff; }

.btn-ghost {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}
.btn-ghost:hover { background: var(--accent-soft); text-decoration: none; }

/* ── Hero ────────────────────────────────────────────────── */

.hero { padding: 64px 0 56px; }

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.hero-eyebrow {
    display: inline-block;
    margin: 0 0 18px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}

.hero-tagline {
    margin: 0 0 26px;
    font-size: 17px;
    color: var(--text-soft);
}

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

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-shot {
    width: 100%;
    height: auto;
    max-width: 520px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    background: #fff;
    display: block;
}

@media (max-width: 860px) {
    .hero { padding: 40px 0; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-shot { max-width: 480px; margin: 0 auto; }
}

/* ── Sections génériques ─────────────────────────────────── */

section h2 {
    font-size: clamp(24px, 3vw, 32px);
    margin: 0 0 12px;
    letter-spacing: -0.01em;
}

.section-lead {
    margin: 0 0 36px;
    max-width: 640px;
    font-size: 16px;
    color: var(--text-soft);
}

/* ── Features ────────────────────────────────────────────── */

.features { padding: 64px 0; }

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

.feature {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 22px 20px;
    box-shadow: var(--shadow);
}

.feature h3 { margin: 4px 0 8px; font-size: 17px; }
.feature p { margin: 0; color: var(--text-soft); font-size: 14.5px; }

.feature-icon {
    font-size: 26px;
    margin-bottom: 6px;
}

@media (max-width: 860px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .features-grid { grid-template-columns: 1fr; } }

/* ── Platforms ───────────────────────────────────────────── */

.platforms { padding: 32px 0 56px; }

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 18px;
}

.platform {
    position: relative;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    text-align: center;
    box-shadow: var(--shadow);
}

.platform-icon { font-size: 32px; margin-bottom: 6px; }
.platform h3 { margin: 0 0 6px; font-size: 16px; }
.platform p { margin: 0; color: var(--text-soft); font-size: 14px; }

.platform-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
}

@media (max-width: 580px) { .platforms-grid { grid-template-columns: 1fr; } }

.mobile-shots {
    margin-top: 36px;
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
}

.mobile-shot {
    margin: 0;
    flex: 0 0 auto;
    max-width: 240px;
    text-align: center;
}

.mobile-shot img {
    width: 100%;
    height: auto;
    border-radius: 22px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: #fff;
    display: block;
}

.mobile-shot figcaption {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-soft);
    font-weight: 600;
}

@media (max-width: 580px) {
    .mobile-shot { max-width: 220px; }
}

/* ── Beta form ───────────────────────────────────────────── */

.beta { padding: 32px 0 64px; }

.beta-card {
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px 32px;
    box-shadow: var(--shadow);
    text-align: center;
}

.beta-card h2 { margin: 0 0 10px; }
.beta-card > p { margin: 0 auto 22px; max-width: 540px; color: var(--text-soft); }

.beta-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.beta-form input[type="email"] {
    flex: 1 1 320px;
    max-width: 360px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font: inherit;
    background: #fff;
}

.beta-form input[type="email"]:focus {
    outline: 2px solid var(--accent);
    outline-offset: 0;
    border-color: var(--accent);
}

.beta-status {
    margin: 14px 0 0;
    min-height: 1.4em;
    font-size: 14px;
    color: var(--text-soft);
}

.beta-status.success { color: #107c10; font-weight: 600; }
.beta-status.error { color: #a4262c; font-weight: 600; }

/* ── FAQ ─────────────────────────────────────────────────── */

.faq { padding: 32px 0 64px; }

.faq details {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(15, 32, 64, 0.04);
}

.faq summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
    position: relative;
    padding-right: 24px;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
}

.faq details[open] summary::after { content: "−"; }

.faq details p {
    margin: 10px 0 0;
    color: var(--text-soft);
    font-size: 14.5px;
}

/* ── Footer ──────────────────────────────────────────────── */

.footer {
    background: #1f2933;
    color: #cdd6df;
    padding: 28px 0;
    margin-top: 32px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #fff;
}

.footer-nav { display: flex; gap: 20px; font-size: 14px; }
.footer-nav a { color: #9fb1c4; }

.footer-legal {
    margin: 0;
    font-size: 12.5px;
    color: #8895a4;
    flex-basis: 100%;
    text-align: center;
    border-top: 1px solid #2f3a47;
    padding-top: 14px;
    margin-top: 6px;
}
