/* ==================== VARIÁVEIS E RESET ==================== */
:root {
    /* Cores */
    --primary: #25D366;          /* Verde WhatsApp */
    --primary-dark: #1a9d54;
    --secondary: #075E54;         /* Verde escuro */
    --accent: #FF6B6B;            /* Vermelho para destaque */
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --border-color: #e0e0e0;
    
    /* Fontes */
    --font-family: 'Inter', sans-serif;
    --font-size-base: 16px;
    --line-height: 1.6;
    
    /* Espaçamento */
    --spacing-unit: 8px;
    --container-width: 1200px;
    --container-padding: 20px;
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height);
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* ==================== CONTAINER ==================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

/* ==================== NAVBAR ==================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

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

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

.logo-icon {
    font-size: 24px;
}

.logo-text {
    display: none;
}

@media (min-width: 768px) {
    .logo-text {
        display: inline;
    }
}

/* ==================== BOTÕES ==================== */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-light);
    color: var(--primary);
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cta-button.primary-cta {
    background: var(--primary);
    color: white;
    font-size: 16px;
    padding: 14px 32px;
}

.cta-button.primary-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.cta-button.primary-cta.large {
    padding: 18px 40px;
    font-size: 18px;
}

.whatsapp-icon {
    font-size: 20px;
}

/* ==================== HERO SECTION ==================== */
.hero {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.05) 0%, rgba(7, 94, 84, 0.05) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-content h1 {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--text-dark);
}

@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 40px;
    }
}

.subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 32px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-number {
    font-size: 28px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-gray);
    text-align: center;
}

/* Hero Image com cartões flutuantes */
.hero-image {
    position: relative;
    height: 300px;
    display: none;
}

@media (min-width: 768px) {
    .hero-image {
        display: block;
    }
}

.floating-card {
    position: absolute;
    padding: 16px 24px;
    border-radius: 8px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: var(--shadow-md);
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 20px;
    left: 0;
    background: linear-gradient(135deg, #FF9500, #FF6B35);
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #FF0000, #FF6B6B);
    animation-delay: 1s;
}

.card-3 {
    bottom: 20px;
    left: 30%;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    animation-delay: 2s;
}

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

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

.features h2,
.how-it-works h2,
.community h2,
.final-cta h2 {
    font-size: 32px;
    margin-bottom: 48px;
    text-align: center;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    padding: 32px;
    border-radius: 12px;
    background: var(--bg-light);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
}

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

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: block;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

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

/* ==================== HOW IT WORKS ==================== */
.how-it-works {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.08) 0%, rgba(7, 94, 84, 0.08) 100%);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

@media (min-width: 768px) {
    .steps {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.step h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step p {
    color: var(--text-gray);
    font-size: 14px;
}

.arrow {
    font-size: 28px;
    color: var(--primary);
    display: none;
}

@media (min-width: 768px) {
    .arrow {
        display: block;
    }
}

/* ==================== COMMUNITY ==================== */
.community {
    padding: 80px 0;
    background: var(--bg-white);
}

.community-subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 18px;
    margin-bottom: 48px;
}

.community-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}

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

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 8px;
    font-weight: 500;
}

.benefit-icon {
    font-size: 20px;
    color: var(--primary);
}

/* ==================== FINAL CTA ==================== */
.final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-align: center;
}

.final-cta h2 {
    color: white;
    margin-bottom: 16px;
}

.final-cta > .container > p:first-of-type {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.final-cta .cta-button.primary-cta {
    background: white;
    color: var(--primary);
    margin-bottom: 24px;
}

.final-cta .cta-button.primary-cta:hover {
    background: var(--bg-light);
}

.note {
    font-size: 14px;
    opacity: 0.9;
}

/* ==================== FOOTER ==================== */
.footer {
    padding: 40px 0;
    background: var(--text-dark);
    color: white;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    margin: 8px 0;
    font-size: 14px;
}

.footer-note {
    opacity: 0.7;
}

/* ==================== RESPONSIVO ==================== */
@media (max-width: 768px) {
    .hero {
        padding: 40px 0;
    }

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

    .subtitle {
        font-size: 16px;
    }

    .features,
    .how-it-works,
    .community,
    .final-cta {
        padding: 60px 0;
    }

    .features h2,
    .how-it-works h2,
    .community h2,
    .final-cta h2 {
        font-size: 24px;
        margin-bottom: 32px;
    }

    .feature-card {
        padding: 24px;
    }

    .cta-button {
        padding: 10px 16px;
        font-size: 13px;
    }

    .cta-button.primary-cta {
        padding: 12px 24px;
        font-size: 14px;
    }

    .cta-button.primary-cta.large {
        padding: 14px 28px;
        font-size: 16px;
    }
}

/* ==================== ANIMAÇÕES ==================== */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.step {
    animation: slideUp 0.6s ease-out backwards;
}

.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; }

/* ==================== PRINT ==================== */
@media print {
    .navbar,
    .final-cta,
    .cta-button {
        display: none;
    }
}
