.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.transparent-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    background: rgba(255, 255, 255, 0.8); /* Fond blanc translucide par défaut */
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    border-bottom: var(--glass-border-light);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05); /* Ombre douce de profondeur */
    transition: background 0.3s;
}

/* Version opaque pour les pages de contenu */
.transparent-header.solid-header {
    background: #FFFFFF !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border-bottom: none !important;
}

header.transparent-header {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
    background: transparent;
    border-bottom: none;
}

main {
    padding-top: 0; /* No padding needed for full screen map */
    min-height: 100vh;
}

#map-section {
    height: 100vh;
    width: 100vw;
    position: relative;
    overflow: hidden;
}

#map {
    height: 100vh;
    width: 100%;
    z-index: 1;
}

/* Masquage des crédits Mapbox (Note : obligatoire selon leurs ToS) */
.mapboxgl-ctrl-attrib, .mapboxgl-ctrl-logo {
    display: none !important;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 20px;
    width: 100%;
    max-width: 100%; /* Suppression de la contrainte pour libérer l'espace */
}



main {
    padding-top: 0;
    min-height: 100vh;
}

#map-section {
    height: 100vh; /* On garde la carte en plein écran par défaut */
    width: 100vw;
    position: relative;
    overflow: hidden;
}

/* Footer SEO Premium */
.site-footer {
    background: var(--bg-surface);
    color: var(--text-main);
    padding: 40px 0;
    border-top: 1px solid var(--glass-border-light);
    position: relative;
    z-index: 10;
}

.seo-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border: 1px dashed var(--glass-border-light);
    border-radius: 12px;
    transition: var(--transition-premium);
}

.seo-toggle:hover {
    background: var(--surface-sunken);
    color: var(--primary-solid);
}

.seo-toggle svg {
    transition: transform 0.3s;
}

.seo-toggle.active svg {
    transform: rotate(180deg);
}

.seo-expandable {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.seo-expandable.active {
    max-height: 1000px; /* Large enough to hold the content */
}

.seo-block h2 {
    font-size: 1.5rem;
    margin: 2rem 0;
    background: var(--surface-gradient);
    -webkit-background-clip: text;
    background-clip: text; /* Compatibilité linter */
    -webkit-text-fill-color: transparent;
}

.seo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.seo-grid p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border-light);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-bottom a {
    margin: 0 10px;
    font-weight: 500;
}

.footer-bottom a:hover {
    color: var(--primary-solid);
}

@media (max-width: 768px) {
    .seo-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
