/* ===================== VARIÁVEIS GLOBAIS ===================== */
:root {
    --verde-escuro: #1a365d;       /* Cor principal do header */
    --verde-claro: #48bb78;        /* Cor de destaque */
    --azul-escuro: #2d3748;        /* Cor do footer */
    --cinza-borda: #4a5568;        /* Cor de bordas */
    --texto-claro: #ffffff;        /* Texto claro */
    --fundo-claro: #f8fafc;        /* Fundo da página */
    --altura-header: 80px;         /* Altura do header fixo */
}

/* ===================== ESTILOS GLOBAIS ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--fundo-claro);
}

/* ===================== HEADER ===================== */
header {
    background-color: var(--verde-escuro);
    padding: 1rem 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: var(--altura-header);
}

/* ===================== CONTEÚDO PRINCIPAL ===================== */
main {
    flex: 1;
    margin-top: var(--altura-header); /* Compensar header fixo */
    padding: 0; /* Alteração crucial para o banner */
    position: relative;
    z-index: 1;
    width: 100%;
}

/* ===================== FOOTER ===================== */
footer {
    background-color: var(--azul-escuro);
    color: var(--texto-claro);
    padding: 2rem;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--cinza-borda);
}

/* ===================== COMPONENTES ===================== */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--texto-claro);
    font-size: 1.5rem;
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 0.8;
}

.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin: 1rem 0;
    background-color: white;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    background-color: #f7fafc;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1rem;
}

.faq-answer.active {
    max-height: 200px;
    padding: 1rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.project-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--verde-claro);
}

.project-info {
    padding: 1rem;
}

.project-info h3 {
    color: var(--verde-escuro);
    margin-bottom: 0.5rem;
}

/* ===================== MENU HAMBURGER ===================== */
.hamburger {
    display: none; /* Mantém oculto por padrão */
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 25px;
}

/* Mostrar apenas em mobile */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-links {
        display: none; /* Oculta o menu normal */
    }
    
    .nav-links.active {
        display: flex; /* Mostra quando o menu está ativo */
    }
}
/* ===================== AJUSTES ESPECÍFICOS DO BANNER ===================== */
/* (Manter no style.css se usado em múltiplas páginas) */
.banner {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-banner {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #000;
    color: #000;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-banner:hover {
    background: #000;
    color: #fff;
}

