/* Google Fonts : chargées via <link> dans landing.html (perf : évite la chaîne
   CSS -> @import -> CSS bloquante). Familles : Inter 400-800, Space Grotesk 600-700. */

:root {
    --bg-primary: #0f0f12;
    --bg-secondary: #16161a;
    --bg-card: rgba(22, 22, 26, 0.72);
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --accent-primary: #38bdf8;
    --accent-hover: #0ea5e9;
    --accent-secondary: #c084fc;
    --gradient-accent: linear-gradient(135deg, #38bdf8 0%, #c084fc 100%);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-card: 0 24px 80px -52px rgba(0, 0, 0, 0.9);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-primary);
    background:
        radial-gradient(circle at 18% 8%, rgba(56, 189, 248, 0.2), transparent 32%),
        radial-gradient(circle at 82% 18%, rgba(192, 132, 252, 0.18), transparent 34%),
        linear-gradient(180deg, #0f0f12 0%, #08080b 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--accent-primary);
    color: #04121d;
    font-weight: 800;
    transform: translateY(-140%);
    transition: transform 150ms ease;
}

.skip-link:focus-visible {
    transform: translateY(0);
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.landing-header,
.landing-footer {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.landing-header {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: "Space Grotesk", sans-serif;
    font-weight: 800;
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    color: #061018;
    background: var(--gradient-accent);
}

.brand-word {
    font-size: 1.22rem;
}

.brand-word span {
    color: var(--accent-primary);
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.94rem;
}

.landing-nav a:hover,
.nav-cta:hover {
    color: var(--text-primary);
}

.nav-cta,
.secondary-cta {
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 10px 15px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.04);
}

main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.landing-hero {
    min-height: calc(100vh - 72px);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
    gap: 48px;
    padding: 42px 0 80px;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    font-size: 0.78rem;
}

h1,
h2 {
    font-family: "Space Grotesk", sans-serif;
    line-height: 1.04;
}

h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(2.6rem, 6vw, 5.8rem);
    letter-spacing: 0;
}

h2 {
    margin: 0 0 14px;
    font-size: clamp(1.55rem, 2.8vw, 2.4rem);
}

.intro {
    max-width: 720px;
    margin: 24px 0 0;
    color: var(--text-secondary);
    font-size: clamp(1.02rem, 1.7vw, 1.24rem);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.primary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    min-height: 44px;
    padding: 12px 18px;
    color: #04121d;
    font-weight: 800;
    background: var(--gradient-accent);
    box-shadow: 0 18px 48px -28px rgba(56, 189, 248, 0.8);
}

.hero-panel {
    padding: 18px;
    border: 1px solid var(--border-color);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
    box-shadow: var(--shadow-card);
}

.video-frame {
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(192, 132, 252, 0.16)),
        #05070a;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}

.play-core {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--gradient-accent);
    position: relative;
}

.play-core::after {
    content: "";
    position: absolute;
    left: 31px;
    top: 22px;
    border-left: 24px solid #051018;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
}

.fake-timeline {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 22px;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

.fake-timeline span {
    display: block;
    width: 54%;
    height: 100%;
    border-radius: inherit;
    background: var(--accent-primary);
}

.platform-row {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.platform-row span {
    flex: 1;
    padding: 10px;
    text-align: center;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
    font-weight: 700;
}

.content-section,
.faq-section,
.bottom-cta {
    margin: 22px 0;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: var(--bg-card);
    box-shadow: var(--shadow-card);
}

.content-section p,
.faq-section p,
.bottom-cta p {
    color: var(--text-secondary);
    line-height: 1.78;
}

ul {
    display: grid;
    gap: 10px;
    padding-left: 20px;
    color: var(--text-secondary);
}

li::marker {
    color: var(--accent-primary);
}

details {
    border-top: 1px solid var(--border-color);
    padding: 16px 0;
}

details:first-of-type {
    border-top: 0;
}

summary {
    cursor: pointer;
    font-weight: 800;
}

.bottom-cta {
    text-align: center;
    margin-bottom: 54px;
}

.landing-footer {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
}

.landing-footer-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    font-weight: 600;
    font-size: 0.9rem;
}

.landing-footer-nav a {
    color: var(--text-secondary);
}

.landing-footer-nav a:hover {
    color: var(--text-primary);
}

@media (max-width: 820px) {
    .landing-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 0;
    }

    .landing-nav {
        flex-wrap: wrap;
        gap: 10px 14px;
    }

    .landing-hero {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 26px;
        padding-top: 28px;
    }

    .content-section,
    .faq-section,
    .bottom-cta {
        padding: 22px;
    }

    .landing-footer {
        flex-direction: column;
        justify-content: center;
        padding: 22px 0;
    }
}
