/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --dark:    #0a0a0f;
    --dark-2:  #12121a;
    --dark-3:  #1a1a2e;
    --accent:  #f59e0b;
    --accent-2:#fbbf24;
    --white:   #f5f5f7;
    --gray:    #9ca3af;
    --radius:  16px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.2rem 5%;
    background: rgba(10, 10, 15, .7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,.05);
    transition: padding .3s, background .3s;
}
.navbar.scrolled {
    padding: .8rem 5%;
    background: rgba(10, 10, 15, .95);
}
.navbar-brand {
    font-size: 1.6rem; font-weight: 800;
    letter-spacing: -0.02em;
}
.navbar-brand span { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
    font-size: .9rem; font-weight: 500; color: var(--gray);
    transition: color .25s;
    text-transform: uppercase; letter-spacing: .05em;
}
.nav-links a:hover { color: var(--white); }
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    padding: 8rem 5% 4rem;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(245,158,11,.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 80% 80%, rgba(245,158,11,.06) 0%, transparent 60%);
    pointer-events: none;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .5rem 1.2rem;
    background: rgba(245,158,11,.1);
    border: 1px solid rgba(245,158,11,.25);
    border-radius: 100px;
    font-size: .8rem; font-weight: 600; color: var(--accent);
    text-transform: uppercase; letter-spacing: .08em;
    margin-bottom: 2rem;
    animation: fadeUp .8s ease both;
}
.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    animation: fadeUp .8s ease .15s both;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, var(--accent), #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    max-width: 600px;
    font-size: 1.15rem; color: var(--gray);
    margin-bottom: 3rem;
    animation: fadeUp .8s ease .3s both;
}
.hero-cta {
    display: inline-flex; align-items: center; gap: .6rem;
    padding: 1rem 2.4rem;
    background: var(--accent);
    color: var(--dark);
    font-weight: 700; font-size: 1rem;
    border-radius: 100px;
    transition: transform .25s, box-shadow .25s;
    animation: fadeUp .8s ease .45s both;
}
.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245,158,11,.35);
}
.hero-cta svg { width: 18px; height: 18px; }

.scroll-indicator {
    position: absolute; bottom: 2rem;
    display: flex; flex-direction: column; align-items: center; gap: .5rem;
    font-size: .75rem; color: var(--gray);
    letter-spacing: .1em; text-transform: uppercase;
    animation: fadeUp .8s ease .6s both;
}
.scroll-indicator span {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease infinite;
}

/* ── Section common ──────────────────────────────────────── */
section { padding: 6rem 5%; }
.section-label {
    display: inline-block;
    font-size: .75rem; font-weight: 700;
    color: var(--accent);
    text-transform: uppercase; letter-spacing: .15em;
    margin-bottom: .8rem;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}
.section-desc {
    max-width: 560px;
    color: var(--gray);
    font-size: 1.05rem;
    margin-bottom: 3rem;
}

/* ── Brands ──────────────────────────────────────────────── */
#marques { background: var(--dark-2); }
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1100px;
}
.brand-card {
    position: relative;
    background: var(--dark-3);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    transition: transform .35s, border-color .35s, box-shadow .35s;
    overflow: hidden;
}
.brand-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--accent), #f97316);
    opacity: 0;
    transition: opacity .35s;
}
.brand-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245,158,11,.2);
    box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.brand-card:hover::before { opacity: 1; }

.brand-status {
    display: inline-block;
    padding: .3rem .8rem;
    border-radius: 100px;
    font-size: .7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
    margin-bottom: 1.2rem;
}
.brand-status.active {
    background: rgba(34,197,94,.12);
    color: #22c55e;
    border: 1px solid rgba(34,197,94,.25);
}
.brand-status.soon {
    background: rgba(245,158,11,.1);
    color: var(--accent);
    border: 1px solid rgba(245,158,11,.25);
}
.brand-card h3 {
    font-size: 1.8rem; font-weight: 800;
    margin-bottom: .6rem;
    letter-spacing: -0.01em;
}
.brand-card p {
    color: var(--gray); font-size: .95rem;
    margin-bottom: 1.5rem;
}
.brand-link {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .85rem; font-weight: 600;
    color: var(--accent);
    transition: gap .25s;
}
.brand-link:hover { gap: .8rem; }
.brand-link svg { width: 16px; height: 16px; }

/* ── Tool card accent ────────────────────────────────────── */
.tool-card::before {
    background: linear-gradient(90deg, #3b82f6, #6366f1);
}
.tool-card .brand-status.active {
    background: rgba(99,102,241,.12);
    color: #818cf8;
    border-color: rgba(99,102,241,.25);
}
.tool-card .brand-link { color: #818cf8; }
#outils { background: var(--dark); }

/* ── Chiffres / Stats ────────────────────────────────────── */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 4rem 0 0;
}
.stat {
    text-align: center;
    padding: 2rem;
}
.stat-number {
    font-size: 3rem; font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: .4rem;
}
.stat-label {
    font-size: .85rem; color: var(--gray);
    text-transform: uppercase; letter-spacing: .06em;
}

/* ── Vision ──────────────────────────────────────────────── */
#vision {
    display: flex; flex-wrap: wrap; gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 6rem 5%;
}
.vision-text { flex: 1 1 400px; }
.vision-visual {
    flex: 1 1 300px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.vision-box {
    background: var(--dark-2);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: var(--radius);
    padding: 1.8rem 1.4rem;
    transition: border-color .3s;
}
.vision-box:hover { border-color: rgba(245,158,11,.2); }
.vision-box .icon {
    font-size: 1.8rem;
    margin-bottom: .8rem;
}
.vision-box h4 {
    font-size: .95rem; font-weight: 700;
    margin-bottom: .3rem;
}
.vision-box p {
    font-size: .8rem; color: var(--gray);
}

/* ── Contact / CTA ───────────────────────────────────────── */
#contact {
    text-align: center;
    background: var(--dark-2);
}
.contact-box {
    max-width: 600px;
    margin: 0 auto;
    padding: 4rem 2.5rem;
    background: var(--dark-3);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}
.contact-box::before {
    content: '';
    position: absolute; top: -60%; left: -20%; right: -20%;
    height: 200px;
    background: radial-gradient(ellipse, rgba(245,158,11,.08), transparent 70%);
    pointer-events: none;
}
.contact-box h3 {
    font-size: 1.8rem; font-weight: 800;
    margin-bottom: .6rem;
}
.contact-box p {
    color: var(--gray); margin-bottom: 2rem;
}
.contact-email {
    display: inline-flex; align-items: center; gap: .6rem;
    padding: 1rem 2.4rem;
    background: var(--accent);
    color: var(--dark);
    font-weight: 700; font-size: 1rem;
    border-radius: 100px;
    transition: transform .25s, box-shadow .25s;
}
.contact-email:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245,158,11,.35);
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
    text-align: center;
    padding: 3rem 5%;
    border-top: 1px solid rgba(255,255,255,.05);
    font-size: .85rem; color: var(--gray);
}
.footer-brand {
    font-size: 1.1rem; font-weight: 700; color: var(--white);
    margin-bottom: .4rem;
}
.footer-brand span { color: var(--accent); }

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
    0%, 100% { opacity: .3; transform: scaleY(1); }
    50%      { opacity: 1;  transform: scaleY(1.3); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(10,10,15,.97);
        padding: 1.5rem 5%;
        gap: 1rem;
        border-bottom: 1px solid rgba(255,255,255,.05);
    }
    .nav-toggle { display: block; }
    .hero { min-height: 90vh; padding-top: 6rem; }
    .brands-grid { grid-template-columns: 1fr; }
    #vision { flex-direction: column; gap: 2rem; }
    .stats-row { grid-template-columns: 1fr 1fr; }
}
