/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* SCROLL */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Courier New', Courier, monospace;
    color: white;
    background: url("../images/banner.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    backdrop-filter: none;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* NAVIGATION */
.barre-navigation {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    z-index: 1000;
}

.logo-site {
    display: flex;
    align-items: center;
}

.image-logo {
    width: 50px;
    margin-right: 10px;
}

.logo-site span {
    font-size: 32px;
}

.liste-navigation {
    display: flex;
    list-style: none;
    gap: 20px;
}

.lien-navigation {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    padding: 5px 10px;
    font-family: 'Courier New', Courier, monospace;
}

.lien-navigation:hover {
    color: #0087ff;
}

.liste-navigation li {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    min-width: 220px;
    border-radius: 8px;
    padding: 10px 0;
}

.submenu li {
    display: block;
}

.submenu a {
    display: block;
    padding: 10px 20px;
    color: #ccc;
    text-decoration: none;
    font-family: 'Courier New', Courier, monospace;
}

.submenu a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.dropdown:hover .submenu {
    display: block;
}

.texte-logo {
    font-size: 32px;
    font-family: 'Courier New', Courier, monospace;
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* BURGER — caché sur PC */
.menu-toggle {
    display: none;
}

.menu-burger {
    display: none;
}

/* SECTION ACCUEIL */
.section-accueil {
    height: 100vh;
    background: url("../images/banner") center/cover no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.couche-sombre {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.6) 40%,
            rgba(0, 0, 0, 0.2) 70%,
            rgba(0, 0, 0, 0) 100%);
}

.contenu-accueil {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.titre-accueil {
    font-size: 70px;
    color: white;
}

.sous-titre-accueil {
    font-weight: bold;
    font-size: 20px;
    margin: 20px 0;
    color: #fdffff;
    text-transform: uppercase;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-shadow: 0 0 20px #000000;
}

/* BOUTONS */
.bouton-principal {
    font-family: 'Courier New', Courier, monospace;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ocean-deep);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.65em 1.8em;
    border: 0;
    border-radius: var(--radius);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--biolum-cyan) 0%, var(--biolum-teal) 100%);
    box-shadow:
        0 0 0 1px rgba(0, 229, 255, 0.3),
        0 4px 15px rgba(0, 229, 255, 0.3),
        0 8px 30px rgba(0, 229, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.bouton-secondaire {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ocean-deep);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.65em 1.8em;
    border: 0;
    border-radius: var(--radius);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--biolum-cyan) 0%, var(--biolum-teal) 100%);
    box-shadow:
        0 0 0 1px rgba(0, 229, 255, 0.3),
        0 4px 15px rgba(0, 229, 255, 0.3),
        0 8px 30px rgba(0, 229, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.bouton-principal::before,
.bouton-secondaire::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: rgba(255, 255, 255, 0.25);
    transform: skewX(-20deg);
    transition: left 0.4s ease;
}

.bouton-principal:hover::before,
.bouton-secondaire:hover::before {
    left: 120%;
}

.bouton-principal:hover,
.bouton-secondaire:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.bouton-principal:active,
.bouton-secondaire:active {
    transform: translateY(1px);
}

/* FOOTER */
.pied-de-page {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    z-index: 999;
}

.icone {
    width: 40px;
    vertical-align: middle;
    margin-right: 10px;
}

.texte-section {
    white-space: pre-line;
    color: rgb(255, 255, 255);
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    text-align: center;
    max-width: 600px;
    margin: 30px auto;
}

.titre-section {
    display: inline-block;
    padding: 15px 40px;
    margin: 0 auto;
}

.section-contenu {
    padding: 30px 20px;
    text-align: center;
    display: block;
}

.section-reseaux {
    padding: 30px 20px;
    margin-top: 40px;
    text-align: center;
}

.contenu-reseaux {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    text-align: center;
    margin: 30px auto;
}

.boite-sombre {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(0, 212, 250, 0.281);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    box-shadow:
        0 0 20px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(0, 0, 0, 0.5);
}

/* CARTE PRÉSENTATION */
.carte-presentation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 860px;
    margin: 0 auto;
    padding: 80px 40px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.carte-gauche {
    flex-shrink: 0;
}

.logo-carte {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: -1px 0px 17px 12px #2196f363;
}

.carte-droite {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.titre-carte {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.3rem;
    font-weight: bold;
    letter-spacing: 0.15em;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.separateur {
    display: none;
}

.liste-carte {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: #ffffff;
    line-height: 1.6;
    text-shadow: 3px -5px 20px #000000;
}

.liste-carte li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    white-space: nowrap;
}

.liste-carte li::before {
    content: "•";
    color: #ffffff;
    font-size: 1rem;
    flex-shrink: 0;
}

.liste-carte strong {
    color: #ffffff;
    font-weight: bold;
}

/* =====================
   MOBILE (≤ 768px)
===================== */
@media (max-width: 768px) {

    body {
        background-attachment: scroll;
    }

    /* NAVIGATION */
    .barre-navigation {
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        border-radius: 0;
        padding: 10px 16px;
        flex-wrap: wrap;
    }

    .texte-logo {
        font-size: 16px;
    }

    .image-logo {
        width: 28px;
    }

    /* BURGER visible */
    .menu-burger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        margin-left: auto;
    }

    .menu-burger span {
        display: block;
        width: 24px;
        height: 2px;
        background: white;
        border-radius: 2px;
        transition: 0.3s;
    }

    /* Menu caché par défaut */
    .liste-navigation {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: rgba(0, 0, 0, 0.95);
        margin-top: 10px;
        border-radius: 8px;
        padding: 8px 0;
    }

    /* Menu ouvert au clic */
    .menu-toggle:checked ~ .liste-navigation {
        display: flex;
    }

    /* Burger → croix */
    .menu-toggle:checked ~ .menu-burger span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .menu-toggle:checked ~ .menu-burger span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle:checked ~ .menu-burger span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .lien-navigation {
        font-size: 0.9rem;
        padding: 12px 20px;
        display: block;
    }

    /* SOUS-MENU mobile */
    .submenu {
        position: static;
        background: rgba(255, 255, 255, 0.05);
        min-width: unset;
        border-radius: 0;
        padding: 0;
        display: none;
    }

    .dropdown:hover .submenu {
        display: none;
    }

    .dropdown.ouvert .submenu {
        display: block;
    }

    .submenu a {
        padding: 10px 36px;
        font-size: 0.85rem;
        color: #aaa;
    }

    /* ACCUEIL */
    .titre-accueil {
        font-size: 2rem;
    }

    .sous-titre-accueil {
        font-size: 0.8rem;
        margin: 10px 16px;
    }

    .contenu-accueil {
        padding: 0 16px;
    }

    /* BOUTONS */
    .bouton-principal {
        font-size: 1rem;
        padding: 0.6em 1em;
    }

    .bouton-secondaire {
        font-size: 0.7rem;
        padding: 0.6em 1em;
    }

    /* SECTIONS */
    .texte-section {
        max-width: 90%;
        margin: 16px auto;
        font-size: 0.9rem;
    }

    .section-contenu {
        padding: 20px 16px;
    }

    .section-reseaux {
        padding: 20px 16px;
        margin-top: 20px;
    }

    .contenu-reseaux {
        gap: 12px;
        margin: 16px auto;
    }

    .boite-sombre {
        max-width: 100%;
        margin: 0 16px;
        padding: 24px 16px;
    }

    .pied-de-page {
        padding: 10px;
        font-size: 0.75rem;
    }

    .icone {
        width: 28px;
        margin-right: 6px;
    }

    /* CARTE PRÉSENTATION */
    .carte-presentation {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 40px 24px;
    }

    .liste-carte li {
        white-space: normal;
    }

    .liste-carte {
        text-align: left;
    }
}