* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: rgb(110, 201, 35);
    --dark: #0d1117;
    --dark2: #111827;
    --text: #ffffff;
    --gray: #9ca3af;
    --radius: 24px;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    color: #111827;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: auto;
}

img {
    width: 100%;
    display: block;
}

html {
    scroll-behavior: smooth;
}

/* NAVBAR */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    padding: 25px 0;
    transition: 0.3s;
    background: var(--dark2);
}

.navbar.scrolled {
    background: rgba(13,17,23,0.85);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* HERO */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--dark2);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--dark2);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    background: rgba(255,255,255,0.08);
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    margin-bottom: 30px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    color: white;
    margin-bottom: 20px;
    line-height: 1;
}

.hero p {
    max-width: 900px;
    margin: auto;
    color: rgba(255,255,255,0.85);
    font-size: 1.2rem;
    line-height: 1.8;
}

.hero-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 16px 28px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-5px);
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
}

.hero-stats {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 25px;
}

.stat-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 35px;
    border-radius: var(--radius);
    backdrop-filter: blur(14px);
}

.stat-card h2 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.stat-card span {
    color: rgba(255,255,255,0.8);
}

/* TITLES */

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title span {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 14px;
}

.section-title h2 {
    margin-top: 15px;
    font-size: 3rem;
}

.dark h2 {
    color: white;
}

/* FEATURES */

.features {
    padding: 120px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 45px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
}

/* PROGRESSION */

.progression {
    background: var(--dark);
    padding: 120px 0;
}

.progress-box {
    max-width: 1000px;
    margin: auto;
}

.progress-top {
    display: flex;
    justify-content: space-between;
    color: white;
    margin-bottom: 15px;
}

.progress-bar {
    height: 24px;
    background: rgba(255,255,255,0.08);
    border-radius: 50px;
    overflow: hidden;
}

.progress-fill {
    width: 75%;
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--primary), #bbff00);
    animation: progress 2s ease;
}

@keyframes progress {
    from {
        width: 0;
    }
}

.status-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 25px;
}

.status-card {
    padding: 30px;
    border-radius: var(--radius);
    color: white;
}

.done {
    background: rgba(110,201,35,0.15);
    border: 1px solid rgba(110,201,35,0.3);
}

.dev {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}

.wait {
    background: rgba(255,174,0,0.1);
    border: 1px solid rgba(255,174,0,0.2);
}

/* GALLERY */

.gallery {
    padding: 120px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
    gap: 30px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--radius);
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: 0.3s;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-item img {
    height: 250px;
    object-fit: cover;
}

.gallery-content {
    padding: 30px;
}

.gallery-content h3 {
    margin-bottom: 10px;
}

.gallery-content p {
    color: #666;
}

/* ROADMAP */

.roadmap {
    background: var(--dark2);
    padding: 120px 0;
}

.timeline {
    max-width: 900px;
    margin: auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background: rgba(255,255,255,0.1);
}

.timeline-item {
    position: relative;
    margin: 60px 0;
}

.timeline-dot {
    width: 18px;
    height: 18px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-card {
    width: 45%;
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: var(--radius);
    color: white;
}

.timeline-item:nth-child(even) .timeline-card {
    margin-left: auto;
}

/* FOOTER */

footer {
    background: #06090d;
    padding: 60px 0;
    text-align: center;
    color: rgba(255,255,255,0.7);
}

footer h3 {
    color: white;
    margin-bottom: 15px;
}

/* LIGHTBOX */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 20px;
}

.lightbox-close {
    position: absolute;
    top: 40px;
    right: 40px;
    background: transparent;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
}
/* =========================================
   MODERN GALLERY
========================================= */

.bloc_container {

    width: 100%;
    max-width: 1800px;

    margin: 100px auto;

    display: grid;

    grid-template-columns:
    repeat(auto-fit, minmax(340px, 1fr));

    gap: 28px;

    padding: 0 30px;
}

/* CARD */

.bloc_grid {

    position: relative;

    overflow: hidden;

    border-radius: 4px;

    background: #111;

    cursor: pointer;

    transition: 0.45s cubic-bezier(.2,.8,.2,1);

    box-shadow:
    0 10px 30px rgba(0,0,0,0.25);

}

/* HOVER CARD */

.bloc_grid:hover {

    transform:
    translateY(-12px)
    scale(1.02);

    box-shadow:
    0 25px 60px rgba(0,0,0,0.45),
    0 0 30px rgba(110,201,35,0.25);

}

/* IMAGE */

.bloc_grid_img {

    width: 100%;

    height: 320px;

    object-fit: cover;

    transition:
    transform 0.8s ease,
    filter 0.5s ease;

}

/* ZOOM */

.bloc_grid:hover .bloc_grid_img {

    transform: scale(1.12);

    filter:
    brightness(0.75)
    contrast(1.1);

}

/* OVERLAY */

.bloc_grid::before {

    content: '';

    position: absolute;

    inset: 0;

    background:
    linear-gradient(
        to top,
        rgba(0,0,0,0.8),
        transparent 45%
    );

    opacity: 0;

    transition: 0.4s;

    z-index: 1;
}

/* SHOW OVERLAY */

.bloc_grid:hover::before {

    opacity: 1;
}

/* TEXT */

.bloc_grid::after {

    content: 'Explorer la zone';

    position: absolute;

    left: 30px;
    bottom: 25px;

    color: white;

    font-size: 1.1rem;

    font-weight: 600;

    letter-spacing: 1px;

    opacity: 0;

    transform: translateY(20px);

    transition: 0.4s;

    z-index: 2;
}

/* SHOW TEXT */

.bloc_grid:hover::after {

    opacity: 1;

    transform: translateY(0);
}

/* IMAGE LINK */

.bloc_grid a {

    display: block;

    overflow: hidden;
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:768px){

    .bloc_container {

        grid-template-columns: 1fr;

        padding: 0 20px;

        gap: 22px;
    }

    .bloc_grid_img {

        height: 260px;
    }

}
/* MOBILE */

@media(max-width:900px) {

    .timeline::before {
        left: 20px;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-card {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }

}

@media(max-width:768px) {

    .nav-links {
        display: none;
    }

    .hero {
        padding: 140px 0 80px;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1rem;
    }

}
