:root {
    --primary: #112338;       /* Bleu nuit */
    --secondary: #104974;     /* Bleu électrique / accents */
    --light: #F0F4F8;         /* Blanc cassé / texte clair */
}

/* Général */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    background-color: var(--light);
    color: var(--primary);
}

/* Header */
/* HEADER */

.header {

    display: flex;
    align-items: center;   /* centre verticalement */
    justify-content: space-between;

    padding: 10px 25px;

    background: var(--primary);
    backdrop-filter: blur(8px);

    position: relative;
    z-index: 100;
}

.header-left span {
    font-weight: bold;
    font-size: 1.6em;
    color: white;
}

.header-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.header-center .logo {
height: auto;

    max-height: 70px;   /* taille max desktop */
    width: auto;
    object-fit: contain;
    display: block;
}

.header-right {
    display: flex;
    align-items: center;
    position: relative;
}

.menu-toggle {
    font-size: 5em;
    background: none;
    border: none;
    color: var(--light);
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 120px; /* sous le header */
    left: 0;
    right: 0;
    background: rgba(13, 27, 42, 0.85); /* bleu nuit semi-transparent */
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    z-index: 900;
}

.dropdown-menu.show {
    display: flex;
}

.dropdown-menu a {
    display: block;
    padding: 30px;
    text-decoration: none;
    color: var(--light);
    font-size: 1.5em;
}

.dropdown-menu a:hover {
    background-color: rgba(60, 158, 231, 0.7); /* bleu électrique */
    color: var(--light);
}

/* Contenu principal */
main {
    flex: 1; /* prend tout l’espace restant */
    padding: 20px;
}

/* ================================
   FOOTER ILLUM'TOUD PREMIUM
================================ */

.footer {

    background: var(--primary);

    padding: 25px 50px;

    position: relative;
}

/* ligne fine lumineuse */
.footer::before {

    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(120,150,255,0.5),
        transparent
    );
}

.footer-inner {

    max-width: 1200px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: #dce3eb;
}

/* Zones */

.footer-left,
.footer-right {

    flex: 1;
}

.footer-center {

    flex: 1;
    text-align: center;
}

.footer-right {
    text-align: right;
}

/* Texte */

.footer-name {

    font-weight: 600;
    margin-bottom: 3px;
}

.footer-contact {

    font-size: 14px;
    opacity: 0.8;
}

/* Liens */

.footer a {

    color: #778da9;
    text-decoration: none;
    transition: 0.25s;
}

.footer a:hover {

    color: white;
}

/* Responsive */
@media (max-width: 1000px) {
    .header {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }

    .menu-toggle {
        font-size: 3em;
    }

    .dropdown-menu a {
        padding: 20px;
        font-size: 1.2em;
    }

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

    .footer-column {
        margin-bottom: 15px;
    }
}
