/* ============================================================
   CRM Vitrine do Zap - Site Institucional
   ============================================================ */

:root {
    --primary: #25D366;
    --primary-dark: #128C7E;
    --secondary: #075E54;
    --dark: #0a1628;
    --dark-light: #111d33;
    --accent: #34B7F1;
    --gradient: linear-gradient(135deg, #25D366 0%, #128C7E 50%, #075E54 100%);
    --gradient-dark: linear-gradient(135deg, #0a1628 0%, #111d33 100%);
}

* { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* Navbar */
#mainNav {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
}
#mainNav.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.navbar-brand { font-size: 1.4rem; }
.navbar-brand i { color: var(--primary); }

/* Hero Section */
.hero-section {
    background: var(--gradient-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37,211,102,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(52,183,241,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
}
.hero-title span { color: var(--primary); }
.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}
.hero-badge {
    display: inline-block;
    background: rgba(37,211,102,0.15);
    color: var(--primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(37,211,102,0.3);
    margin-bottom: 1.5rem;
}
.btn-cta {
    background: var(--primary);
    color: #fff;
    padding: 0.85rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
    font-size: 1rem;
}
.btn-cta:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37,211,102,0.3);
}
.btn-cta-outline {
    background: transparent;
    color: #fff;
    padding: 0.85rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s;
}
.btn-cta-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Stats */
.stats-bar {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 3rem;
}
.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}
.stat-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

/* Sections */
.section { padding: 6rem 0; }
.section-dark { background: var(--dark); color: #fff; }
.section-gray { background: #f8f9fa; }
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* Dores / Problemas */
.pain-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
    height: 100%;
}
.pain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.pain-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}
.pain-icon.red { background: rgba(220,53,69,0.1); color: #dc3545; }

/* Solução */
.solution-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
    height: 100%;
}
.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37,211,102,0.15);
    border-color: var(--primary);
}
.solution-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    background: rgba(37,211,102,0.1);
    color: var(--primary);
}

/* Features */
.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: var(--primary);
}
.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    background: var(--gradient);
    color: #fff;
    margin-bottom: 1rem;
}

/* Como Funciona */
.step-card {
    text-align: center;
    position: relative;
}
.step-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
}
.step-card h5 { font-weight: 700; }

/* Comparativo */
.compare-table {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}
.compare-table th {
    background: var(--dark);
    color: #fff;
    padding: 1.2rem;
    font-weight: 600;
}
.compare-table td {
    padding: 1rem 1.2rem;
    vertical-align: middle;
}
.compare-table .text-danger { font-weight: 600; }
.compare-table .text-success { font-weight: 600; }

/* Planos */
.pricing-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    border: 2px solid #e9ecef;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}
.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}
.pricing-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary);
    color: #fff;
    padding: 0.3rem 2.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
    text-transform: uppercase;
}
.pricing-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
}
.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
}
.pricing-price small {
    font-size: 1rem;
    font-weight: 400;
    color: #6c757d;
}
.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}
.pricing-features li:last-child { border-bottom: none; }

/* Depoimentos */
.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e9ecef;
    height: 100%;
}
.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}
.testimonial-stars { color: #ffc107; }

/* FAQ */
.faq-section .accordion-button {
    font-weight: 600;
    color: var(--dark);
    font-size: 1.05rem;
}
.faq-section .accordion-button:not(.collapsed) {
    background: rgba(37,211,102,0.05);
    color: var(--primary-dark);
}
.faq-section .accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 12px !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

/* CTA Final */
.cta-section {
    background: var(--gradient);
    padding: 5rem 0;
    text-align: center;
}
.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
}
.cta-section p { color: rgba(255,255,255,0.85); }

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .section-title { font-size: 1.8rem; }
    .pricing-card.featured { transform: scale(1); }
    .pricing-card.featured:hover { transform: translateY(-5px); }
    .stats-bar .col { margin-bottom: 1rem; }
}
