/*
 * guide-rse.css — Landing page Guide RSE textile personnalisé
 * Reproduction fidèle du design live (Flatsome + custom CSS WP)
 */

@import url('https://fonts.bunny.net/css?family=montserrat:400,500,600,700,800&display=swap');

.page-guide-rse,
.page-guide-rse h1,
.page-guide-rse h2,
.page-guide-rse h3,
.page-guide-rse p,
.page-guide-rse li,
.page-guide-rse blockquote {
    font-family: 'Montserrat', system-ui, sans-serif;
}

.page-guide-rse h1,
.page-guide-rse h2,
.page-guide-rse h3 {
    font-family: 'Montserrat', system-ui, sans-serif;
    font-weight: 700;
}

/* ── Sections — rythme vertical aéré ──────────────────────────── */
.page-guide-rse {
    --guide-rse-y: clamp(2.25rem, 4.5vw, 3.5rem);
    --guide-rse-y-sm: clamp(1.5rem, 3vw, 2.25rem);
}

.guide-rse-section {
    padding: 0;
}

.guide-rse-section .container {
    padding-top: var(--guide-rse-y);
    padding-bottom: var(--guide-rse-y);
}

.guide-rse-section--hero {
    background-color: rgb(26, 61, 26);
    margin-bottom: 0;
}

.guide-rse-section--hero .container {
    padding-top: clamp(2.5rem, 5vw, 3.75rem);
    padding-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.guide-rse-section--question {
    background: #fff;
}

.guide-rse-section--compare {
    background-color: rgb(243, 236, 236);
}

.guide-rse-section--gains {
    background: #fff;
}

.guide-rse-section--labels {
    background-color: rgb(131, 163, 98);
    color: #fff;
}

.guide-rse-section--labels h2,
.guide-rse-section--labels h3,
.guide-rse-section--labels p {
    color: #fff;
}

.guide-rse-section--form {
    background: #fff;
}

/* Espacement interne cohérent */
.page-guide-rse .guide-rse-section p {
    margin-bottom: 1.1rem;
}

.page-guide-rse .guide-rse-section p:last-child {
    margin-bottom: 0;
}

/* ── Hero ─────────────────────────────────────────────────────── */
.guide-rse-lead {
    font-size: 1rem;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 0.5rem;
}

.guide-rse-hero-title {
    font-size: 45px;
    line-height: 1.15;
    color: #fff !important;
    margin-bottom: 1rem;
}

.guide-rse-hero-accent {
    color: #50b848;
    font-style: italic;
}

.guide-rse-section--hero p {
    line-height: 1.8;
    color: #fff;
    margin-bottom: 0.75rem;
}

.guide-rse-audience {
    font-size: 12px !important;
    color: #fff !important;
    margin-bottom: 1.25rem !important;
}

.guide-rse-cta.button.primary {
    background-color: #C8FF00 !important;
    border-color: #C8FF00 !important;
    color: #1a3d1a !important;
    border-radius: 99px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.85rem 1.75rem;
    margin-top: 0.5rem;
    display: inline-block;
    text-decoration: none;
}

.guide-rse-cta.button.primary:hover {
    background-color: #aede00 !important;
    border-color: #aede00 !important;
    color: #1a3d1a !important;
}

/* ── Encart question ──────────────────────────────────────────── */
.guide-rse-question-box {
    background-color: #627D47;
    border-radius: 22px;
    padding: 1.35rem 1.75rem 1.15rem;
    text-align: center;
    margin: 0 0 2rem;
}

.guide-rse-question-box h2 {
    font-size: 17px;
    font-weight: 700;
    color: #fff !important;
    line-height: 1.45;
    margin-bottom: 0.75rem;
}

.guide-rse-question-box p {
    font-size: 0.95rem;
    color: #fff;
    line-height: 1.6;
    margin: 0;
}

.guide-rse-kicker {
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.guide-rse-heading {
    font-size: 23px;
    line-height: 1.4;
    margin: 0 0 1.25rem;
    color: #0d0d0d;
}

.guide-rse-kicker + .guide-rse-heading {
    margin-top: 0;
}

/* ── 3 colonnes réalités ──────────────────────────────────────── */
.guide-rse-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 0.25rem;
    margin-bottom: 0;
}

.guide-rse-cols p {
    line-height: 1.65;
    color: #4a4a4a;
    margin: 0;
}

@media (max-width: 849px) {
    .guide-rse-hero-title {
        font-size: 32px;
    }

    .guide-rse-cols {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

/* ── Comparaison ──────────────────────────────────────────────── */
.guide-rse-section--compare blockquote {
    border-left: 3px solid #627D47;
    padding-left: 1.25rem;
    margin: 1.5rem 0 2rem;
    font-style: italic;
    color: #4a4a4a;
}

.guide-rse-section--compare blockquote p {
    margin-bottom: 0.75rem;
}

.guide-rse-section--compare blockquote p:last-child {
    margin-bottom: 0;
}

.guide-rse-compare {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: clamp(1.25rem, 4vw, 2.5rem);
    margin-top: 0.5rem;
    margin-inline: auto;
    max-width: 680px;
}

.guide-rse-compare__col {
    flex: 1 1 0;
    min-width: 0;
    max-width: 300px;
}

.guide-rse-compare__title {
    font-size: 16px;
    margin-bottom: 0.25rem;
}

@media (max-width: 767px) {
    .guide-rse-compare {
        flex-direction: column;
        align-items: center;
        max-width: 320px;
        gap: 1.5rem;
    }

    .guide-rse-compare__col {
        max-width: 100%;
        width: 100%;
    }
}

.liste-separee {
    padding-left: 0;
    margin-top: 10px;
    list-style: none;
    text-align: left;
}

.liste-separee li {
    list-style: none;
    border-bottom: 1px solid #d8d6cc;
    padding: 6px 0;
    text-align: left;
    max-width: 420px;
    margin-left: 0;
    color: #4a4a4a;
}

.guide-rse-compare .liste-separee li {
    max-width: none;
}

.liste-separee li:last-child {
    border-bottom: none;
}

.liste-separee .ok {
    color: #008000;
}

.liste-separee .ko {
    color: #ff0000;
}

/* ── Bloc gains ───────────────────────────────────────────────── */
.bloc-guide {
    text-align: left;
    max-width: 900px;
    margin: 1.5rem auto 0;
}

.bloc-guide p {
    border-bottom: 1px solid #d8d6cc;
    padding: 1rem 0;
    margin: 0;
    line-height: 1.65;
    color: #4a4a4a;
}

.bloc-guide p:last-child {
    border-bottom: none;
}

.bloc-guide .num {
    color: #99cc00;
}

/* ── Atouts Lyon / DTF / 0 ────────────────────────────────────── */
.atouts-original {
    position: relative;
    max-width: 1000px;
    margin: 2rem auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "gauche droite"
        "bas bas";
    column-gap: 120px;
    row-gap: 70px;
    text-align: center;
}

.atout-item {
    position: relative;
}

.atout-gauche { grid-area: gauche; }
.atout-droite { grid-area: droite; }

.atout-bas {
    grid-area: bas;
    max-width: 360px;
    margin: 0 auto;
}

.atout-gauche::after {
    content: "";
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.45);
}

.atouts-original h3 {
    margin: 0 0 8px 0;
    line-height: 0.95;
    font-weight: 700;
    font-size: 23px;
    color: #fff !important;
}

.atouts-original p {
    margin: 0;
    line-height: 1.5;
    color: #fff;
}

@media (max-width: 768px) {
    .atouts-original {
        grid-template-columns: 1fr;
        grid-template-areas:
            "gauche"
            "droite"
            "bas";
        row-gap: 35px;
        column-gap: 0;
    }

    .atout-gauche::after {
        display: none;
    }
}

/* ── Formulaire Brevo ─────────────────────────────────────────── */
.guide-rse-checks {
    margin: 0.75rem 0;
    color: #4a4a4a;
    line-height: 1.8;
}

.guide-rse-meta {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.guide-rse-legal {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.55;
    margin-bottom: 0;
}

.guide-rse-section--form .bs-brevo {
    margin-top: 2.5rem;
}
