/* --- GERAL E VARIÁVEIS --- */
:root {
    --primary-color: #30b27f; /* Um ciano vibrante */
    --secondary-color: #ffc107; /* Um amarelo para destaque */
    --bg-dark: #12121f; /* Fundo escuro, quase preto */
    --bg-light-dark: #1a1a2e; /* Fundo para seções */
    --text-color: #e0e0e0; /* Texto principal claro */
    --text-muted: #a0a0a0; /* Texto secundário */
    --font-family: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

.section-padding {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 600;
    color: #fff;
}

/* --- CABEÇALHO E NAVEGAÇÃO --- */
.header {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 20px;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #fff;
}

.nav-link-button {
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.nav-link-button:hover {
    background-color: #189e26;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: all 0.3s ease-in-out;
}

/* --- SEÇÃO HERO --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    background: linear-gradient(rgba(18, 18, 31, 0.8), rgba(18, 18, 31, 0.9)), url('https://www.toptal.com/designers/subtlepatterns/uploads/double-bubble-outline.png');
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #189e26;
    transform: translateY(-3px);
}

/* --- SEÇÃO DE SERVIÇOS --- */
.services {
    background-color: var(--bg-light-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--bg-dark);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 188, 212, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

/* --- SEÇÃO SOBRE NÓS --- */
.about {
    background-color: var(--bg-dark);
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

/* --- SEÇÃO PROCESSO --- */
.process {
    background-color: var(--bg-light-dark);
}

.process-timeline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.process-step {
    flex-basis: 200px;
    flex-grow: 1;
    text-align: center;
}

.process-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
}

/* --- SEÇÃO CONTATO --- */
.contact {
    text-align: center;
}

.contact-subtitle {
    margin-bottom: 40px;
    color: var(--text-muted);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: var(--bg-light-dark);
    color: var(--text-color);
    font-family: var(--font-family);
    font-size: 1rem;
}

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

/* --- RODAPÉ --- */
.footer {
    background-color: var(--bg-light-dark);
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #fff;
}

/* --- ANIMAÇÕES DE SCROLL --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- ESTILOS PARA PÁGINAS LEGAIS (TERMOS, PRIVACIDADE) --- */
.legal-page-container {
    max-width: 800px;
    margin: 120px auto 80px auto; /* 120px no topo para compensar o header fixo */
    padding: 40px;
    background-color: var(--bg-light-dark);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-page-container h1 {
    color: #fff;
    margin-bottom: 10px;
}

.legal-page-container h2 {
    color: #fff;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 5px;
}

.legal-page-container p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.legal-page-container .last-updated {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-style: italic;
}

/* --- ESTILOS PARA LINKS LEGAIS NO RODAPÉ --- */
.footer-legal-links {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
}

.footer-legal-links a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

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

/* --- RESPONSIVIDADE (Mobile-First) --- */
@media(max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-light-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 16px 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}