/* ==================== RESET & BASE ==================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a1a2e;
    line-height: 1.6;
    background: #ffffff;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-dark { background: #0f172a; color: #fff; }
.section-light { background: #f8fafc; }

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
.section-title {
    text-align: center;
    margin-bottom: 12px;
    color: #0f172a;
}
.section-dark .section-title { color: #fff; }
.section-subtitle {
    text-align: center;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}
.section-dark .section-subtitle { color: #94a3b8; }

.highlight { color: #2563eb; }

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}
.btn-primary {
    background: #2563eb;
    color: #fff;
}
.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}
.btn-outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}
.btn-outline:hover {
    background: #2563eb;
    color: #fff;
    transform: translateY(-2px);
}
.btn-light {
    background: #fff;
    color: #2563eb;
}
.btn-light:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }

/* ==================== TOPBAR ==================== */
.topbar {
    background: #0f172a;
    color: #cbd5e1;
    font-size: 0.82rem;
    padding: 8px 0;
    display: none;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar-info { display: flex; gap: 24px; }
.topbar-info span { display: flex; align-items: center; gap: 6px; }
.topbar-info i { color: #2563eb; font-size: 0.75rem; }
.topbar-social { display: flex; gap: 12px; }
.topbar-social a {
    color: #cbd5e1;
    transition: color 0.3s;
    font-size: 0.85rem;
}
.topbar-social a:hover { color: #2563eb; }

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

/* ==================== HEADER ==================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.3rem;
    color: #0f172a;
}
.logo i { color: #2563eb; font-size: 1.6rem; }
.header .logo img { width: auto; height: auto; }
.footer .logo img { max-height: 72px; width: auto; }

.nav ul { display: flex; gap: 8px; }
.nav a {
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    color: #475569;
    transition: all 0.3s;
}
.nav a:hover, .nav a.active {
    color: #2563eb;
    background: #eff6ff;
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #0f172a;
    padding: 4px;
}
.nav-close { display: none; }

@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-close { display: block; position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 1.5rem; color: #fff; cursor: pointer; }
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #0f172a;
        padding: 60px 30px;
        transition: right 0.3s ease;
        z-index: 2000;
    }
    .nav.open { right: 0; }
    .nav ul { flex-direction: column; gap: 4px; }
    .nav a { color: #cbd5e1; font-size: 1rem; padding: 12px 16px; }
    .nav a:hover, .nav a.active { color: #fff; background: rgba(37, 99, 235, 0.2); }
}

/* ==================== HERO ==================== */
.hero {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: #60a5fa;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
}
.hero h1 { margin-bottom: 16px; }
.hero p {
    color: #94a3b8;
    font-size: 1.15rem;
    max-width: 500px;
    margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}
.hero-stat { text-align: center; }
.hero-stat .number {
    font-size: 2rem;
    font-weight: 800;
    color: #60a5fa;
}
.hero-stat .label { color: #94a3b8; font-size: 0.85rem; margin-top: 4px; }

@media (max-width: 900px) {
    .hero .container { grid-template-columns: 1fr; gap: 40px; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); }
}

/* ==================== PARTNERS / CLIENTES ==================== */
.partners {
    padding: 40px 0;
    background: #f8fafc;
    text-align: center;
}
.partners p { color: #94a3b8; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px; }
.partner-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.partner-grid span {
    font-size: 1.2rem;
    font-weight: 700;
    color: #94a3b8;
    opacity: 0.5;
    transition: opacity 0.3s;
}
.partner-grid span:hover { opacity: 0.8; }

/* ==================== SERVICES ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.service-card {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}
.service-card:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.1);
}
.service-card .icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 12px;
    font-size: 1.4rem;
    margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: #64748b; font-size: 0.92rem; }
.service-card .learn-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2563eb;
    font-weight: 600;
    font-size: 0.88rem;
    margin-top: 16px;
    transition: gap 0.3s;
}
.service-card .learn-more:hover { gap: 10px; }

/* ==================== ABOUT ==================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image {
    border-radius: 16px;
    height: 400px;
    overflow: hidden;
}
.about-image i { font-size: 6rem; color: #2563eb; opacity: 0.6; }
.about-content h2 { margin-bottom: 16px; }
.about-content p { color: #64748b; margin-bottom: 16px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0f172a;
    font-weight: 500;
    font-size: 0.9rem;
}
.about-feature i { color: #2563eb; }

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

/* ==================== NUMBERS ==================== */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
}
.number-item .number { font-size: 2.8rem; font-weight: 800; color: #60a5fa; }
.number-item .label { color: #94a3b8; margin-top: 4px; }

@media (max-width: 768px) { .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }

/* ==================== TESTIMONIALS ==================== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.testimonial-card {
    background: #fff;
    padding: 28px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}
.testimonial-card .stars { color: #f59e0b; margin-bottom: 12px; font-size: 0.9rem; }
.testimonial-card p { color: #475569; font-size: 0.92rem; font-style: italic; margin-bottom: 16px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author .avatar {
    width: 40px; height: 40px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}
.testimonial-author .name { font-weight: 600; font-size: 0.9rem; }
.testimonial-author .role { color: #94a3b8; font-size: 0.8rem; }

/* ==================== CTA ==================== */
.cta {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
}
.cta h2 { margin-bottom: 12px; }
.cta p { color: rgba(255, 255, 255, 0.8); max-width: 500px; margin: 0 auto 32px; }

/* ==================== FOOTER ==================== */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer .logo i { color: #60a5fa; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    transition: all 0.3s;
}
.footer-social a:hover { background: #2563eb; color: #fff; }
.footer h4 { color: #fff; margin-bottom: 16px; font-size: 1rem; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #94a3b8; font-size: 0.88rem; transition: color 0.3s; }
.footer-links a:hover { color: #60a5fa; }
.footer-contact p { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; margin-bottom: 10px; }
.footer-contact i { color: #60a5fa; width: 16px; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
    z-index: 999;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

/* ==================== PAGE HEADER ==================== */
.page-header {
    padding: 60px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    text-align: center;
}
.page-header h1 { margin-bottom: 8px; }
.page-header p { color: #94a3b8; font-size: 1.05rem; }
.breadcrumb { color: #64748b; font-size: 0.85rem; margin-top: 12px; }
.breadcrumb a { color: #60a5fa; }
.breadcrumb a:hover { text-decoration: underline; }

/* ==================== ABOUT PAGE ==================== */
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.mvv-card {
    text-align: center;
    padding: 32px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}
.mvv-card .icon {
    width: 64px; height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    border-radius: 50%;
    color: #2563eb;
    font-size: 1.5rem;
}
.mvv-card h3 { margin-bottom: 10px; }
.mvv-card p { color: #64748b; font-size: 0.92rem; }

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

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.team-card {
    text-align: center;
    padding: 28px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}
.team-card .avatar {
    width: 80px; height: 80px;
    margin: 0 auto 16px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
}
.team-card h4 { margin-bottom: 4px; }
.team-card span { color: #64748b; font-size: 0.85rem; }

/* ==================== SERVICES PAGE ==================== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.process-step {
    text-align: center;
    position: relative;
}
.process-step .step-num {
    width: 48px; height: 48px;
    margin: 0 auto 16px;
    background: #2563eb;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}
.process-step h4 { margin-bottom: 8px; }
.process-step p { color: #64748b; font-size: 0.88rem; }

/* ==================== PORTFOLIO ==================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}
.portfolio-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}
.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.1);
}
.portfolio-card .thumb {
    height: 200px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    display: flex;
    align-items: center;
    justify-content: center;
}
.portfolio-card .thumb i { font-size: 3rem; color: #2563eb; opacity: 0.5; }
.portfolio-card .info { padding: 24px; }
.portfolio-card .info h3 { margin-bottom: 8px; }
.portfolio-card .info p { color: #64748b; font-size: 0.9rem; margin-bottom: 12px; }
.portfolio-card .tag {
    display: inline-block;
    background: #eff6ff;
    color: #2563eb;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 500;
}

/* ==================== CONTACT PAGE ==================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.contact-info h3 { margin-bottom: 20px; }
.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}
.contact-info-item .icon {
    width: 48px; height: 48px;
    min-width: 48px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 1.1rem;
}
.contact-info-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-item p { color: #64748b; font-size: 0.88rem; }

.contact-form { background: #fff; padding: 32px; border-radius: 12px; border: 1px solid #e2e8f0; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: #0f172a;
}
.form-group label .required { color: #ef4444; }
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.92rem;
    transition: border-color 0.3s;
    background: #fff;
}
.form-control:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
textarea.form-control { resize: vertical; min-height: 120px; }

.form-alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}
.form-alert.success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.form-alert.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

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

/* ==================== ASSINATURA ==================== */
.sig-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.sig-form h3, .sig-preview h3 { margin-bottom: 20px; }
.sig-checkboxes {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}
.sig-checkboxes label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
}
.sig-checkboxes input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #2563eb;
    cursor: pointer;
}
.sig-preview-box {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px;
    min-height: 140px;
    display: flex;
    align-items: center;
    overflow-x: auto;
}
.sig-code-section h3 { margin-bottom: 8px; }
.sig-code {
    width: 100%;
    height: 200px;
    font-family: 'Courier New', monospace;
    font-size: 0.78rem;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    color: #0f172a;
    resize: vertical;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .sig-layout { grid-template-columns: 1fr; gap: 24px; }
}

/* ==================== ANIMATIONS ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
