/* ==========================================================================
   SEO Pages — Styles v3
   Template : page-landing.php
   Container max-width 1000px, ratio 1/3-2/3, centrage vertical
   Tous les sous-titres en H2, plus de H3
   ========================================================================== */

/* --------------------------------------------------------------------------
   PAGE — padding header fixe
   -------------------------------------------------------------------------- */
.page-seo {
    padding-top: 100px;
}

/* --------------------------------------------------------------------------
   HERO — H1 centré
   -------------------------------------------------------------------------- */
.seo-hero {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 2rem 2rem;
}

.seo-h1 {
    font-family: "Tan Pearl", serif;
    font-weight: 400;
    font-size: clamp(1.75rem, 4vw, 2.8rem);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #f5f5f5;
    line-height: 1.2;
    margin: 0 auto;
    padding-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   SECTIONS — Container commun max-width 1000px
   -------------------------------------------------------------------------- */
.seo-section {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    width: 100%;
    box-sizing: border-box;
    gap: 1.5rem;
}

/* --------------------------------------------------------------------------
   TITRE H2 — Tan Pearl, couleur orangée identique aux autres pages
   -------------------------------------------------------------------------- */
.seo-h2 {
    font-family: "Antic Didone", serif;
    font-weight: 400;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    letter-spacing: 0.02em;
    color: #9f6c49;
    line-height: 1.3;
    margin: 0 0 0.8em 0;
}

/* Section 1 : H2 aligné gauche (dans la colonne texte) */
.seo-section-1 .seo-h2 {
    text-align: left;
}

/* Sections 2 et 3 : H2 aligné gauche */
.seo-section-2 .seo-h2,
.seo-section-3 .seo-h2 {
    text-align: left;
}

/* --------------------------------------------------------------------------
   TEXTE CORPS — Antic Didone
   -------------------------------------------------------------------------- */
.seo-text {
    font-family: "Antic Didone", serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(245, 245, 245, 0.85);
}

.seo-text p {
    margin: 0 0 1em 0;
}

.seo-text p:last-child {
    margin-bottom: 0;
}

.seo-text ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1em 0;
}

.seo-text ul li {
    padding-left: 1.6em;
    position: relative;
    margin-bottom: 0.5em;
}

.seo-text ul li::before {
    content: "\2726";
    position: absolute;
    left: 0;
    color: #f5f5f5;
    font-size: 0.65em;
    top: 5px;
    opacity: 0.7;
}

/* --------------------------------------------------------------------------
   SECTION 1 — H2 + layout 1/3 images + 2/3 texte, centrage vertical
   -------------------------------------------------------------------------- */
.seo-section-1 .seo-section__layout {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.seo-section__images--duo {
    flex: 0 0 33.333%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.seo-section__images--duo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.seo-section-1 .seo-section__content {
    flex: 1;
    min-width: 0;
}

/* --------------------------------------------------------------------------
   SECTION 2 — H2 souligné + texte + 4 images en ligne (25% chacune)
   -------------------------------------------------------------------------- */
.seo-section-2 .seo-section__content {
    width: 100%;
}

.seo-section__images--quad-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.seo-section__images--quad-row img {
    flex: 1 1 25%;
    max-width: 25%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 3 / 4;
}

/* --------------------------------------------------------------------------
   SECTION 3 — H2 souligné + texte seul, fond sombre, aucune image
   -------------------------------------------------------------------------- */
.seo-section--fullwidth {
    background-color: rgba(0, 0, 0, 0.85);
    padding: 4rem 2rem;
}

/* --------------------------------------------------------------------------
   BAS DE PAGE — Séparateur orangé + espace (identique page-inner)
   -------------------------------------------------------------------------- */
.page-seo .seo-page-footer {
    max-width: 900px;
    margin: 0 auto;
    padding: 1.5rem 2rem 15rem;
    text-align: center;
}

.page-seo .seo-page-separator {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #9f6c49, transparent);
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   MAILLAGE INTERNE — Liens croisés entre pages SEO
   Discret : visible bots, quasi-invisible visiteurs
   -------------------------------------------------------------------------- */
.seo-crosslinks {
    border-top: none;
    padding-top: 0.3rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 0 0.4rem;
}

.seo-crosslinks__title {
    font-family: "Antic Didone", serif;
    font-size: 0.55rem;
    color: rgba(245, 245, 245, 0.07);
    letter-spacing: normal;
    text-transform: none;
    margin: 0;
}

.seo-crosslinks__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 0.4rem;
}

.seo-crosslinks__list a {
    font-family: "Antic Didone", serif;
    font-size: 0.55rem;
    color: rgba(245, 245, 245, 0.07);
    text-decoration: none;
    transition: none;
    padding-left: 0;
    position: static;
}

.seo-crosslinks__list a::before {
    content: none;
}

.seo-crosslinks__list a:hover {
    color: rgba(245, 245, 245, 0.07);
}

/* --------------------------------------------------------------------------
   RESPONSIVE — Mobile (≤ 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 1482px) {
    .seo-h1 {
        font-size: clamp(1.2rem, 2.8vw, 2rem);
    }
}

@media (max-width: 768px) {
    .seo-section-1 .seo-section__layout {
        flex-direction: column;
    }

    /* Masquer la 1ère image (paysage) en mobile */
    .seo-section__images--duo img:first-child {
        display: none;
    }

    .seo-section__images--duo {
        flex: none;
        width: 100%;
    }

    .seo-section-1 .seo-section__content {
        flex: none;
        width: 100%;
    }

    .seo-section__images--quad-row {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .seo-section__images--quad-row img {
        flex: 0 0 calc(50% - 0.375rem);
        max-width: calc(50% - 0.375rem);
        aspect-ratio: auto;
        object-fit: initial;
    }
}
