/* --- RESET E VARIÁVEIS GLOBAIS --- */
:root {
    --color-primary: #03273f;    /* Azul Principal */
    --color-secondary: #eb4239; /* Vermelho/Laranja Secundário */
    --color-tertiary: #f5f5f5;  /* Branco Terciário */
    --color-dark-bg: #021c2d;   /* Variação do azul para fundos */
    --color-text: #cccccc;      /* Cor de texto para fundos escuros */
    --font-title: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-primary);
    color: var(--color-tertiary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* --- CABEÇALHO E NAVEGAÇÃO --- */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 20px 0;
    transition: background-color 0.3s ease;
}

.header.scrolled {
    background-color: var(--color-primary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

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

.logo {
    height: 40px;
}

.nav-menu a {
    color: var(--color-tertiary);
    text-decoration: none;
    font-weight: 500;
    margin-left: 30px;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after, .nav-menu a.active::after {
    width: 100%;
}

.hamburger {
    display: none; /* Escondido em telas grandes */
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    position: relative;
    cursor: pointer;
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-tertiary);
    transition: transform 0.3s ease, top 0.3s ease;
}

.hamburger::before { top: 0; }
.hamburger::after { top: 20px; }

/* --- BOTÕES --- */
.btn-primary {
    display: inline-block;
    background-color: var(--color-secondary);
    color: var(--color-tertiary);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-title);
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
}
.btn-primary-white{
    display: inline-block;
    background-color: var(--color-tertiary);
    color: var(--color-primary);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-title);
    transition: transform 0.3s ease;
}
.btn-primary-white:hover {
    transform: scale(1.05);
}

.btn-secondary {
    display: inline-block;
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-title);
    border-bottom: 2px solid var(--color-secondary);
    padding-bottom: 5px;
    transition: opacity 0.3s ease;
}
.btn-secondary:hover{
    opacity: 0.8;
}

/* --- SEÇÃO HERO --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    background-image: linear-gradient(rgba(3, 39, 63, 0.8), rgba(3, 39, 63, 0.8)), url('../image/hero-background.jpg');
    background-size: cover;
    background-position: center;
    color: var(--color-tertiary);
}

.hero h1 {
    font-family: var(--font-title);
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- OUTRAS SEÇÕES --- */
h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--color-tertiary);
}

.dark-bg { background-color: var(--color-dark-bg); }
.accent-bg { background-color: var(--color-secondary); }

/* About Teaser */
.about-teaser .container {
    display: flex;
    align-items: center;
    gap: 60px;
}
.about-content { flex: 1; }
.about-content h2 { text-align: left; margin-bottom: 20px; font-size: 2.2rem; }
.about-content p { margin-bottom: 30px; line-height: 1.6; }
.about-image { flex: 1; }
.about-image img { width: 100%; border-radius: 5px; }

/* Featured Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.project-card {
    background-color: var(--color-primary);
    border-radius: 5px;
    overflow: hidden;
    text-decoration: none;
    color: var(--color-tertiary);
    transition: transform 0.3s ease;
    position: relative;
}
.project-card:hover {
    transform: translateY(-10px);
}
.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}
.project-card .card-content {
    padding: 20px;
}
.project-card h3 {
    font-family: var(--font-title);
    margin-bottom: 10px;
    color: var(--color-tertiary);
}

/* Impact Section */
.impact .container {
    display: flex;
    justify-content: space-around;
    text-align: center;
}
.impact-number {
    font-family: var(--font-title);
    font-size: 3rem;
    color: var(--color-secondary);
    display: block;
}
.impact-text {
    font-size: 1rem;
    color: var(--color-text);
}

/* CTA Section */
.cta { text-align: center; }
.cta p { margin: 20px 0 40px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* --- RODAPÉ --- */
.footer {
    background-color: var(--color-dark-bg);
    padding: 60px 0 0;
    font-size: 0.9rem;
}
.footer .container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.logo-footer { height: 150px; margin-bottom: 20px; }
.footer p { color: var(--color-text); line-height: 1.6; }
.footer h4 {
    font-family: var(--font-title);
    color: var(--color-tertiary);
    margin-bottom: 20px;
}
.footer-links a, .footer-social a {
    display: block;
    color: var(--color-text);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}
.footer-links a:hover, .footer-social a:hover {
    color: var(--color-secondary);
}
.footer-bottom {
    border-top: 1px solid var(--color-primary);
    text-align: center;
    padding: 20px 0;
}
.footer-bottom p {
    font-size: 0.8rem;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .nav-menu { /* Estilos do menu mobile */
        display: none;
    }
    .hamburger { display: block; }

    .about-teaser .container { flex-direction: column; }
    .projects-grid { grid-template-columns: 1fr; }
    .impact .container { flex-direction: column; gap: 40px; }
    .footer .container { grid-template-columns: 1fr; text-align: center; }
    .footer-about { align-items: center; display: flex; flex-direction: column; }
}

/* --- ESTILOS PÁGINA SOBRE NÓS --- */

/* Hero de Páginas Internas */
.page-hero {
    padding-top: 150px;
    padding-bottom: 80px;
    text-align: center;
    background-color: var(--color-dark-bg);
}

.page-hero h1 {
    font-family: var(--font-title);
    font-size: 3rem;
    color: var(--color-tertiary);
}

/* Seção Nossa História */
.about-story .container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.story-image {
    flex: 0 0 40%; /* Ocupa 40% da largura */
}

.story-image img {
    width: 100%;
    border-radius: 5px;
}

.story-content {
    flex: 1;
}

.story-content h2 {
    text-align: left;
    margin-bottom: 20px;
    color: var(--color-tertiary);
}

.story-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--color-text);
}

/* Seção Pilares */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.pillar-card {
    background-color: var(--color-primary);
    padding: 30px;
    border-radius: 5px;
    border-left: 4px solid var(--color-secondary);
}

.pillar-card h3 {
    font-family: var(--font-title);
    color: var(--color-tertiary);
    margin-bottom: 15px;
}

.pillar-card p {
    line-height: 1.6;
    color: var(--color-text);
}

/* Seção Time */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--color-secondary);
}

.team-member h4 {
    font-family: var(--font-title);
    color: var(--color-tertiary);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.team-member span {
    color: var(--color-text);
}

/* --- AJUSTES RESPONSIVOS PARA PÁGINA SOBRE --- */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.2rem;
    }
    .about-story .container {
        flex-direction: column;
    }
}

/* --- ESTILOS PÁGINA DE PROJETOS --- */

.projects-gallery h2 {
    color: var(--color-tertiary);
}

.projects-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.projects-page-grid .project-card {
    background-color: var(--color-dark-bg);
}

/* --- ESTILOS PÁGINA DE DETALHE DE PROJETO --- */

/* Hero Específico do Projeto */
.project-hero {
    padding-top: 150px;
    padding-bottom: 80px;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.project-hero span {
    display: block;
    margin-bottom: 10px;
    color: var(--color-text);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.project-hero h1 {
    font-family: var(--font-title);
    font-size: 4rem;
    color: var(--color-tertiary);
}

/* Carrossel de Detalhes */
.project-detail-carousel {
    width: 100%;
    height: 500px;
    margin-bottom: 60px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.project-detail-carousel .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-detail-carousel .swiper-button-next,
.project-detail-carousel .swiper-button-prev {
    color: var(--color-tertiary);
    background-color: rgba(3, 39, 63, 0.4);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-detail-carousel .swiper-button-next:hover, .project-detail-carousel .swiper-button-prev:hover {
    background-color: rgba(3, 39, 63, 0.7);
    color: var(--color-secondary);
}

.project-detail-carousel .swiper-pagination-bullet-active {
    background-color: var(--color-tertiary);
}

@media (max-width: 768px){
    .project-detail-carousel {
        height: 300px;;
    }

    .project-detail-carousel .swiper-button-next, .project-detail-carousel .swiper-button-prev {
        width: 35px;
        height: 35px;
    }

    .project-detail-carousel .swiper-button-next::after, .project-detail-carousel .swiper-button-prev::after {
        font-size: 16px;;
    }
}

/* Grade de Detalhes do Projeto */
.project-details-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 60px;
}

.project-description h3 {
    font-family: var(--font-title);
    color: var(--color-secondary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.project-description p {
    line-height: 1.8;
    color: var(--color-text);
}

.project-description a {
    color: var(--color-secondary);
    text-decoration: none;
}

.project-info {
    background-color: var(--color-dark-bg);
    padding: 30px;
    border-radius: 5px;
}

.project-info h4 {
    font-family: var(--font-title);
    margin-bottom: 20px;
    color: var(--color-tertiary);
}

.project-info ul {
    list-style: none;
}

.project-info li {
    margin-bottom: 15px;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-primary);
    padding-bottom: 15px;
}
.project-info li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.project-info strong {
    color: var(--color-tertiary);
}

.project-info a {
    color: var(--color-secondary);
    text-decoration: none;
}
.project-info a:hover {
    text-decoration: underline;
}

/* Responsividade da página de detalhe */
@media (max-width: 992px) {
    .project-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .project-hero h1 {
        font-size: 2.5rem;
    }
    .project-detail-carousel {
        height: 300px;
    }
}

/* --- ESTILOS PÁGINA PARTICIPE --- */

.participation-page {
    background-color: var(--color-dark-bg); /* Fundo escuro para destacar os formulários */
}

.participation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.form-container {
    background-color: var(--color-primary);
    padding: 30px;
    border-radius: 5px;
}

.form-container h2 {
    font-family: var(--font-title);
    color: var(--color-tertiary);
    text-align: left;
    margin-bottom: 15px;
}

.form-container p {
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    color: var(--color-tertiary);
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-dark-bg);
    border-radius: 5px;
    background-color: var(--color-dark-bg);
    color: var(--color-tertiary);
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
}

.form-container .btn-primary {
    width: 100%;
    padding: 15px; /* Botão maior para formulário */
}

/* Responsividade da página de participação */
@media (max-width: 992px) {
    .participation-grid {
        grid-template-columns: 1fr;
    }
}

/* --- ESTILOS PÁGINA CONTATO --- */

.contact-page {
    background-color: var(--color-primary); /* Fundo primário para variar */
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Coluna do formulário um pouco maior */
    gap: 60px;
    align-items: start; /* Alinha os itens no topo */
}

.contact-info h2, .contact-form-container h2 {
    font-family: var(--font-title);
    color: var(--color-tertiary);
    text-align: left;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-top: 5px; /* Ajuste para alinhar com o texto */
}

.info-item h4 {
    font-family: var(--font-title);
    color: var(--color-tertiary);
    margin-bottom: 5px;
}

.info-item a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--color-secondary);
}

.social-icons a {
    color: var(--color-tertiary);
    font-size: 1.8rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--color-secondary);
}

/* Reutiliza estilos do formulário da página Participe */
.contact-form-container {
    background-color: var(--color-dark-bg); /* Fundo um pouco diferente */
    padding: 30px;
    border-radius: 5px;
}

.contact-form-container .form-group input[type="text"],
.contact-form-container .form-group input[type="email"],
.contact-form-container .form-group input[type="tel"],
.contact-form-container .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-dark-bg);
    border-radius: 5px;
    background-color: var(--color-primary); 
    color: var(--color-tertiary);
    font-family: var(--font-body);
    font-size: 1rem;
}

.contact-form-container .form-group input[type="text"]:focus,
.contact-form-container .form-group input[type="email"]:focus,
.contact-form-container .form-group input[type="tel"]:focus,
.contact-form-container .form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
}

/* Responsividade da página de contato */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-info {
        margin-bottom: 40px; /* Espaço entre as seções no mobile */
    }
}

/* --- ESTILOS PÁGINA EDITAIS --- */

.calls-list {
    background-color: var(--color-dark-bg); /* Ou outra cor de fundo desejada */
}

.calls-list h2 {
    color: var(--color-tertiary);
    margin-bottom: 60px;
}

.calls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Grid responsivo */
    gap: 30px;
}

.call-card {
    background-color: var(--color-primary);
    padding: 30px;
    border-radius: 5px;
    position: relative;
    border-left: 4px solid var(--color-secondary); /* Detalhe visual */
    display: flex;
    flex-direction: column; /* Organiza o conteúdo verticalmente */
}

.call-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.call-status.open {
    background-color: var(--color-secondary);
    color: var(--color-tertiary);
}

.call-status.closed {
    background-color: #555; /* Cinza para encerrado */
    color: #ccc;
}

/* Outros status podem ser adicionados, ex: .in-progress */

.call-card h3 {
    font-family: var(--font-title);
    color: var(--color-tertiary);
    margin-bottom: 10px;
    padding-right: 100px; /* Espaço para não sobrepor o status */
}

.call-card .call-dates {
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 15px;
    font-style: italic;
}

.call-card p {
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1; /* Faz a descrição ocupar o espaço disponível */
}

.call-card .btn-secondary {
    margin-top: auto; /* Empurra o botão para baixo */
    align-self: flex-start; /* Alinha o botão à esquerda */
}

.call-card .btn-secondary.disabled {
    border-color: #555;
    color: #777;
    pointer-events: none; /* Desabilita o clique */
    cursor: default;
}

.call-card .btn-secondary.disabled:hover {
    opacity: 1; /* Remove efeito hover */
}

/* --- ESTILOS PÁGINA MODELO EDITAL (ARQUIVOS) --- */

.edital-files {
    background-color: var(--color-primary); /* Ou outra cor de fundo */
}

.edital-files h2 {
    color: var(--color-tertiary);
    margin-bottom: 40px;
    text-align: left; /* Título à esquerda para listas */
}

.file-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.file-list li {
    background-color: var(--color-dark-bg);
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-left: 4px solid var(--color-secondary);
}

.file-list li i.fa-file-pdf, 
.file-list li i.fa-file-word, 
.file-list li i.fa-file-alt { /* Ícone do arquivo */
    font-size: 2rem;
    color: var(--color-secondary);
    flex-shrink: 0; /* Impede que o ícone encolha */
}

.file-info {
    flex-grow: 1; /* Ocupa o espaço restante */
}

.file-name {
    display: block;
    font-weight: 500;
    color: var(--color-tertiary);
    margin-bottom: 5px;
}

.file-meta {
    font-size: 0.9rem;
    color: var(--color-text);
}

.btn-download {
    display: inline-flex; /* Para alinhar ícone e texto */
    align-items: center;
    gap: 8px; /* Espaço entre ícone e texto */
    background-color: var(--color-secondary);
    color: var(--color-tertiary);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease;
    white-space: nowrap; /* Impede que o texto do botão quebre linha */
}

.btn-download:hover {
    transform: scale(1.05);
}

.btn-download i {
    font-size: 1rem;
}

/* Ajuste responsivo para botão em telas pequenas */
@media (max-width: 576px) {
     .file-list li {
        flex-direction: column; /* Empilha os itens verticalmente */
        align-items: flex-start; /* Alinha no início */
        gap: 15px;
     }
     .btn-download {
         align-self: flex-start; /* Mantém o botão alinhado à esquerda */
     }
}

/* --- ESTILOS SEÇÃO CRONOGRAMA EDITAL --- */

.edital-timeline h2 {
    color: var(--color-tertiary);
    margin-bottom: 40px;
    text-align: left; /* Título à esquerda */
}

.timeline-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-left: 2px solid var(--color-secondary); /* Linha do tempo vertical */
    padding-left: 30px; /* Espaço para a linha */
    margin-bottom: 30px; /* Adiciona margem abaixo da lista toda */
}

.timeline-list li {
    position: relative;
    padding-bottom: 30px; /* Espaço entre os itens */
}

/* Bolinha na linha do tempo */
.timeline-list li::before {
    content: '';
    position: absolute;
    left: -38px; /* (padding-left + metade da largura da bolinha) */
    top: 5px; /* Ajuste vertical */
    width: 14px;
    height: 14px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    border: 2px solid var(--color-dark-bg); /* Contorno com a cor de fundo */
}

/* Remove o espaçamento inferior do último item da lista */
.timeline-list li:last-child {
    padding-bottom: 0; 
}

.timeline-date {
    display: block;
    font-weight: bold;
    color: var(--color-tertiary);
    margin-bottom: 5px;
}

.timeline-event {
    color: var(--color-text);
}

/* --- ESTILOS DO MENU HAMBÚRGUER ATIVO --- */

/* Estilos para o menu quando ativo (visível) */
.nav-menu.active {
    display: flex; /* Muda de none para flex */
    flex-direction: column; /* Empilha os links verticalmente */
    position: absolute; /* Posiciona sobre o conteúdo */
    top: 70px; /* Abaixo do cabeçalho (ajuste conforme a altura do seu header) */
    left: 0;
    width: 100%;
    background-color: var(--color-primary); /* Fundo igual ao header */
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* Sombra para destacar */
    text-align: center;
}

.nav-menu.active a {
    margin: 10px 0; /* Espaçamento vertical entre os links */
    padding-bottom: 10px; /* Ajuste no padding do after */
}

/* Animação do ícone Hambúrguer para 'X' */
.hamburger span { /* Adiciona a linha do meio do hamburguer */
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-tertiary);
    top: 10px; /* Posiciona no meio */
    transition: opacity 0.3s ease;
}

.hamburger.active::before {
    top: 10px; /* Move a linha de cima para o meio */
    transform: rotate(45deg); /* Gira para formar o X */
}

.hamburger.active span {
    opacity: 0; /* Esconde a linha do meio */
}

.hamburger.active::after {
    top: 10px; /* Move a linha de baixo para o meio */
    transform: rotate(-45deg); /* Gira para formar o X */
}

/* Garante que o menu e o hamburguer só apareçam no mobile */
@media (min-width: 769px) { /* Ponto de quebra onde o menu desktop aparece */
    .nav-menu.active {
        display: none; /* Esconde o menu mobile em telas grandes */
    }
    .hamburger {
        display: none; /* Esconde o botão hamburguer em telas grandes */
    }
    /* Reexibe o menu desktop em telas grandes, caso ele tenha sido escondido */
    .nav-menu {
        display: flex !important; 
        flex-direction: row;
        position: static;
        width: auto;
        background-color: transparent;
        padding: 0;
        box-shadow: none;
    }
     .nav-menu a {
        margin: 0 0 0 30px; /* Restaura margem horizontal */
        padding-bottom: 5px;
    }
}