/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #1a1a1a;
    --secondary-dark: #2d2d2d;
    --accent-green: #610000;
    --accent-toxic: #a30000;
    --accent-red: #9c0000;
    --accent-orange: #ff0000;
    --text-light: #e0e0e0;
    --text-dark: #424242;
    --bg-overlay: rgba(26, 26, 26, 0.85);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #2d2d2d;
    color: var(--text-light);
    min-height: 100vh; 
    line-height: 1.6;
}

/* ==========================================
   NAVIGATION
   ========================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-overlay);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    border-bottom: 3px solid var(--accent-green);
}

.menu-top {
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 1rem 2rem;
    flex-wrap: wrap;
}

.menu-top a {
    padding: 0.8rem 1.5rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.menu-top a:hover {
    color: var(--accent-toxic);
    border-bottom: 3px solid var(--accent-toxic);
}

.menu-bottom {
    text-align: center;
    padding: 0.5rem 0 1rem 0;
}

.accueil-btn {
    display: inline-block;
    padding: 0.7rem 2rem;
    background: var(--accent-green);
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.accueil-btn:hover {
    background: var(--accent-toxic);
}

/* ==========================================
   MAIN CONTENT
   ========================================== */
main {
    margin-top: 160px;
    padding: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   PAGE ACCUEIL
   ========================================== */
.hero-section {
    text-align: center;
    padding: 4rem 2rem;
    min-height: calc(100vh - 200px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo {
    text-align: center;
    margin-bottom: 3rem;
}

.logo img {
    max-width: 500px;
    width: 90%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.8));
}

.accroche {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-toxic);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 3rem;
    text-shadow: 0 0 20px rgba(160, 73, 73, 0.5);
}

.sommaire-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    width: 100%;
}

.sommaire-card {
    background: var(--bg-overlay);
    border: 2px solid var(--accent-green);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.sommaire-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-toxic);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.sommaire-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.sommaire-card a {
    color: inherit;
    text-decoration: none;
    display: block;
}

/* ==========================================
   PAGE HISTOIRE
   ========================================== */
.histoire-hero {
    background: rgba(26, 26, 26, 0.9);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    border: 3px solid var(--accent-green);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.7);
}

.histoire {
    background: var(--bg-overlay);
    border-radius: 20px;
    padding: 3rem;
    border: 2px solid var(--accent-green);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.histoire h2 {
    font-size: 2.5rem;
    color: var(--accent-toxic);
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(204, 101, 101, 0.5);
}

.histoire p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-light);
    text-align: justify;
    margin-bottom: 1.5rem;
}

/* ==========================================
   SECTIONS COMMUNES
   ========================================== */
.section {
    text-align: center;
    margin-bottom: 3rem;
}

.section h2 {
    font-size: 2.5rem;
    color: var(--accent-toxic);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(204, 101, 101, 0.5);
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--accent-green);
    display: inline-block;
}

.sous_titre {
    margin: 3rem 0 2rem 0;
    text-align: center;
}

.sous_titre h2 {
    font-size: 2rem;
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==========================================
   PAGE PRÉSENTATION
   ========================================== */
.presentation {
    margin-bottom: 4rem;
}

.bloc1 {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--bg-overlay);
    border: 2px solid var(--accent-green);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.bloc1 img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-green);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.bloc1 .texte {
    flex: 1;
}

.bloc1 .texte p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ==========================================
   PAGE RESSOURCES
   ========================================== */
.bloc2 {
    background: var(--bg-overlay);
    border: 2px solid var(--accent-green);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.bloc2.images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.bloc2.images img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 3px solid var(--accent-green);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.bloc2 musiques,
.bloc2 biblio {
    display: block;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.bloc2 biblio a {
    color: var(--accent-toxic);
    text-decoration: none;
}

.bloc2 musiques {
  text-align: center;
}

.audio {
  width: 1000px;
}

/* ==========================================
   PAGES CHARGES TECHNIQUES & FONCTIONNALITÉ
   ========================================== */
.CDST {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.CDST img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    border: 3px solid var(--accent-green);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lien {
    background: var(--bg-overlay);
    border: 2px solid var(--accent-green);
    border-left: 5px solid var(--accent-toxic);
    border-radius: 10px;
    padding: 1.5rem;
    font-size: 1.1rem;
    line-height: 2;
    word-break: break-all;
}

.lien a {
    color: var(--accent-toxic);
    text-decoration: none;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .menu-top {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }

    .menu-top a {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    main {
        margin-top: 320px;
        padding: 1rem;
    }

    .accroche {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }

    .sommaire-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .bloc1 {
        flex-direction: column;
        text-align: center;
    }

    .histoire h2,
    .section h2 {
        font-size: 2rem;
    }

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

    .logo img {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .accroche {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .histoire p {
        font-size: 1rem;
        text-align: left;
    }

    .bloc2.images {
        grid-template-columns: 1fr;
    }
}