/* RyaLabs — styles partagés des pages secondaires (copie verbatim des règles de la page d'accueil + ajouts spécifiques en fin de fichier) */
:root {
    --bg: #050816;
    --bg-soft: #07111f;
    --panel: rgba(10, 18, 32, 0.88);
    --panel-strong: rgba(8, 14, 26, 0.96);
    --line: rgba(148, 163, 184, 0.18);
    --line-strong: rgba(148, 163, 184, 0.28);
    --text: #f8fafc;
    --muted: #a8b3c7;
    --muted-2: #73819a;
    --blue: #38bdf8;
    --indigo: #6366f1;
    --violet: #a855f7;
    --cyan: #22d3ee;
    --emerald: #34d399;
    --radius-xl: 24px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.28);
    --shadow-glow: 0 0 40px rgba(56, 189, 248, 0.1);
    --max: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 16% 8%, rgba(56, 189, 248, 0.16), transparent 28%),
        radial-gradient(circle at 86% 18%, rgba(168, 85, 247, 0.12), transparent 30%),
        radial-gradient(circle at 48% 92%, rgba(99, 102, 241, 0.1), transparent 36%),
        linear-gradient(180deg, #050816 0%, #06101d 48%, #050816 100%);
    selection-color: white;
    selection-background: rgba(56, 189, 248, 0.65);
}

    /* V2 : pas de calque animé full-screen (coût GPU au scroll) */
    body::after {
        content: "";
        position: fixed;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(to bottom, rgba(5, 8, 22, 0.04), rgba(5, 8, 22, 0.75));
        z-index: -2;
    }

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.skip-link {
    position: fixed;
    left: 18px;
    top: 14px;
    z-index: 200;
    transform: translateY(-140%);
    border-radius: 999px;
    background: white;
    color: #020617;
    padding: 10px 14px;
    font-weight: 700;
    transition: transform 0.2s ease;
}

    .skip-link:focus {
        transform: translateY(0);
    }

/* cursor-glow et noise retirés en V2 (latence scroll / GPU) */

.container {
    width: min(calc(100% - 40px), var(--max));
    margin-inline: auto;
}

.site-header {
    position: fixed;
    top: 18px;
    left: 0;
    right: 0;
    z-index: 100;
    pointer-events: none;
    /* Marges hors de la barre : évite le cut-off mobile (100vw / safe-area) */
    padding-left: max(12px, env(safe-area-inset-left, 0px));
    padding-right: max(12px, env(safe-area-inset-right, 0px));
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    max-width: 1120px;
    margin-inline: 0;
    padding: 8px 10px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
    background: var(--panel-strong);
    pointer-events: auto;
    transition: border-color 0.25s ease, background 0.25s ease;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.site-header.is-scrolled .nav-shell {
    border-color: rgba(148, 163, 184, 0.3);
    background: rgba(5, 8, 22, 0.98);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex-shrink: 1;
    padding: 6px 8px 6px 6px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: -0.04em;
}

    .brand > span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

.brand-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(56, 189, 248, 0.38);
    border-radius: 13px;
    background: radial-gradient(circle at 25% 20%, rgba(255,255,255,0.55), transparent 20%), linear-gradient(135deg, rgba(56, 189, 248, 0.95), rgba(99, 102, 241, 0.88) 55%, rgba(168, 85, 247, 0.9));
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.25);
    color: white;
    font-size: 0.92rem;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    list-style: none;
    color: var(--muted);
    font-size: 0.89rem;
    font-weight: 600;
}

    .nav-links a {
        display: inline-flex;
        padding: 10px 13px;
        border-radius: 999px;
        transition: color 0.2s ease, background 0.2s ease;
    }

        .nav-links a:hover,
        .nav-links a:focus-visible {
            color: white;
            background: rgba(255, 255, 255, 0.07);
            outline: none;
        }

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
    min-width: 0;
    max-width: 100%;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #020617;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 16px 35px rgba(255, 255, 255, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

    .nav-cta-full {
        display: inline;
    }

    .nav-cta-short {
        display: none;
    }

    .nav-cta:hover,
    .nav-cta:focus-visible {
        transform: translateY(-1px);
        box-shadow: 0 18px 45px rgba(56, 189, 248, 0.26);
        outline: none;
    }

main {
    position: relative;
}

.hero {
    position: relative;
    padding: 168px 0 86px;
}

    .hero::before {
        content: "";
        position: absolute;
        width: min(58vw, 760px);
        aspect-ratio: 1;
        top: 70px;
        right: -18vw;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(99, 102, 241, 0.18), transparent 70%);
        pointer-events: none;
    }

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 54px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin-bottom: 24px;
    padding: 9px 13px;
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.08);
    color: #dbeafe;
    font-size: 0.82rem;
    font-weight: 780;
    letter-spacing: 0.02em;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.status-dot {
    position: relative;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 22px rgba(52, 211, 153, 0.8);
}

    .status-dot::after {
        content: "";
        position: absolute;
        inset: -6px;
        border-radius: inherit;
        border: 1px solid rgba(52, 211, 153, 0.35);
        /* pulseRing off V2 */
    }

h1 {
    max-width: 840px;
    font-size: clamp(3rem, 7.2vw, 6.55rem);
    line-height: 0.96;
    letter-spacing: -0.074em;
    font-weight: 700;
}

.gradient-text {
    display: inline-block;
    color: transparent;
    background: linear-gradient(110deg, #f8fafc 0%, #bae6fd 26%, #818cf8 54%, #d8b4fe 78%, #ffffff 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    background-size: 100% 100%;
    /* gradientFlow off V2 — fond statique */
}

.hero-copy {
    max-width: 720px;
    margin-top: 24px;
    color: var(--muted);
    font-size: clamp(1.03rem, 2vw, 1.22rem);
    line-height: 1.68;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 850;
    letter-spacing: -0.01em;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #38bdf8, #6366f1 58%, #a855f7);
    color: white;
    box-shadow: 0 20px 70px rgba(56, 189, 248, 0.25), inset 0 1px 0 rgba(255,255,255,0.25);
}

    .btn-primary::before {
        content: "";
        position: absolute;
        inset: 0;
        transform: translateX(-105%) skewX(-18deg);
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
        transition: transform 0.65s ease;
    }

    .btn-primary:hover::before,
    .btn-primary:focus-visible::before {
        transform: translateX(105%) skewX(-18deg);
    }

.btn-secondary {
    border-color: rgba(148, 163, 184, 0.22);
    background: rgba(255, 255, 255, 0.055);
    color: #dbe5f7;
    background: var(--panel-strong);
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
    outline: none;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    border-color: rgba(56, 189, 248, 0.34);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.24);
    background: rgba(255, 255, 255, 0.075);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
    list-style: none;
}

    .hero-tags li {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 12px;
        border: 1px solid rgba(148, 163, 184, 0.16);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.045);
        color: #cbd5e1;
        font-size: 0.88rem;
        font-weight: 700;
    }

.tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.75);
}
.section {
    padding: 84px 0;
}

.section-heading {
    display: grid;
    gap: 18px;
    max-width: 760px;
    margin-bottom: 34px;
}

    .section-heading.center {
        margin-inline: auto;
        text-align: center;
    }

.section-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    padding: 8px 12px;
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.075);
    color: #bae6fd;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.center .section-label {
    margin-inline: auto;
}

h2 {
    font-size: clamp(2.15rem, 4.5vw, 4rem);
    line-height: 1.03;
    letter-spacing: -0.058em;
    font-weight: 700;
}

.section-text {
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.72;
}
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 34px;
}

.service-card,
.process-card,
.value-card {
    position: relative;
    border: 1px solid rgba(148, 163, 184, 0.15);
    background: linear-gradient(145deg, rgba(255,255,255,0.065), rgba(255,255,255,0.022)), rgba(10, 18, 32, 0.6);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
    /* V2: pas de backdrop-filter (scroll) */
    background: var(--panel-strong);
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

    .service-card:hover,
    .process-card:hover,
    .value-card:hover {
        transform: translateY(-4px);
        border-color: rgba(56, 189, 248, 0.3);
        box-shadow: 0 22px 62px rgba(0, 0, 0, 0.2), 0 0 42px rgba(56, 189, 248, 0.07), inset 0 1px 0 rgba(255,255,255,0.1);
    }

.service-card {
    min-height: 360px;
    padding: 24px;
    border-radius: var(--radius-xl);
}

    .service-card::before,
    .process-card::before,
    .value-card::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: 0;
        background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(56, 189, 248, 0.16), transparent 36%);
        transition: opacity 0.25s ease;
        pointer-events: none;
    }

    .service-card:hover::before,
    .process-card:hover::before,
    .value-card:hover::before {
        opacity: 1;
    }

.card-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 24px;
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.18), rgba(99, 102, 241, 0.12));
    color: #e0f2fe;
}

.service-card h3,
.process-card h3,
.value-card h3 {
    position: relative;
    margin-bottom: 14px;
    font-size: 1.3rem;
    letter-spacing: -0.035em;
    font-weight: 850;
}

.service-card p,
.process-card p,
.value-card p {
    position: relative;
    color: var(--muted);
    line-height: 1.72;
}

.card-list {
    position: relative;
    display: grid;
    gap: 11px;
    margin-top: 24px;
    list-style: none;
    color: #d7e1f3;
    font-size: 0.94rem;
    font-weight: 680;
}

    .card-list li {
        display: flex;
        align-items: center;
        gap: 9px;
    }

.check {
    display: inline-grid;
    place-items: center;
    width: 19px;
    height: 19px;
    min-width: 19px;
    border-radius: 50%;
    background: rgba(52, 211, 153, 0.12);
    color: #86efac;
    font-size: 0.78rem;
}
.cta-section {
    padding: 90px 0 110px;
}

.cta-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
    gap: 36px;
    align-items: start;
    padding: clamp(28px, 5vw, 48px);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 38px;
    background: radial-gradient(circle at 12% 20%, rgba(56, 189, 248, 0.22), transparent 32%), radial-gradient(circle at 86% 24%, rgba(168, 85, 247, 0.2), transparent 34%), rgba(8, 14, 26, 0.92);
    box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,0.1);
    overflow: hidden;
}

    .cta-card::after {
        content: "";
        position: absolute;
        inset: 1px;
        border-radius: inherit;
        border: 1px solid rgba(255,255,255,0.06);
        pointer-events: none;
    }

    .cta-card h2 {
        max-width: 760px;
        margin-top: 18px;
        margin-bottom: 18px;
        font-size: clamp(2rem, 4vw, 3.85rem);
    }

    .cta-card p {
        max-width: 650px;
        color: var(--muted);
        font-size: 1.08rem;
        line-height: 1.75;
    }

.cta-actions {
    display: grid;
    gap: 12px;
    min-width: 250px;
}

.email-link {
    color: #bae6fd;
    font-weight: 700;
    word-break: break-word;
}
.site-footer {
    padding: 0 0 34px;
    color: var(--muted-2);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid rgba(148, 163, 184, 0.13);
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 16px;
}

    .footer-links a:hover,
    .footer-links a:focus-visible {
        color: white;
        outline: none;
    }

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

    .reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

/* ——— Ajouts pages secondaires ——— */
.page-hero { padding: 150px 0 56px; }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.06em; }
.breadcrumb { margin-bottom: 22px; color: var(--muted-2); font-size: 0.86rem; font-weight: 600; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--muted-2); }
.breadcrumb a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover, .breadcrumb a:focus-visible { color: white; }
.app-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.app-icon { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 12px 36px rgba(56, 189, 248, 0.18); }
.app-head p { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.app-head strong { display: block; color: var(--text); font-size: 1.15rem; }
.store-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 30px; }
.play-badge { display: inline-block; line-height: 0; border-radius: 12px; }
.play-badge img { height: 72px; width: auto; }
.play-badge:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.store-note { color: var(--muted-2); font-size: 0.86rem; line-height: 1.5; max-width: 360px; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value-card { padding: 24px; border-radius: var(--radius-xl); }
.shots { display: flex; gap: 18px; overflow-x: auto; padding: 6px 4px 18px; scroll-snap-type: x mandatory; list-style: none; }
.shots li { flex: 0 0 auto; scroll-snap-align: start; }
.shots figure { width: 212px; }
.shots img { display: block; width: 212px; height: auto; border-radius: 26px; border: 6px solid #111827; background: #0b1220; box-shadow: var(--shadow-soft); }
.shots figcaption { margin-top: 12px; color: var(--muted); font-size: 0.9rem; font-weight: 600; line-height: 1.45; }
.plans-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.plan-tag { display: inline-block; margin-bottom: 12px; padding: 5px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; background: rgba(52, 211, 153, 0.12); color: #86efac; }
.plan-tag.pro { background: rgba(168, 85, 247, 0.14); color: #d8b4fe; }
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--panel-strong); }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-weight: 800; }
.faq details[open] summary::after { content: "−"; }
.faq summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: var(--radius-lg); }
.faq details p { padding: 0 20px 18px; color: var(--muted); line-height: 1.7; }
.legal-note { margin-top: 18px; color: var(--muted-2); font-size: 0.78rem; line-height: 1.5; }
.prose { max-width: 780px; color: var(--muted); line-height: 1.75; font-size: 1.03rem; }
.prose h2 { margin: 36px 0 14px; color: var(--text); font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -0.03em; }
.prose p + p, .prose ul { margin-top: 12px; }
.prose ul { padding-left: 1.2em; }
.prose a, .text-link { color: #bae6fd; text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 18px 0; padding: 16px 20px; border-left: 3px solid var(--blue); border-radius: 0 var(--radius-md) var(--radius-md) 0; background: rgba(56, 189, 248, 0.06); color: var(--text); }

@media (max-width: 1040px) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-card { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .container { width: min(calc(100% - 28px), var(--max)); }
    .site-header { top: max(10px, env(safe-area-inset-top, 0px)); padding-left: max(14px, env(safe-area-inset-left, 0px)); padding-right: max(14px, env(safe-area-inset-right, 0px)); }
    .nav-shell { width: 100%; max-width: 100%; border-radius: 20px; padding: 6px 6px 6px 8px; gap: 8px; }
    .brand { padding: 4px 2px; gap: 6px; flex: 1 1 auto; min-width: 0; }
    .brand-mark { width: 32px; height: 32px; flex-shrink: 0; }
    .brand > span:last-child { font-size: 0.9rem; }
    .nav-links { display: none; }
    .nav-cta { flex: 0 0 auto; padding: 10px 12px; font-size: 0.78rem; gap: 4px; }
    .nav-cta-full { display: none; }
    .nav-cta-short { display: inline; }
    .page-hero { padding: 118px 0 40px; }
    h2 { font-size: clamp(1.8rem, 9vw, 2.6rem); line-height: 1.06; letter-spacing: -0.05em; }
    .section { padding: 56px 0; }
    .benefits-grid, .plans-grid { grid-template-columns: 1fr; }
    .shots figure, .shots img { width: 200px; }
    .play-badge img { height: 64px; }
    .cta-card { border-radius: 28px; padding: 24px; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.001ms !important; }
}
