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

body {
    font-family: Arial, sans-serif;
    background-color: #0a0e27;
    color: #e0e0e0;
    line-height: 1.6;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.95);
    border-bottom: 2px solid #1e3a8a;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #60a5fa;
}

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

.nav-menu a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #60a5fa;
}

/* HERO */
.hero {
    height: 100vh;
    background: linear-gradient(180deg, #0a0e27, #1e3a8a, #0f172a);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent, rgba(10,14,39,0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    color: #60a5fa;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin: 1rem 0 2rem;
}

/* BOUTONS AVEC TRANSITION */
.cta-button,
.download-button {
    padding: 1rem 2.5rem;
    margin-right: 10px;
    margin-left: 10px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease; /* transition fluide */
}

.cta-button:hover,
.download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(96, 165, 250, 0.4);
}

/* SECTIONS */
.section {
    padding: 5rem 0;
    background: #0f172a;
}

.section-dark {
    background: #0a0e27;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #60a5fa;
    margin-bottom: 3rem;
}

/* GAMEPLAY */
.gameplay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(30,58,138,0.3);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #1e3a8a;
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 30px rgba(96, 165, 250, 0.25);
}

.feature-icon {
    font-size: 3rem;
}

/* HISTOIRE */
.story-text {
    max-width: 800px;
    margin: auto;
    text-align: justify;
}

/* GALERIE */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 1.5rem;
}

.gallery-item {
    aspect-ratio: 16/9;
    border: 2px solid #1e3a8a;
    border-radius: 10px;
    overflow: hidden;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#1e3a8a,#0f172a);
    color: #60a5fa;
}

/* ÉQUIPE */
.team-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px,1fr));
    gap: 2rem;
}

.team-card {
    background: rgba(30,58,138,0.2);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #1e3a8a;
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.team-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 30px rgba(96, 165, 250, 0.25);
}

.team-avatar {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* RAPPORT */
#rapport .container {
    text-align: center;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 2rem;
    border-top: 2px solid #1e3a8a;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
}
