/* =========================
   RESET & BASE
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    background-color: #0b0f14;
    color: #e0e0e0;
    line-height: 1.6;

    /* IMPORTANT : espace pour le menu fixe */
    padding-top: 70px;
}

/* =========================
   HERO
========================= */
.hero {
    position: relative;
    height: 100vh;
    background: radial-gradient(circle at top, #121a26, #05070a);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 20, 0.75);
}

.hero-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero h1 {
    font-size: 4rem;
    letter-spacing: 6px;
    color: #d4af37;
    margin-bottom: 15px;
}

.subtitle {
    margin-bottom: 30px;
    font-size: 1.15rem;
    max-width: 600px;
}

/* =========================
   BOUTON PRINCIPAL
========================= */
.btn-primary {
    padding: 14px 32px;
    background: linear-gradient(145deg, #d4af37, #8a5c1d);
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

/* =========================
   SECTIONS
========================= */
.section {
    padding: 90px 20px;
}

.section.dark {
    background-color: #06090d;
}

.section h2 {
    margin-bottom: 25px;
    color: #d4af37;
    text-align: center;
}

/* =========================
   CONTAINER
========================= */
.container {
    max-width: 1100px;
    margin: auto;
}

/* =========================
   CARTES (NAVIRE / SCREEN)
========================= */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: rgba(20, 28, 40, 0.95);
    border: 1px solid rgba(212, 175, 55, 0.25);
    padding: 30px 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
}

.card h3 {
    margin-bottom: 12px;
    color: #d4af37;
    font-size: 1.15rem;
}

.card p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* =========================
   FOOTER
========================= */
footer {
    padding: 30px;
    text-align: center;
    background: #05070a;
    font-size: 0.9rem;
}

/* =========================
   NAVIGATION (MENU)
========================= */
.top-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 8, 15, 0.9);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 1000;
}

.nav-container {
    max-width: 1100px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: bold;
    letter-spacing: 4px;
    color: #d4af37;
}

.nav-links a {
    margin-left: 22px;
    text-decoration: none;
    color: #e0e0e0;
    font-size: 0.95rem;
}

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