/* ================= VÁRIAVEIS E RESET ================= */
:root {
    --blue-brand: #084bf1;
    --orange-brand: #ff5a00;
    --blue-dark: #0a1128;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-page: #ffffff;
    --bg-gray: #f8fafc;
    --border-color: #e2e8f0;
    --font-title: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-page);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-title); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================= BOTÕES ================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 8px;
    font-family: var(--font-body);
    text-align: center;
}

.btn-orange { background-color: var(--orange-brand); color: #fff; border: 2px solid var(--orange-brand); }
.btn-orange:hover { background-color: #e65200; border-color: #e65200; }

.btn-blue { background-color: var(--blue-brand); color: #fff; border: 2px solid var(--blue-brand); }
.btn-blue:hover { background-color: #0639b8; border-color: #0639b8; }

.btn-outline-blue { background-color: transparent; color: var(--blue-brand); border: 2px solid var(--blue-brand); }
.btn-outline-blue:hover { background-color: rgba(8, 75, 241, 0.05); }

.btn-outline-white { background-color: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline-white:hover { background-color: rgba(255, 255, 255, 0.1); }

.btn-white { background-color: #fff; color: var(--blue-dark); border: 2px solid #fff; }
.btn-white:hover { background-color: #f1f1f1; }

/* ================= HEADER ================= */
header {
    background-color: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

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

/* LOGO AUMENTADA NO TOPO */
.logo img { height: 60px; } 

.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--text-dark); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--blue-brand); }

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--blue-dark);
    cursor: pointer;
    background: none;
    border: none;
}

/* ================= HERO ================= */
.hero { padding: 40px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }

.hero-left h1 {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-left h1 .small-title {
    display: block;
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 8px;
}

.hero-left h1 .blue-text { color: var(--blue-brand); display: block; }
.hero-left h1 .orange-text { color: var(--orange-brand); display: block; }

.hero-left p {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-actions { display: flex; gap: 16px; margin-bottom: 40px; }

.hero-benefits {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue-dark);
    line-height: 1.2;
}
.benefit-item i { font-size: 1.8rem; color: var(--blue-brand); }

.hero-right { position: relative; margin-right: -40px; }

/* ================= PROBLEMA ================= */
.problem { text-align: center; padding: 60px 0; }
.problem h2 { font-size: 2.2rem; color: var(--blue-dark); margin-bottom: 4px; font-weight: 700;}
.problem p.subtitle { color: var(--text-light); margin-bottom: 40px; font-size: 1.1rem; }

.problem-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.p-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 32px 20px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.p-card i { font-size: 2.5rem; color: var(--orange-brand); margin-bottom: 16px; }
.p-card p { font-size: 0.85rem; font-weight: 500; color: var(--text-dark); line-height: 1.4;}

/* ================= DADO DE MERCADO ================= */
.market-data { text-align: center; padding: 20px 0 60px; }
.market-data h3 { font-size: 1.6rem; font-weight: 600; color: var(--blue-dark); line-height: 1.5; max-width: 800px; margin: 0 auto; }
.market-data h3 span.orange-highlight { color: var(--orange-brand); font-weight: 700;}

/* ================= FLUXO ================= */
.flow { padding: 60px 0 80px; background-color: var(--bg-gray); text-align: center; overflow: hidden;}
.flow h2 { font-size: 2.2rem; margin-bottom: 8px; color: var(--blue-dark); font-weight: 700;}
.flow p.subtitle { color: var(--text-light); margin-bottom: 60px; font-size: 1.1rem; }

.flow-container { max-width: 1000px; margin: 0 auto; position: relative; }
.flow-line {
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-brand) 0%, var(--blue-brand) 50%, var(--orange-brand) 100%);
    z-index: 1;
}

.flow-steps { display: flex; justify-content: space-between; position: relative; z-index: 2; }

.step { width: 18%; background: var(--bg-gray); }
.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--blue-brand);
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--blue-brand);
    position: relative;
}
.step-icon i { font-size: 2rem; }
.step-icon span { font-size: 0.75rem; font-weight: 700; margin-top: -2px; }

.step:nth-child(4) .step-icon, 
.step:nth-child(5) .step-icon { border-color: var(--orange-brand); color: var(--orange-brand); }

.step h4 { font-size: 1rem; margin-bottom: 8px; line-height: 1.3; font-weight: 600;}
.step p { font-size: 0.8rem; color: var(--text-light); line-height: 1.4;}

/* ================= CRM DARK ================= */
.crm-dark { padding: 60px 0 80px; }
.crm-box {
    background-color: var(--blue-dark);
    border-radius: 20px;
    padding: 50px;
    color: #fff;
    display: grid;
    grid-template-columns: 3fr 5fr 2.5fr;
    gap: 40px;
    align-items: center;
    box-shadow: 0 20px 40px rgba(10, 17, 40, 0.1);
}

.crm-col-1 .label { color: var(--orange-brand); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; margin-bottom: 16px; display: block; letter-spacing: 1px;}
.crm-col-1 h2 { color: #fff; font-size: 2rem; margin-bottom: 16px; line-height: 1.2; }
.crm-col-1 p { color: #e2e8f0; font-size: 0.9rem; margin-bottom: 24px; line-height: 1.5;}

.crm-col-1 ul li { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; margin-bottom: 12px; font-weight: 500; }
.crm-col-1 ul li i { color: var(--orange-brand); font-size: 1.2rem; min-width: 20px;}

.crm-col-2 img { width: 100%; border-radius: 8px; }

.crm-col-3 { display: flex; flex-direction: column; gap: 16px; }
.crm-col-3 .btn { width: 100%; padding: 14px 16px; font-size: 0.9rem;}

.crm-menu { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.crm-menu-item { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; font-weight: 500; color: #fff; }
.crm-menu-item i { font-size: 1.4rem; color: var(--orange-brand); }

/* ================= RESULTADOS ================= */
.results { padding: 40px 0; text-align: center; }
.results h2 { font-size: 2rem; margin-bottom: 40px; color: var(--blue-dark); font-weight: 700;}
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-bottom: 1px solid var(--border-color); padding-bottom: 60px;}

.r-card { display: flex; align-items: center; justify-content: center; gap: 16px; text-align: left; }
.r-card i { font-size: 3rem; color: var(--blue-brand); min-width: 48px; }
.r-card h3 { font-size: 2.2rem; color: var(--orange-brand); line-height: 1; margin-bottom: 4px; font-weight: 700;}
.r-card p { font-size: 0.85rem; color: var(--text-dark); font-weight: 500; line-height: 1.2; }

/* ================= SEGMENTOS ================= */
.segments { padding: 60px 0 80px; text-align: center; }
.segments h2 { font-size: 1.8rem; margin-bottom: 8px; color: var(--blue-dark); font-weight: 700;}
.segments p.subtitle { color: var(--text-light); margin-bottom: 40px; }

.segments-grid { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; }
.seg-item { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; width: 120px;}
.seg-item i { font-size: 2.5rem; color: var(--blue-dark); }
.seg-item span { font-size: 0.85rem; font-weight: 600; color: var(--text-dark); }
.seg-more { color: var(--orange-brand); font-weight: 600; font-size: 1rem; margin-left: 20px; }

/* ================= CTA FINAL ================= */
.cta-final { padding: 0 0 80px; }
.cta-box {
    background-color: var(--blue-dark);
    border-radius: 16px;
    padding: 48px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cta-box::after {
    content: '';
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(8, 75, 241, 0.4) 0%, rgba(10, 17, 40, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.cta-text { position: relative; z-index: 2; max-width: 60%;}
.cta-text h2 { color: #fff; font-size: 2.2rem; line-height: 1.3; margin-bottom: 12px; font-weight: 700;}
.cta-text p { color: #e2e8f0; font-size: 1rem; }

.cta-actions-wrap { display: flex; align-items: center; gap: 40px; position: relative; z-index: 2;}
.cta-buttons { display: flex; flex-direction: column; gap: 16px; width: 300px; }

.cta-graphic {
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.cta-graphic img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ================= FOOTER ================= */
footer { padding: 60px 0 24px; border-top: 1px solid var(--border-color); background: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 24px; margin-bottom: 40px; }

/* LOGO AUMENTADA NO RODAPÉ */
.f-logo img { height: 60px; margin-bottom: 16px; } 

.f-logo p { font-size: 0.8rem; color: var(--text-dark); margin-bottom: 16px; max-width: 250px; font-weight: 500;}
.f-logo .copy { font-size: 0.75rem; color: var(--text-light); font-weight: 400;}

.footer-col h4 { font-size: 0.95rem; margin-bottom: 16px; color: var(--text-dark); font-weight: 700;}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--text-dark); font-size: 0.85rem; font-weight: 500;}
.footer-col ul li a:hover { color: var(--blue-brand); }

.social-icons { display: flex; gap: 16px; margin-top: 16px; }
.social-icons a { font-size: 1.4rem; color: var(--blue-dark); cursor: pointer; transition: 0.2s;}
.social-icons a:hover { color: var(--blue-brand); }

.footer-bottom { display: flex; justify-content: flex-end; align-items: center; font-size: 0.8rem; color: var(--text-dark); font-weight: 500;}

/* ================= RESPONSIVO CORRIGIDO PARA MOBILE ================= */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-left h1 { font-size: 3.5rem; }
    .hero-left p { margin: 0 auto 32px; }
    .hero-actions, .hero-benefits { justify-content: center; }
    .hero-right { margin-right: 0; margin-top: 40px; }
    
    .problem-cards { grid-template-columns: repeat(3, 1fr); }
    .flow-line { display: none; }
    .flow-steps { flex-direction: column; gap: 32px; align-items: center; }
    .step { width: 100%; max-width: 320px; }
    
    .crm-box { grid-template-columns: 1fr; padding: 40px; text-align: center;}
    .crm-col-1 ul { text-align: left; display: inline-block; }
    .crm-menu { align-items: center; }
    
    .results-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .cta-box { flex-direction: column; text-align: center; gap: 32px; padding: 40px 32px;}
    .cta-text { max-width: 100%; }
    .cta-actions-wrap { flex-direction: column; gap: 32px;}
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px;}
}

@media (max-width: 768px) {
    /* Header */
    .nav-links, .header-content .btn-orange { display: none; }
    .menu-toggle { display: block; }
    .nav-active { 
        display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; 
        width: 100%; background: #fff; padding: 24px; box-shadow: 0 10px 15px rgba(0,0,0,0.05); gap: 16px; text-align: center;
    }
    .nav-active .btn-orange { display: inline-flex; margin-top: 16px; }

    /* Hero */
    .hero-left h1 { font-size: 2.5rem; letter-spacing: 0; }
    .hero-left h1 .small-title { font-size: 0.8rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    .hero-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
    
    /* Typography & Cards */
    .problem h2, .flow h2, .results h2, .segments h2 { font-size: 1.8rem; }
    .problem-cards { grid-template-columns: 1fr; }
    .market-data h3 { font-size: 1.2rem; }
    
    /* CRM */
    .crm-box { padding: 32px 20px; }
    .crm-col-1 h2 { font-size: 1.6rem; }
    
    /* Resultados - Ajuste de quebra de linha */
    .results-grid { grid-template-columns: 1fr 1fr; gap: 20px; border-bottom: none;}
    .r-card { flex-direction: column; text-align: center; gap: 8px; }
    .r-card i { font-size: 2.5rem; margin-bottom: 8px; }
    .r-card h3 { font-size: 1.8rem; }
    
    /* Segments */
    .segments-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; justify-items: center;}
    .seg-item { width: auto; }
    .seg-more { margin: 0; grid-column: span 2; text-align: center; }

    /* CTA Final */
    .cta-box { padding: 32px 20px; }
    .cta-text h2 { font-size: 1.6rem; }
    .cta-buttons { width: 100%; }
    .cta-buttons .btn { padding: 12px; font-size: 0.85rem; }
    
    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .f-logo p { margin: 0 auto 16px; }
    .social-icons { justify-content: center; }
    .footer-bottom { justify-content: center; text-align: center; }
}