/* --- ESTILO GLOBAL COMPLETO E ATUALIZADO --- */

/* --- ANIMAÇÕES E RESET BÁSICO --- */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #011126;
    color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER (CABEÇALHO) --- */
.header-wrapper {
    background-color: transparent;
    position: absolute;
    width: 100%;
    z-index: 10;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

header .logo {
    margin-top: 12px; 
}

header .logo img {
    height: 150px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5)); 
}

/* Menu de Navegação para Desktop */
header nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
}

header nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

header nav ul li a:hover {
    color: #C4A35A;
}

.header-contact-button {
    background-color: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.header-contact-button:hover {
    background-image: linear-gradient(45deg, #d4ae5f, #b89543);
    color: #011126;
    border-color: transparent;
}

/* --- SEÇÃO HERO --- */
.hero-section {
    background-image: linear-gradient(rgba(1, 17, 38, 0.815), rgba(1, 17, 38, 0.822)), url('../img/FUNDO_INICIO.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding-top: 200px;
    position: relative;
    z-index: 1;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0 80px 0;
    min-height: 70vh;
}

.hero-text {
    max-width: 50%;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    max-width: 90%;
}

.cta-button {
    color: #011126;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    background-image: linear-gradient(45deg, #d4ae5f, #C4A35A);
    box-shadow: 0 4px 15px rgba(196, 163, 90, 0.3);
    transition: transform 0.3s ease;
}
.cta-button img {
    filter: brightness(0);
}
.cta-button:hover {
    transform: scale(1.05);
}

/* --- FOOTER (RODAPÉ) --- */
.site-footer {
    background-color: #011126;
    padding: 20px 0;
}

.footer-copyright {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}


/* --- RESPONSIVIDADE E MENU HAMBURGER --- */

/* Estilo do botão hamburger (escondido em telas grandes) */
.hamburger-menu {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}
.hamburger-menu .line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

/* Animação do botão para virar um "X" quando ativo */
.hamburger-menu.is-active .line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-menu.is-active .line:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.is-active .line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Media Query para Tablets e Celulares (abaixo de 992px) */
@media (max-width: 992px) {
    /* Esconde navegação de desktop e botão de contato */
    .header-contact-button {
        display: none;
    }
    header nav {
        display: none;
    }

    /* Mostra o botão hamburger */
    .hamburger-menu {
        display: block !important; /* Garante que ele apareça */
    }

    /* Estilo do menu mobile que desliza (escondido por padrão) */
    nav#mobile-nav {
        display: flex; /* Sobrescreve o display:none anterior */
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: #0A2B52;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 1000;
        border-left: 1px solid #103562;
    }
    
    /* Classe que o JS adiciona para mostrar o menu */
    nav#mobile-nav.is-active {
        transform: translateX(0);
    }
    
    nav#mobile-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    nav#mobile-nav ul li a {
        font-size: 1.2rem;
    }

    /* Outros ajustes de layout para tablet */
    .hero-section { padding-top: 150px; }
    .hero { flex-direction: column; text-align: center; }
    .hero-text { max-width: 100%; order: 2; }
    .hero-text h1 { font-size: 2.5rem; }
}

/* Media Query para Celulares (abaixo de 576px) */
@media (max-width: 576px) {
    /* Ajustes finos para layout em telas pequenas */
    .hero-images-container {
        display: flex;
        justify-content: center;
        height: auto;
        margin-bottom: 40px;
        order: 1;
    }
    .hero-image-A {
        position: relative;
        width: 200px;
        height: 200px;
        top: 0;
        right: -20px;
    }
    .hero-image-B {
        position: relative;
        width: 150px;
        height: 150px;
        bottom: 30px;
        right: 20px;
    }
}