:root {
    --primary: #2563eb;
    --secondary: #0f172a;
    --accent: #10b981;
    --text: #1e293b;
    --light: #f8fafc;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
    scroll-behavior: smooth;
}

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

/* Navbar */
.navbar {
    height: 80px;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.flex-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
}

.logo span { color: var(--primary); }

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

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

.btn-cta-nav {
    background: var(--accent);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 99px;
    transition: transform 0.3s !important;
}

.btn-cta-nav:hover { transform: scale(1.05); }

/* Hero */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    overflow: hidden; /* Prevent slider overflow */
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* Garante a centralização perfeita */
    filter: brightness(0.6) contrast(1.15) saturate(1.1) sepia(0.05); /* Toque de nitidez e calor */
    transform: scale(1);
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    image-rendering: auto;
}

/* Efeito Ken Burns Refinado */
.hero-slide.active img {
    animation: kenBurns 12s infinite alternate ease-in-out;
}

@keyframes kenBurns {
    from { transform: scale(1.0); }
    to { transform: scale(1.12); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Spotlight effect: clareia o centro da sua foto e escurece as bordas */
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.1) 0%, rgba(15, 23, 42, 0.5) 50%, rgba(15, 23, 42, 0.8) 100%),
                linear-gradient(to right, rgba(15, 23, 42, 0.7), transparent);
    z-index: 2;
}

.hero-content {
    position: relative;
    max-width: 750px;
    z-index: 3;
}

.badge {
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(37, 99, 235, 0.5);
    padding: 0.4rem 1rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 span { color: var(--primary); }

.hero p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
}

.btn-primary-large {
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: 1rem;
    display: inline-block;
}

.btn-secondary-large {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
}

/* Services */
.services {
    padding: 6rem 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 { font-size: 2.5rem; }
.section-title h2 span { color: var(--primary); }

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

.service-card {
    padding: 2.5rem;
    background: var(--light);
    border-radius: 1.5rem;
    transition: transform 0.3s;
}

.service-card:hover { transform: translateY(-10px); }

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Consult OS */
.consult-section {
    padding: 6rem 0;
    background: #f1f5f9;
}

.consult-card {
    background: white;
    border-radius: 2rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}

.consult-info { padding: 4rem; }

.search-group {
    display: flex;
    margin-top: 2rem;
    gap: 0.5rem;
}

.search-group input {
    flex-grow: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    outline: none;
}

.search-group input:focus { border-color: var(--primary); }

.search-group button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    cursor: pointer;
}

.os-result-box {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 1rem;
    background: #f8fafc;
    display: none;
}

.status-badge-web {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 99px;
    color: white;
    font-weight: 700;
    margin-top: 0.5rem;
}

.consult-image {
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
footer {
    background: var(--secondary);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h3 span { color: var(--primary); }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form-box {
    background: #f8fafc;
    padding: 3rem;
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group input, 
.input-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

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

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

.detail-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: #f1f5f9;
    border-radius: 1.25rem;
    transition: transform 0.3s;
}

.detail-card:hover {
    transform: translateX(10px);
}

.detail-icon {
    font-size: 2rem;
}

.detail-text h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.detail-text p {
    font-weight: 600;
    color: var(--secondary);
}

.contact-msg {
    margin-top: 1rem;
    font-weight: 600;
}

/* Footer Links & Adjustments */
.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float img { width: 35px; }

/* --- RESPONSIVIDADE (Mobile First Improvements) --- */

/* Hamburguer Menu (Hidden by default) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
    transition: 0.3s;
}

@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .nav-links { display: none; } /* We will use JS to toggle this */
    
    .menu-toggle { display: flex; }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        padding: 2rem;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        gap: 1.5rem;
        text-align: center;
        z-index: 999;
    }

    .hero-content { padding-top: 2rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    
    .hero { height: auto; padding: 120px 0 60px; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.1rem; }
    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .btn-primary-large, .btn-secondary-large {
        margin-right: 0;
        width: 100%;
        text-align: center;
    }

    .services-grid { grid-template-columns: 1fr; }
    
    .consult-card {
        grid-template-columns: 1fr;
    }
    .consult-image { display: none; }
    .consult-info { padding: 2rem; }
    
    .search-group { flex-direction: column; }
    .search-group button { padding: 1rem; }

    .contact-grid { grid-template-columns: 1fr; }
    .contact-form-box { padding: 1.5rem; }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .section-title h2 { font-size: 2rem; }

    .detail-card {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
    }
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h4 {
    font-size: 1.1rem;
    color: var(--secondary);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #f1f5f9;
}

.faq-answer p {
    padding: 1.5rem 2rem;
    color: #64748b;
    font-size: 1rem;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.support-cta {
    text-align: center;
    margin-top: 4rem;
}

.support-cta p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .faq-question { padding: 1.25rem 1.5rem; }
    .faq-question h4 { font-size: 1rem; }
}
