/* ═══════════════════════════════════════════════════════════════
   LAYOUT — styles globaux partagés entre toutes les pages directory
   (container + page-header / page-title / page-subtitle / page-description)
   ═══════════════════════════════════════════════════════════════ */

/* ── Container réutilisable ── */
.container {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
    box-sizing: border-box;
    padding-inline: 1.5rem;
    margin-bottom: var(--section-gap, 5rem);
}

/* ── Rythme vertical uniforme entre sections / blocs ──
   Un seul mécanisme : chaque enfant (sauf le premier) reçoit la même
   marge haute. Robuste avec les sections conditionnelles. */
.page-flow > * + * {
    margin-block-start: var(--section-gap, 5rem);
}

.page-block-flow > * + * {
    margin-block-start: var(--block-gap, 2.5rem);
}

/* ── En-tête de page (breadcrumb + titre + desc) ──
   L'espacement sous l'en-tête est géré par le rythme du wrapper. */
.page-header {
    padding-bottom: 2rem;
}

.page-title {
    font-size: var(--fs-hero);
    font-weight: 500;
    color: var(--color-text);
    max-width: 900px;
    line-height: 1.2;
    margin: 20px 0;
    position: relative;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--color-primary, #1b887b);
    font-weight: 600;
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1rem;
    color: var(--color-primary);
    line-height: 1.7;
    max-width: 860px;
    margin: 0;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .sitemap-grid {
        grid-template-columns: 1fr;
    }
}

.seo-footer-content{
    padding: 60px 0;
    background-color: #ffffff;
}

.seo-footer-content * {
    font-family: inherit !important;
}

.seo-footer-content h2 {
    font-size: 2rem !important;
}

.seo-footer-content h3 {
    font-size: 1.5rem !important;
}

/* ══════════════════════════════════════════════
   RESPONSIVE — 4K ≥ 2560px
   ══════════════════════════════════════════════ */
@media (min-width: 2560px) {
    .container {
        max-width: var(--max-width-wide, 1900px);
    }

    .page-header {
        padding-bottom: 4rem;
    }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — MacBook Air / 1280px
   ══════════════════════════════════════════════ */
@media (max-width: 1280px) {
    .page-header {
        padding-bottom: 2rem;
    }

    .page-title {
        max-width: 720px;
    }

    .page-description {
        max-width: 680px;
    }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — Mobile — 768px
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
    .container {
        padding-inline: 1rem;
    }

    .page-description {
        max-width: 100%;
        font-size: 0.95rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }
}

