/**
Theme Name: PROGRESS Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: progress-astra-child
Template: astra
*/

/* ========== CSS PROGRESS - CONSERVE DEPUIS ASTRA PARENT ========== */

/* =========================================
   PROGRESS - CARROUSEL D'ACCUEIL
   Réglages existants conservés
   ========================================= */

.pc-carrousel-accueil .elementor-image-carousel,
.pc-carrousel-accueil .swiper-slide {
    height: 195px !important;
}

.pc-carrousel-accueil .swiper-slide img {
    display: block;
    width: 100%;
    height: 195px !important;
    object-fit: contain;
    object-position: center;
}

/* Smartphone */
@media (max-width: 767px) {
    .pc-carrousel-accueil .elementor-image-carousel,
    .pc-carrousel-accueil .swiper-slide,
    .pc-carrousel-accueil .swiper-slide img {
        height: 150px !important;
    }
}


/* =========================================
   PROGRESS - FLECHES DES SECTEURS
   Compatible avec Popup Maker
   Classe Elementor : pc-fleche-secteur
   ========================================= */

.pc-fleche-secteur a[href^="#popmake-"] {
    position: relative;
    display: block;
    width: 42px;
    height: 42px;
    box-sizing: border-box;
    margin: 12px 4px 0 auto;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #006E90;
    color: transparent !important;
    font-size: 0;
    line-height: 0;
    text-decoration: none !important;
    box-shadow: none;
    transition: background-color 0.2s ease;
}

/* Trait horizontal de la flèche */
.pc-fleche-secteur a[href^="#popmake-"]::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 19px;
    width: 17px;
    height: 2px;
    background: #FFFFFF;
}

/* Pointe de la flèche */
.pc-fleche-secteur a[href^="#popmake-"]::after {
    content: "";
    position: absolute;
    left: 20px;
    top: 16px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #FFFFFF;
    border-right: 2px solid #FFFFFF;
    transform: rotate(45deg);
}

/* Survol */
.pc-fleche-secteur a[href^="#popmake-"]:hover {
    background: #00546F;
}

/* Navigation au clavier */
.pc-fleche-secteur a[href^="#popmake-"]:focus-visible {
    outline: 3px solid #1397C0;
    outline-offset: 3px;
}


/* =========================================
   PROGRESS - ALIGNEMENT DES 4 FLECHES
   ========================================= */

/* Chaque carte sert de repère à sa flèche */
.pc-carte-secteur {
    position: relative;
}

/* Position identique en bas à droite */
.pc-carte-secteur .pc-fleche-secteur a[href^="#popmake-"] {
    position: absolute;
    right: 16px;
    bottom: 16px;
    margin: 0 !important;
    z-index: 2;
}


/* =========================================
   PROGRESS - SEPARATEURS VERTICAUX
   Bandeau Qui sommes-nous / Nos valeurs /
   Depuis 2008
   ========================================= */

.progress-separateur {
    position: relative;
}

.progress-separateur::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background-color: #9CB6C4;
    pointer-events: none;
}

/* Masquer sur tablette et smartphone */
@media (max-width: 1024px) {
    .progress-separateur::after {
        display: none;
    }
}


/* =========================================
   PROGRESS - SEPARATEUR NOTRE EQUIPE
   ========================================= */

@media (min-width: 1025px) {
    .progress-separateur.pc-separation-equipe::after {
        right: -4px;
        z-index: 2;
    }
}


/* =========================================
   PROGRESS - FORMULAIRE CONTACT ACCUEIL
   Contact Form 7
   ========================================= */

/* Grille à deux colonnes sur PC */
.wpcf7 .pc-contact-fields {
    display: grid !important;
    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;
    column-gap: 14px !important;
    row-gap: 12px !important;
    width: 100%;
    box-sizing: border-box;
}

/* Neutraliser les paragraphes automatiques CF7 */
.wpcf7 .pc-contact-fields > p {
    display: contents !important;
}

.wpcf7 .pc-contact-fields br {
    display: none !important;
}

/* Conteneur individuel de chaque champ */
.wpcf7 .pc-contact-field {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Libellés */
.wpcf7 .pc-contact-field label {
    display: block;
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
}

/* Conteneurs Contact Form 7 */
.wpcf7 .pc-contact-field .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    margin-top: 4px;
}

/* Champs de saisie */
.wpcf7 .pc-contact-field input,
.wpcf7 .pc-contact-field textarea {
    display: block;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    margin: 0;
    padding: 7px 10px;
    border: 1px solid #C9D3DA;
    border-radius: 5px;
    background: #FFFFFF;
    font-size: 14px;
    color: #1F2D3D;
}

/* Hauteur des champs simples */
.wpcf7 .pc-contact-field input {
    height: 36px;
}

/* Champ message sur les deux colonnes */
.wpcf7 .pc-contact-full {
    grid-column: 1 / -1;
}

/* Hauteur du message */
.wpcf7 .pc-contact-full textarea {
    height: 70px !important;
    min-height: 70px !important;
    resize: vertical;
}

/* Bouton d'envoi */
.wpcf7 .pc-contact-actions {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center;
    margin-top: 12px;
}

.wpcf7 .pc-contact-actions p {
    margin: 0 !important;
}

/* Aspect du bouton */
.wpcf7 .pc-contact-actions input[type="submit"] {
    width: auto !important;
    padding: 11px 22px;
    border: none;
    border-radius: 8px;
    background: #006E90;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* Survol du bouton */
.wpcf7 .pc-contact-actions input[type="submit"]:hover {
    background: #00546F;
}

/* Navigation clavier */
.wpcf7 .pc-contact-actions input[type="submit"]:focus-visible {
    outline: 3px solid #1397C0;
    outline-offset: 3px;
}


/* =========================================
   PROGRESS - FORMULAIRE SUR SMARTPHONE
   ========================================= */

@media (max-width: 767px) {

    /* Une seule colonne */
    .wpcf7 .pc-contact-fields {
        grid-template-columns: 1fr !important;
        row-gap: 12px !important;
    }

    .wpcf7 .pc-contact-full {
        grid-column: 1;
    }

    /* Bouton centré */
    .wpcf7 .pc-contact-actions {
        justify-content: center !important;
    }

}


/* =========================================
   PROGRESS - FORMULAIRE CONTACT COMPACT
   ========================================= */

.wpcf7 .pc-contact-fields {
    row-gap: 8px !important;
    align-content: start !important;
}

/* Supprimer les marges parasites */
.wpcf7 .pc-contact-fields p,
.wpcf7 .pc-contact-field,
.wpcf7 .pc-contact-field label {
    margin: 0 !important;
    padding: 0 !important;
}

/* Espacement entre libellé et champ */
.wpcf7 .pc-contact-field
.wpcf7-form-control-wrap {
    margin-top: 4px !important;
}

/* Réduire l'espace avant le bouton */
.wpcf7 .pc-contact-actions {
    margin-top: 8px !important;
}

.wpcf7 .pc-contact-actions p {
    margin: 0 !important;
    padding: 0 !important;
}


/* PROGRESS - FORMULAIRE COMPACT FINAL */

/* Conserver les libellés pour l'accessibilité */
.pc-contact-label-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Rapprocher les champs */
.wpcf7 .pc-contact-fields {
    row-gap: 8px !important;
}

.wpcf7 .pc-contact-field .wpcf7-form-control-wrap {
    margin-top: 0 !important;
}

.wpcf7 .pc-contact-field input {
    height: 34px !important;
}

.wpcf7 .pc-contact-full textarea {
    height: 62px !important;
    min-height: 62px !important;
}

.wpcf7 .pc-contact-actions {
    margin-top: 8px !important;
}


/* =========================================
   PROGRESS - CONTACT
   DECOUPE DIAGONALE DU PANNEAU INDUSTRIEL
   ========================================= */

@media (min-width: 1025px) {

    .pc-contact-visuel {
        -webkit-clip-path: polygon(
            0 0,
            100% 0,
            90% 100%,
            0 100%
        );

        clip-path: polygon(
            0 0,
            100% 0,
            90% 100%,
            0 100%
        );
    }

}

/* Tablette et smartphone : panneau rectangulaire */
@media (max-width: 1024px) {

    .pc-contact-visuel {
        -webkit-clip-path: none;
        clip-path: none;
    }

}


/* =========================================
   PROGRESS - CADRE SECTION CONTACT
   Cadre limité au contenu centré
   ========================================= */

/* Le conteneur extérieur reste sans bordure */
.pc-contact-cadre {
    border: none !important;
    border-radius: 0 !important;
}

/* Cadre autour des deux colonnes uniquement */
.pc-contact-cadre > .e-con-inner {
    max-width: 1140px;
    width: calc(100% - 32px);
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #DCE4E9;
    border-radius: 12px;
    overflow: hidden;
    box-sizing: border-box;
}


/* PROGRESS - COORDONNEES DU BANDEAU CONTACT */

.pc-contact-coordonnee .elementor-widget-text-editor p {
    margin: 0 !important;
    padding: 0 !important;
}

.pc-contact-coordonnee .elementor-widget-text-editor {
    flex: 1 1 auto;
    min-width: 0;
}

.pc-contact-coordonnee .elementor-widget-icon {
    flex: 0 0 auto;
}


/* =========================================
   PROGRESS - FINITION BANDEAU CONTACT
   ========================================= */

/* Panneau industriel */
.pc-contact-visuel {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 22px 65px 22px 28px !important;
    box-sizing: border-box;
    text-align: left !important;
}

/* Titre et paragraphes alignés à gauche */
.pc-contact-visuel .elementor-heading-title,
.pc-contact-visuel .elementor-widget-text-editor {
    text-align: left !important;
}

.pc-contact-visuel .elementor-widget-text-editor p {
    margin: 0 !important;
}

/* Deux lignes de coordonnées */
.pc-contact-visuel .pc-contact-coordonnee {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Icônes de même dimension */
.pc-contact-coordonnee .elementor-widget-icon {
    flex: 0 0 44px !important;
    width: 44px !important;
    margin: 0 !important;
}

/* Textes sur une ligne et sans décalage */
.pc-contact-coordonnee .elementor-widget-text-editor {
    flex: 0 1 auto !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}


/* Typographie des coordonnées uniquement */
.pc-contact-coordonnee .elementor-widget-text-editor,
.pc-contact-coordonnee .elementor-widget-text-editor p {
    font-family: Roboto, Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: normal !important;
    color: #FFFFFF !important;
}


/* Éviter les marges de paragraphes */
.pc-contact-coordonnee p {
    margin: 0 !important;
    padding: 0 !important;
}

/* Adaptation smartphone */
@media (max-width: 767px) {
    .pc-contact-visuel {
        padding: 24px 20px !important;
    }

    .pc-contact-coordonnee {
        gap: 10px !important;
    }

    .pc-contact-coordonnee .elementor-widget-text-editor {
        overflow-wrap: anywhere;
    }
}


/* =========================================
   PROGRESS - MENU DU PIED DE PAGE
   ========================================= */

/* Liens blancs */
.site-footer #astra-footer-menu .menu-item > a {
    color: #FFFFFF !important;
    text-decoration: none !important;
}

/* Survol */
.site-footer #astra-footer-menu .menu-item:hover > a,
.site-footer #astra-footer-menu .menu-item > a:focus-visible {
    color: #46A3BF !important;
}

/* Page active */
.site-footer #astra-footer-menu .current-menu-item > a {
    color: #FFFFFF !important;
}


/* =========================================
   PROGRESS - FOOTER SMARTPHONE
   MENU HORIZONTAL SUR PLUSIEURS LIGNES
   ========================================= */

@media (max-width: 767px) {

    .site-footer #astra-footer-menu {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px 14px !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .site-footer #astra-footer-menu > li {
        display: block !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .site-footer #astra-footer-menu > li > a {
        display: inline-block !important;
        width: auto !important;
        padding: 0 !important;
        white-space: nowrap !important;
        font-size: 12px !important;
        line-height: 1.4 !important;
        color: #FFFFFF !important;
    }

}


/* =========================================
   PROGRESS - FOOTER MOBILE COMPACT
   ========================================= */

@media (max-width: 767px) {

    .site-primary-footer-wrap {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    .site-primary-footer-wrap .ast-builder-grid-row {
        row-gap: 8px !important;
    }

    .site-primary-footer-wrap .site-footer-section {
        margin-bottom: 0 !important;
    }

}



/* PROGRESS - FORMULAIRE CANDIDATURE SPONTANÉE */

form.pc-candidature-spontanee {
    font-size: 13px;
    line-height: 1.5;
}

/* Espacement entre les champs */
form.pc-candidature-spontanee p {
    margin: 0 0 14px !important;
    padding: 0;
}

/* Libellés */
form.pc-candidature-spontanee label {
    display: block;
    font-weight: 500;
    color: #18313E;
}

/* Champs de saisie */
form.pc-candidature-spontanee input[type="text"],
form.pc-candidature-spontanee input[type="email"],
form.pc-candidature-spontanee input[type="tel"],
form.pc-candidature-spontanee textarea {
    width: 100%;
    box-sizing: border-box;
    margin-top: 5px;
    border: 1px solid #CBD7DF;
    border-radius: 5px;
    background: #FFFFFF;
    font-size: 14px;
}

/* Hauteur des champs simples */
form.pc-candidature-spontanee input[type="text"],
form.pc-candidature-spontanee input[type="email"],
form.pc-candidature-spontanee input[type="tel"] {
    height: 40px;
}

/* Message moins haut */
form.pc-candidature-spontanee textarea {
    height: 115px !important;
    min-height: 115px !important;
    resize: vertical;
}

/* Case confidentialité */
form.pc-candidature-spontanee .wpcf7-acceptance label {
    display: inline-flex;
    align-items: flex-start;
    gap: 7px;
    font-weight: 400;
}

/* Bouton d'envoi */
form.pc-candidature-spontanee input[type="submit"] {
    background: #006E90;
    color: #FFFFFF;
    border: none;
    border-radius: 5px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

form.pc-candidature-spontanee input[type="submit"]:hover {
    background: #00546F;
}


/* PROGRESS - BANDEAU EXPERTISES COMPACT SUR PC */
@media (min-width: 1025px) {

    .pc-bandeau-expertises {
        min-height: 0 !important;
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }

    .pc-bandeau-expertises .e-con {
        min-height: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .pc-bandeau-expertises .elementor-widget-icon-box,
    .pc-bandeau-expertises .elementor-widget-icon-box
    .elementor-widget-container {
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .pc-bandeau-expertises .elementor-icon-box-icon {
        margin-bottom: 4px !important;
    }

    .pc-bandeau-expertises .elementor-icon-box-title {
        margin: 0 !important;
        line-height: 1.25 !important;
    }

    .pc-bandeau-expertises .elementor-icon-box-description {
        margin: 0 !important;
    }
}
