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

:root {
    --primary: #2563EB;
    --primary-dark: #1E40AF;
    --secondary: #06B6D4;
    --secondary-dark: #0891B2;
    --accent: #F59E0B;
    --text: #1F2937;
    --text-light: #6B7280;
    /* Compat vars (usadas em partes do CSS) */
    --white: #FFFFFF;
    --dark: #111827;
    --gray: #6B7280;
    --light-gray: #F9FAFB;
    --background: #FFFFFF;
    --background-alt: #F9FAFB;
    --border: #E5E7EB;
    --radius: 8px;
}

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

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 16px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}

.logo-text {
    color: var(--text);
}

.nav-desktop {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-desktop a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn-mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.btn-mobile-menu span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: 0.3s;
}

.nav-mobile {
    display: none;
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 999;
}

.nav-mobile.active {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-mobile a {
    padding: 0.75rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    border-radius: var(--radius);
    transition: background 0.3s;
}

.nav-mobile a:hover {
    background: var(--background-alt);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    background: var(--light-gray);
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* Floating WhatsApp CTA */
.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 999px;
    background: #25D366;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.22);
}
.whatsapp-float svg { color: #fff; }

/* Titles (compat) */
.section-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; color: var(--dark); }
.section-subtitle { font-size: 1.125rem; color: var(--gray); }

/* Hero Section */
.hero {
    margin-top: 73px;
    background: linear-gradient(135deg, #EFF6FF 0%, #F0F9FF 100%);
    padding: 80px 0 100px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: start;
}

.hero-content {
    padding-top: 20px;
}

.hero-badge {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 32px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    color: #1F2937;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 19px;
    color: #4B5563;
    margin-bottom: 48px;
    line-height: 1.65;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 500px;
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
    line-height: 1.2;
}

.stat-label {
    font-size: 15px;
    color: #6B7280;
    font-weight: 500;
    line-height: 1.4;
}

.hero-form-wrapper {
    position: sticky;
    top: 100px;
}

/* Hero Form */
.hero-form-card {
    background: white;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.05);
}

.form-title {
    font-size: 26px;
    font-weight: 800;
    color: #1F2937;
    margin-bottom: 12px;
    line-height: 1.3;
}

.form-subtitle {
    font-size: 15px;
    color: #6B7280;
    margin-bottom: 28px;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s;
    background: #F9FAFB;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.btn-whatsapp {
    width: 100%;
    background: #F59E0B;
    color: white;
    border: none;
    padding: 15px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.btn-whatsapp:hover {
    background: #D97706;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

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

.form-disclaimer {
    font-size: 12px;
    color: #9CA3AF;
    text-align: center;
    margin-top: 16px;
    line-height: 1.5;
}

/* Stats Section */
.stats {
    padding: 3rem 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray);
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 100px 0 120px;
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--dark);
    line-height: 1.2;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--gray);
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.service-card.featured {
    border: 2px solid var(--primary);
}

.badge-featured {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-card ul {
    list-style: none;
}

.service-card ul li {
    padding: 0.5rem 0;
    color: var(--gray);
    position: relative;
    padding-left: 1.5rem;
}

.service-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Resources Section */
.resources {
    padding: 100px 0 120px;
    background: white;
}

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

.resource-card {
    background: var(--background-alt);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-color: var(--primary);
}

.resource-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.resource-icon svg {
    stroke: white;
}

.resource-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.resource-description {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 100px 0 120px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.contact-title {
    color: var(--white);
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.contact-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 1rem;
}

.contact-feature svg {
    flex-shrink: 0;
    opacity: 0.9;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}

.method-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon svg {
    color: var(--primary);
}

.contact-method h4 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.contact-method p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form small {
    text-align: center;
    color: var(--gray);
    font-size: 0.875rem;
}

.alert {
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Footer */
.footer {
    background: #1F2937;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo .logo-text {
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links {
    display: contents;
}

.footer-column h4 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

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

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin: 4px 0;
}

.footer-domain {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-desktop {
        display: none;
    }

    .btn-mobile-menu {
        display: flex;
    }

    .hero {
        padding: 60px 0 80px;
    }

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

    .hero-content {
        padding-top: 0;
    }

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

    .hero-description {
        font-size: 17px;
        margin-bottom: 36px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .hero-form-wrapper {
        position: relative;
        top: 0;
    }

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

    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 50px 0 70px;
    }

    .hero-badge {
        font-size: 13px;
        padding: 8px 16px;
        margin-bottom: 24px;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

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

    .stat-label {
        font-size: 13px;
    }

    .hero-form-card {
        padding: 28px;
    }

    .form-title {
        font-size: 22px;
    }

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

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

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-card {
        padding: 24px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}
