/* === CSS OTIMIZADO PARA LANDING PAGES === */
/* === VARIÁVEIS GLOBAIS === */
:root {
    --primary: #FF6B6B;
    --primary-dark: #FF5252;
    --secondary: #D4A574;
    --text: #2c3e50;
    --white: #FFFFFF;
    --transition: 0.3s ease;
}

/* === RESET E BOX SIZING === */
*, *::before, *::after {
    box-sizing: border-box;
}

/* === RETORNA TAMANHOS ORIGINAIS === */
html {
	font-size: 100% !important;
}

/* === BASE TIPOGRÁFICA E CORES === */
body {
    font-size: inherit !important;
    line-height: 1.5 !important;
    color: var(--text) !important;
}

.page-id-121 header,   /* substitua 123 pelo ID da página */
.page-id-121 footer {
    display: none !important;
}

/* === RESTAURANDO TIPOGRAFIAS === */
.elementor-widget h1,
.elementor-text-editor h1 {
    font-weight: 800 !important;
}

.elementor-button,
.elementor-widget-button .elementor-button,
.elementor-widget-button .elementor-button span {
    font-weight: 700 !important;
}

.elementor-widget h2,
.elementor-text-editor h2,
.elementor-widget h3,
.elementor-text-editor h3,
.elementor-widget h4,
.elementor-text-editor h4,
.elementor-widget a,
.elementor-widget li {
    font-weight: 500 !important;
}

.elementor-widget h5,
.elementor-text-editor h5,
.elementor-widget h6,
.elementor-text-editor h6,
.elementor-widget p,
.elementor-text-editor p,
.elementor-widget span,
.elementor-widget div {
    font-weight: 400 !important;
}

/* === CUSTOMIZAÇÃO ESPECÍFICA === */
.headline,
.headline span,
.trust-item span {
    font-weight: 800 !important;
}

.section-title h3,
.section-title span,
.section-title p {
    font-weight: 700 !important;
}

.trust-item p {
    font-weight: 500 !important;
}

.benefit-card span {
    font-weight: 900 !important;
}

.benefit-card p {
    font-weight: 400 !important;
}

/* === CONTAINERS E LAYOUT === */
.elementor-section {
    position: relative;
    width: 100%;
    display: block; /* importante para evitar problemas de renderização */
}

.elementor-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* === HERO SECTION === */
.hero-section h1 {
    font-size: clamp(2rem, 5vw, 3.125rem) !important; /* Responsividade melhorada */
    line-height: 1.1 !important;
}

.hero-section, 
#elementor-element-2dd04a12 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #2c985c 0%, #a98e37 50%);
    animation: fadeInUp 1s ease forwards;
    position: relative;
    overflow: hidden;
}

/* === TRANSIÇÃO GLOBAL PARA WIDGETS E BOTÕES MAGNÉTICOS === */
.elementor-widget,
.elementor-widget-container,
.magnetic-button {
    transition: all 0.3s ease;
}

/* === MICROINTERAÇÕES (Hover) === */
.elementor-widget:hover:not(:has(.whatsapp-float)),
.elementor-widget-container:hover:not(:has(.whatsapp-float)) {
    transform: translateY(-2px);
}

/* WHATSAPP FLOAT BUTTON - PÉNAAREIA */
.whatsapp-float {
    position: fixed;
    bottom: 1.875rem;
    right: 1.875rem;
    z-index: 9999;
    animation: slideInUp 0.5s ease-out 1s both;
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(100px); }
    to { opacity: 1; transform: translateY(0); }
}

.whatsapp-float-button {
    width: 4.063rem;
    height: 4.063rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float-button:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #2EE56D 0%, #25D366 100%);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float-icon {
    width: 2rem;
    height: 2rem;
    fill: #FFFFFF;
    position: relative;
    z-index: 1;
}

.whatsapp-float-tooltip {
    position: absolute;
    right: 5.313rem;
    background: #FFFFFF;
    color: #2c3e50 !important;
    padding: 0.625rem 1.125rem;
    border-radius: 8px;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.whatsapp-float-tooltip::after {
    content: '';
    position: absolute;
    right: -0.375rem;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid #FFFFFF;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.whatsapp-float:hover .whatsapp-float-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-float-status {
    position: absolute;
    bottom: 0.125rem;
    right: 0.125rem;
    width: 1.125rem;
    height: 1.125rem;
    background: #4CAF50;
    border: 3px solid #FFFFFF;
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 1.25rem;
        right: 1.25rem;
    }
    
    .whatsapp-float-button {
        width: 3.438rem;
        height: 3.438rem;
    }
    
    .whatsapp-float-icon {
        width: 1.75rem;
        height: 1.75rem;
    }
    
    .whatsapp-float-tooltip {
        display: none;
    }
}

/* Versão com cores do tema (opcional) */
.whatsapp-float.theme-color .whatsapp-float-button {
    background: linear-gradient(135deg, #FF6B6B 0%, #D4A574 100%);
}

.whatsapp-float.theme-color .whatsapp-float-button:hover {
    background: linear-gradient(135deg, #FF5252 0%, #C49560 100%);
}

/* === ANIMAÇÃO: FADE IN UP === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.elementor-widget-icon-box {
    animation: fadeInUp 0.6s ease-out both;
}

.elementor-widget-icon-box:nth-child(1) { animation-delay: 0.1s; }
.elementor-widget-icon-box:nth-child(2) { animation-delay: 0.2s; }
.elementor-widget-icon-box:nth-child(3) { animation-delay: 0.3s; }
.elementor-widget-icon-box:nth-child(4) { animation-delay: 0.4s; }

/* === ANIMAÇÃO: FADE IN UP NO AVISO === */
.calc-revenue-frame #aviso {
    font-size: 0.85em !important;
    color: #666666 !important;
    margin-top: 0.5rem;
    font-weight: 500 !important;
    animation: fadeInUp 0.6s ease-out both;
}

/* === EFEITO MAGNÉTICO (sem animação pesada) === */
.magnetic-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* === CARDS GLASSMORPHISM === */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* === CARDS SIMPLIFICADOS === */
.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: box-shadow var(--transition);
}

.benefit-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* === TEXTO GRADIENTE === */
.gradient-text {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === BOTÃO CTA PRINCIPAL === */
.btn-cta {
    display: inline-block;
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.313rem 0.625rem;
    border-radius: 3.125rem;
    font-weight: 700 !important;
    font-family: inherit !important;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease; /* transições específicas */
}

.btn-cta:hover {
    background-color: var(--primary-dark); /* que é #FF5252 */
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
    transform: scale(1.05);
}

.btn-cta::before {
    display: none !important;
}

/* Botões com feedback visual leve */
.elementor-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

/* === FORMULÁRIOS OTIMIZADOS === */
.calc-revenue-frame,
.hs-form-frame {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    animation: fadeInUp 0.6s ease-out;
    width: 100%;
    box-sizing: border-box;
}

.calc-revenue-frame label,
.calc-revenue-frame input,
.calc-revenue-frame textarea,
.calc-revenue-frame select,
.hs-form label,
.hs-form input,
.hs-form textarea,
.hs-form select {
    font-family: inherit !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: #000 !important;
}

.calc-revenue-frame input,
.calc-revenue-frame textarea,
.calc-revenue-frame select,
.hs-form input,
.hs-form textarea,
.hs-form select {
    padding: 0.563rem 1rem;
    border: 1px solid #959494;
    border-radius: 3px;
    width: 100%;
    background-color: #f5f8fa;
    transition: border-color var(--transition);
    box-sizing: border-box;
}

.calc-revenue-frame,
.calc-revenue-frame label,
.calc-revenue-frame input,
.calc-revenue-frame textarea,
.calc-revenue-frame select,
.hs-form .hs-form-field {
    margin-bottom: 1.25rem;
}

.calc-revenue-frame input:focus,
.calc-revenue-frame textarea:focus,
.calc-revenue-frame select:focus,
.hs-form input:focus,
.hs-form textarea:focus,
.hs-form select:focus {
    border-color: #959494;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    outline: none;
}

.hs-form label {
    font-weight: 600 !important;
    margin-bottom: 0.3rem;
    display: block;
    color: #333 !important;
}

.hs-form .hs-button {
    background-color: var(--primary);
    color: var(--white) !important;
    font-weight: 700 !important;
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    width: 100%;
    transition: all var(--transition);
    cursor: pointer;
}

.hs-form .hs-button:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
    transform: scale(1.05);
}

/* === CALCULADORA === */
.calc-revenue {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.calc-revenue > div {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.calc-revenue .roi {
    background: linear-gradient(135deg, var(--text), #1E6793);
    color: var(--white) !important;
}

/* === LAZY LOAD VISUAL === */
.lazy-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.lazy-section.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* === TOOLTIP PERSONALIZADO === */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white !important;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem !important;
    white-space: nowrap;
    z-index: 1000;
    pointer-events: none;
}

/* === PRINT STYLES === */
@media print {
    .btn-cta,
    .calc-revenue-frame,
    #whatsapp-float {
        display: none !important;
    }

    .elementor-section {
        break-inside: avoid;
    }
}

/* === RESPONSIVO / MOBILE FIRST === */
@media (max-width: 768px) {
    .hero-section,
    #elementor-element-2dd04a12 {
        min-height: 80vh;
    }
    
    .elementor-container {
        padding: 0 1rem;
    }
    
    .benefit-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 600px) {
    .calc-revenue {
        grid-template-columns: 1fr;
    }

    label {
        font-size: 1em !important;
    }

    select, input {
        font-size: 1em !important;
    }
}

@media (max-width: 400px) {
    label {
        font-size: 0.9em !important;
    }

    select, input {
        font-size: 0.9em !important;
    }
}

/* === ACESSIBILIDADE === */
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* === PREFER REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
