/* HEADER */
.header {
    background-color: var(--blanc);
    box-shadow: var(--ombre);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-blason {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, var(--bleu-principal), var(--bleu-fonce));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanc);
    font-weight: bold;
    font-size: 24px;
    box-shadow: var(--ombre);
}

.logo-text h1 {
    font-size: 21px;
    color: var(--bleu-fonce);
    line-height: 1.2;
}

.logo-text p {
    font-size: 12px;
    color: var(--gris-fonce);
}

.nav-principale ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-principale a {
    color: var(--texte);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    font-size: 15px;
}

.nav-principale a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--bleu-principal);
    transition: var(--transition);
}

.nav-principale a:hover::after,
.nav-principale a.active::after { width: 100%; }

.menu-mobile {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--bleu-fonce);
    cursor: pointer;
}

/* FOOTER */
.footer {
    background-color: var(--bleu-fonce);
    color: var(--blanc);
    padding: 60px 0 20px;
}

.grille-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    text-align: center;
}

.footer-col:nth-child(n+4) {
    grid-column: 1 / -1;
    text-align: center;
}

.footer-col h4 {
    font-size: 15px;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
    margin-left: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col:nth-child(n+4) ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-col a {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--blanc);
}

.footer-col p {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 0;
}

.footer-bas {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.65);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .nav-principale { display: none; }
    .nav-principale.actif {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--blanc);
        box-shadow: var(--ombre);
        padding: 20px;
    }
    .nav-principale.actif ul {
        flex-direction: column;
        gap: 15px;
    }
    .menu-mobile { display: block; }
    .header { position: relative; }
}

@media (max-width: 600px) {
    .grille-footer { grid-template-columns: repeat(2, 1fr); }
    .footer-col { text-align: center; }
    .footer-col:nth-child(n+3) { grid-column: 1 / -1; }
}

/* PAGE CONTENT */
.page-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-content h1 {
    font-size: 34px;
    color: var(--bleu-fonce);
    margin-bottom: 20px;
}

.page-content p {
    color: var(--gris-fonce);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}
