/* Variáveis Viva Smart Itaquera */
:root {
    --primary: #E30613; /* Vermelho Viva Smart */
    --primary-hover: #B2050F;
    --secondary: #0054A6; /* Azul Viva Smart */
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --bg-light: #F4F7FA; /* Fundo levemente azulado */
    --success: #25D366;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --font-title: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-dark); line-height: 1.6; overflow-x: hidden; background-color: var(--white); }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
img { max-width: 100%; height: auto; }
.rounded { border-radius: 10px; }
.shadow { box-shadow: var(--shadow); }
.hidden { display: none !important; }
.mt-20 { margin-top: 20px; }

/* Imagens e Logos */
.logo-main-img { max-width: 220px; height: auto; }
.partner-img { height: 35px; width: auto; object-fit: contain; }
.main-hero-img { width: 100%; height: auto; object-fit: cover; border: 5px solid var(--white); }
.planta-img { width: 100%; height: auto; object-fit: contain; background: #fff; padding: 10px; }
.thumb { width: 100%; height: 100px; object-fit: cover; cursor: pointer; transition: 0.3s; }
.thumb:hover { transform: scale(1.05); }

/* Tipografia */
h1, h2, h3 { font-family: var(--font-title); font-weight: 700; line-height: 1.2; margin-bottom: 15px; }
h1 { font-size: 2.8rem; color: var(--text-dark); }
h2 { font-size: 2.2rem; text-align: center; margin-bottom: 40px; }
.section-title { position: relative; padding-bottom: 15px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 4px; background: var(--primary); border-radius: 2px; }

/* Botões */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-cta { background: var(--primary); color: var(--white); }
.btn-cta:hover { background: var(--primary-hover); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(227, 6, 19, 0.4); }

.btn-success { background: var(--success); color: var(--white); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-full { width: 100%; }
.btn-large { font-size: 1.1rem; padding: 20px 45px; }

/* Header & Hero */
.hero {
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), url('imagens/capa.jpg');
    background-size: cover;
    background-position: center;
    padding: 40px 0 100px;
}

.nav-main { display: flex; justify-content: space-between; align-items: center; margin-bottom: 60px; }
.logos-partnership { display: flex; gap: 20px; align-items: center; }

.hero-content { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: center; }
.badge-launch { background: var(--secondary); color: white; padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; margin-bottom: 15px; display: inline-block; }
.subheadline { font-size: 1.3rem; color: var(--text-light); margin-bottom: 30px; }

.urgency-box {
    background: #FFF5F5;
    border-left: 5px solid var(--primary);
    padding: 20px;
    margin-bottom: 35px;
    border-radius: 0 10px 10px 0;
}
.urgency-box p { font-weight: 700; color: var(--text-dark); font-size: 1.1rem; }
.timer-wrapper { font-size: 0.95rem; color: var(--text-light); margin-top: 8px; }

/* SEO Sales Text */
.seo-sales-text { padding: 60px 0; background: var(--white); }
.sales-box { padding: 40px; background: var(--bg-light); border: 1px solid #DDE4ED; line-height: 1.8; font-size: 1.15rem; color: var(--text-dark); text-align: justify; }

/* Quick Features */
.quick-features { padding: 40px 0; background: var(--white); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.feature-card { text-align: center; padding: 30px; border-radius: 15px; background: var(--white); border: 1px solid #EEE; transition: 0.3s; }
.feature-card:hover { border-color: var(--primary); transform: translateY(-5px); }
.feature-card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 15px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 5px; }
.feature-card p { font-size: 0.9rem; color: var(--text-light); }

/* Detalhes */
.details { padding: 100px 0; background: var(--bg-light); }
.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.thumb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 15px; }

.details-info ul { list-style: none; margin-bottom: 30px; }
.details-info li { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 12px; font-size: 1.1rem; }
.details-info li i { color: var(--secondary); margin-top: 5px; }

.lazer-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.tag { background: #E1E8F0; padding: 5px 15px; border-radius: 20px; font-size: 0.85rem; font-weight: 500; color: var(--secondary); }

/* Formulário */
.form-section { padding: 100px 0; background: var(--secondary); }
.form-container { max-width: 600px; margin: 0 auto; background: var(--white); padding: 50px; border-radius: 25px; }
.form-header { text-align: center; margin-bottom: 40px; }
.form-header h2 { color: var(--secondary); margin-bottom: 10px; }

.progress-bar { height: 10px; background: #EEE; border-radius: 10px; margin-top: 25px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--primary); width: 50%; transition: 0.5s; }

.form-step { display: none; }
.form-step.active { display: block; animation: fadeIn 0.5s; }

.input-group { margin-bottom: 25px; }
.input-group label { display: block; margin-bottom: 10px; font-weight: 500; color: var(--text-dark); }
.input-group input, .input-group select, .input-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #EEE;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}
.input-group input:focus, .input-group select:focus, .input-group textarea:focus { border-color: var(--primary); outline: none; }

.radio-flex { display: flex; gap: 30px; margin-top: 10px; }
.radio-flex label { font-weight: 400; display: flex; align-items: center; gap: 8px; cursor: pointer; }

.btn-flex { display: flex; gap: 15px; margin-top: 40px; }
.btn-flex .btn { flex: 1; }

.success-msg { text-align: center; padding: 40px 0; }
.success-msg i { font-size: 5rem; color: var(--success); margin-bottom: 25px; }

/* FAQ */
.faq-section { padding: 100px 0; background: var(--white); }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.faq-item { background: var(--bg-light); padding: 30px; border-radius: 20px; border: 1px solid #DDE4ED; }
.faq-item h3 { font-size: 1.2rem; color: var(--secondary); margin-bottom: 15px; text-align: left; }
.faq-item p { font-size: 1rem; color: var(--text-light); }

/* Footer */
footer { background: #002D5A; color: #99B3CC; padding: 100px 0 40px; text-align: center; }
.footer-logos { display: flex; flex-direction: column; align-items: center; gap: 40px; margin-bottom: 50px; }
.footer-logo-main-img { max-width: 180px; filter: brightness(0) invert(1); }
.footer-partners { display: flex; gap: 20px; }
.footer-partners .partner-img { filter: brightness(0) invert(1); height: 30px; }
footer p { margin-bottom: 12px; }
.footer-bottom { margin-top: 50px; padding-top: 30px; border-top: 1px solid #004080; font-size: 0.85rem; }

/* Pop-up de Saída */
.popup-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); display: flex; justify-content: center; align-items: center; z-index: 2000; backdrop-filter: blur(8px); }
.popup-content { background: var(--white); width: 90%; max-width: 480px; padding: 50px; border-radius: 30px; position: relative; text-align: center; animation: popupScale 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes popupScale { from { transform: scale(0.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.popup-close { position: absolute; top: 20px; right: 25px; font-size: 35px; background: none; border: none; color: #BBB; cursor: pointer; }
.popup-icon { font-size: 5rem; color: var(--primary); margin-bottom: 25px; }
.popup-body h3 { color: var(--text-dark); font-size: 1.5rem; margin-bottom: 15px; }
.popup-body p { margin-bottom: 30px; color: var(--text-light); font-size: 1.1rem; }
.popup-actions { display: flex; flex-direction: column; gap: 15px; }
.btn-link { background: none; border: none; color: #999; text-decoration: underline; font-size: 1rem; cursor: pointer; }

/* WhatsApp Flutuante */
.whatsapp-float { position: fixed; bottom: 40px; right: 40px; background: var(--success); color: white; width: 70px; height: 70px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 35px; box-shadow: 0 8px 20px rgba(0,0,0,0.3); z-index: 1000; transition: 0.3s; text-decoration: none; }
.whatsapp-float:hover { transform: scale(1.15) rotate(10deg); }

/* Animações */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.pulse { animation: pulse-animation 2s infinite; }
@keyframes pulse-animation { 0% { box-shadow: 0 0 0 0px rgba(227, 6, 19, 0.5); } 100% { box-shadow: 0 0 0 25px rgba(227, 6, 19, 0); } }

/* Responsividade */
@media (max-width: 992px) {
    .hero-content, .details-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 2.2rem; }
    .nav-main { flex-direction: column; gap: 30px; }
    .details-info li { justify-content: center; }
    .lazer-tags { justify-content: center; }
}

@media (max-width: 600px) {
    .form-container { padding: 30px; }
    .hero { padding-top: 20px; }
    .sales-box { padding: 25px; font-size: 1rem; }
    .whatsapp-float { width: 60px; height: 60px; bottom: 20px; right: 20px; font-size: 30px; }
}
