/* ==========================================================================
   Espaço Thais Machado - Landing Page Styles & Standardized Components
   ========================================================================== */

/* 1. Restauração de Imagens de Fundo e Desativação de Lazyload Bloqueante */
.widget-box,
[class*="widget-box"],
[class*="widget-section"],
.widget-section {
    opacity: 1 !important;
    visibility: visible !important;
}

/* 2. Botões Padronizados - Ícone Estritamente à Esquerda, Alinhamento Perfeito */
.widget-button,
.whatsapp-cta-btn {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 10px !important;
    border-left: 0 !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

.widget-button .widget-overlay {
    display: none !important;
}

.btn-whatsapp-icon {
    order: 1 !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
}

.widget-button .widget-text,
.whatsapp-cta-btn .widget-text {
    order: 2 !important;
    position: static !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: normal !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
}

/* 3. Botão Flutuante de WhatsApp Padronizado */
.whatsapp-float-btn {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 999999 !important;
    width: 60px !important;
    height: 60px !important;
    background-color: #25d366 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45) !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
    text-decoration: none !important;
}

.whatsapp-float-btn.visible {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.whatsapp-float-btn:hover {
    transform: scale(1.08) !important;
}

.whatsapp-float-btn img {
    width: 34px !important;
    height: 34px !important;
    filter: brightness(0) invert(1) !important;
    display: block !important;
}

/* Animação Pulsozap */
@keyframes pulsozap {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.65);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.pulsozap {
    animation: pulsozap 2s infinite !important;
}

/* Ocultar botões tel: no Desktop */
@media (min-width: 764px) {
    a[href^="tel:"],
    .widget-button[href^="tel:"] {
        display: none !important;
    }
}

/* 4. Estilos da Seção de Depoimentos Formatados em HTML */
.depoimentos-section-container {
    background-color: transparent !important;
    position: relative !important;
    display: block !important;
    padding: 10px 0 60px 0 !important;
    width: 100% !important;
}

.depoimentos-grid-container {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    height: auto !important;
    position: relative !important;
}

.depoimentos-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.depoimento-card {
    background-color: #ffffff !important;
    border-radius: 14px !important;
    padding: 24px 22px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.depoimento-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

.depoimento-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 14px !important;
}

.depoimento-stars {
    color: #f59e0b !important;
    font-size: 18px !important;
    letter-spacing: 2px !important;
    line-height: 1 !important;
}

.depoimento-google-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 11px !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

.depoimento-texto {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #334155 !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    user-select: text !important;
    -webkit-user-select: text !important;
    flex-grow: 1 !important;
    font-style: normal !important;
}

.depoimento-autor {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-top: auto !important;
    border-top: 1px solid #f1f5f9 !important;
    padding-top: 12px !important;
}

@media only screen and (max-width: 991px) {
    .depoimentos-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px !important;
    }
}

@media only screen and (max-width: 600px) {
    .depoimentos-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .depoimento-card {
        padding: 20px 18px !important;
    }
}

/* 5. Tag Stamina Digital Padronizada & Alinhamento Preciso */
#yHOWwWt5WCoRGCI1R5MRvrDObEvwAsZy {
    position: relative !important;
    padding-bottom: 60px !important;
    overflow: visible !important;
}

#yHOWwWt5WCoRGCI1R5MRvrDObEvwAsZy > .row .container {
    height: 44.5rem !important;
    position: relative !important;
}

@media only screen and (max-width: 1199px) {
    #yHOWwWt5WCoRGCI1R5MRvrDObEvwAsZy > .row .container {
        height: 44.5rem !important;
    }
}

@media only screen and (max-width: 763px) {
    #yHOWwWt5WCoRGCI1R5MRvrDObEvwAsZy {
        padding-bottom: 55px !important;
    }
    #yHOWwWt5WCoRGCI1R5MRvrDObEvwAsZy > .row .container {
        height: 36.5rem !important;
    }
}

.stamina-footer-container {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: flex-end !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 1000 !important;
    pointer-events: none !important;
}

.stamina-badge-link {
    pointer-events: auto !important;
    width: fit-content !important;
    max-width: 90% !important;
    background-color: #252525 !important;
    border-radius: 14px 14px 0 0 !important;
    border: none !important;
    padding: 10px 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: 0.03em !important;
    box-shadow: none !important;
    transition: background-color 0.3s ease, color 0.3s ease !important;
    cursor: pointer !important;
    line-height: 1 !important;
}

.stamina-badge-logo {
    height: 11px !important;
    width: 70px !important;
    max-height: 11px !important;
    max-width: 70px !important;
    min-height: 11px !important;
    min-width: 70px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    transform: translateY(-1px) !important;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.stamina-badge-link:hover {
    background-color: #2e2e2e !important;
    color: #ffffff !important;
}

.stamina-badge-link:hover .stamina-badge-logo {
    transform: translateY(-1px) scale(1.05) !important;
}
