.btn-open-menu .elementor-icon-wrapper,
.btn-close-menu .elementor-icon-wrapper,
.btn-open-search-modal .elementor-icon-wrapper {
    display: flex;
}

.btn-open-menu,
.btn-close-menu,
.close-modal,
.btn-open-search-modal {
    cursor: pointer;
}

.btn-close-menu {
    display: none;
}

.btn-open-menu.hidden {
    display: none;
}

.popup-search-container {
    display: none;
    opacity: 0;
    visibility: hidden;
}

.btn-close-menu.active {
    display: block;
    opacity: 1;
    visibility: visible;
}

.popup-search-container.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

#menu-section-bg,
.popup-search-container {
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease !important;
}

.no-scroll {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
}

#menu-section-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

#menu-section-bg.active {
    display: block;
    opacity: 1;
    transition: all 0.3s ease-in-out;
}

#menu-section-bg:not(.active) {
    opacity: 0;
    visibility: hidden;
}


.btn-open-menu,
.btn-close-menu,
.close-modal,
.btn-open-search-modal {
    cursor: pointer;
}

.btn-close-menu {
    display: none;
}

.btn-open-menu.hidden {
    display: none;
}

.btn-close-menu.active,
#menu-section-bg:is(.active) {
    display: block;
    opacity: 1;
    visibility: visible;
}

.popup-search-container.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

#menu-section-bg,
.popup-search-container {
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease !important;
}

.no-scroll {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
}

.btn-open-search-modal .elementor-icon-wrapper {
    display: flex;
}

/*Glider disable*/
.glider-contain ::-webkit-scrollbar {
    display: none;
}

/*Menu Desktop*/
.menu-desk-overlay {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    backdrop-filter: blur(4px);
    background-color: rgba(0, 0, 0, 0.612);
    z-index: 97 !important;
    opacity: 0;
    visibility: hidden !important;
    overflow: hidden !important;
    pointer-events: none !important;
    transition: all 0.3s ease !important;
}

.menu-desk-overlay.visible {
    opacity: 1;
    visibility: visible !important;
    pointer-events: all !important;
}

.has-submenu svg {
    transition: all 0.25s ease-in-out;
}

.has-submenu:is(.highlighted) .sub-arrow svg {
    transform: rotate(180deg);
}

/*Menu Mobile*/
.menu-mobile-nav {
    max-width: 600px;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.menu-mobile-list {
    max-height: 600px;
    overflow-y: auto;
    padding: 0 10px 0 0;
    margin: 0;
    list-style: none;
    background: #fff;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.menu-mobile-item,
.menu-mobile-sublist .menu-mobile-link {
    border-bottom: 1px solid #EBEBEB;
}

.menu-mobile-parent {
    background: #fff !important;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: relative;
    z-index: 1;
}

.menu-mobile-link,
.menu-mobile-btn {
    display: block;
    width: 100%;
    text-align: left;
    background: none !important;
    border: none !important;
    padding-block: 11px;
    font-size: 15px;
    font-family: inherit;
    font-weight: 600;
    color: var(--e-global-color-primary);
    text-decoration: none;
    cursor: pointer;
    outline: none;
}

.menu-mobile-btn {
    width: 50% !important;
    display: flex !important;
    justify-content: end !important;
    align-items: end !important;
    padding-inline: 0px !important;
    -webkit-appearance: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}



.menu-mobile-sublist {
    max-height: 0;
    overflow: hidden;
    padding-left: 10px;
    margin: 0;
    list-style: none;
    opacity: 0;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out, padding 0.3s ease-out;
    -webkit-transition: max-height 0.3s ease-out, opacity 0.3s ease-out, padding 0.3s ease-out;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: max-height, opacity;
    padding-top: 0;
    padding-bottom: 0;
}

.menu-mobile-sublist .menu-mobile-link {
    font-size: 14px;
}

.menu-mobile-sublist li:last-child a {
    border: none;
}

.menu-mobile-sublist.open {
    max-height: 500px;
    opacity: 1;
    padding-top: 5px;
    padding-bottom: 5px;
}

/* Força o hardware acceleration no Safari */
.menu-mobile-item {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Fix específico para iOS Safari */
@supports (-webkit-touch-callout: none) {
    .menu-mobile-sublist {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    .menu-mobile-sublist.open {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    /* Garante que o componente não fique branco durante a transição */
    .menu-mobile-item {
        background: #fff !important;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    .menu-mobile-nav,
    .menu-mobile-list,
    .menu-mobile-parent {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        background: #fff !important;
    }
}

/* Media query específica para iOS devices */
@media screen and (-webkit-min-device-pixel-ratio: 2) {
    .menu-mobile-sublist {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

.menu-mobile-arrow {
    transition: transform 0.2s;
}

.menu-mobile-arrow.arrow-open {
    transform: rotate(180deg);
}


/*Elementor Disables*/
.elementor-form input,
.elementor-form select,
.elementor-form textarea {
    transition: none !important;
    box-shadow: none !important;
    border-color: inherit !important;
    outline: none !important;
    background-color: inherit !important;
}

.elementor-form input:hover,
.elementor-form select:hover,
.elementor-form textarea:hover,
.elementor-form input:focus,
.elementor-form select:focus,
.elementor-form textarea:focus,
.elementor-form input:focus-within,
.elementor-form select:focus-within,
.elementor-form textarea:focus-within,
.elementor-form input:focus-visible,
.elementor-form select:focus-visible,
.elementor-form textarea:focus-visible,
.elementor-form input:active,
.elementor-form select:active,
.elementor-form textarea:active,
.elementor-form input:target,
.elementor-form select:target,
.elementor-form textarea:target {
    outline: none !important;
    box-shadow: none !important;
    border-color: inherit !important;
    background-color: inherit !important;
    transition: none !important;
}


/*Language Switcher*/
.cpel-switcher__nav {
    transition: all 0.25s ease-in-out !important;
}

.cpel-switcher__nav.active .cpel-switcher__toggle::after {
    position: absolute;
    width: 16px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEyIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xIDEuNUw2IDYuNUwxMSAxLjUiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=");
    background-repeat: no-repeat;
    transition: all 0.25s ease;
    transform: rotate(180deg);
}

.cpel-switcher__nav.active .cpel-switcher__list {
    z-index: 99999 !important;
    min-height: 90px !important;
    transition: all 0.25s ease-in-out !important;
}

.cpel-switcher__nav .cpel-switcher__list {
    display: flex !important;
    justify-content: center !important;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.16) 0 1px 4px;
    border-radius: 5px;
    transition: all 0.25s ease-in-out !important;
}

.cpel-switcher__nav .cpel-switcher__list .cpel-switcher__lang a {
    padding-block: 10px !important;
}

/* TODO: Alterar se tiver nova linguagem, alterar diretamente na variavel --langs */
.cpel-switcher--layout-dropdown .cpel-switcher__toggle--on+.cpel-switcher__list {

    max-height: calc(100% * 4) !important;
}

.cpel-switcher__nav .cpel-switcher__list .cpel-switcher__lang a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-block: 10px;
}

.cpel-switcher__nav .cpel-switcher__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-right: 15px;
    margin-block: 5px;
}

.cpel-switcher__nav .cpel-switcher__toggle::after {
    position: absolute;
    left: 80%;
    width: 16px !important;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEyIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xIDEuNUw2IDYuNUwxMSAxLjUiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=");
    background-repeat: no-repeat;
    transition: all 0.25s ease;
    background-position: center;
}

/*Glider disable*/
.glider::-webkit-scrollbar {
    display: none !important;
}


/*Footer*/
.footer-link {
    color: #DFE7EB !important;
    text-decoration: underline !important;
    transition: all 0.25s ease-in-out;
}

.footer-link:hover {
    opacity: 0.8;
}

@media (max-width: 767px) {
    .accordion-footer .elementor-nav-menu__container {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .accordion-footer.active .elementor-nav-menu__container {
        max-height: 500px;
    }

    .accordion-footer .elementor-heading-title {
        cursor: pointer;
        position: relative;
        padding-right: 24px;
        padding-bottom: 8px;
        border-bottom: 1px solid #DFE7EB;
    }

    .accordion-footer .elementor-heading-title::after {
        content: "";
        position: absolute;
        right: 0;
        top: 40%;
        width: 22px;
        height: 18px;
        transform: translateY(-50%) rotate(0deg);
        background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMiIgaGVpZ2h0PSIxMyIgdmlld0JveD0iMCAwIDIyIDEzIiBmaWxsPSJub25lIj48cGF0aCBkPSJNIDIxIDEuNzk5MzIgTCAxMSAxMS43OTkzMiBMIDEgMS43OTkzMiIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48L3N2Zz4=");
        background-size: contain;
        background-repeat: no-repeat;
        transition: transform 0.3s ease;
    }

    .accordion-footer.active .elementor-heading-title::after {
        transform: translateY(-50%) rotate(180deg);
        top: 25%;
    }
}

/*Scroll to top*/
.scroll-to-top {
   position: fixed;
   bottom: 90px;
   right: 25px;
   display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
   gap: 0;
   background-color: #0d4d6c;
   color: #fff;
   padding: 7px 12px 11px;
   border-radius: 100px;
   text-align: center;
   font-size: 14px;
   visibility: hidden;
   opacity: 0;
   z-index: 999;
   text-decoration: none;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
   transition: opacity 0.3s ease, visibility 0.3s ease;
}
.scroll-to-top:hover {
   color: #fff;
}
.scroll-to-top svg {
   width: 25px;
   height: 20px;
   margin-bottom: -5px;
}
.scroll-to-top span {
   display: block;
   font-size: 12px;
}


/*Buttons*/
.btn-icon-h .elementor-button-content-wrapper {
    gap: 8px !important;
}

.btn-icon-h .elementor-button-content-wrapper .elementor-button-icon svg {
    height: 12px;
}

.btn-icon-h:hover .elementor-button-link svg,
.btn-icon-h:is(.blue):hover .elementor-button svg {
    fill: transparent !important;
}

.btn-icon-h:is(.blue) .elementor-button-link svg path {
    stroke: #fff !important;
}

.btn-icon-h:is(.blue) .elementor-button-link:hover svg path {
    stroke: var(--e-global-color-primary) !important;
}

.btn-card-post:hover .elementor-button-link svg,
.btn-card-post:hover .elementor-button svg {
    fill: transparent !important;
}

.btn-card-post:hover .elementor-button-link svg rect,
.btn-card-post:hover .elementor-button svg rect {
    fill: white;
}

.btn-card-post:hover .elementor-button-link svg path,
.btn-card-post:hover .elementor-button svg path {
    stroke: #0e4a63;
}

.btn-card-post:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 2.5px;
    background-color: #0e4a63;
    border-radius: 2px;
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    transition: all 0.25s ease !important;
}

.text-block-widget a,
.text-block-widget b {
    color: var(--e-global-color-primary) !important;
}

.text-block-widget a:hover {
    color: var(--e-global-color-accent) !important;
}

.estrategia-accordion-item button {
    display: flex;
    flex-direction: row;
    gap: 20px;
    text-wrap: wrap;
    text-align: left;
}

.contact-icon-container .elementor-icon-box-wrapper {
    display: flex !important;
    gap: 20px !important;
    margin-bottom: -10px;
}

.contact-icon-container .elementor-icon-box-wrapper .elementor-icon-box-title a {
    color: var(--e-global-color-accent) !important;
}

.img-card-categorie a {
    width: 100% !important;
}

@media (max-width: 768px) {
    .cpel-switcher__nav .cpel-switcher__toggle a {
        position: relative;
        z-index: -1;
    }
}

/*Tooltip services card */
.tippy-box[data-theme~='custom-tooltip'] {
    background-color: #fff;
    color: #333;
    border: 1px solid #d0d0d0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 6px;
    position: relative;
}

.tippy-box[data-theme~='custom-tooltip']>.tippy-arrow {
    display: none;
}

.tippy-box[data-theme~='custom-tooltip'][data-placement^='top']>.tippy-arrow::before {
    border-top-color: #fff;
}

.tippy-box[data-theme~='custom-tooltip'][data-placement^='bottom']>.tippy-arrow::before {
    border-bottom-color: #fff;
}

.tippy-box[data-theme~='custom-tooltip'][data-placement^='left']>.tippy-arrow::before {
    border-left-color: #fff;
}

.tippy-box[data-theme~='custom-tooltip'][data-placement^='right']>.tippy-arrow::before {
    border-right-color: #fff;
}

button.carousel__button .fancybox__button--close {
    color: red !important;
}

.carousel__button .is-prev,
.carousel__button .is-next {
    color: #EAEAEA !important;
}

.carousel__button svg {
    flex-shrink: 0;
}

.elementor-location-single {
    display: block !important;
}