@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600&display=swap');

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

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: 'Outfit', 'Segoe UI', sans-serif;
    color: #e2e8f0;
    background: linear-gradient(
        180deg,
        #004f00 0%,
        #003500 40%,
        #001a00 75%,
        #000 100%
    ) fixed;
    padding: 110px 20px 60px; /* place pour la navbar */
}

a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

/* ---------- Navbar (liquid glass) ---------- */
.topbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: max-content;
    max-width: calc(100% - 32px);
}

.topnav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px 6px 6px;
    border-radius: 999px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.16),
        rgba(255, 255, 255, 0.05)
    );
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.brand {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    padding-right: 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.brand img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.topnav-links {
    display: flex;
    align-items: center;
    gap: 2px;
}

.topnav-item {
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    color: rgba(255, 255, 255, 0.78);
    transition: background 0.25s ease, color 0.25s ease;
}

.topnav-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.topnav-item.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
}

/* ---------- Page ---------- */
.page {
    max-width: 960px;
    margin: 0 auto;
}

/* Hero */
.hero {
    text-align: center;
    padding: 50px 0 60px;
}

.badge {
    display: inline-block;
    padding: 7px 16px;
    margin-bottom: 24px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero h1 {
    margin-bottom: 18px;
    font-size: clamp(2.6rem, 8vw, 4.6rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -1px;
    color: #fff;
}

.hero h1 span {
    background: linear-gradient(90deg, #4ade80, #22c55e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    max-width: 560px;
    margin: 0 auto 34px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Boutons */
.btn {
    padding: 13px 28px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 500;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}


.btn-primary {
    color: #022c0f;
    background: #4ade80;
    box-shadow: 0 8px 24px rgba(74, 222, 128, 0.25);
}

.btn-primary:hover {
    color: #022c0f;
    background: #86efac;
    box-shadow: 0 10px 30px rgba(74, 222, 128, 0.35);
}

.btn-glass {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.btn-glass:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
}

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

.feature {
    padding: 28px 24px;
    border-radius: 24px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.09),
        rgba(255, 255, 255, 0.03)
    );
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: transform 0.25s ease, border-color 0.25s ease;
}



.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.5rem;
    border-radius: 14px;
    background: rgba(74, 222, 128, 0.14);
}

.feature h2 {
    margin-bottom: 8px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
}

.feature p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 600px) {
    body { padding-top: 90px; }
    .topbar { top: 12px; }
    .topnav-item { padding: 9px 12px; font-size: 0.85rem; }
    .brand { padding-right: 8px; }
    .hero { padding: 30px 0 40px; }
    .btn { padding: 12px 22px; }
}

footer {
    padding: 40px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
}