/* ==========================================================
   NGI — PAGE ACCUEIL
   Styles spécifiques à index.html

   Référence : mise en forme originale de la page d'accueil.

   Les éléments communs restent dans les fichiers core :
   - navigation
   - hero générique
   - boutons génériques
   - formulaire
   - footer
   - styles généraux
   ========================================================== */


/* ==================================================
   1. HEADER ACCUEIL
   ================================================== */

header {
    position: relative;

    min-height: 100vh;
}


/* ==================================================
   2. OFFRE DE LANCEMENT
   ================================================== */

.launch-offer {
    width: min(780px, 100%);

    margin: 30px auto;

    padding: 24px 28px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            rgba(0, 87, 255, .18),
            rgba(0, 166, 255, .10)
        );

    border: 1px solid rgba(56, 189, 248, .45);

    border-radius: 22px;

    box-shadow:
        0 0 30px rgba(0, 87, 255, .20);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


.launch-offer-badge {
    display: inline-block;

    padding: 7px 16px;

    margin-bottom: 12px;

    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            #0057FF,
            #00A6FF
        );

    color: #ffffff;

    font-weight: 700;

    font-size: .9rem;

    letter-spacing: .06em;
}


.launch-offer h2 {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: 1.7rem;
}


.launch-offer h2 span {
    color: #38bdf8;
}


.launch-offer p {
    margin: 0 0 8px;

    color: #e2e8f0;
}


.launch-offer small {
    display: block;

    margin-bottom: 18px;

    color: #94a3b8;
}


.launch-offer-actions {
    display: flex;

    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 14px;
}


/* ==================================================
   3. RÉSEAUX SOCIAUX DU HERO
   Ajustements propres à l'accueil.
   La base du composant est dans les fichiers core.
   ================================================== */

.hero-socials {
    gap: 25px;

    margin-top: 20px;
}


.hero-socials a {
    font-size: 1.6rem;
}


.hero-socials a:hover {
    transform:
        translateY(-5px)
        scale(1.08);
}


/* ==================================================
   4. ENGAGEMENTS NGI
   Classe historique : .reviews
   ================================================== */

.reviews {
    max-width: 1200px;

    margin: 20px auto;

    padding: 0 20px;

    text-align: center;
}


.reviews h2 {
    margin-bottom: 40px;

    color: #38bdf8;
}


.reviews-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;

    align-items: stretch;
}


/* ==================================================
   5. CARTES ENGAGEMENTS
   ================================================== */

.review-card {
    padding: 25px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    background: rgba(15, 23, 42, .85);

    border: 1px solid rgba(56, 189, 248, .25);

    border-radius: 20px;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.review-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 0 25px rgba(56, 189, 248, .25);
}


.review-card h3 {
    margin-bottom: 15px;
}


.review-card p {
    margin-bottom: 15px;

    color: #e2e8f0;
}




/* ==================================================
   3. COMPTE À REBOURS — OFFRE DE LANCEMENT
   ================================================== */

.launch-countdown {
    margin: 18px auto 20px;
}

.launch-countdown-label {
    display: block;

    margin-bottom: 10px;

    color: #cfeeff;

    font-size: .88rem;

    font-weight: 700;

    letter-spacing: .04em;
}

.launch-countdown-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 10px;

    width: min(560px, 100%);

    margin: 0 auto;
}

.countdown-unit {
    padding: 12px 8px;

    background: rgba(1, 19, 38, .72);

    border: 1px solid rgba(56, 189, 248, .30);

    border-radius: 14px;

    box-shadow:
        inset 0 0 16px rgba(0, 153, 255, .04);
}

.countdown-unit strong {
    display: block;

    color: #38bdf8;

    font-family: "Orbitron", sans-serif;

    font-size: clamp(1.25rem, 3vw, 1.8rem);

    line-height: 1.1;

    text-shadow:
        0 0 12px rgba(56, 189, 248, .30);
}

.countdown-unit span {
    display: block;

    margin-top: 5px;

    color: #cbd5e1;

    font-size: .76rem;
}

.launch-countdown-ended {
    margin: 10px 0 0;

    color: #f8fafc;

    font-weight: 700;
}

@media (max-width: 600px) {

    .launch-countdown-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}

/* ==================================================
   6. RESPONSIVE ACCUEIL
   ================================================== */

@media (max-width: 900px) {

    .reviews-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 768px) {

    .hero h1 {
        font-size: 2.5rem;
    }


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


    .launch-offer {
        width: 100%;

        padding: 20px 18px;
    }


    .launch-offer-actions .btn {
        width: 100%;
    }

}


@media (max-width: 600px) {

    .reviews {
        padding-left: 12px;
        padding-right: 12px;
    }


    .review-card {
        padding: 20px 16px;
    }


    .hero-socials {
        gap: 16px;
    }

}


/* ==================================================
   7. ÉLÉMENTS DE L'ANCIEN CSS NON REPRIS
   ==================================================

   .banner
   -------
   La règle existait dans le CSS inline d'origine,
   mais index.html ne contient aucun élément
   class="banner". Elle n'a donc aucun effet actuellement.

   .buttons
   --------
   La règle existait également, mais la page utilise
   class="hero-buttons", déjà gérée dans 02-layout.css.

   Ils ne sont volontairement pas dupliqués ici.

   ================================================== */

/* ==================================================
   PALIERS OFFRE — ACCUEIL
   ================================================== */

.launch-offer-tiers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: min(560px, 100%);
    margin: 16px auto 10px;
}

.launch-offer-tier {
    padding: 12px 10px;
    background: rgba(1, 19, 38, .68);
    border: 1px solid rgba(56, 189, 248, .28);
    border-radius: 14px;
    text-align: center;
}

.launch-offer-tier strong,
.launch-offer-tier span {
    display: block;
}

.launch-offer-tier strong {
    color: #ffffff;
    font-family: "Orbitron", sans-serif;
    font-size: .95rem;
}

.launch-offer-tier span {
    margin-top: 4px;
    color: #38bdf8;
    font-family: "Orbitron", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}

.launch-offer-tier-note {
    margin: 0 auto 12px !important;
    color: #cbd5e1 !important;
    font-size: .82rem;
}

@media (max-width: 600px) {
    .launch-offer-tiers {
        grid-template-columns: 1fr;
    }
}

