/* ------------------------------
   RESET & BASE
------------------------------ */

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

body {
    font-family: Arial, sans-serif;
    background: #0d0d0d;
    color: #fff;
    line-height: 1.6;
}

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

ul {
    list-style: none;
}

/* ------------------------------
   NAVBAR
------------------------------ */

.navbar {
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-weight: bold;
    transition: 0.2s;
}

.nav-links a:hover {
    color: #a855f7;
}

/* ------------------------------
   HERO
------------------------------ */

.hero {
    position: relative;
    min-height: 100vh;
    padding: 120px 20px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-image: url("assets/hero.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll; /* évite le flou sur mobile */
}

.hero-content {
    text-align: center;
    max-width: 700px;
}

/* LOGO AGRANDI */
.hero-logo {
    width: 320px;          /* taille large */
    max-width: 90%;        /* ne dépasse jamais l'écran */
    height: auto;
    margin: 0 auto 25px;
    display: block;
    filter: drop-shadow(0 0 12px rgba(0,0,0,0.7));
    image-rendering: pixelated;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

/* ------------------------------
   BUTTONS
------------------------------ */

.btn {
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
    transition: 0.2s;
}

.btn.primary {
    background: #a855f7;
    color: white;
}

.btn.primary:hover {
    background: #9333ea;
}

.btn.secondary {
    background: #333;
}

.btn.secondary:hover {
    background: #444;
}

/* ------------------------------
   SECTIONS
------------------------------ */

.section {
    padding: 80px 20px;
}

.section-alt {
    background: #111;
}

.container {
    max-width: 1100px;
    margin: auto;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #a855f7;
}

/* ------------------------------
   FEATURES GRID
------------------------------ */

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

.card {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    transition: 0.2s;
}

.card:hover {
    border-color: #a855f7;
}

/* ------------------------------
   JOIN SECTION
------------------------------ */

.join-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.info-list li {
    margin-bottom: 10px;
}

.highlight {
    color: #a855f7;
    font-weight: bold;
}

.steps li {
    margin-bottom: 10px;
}

/* ------------------------------
   CONTACT
------------------------------ */

.contact-links {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

/* ------------------------------
   FOOTER
------------------------------ */

.footer {
    padding: 30px 20px;
    text-align: center;
    background: #0a0a0a;
    color: #777;
}

/* ------------------------------
   RESPONSIVE
------------------------------ */

@media (max-width: 700px) {
    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        gap: 15px;
    }

    .hero-logo {
        width: 260px;   /* plus grand aussi sur mobile */
        max-width: 90%;
        margin-bottom: 20px;
    }

    .hero p {
        font-size: 1rem;
    }
}
