/* ==========================================================
   INDEX.CSS
   Page d'accueil : grand titre, piliers, étapes pour rejoindre.
   ========================================================== */


/* --- GRAND HERO D'ACCUEIL --- */
.home-hero {
    min-height: 70vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 5rem 1.5rem;
    background:
        radial-gradient(ellipse at 50% 45%, rgba(5, 10, 25, 0.65), transparent 70%),
        radial-gradient(ellipse at 50% 40%, #c8a86218, transparent 65%);
}

.home-hero h1 {
    font-size: clamp(3.5rem, 11vw, 8rem);
    line-height: 1;
    color: var(--title);
    text-shadow: 0 0 50px #c8a86277, 0 3px 14px #000c;
}

.home-hero p {
    max-width: 34rem;
    margin: 1.2rem auto 2rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 8px #000, 0 0 20px #000a;
}

.home-hero .actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Bouton transparent avec contour doré */
.btn.ghost {
    background: transparent;
    border-color: var(--gold);
    color: var(--gold-light);
}


/* --- CONTENU DE LA PAGE --- */
.home {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
    display: grid;
    gap: 2.5rem;
}

.home h2 {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 8px #000, 0 0 18px #000a;
}


/* --- PILIERS (3 blocs "Le serveur") --- */
.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.2rem;
}

.pillars .panel h3 {
    color: var(--gold);
    margin-bottom: 0.4rem;
}


/* --- ÉTAPES "Comment rejoindre" (liste numérotée) --- */
.steps {
    counter-reset: s;
    display: grid;
    gap: 0.8rem;
    max-width: 700px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.steps li {
    counter-increment: s;
    padding: 1rem 1.2rem 1rem 3.4rem;
    position: relative;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--card);
}

/* Pastille ronde avec le numéro */
.steps li::before {
    content: counter(s);
    position: absolute;
    left: 1rem;
    top: 0.9rem;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    background: var(--gold);
    color: #1a1508;
    display: grid;
    place-items: center;
    font-weight: 700;
}
