/* ============================================
   VARIÁVEIS E RESET
   ============================================ */
:root {
    --primary-dark: #001F3F;
    --primary-green: #00D97E;
    --secondary-blue: #0066CC;
    --text-dark: #1A1A1A;
    --text-light: #666666;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow-sm: 0 2px 8px rgba(0, 31, 63, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 31, 63, 0.12);
    --shadow-lg: 0 16px 48px rgba(0, 31, 63, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* ============================================
   CONTAINER E LAYOUT
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVEGAÇÃO
   ============================================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    color: var(--primary-dark);
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ============================================
   BOTÕES
   ============================================ */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-blue) 100%);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary-large {
    padding: 16px 40px;
    font-size: 16px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-blue) 100%);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
}

.btn-secondary:hover {
    background: var(--primary-dark);
    color: var(--bg-white);
}

.btn-cta {
    padding: 18px 48px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #FFFFFF 0%, #F5F5F5 100%) !important;
    color: var(--primary-dark) !important;
    box-shadow: 0 12px 32px rgba(0, 31, 63, 0.25), 0 0 0 2px var(--primary-green) !important;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    border: 2px solid var(--primary-green) !important;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 126, 0.15), transparent);
    transition: left 0.5s ease;
}

.btn-cta:hover {
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 16px 48px rgba(0, 31, 63, 0.35), 0 0 0 3px var(--primary-green) !important;
    background: linear-gradient(135deg, #F0FFF8 0%, #E8F9F0 100%) !important;
}

.btn-cta:hover::before {
    left: 100%;
}

.btn-cta:active {
    transform: translateY(-2px) scale(0.98) !important;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F0F8 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 217, 126, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 31, 63, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--primary-dark);
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 4px;
}

.hero-visual {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: var(--bg-white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

.floating-card .card-icon {
    font-size: 32px;
}

.floating-card .card-text {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: var(--text-dark);
}

.card-1 {
    top: 0;
    right: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    left: 0;
    animation-delay: 0.5s;
}

.card-3 {
    bottom: 0;
    right: 20%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: 80px 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

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

.feature-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

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

/* ============================================
   MODULES SECTION
   ============================================ */
.modules {
    padding: 80px 0;
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F0F8 100%);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.module-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.module-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-blue) 100%);
    color: var(--bg-white);
    padding: 24px;
}

.module-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.module-list {
    list-style: none;
    padding: 24px;
}

.module-list li {
    padding: 12px 0;
    color: var(--text-dark);
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.module-list li:last-child {
    border-bottom: none;
}

.module-list li::before {
    content: '✓';
    color: var(--primary-green);
    font-weight: 700;
    font-size: 16px;
}

/* ============================================
   AI BENEFITS SECTION
   ============================================ */
.ai-benefits {
    padding: 80px 0;
    background: var(--bg-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.benefit-item {
    position: relative;
    padding-left: 80px;
}

.benefit-number {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
}

.benefit-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.benefit-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-blue) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 217, 126, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: var(--bg-white);
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.cta .btn-primary-large {
    background: var(--primary-green);
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.cta .btn-primary-large:hover {
    background: #00C570;
    transform: translateY(-2px);
}

.cta-small {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-dark);
    color: var(--bg-white);
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-green);
}

.footer-section p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

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

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    color: var(--bg-white) !important;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
    margin-top: 8px;
}

.whatsapp-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    color: var(--bg-white) !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: var(--primary-green);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 768px) {
    .nav-links {
        gap: 16px;
        font-size: 12px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-visual {
        display: none;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .cta h2 {
        font-size: 28px;
    }

    .cta p {
        font-size: 16px;
    }
}

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

    .navbar-content {
        flex-direction: column;
        gap: 16px;
    }

    .nav-links {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-text h1 {
        font-size: 24px;
    }

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

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

    .section-header p {
        font-size: 14px;
    }

    .feature-card {
        padding: 24px 16px;
    }

    .module-card {
        padding: 0;
    }

    .cta {
        padding: 40px 0;
    }

    .cta h2 {
        font-size: 20px;
    }

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

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

    .btn-primary-large {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* ============================================
   ACESSIBILIDADE
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-white: #1A1A1A;
        --bg-light: #2A2A2A;
        --text-dark: #F0F0F0;
        --text-light: #B0B0B0;
        --border-color: #3A3A3A;
    }

    .navbar {
        background-color: rgba(26, 26, 26, 0.95);
        border-bottom-color: var(--border-color);
    }

    .hero {
        background: linear-gradient(135deg, #2A2A2A 0%, #1F3A4F 100%);
    }

    .modules {
        background: linear-gradient(135deg, #2A2A2A 0%, #1F3A4F 100%);
    }
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.3);
    z-index: 999;
    text-decoration: none;
    transition: var(--transition);
    animation: float 3s ease-in-out infinite, pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15) translateY(-8px);
    box-shadow: 0 16px 48px rgba(37, 211, 102, 0.7), 0 0 0 0 rgba(37, 211, 102, 0.2);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-icon {
    width: 36px;
    height: 36px;
    color: var(--bg-white);
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
}

@keyframes pulse {
    0% {
        box-shadow: 0 10px 32px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 10px 32px rgba(37, 211, 102, 0.5), 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 10px 32px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-icon {
        width: 26px;
        height: 26px;
    }
}

/* ============================================
   OTIMIZAÇÃO DE PERFORMANCE
   ============================================ */
@media (max-width: 1024px) {
    .hero-visual {
        height: 300px;
    }

    .floating-card {
        padding: 16px;
    }
}
