/*
Theme Name: Wafico
Theme URI: https://wafico.be
Author: Amaury Renard
Author URI: https://wafico.be
Description: Thème WordPress officiel sur-mesure pour Waste Finality Consulting SRL (Wafico) — Certificats CertIBEau, inertage et placement de citernes à mazout, comblement d'égouts, caves et puits en Wallonie et à Bruxelles. Intègre le formulaire complet de demande d'expertise / devis avec envoi de pièces jointes et gestion des demandes dans le back-office WordPress.
Version: 2.2.3
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: wafico
*/

/* Icône Facebook dans le header et le footer */
.header__top--phone .wafico-fb-header {
    display: inline-block;
    margin-left: 4px;
    font-size: 17px;
    color: #1877f2 !important;
    vertical-align: middle;
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.header__top--phone .wafico-fb-header i {
    margin-right: 0 !important;
}

.header__top--phone .wafico-fb-header:hover {
    opacity: 0.85;
    transform: scale(1.1);
}

/* Alignement sur 1 seule ligne de la barre supérieure (.header__top) et du menu (.header__bottom) sur grand écran */
@media (min-width: 992px) {
    .header__top {
        font-size: 14px;
    }

    .header__top--wrapper {
        flex-wrap: nowrap !important;
        justify-content: space-between;
    }

    .header__top--phone {
        white-space: nowrap;
    }

    .header__top--phone i.fa-phone {
        margin-right: 8px;
    }

    .header__bottom .container--big {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between;
    }

    .header__bottom .logo {
        float: none !important;
        flex-shrink: 0;
        width: 195px;
    }

    .header__bottom .navmain {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between;
        flex-grow: 1 !important;
        margin-left: 18px !important;
        float: none !important;
    }

    .header__bottom .navmain > ul.navbar-nav {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        float: none !important;
        margin: 0 !important;
    }

    .header__bottom .navmain > ul.navbar-nav > li {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .header__bottom .navmain > ul.navbar-nav > li > a {
        padding: 24px 8px !important;
        margin: 0 3px !important;
        font-size: 16px !important;
        white-space: nowrap !important;
    }

    .header__bottom .expertise {
        margin-left: auto !important;
        flex-shrink: 0;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .header__top {
        font-size: 12.5px;
    }

    .header__bottom .logo {
        width: 140px !important;
    }

    .header__bottom .navmain {
        margin-left: 10px !important;
    }

    .header__bottom .navmain > ul.navbar-nav > li > a {
        padding: 20px 5px !important;
        margin: 0 2px !important;
        font-size: 14px !important;
    }

    .header__bottom .btn-expertise {
        width: 150px !important;
        padding: 10px 8px 10px 40px !important;
        font-size: 13px !important;
    }
}

/* Badge Avis Google + étoiles dans le menu principal (à droite de Contact) */
.header__bottom .navmain > ul > li.wafico-nav-reviews-item > a.wafico-nav-reviews-link {
    padding: 10px 4px !important;
    margin: 0 2px !important;
    background: transparent !important;
}

.header__bottom .navmain > ul > li.wafico-nav-reviews-item > a.wafico-nav-reviews-link:after {
    display: none !important;
}

.wafico-nav-reviews-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f8fbfd;
    border: 1px solid #d5e6ee;
    border-radius: 50px;
    padding: 5px 9px;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 1px 4px rgba(0, 68, 95, 0.06);
    transition: all 0.2s ease-in-out;
    vertical-align: middle;
}

.wafico-nav-reviews-link:hover .wafico-nav-reviews-pill {
    background: #ffffff;
    border-color: #00c8ca;
    box-shadow: 0 3px 10px rgba(0, 200, 202, 0.18);
    transform: translateY(-1px);
}

.wafico-nav-reviews-g {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    display: inline-block;
}

.wafico-nav-reviews-stars {
    color: #fbbc04;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 1px;
}

.wafico-nav-reviews-score {
    color: #00445f;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0;
}

@media (max-width: 991px) {
    .header__bottom .navmain > ul > li.wafico-nav-reviews-item > a.wafico-nav-reviews-link {
        padding: 12px 10px !important;
    }
}

/* Icône Facebook seule dans le menu principal */
.header__bottom .navmain > ul > li.wafico-nav-fb-item > a.wafico-nav-fb-link {
    padding: 10px 6px !important;
    margin: 0 2px !important;
    font-size: 21px !important;
    line-height: 1 !important;
    color: #1877f2 !important;
    background: transparent !important;
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.header__bottom .navmain > ul > li.wafico-nav-fb-item > a.wafico-nav-fb-link:after {
    display: none !important;
}

.header__bottom .navmain > ul > li.wafico-nav-fb-item > a.wafico-nav-fb-link:hover {
    opacity: 0.85;
    transform: scale(1.1);
}

.footer__social {
    margin-top: 12px;
}

.footer__social a.wafico-fb-footer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1877f2 !important;
    font-size: 26px;
    line-height: 1;
    text-decoration: none !important;
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.footer__social a.wafico-fb-footer:hover {
    opacity: 0.85;
    transform: scale(1.1);
}

.footer__social a.wafico-fb-footer i {
    font-size: 26px;
}

/* Bloc "Wafico : Un service certifié de A à Z" sur la page d'accueil */
.wafico-certifie-section {
    padding: 35px 0 45px;
    background-color: #f4f9fb;
    border-top: 1px solid #e1eef3;
    border-bottom: 1px solid #e1eef3;
    margin-top: 25px;
}

.wafico-certifie-box {
    background: #ffffff;
    border-left: 5px solid #4099bc;
    border-radius: 4px;
    padding: 28px 32px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.wafico-certifie-box h2 {
    color: #4099bc;
    font-size: 26px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
}

.wafico-certifie-box p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 12px;
}

.wafico-certifie-box ul {
    list-style: none;
    padding-left: 0;
    margin: 15px 0 0;
}

.wafico-certifie-box ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.5;
    color: #2c3e50;
}

.wafico-certifie-box ul li::before {
    content: "\f00c";
    font-family: "FontAwesome";
    position: absolute;
    left: 0;
    top: 1px;
    color: #4099bc;
    font-size: 16px;
}

/* Styles complémentaires pour le formulaire de demande d'expertise / devis et l'upload de fichiers */
.wafico-upload-zone {
    border: 2px dashed #4099bc;
    border-radius: 6px;
    background-color: #f7fbfd;
    padding: 22px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    margin-bottom: 15px;
    position: relative;
}

.wafico-upload-zone:hover,
.wafico-upload-zone.dragover {
    background-color: #eaf5fa;
    border-color: #2b7a9b;
}

.wafico-upload-zone input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.wafico-upload-zone__icon {
    font-size: 32px;
    color: #4099bc;
    margin-bottom: 8px;
}

.wafico-upload-zone__title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.wafico-upload-zone__subtitle {
    font-size: 13px;
    color: #666;
}

.wafico-file-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 20px;
}

.wafico-file-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f2f7f9;
    border: 1px solid #d7e7ee;
    border-radius: 4px;
    padding: 8px 12px;
    margin-bottom: 6px;
    font-size: 14px;
    color: #2c3e50;
}

.wafico-file-list li .file-size {
    color: #6c7a89;
    font-size: 12px;
    margin-left: 8px;
}

.wafico-alert {
    padding: 18px 22px;
    border-radius: 4px;
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.5;
}

.wafico-alert--success {
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    color: #3c763d;
}

.wafico-alert--error {
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    color: #a94442;
}

.wafico-hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* ==========================================================================
   Page Contact : Bloc d'introduction (.parag_contact) & Formulaire (.parag_form)
   ========================================================================== */
@media (min-width: 992px) {
    .parag_contact .container,
    .parag_form .container {
        width: 1070px;
        max-width: 100%;
    }
}

@media (min-width: 1200px) {
    .parag_contact .container,
    .parag_form .container {
        width: 1200px;
        max-width: 100%;
    }
}

.parag_contact {
    padding-bottom: 25px !important;
}

.parag_contact .container {
    background: #ffffff;
    border: 1px solid #d3d4d5;
    border-radius: 5px;
    padding: 50px !important;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

@media (max-width: 991px) {
    .parag_contact .container {
        padding: 25px !important;
    }
    .parag_contact_action {
        margin-bottom: 25px !important;
    }
}

.parag_contact .parag_text_content h2:before {
    display: none !important;
}

.parag_contact_action img {
    display: block;
    width: 100%;
    height: auto;
}

.parag_form {
    padding-top: 15px !important;
}

.parag_form .container {
    background: #ffffff;
    border: 1px solid #d3d4d5;
    border-radius: 5px;
    padding: 50px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

@media (max-width: 767px) {
    .parag_form .container {
        padding: 25px !important;
    }
}

/* Bouton d'envoi du formulaire (.btn-custom3) bien visible */
button.btn-custom3,
.btn-custom3 {
    background-color: #00445f !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    padding: 12px 32px !important;
    border: 0 !important;
    border-radius: 2px;
    cursor: pointer;
    display: inline-block;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease-in-out;
    z-index: 2;
}

button.btn-custom3:hover,
button.btn-custom3:focus,
.btn-custom3:hover,
.btn-custom3:focus {
    background-color: #00c8ca !important;
    color: #ffffff !important;
}

/* ==========================================================================
   Section Avis Google Business (Wafico - Waste Finality Consulting)
   ========================================================================== */
.wafico-google-reviews-section {
    padding: 45px 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e6eef2;
}

.wafico-google-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    background: #f8fbfd;
    border: 1px solid #dcebf2;
    border-radius: 8px;
    padding: 22px 28px;
    margin-bottom: 28px;
}

.wafico-google-header__brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.wafico-google-logo {
    background: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.wafico-google-header__info h2 {
    margin: 0 0 6px !important;
    padding: 0 !important;
    font-size: 22px !important;
    font-weight: 700;
    color: #00445f !important;
}

.wafico-google-header__info h2:after {
    display: none !important;
}

.wafico-google-header__rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.wafico-google-score {
    font-size: 22px;
    font-weight: 800;
    color: #202124;
}

.wafico-google-stars {
    color: #fbbc04;
    font-size: 18px;
    letter-spacing: 1px;
}

.wafico-google-count {
    font-size: 14px;
    color: #5f6368;
}

.wafico-google-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #1a73e8;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 20px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: background-color 0.2s ease-in-out;
}

.wafico-google-btn:hover {
    background-color: #1557b0;
    color: #ffffff !important;
}

.wafico-google-col {
    margin-bottom: 20px;
}

.wafico-google-card {
    background: #ffffff;
    border: 1px solid #e3edf2;
    border-radius: 8px;
    padding: 22px;
    height: 100%;
    box-shadow: 0 3px 12px rgba(0, 68, 95, 0.05);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.wafico-google-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 68, 95, 0.09);
}

.wafico-google-card__top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.wafico-google-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eaf5fa;
    color: #4099bc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.wafico-google-card__meta {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wafico-google-card__meta strong {
    font-size: 15px;
    color: #00445f;
}

.wafico-google-card__meta span {
    font-size: 12px;
    color: #6c7a89;
}

.wafico-google-card__gicon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #4285f4;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wafico-google-card__stars {
    color: #fbbc04;
    font-size: 15px;
    margin-bottom: 10px;
}

.wafico-google-card__text {
    font-size: 15px;
    line-height: 1.6;
    color: #333333;
    margin: 0;
    font-style: italic;
}

/* ==========================================================================
   Section FAQ (SEO Naturel & SEO AI / GEO)
   ========================================================================== */
.wafico-faq-section {
    padding: 40px 0 55px;
    background-color: #f8fbfd;
}

.wafico-faq-title {
    color: #00445f !important;
    font-size: 26px !important;
    font-weight: 700;
    margin-top: 0 !important;
    margin-bottom: 24px !important;
    padding-bottom: 12px !important;
}

.wafico-faq-item {
    background: #ffffff;
    border: 1px solid #dcebf2;
    border-radius: 6px;
    margin-bottom: 12px;
    overflow: hidden;
}

.wafico-faq-question {
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 700;
    color: #00445f;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 45px;
}

.wafico-faq-question::-webkit-details-marker {
    display: none;
}

.wafico-faq-question::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: #4099bc;
    font-weight: 700;
}

details.wafico-faq-item[open] .wafico-faq-question::after {
    content: "−";
}

.wafico-faq-answer {
    padding: 0 20px 18px;
    font-size: 15px;
    line-height: 1.65;
    color: #333333;
    border-top: 1px solid #eef5f8;
    padding-top: 14px;
}
