/* ============================================================
   SINGLE GUIDES — Template CSS
   Couleurs : primary #0018A8 | secondary #93D500 | bg #211E3B
   ============================================================ */

/* ── SECTION WRAPPER ── */
.guides-single-section {
    padding: 60px 0 80px;
    background-color: #f7f8fc;
}

/* ── BLOC TITRE ── */
.guides-title-block {
    text-align: center;
    margin-bottom: 48px;
    margin-top: 48px;
}

.guides-label {
    display: inline-block;
    background-color: #93D500;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.guides-article-title {
    font-size: 36px;
    font-weight: 800;
    color: #211E3B;
    line-height: 1.2;
    margin: 0 0 20px;
}

@media (max-width: 767px) {
    .guides-article-title {
        font-size: 26px;
    }
}

/* Séparateur décoratif */
.guides-title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.guides-divider-line {
    display: inline-block;
    width: 60px;
    height: 2px;
    background-color: #0018A8;
    border-radius: 2px;
}

.guides-divider-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #93D500;
    border-radius: 50%;
}

/* ── LIGNE PRINCIPALE ── */
.guides-body-row {
    display: flex;
    gap: 30px;
}

/* ── COLONNE GAUCHE ── */
.guides-left-col {
    width: 50%;
}

@media (max-width: 991px) {
    .guides-left-col {
        padding-right: 15px;
        margin-bottom: 15px;
    }
}

/* Image mise en avant */
.guides-featured-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 24, 168, 0.12);
    margin-bottom: 32px;
}

.guides-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.guides-featured-image img:hover {
    transform: scale(1.02);
}

/* Contenu de l'article */
.guides-content-body {
    color: #444;
    font-size: 15px;
    line-height: 1.85;
}

.guides-content-body h2,
.guides-content-body h3 {
    font-size: 24px;
    color: #0018A8;
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 12px;
}

.guides-content-body p {
    margin-bottom: 16px;
}

.guides-content-body ul,
.guides-content-body ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.guides-content-body ul li,
.guides-content-body ol li {
    margin-bottom: 8px;
}

.guides-content-body a {
    color: #0018A8;
    text-decoration: underline;
}

.guides-content-body blockquote {
    border-left: 4px solid #93D500;
    background: #f0f4ff;
    padding: 14px 20px;
    margin: 20px 0;
    font-style: italic;
    color: #333;
    border-radius: 0 8px 8px 0;
}

/* Meta date / auteur */
.guides-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e0e5ef;
    color: #888;
    font-size: 13px;
}

.guides-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.guides-meta .fa {
    color: #0018A8;
}

/* ── COLONNE DROITE : CARTE FORMULAIRE ── */
.guides-right-col {
    /* position: sticky;
    top: 100px; */
    width: 50%;
    align-items: center;
    display: flex;
}

.guides-form-card > div:nth-child(2) {
    padding: 20px 40px 20px 40px;
}
@media (max-width: 991px) {
    .guides-body-row {
        flex-direction: column;
    }
    .guides-right-col,
    .guides-left-col {
        width: 100%;
    }
}

.guide-fct p {
    width: 100%;
}
.guide-submit-btn {
    text-align: center;
}
.guide-submit-btn .wpcf7-spinner {
    display: block;
}
.guides-form-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(33, 30, 59, 0.12);
    overflow: hidden;
}

/* En-tête colorée de la carte */
.guides-form-header {
    background: #0018A8;
    padding: 28px 30px 24px;
    color: #fff;
}

.guides-form-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.guides-form-title .fa {
    color: #93D500;
    font-size: 22px;
}

.guides-form-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.6;
}

/* Corps du formulaire */
.guides-contact-form {
    padding: 28px 30px 32px;
}

@media (max-width: 480px) {
    .guides-form-header,
    .guides-contact-form {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Groupes de champs */
.guides-form-group {
    margin-bottom: 18px;
}

.guides-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #211E3B;
    margin-bottom: 6px;
}

.guides-form-group label span {
    color: #e63c3c;
    margin-left: 2px;
}

.guides-form-group input[type="text"],
.guides-form-group input[type="email"],
.guides-form-group input[type="tel"],
.guides-form-group select,
.guides-form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #dde2f0;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background-color: #fafbff;
    transition: border-color 0.25s, box-shadow 0.25s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.guides-form-group input:focus,
.guides-form-group select:focus,
.guides-form-group textarea:focus {
    border-color: #0018A8;
    box-shadow: 0 0 0 3px rgba(0, 24, 168, 0.1);
    background-color: #fff;
}

.guides-form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230018A8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.guides-form-group textarea {
    resize: vertical;
    min-height: 110px;
}

/* Bouton d'envoi */
.guides-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    background-color: #0018A8;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
    margin-top: 8px;
}

.guides-submit-btn:hover {
    background-color: #93D500;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(147, 213, 0, 0.35);
}

.guides-submit-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.guides-submit-btn .fa {
    font-size: 16px;
    transition: transform 0.3s;
}

.guides-submit-btn:hover .fa {
    transform: translateX(4px);
}
