/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

.mbottom-0 p {
    margin-bottom: 0 !important;
}


/* START HEADER ----------------------------------------------------------------------- */

/* END HEADER ------------------------------------------------------------------------- */

/* MAIN ----------------------------------------------------------------------------- */
.teo-h1Effect h1 {
    /* background: linear-gradient(90deg, #563578, #563578, #ff8c42, #563578); */
    background: linear-gradient(90deg, #563578, #563578, #b2568a, #563578);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.teo-h2Effect h2 {
    position: relative;
}

.teo-h2Effect h2::after {
    content: '';
    display: block;
    position: absolute;
    background-color: #563578;
    height: 4px;
    width: 30%;
    bottom: -15px;
    left: 0;
    z-index: 0;
}

.teo-presta-wrapper {
    position: relative;
    overflow: hidden;
}

.teo-presta-wrapper>* {
    position: relative;
    z-index: 1;
}

.teo-presta-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    transition: transform 0.4s ease;
    z-index: 0;
}

.teo-presta-wrapper:hover::before {
    transform: scale(1.08);
}


/* tire animé h2 */
/* 1) réserve de la place */
.elementor-widget-animated-headline .elementor-headline {
    min-height: 1.3em;
    /* ou 2.6em si 2 lignes possibles */
    line-height: 1.3;
}

/* 2) évite les retours à la ligne sur la partie animée */
.elementor-widget-animated-headline .elementor-headline-dynamic-wrapper {
    white-space: nowrap;
}

.elementor-widget-animated-headline {
    overflow-anchor: none;
}


/* END MAIN ------------------------------------------------------------------------- */



/* START BLOG ------------------------------------------------------------------------- */

/* END BLOG --------------------------------------------------------------------------- */

/* START FOOTER ----------------------------------------------------------------------- */
#cta-gototop {
    display: none;
    transition: all 0.3s ease-in-out;
}

#cta-gototop.teo-show {
    display: block;
}

@media (max-width:1240px) {
    #cta-gototop.teo-show {
        opacity: 0.4 !important;
    }
}

@media (min-width:768px) {

    #teo-mlegales .elementor-widget .elementor-icon-list-item,
    #teo-mlegales .elementor-widget .elementor-icon-list-item a {
        align-items: center;
        display: inline-block;
        padding: 10px 3px;
    }

}

/* END FOOTER ------------------------------------------------------------------------- */

/* START FORM ------------------------------------------------------------------------- */
.elementor-field-type-checkbox.elementor-field-group.elementor-column.elementor-field-group-projet.elementor-col-33 {
    margin: 0;
}

.elementor-field-type-html.elementor-field-group.elementor-column.elementor-field-group-field_4bcfd72.elementor-col-100,
.elementor-field-type-html.elementor-field-group.elementor-column.elementor-field-group-field_2a94569.elementor-col-100 {
    margin-top: 30px;
    color: #a6a867;
    text-transform: uppercase;
}

/* END FORM ------------------------------------------------------------------------- */

/* START PAGE PORTFOLIO ------------------------------------------------------------------------- */

/* Toolbar filtres */
.pm-filters-toolbar {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin: 0 0 28px;
}

/* Bouton toggle */
.pm-filters-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
    color: inherit;
    line-height: 1.2;
}

.pm-filters-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 999px;
    flex: 0 0 auto;
}

.pm-filters-toggle-text {
    font-weight: 500;
}

/* Filtres desktop */
.pm-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 26px;
    min-width: 0;
}

.pm-filter {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0;
    border: 0;
    background: none;
    border-radius: 0;
    text-decoration: none;
    color: inherit;
    line-height: 1.3;
    white-space: nowrap;
    transition: color .2s ease;
}

.pm-filter:hover {
    color: #f08a5d;
    /* ajuste à ta DA */
}

.pm-filter.is-active {
    color: #f08a5d;
    /* ajuste à ta DA */
}

.pm-filter.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 1px;
    background: currentColor;
}

button.pm-filters-toggle:hover,
button.pm-filters-toggle:active,
button.pm-filters-toggle:focus-visible,
button.pm-filters-toggle:focus {
    background: none !important;
    color: inherit !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font: inherit !important;
    text-decoration: none !important;
    cursor: pointer !important;
    outline: none !important;
}

/* Masonry */
.portfolio-masonry {
    column-count: var(--pm-cols);
    column-gap: var(--pm-gap);
}

.portfolio-masonry .pm-item {
    display: inline-block;
    width: 100%;
    margin: 0 0 var(--pm-gap);
    break-inside: avoid;
}

.portfolio-masonry .pm-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Pagination */
.pm-pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    justify-content: flex-end;
}

.pm-pagination a,
.pm-pagination span {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 8px;
    text-decoration: none;
}

.pm-pagination .current {
    font-weight: 700;
}

/* Responsive masonry */
@media (max-width: 1366px) {
    .portfolio-masonry {
        column-count: 3;
    }
}

@media (max-width: 1024px) {
    .portfolio-masonry {
        column-count: 2;
    }

    .pm-filters-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .pm-filters-toggle {
        display: inline-flex;
        align-self: flex-start;
    }

    .pm-filters {
        display: none;
        gap: 12px;
        width: 100%;
    }

    .pm-filters.is-open {
        display: flex;
        flex-wrap: wrap;
    }

    .pm-filter {
        padding: 8px 12px;
        border: 1px solid rgba(0, 0, 0, .12);
        border-radius: 999px;
        background: #fff;
    }

    .pm-filter.is-active::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .portfolio-masonry {
        column-count: 1;
    }

    .pm-filters {
        gap: 10px;
    }

    .pm-filter {
        max-width: 100%;
        white-space: normal;
    }
}

/* END PAGE PORTFOLIO ------------------------------------------------------------------------- */

@media (max-width: 768px) {
    #iconBanner30ans {
        position: relative !important;
    }

    #iconBanner30ans img {
        width: 90px !important;
        height: 90px !important;
    }
}