/**
 * Floating Button "Pedir Orcamento" - Pulsing Effect
 */

/* Pulse animation keyframes */
@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

@keyframes pulse-ring-outer {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Container for the pulse effect */
.pedir-orcamento .elementor-button {
    position: relative;
    z-index: 1;
}

/* Pulse rings - pseudo elements */
.pedir-orcamento .elementor-button::before,
.pedir-orcamento .elementor-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    background: inherit;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
}

/* Active pulse state */
.pedir-orcamento.is-pulsing .elementor-button::before {
    animation: pulse-ring 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.pedir-orcamento.is-pulsing .elementor-button::after {
    animation: pulse-ring-outer 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    animation-delay: 0.3s;
}

/* Remove pulse on hover */
.pedir-orcamento:hover .elementor-button::before,
.pedir-orcamento:hover .elementor-button::after,
.pedir-orcamento.pulse-paused .elementor-button::before,
.pedir-orcamento.pulse-paused .elementor-button::after {
    animation: none;
    opacity: 0;
}

.pedir-orcamento .elementor-button-icon svg{
    width:40px!important;
}

.pedir-orcamento .elementor-button:focus-visible,
.pedido-orcamento-main a.dialog-close-button.dialog-lightbox-close-button:focus-visible{
    outline-width:0px !important;
    outline-color:#00000000!important;
    outline-offset:0px!important;
}
.pedir-orcamento .elementor-button-content-wrapper {
    display: flex;
    flex-direction: row;
    gap: 5px;
    justify-content: center;
    align-content: center;
    align-items: center;
}


.pedido-orcamento-main a.dialog-close-button.dialog-lightbox-close-button {
    background-image: url(/wp-content/uploads/2026/02/Icone-close-pop-up.svg);
    width: 24px;
    height: 24px;
    background-size: cover;
}

.elementor-popup-modal .dialog-close-button svg{
    display:none;
}

.pedido-orcamento-main .gform_wrapper.form_contactos_wrapper .ginput_container input,
.pedido-orcamento-main .gform_wrapper.form_contactos_wrapper .ginput_container textarea,
.pedido-orcamento-main .gform_wrapper.form_contactos_wrapper .ginput_container select{
    background-color:transparent;
}

.pedir-orcamento .elementor-button:focus{
    background-color:#FF4500!important;
}

.pedir-orcamento .elementor-button:hover{
    background-color:#1a1a1a!important;
}

/* ============================================
   Efeito Wave - BotÃ£o Pedir OrÃ§amento (Variant3 Figma)
   ============================================ */

/* Fix overflow on popup container to prevent scrollbars */
#elementor-popup-modal-552 .dialog-lightbox-message,
#elementor-popup-modal-552 .dialog-widget-content {
    overflow: visible !important;
}

.pedir-orcamento .elementor-button-wrapper {
    position: relative;
    overflow: visible !important;
}

.pedir-orcamento .elementor-button {
    position: relative;
    z-index: 1;
    overflow: visible !important;
}

.pedir-orcamento .elementor-button::before,
.pedir-orcamento .elementor-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #FF4500;
    border-radius: 10px 0 0 10px;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

.pedir-orcamento .elementor-button::before {
    animation: wave-outer 2s ease-out infinite;
}

.pedir-orcamento .elementor-button::after {
    animation: wave-inner 2s ease-out infinite 0.3s;
}

@keyframes wave-outer {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

@keyframes wave-inner {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.15);
        opacity: 0;
    }
}



        .pedir-orcamento .elementor-button-text {
        display: none !important;
    }
    
    #elementor-popup-modal-552 .dialog-message {
        width: 100% !important;
    }
    #elementor-popup-modal-552 .dialog-widget-content{
            bottom: 100px;
    }
    
    




