/* ==========================================================================
   EconomyEnergy LP Custom Styles (Core & Conversion Suite)
   ========================================================================== */

/* 1. Centralização Geométrica Perfeita e Margem Interna Mínima (Respiro) */
.widget-button, .whatsapp-btn, a[href^="tel:"], .btn-call, button[type="submit"], .btn-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: normal !important;
    gap: 8px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    overflow: visible !important;
}

#Su1hiKUpkT923JxZoUWe10GV1d0Z2c11 {
    border-left: none !important;
}

.widget-button .widget-text,
.widget-button span,
.whatsapp-btn .widget-text,
a[href^="tel:"] .widget-text,
a[href^="tel:"] span {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    -webkit-transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
}

.btn-whatsapp-icon,
.widget-button svg,
a[href^="tel:"] svg,
a[href^="tel:"] img {
    width: 22px !important;
    min-width: 22px !important;
    height: 22px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    transform: none !important;
    fill: currentColor !important;
}

/* 2. Salvaguarda Mobile (tel:) */
@media only screen and (min-width: 764px) {
    a[href^="tel:"],
    .widget-button[href^="tel:"] {
        display: none !important;
    }
}

/* 3. YouTube Player Cover & Overlay */
.youtube-cover {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.youtube-cover:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}
.youtube-cover:hover .yt-overlay {
    background: rgba(0, 0, 0, 0.15) !important;
}
.youtube-cover:hover img {
    transform: scale(1.1);
}

/* 4. Botão Flutuante de WhatsApp (EconomyEnergy Conversion) */
.pulsozap { 
    animation: pulsozap 2s infinite; 
}
@keyframes pulsozap {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-floating-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 999999 !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
}
.whatsapp-floating-container.visible {
    opacity: 1;
    visibility: visible;
}

.whatsapp-float-btn {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.whatsapp-float-btn:hover {
    transform: scale(1.08);
}
.whatsapp-float-btn img {
    width: 34px;
    height: 34px;
    filter: brightness(0) invert(1);
}

@media only screen and (max-width: 480px) {
    .whatsapp-floating-container {
        bottom: 16px;
        right: 16px;
    }
    .whatsapp-float-btn {
        width: 54px;
        height: 54px;
    }
    .whatsapp-float-btn img {
        width: 30px;
        height: 30px;
    }
}
