:root {
    --primary: #112338;
    --secondary: #104974;
    --light: #F0F4F8;
}

/* ================================
   GLOBAL
================================ */

html, body {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: var(--light);
    color: var(--primary);
}

/* ================================
   WRAPPER PRINCIPAL
================================ */

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ================================
   HEADER
================================ */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* nom à gauche, menu à droite */
    padding: 10px 25px;
    background: var(--primary);
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 100;
    position: relative;
}

/* Nom à gauche */
.header-left span {
    font-weight: bold;
    font-size: 1.6em;
    color: white;
}

/* Logo centré */
.header-center {
    flex: 1;                  /* prend tout l’espace entre left et right */
    display: block;
    justify-content: center;   /* centre le logo horizontalement */
    position: absolute;
    transform: none;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.header-center .logo {
    height: auto;
    max-height: 70px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Bouton menu à droite */
.header-right {
    display: flex;
    align-items: center;
    position: relative;
}

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

/* ================================
   MENU
================================ */

.dropdown-menu {
    position: absolute;
    top: 120px;
    left: 0;
    right: 0;
    background: rgba(13, 27, 42, 0.85);
    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);
    color: var(--light);
}

/* ================================
   CONTENU PRINCIPAL
================================ */

main {
    flex: 1;              /* pousse le footer vers le bas si page courte */
    padding: 20px;
}

/* ================================
   FOOTER
================================ */

.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
    );
}

/* Contenu footer */
.footer-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #dce3eb;
}

.footer-left,
.footer-right {
    flex: 1;
}

.footer-center {
    flex: 1;
    text-align: center;
}

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

.footer-name {
    font-weight: 600;
    margin-bottom: 3px;
}

.footer-contact {
    font-size: 14px;
    opacity: 0.8;
}

.footer a {
    color: #778da9;
    text-decoration: none;
    transition: 0.25s;
}

.footer a:hover {
    color: white;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 1000px) {
    .header {
        padding: 25px;
    }

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

    .dropdown-menu a {
        font-size: 2em;
    }

    .footer {
        padding: 35px 25px; /* plus de hauteur */
    }

    .footer-name {
        font-size: 26px; /* texte plus grand */
    }

    .footer-contact {
        font-size: 22px;
    }

    .footer a {
        font-size: 22px; /* liens plus lisibles */
    }
}
}

