/* Definições de Cores e Fontes */
:root {
    --petrol-blue-dark: #023047;
    --petrol-blue-light: #03405c;
    --brand-yellow: #ffb703;
    --text-light: #edf2f4;
    --text-dark: #011627;
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Space Grotesk', sans-serif;
}

/* Reset Básico e Estilo do Body */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--petrol-blue-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Fundo de Partículas Animadas */
#particles-js {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 0;
    background-color: var(--petrol-blue-dark);
    background-image: linear-gradient(180deg, var(--petrol-blue-dark) 0%, #011627 100%);
}

/* Wrapper para todo o conteúdo, para ficar acima das partículas */
.content-wrapper {
    position: relative;
    z-index: 1;
}

/* Estilos do Cabeçalho e Navegação */
.main-header {
    padding: 0 5%;
    height: 80px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative;
}

.logo img {
    height: 65px;
    width: auto;
    display: block;
}

/* Estilos dos links de navegação para DESKTOP */
.nav-links {
    list-style: none;
    display: flex; /* Visível como flexbox no desktop */
    align-items: center;
    gap: 2rem;
}

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

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

.btn-contact {
    background-color: transparent;
    border: 1px solid var(--brand-yellow);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
}
.btn-contact:hover {
    background-color: var(--brand-yellow);
    color: var(--text-dark);
}

/* Esconde o menu hambúrguer no DESKTOP */
.hamburger-menu {
    display: none;
    cursor: pointer;
    z-index: 10;
}

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


/* ========= HERO SECTION ========= */
.hero-section {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 5%;
}

.hero-content {
    background: rgba(3, 64, 92, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 183, 3, 0.2);
    border-radius: 20px;
    padding: 3rem 4rem;
    max-width: 900px;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.hero-title span {
    color: var(--brand-yellow);
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    color: rgba(237, 242, 244, 0.8);
    line-height: 1.6;
}

.hero-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.hero-form input {
    width: 300px;
    padding: 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 1rem;
    font-family: var(--font-primary);
}
.hero-form input::placeholder { color: rgba(237, 242, 244, 0.5); }
.hero-form input:focus {
    outline: none;
    border-color: var(--brand-yellow);
}

.btn-main {
    background-color: var(--brand-yellow);
    color: var(--text-dark);
    font-weight: 700;
    font-family: var(--font-primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-main:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 183, 3, 0.5);
}

/* ========= SEÇÕES GERAIS ========= */
.section-title {
    font-family: var(--font-secondary);
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 4rem;
}

.section-title span {
    color: var(--brand-yellow);
}

.features-section, .gemini-power-section {
    padding: 6rem 5%;
    background-color: #011627;
}

/* ========= FEATURES SECTION ========= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--petrol-blue-light);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 183, 3, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 183, 3, 0.4);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--brand-yellow);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.feature-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    font-weight: 300;
    color: rgba(237, 242, 244, 0.8);
    line-height: 1.6;
}

/* ========= GEMINI POWER SECTION ========= */
.gemini-power-section {
    background-color: var(--petrol-blue-dark);
}
.gemini-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.gemini-logo {
    width: 100px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.1));
}
.gemini-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(237, 242, 244, 0.9);
}

/* ========= FOOTER ========= */
.main-footer {
    text-align: center;
    padding: 2rem 5%;
    background-color: #011627;
    font-weight: 300;
    color: rgba(237, 242, 244, 0.5);
}

/* ========= ÍCONE FLUTUANTE DO WHATSAPP ========= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}


/* ========= RESPONSIVIDADE E ESTILOS MOBILE ========= */
@media (max-width: 768px) {
    /* Mostra o menu hambúrguer e esconde os links normais */
    .hamburger-menu {
        display: block;
    }

    .nav-links {
        display: none; /* Esconde os links no modo mobile */
    }

    /* Animação do ícone do hambúrguer */
    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Estilo do menu dropdown que aparece */
    .nav-links.active {
        display: flex; /* Mostra o menu quando ativo */
        position: absolute;
        left: 0;
        top: 80px;
        background-color: var(--petrol-blue-dark);
        width: 100%;
        flex-direction: column;
        gap: 0;
        text-align: center;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        z-index: 5;
    }

    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 1.2rem 0;
    }

    /* Outros ajustes responsivos */
    .hero-title { font-size: 2.5rem; }
    .hero-form { flex-direction: column; }
    .hero-form input { width: 100%; }
    .hero-content { padding: 2rem; }
    .section-title { font-size: 2.2rem; }
}