/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
    --primary-color: #00bcd4;
    --primary-hover: #0097a7;
    --bg-color: #f8fafc;
    --bg-dark: #0f172a;
    --text-color: #1e293b;
    --text-light: #64748b;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #0e7490 100%);
    --gradient-accent: linear-gradient(135deg, #00bcd4, #1e88e5);
    --pain-red: #ef4444;
    --pain-amber: #f59e0b;
    --pain-blue: #3b82f6;
    --radius: 1rem;
    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* ============================================
   BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   REVEAL ANIMATION
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HEADER
   ============================================ */
.header {
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #f8fafc;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
    color: #f8fafc;
    user-select: none;
}

.logo span {
    color: var(--primary-color);
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav a {
    color: #cbd5e1;
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.25s;
}

.nav a:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #f8fafc;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    display: inline-block;
    font-size: 0.9rem;
}

.btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #fff;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 188, 212, 0.35);
    border-radius: 9999px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 188, 212, 0.45);
    background: var(--gradient-accent);
    color: #fff;
}

.btn-block {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: var(--text-color);
    text-align: center;
}

.section-title.left {
    text-align: left;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

/* ============================================
   BLOCO 1 — HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 72px;
    background: var(--gradient-hero);
    color: white;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0, 188, 212, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 136, 229, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 820px;
    text-align: center;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: heroFadeIn 0.9s ease both;
}

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

.hero-badge {
    display: inline-block;
    background: rgba(0, 188, 212, 0.15);
    border: 1px solid rgba(0, 188, 212, 0.35);
    color: #67e8f9;
    border-radius: 9999px;
    padding: 0.4rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 1.75rem;
}

.hero h1 {
    font-size: 3.6rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 2rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-footnote {
    display: block;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0;
}

/* ============================================
   BLOCO 2 — PROBLEMA
   ============================================ */
.problem-section {
    padding: 7rem 0;
    background: var(--bg-color);
    text-align: center;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-top: 3rem;
}

.pain-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 2rem;
    border-left: 4px solid transparent;
    box-shadow: var(--shadow-sm);
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
}

.pain-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pain-red  { border-left-color: var(--pain-red); }
.pain-amber{ border-left-color: var(--pain-amber); }
.pain-blue { border-left-color: var(--pain-blue); }

.pain-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.pain-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.pain-card p {
    color: var(--text-light);
    font-size: 0.97rem;
    line-height: 1.65;
}

/* ============================================
   BLOCO 3 — SOLUÇÃO
   ============================================ */
.solution-section {
    padding: 7rem 0;
    background: var(--bg-dark);
    color: #e2e8f0;
}

.solution-section .section-label {
    color: #67e8f9;
}

.solution-section .section-title {
    color: #f1f5f9;
}

.solution-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solution-desc {
    color: #94a3b8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.solution-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.solution-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #cbd5e1;
    font-size: 0.97rem;
    line-height: 1.6;
}

.solution-list strong {
    color: #f1f5f9;
}

.check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    background: rgba(0, 188, 212, 0.15);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Mock Dashboard */
.solution-card-mock {
    background: #1e293b;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.07);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.mock-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    background: #0f172a;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mock-dots {
    display: flex;
    gap: 6px;
}

.mock-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mock-dot.red    { background: #ef4444; }
.mock-dot.yellow { background: #f59e0b; }
.mock-dot.green  { background: #22c55e; }

.mock-title {
    font-size: 0.78rem;
    color: #64748b;
    margin-left: auto;
    margin-right: auto;
}

.mock-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mock-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 0.5rem;
    background: #1e293b;
}

.mock-stat.highlight {
    background: rgba(0, 188, 212, 0.08);
}

.mock-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #f1f5f9;
    line-height: 1;
}

.mock-stat.highlight .mock-stat-value {
    color: #67e8f9;
}

.mock-stat-label {
    font-size: 0.7rem;
    color: #64748b;
    margin-top: 0.3rem;
    text-align: center;
}

.mock-bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    padding: 1.25rem 1.5rem 0.5rem;
    height: 120px;
}

.mock-bar {
    flex: 1;
    background: rgba(0, 188, 212, 0.2);
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: background 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.mock-bar.active {
    background: rgba(0, 188, 212, 0.55);
}

.mock-bar span {
    font-size: 0.62rem;
    color: #64748b;
    padding: 4px 0 6px;
}

/* ============================================
   BLOCO 4 — COMO FUNCIONA
   ============================================ */
.how-section {
    padding: 7rem 0;
    background: var(--bg-color);
    text-align: center;
}

.steps-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 180px;
    max-width: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    position: relative;
}

.step-number {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 0.85rem;
    background: rgba(0, 188, 212, 0.08);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 188, 212, 0.2);
    transition: transform 0.3s, background 0.3s;
}

.step:hover .step-icon {
    transform: scale(1.08);
    background: rgba(0, 188, 212, 0.15);
}

.step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.step p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.step-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.4;
    align-self: center;
    padding: 0 0.25rem;
    margin-top: -1.5rem;
    flex-shrink: 0;
}

/* ============================================
   BLOCO 5 — PROVA (Trust Signals)
   ============================================ */
.trust-section {
    padding: 7rem 0;
    background: #f1f5f9;
    text-align: center;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.trust-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.trust-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 188, 212, 0.3);
}

.trust-badge-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.trust-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-color);
}

.trust-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* ============================================
   BLOCO 6 — OFERTA + CTA
   ============================================ */
.offer-section {
    padding: 7rem 0;
    background: var(--bg-dark);
    color: #e2e8f0;
    position: relative;
    overflow: hidden;
}

.offer-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 80%, rgba(0, 188, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 20%, rgba(30, 136, 229, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.offer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.offer-badge {
    display: inline-block;
    background: rgba(0, 188, 212, 0.15);
    border: 1px solid rgba(0, 188, 212, 0.35);
    color: #67e8f9;
    border-radius: 9999px;
    padding: 0.4rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 1.25rem;
}

.offer-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #f1f5f9;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.offer-header p {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.offer-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.offer-perks li {
    font-size: 0.97rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Contact Form (inside offer) */
.offer-form {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: var(--shadow-lg) !important;
}

.offer-form .form-group label {
    color: #94a3b8 !important;
}

.offer-form .form-group input,
.offer-form .form-group textarea {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #f1f5f9 !important;
}

.offer-form .form-group input::placeholder,
.offer-form .form-group textarea::placeholder {
    color: #475569;
}

.offer-form .form-group input:focus,
.offer-form .form-group textarea:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.15) !important;
}

/* ============================================
   CONTACT FORM (shared)
   ============================================ */
.contact-form-wrapper {
    background: var(--bg-color);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: 0.6rem;
    background-color: var(--card-bg);
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.97rem;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.12);
}

.form-message {
    padding: 0.85rem 1rem;
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    display: none;
}

.form-message:not(:empty) { display: block; }

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2rem 0;
    text-align: center;
    color: #475569;
    background: var(--bg-dark);
    font-size: 0.88rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .solution-inner,
    .offer-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .solution-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        padding: 1.5rem 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.07);
    }

    .nav.nav-open {
        display: flex;
    }

    .nav a {
        margin-left: 0;
    }

    .nav-toggle {
        display: block;
    }

    .steps-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: -0.5rem 0;
    }

    .step {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .pain-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }
}
