/**
 * Webiteasy SEO Generator — styles universels pour le contenu riche généré.
 *
 * Ciblent à la fois :
 *  - .wsg-seo-content  (classe générique si le thème encapsule lui-même)
 *  - .bloc-text-01__paragraph--seo (compat thème "usine" d'origine)
 *
 * Enqueue automatique uniquement sur les pages SEO (meta _wsg_seo_page=1 ou
 * clé configurée seo_flag_meta_key).
 */

.wsg-seo-content,
.bloc-text-01__paragraph--seo {
    font-size: 18px;
    line-height: 1.7;
    color: inherit;
    text-align: left;
}
/* Espace généreux avant le premier H2 (sépare visuellement du hero/titre au-dessus) */
.wsg-seo-content > h2:first-child,
.bloc-text-01__paragraph--seo > h2:first-child { margin-top: 1.2em; }
.wsg-seo-content > p:first-child,
.wsg-seo-content > h3:first-child,
.bloc-text-01__paragraph--seo > p:first-child,
.bloc-text-01__paragraph--seo > h3:first-child { margin-top: 0; }
.wsg-seo-content > *:last-child,
.bloc-text-01__paragraph--seo > *:last-child { margin-bottom: 0; }

.wsg-seo-content p,
.bloc-text-01__paragraph--seo p {
    margin: 0 0 1.3em;
    line-height: 1.7;
    text-align: left;
}
.wsg-seo-content h2,
.bloc-text-01__paragraph--seo h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: #232425;
    margin: 2em 0 0.6em;
    text-align: left;
}
.wsg-seo-content h3,
.bloc-text-01__paragraph--seo h3 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    color: #232425;
    margin: 1.6em 0 0.5em;
    text-align: left;
}
.wsg-seo-content ul,
.wsg-seo-content ol,
.bloc-text-01__paragraph--seo ul,
.bloc-text-01__paragraph--seo ol {
    margin: 0 0 1.3em;
    padding-left: 1.5em;
    text-align: left;
}
.wsg-seo-content li,
.bloc-text-01__paragraph--seo li {
    margin-bottom: 0.5em;
    line-height: 1.7;
}
.wsg-seo-content a,
.bloc-text-01__paragraph--seo a {
    color: #045FFF;
    text-decoration: underline;
}
.wsg-seo-content strong,
.bloc-text-01__paragraph--seo strong { font-weight: 700; }

/* ===== CTA banner : couleurs brand (bleu) sur toutes les pages SEO ===== */
/* Highlights "10 jours", "990€" dans le H2 du CTA */
body.wsg-seo-page .bloc-ctabanner-01__headline .bloc-ctabanner-01__headline-highlight {
    color: #045FFF !important;
}
/* Bouton submit "Envoyer" (CF7 + WPForms) */
body.wsg-seo-page .bloc-ctabanner-01__form-card .wpcf7-form input[type="submit"],
body.wsg-seo-page .bloc-ctabanner-01__form-card .wpcf7-form button[type="submit"],
body.wsg-seo-page .bloc-ctabanner-01__form-card .wpforms-submit {
    background-color: #045FFF !important;
    border-color: #045FFF !important;
    color: #fff !important;
}
body.wsg-seo-page .bloc-ctabanner-01__form-card .wpcf7-form input[type="submit"]:hover,
body.wsg-seo-page .bloc-ctabanner-01__form-card .wpcf7-form button[type="submit"]:hover,
body.wsg-seo-page .bloc-ctabanner-01__form-card .wpforms-submit:hover {
    background-color: #0349cc !important;
    border-color: #0349cc !important;
}

@media (max-width: 768px) {
    .wsg-seo-content h2,
    .bloc-text-01__paragraph--seo h2 { font-size: 30px; }
    .wsg-seo-content h3,
    .bloc-text-01__paragraph--seo h3 { font-size: 22px; }
    .wsg-seo-content,
    .bloc-text-01__paragraph--seo { font-size: 17px; }
}
