body {
    background-color: skyblue;
}

/*
 * Landing page de l'app mobile Raverz.
 *
 * Les couleurs sont celles de raverz-mobile/constants/theme.ts (thème sombre) et
 * de constants/stage-colors.ts : la vitrine et l'app doivent se ressembler. Les
 * valeurs vivent ici en variables, comme là-bas elles vivent dans theme.ts --
 * aucune autre règle de ce fichier ne contient de littéral de couleur de marque.
 *
 * Chaque carte de feature porte sa propre couleur via --rv-tint, posée en style
 * inline par le composant : c'est la seule valeur que le JSX connaît.
 */

.rv-landing {
    --rv-bg: #05070e;
    --rv-bg-elevated: #0b1120;
    --rv-surface: #101828;
    --rv-surface-raised: #19223a;
    --rv-border: #1c2740;
    --rv-border-strong: #2b3a5c;
    --rv-text: #eef3ff;
    --rv-text-secondary: #93a5c6;
    --rv-text-muted: #6b7da3;
    --rv-accent: #2f6bff;
    --rv-accent-text: #7aa7ff;
    --rv-brand-end: #a855f7;
    --rv-favorite: #e0246f;

    background: var(--rv-bg);
    color: var(--rv-text);
    font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.55;
    min-height: 100vh;
    overflow-x: hidden;
}

.rv-landing *,
.rv-landing *::before,
.rv-landing *::after {
    box-sizing: border-box;
}

.rv-shell {
    margin: 0 auto;
    max-width: 1080px;
    padding: 0 24px;
}

/* --- en-tête --- */

.rv-header {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 24px 0;
}

.rv-wordmark {
    align-items: center;
    display: flex;
    font-size: 1.25rem;
    font-weight: 700;
    gap: 7px;
    letter-spacing: -0.02em;
}

/*
 * Le point lumineux qui termine le logo dans l'app : l'équivalent CSS de
 * litDot() (raverz-mobile/constants/shapes.ts) -- une lueur qui sort de la
 * forme, sans décalage, à peine plus courte que son diamètre.
 */
.rv-dot {
    background: var(--rv-favorite);
    border-radius: 50%;
    box-shadow: 0 0 7px var(--rv-favorite);
    display: inline-block;
    height: 8px;
    width: 8px;
}

.rv-header-link {
    color: var(--rv-text-secondary);
    font-size: 0.9375rem;
    text-decoration: none;
}

.rv-header-link:hover,
.rv-header-link:focus-visible {
    color: var(--rv-text);
}

/* --- hero --- */

.rv-hero {
    padding: 56px 0 72px;
    position: relative;
    text-align: center;
}

/* La lueur du dégradé de marque, derrière le titre. */
.rv-hero::before {
    background: radial-gradient(
        60% 70% at 50% 0%,
        color-mix(in srgb, var(--rv-accent) 28%, transparent),
        transparent 70%
    );
    content: '';
    inset: -140px 0 auto;
    pointer-events: none;
    position: absolute;
    height: 420px;
}

.rv-hero > * {
    position: relative;
}

.rv-eyebrow {
    align-items: center;
    background: var(--rv-surface);
    border: 1px solid var(--rv-border-strong);
    border-radius: 999px;
    color: var(--rv-accent-text);
    display: inline-flex;
    font-size: 0.8125rem;
    font-weight: 600;
    gap: 8px;
    letter-spacing: 0.02em;
    margin-bottom: 28px;
    padding: 6px 14px;
}

.rv-hero h1 {
    background: linear-gradient(100deg, var(--rv-text) 35%, var(--rv-brand-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(2.5rem, 8vw, 4.25rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.04;
    margin: 0;
}

.rv-lede {
    color: var(--rv-text-secondary);
    font-size: clamp(1.0625rem, 2.4vw, 1.25rem);
    margin: 20px auto 0;
    max-width: 30ch;
}

.rv-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 36px;
}

.rv-btn {
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    padding: 13px 22px;
    text-decoration: none;
}

.rv-btn-primary {
    background: var(--rv-accent);
    color: #fff;
}

.rv-btn-primary[disabled] {
    cursor: default;
    opacity: 0.75;
}

.rv-btn-secondary {
    background: var(--rv-surface);
    border-color: var(--rv-border-strong);
    color: var(--rv-text);
}

.rv-btn-secondary:hover,
.rv-btn-secondary:focus-visible {
    background: var(--rv-surface-raised);
}

.rv-cta-note {
    color: var(--rv-text-muted);
    font-size: 0.875rem;
    margin-top: 16px;
}

/* --- sections --- */

.rv-section {
    border-top: 1px solid var(--rv-border);
    padding: 64px 0;
}

.rv-section h2 {
    font-size: clamp(1.625rem, 4vw, 2.125rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    margin: 0;
}

.rv-section-lede {
    color: var(--rv-text-secondary);
    margin: 10px 0 36px;
    max-width: 58ch;
}

.rv-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.rv-card {
    background: var(--rv-surface);
    border: 1px solid var(--rv-border);
    border-radius: 16px;
    padding: 22px;
}

/*
 * La teinte de la feature, posée comme une barre en haut de la carte plutôt que
 * comme un fond : lisible sans toucher au contraste du texte.
 */
.rv-card-mark {
    background: var(--rv-tint);
    border-radius: 2px;
    box-shadow: 0 0 10px color-mix(in srgb, var(--rv-tint) 60%, transparent);
    height: 3px;
    margin-bottom: 18px;
    width: 32px;
}

.rv-card h3 {
    font-size: 1.0625rem;
    font-weight: 650;
    margin: 0 0 8px;
}

.rv-card p {
    color: var(--rv-text-secondary);
    font-size: 0.9375rem;
    margin: 0;
}

/* --- étapes --- */

.rv-steps {
    counter-reset: rv-step;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.rv-steps li {
    background: var(--rv-bg-elevated);
    border: 1px solid var(--rv-border);
    border-radius: 16px;
    padding: 22px;
}

.rv-steps li::before {
    color: var(--rv-accent-text);
    content: counter(rv-step);
    counter-increment: rv-step;
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 14px;
}

.rv-steps h3 {
    font-size: 1.0625rem;
    font-weight: 650;
    margin: 0 0 8px;
}

.rv-steps p {
    color: var(--rv-text-secondary);
    font-size: 0.9375rem;
    margin: 0;
}

/* --- pied de page --- */

.rv-footer {
    align-items: center;
    border-top: 1px solid var(--rv-border);
    color: var(--rv-text-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.875rem;
    gap: 8px 20px;
    justify-content: space-between;
    padding: 32px 0 48px;
}

.rv-footer a {
    color: var(--rv-text-secondary);
    text-decoration: none;
}

.rv-footer a:hover,
.rv-footer a:focus-visible {
    color: var(--rv-text);
}

.rv-landing :focus-visible {
    outline: 2px solid var(--rv-accent-text);
    outline-offset: 2px;
}

@media (max-width: 599px) {
    .rv-shell {
        padding: 0 16px;
    }

    .rv-hero {
        padding: 32px 0 48px;
        text-align: left;
    }

    .rv-hero::before {
        display: none;
    }

    .rv-lede {
        margin-left: 0;
    }

    .rv-cta {
        justify-content: stretch;
    }

    .rv-btn {
        flex: 1 1 100%;
        text-align: center;
    }

    .rv-section {
        padding: 48px 0;
    }
}

