:root {
    --bg-dark: #07080a;      /* Noir très profond */
    --bg-alt: #111318;       /* Gris sombre bleuté pour la séparation */
    --text-main: #d3d1c4;    /* Blanc cassé / parchemin */
    --text-muted: #888577;   /* Gris pour les textes secondaires */
    --accent-gold: #cfa862;  /* Or typique des ARPG */
    --accent-red: #8b0000;   /* Rouge sombre */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

/* === Typographie === */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(207, 168, 98, 0.3);
    padding-bottom: 10px;
    display: inline-block;
}

/* === Navigation Principale === */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(7, 8, 10, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
}

.logo-content {
    width: 70%;          /* Prend toute la largeur de sa colonne */

    object-fit: cover;    /* Magie : l'image est zoomée/cadrée proprement, pas écrasée */
    object-position: center; /* Centre le cadrage sur le milieu de l'image */

}


.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

/* === Boutons === */
.btn-primary, .cta-btn {
    background: linear-gradient(180deg, #4a3820 0%, #20170d 100%);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 12px 28px;
    cursor: pointer;
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-main);
    padding: 12px 28px;
    text-transform: uppercase;
    font-family: var(--font-heading);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary:hover, .cta-btn:hover {
    background: var(--accent-gold);
    color: var(--bg-dark);
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* === Hero Section === */
.hero {
    height: 100vh;
    /* Remplacez l'URL par l'illustration épique de votre jeu */
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, var(--bg-dark) 100%), 
                url('https://via.placeholder.com/1920x1080/1a1a24/cfa862?text=Votre+Key+Art+Ici') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 60px;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.9);
}

.hero .subtitle {
    font-size: 1.5rem;
    color: var(--accent-red);
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.hero .description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

/* === Sous-Navigation (Sticky) === */
.sub-nav-wrapper {
    background: #0f1115;
    border-top: 1px solid rgba(207, 168, 98, 0.2);
    border-bottom: 1px solid rgba(207, 168, 98, 0.2);
    position: sticky;
    top: 68px; /* Ajusté sous la barre principale */
    z-index: 90;
}

.sub-nav {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 3rem;
    padding: 15px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.sub-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    transition: color 0.3s;
}

.sub-nav a:hover, .sub-nav a.active {
    color: var(--accent-gold);
}

/* === Sections de Contenu === */
.content-section {
    padding: 7rem 5%;
}

.bg-alt {
    background-color: var(--bg-alt);
}

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

.split {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.split.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
}

.text-content p {
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
}

.feature-list {
    list-style-type: none;
    margin-top: 1.5rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
}

.feature-list li::before {
    content: '►';
    color: var(--accent-gold);
    position: absolute;
    left: 0;
    font-size: 0.8rem;
    top: 5px;
}

.media-content {
    flex: 1;
}

.placeholder-media {
    width: 100%;
    height: 400px;
    background-color: #1a1c23;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

/* === Grilles et Cartes === */
.text-center {
    text-align: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.card {
    background: #0a0b0e;
    padding: 2.5rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s, border-color 0.3s;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(207, 168, 98, 0.5);
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* === Pied de page === */
.footer {
    background: #040506;
    padding: 5rem 5% 2rem;
    text-align: center;
    border-top: 2px solid var(--accent-gold);
}

.footer-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0 4rem;
}

.legal {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* === Mobile Responsive === */
@media (max-width: 900px) {
    .split, .split.reverse {
        flex-direction: column;
    }
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .sub-nav {
        gap: 1rem;
        flex-wrap: wrap;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .footer-actions {
        flex-direction: column;
    }
}