/* ==========================================================================
   1. VARIABLES & CONFIGURATION DE BASE
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #0D0D0D;
    --bg-card: #141414;
    --primary: #4F7CFF;
    --primary-glow: rgba(79, 124, 255, 0.3);
    --text-main: #FFFFFF;
    --text-muted: #94A3B8;
    --border-color: rgba(255, 255, 255, 0.06);
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Barrettes de défilement (Scrollbar) moderne */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ==========================================================================
   2. INTERFACE DE NAVIGATION (HEADER / NAV)
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-b: 1px solid var(--border-color);
}

nav {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

nav .logo span {
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary-glow);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

nav ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   3. SECTION ACCUEIL (HERO) WITH CUSTOM BACKGROUND
   ========================================================================== */
.hero {
    position: relative;
    min-height: 95vh; /* Prend presque tout l'écran pour afficher l'image */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Pousse le texte vers le bas pour ne pas cacher le logo central */
    align-items: center;
    text-align: center;
    padding: 0 24px 80px 24px;
    
    /* Intégration de ton image personnalisée */
    background: url('hero-bg.png') no-repeat center center;
    background-size: cover;
}

/* Overlay sombre pour garantir que le menu et le bas de la page restent lisibles */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(13, 13, 13, 0.4) 0%, rgba(13, 13, 13, 0) 50%, #0D0D0D 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(13, 13, 13, 0.6); /* Petit effet de verre sous le texte */
    padding: 20px 40px;
    border-radius: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 800px;
}

.hero-title-mobile {
    display: none; /* Masqué sur PC car le logo est déjà présent sur l'image */
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #FFFFFF 0%, #4F7CFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: #FFFFFF;
    font-size: clamp(0.95rem, 1.5vw, 1.2rem);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Ajustement pour les téléphones (où l'image va être très rognée) */
@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
        justify-content: center;
        padding-bottom: 20px;
        background-position: 65% center; /* Recentre un peu sur l'éclair pour le mobile */
    }
    .hero-title-mobile {
        display: block; /* On réaffiche le nom en texte sur mobile */
    }
    .hero-content {
        width: 100%;
        padding: 20px 15px;
    }
}

/* ==========================================================================
   4. STRUCTURE DES GRILLES & CONTENEURS
   ========================================================================== */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 80px 24px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

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

/* ==========================================================================
   5. CARTES DE TARIFS (CARDS)
   ========================================================================== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(79, 124, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(79, 124, 255, 0.05);
}

.card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-main);
}

.card ul {
    list-style: none;
    margin-bottom: 30px;
}

.card ul li {
    color: var(--text-muted);
    font-size: 0.95rem;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card ul li:last-child {
    border-bottom: none;
    margin-top: 15px;
}

/* Style des prix */
.card ul li span {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
}

/* Carte vedette (Highlight) */
.card.highlight {
    border-color: rgba(79, 124, 255, 0.5);
    background: linear-gradient(145deg, #141414 0%, #0d1220 100%);
    box-shadow: 0 0 30px rgba(79, 124, 255, 0.1);
}

.card.highlight h3 {
    color: var(--primary);
}

.card.highlight ul li span {
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary-glow);
}

/* ==========================================================================
   6. ESPACE COMMANDE (CHECKOUT)
   ========================================================================== */
.checkout-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
}

.checkout-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 50px 40px;
    width: 100%;
    max-width: 650px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.checkout-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
}

/* Menu déroulant (Select input) customisé */
#service-select {
    width: 100%;
    background-color: var(--bg-dark);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 500;
    outline: none;
    margin-bottom: 25px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    transition: var(--transition);
}

#service-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

#service-select optgroup {
    background: var(--bg-card);
    color: var(--primary);
    font-weight: 700;
    padding: 10px;
}

#service-select option {
    background: var(--bg-card);
    color: var(--text-main);
    font-weight: 500;
    padding: 12px;
}

/* Boutons */
.btn-order {
    width: 100%;
    background: var(--primary);
    color: var(--text-main);
    border: none;
    padding: 18px;
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(79, 124, 255, 0.25);
}

.btn-order:hover {
    background: #3B66F3;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(79, 124, 255, 0.4);
}

/* ==========================================================================
   7. ZONE APPEL À L'ACTION (CTA / CONTACT)
   ========================================================================== */
.cta {
    max-width: 1300px;
    margin: 60px auto 100px auto;
    padding: 60px 24px;
    text-align: center;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.6) 0%, rgba(13, 13, 13, 0.8) 100%);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    position: relative;
}

.cta h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta p {
    color: var(--text-muted);
    margin-bottom: 35px;
    font-size: 1.05rem;
}

.btn-discord {
    display: inline-block;
    background: transparent;
    color: var(--text-main);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 16px 40px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-discord:hover {
    background: var(--text-main);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   8. PIED DE PAGE (FOOTER)
   ========================================================================== */
footer {
    text-align: center;
    padding: 40px 24px;
    border-top: 1px solid var(--border-color);
    color: #444;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   9. RESPONSIVE DESIGN (MOBILE & TABLETTE)
   ========================================================================== */
@media (max-width: 768px) {
    nav ul {
        display: none; /* Cache la navigation simple sur mobile pour rester propre */
    }
    
    .container {
        padding: 50px 20px;
    }
    
    .checkout-card {
        padding: 35px 20px;
    }
    
    .cta {
        margin: 40px 20px;
        padding: 40px 20px;
    }
}