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

:root {
    --bg: #050508;
    --fg: #ffffff;
    --acc: rgba(255, 255, 255, 0.08);
    --acc-hover: rgba(255, 255, 255, 0.15);
    --muted: rgba(255, 255, 255, 0.45);
    --border: rgba(255, 255, 255, 0.1);
    --font-main: 'Space Mono', monospace;
    --font-heading: 'Bebas Neue', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ─── CANVAS ÉTOILES ─────────────────────────────── */
#stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ─── CONTENU ────────────────────────────────────── */
.content {
    position: relative;
    z-index: 1;
}

/* ─── NAV ────────────────────────────────────────── */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    border-bottom: 1px solid var(--acc);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    letter-spacing: 0.2em;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--fg);
}

.atom-mini {
    width: 24px;
    height: 24px;
    opacity: 0.9;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-logo:hover .atom-mini {
    transform: rotate(180deg);
}

.nav-cta {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.6rem 1.4rem;
    cursor: pointer;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    display: inline-block;
}

.nav-cta:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* ─── HERO ───────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--acc);
}

.hero-title-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3.5rem;
    z-index: 5;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(6rem, 18vw, 14rem);
    line-height: 0.85;
    letter-spacing: 0.05em;
    position: relative;
}

.hero-title .outline {
    display: block;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
    color: transparent;
    transition: -webkit-text-stroke 0.3s ease;
}

.hero-title:hover .outline {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
}

.hero-title .filled {
    display: block;
    color: var(--fg);
}

/* Logo Animation Refined */
.atom-svg-hero {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(280px, 50vw, 450px);
    height: auto;
    pointer-events: none;
    z-index: -1;
    opacity: 0.6;
}

.orbit {
    fill: none;
    stroke: white;
    stroke-width: 0.5;
    stroke-dasharray: 4 4;
    opacity: 0.2;
}

.orbit-main {
    stroke-dasharray: none;
    stroke-width: 1;
    opacity: 0.4;
    animation: orbitPulse 4s ease-in-out infinite alternate;
}

@keyframes orbitPulse {
    from { opacity: 0.3; transform: scale(1); }
    to { opacity: 0.6; transform: scale(1.05); }
}

.atom-orbits-complex {
    animation: slowSpin 60s linear infinite;
    transform-origin: center;
}

@keyframes slowSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-sub {
    font-size: 0.85rem;
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: var(--muted);
    max-width: 480px;
    margin-bottom: 4rem;
}

.hero-sub strong {
    color: var(--fg);
    font-weight: 700;
}

.btn-primary {
    font-family: var(--font-main);
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    background: var(--fg);
    color: var(--bg);
    border: none;
    padding: 1.2rem 3rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: transparent;
    color: var(--fg);
    box-shadow: inset 0 0 0 1px var(--fg);
    transform: translateY(-2px);
}

.scroll-hint {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.6rem;
    letter-spacing: 0.3em;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--fg), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
    transform-origin: top;
}

@keyframes scrollPulse {
    0% { transform: scaleY(0); opacity: 0; }
    50% { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ─── SECTIONS ───────────────────────────────────── */
section {
    position: relative;
    padding: 10rem 3rem;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4rem;
}

.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--acc);
}

/* ─── MANIFESTO ──────────────────────────────────── */
.manifesto {
    max-width: 900px;
    margin: 0 auto;
}

.manifesto-text {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.manifesto-text em {
    color: var(--fg);
    font-style: normal;
    background: linear-gradient(transparent 80%, rgba(255,255,255,0.2) 0);
}

/* ─── PILLARS ────────────────────────────────────── */
.pillars {
    max-width: 1100px;
    margin: 0 auto;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillar {
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--acc);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.pillar:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.pillar-num {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: -1rem;
    right: 0.5rem;
    line-height: 1;
    pointer-events: none;
}

.pillar-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.pillar h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    font-weight: 400;
}

.pillar p {
    font-size: 0.8rem;
    line-height: 1.8;
    color: var(--muted);
}

/* ─── CREATOR ────────────────────────────────────── */
.creator {
    max-width: 1100px;
    margin: 0 auto;
}

.creator-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 4rem;
    border: 1px solid var(--acc);
}

.creator-img-wrap {
    position: relative;
}

.creator-img {
    width: 100%;
    aspect-ratio: 1;
    background: #111;
    border: 1px solid var(--acc);
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 0.5s ease;
}

.creator-card:hover .creator-img {
    filter: grayscale(0);
}

.creator-content .creator-role {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--fg);
    margin-bottom: 0.5rem;
    opacity: 0.6;
}

.creator-content h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    line-height: 1;
}

.creator-bio {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 650px;
}

.btn-group-left {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* ─── CTA BAND ───────────────────────────────────── */
.cta-band {
    text-align: center;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.02));
}

.cta-band h2 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: 0.05em;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.cta-band p {
    font-size: 0.8rem;
    color: var(--muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 4rem;
}

.btn-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    font-family: var(--font-main);
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--fg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1.2rem 3rem;
    cursor: pointer;
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--fg);
}

/* ─── FOOTER ─────────────────────────────────────── */
footer {
    padding: 4rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.2em;
    border-top: 1px solid var(--acc);
}

/* ─── REVEAL AU SCROLL ───────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1), transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}

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

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 900px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    .creator-card {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
        text-align: center;
    }
    .creator-img-wrap {
        max-width: 200px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    nav {
        padding: 1rem 1.5rem;
    }
    section {
        padding: 6rem 1.5rem;
    }
    .hero-title {
        font-size: 5rem;
    }
    .hero-title .outline {
        display: none;
    }
    .atom-svg-hero {
        width: 300px;
    }
    footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
