/* GERAL E FONTES */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    --primary-color: #0a2540;
    --secondary-color: #fca311;
    --light-gray: #e9ecef;
    --dark-gray: #343a40;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

section {
    padding: 6rem 5%;
}

.gray-bg {
    background-color: var(--light-gray);
}

.section-subtitle {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    text-align: center;
    font-size: 1.1rem;
}

.cta-button {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    background-color: #e09310;
}

/* HEADER E NAVEGAÇÃO */
header {
    background-color: var(--white);
    border-bottom: 1px solid #eee;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 5%;
}

.logo img {
    height: 150px;
    width: auto;
}

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

.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    padding-bottom: 5px; /* Cria um pequeno espaço para o sublinhado */
    border-bottom: 3px solid transparent; /* Borda invisível por padrão */
    transition: color 0.3s ease, border-bottom-color 0.3s ease; /* Anima a cor do texto e da borda */
}

.nav-link:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color); /* A borda se torna amarela no hover */
}

.nav-link.active {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color); /* A borda se torna amarela quando o link está ativo */
}

.nav-link-button {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.nav-link-button:hover {
    background-color: #e09310;
}

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

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

/* SEÇÃO HERO */
.hero {
    background-image: linear-gradient(rgba(10, 37, 64, 0.7), rgba(10, 37, 64, 0.7)), url('images/hero-image.png');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

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

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* CARDS */
.cards-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card.small-card {
    max-width: 300px;
}

.card.small-card h4 {
    font-size: 1.2rem;
}

/* MAPEAMENTO AEREO */
.feature-list ul {
    list-style: none;
    max-width: 600px;
    margin: 2rem auto;
}

.feature-list li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* CONTATO */
.contact-container {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.contact-info,
.contact-form {
    flex: 1;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

/* ESTILOS PARA A LISTA DE CONTATO */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--dark-gray);
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: var(--primary-color);
}

.contact-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}

.contact-icon.fa-whatsapp {
    color: #25D366;
}

/* FOOTER */
footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1.5rem 5%;
    border-top: 2px solid var(--secondary-color);
    position: relative;
    min-height: 50px;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    padding: 0 1rem;
}

.footer-whatsapp {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-whatsapp:hover {
    color: var(--secondary-color);
}

.footer-whatsapp i {
    font-size: 1.4rem;
    color: #25D366;
}


/* --- RESPONSIVIDADE --- */

/* Telas menores que 768px (Tablets e Celulares) */
@media(max-width: 768px) {
    h2 {
        font-size: 2rem;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .contact-container {
        flex-direction: column;
    }

    /* Estilos do Menu Mobile */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px; /* Altura da navbar */
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-item {
        margin: 1rem 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);
    }
}

/* Telas menores que 680px (Ajuste fino do Footer) */
@media(max-width: 680px) {
    footer {
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem;
        padding: 2rem 1rem;
    }
    footer p {
        position: static;
        transform: none;
        width: auto;
        order: 2; /* Copyright aparece em segundo */
    }
    .footer-whatsapp {
        order: 1; /* WhatsApp aparece em primeiro */
    }
}
/* ESTILOS PARA AS MENSAGENS DO FORMULÁRIO */
#form-messages {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    display: none; /* Fica escondido por padrão */
}

/* Estilo para mensagem de sucesso (verde) */
#form-messages.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Estilo para mensagem de erro (vermelho) */
#form-messages.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Estilo para mensagem de "enviando" (azul) */
#form-messages.info {
    display: block;
    background-color: #cce5ff;
    color: #004085;
    border: 1px solid #b8daff;
}   