/* [L01] RESET SIMPLE */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #050816 0, #02030a 45%, #010208 100%);
    color: #f5f7ff;
    -webkit-font-smoothing: antialiased;
}

/* [L20] ARRIÈRE-PLAN FUTURISTE */
.bg-orbit {
    position: fixed;
    border-radius: 999px;
    filter: blur(60px);
    opacity: 0.35;
    z-index: -1;
    pointer-events: none;
}

.orbit-1 {
    width: 380px;
    height: 380px;
    background: #00f5ff;
    top: -80px;
    left: -60px;
}

.orbit-2 {
    width: 460px;
    height: 460px;
    background: #7c3aed;
    bottom: -100px;
    right: -40px;
}

.orbit-3 {
    width: 260px;
    height: 260px;
    background: #22c55e;
    top: 40%;
    left: 60%;
}

/* [L50] NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 5vw;
    backdrop-filter: blur(16px);
    background: linear-gradient(to right, rgba(0,0,0,0.75), rgba(7,10,26,0.85));
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-circle {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    background: radial-gradient(circle at top, rgba(56, 189, 248, 0.3), rgba(15, 23, 42, 0.95));
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.5);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1rem;
    font-weight: 600;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: #94a3b8;
}

.navbar-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.navbar-links a {
    text-decoration: none;
    color: #e2e8f0;
    position: relative;
    padding-bottom: 0.1rem;
}

.navbar-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.2rem;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #22d3ee, #a855f7);
    transition: width 0.18s ease-out;
}

.navbar-links a:hover::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    gap: 0.75rem;
}

/* [L110] BOUTONS */
.btn-primary,
.btn-ghost {
    border-radius: 999px;
    padding: 0.5rem 1.3rem;
    font-size: 0.9rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.16s ease-out, box-shadow 0.16s ease-out, background 0.16s ease-out;
}

.btn-primary {
    background: linear-gradient(to right, #22d3ee, #a855f7);
    color: #0b1020;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(56, 189, 248, 0.4);
}

.btn-ghost {
    background: rgba(15, 23, 42, 0.75);
    color: #e5e7eb;
    border-color: rgba(148, 163, 184, 0.5);
}

.btn-ghost:hover {
    background: rgba(15, 23, 42, 0.95);
    transform: translateY(-1px);
}

.btn-xl {
    padding: 0.75rem 1.6rem;
    font-size: 0.95rem;
}

/* [L160] PAGE & HERO */
.page {
    padding: 1.8rem 5vw 4rem;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
    padding-top: 1.5rem;
    padding-bottom: 3rem;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.5);
    background: rgba(15, 23, 42, 0.8);
    font-size: 0.75rem;
    color: #a5f3fc;
}

.hero h1 {
    font-size: clamp(2.4rem, 3vw + 1rem, 3.2rem);
    line-height: 1.05;
}

.gradient-text {
    background: linear-gradient(to right, #22d3ee, #a855f7);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.6;
    color: #cbd5f5;
    max-width: 640px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.metric-card {
    min-width: 120px;
    padding: 0.75rem 1rem;
    border-radius: 0.9rem;
    background: radial-gradient(circle at top left, rgba(15,23,42,0.9), rgba(15,23,42,0.6));
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.metric-value {
    font-weight: 600;
    font-size: 1.1rem;
}

.metric-label {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* [L230] HERO DROITE – CARTE HOLOGRAPHIQUE */
.hero-right {
    display: flex;
    justify-content: center;
}

.holo-card {
    width: 100%;
    max-width: 420px;
    border-radius: 1.4rem;
    padding: 1.2rem 1.3rem;
    background: radial-gradient(circle at top, rgba(15,23,42,0.95), rgba(15,23,42,0.9));
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.15);
    position: relative;
    overflow: hidden;
}

.holo-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    border: 1px solid transparent;
    background: linear-gradient(120deg, rgba(34,211,238,0.1), rgba(168,85,247,0.25), rgba(34,197,94,0.12));
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    padding: 1px;
    pointer-events: none;
}

.holo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.9rem;
    font-size: 0.85rem;
    color: #e2e8f0;
}

.holo-title {
    font-weight: 500;
}

.holo-status {
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    border: 1px solid rgba(34, 197, 94, 0.6);
    color: #bbf7d0;
    background: rgba(21, 128, 61, 0.4);
}

.holo-body {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 0.9rem;
}

.holo-chat {
    padding: 0.7rem 0.8rem;
    border-radius: 0.9rem;
    font-size: 0.8rem;
    line-height: 1.5;
}

.holo-chat-user {
    background: rgba(15,23,42,0.9);
    border: 1px solid rgba(148, 163, 184, 0.7);
}

.holo-chat-ia {
    background: rgba(15,23,42,0.9);
    border: 1px solid rgba(56, 189, 248, 0.7);
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.35);
}

.holo-label {
    display: block;
    font-size: 0.7rem;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.holo-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.holo-pill {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: #e5e7eb;
}

/* [L320] SECTIONS GÉNÉRALES */
.section {
    padding: 3rem 0;
}

.section-alt {
    background: radial-gradient(circle at top, rgba(15,23,42,0.94), rgba(15,23,42,0.96));
    border-radius: 1.6rem;
    padding: 3rem 3vw;
    margin: 1rem -3vw;
    border: 1px solid rgba(30, 64, 175, 0.4);
}

.section-header {
    max-width: 720px;
    margin: 0 auto 2rem;
    text-align: center;
}

.section-header h2 {
    font-size: 1.7rem;
    margin-bottom: 0.6rem;
}

.section-header p {
    font-size: 0.95rem;
    color: #cbd5e1;
}

/* [L360] GRID LAYOUTS */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

/* [L380] CARDS & LISTES */
.card {
    padding: 1.3rem 1.3rem 1.4rem;
    border-radius: 1.1rem;
    background: rgba(15,23,42,0.9);
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.7);
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.9rem;
    color: #cbd5e1;
}

.list {
    list-style: none;
    display: grid;
    gap: 0.4rem;
    margin-top: 0.4rem;
}

.list li {
    font-size: 0.88rem;
    color: #cbd5e1;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
}

.pill-soft {
    background: rgba(56, 189, 248, 0.12);
    color: #67e8f9;
    border: 1px solid rgba(56, 189, 248, 0.5);
}

/* [L430] TIMELINE */
.timeline {
    max-width: 720px;
    margin: 0 auto;
    border-left: 1px solid rgba(148, 163, 184, 0.5);
    padding-left: 1.2rem;
    display: grid;
    gap: 1.3rem;
}

.timeline-item {
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -1.55rem;
    top: 0.3rem;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(to right, #22d3ee, #a855f7);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
}

.timeline-content h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: #cbd5e1;
}

/* [L470] SECTION CTA */
.section-cta {
    text-align: center;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.cta-note {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* [L490] FOOTER */
.footer {
    padding: 1.4rem 5vw 2rem;
    border-top: 1px solid rgba(30, 64, 175, 0.45);
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* [L510] RESPONSIVE */
@media (max-width: 960px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-right {
        order: -1;
        margin-bottom: 1.5rem;
    }

    .navbar-links {
        display: none;
    }
}

@media (max-width: 768px) {
    .page {
        padding-inline: 1.2rem;
    }

    .section-alt {
        margin-inline: -1.2rem;
        padding-inline: 1.2rem;
    }

    .grid-3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .grid-2 {
        grid-template-columns: minmax(0, 1fr);
    }

    .navbar {
        padding-inline: 1.2rem;
    }
}
