﻿/* ============================================
   VARIÁVEIS E RESET GLOBAL
   ============================================ */

:root {
    --primary: #4A9C17;
    --primary-dark: #4f46e5;
    --secondary: #6EC737;
    --secondary-dark: #7c3aed;
    --accent: #ec4899;
    --success: #10b981;
    
    --bg-light: #f8fafc;
    --bg-light-alt: #f1f5f9;
    --text-light: #0f172a;
    --text-light-secondary: #475569;
    --border-light: #e2e8f0;
    --card-light: #ffffff;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body.dark {
    --bg-light: #0f172a;
    --bg-light-alt: #1e293b;
    --text-light: #f1f5f9;
    --text-light-secondary: #cbd5e1;
    --border-light: #334155;
    --card-light: #1e293b;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-light);
    color: var(--text-light);
    line-height: 1.6;
    transition: var(--transition);
}

/* ============================================
   HEADER PREMIUM
   ============================================ */

.header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 24px 0;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-icon {
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: white;
    margin: 0;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(180deg, rgba(74, 156, 23, 0.05) 0%, rgba(110, 199, 55, 0.05) 100%);
    padding: 100px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    animation: slideInDown 0.8s ease-out;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(74, 156, 23, 0.1), rgba(110, 199, 55, 0.1));
    border: 1px solid rgba(74, 156, 23, 0.2);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.dark .hero-badge {
    background: linear-gradient(135deg, rgba(74, 156, 23, 0.15), rgba(110, 199, 55, 0.15));
    border-color: rgba(74, 156, 23, 0.3);
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 52px;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -1px;
}

body.dark .hero-title {
    color: #f1f5f9;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-light-secondary);
    margin-bottom: 24px;
    font-weight: 500;
}

body.dark .hero-subtitle {
    color: #cbd5e1;
}

.hero-description {
    font-size: 16px;
    color: var(--text-light-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

body.dark .hero-description {
    color: #cbd5e1;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero-cta-note {
    font-size: 13px;
    color: var(--text-light-secondary);
    margin: 0;
    font-weight: 500;
}

body.dark .hero-cta-note {
    color: #cbd5e1;
}

/* ============================================
   CONTAINER E SEÇÕES
   ============================================ */

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeIn 0.8s ease-out;
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

body.dark .section-header h2 {
    color: #f1f5f9;
}

.section-header p {
    font-size: 16px;
    color: var(--text-light-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

body.dark .section-header p {
    color: #cbd5e1;
}

/* ============================================
   SEÇÃO INTRODUÇÃO
   ============================================ */

.intro-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-light);
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.intro-card {
    background: var(--card-light);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out both;
}

.intro-card:nth-child(1) { animation-delay: 0.1s; }
.intro-card:nth-child(2) { animation-delay: 0.2s; }
.intro-card:nth-child(3) { animation-delay: 0.3s; }

body.dark .intro-card {
    background: #1e293b;
    border-color: #334155;
}

.intro-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.intro-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.intro-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 12px;
}

body.dark .intro-card h3 {
    color: #f1f5f9;
}

.intro-card p {
    font-size: 14px;
    color: var(--text-light-secondary);
    line-height: 1.6;
    margin: 0;
}

body.dark .intro-card p {
    color: #cbd5e1;
}

/* ============================================
   SEÇÃO DEMONSTRAÇÃO
   ============================================ */

.demo-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-light);
}

.cards-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.card {
    background: var(--card-light);
    border: 2px solid var(--border-light);
    border-radius: 20px;
    padding: 48px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out;
    display: flex;
    flex-direction: column;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card.card-demo::before {
    background: linear-gradient(90deg, #4A9C17, #6EC737);
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.card:hover::before {
    opacity: 1;
}

body.dark .card {
    background: #1e293b;
    border-color: #334155;
}

body.dark .card:hover {
    border-color: var(--primary);
    background: #1e293b;
}

.card-header {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 40px;
    transition: var(--transition);
    background: linear-gradient(135deg, rgba(74, 156, 23, 0.1), rgba(110, 199, 55, 0.1));
    color: var(--primary);
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.card-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
}

.card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
}

body.dark .card h3 {
    color: #f1f5f9;
}

.card-body {
    flex-grow: 1;
    margin-bottom: 24px;
}

.card-description {
    font-size: 16px;
    color: var(--text-light-secondary);
    margin-bottom: 28px;
    line-height: 1.8;
}

body.dark .card-description {
    color: #cbd5e1;
}

/* ============================================
   BLOCO INTERATIVO: MODOS (ESCALA / PLANEJAMENTO)
   ============================================ */

.mode-highlight {
    border-radius: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(74, 156, 23, 0.03), rgba(110, 199, 55, 0.03));
    border: 1px solid rgba(148, 163, 184, 0.4);
    margin-bottom: 32px;
    transition: var(--transition);
}

body.dark .mode-highlight {
    background: linear-gradient(135deg, rgba(74, 156, 23, 0.08), rgba(110, 199, 55, 0.08));
    border-color: #334155;
}

.mode-toggle {
    display: inline-flex;
    padding: 4px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.12);
    position: relative;
}

body.dark .mode-toggle {
    background: rgba(15, 23, 42, 0.6);
}

.mode-toggle-btn {
    border: none;
    background: transparent;
    color: var(--text-light-secondary);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
    min-width: 130px;
}

.mode-toggle-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}

.mode-panels {
    margin-top: 18px;
    text-align: left;
}

.mode-panel {
    display: none;
    animation: fadeIn 0.35s ease-out;
}

.mode-panel.active {
    display: block;
}

.mode-panel h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-light);
}

body.dark .mode-panel h4 {
    color: #f1f5f9;
}

.mode-panel ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.mode-panel ul li {
    font-size: 14px;
    color: var(--text-light-secondary);
    line-height: 1.7;
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
}

body.dark .mode-panel ul li {
    color: #cbd5e1;
}

.mode-panel ul li::before {
    content: '•';
    position: absolute;
    left: 4px;
    top: 0;
    color: var(--primary);
}

/* ============================================
   CARD FEATURES
   ============================================ */

.card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.card-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-light-secondary);
    line-height: 1.6;
}

body.dark .card-features li {
    color: #cbd5e1;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--success);
    color: white;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.card-divider {
    height: 1px;
    background: var(--border-light);
    margin: 32px 0;
}

body.dark .card-divider {
    background: #334155;
}

.card-cta {
    background: linear-gradient(135deg, rgba(74, 156, 23, 0.05), rgba(110, 199, 55, 0.05));
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

body.dark .card-cta {
    background: linear-gradient(135deg, rgba(74, 156, 23, 0.1), rgba(110, 199, 55, 0.1));
}

.card-cta p {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: var(--text-light-secondary);
}

body.dark .card-cta p {
    color: #cbd5e1;
}

.card-cta p strong {
    color: var(--text-light);
    font-weight: 600;
}

body.dark .card-cta p strong {
    color: #f1f5f9;
}

/* ============================================
   BOTÕES
   ============================================ */

.btn {
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
}

.btn.btn-lg {
    padding: 16px 40px;
    font-size: 16px;
    width: auto;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(74, 156, 23, 0.3);
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 156, 23, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: white;
    box-shadow: 0 4px 15px rgba(110, 199, 55, 0.3);
    width: 100%;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(110, 199, 55, 0.4);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* ============================================
   SEÇÃO DE RECURSOS
   ============================================ */

.features-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--card-light);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border-light);
    text-align: center;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out both;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

body.dark .feature-card {
    background: #1e293b;
    border-color: #334155;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(74, 156, 23, 0.1), rgba(110, 199, 55, 0.1));
    color: var(--primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: scale(1.1);
}

.feature-icon-box svg {
    width: 32px;
    height: 32px;
    stroke-width: 1.5;
}

.feature-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-light);
}

body.dark .feature-card h4 {
    color: #f1f5f9;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light-secondary);
    line-height: 1.6;
    margin: 0;
}

body.dark .feature-card p {
    color: #cbd5e1;
}

/* ============================================
   SEÇÃO CTA FINAL
   ============================================ */

.final-cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 20px;
    margin: 80px 0;
    text-align: center;
}

.final-cta-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 44px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.final-cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    line-height: 1.6;
}

.final-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.final-cta-buttons .btn {
    width: auto;
    min-width: 200px;
}

.final-cta-buttons .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.final-cta-buttons .btn-primary:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.final-cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: none;
}

.final-cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--bg-light-alt);
    padding: 60px 20px 40px;
    border-top: 1px solid var(--border-light);
}

body.dark .footer {
    background: #0f172a;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 12px;
}

body.dark .footer-section h4 {
    color: #f1f5f9;
}

.footer-section p {
    font-size: 14px;
    color: var(--text-light-secondary);
    line-height: 1.6;
    margin: 0;
}

body.dark .footer-section p {
    color: #cbd5e1;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    font-size: 14px;
    color: var(--text-light-secondary);
    text-decoration: none;
    transition: var(--transition);
}

body.dark .footer-section ul li a {
    color: #cbd5e1;
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
    text-align: center;
}

body.dark .footer-bottom {
    border-top-color: #334155;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-light-secondary);
    margin: 0;
}

body.dark .footer-bottom p {
    color: #cbd5e1;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero {
        padding: 60px 20px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .intro-section {
        padding: 60px 0;
    }

    .demo-section {
        padding: 60px 0;
    }

    .features-section {
        padding: 60px 0;
    }

    .card {
        padding: 30px;
    }

    .feature-card {
        padding: 24px;
    }

    .final-cta-section {
        margin: 60px 0;
        padding: 60px 20px;
    }

    .final-cta-content h2 {
        font-size: 32px;
    }

    .final-cta-buttons {
        flex-direction: column;
    }

    .final-cta-buttons .btn {
        width: 100%;
    }

    .mode-highlight {
        padding: 16px 18px;
    }

    .mode-toggle-btn {
        min-width: 0;
        padding: 8px 10px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 16px 0;
    }

    .logo-text {
        font-size: 20px;
    }

    .logo-subtitle {
        font-size: 10px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero {
        padding: 40px 20px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 6px 12px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .btn.btn-lg {
        padding: 14px 24px;
        font-size: 15px;
    }

    .card {
        padding: 24px;
    }

    .card-header {
        margin-bottom: 20px;
    }

    .card-icon {
        width: 64px;
        height: 64px;
    }

    .card h3 {
        font-size: 20px;
    }

    .card-features {
        gap: 12px;
    }

    .card-features li {
        font-size: 13px;
    }

    .final-cta-content h2 {
        font-size: 24px;
    }

    .final-cta-content p {
        font-size: 14px;
    }

    .footer-content {
        gap: 30px;
        margin-bottom: 30px;
    }
}

/* ============================================
   ANIMAÇÕES
   ============================================ */

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* @keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50 {
        opacity: 0.5;
    }
} */