/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Inter', system-ui, sans-serif; color: #1e293b; line-height: 1.6; background: #fff; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* === Skip Link (accessibility) === */
.skip-link { position: absolute; top: -100%; left: 16px; background: #2563EB; color: #fff; padding: 8px 16px; border-radius: 0 0 8px 8px; font-size: .88rem; font-weight: 600; z-index: 200; transition: top .2s; }
.skip-link:focus { top: 0; }

/* === Focus Visible (accessibility) === */
:focus-visible { outline: 2px solid #2563EB; outline-offset: 2px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #2563EB; outline-offset: 2px; }

/* === Utilities === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.gradient { background: linear-gradient(135deg, #2563EB, #7c3aed); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.highlight { color: #2563EB; }
.badge { display: inline-block; background: #eff6ff; color: #2563EB; font-size: .8rem; font-weight: 600; padding: 6px 16px; border-radius: 100px; margin-bottom: 16px; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-header h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.section-header p { color: #64748b; font-size: 1.1rem; }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; font-weight: 600; border-radius: 10px; border: 2px solid transparent; cursor: pointer; transition: all .2s; font-size: .95rem; text-decoration: none; }
.btn-sm { padding: 8px 20px; font-size: .85rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: #2563EB; color: #fff; border-color: #2563EB; }
.btn-primary:hover { background: #1d4ed8; border-color: #1d4ed8; }
.btn-outline { background: transparent; color: #2563EB; border-color: #cbd5e1; }
.btn-outline:hover { border-color: #2563EB; background: #eff6ff; }

/* === Header === */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid #e2e8f0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-text { font-size: 1.3rem; font-weight: 800; color: #0f172a; }
.nav-list { display: flex; align-items: center; gap: 32px; }
.nav-list a { font-size: .9rem; font-weight: 500; color: #475569; transition: color .2s; }
.nav-list a:hover { color: #2563EB; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; width: 32px; height: 24px; position: relative; }
.menu-toggle span { display: block; width: 100%; height: 2px; background: #334155; position: absolute; left: 0; transition: all .3s; }
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3) { bottom: 0; }

/* === Hero === */
.hero { padding: 140px 0 80px; background: linear-gradient(180deg, #f8fafc 0%, #fff 100%); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-content h1 { font-size: 3rem; font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.subtitle { font-size: 1.15rem; color: #64748b; margin-bottom: 32px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; }
.stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: #0f172a; }
.stat span { font-size: .8rem; color: #94a3b8; }

/* Dashboard Mock */
.dashboard-mock { background: #0f172a; border-radius: 16px; overflow: hidden; box-shadow: 0 25px 60px rgba(0,0,0,.15); }
.mock-header { display: flex; align-items: center; gap: 12px; padding: 14px 20px; background: #1e293b; font-size: .8rem; color: #94a3b8; }
.dots i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; }
.dots i:nth-child(1) { background: #ef4444; }
.dots i:nth-child(2) { background: #eab308; }
.dots i:nth-child(3) { background: #22c55e; }
.mock-body { padding: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mock-card { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 12px; }
.mock-card span { font-size: 1.4rem; }
.mock-card small { display: block; font-size: .7rem; color: #94a3b8; }
.mock-card strong { font-size: 1.3rem; color: #fff; }
.mock-card.green { background: rgba(34,197,94,.12); }
.mock-card.blue { background: rgba(37,99,235,.12); }
.mock-card.purple { background: rgba(124,58,237,.12); }
.mock-chart { grid-column: 1 / -1; display: flex; align-items: flex-end; gap: 12px; height: 100px; padding-top: 16px; }
.bar { flex: 1; background: #334155; border-radius: 6px 6px 0 0; transition: height .3s; }
.bar.active { background: #2563EB; }

/* === Features === */
.features { padding: 100px 0; background: #f8fafc; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 36px 28px; transition: transform .2s, box-shadow .2s; position: relative; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.06); }
.feature-card.featured { border-color: #2563EB; box-shadow: 0 0 0 1px #2563EB; }
.card-badge { position: absolute; top: -12px; left: 24px; background: #2563EB; color: #fff; font-size: .7rem; font-weight: 700; padding: 4px 14px; border-radius: 100px; }
.feature-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feature-icon.blue { background: #eff6ff; color: #2563EB; }
.feature-icon.green { background: #f0fdf4; color: #16a34a; }
.feature-icon.purple { background: #faf5ff; color: #7c3aed; }
.feature-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.feature-card > p { color: #64748b; font-size: .92rem; margin-bottom: 20px; }
.check-list li { position: relative; padding-left: 24px; font-size: .88rem; color: #475569; margin-bottom: 8px; }
.check-list li::before { content: "\2713"; position: absolute; left: 0; color: #22c55e; font-weight: 700; }
.check-list.light li { color: #cbd5e1; }
.check-list.light li::before { color: #22c55e; }

/* === Audience / Para Quem === */
.audience-section { padding: 100px 0; }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.audience-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 32px 24px; text-align: center; transition: transform .2s, box-shadow .2s; }
.audience-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.06); }
.audience-icon { width: 64px; height: 64px; border-radius: 16px; background: #eff6ff; color: #2563EB; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.audience-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.audience-card p { color: #64748b; font-size: .88rem; }

/* === How it Works === */
.how-it-works { padding: 100px 0; background: #f8fafc; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { text-align: center; }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: #2563EB; color: #fff; font-size: 1.3rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.step p { color: #64748b; font-size: .92rem; }

/* === Integrations === */
.integrations { padding: 100px 0; }
.integrations-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.integration-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 28px 20px; text-align: center; transition: transform .2s, box-shadow .2s; }
.integration-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.06); }
.integration-icon { width: 60px; height: 60px; border-radius: 14px; background: #f0fdf4; color: #16a34a; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.integration-card h4 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.integration-card p { color: #64748b; font-size: .8rem; }

/* === Testimonials === */
.testimonials { padding: 100px 0; background: #f8fafc; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 32px; }
.stars { color: #eab308; font-size: 1.1rem; margin-bottom: 16px; }
.testimonial-card p { color: #475569; font-size: .95rem; margin-bottom: 24px; font-style: italic; }
.author { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: #2563EB; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .8rem; }
.author strong { display: block; font-size: .9rem; }
.author span { font-size: .8rem; color: #94a3b8; }

/* === Pricing === */
.pricing { padding: 100px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pricing-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 36px 28px; text-align: center; position: relative; transition: transform .2s; }
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.popular { border-color: #2563EB; box-shadow: 0 0 0 1px #2563EB, 0 12px 40px rgba(37,99,235,.1); }
.pricing-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.pricing-desc { color: #94a3b8; font-size: .88rem; margin-bottom: 24px; }
.price { margin-bottom: 28px; }
.currency { font-size: 1.2rem; font-weight: 600; vertical-align: top; }
.amount { font-size: 3rem; font-weight: 800; }
.period { font-size: .9rem; color: #94a3b8; }
.pricing-card .check-list { text-align: left; margin-bottom: 28px; }
.pricing-card .btn { margin-top: auto; }

/* === FAQ === */
.faq { padding: 100px 0; background: #f8fafc; }
.faq-list { max-width: 768px; margin: 0 auto; }
.faq-item { border: 1px solid #e2e8f0; border-radius: 12px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-question { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 20px 24px; background: none; border: none; cursor: pointer; font-family: inherit; font-size: 1rem; font-weight: 600; color: #1e293b; text-align: left; transition: color .2s; }
.faq-question:hover { color: #2563EB; }
.faq-chevron { transition: transform .3s; flex-shrink: 0; margin-left: 16px; }
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.faq-answer p { padding: 0 24px 20px; color: #64748b; font-size: .95rem; line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 300px; }

/* === CTA === */
.cta { padding: 100px 0; background: linear-gradient(135deg, #1e3a8a, #7c3aed); text-align: center; color: #fff; }
.cta h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 16px; }
.cta p { font-size: 1.1rem; opacity: .85; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta .btn-primary { background: #fff; color: #2563EB; border-color: #fff; }
.cta .btn-primary:hover { background: #f1f5f9; }

/* === Footer === */
.footer { padding: 60px 0 0; background: #0f172a; color: #94a3b8; }
.footer-inner { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #1e293b; }
.footer-brand p { margin-top: 12px; font-size: .9rem; }
.footer-brand .logo-text { color: #fff; }
.footer-links h4 { color: #fff; font-size: .85rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .5px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: .88rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding: 24px 0; text-align: center; font-size: .82rem; }

/* === Cadastro === */
.cadastro-section { padding: 140px 0 80px; min-height: 100vh; background: linear-gradient(180deg, #f8fafc, #fff); }
.cadastro-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.cadastro-info h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 16px; }
.cadastro-info > p { color: #64748b; font-size: 1.05rem; margin-bottom: 32px; }
.cadastro-form-wrapper { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 40px; box-shadow: 0 8px 30px rgba(0,0,0,.05); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; color: #334155; margin-bottom: 6px; }
.form-control { width: 100%; padding: 12px 16px; border: 1px solid #cbd5e1; border-radius: 10px; font-size: .95rem; font-family: inherit; transition: border-color .2s; background: #fff; }
.form-control:focus { outline: none; border-color: #2563EB; box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field-error { display: block; color: #dc2626; font-size: .8rem; margin-top: 4px; }
.form-note { text-align: center; font-size: .8rem; color: #94a3b8; margin-top: 16px; }
.form-note a { color: #2563EB; }
.alert { padding: 16px 20px; border-radius: 10px; margin-bottom: 24px; font-size: .9rem; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-danger { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* === Checkbox / LGPD === */
.form-check { margin-bottom: 20px; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .88rem; color: #475569; line-height: 1.5; }
.checkbox-label input[type="checkbox"] { margin-top: 3px; width: 18px; height: 18px; accent-color: #2563EB; flex-shrink: 0; }
.checkbox-label a { color: #2563EB; text-decoration: underline; }

/* === Legal Pages === */
.legal-section { padding: 140px 0 80px; }
.legal-content { max-width: 800px; }
.legal-content h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 8px; }
.legal-date { color: #64748b; margin-bottom: 32px; font-size: .95rem; }
.legal-content h2 { font-size: 1.3rem; font-weight: 700; margin: 32px 0 12px; color: #0f172a; }
.legal-content h3 { font-size: 1.1rem; font-weight: 600; margin: 24px 0 8px; color: #0f172a; }
.legal-content p { color: #475569; line-height: 1.8; margin-bottom: 16px; }
.legal-content ul { margin: 12px 0 20px 20px; }
.legal-content ul li { list-style: disc; color: #475569; line-height: 1.8; margin-bottom: 6px; padding-left: 4px; }

/* === Page Hero (inner pages) === */
.page-hero { padding: 140px 0 60px; background: linear-gradient(180deg, #f8fafc 0%, #fff 100%); text-align: center; }
.page-hero h1 { font-size: 2.6rem; font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.page-hero-subtitle { font-size: 1.15rem; color: #64748b; max-width: 640px; margin: 0 auto; }

/* === Feature Detail (Funcionalidades page) === */
.feature-detail { padding: 80px 0; }
.feature-detail.alt { background: #f8fafc; }
.feature-detail-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-detail-inner.reverse { direction: rtl; }
.feature-detail-inner.reverse > * { direction: ltr; }
.feature-detail-content h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 16px; }
.feature-detail-content > p { color: #64748b; font-size: 1rem; margin-bottom: 24px; line-height: 1.7; }
.feature-detail-content .btn { margin-top: 16px; }
.feature-detail-mock { background: #0f172a; border-radius: 16px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,.12); }
.mock-content { padding: 8px 16px; }
.mock-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px; border-bottom: 1px solid #1e293b; font-size: .88rem; color: #cbd5e1; }
.mock-row:last-child { border-bottom: none; }
.mock-status { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: .72rem; font-weight: 600; }
.mock-status.green { background: rgba(34,197,94,.15); color: #4ade80; }
.mock-status.blue { background: rgba(37,99,235,.15); color: #60a5fa; }
.mock-status.purple { background: rgba(124,58,237,.15); color: #a78bfa; }
.mock-status.gray { background: rgba(148,163,184,.15); color: #94a3b8; }
.mock-label { font-size: .78rem; color: #64748b; font-weight: 500; }
.highlight-row { background: rgba(37,99,235,.08); border-radius: 8px; }

/* === About / Sobre page === */
.about-section { padding: 80px 0; }
.about-section.alt { background: #f8fafc; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.about-block { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 40px; }
.about-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.about-icon.blue { background: #eff6ff; color: #2563EB; }
.about-icon.green { background: #f0fdf4; color: #16a34a; }
.about-block h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; }
.about-block p { color: #64748b; font-size: 1rem; line-height: 1.7; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.value-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 32px 24px; text-align: center; transition: transform .2s; }
.value-card:hover { transform: translateY(-4px); }
.value-icon { width: 52px; height: 52px; border-radius: 12px; background: #eff6ff; color: #2563EB; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.value-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.value-card p { color: #64748b; font-size: .88rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 32px; text-align: center; }
.stat-card strong { display: block; font-size: 2.2rem; font-weight: 800; color: #2563EB; margin-bottom: 4px; }
.stat-card span { font-size: .9rem; color: #64748b; }

/* === Contact details === */
.contact-details { margin-top: 32px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-item strong { display: block; font-size: .9rem; color: #1e293b; }
.contact-item span { font-size: .88rem; color: #64748b; }

/* === Textarea === */
textarea.form-control { resize: vertical; min-height: 120px; }

/* === Cookie Banner === */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 150; background: #0f172a; color: #cbd5e1; transform: translateY(100%); transition: transform .4s ease; }
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-inner { max-width: 1200px; margin: 0 auto; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cookie-banner-inner p { font-size: .88rem; line-height: 1.5; flex: 1; }
.cookie-banner-inner a { color: #60a5fa; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* === Responsive === */
@media (max-width: 1024px) {
    .hero-inner, .features-grid, .steps, .testimonials-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
    .hero-content h1 { font-size: 2.4rem; }
    .mock-body { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .audience-grid { grid-template-columns: 1fr 1fr; }
    .integrations-grid { grid-template-columns: repeat(3, 1fr); }
    .feature-detail-inner, .feature-detail-inner.reverse { grid-template-columns: 1fr; direction: ltr; }
    .about-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav { display: none; position: fixed; top: 72px; left: 0; right: 0; background: #fff; padding: 24px; border-bottom: 1px solid #e2e8f0; box-shadow: 0 8px 24px rgba(0,0,0,.08); z-index: 99; }
    .nav.open { display: block; }
    .nav-list { flex-direction: column; gap: 16px; }
    .menu-toggle { display: block; }
    .hero-inner, .features-grid, .steps, .testimonials-grid, .pricing-grid, .cadastro-wrapper, .footer-inner { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2rem; }
    .hero-visual { order: -1; }
    .hero-stats { gap: 24px; }
    .mock-body { grid-template-columns: 1fr; }
    .cadastro-wrapper { gap: 40px; }
    .audience-grid { grid-template-columns: 1fr; }
    .integrations-grid { grid-template-columns: 1fr 1fr; }
    .faq-question { font-size: .95rem; padding: 16px 20px; }
    .page-hero h1 { font-size: 2rem; }
    .feature-detail-inner, .feature-detail-inner.reverse { grid-template-columns: 1fr; direction: ltr; gap: 32px; }
    .values-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .cookie-banner-inner { flex-direction: column; text-align: center; }
    .cookie-banner-actions { justify-content: center; }
}
