/* ========== RESET E VARIÁVEIS ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FF6B35;
    --secondary: #FFC107;
    --accent: #E63946;
    --dark: #1A1A1A;
    --dark-teal: #1A535C;
    --light: #F8F9FA;
    --white: #FFFFFF;
    --gray: #6C757D;
    --gradient-warm: linear-gradient(135deg, #FFC107 0%, #FF6B35 50%, #E63946 100%);
    --gradient-cool: linear-gradient(135deg, #1A535C 0%, #2A9D8F 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

/* ========== HEADER E NAVEGAÇÃO ========== */
.header {
    background: var(--white); /* FUNDO CLARO para logo-light.png */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    gap: 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    height: 20px; /* Logo reduzida de 50px para 40px */
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-warm);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* ========== BOTÕES DO HEADER ========== */
.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
}

.header-btn {
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.btn-trial {
    background: var(--gradient-warm);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

.btn-trial:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.btn-knowledge {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--primary);
}

.btn-knowledge:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-login {
    background: var(--dark-teal);
    color: var(--white);
}

.btn-login:hover {
    background: #2A9D8F;
    transform: translateY(-2px);
}

/* Menu Mobile */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ========== HERO SECTION ========== */
.hero {
    background: var(--gradient-warm); /* FUNDO ESCURO/GRADIENTE para logo-dark.png */
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-logo {
    width: 180px; /* Logo reduzida de 280px para 180px */
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
    animation: fadeInDown 1s ease;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero p {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

/* ========== SEÇÕES GERAIS ========== */
section {
    padding: 5rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== BENEFÍCIOS ========== */
.benefits {
    background: var(--light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.benefit-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-warm);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.benefit-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* ========== PRODUTOS/MÓDULOS ========== */
.products {
    background: var(--white);
    padding: 5rem 2rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.product-card {
    background: var(--white);
    border: 2px solid #E8E8E8;
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-warm);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, #FFF9F0 0%, #FFFFFF 100%);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-warm);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.product-card > p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
    padding: 0;
}

.product-features li {
    color: var(--dark);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    padding-left: 0;
}

.product-features li::before {
    content: none;
}

.product-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.product-link:hover {
    gap: 1rem;
    color: var(--accent);
}

.products-cta {
    text-align: center;
    background: var(--gradient-cool);
    padding: 3rem 2rem;
    border-radius: 20px;
    color: var(--white);
}

.products-cta h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.products-cta .btn {
    background: var(--white);
    color: var(--dark-teal);
}

.products-cta .btn:hover {
    background: var(--secondary);
    color: var(--dark);
}

/* ========== RECURSOS ========== */
.features {
    background: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item {
    padding: 2rem;
    border-radius: 12px;
    background: var(--white);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.feature-item:hover {
    background: var(--white);
    border-left-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateX(5px);
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-item h4::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    font-size: 1.4rem;
}

.feature-item p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ========== FORMULÁRIO DE CONTATO ========== */
.contact {
    background: var(--light);
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark);
    font-size: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    background: var(--gradient-warm);
    color: var(--white);
    padding: 1.2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.privacy-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--gray);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark); /* FUNDO ESCURO para logo-light.png */
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-logo {
    height: 20px; /* Logo reduzida de 60px para 50px */
    width: auto;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.5);
}

/* ========== ANIMAÇÕES ========== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== RESPONSIVIDADE ========== */
@media (max-width: 1024px) {
    .nav-container {
        flex-wrap: wrap;
    }
    
    .nav-menu {
        order: 3;
        width: 100%;
        justify-content: center;
        padding-top: 1rem;
    }
    
    .header-actions {
        gap: 0.75rem;
    }
    
    .header-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        order: 4;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }
    
    .header-actions {
        order: 3;
        gap: 0.5rem;
    }
    
    .header-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .btn-knowledge span,
    .btn-trial span,
    .btn-login span {
        display: none;
    }
    
    .hero {
        min-height: 100vh;
        padding: 3rem 1.5rem;
    }
    
    .hero-logo {
        width: 150px; /* Logo mobile reduzida */
    }
    
    .cta-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    section {
        padding: 3rem 1.5rem;
    }
    
    .contact-container {
        padding: 2rem 1.5rem;
    }
    
    .benefits-grid,
    .products-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .products-cta h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 32px; /* Logo header mobile reduzida */
    }
    
    .header-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-logo {
        width: 130px; /* Logo hero mobile pequena reduzida */
    }
}