/* ================= VARIAVEIS E RESET ================= */
:root {
    --primary-dark: #001220; /* Cor aproximada do fundo do logo */
    --secondary-dark: #031b30; /* Um tom ligeiramente mais claro para contraste */
    --gold: #f2a735; /* Tom dourado/amarelo do logo */
    --gold-hover: #f1dfa6;
    --text-light: #ffffff;
    --text-gray: #b3b3b3;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
}

h1, h2, h3, h4, .company-name, .btn {
    font-family: 'Poppins', sans-serif;
}

/* Utilitários */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-gold { color: var(--gold); }
.text-left { text-align: left; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* ================= BOTÕES ================= */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--primary-dark);
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-outline:hover {
    background-color: var(--gold);
    color: var(--primary-dark);
}

/* ================= HEADER ================= */
header {
    background-color: var(--primary-dark); /* Mesma cor do fundo do logo */
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

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

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px; /* Ajuste conforme necessário */
    margin-right: 15px;
}

.company-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

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

nav ul li a:hover {
    color: var(--gold);
}

/* Esconder menu em mobile (simplificado para este exemplo) */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .company-name { display: none; } /* Economizar espaço no mobile */
}

/* ================= HERO SECTION ================= */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px; /* Compensar o header fixo */
    background: linear-gradient(rgba(0,18,32,0.9), rgba(0,18,32,0.9)), url('https://www.transparenttextures.com/patterns/cubes.png'); /* Exemplo de textura de fundo sutil */
}

#hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

#hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ================= GRIDS GERAIS ================= */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.grid-2-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

/* ================= CARDS DE SERVIÇO ================= */
.service-card {
    background-color: var(--secondary-dark);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid #0d2942;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

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

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ================= GENESIS SECTION ================= */
.bg-darker {
    background-color: var(--secondary-dark);
}

.center-items {
    align-items: center;
}

.lead-text {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.genesis-list {
    list-style: none;
    margin-top: 20px;
}

.genesis-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.genesis-list li i {
    margin-right: 10px;
}

.placeholder-box {
    background-color: var(--primary-dark);
    height: 350px;
    border-radius: 10px;
    border: 2px dashed var(--gold);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-gray);
}

/* ================= DIFERENCIAIS ================= */
.diferencial-item {
    text-align: center;
}

.dif-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 15px;
    background-color: var(--secondary-dark);
    padding: 20px;
    border-radius: 50%;
}

.diferencial-item h4 {
    margin-bottom: 10px;
}

.diferencial-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ================= FOOTER ================= */
footer {
    background-color: #000a12; /* Um tom quase preto */
    padding: 50px 0 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #ffffff1a;
    padding-bottom: 30px;
}

.footer-logo h3 {
    color: var(--gold);
    font-size: 1.8rem;
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 0.8rem;
}

/* ================= RESPONSIVO (Básico) ================= */
@media (max-width: 768px) {
    #hero h1 { font-size: 2.5rem; }
    .hero-btns { flex-direction: column; }
    .grid-2-items { grid-template-columns: 1fr; }
    .genesis-image-placeholder { order: -1; margin-bottom: 30px; }
    .footer-content { flex-direction: column; gap: 20px; }
}
/* ... (MANTENHA TODO O SEU CSS ANTERIOR DE VARIAVEIS E RESET) ... */

/* ADIÇÃO: Classe para fundo alternado (já existia bg-darker, mas reforçando) */
.bg-darker {
    background-color: var(--secondary-dark); /* #031b30 */
    border-top: 1px solid #0d2942;
    border-bottom: 1px solid #0d2942;
}

/* ADIÇÃO: Ajustes para esconder o ícone mobile no Desktop */
.mobile-menu-icon {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

.desktop-only {
    display: inline-block;
}

/* ================= RESPONSIVO (Melhorado) ================= */
@media (max-width: 768px) {
    .header-content {
        padding: 0 20px;
    }
    
    .mobile-menu-icon {
        display: block; /* Mostra o ícone no mobile */
        z-index: 1002;
    }

    .desktop-only {
        display: none; /* Esconde botão de login desktop */
    }

    .nav-menu {
        position: fixed;
        right: -100%; /* Começa escondido */
        top: 0;
        height: 100vh;
        width: 70%;
        background-color: var(--primary-dark);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
        box-shadow: -2px 0 10px rgba(0,0,0,0.5);
        z-index: 1001;
    }

    .nav-menu.active {
        right: 0; /* Aparece ao clicar */
    }

    .nav-links {
        flex-direction: column;
        display: flex; /* Garante que mostre */
        text-align: center;
    }

    .nav-links li {
        margin: 20px 0;
    }
    
    .nav-links li a {
        font-size: 1.2rem;
    }

    /* Ajustes Gerais Mobile */
    #hero h1 { font-size: 2rem; }
    .hero-btns { flex-direction: column; width: 100%; }
    .hero-btns .btn { width: 100%; text-align: center; }
    
    .grid-2-items { grid-template-columns: 1fr; }
    .genesis-image-placeholder { order: -1; margin-bottom: 30px; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
}

/* ================= BOTÃO WHATSAPP ================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ================= FAQ ACCORDION ================= */
.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background-color: var(--secondary-dark);
    border: 1px solid #0d2942;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: var(--gold);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    padding: 20px;
    text-align: left;
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question i {
    color: var(--gold);
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 20px;
    color: var(--text-gray);
    font-size: 0.95rem;
    border-top: 1px solid transparent;
}

.faq-answer.open {
    padding: 15px 20px 20px;
    border-top: 1px solid #0d2942;
}

/* ================= FORMULÁRIO DE CONTATO ================= */
.contact-section {
    background: linear-gradient(135deg, var(--secondary-dark), var(--primary-dark));
    border-top: 1px solid #0d2942;
    border-bottom: 1px solid #0d2942;
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(3, 27, 48, 0.8);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #0d2942;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid #0d2942;
    background-color: var(--primary-dark);
    color: var(--text-light);
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 5px rgba(229, 201, 107, 0.5);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Ajustes adicionais nas subpáginas */
.hero-subpage {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    background: linear-gradient(rgba(0,18,32,0.85), rgba(0,18,32,0.85)), url('https://www.transparenttextures.com/patterns/cubes.png');
}

.hero-subpage h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-subpage p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto 30px;
}

.back-to-home {
    margin-bottom: 20px;
    display: inline-block;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.back-to-home:hover {
    color: var(--gold-hover);
}

.back-to-home i {
    margin-right: 8px;
}
