/* Resets e Variáveis Globais */
:root {
    --primary-color: #119EAA; /* Turquesa */
    --secondary-color: #424242; /* Cinza Escuro */
    --dark-bg: #1a1e29; /* Fundo seção dark */
    --bg-light: #F8F9FA;
    --text-color: #333333;
    --white: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text-color); line-height: 1.6; overflow-x: hidden; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.bg-light { background-color: var(--bg-light); }
.bg-primary { background-color: var(--primary-color); }
.bg-dark { background-color: var(--dark-bg); color: var(--white); }
.text-white { color: var(--white) !important; }
.center-text { text-align: center; }

/* Imagens Extras */
.logo { max-height: 75px; display: block; transition: 0.3s; }
.logo-link { text-decoration: none; z-index: 1001; position: relative;}
.partner-logo { max-height: 38px; margin-bottom: 20px; display: block; }
.zoho-logo { max-height: 58px; }

/* Botões */
.btn { padding: 10px 20px; border-radius: 6px; text-decoration: none; font-weight: 700; cursor: pointer; transition: 0.3s; border: none; text-align: center; font-size: 14px; display: inline-block;}
.btn-primary { background-color: var(--primary-color); color: var(--white); }
.btn-primary:hover { background-color: #0d838e; }
.btn-secondary { background-color: var(--secondary-color); color: var(--white); }
.btn-secondary:hover { background-color: #2b2b2b; }
.btn-outline { border: 2px solid var(--primary-color); color: var(--primary-color); background: transparent; }
.btn-outline:hover { background-color: var(--primary-color); color: var(--white); }
.btn-block { display: block; width: 100%; margin-top: 15px; }

/* Header Fixo */
.header { position: fixed; width: 100%; top: 0; background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.1); z-index: 1000; padding: 15px 0; }
.header-container { display: flex; justify-content: space-between; align-items: center; }

/* Menu Desktop */
.nav-menu { display: flex; align-items: center; }
.nav-menu a { margin: 0 12px; text-decoration: none; color: var(--secondary-color); font-weight: 600; transition: color 0.3s;}
.nav-menu a:hover { color: var(--primary-color); }

/* Menu Hamburguer Oculto no Desktop */
.menu-toggle { display: none; flex-direction: column; justify-content: space-between; width: 30px; height: 21px; background: transparent; border: none; cursor: pointer; z-index: 1001; padding: 0; }
.menu-toggle span { display: block; width: 100%; height: 3px; background-color: var(--secondary-color); border-radius: 3px; transition: all 0.3s ease; }

/* Seções Padrão */
section { padding: 100px 0; }
h1, h2 { color: var(--secondary-color); margin-bottom: 20px; }
.bg-dark h2 { color: var(--white); }
.section-desc { font-size: 1.15rem; max-width: 850px; margin: 0 auto 40px; color: #555; }
.bg-dark .section-desc { color: #d0d0d0; }

/* Hero Section */
.hero { padding-top: 160px; text-align: center; }
.hero .tag { display: inline-block; background: var(--bg-light); color: var(--primary-color); padding: 5px 15px; border-radius: 20px; font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-size: 3rem; line-height: 1.2; }
.hero p { font-size: 1.2rem; max-width: 750px; margin: 0 auto 30px; }
.hero-buttons { display: flex; gap: 15px; justify-content: center; }

/* Cards Grid */
.cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.card { background: var(--white); padding: 40px 30px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-top: 4px solid var(--primary-color); }
.card h3 { margin-bottom: 15px; }

/* Listas */
.bullet-list { text-align: left; max-width: 700px; margin: 0 auto; font-size: 1.1rem; color: #555; line-height: 1.8; }
.bullet-list li { margin-bottom: 10px; }

/* Form e Contato */
.form-container { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.contact-details p { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }

.form-wrapper { background: var(--white); padding: 40px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.06); border-top: 4px solid var(--primary-color); }
.contact-form { display: flex; flex-direction: column; gap: 15px; }
.contact-form input[type="text"], 
.contact-form input[type="email"], 
.contact-form input[type="tel"], 
.contact-form textarea { padding: 15px; border: 1px solid #ddd; border-radius: 4px; font-family: 'Inter', sans-serif; background: #fafafa; color: var(--text-color); font-size: 1rem; width: 100%;}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #999; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary-color); background: var(--white); }

/* LGPD Checkbox UI */
.lgpd-checkbox-group { display: flex; align-items: flex-start; gap: 10px; margin: 5px 0; color: #555; font-size: 0.9rem; }
.lgpd-checkbox-group input { margin-top: 4px; width: 16px; height: 16px; cursor: pointer; flex-shrink: 0; }

/* Captcha UI */
.captcha-container { border: 1px dashed #ccc; padding: 15px; border-radius: 6px; background: #fafafa; margin-bottom: 5px; }
.captcha-label { color: var(--secondary-color); font-weight: 700; font-size: 0.85rem; display: block; margin-bottom: 8px; text-transform: uppercase; }
.captcha-box { display: flex; align-items: stretch; height: 42px; border-radius: 4px; overflow: hidden; border: 1px solid #ddd; }
.captcha-question { background: var(--primary-color); color: var(--white); padding: 0 15px; font-weight: 700; font-size: 1rem; display: flex; align-items: center; justify-content: center; min-width: 120px; white-space: nowrap; }
.captcha-input { flex-grow: 1; border: none !important; background: var(--white) !important; color: var(--text-color) !important; font-size: 1rem; padding: 0 15px; text-align: center; font-weight: 600; min-width: 0;}
.captcha-input:focus { outline: none; background: #f0f8f9 !important; }

/* Success Message State */
.success-message { text-align: center; padding: 20px 10px; color: var(--text-color); }
.icon-success { width: 60px; height: 60px; background: #119EAA; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 20px; }
.success-message h3 { color: var(--secondary-color); margin-bottom: 10px; }
.success-message p { color: #666; margin-bottom: 30px; }

/* Footer */
.footer { background: #111; color: var(--white); text-align: center; padding: 20px 0; }
.footer a { color: var(--primary-color); text-decoration: none; margin-top: 10px; display: inline-block; }

/* WhatsApp Flutuante */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background-color: #25d366; border-radius: 50px; text-align: center; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); z-index: 999; display: flex; align-items: center; justify-content: center; transition: transform 0.3s; }
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float img { width: 35px; height: 35px; }

/* Animações (Scroll Reveal) */
.reveal, .reveal-left, .cascade-reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal-left { transform: translateX(-30px); }
.reveal.active, .reveal-left.active, .cascade-reveal.active { opacity: 1; transform: translateY(0); transform: translateX(0); }


/* ==========================================================================
   RESPONSIVIDADE (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 992px) {
    /* Navbar Hamburger Menu */
    .menu-toggle { display: flex; }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Escondido por padrão */
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.4s ease;
        z-index: 1000;
        padding-top: 60px;
    }
    
    .nav-menu.active {
        right: 0; /* Aparece deslizando da direita */
    }

    .nav-menu a {
        margin: 15px 0;
        font-size: 1.2rem;
    }
    
    .nav-menu .btn-mobile-support {
        margin-top: 20px;
        width: 80%;
    }

    /* Animação do ícone de menu quando aberto */
    .menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }
    
    /* Hero ajustado para telas menores */
    .hero { padding-top: 120px; padding-bottom: 60px; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.1rem; }
    .hero-buttons { flex-direction: column; width: 100%; gap: 10px;}
    .hero-buttons a { width: 100%; }

    /* Logo um pouco menor no mobile para caber o menu do lado */
    .logo { max-height: 55px; }

    /* Grids empilhados */
    .cards-grid, .form-container { grid-template-columns: 1fr; gap: 30px; }
    
    /* Formulário Padding Reduzido */
    .form-wrapper { padding: 25px; }

    /* Correção do WhatsApp para não ficar "escondido" no canto em telas minúsculas */
    .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; }
    .whatsapp-float img { width: 30px; height: 30px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    
    /* Captcha ajustado para telas minúsculas (iPhone SE etc) */
    .captcha-box { flex-direction: column; height: auto; border: none; }
    .captcha-question { width: 100%; border-radius: 4px 4px 0 0; padding: 10px; height: 42px;}
    .captcha-input { width: 100%; border: 1px solid #ddd !important; border-top: none !important; border-radius: 0 0 4px 4px; height: 42px;}
}
