
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

:root {
/* Cores */
    --cor-azul: #003EFF;
    --cor-verde: #BEFF00;
    --cor-preto: #000000;
    --cor-branco: #FFFFFF;
    --cor-cinzento-claro: #F5F5F5;
    --cor-cinzento: #666666;

        /* Fonte */
    --fonte: 'Montserrat', sans-serif;
    --texto-base: 16px;
    --texto-pequeno: 14px;
    --texto-grande: 18px;

      /* Títulos responsivos com clamp(mínimo, preferido, máximo) */
    --titulo-h1: clamp(2.875rem, 5.75vw, 4.6rem);
    --titulo-h2: clamp(2.3rem, 4.6vw, 3.45rem);
    --titulo-h3: clamp(1.725rem, 3.45vw, 2.3rem);
    --titulo-numeros: clamp(3rem, 6vw, 5rem);

       /* Espaçamentos */
    --espaco-xs: 0.5rem;
    --espaco-sm: 1rem;
    --espaco-md: 2rem;
    --espaco-lg: 4rem;
    --espaco-xl: 6rem;

     /* Medidas do layout */
    --largura-maxima: 1400px;
    --altura-cabecalho: 80px;

      /* Velocidade das animações */
    --transicao-rapida: 0.2s ease;
    --transicao-normal: 0.3s ease;
}

         /* Regras gerais todos os elementos.*/

      /* Tirar margens e espaçamentos padrão */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

      /* Configurações globais da página */
 html {
    font-size: var(--texto-base);
    scroll-behavior: smooth;
    background-color: #F0F0F0;
    overflow-x: hidden;
 }

      /* Corpo da página centrado com largura máxima */
body {
    font-family: var(--fonte);
    font-weight: 400;
    line-height: 1.6;
    color: var(--cor-preto);
    background-color: var(--cor-branco);
    max-width: var(--largura-maxima);
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
}

/* Imagens nunca ultrapassam o contentor */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Links sem sublinhado */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transicao-rapida);
}

/* Listas sem marcadores */
ul, ol {
    list-style: none;
}

/* Botões sem estilo padrão */
button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

    /* Títulos e textos */

      /* Títulos em bold */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

 h1 { font-size: var(--titulo-h1); }
 h2 { font-size: var(--titulo-h2); }
h3 { font-size: var(--titulo-h3); }

     /* texto com sublinhado animado */
.text-highlight {
    color: var(--cor-branco);
    padding: 0.15em 0.4em;
    display: inline;
    font-weight: 600;
    background: linear-gradient(to right, var(--cor-verde) 100%, transparent 0);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    transition: background-size 0.8s ease-out, color 0.8s ease-out;
}

   /* Quando animado, o fundo preenche */
.text-highlight.animate {
    background-size: 100% 100%;
    color: var(--cor-azul);
}

   /* versão azul do sublinhado animado para fundos verdes */
.text-highlight-azul {
    color: var(--cor-azul);
    background: linear-gradient(to right, var(--cor-azul) 100%, transparent 0);
    background-size: 0% 100%;
    background-repeat: no-repeat;
}

.text-highlight-azul.animate {
    background-size: 100% 100%;
    color: var(--cor-branco);
}

/* layout - Contentor principal */

  .container {
    width: 100%;
    max-width: var(--largura-maxima);
    margin: 0 auto;
    padding: 0 var(--espaco-md);
}

.section {
    padding: var(--espaco-xl) 0;
}

/* Cabeçalho e Navegação */

.header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--largura-maxima);
    height: var(--altura-cabecalho);
    background-color: var(--cor-azul);
    z-index: 1000;
    transition: var(--transicao-normal);
}

/* sombra ao fazer scroll */
.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

/* Layout do cabeçalho */
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* nogótipo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--espaco-xs);
}

.logo-icon {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

    /* navegação */
.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: var(--espaco-md);
}

/* Links do menu */
.nav-link {
    font-size: var(--texto-pequeno);
    font-weight: 500;
    padding: var(--espaco-xs) 0;
    position: relative;
    color: var(--cor-branco);
}

/* Linha verde que aparece por baixo do link */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--cor-verde);
    transition: var(--transicao-rapida);
}

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

.nav-link.active {
    font-weight: 700;
}

/* Links desativados */
.nav-link-disabled {
    cursor: default;
}

/* Botão hambúrguer só aparece em mobile */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--cor-branco);
    transition: var(--transicao-rapida);
}

/* secção Hero Imagem grande de abertura */

.hero {
    position: relative;
    isolation: isolate;
    height: 75vh;
    min-height: 450px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    margin-top: var(--altura-cabecalho);
    overflow: hidden;
}

      /* hero mais pequeno para páginas interiores metade da altura */
.hero-pequeno {
    height: 50vh;
    min-height: 300px;
}

/* Imagem no hero pequeno — alinhada ao topo */
.hero-pequeno .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

    /* conteúdo do hero pequeno — título mais abaixo */
.hero-pequeno .hero-content {
    padding-bottom: 2rem;
}

/* Imagem de fundo maior para efeito parallax */
.hero-image {
    position: absolute;
    top: -30%;
    left: 0;
    width: 100%;
    height: 160%;
    object-fit: cover;
    object-position: center 0%;
    z-index: -1;
    will-change: transform;
}

/* Conteúdo do hero */
.hero-content {
    text-align: left;
    padding: var(--espaco-md);
    padding-bottom: 3rem;
}

.hero-title {
    font-size: var(--titulo-h1);
    font-weight: 700;
    color: var(--cor-azul);
}

  /* título verde no hero */
.hero-title-verde {
    color: var(--cor-verde);
}

  /* secção Introdução         texto grande centrado */

.intro {
    padding: 16rem 0;
    text-align: center;
    background-color: var(--cor-azul);
}

/* Variante verde */
.intro-verde {
    background-color: var(--cor-verde);
}

.intro-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    line-height: 2;
}

/* Introdução de página interior (usada no saude.html) */
.content-intro {
    padding: 12rem 0;
    text-align: center;
    background-color: var(--cor-azul);
}

.content-intro-verde {
    background-color: var(--cor-verde);
}

/* Página em construção — ocupa mais altura */
.pagina-construcao {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Secção Galeria galeria de imagens */

.galeria {
    padding: 0;
    background-color: var(--cor-verde);
}

     /* cabeçalho da galeria com imagem de fundo */
.galeria-header {
    position: relative;
    isolation: isolate;
    height: 75vh;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    padding: var(--espaco-md);
    padding-bottom: 3rem;
    margin-bottom: 0;
    overflow: hidden;
}

.galeria-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: -1;
    will-change: transform;
}

.galeria-title {
    font-size: var(--titulo-h1);
    font-weight: 700;
    color: var(--cor-verde);
}

        /* grelha de 3 colunas */
.galeria-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

        /* Cada item ocupa 1/3 */
.galeria-item {
    flex: 0 0 33.333%;
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
    display: block;
    cursor: pointer;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

     /* barra verde com texto azul sobre cada imagem */
.galeria-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: var(--texto-pequeno);
    font-weight: 600;
    color: var(--cor-azul);
    background-color: var(--cor-verde);
    padding: 0.6em 1em;
    display: flex;
    align-items: center;
    gap: 0.5em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Efeito highlight na legenda ao passar o rato */
.galeria-item:hover .galeria-label {
    background-color: var(--cor-azul);
    color: var(--cor-verde);
}

/* circulo com seta antes do texto */
.galeria-label::before {
    content: '→';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.6em;
    height: 1.6em;
    min-width: 1.6em;
    border-radius: 50%;
    border: 2px solid var(--cor-azul);
    font-size: 0.85em;
    font-weight: 700;
    line-height: 1;
    transition: border-color 0.3s ease;
}

/* mudar cor do círculo no hover */
.galeria-item:hover .galeria-label::before {
    border-color: var(--cor-verde);
}

                        /* secção Estatísticas - Números animados */

.estatisticas {
    padding: var(--espaco-xl) 0;
    background-color: var(--cor-verde);
    color: var(--cor-azul);
    position: relative;
    overflow: hidden;
}

.estatisticas-header {
    margin-bottom: var(--espaco-lg);
}

.estatisticas-label {
    font-size: var(--titulo-h2);
    font-weight: 700;
    line-height: 1.3;
    color: var(--cor-azul);
}

.estatisticas-label strong {
    font-weight: 600;
}

/* grelha de 3 colunas */
.estatisticas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--espaco-lg);
}

.estatistica-item {
    flex: 1 1 calc(33.333% - var(--espaco-lg));
    min-width: 200px;
    text-align: left;
}

.estatistica-number {
    font-size: var(--titulo-numeros);
    font-weight: 700;
    color: var(--cor-azul);
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: var(--espaco-xs);
}

.estatistica-icon {
    width: 30px;
    height: 30px;
}

.estatistica-label {
    font-size: var(--texto-pequeno);
    color: var(--cor-azul);
    opacity: 0.9;
    margin-top: var(--espaco-xs);
}

/* chamada para ação */

.accao {
    padding: 12rem 0;
    text-align: center;
    background-color: var(--cor-azul);
}

.accao-verde {
    background-color: var(--cor-verde);
}

.accao-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    line-height: 2;
    text-align: center;
}

    /* secção imagem floresta imagem com texto */

.floresta {
    position: relative;
    isolation: isolate;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--cor-verde);
}

.floresta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    will-change: transform;
}

      /* versão grande da mesma altura do hero */
.floresta-grande {
    height: 80vh;
    min-height: 450px;
}

.floresta-texto {
    text-align: center;
    z-index: 1;
}

.floresta-title {
    font-size: var(--titulo-h1);
    font-weight: 700;
    color: var(--cor-verde);
}

.floresta-site {
    font-size: var(--titulo-h3);
    font-weight: 500;
    color: var(--cor-branco);
    margin-top: var(--espaco-xs);
}

/* newsletter barra de subscrição */

.newsletter {
    background-color: var(--cor-azul);
    padding: var(--espaco-sm) 0;
    color: var(--cor-branco);
}

/* newsletter com mais espaço acima (página saude.html) */
.newsletter-afastada {
    padding-top: 10rem;
}

.newsletter .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--espaco-sm);
}

.newsletter-title {
    font-size: var(--titulo-h3);
    font-weight: 700;
    margin-bottom: var(--espaco-xs);
}

.newsletter-subtitle {
    font-size: var(--texto-pequeno);
    opacity: 0.9;
}

     /* botão subscrever */
.newsletter-btn {
    background-color: var(--cor-branco);
    color: var(--cor-azul);
    padding: var(--espaco-sm) var(--espaco-lg);
    font-weight: 700;
    font-size: var(--texto-base);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transicao-rapida);
    white-space: nowrap;
    font-family: inherit;
}

.newsletter-btn:hover {
    background-color: var(--cor-verde);
    color: var(--cor-preto);
}

/* popup da newsletter */

/* fundo escuro */
.newsletter-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: var(--espaco-md);
}

.newsletter-popup.visivel {
    display: flex;
}

/* caixa azul formato quadrado mais pequeno */
.newsletter-popup-conteudo {
    background-color: var(--cor-azul);
    color: var(--cor-branco);
    width: 400px;
    max-width: 90%;
    aspect-ratio: 1 / 1;
    padding: var(--espaco-lg);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

   /* botão fechar */
.newsletter-popup-fechar {
    position: absolute;
    top: var(--espaco-sm);
    right: var(--espaco-sm);
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: var(--cor-branco);
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-popup-fechar:hover {
    opacity: 0.7;
}

 /* titulo do popup */
.newsletter-popup-titulo {
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 0.25rem;
    color: var(--cor-branco);
}

.newsletter-popup-subtitulo {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    color: var(--cor-branco);
}

 /* formulário do popup */
.newsletter-popup-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.newsletter-campo {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

 /* etiqueta verde com seta no popup */
.newsletter-label {
    display: inline-flex;
    align-items: center;
    gap: var(--espaco-xs);
    background-color: var(--cor-verde);
    color: var(--cor-preto);
    font-weight: 700;
    font-size: var(--texto-pequeno);
    padding: 6px 14px;
    width: fit-content;
}

.newsletter-label-seta {
    font-size: 14px;
}

  /* campos de texto */
.newsletter-popup-input {
    padding: var(--espaco-sm) var(--espaco-md);
    border: none;
    font-family: inherit;
    font-size: var(--texto-base);
    background-color: var(--cor-branco);
    width: 100%;
}

.newsletter-popup-input:focus {
    outline: 2px solid var(--cor-verde);
}

.newsletter-popup-textarea {
    padding: var(--espaco-sm) var(--espaco-md);
    border: none;
    font-family: inherit;
    font-size: var(--texto-base);
    background-color: var(--cor-branco);
    width: 100%;
    resize: vertical;
}

.newsletter-popup-textarea:focus {
    outline: 2px solid var(--cor-verde);
}

 /* botão subscrever dentro do popup */
.newsletter-popup-btn {
    background-color: var(--cor-verde);
    color: var(--cor-preto);
    font-weight: 700;
    padding: var(--espaco-sm) var(--espaco-md);
    border: none;
    font-family: inherit;
    font-size: var(--texto-base);
    cursor: pointer;
    margin-top: var(--espaco-sm);
    transition: var(--transicao-normal);
}

.newsletter-popup-btn:hover {
    background-color: var(--cor-branco);
}

/* Rodapé */

.footer {
    background-color: var(--cor-azul);
    padding: var(--espaco-lg) 0;
    color: var(--cor-branco);
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--espaco-md);
}

.footer-right {
    display: flex;
    align-items: flex-start;
    gap: var(--espaco-lg);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--espaco-xs);
    text-align: right;
}

.footer-link {
    color: var(--cor-branco);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.7rem;
}

.footer-link:hover {
    opacity: 1;
}

   /* redes sociais */
.footer-social {
    display: flex;
    gap: var(--espaco-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cor-branco);
    border-radius: 50%;
    color: var(--cor-branco);
    transition: var(--transicao-rapida);
}

.social-link:hover {
    background-color: var(--cor-verde);
    border-color: var(--cor-verde);
    color: var(--cor-preto);
}

/* cabeçalho de pagina Interior usado na pagina sude e bem estar. */

.page-header {
    display: flex;
    align-items: flex-end;
    padding: var(--espaco-xl) var(--espaco-md) var(--espaco-lg);
    padding-top: calc(var(--altura-cabecalho) + var(--espaco-xl));
    background-color: var(--cor-azul);
}

.page-title {
    font-size: var(--titulo-h1);
    font-weight: 700;
    color: var(--cor-branco);
}

                       /* filtros de Pesquisa - NAO ESTOU A USAR */

.filters {
    padding: 0;
    background-color: var(--cor-verde);
    position: relative;
}

.filters .container {
    padding: 0;
    max-width: 100%;
}

.filters-form {
    display: flex;
    align-items: stretch;
    gap: 0;
    flex-wrap: wrap;
}

/* grupo: etiqueta + campo lado a lado */
.filter-grupo {
    display: flex;
    align-items: stretch;
    flex: 1;
}

/* etiqueta verde com icon de seta */
.filter-label {
    display: flex;
    align-items: center;
    gap: var(--espaco-xs);
    background-color: var(--cor-verde);
    color: var(--cor-azul);
    font-weight: 700;
    font-size: var(--texto-pequeno);
    padding: 0.8em 1em;
    white-space: nowrap;
}

     /* icone da seta circular antes do texto */
.filter-label::before {
    content: '→';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.6em;
    height: 1.6em;
    border-radius: 50%;
    border: 2px solid var(--cor-azul);
    font-size: 0.85em;
    font-weight: 700;
}

.filter-input,
.filter-select {
    padding: 0.8em 1em;
    border: none;
    border-radius: 0;
    font-family: inherit;
    font-size: var(--texto-pequeno);
    min-width: 120px;
    flex: 1;
    background-color: var(--cor-branco);
    color: var(--cor-preto);
    -webkit-appearance: none;
}

.filter-input:focus,
.filter-select:focus {
    outline: 2px solid var(--cor-azul);
    outline-offset: -2px;
}

      /* galeria de Termas */

.termas-section {
    background-color: var(--cor-azul);
}

.termas-section .container {
    max-width: 100%;
    padding: 0;
}

.termas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
}

   /* cada cartao */
.terma-card {
    flex: 0 0 33.333%;
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
}

.terma-card-imagem {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* barra verde com nome da terma */
.terma-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.6em 1em;
    background-color: var(--cor-verde);
    color: var(--cor-azul);
    transition: background-color 0.3s ease, color 0.3s ease;
}

 /* efeito highlight na legenda ao passar o rato */
.terma-card:hover .terma-info {
    background-color: var(--cor-azul);
    color: var(--cor-verde);
}

.terma-name {
    font-size: var(--texto-pequeno);
    font-weight: 600;
}

/* localização escondida só aparece no popup */
.terma-location {
    display: none;
}

/* página de detalhe da Terma */

.terma-detalhe {
    background-color: var(--cor-azul);
    padding: var(--espaco-xl) 0;
}

.terma-detalhe-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--espaco-lg);
}

.terma-detalhe-localizacao {
    font-size: var(--texto-grande);
    color: var(--cor-branco);
}

.terma-detalhe-temperatura {
    background-color: var(--cor-verde);
    color: var(--cor-azul);
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: var(--texto-grande);
}

.terma-detalhe-conteudo {
    background-color: var(--cor-branco);
    padding: var(--espaco-lg);
}

.terma-detalhe-biografia {
    font-size: var(--texto-grande);
    line-height: 1.8;
    color: var(--cor-preto);
    margin-bottom: var(--espaco-lg);
}

.terma-detalhe-seccao {
    margin-bottom: var(--espaco-md);
    padding-bottom: var(--espaco-md);
    border-bottom: 1px solid var(--cor-cinzento-claro);
}

.terma-detalhe-seccao:last-of-type {
    border-bottom: none;
}

.terma-detalhe-titulo {
    font-size: var(--texto-pequeno);
    font-weight: 700;
    color: var(--cor-azul);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--espaco-sm);
}

.terma-detalhe-texto {
    font-size: var(--texto-base);
    color: var(--cor-cinzento);
    line-height: 1.6;
}

.terma-detalhe-tratamentos {
    display: flex;
    flex-wrap: wrap;
    gap: var(--espaco-xs);
}

.terma-tratamento-tag {
    background-color: var(--cor-verde);
    color: var(--cor-azul);
    padding: 0.4rem 1rem;
    font-size: var(--texto-pequeno);
    font-weight: 600;
}

.terma-detalhe-voltar {
    display: inline-block;
    margin-top: var(--espaco-lg);
    color: var(--cor-azul);
    font-weight: 600;
    font-size: var(--texto-base);
    transition: var(--transicao-rapida);
}

.terma-detalhe-voltar:hover {
    color: var(--cor-verde);
}

/* design responsivo adaptacao para tablets e telemoveis. */

/* Tablets - até 1024px */
@media (max-width: 1024px) {
    .galeria-item {
        flex: 0 0 calc(50% - 2px);
    }

    .terma-card {
        flex: 0 0 50%;
    }

    .estatistica-item {
        flex: 1 1 calc(50% - var(--espaco-lg));
    }
}

/* Telemóveis - até 768px */
@media (max-width: 768px) {
    :root {
        --altura-cabecalho: 60px;
    }

                               /* menu mobile em dropdown */
    .nav-list {
        display: flex;
        position: absolute;
        top: var(--altura-cabecalho);
        left: 0;
        right: 0;
        background-color: var(--cor-verde);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        z-index: 999;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        list-style: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    .nav-list.active {
        max-height: 500px;
    }

    .nav-list li {
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav-link {
        display: block;
        font-size: var(--texto-base);
        color: rgba(0, 0, 0, 0.75);
        padding: 1em 1.5em;
        transition: background-color var(--transicao-rapida);
    }

    .nav-link:hover,
    .nav-link.active {
        background-color: rgba(0, 0, 0, 0.05);
        color: rgba(0, 0, 0, 1);
    }

     /* mostrar botão hambúrguer */
    .nav-toggle {
        display: flex;
        z-index: 1001;
        cursor: pointer;
    }

    /* Animação do X */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .galeria-item {
        flex: 0 0 100%;
    }

    .terma-card {
        flex: 0 0 50%;
    }

    .estatistica-item {
        flex: 1 1 100%;
    }

    .estatisticas-grid {
        gap: var(--espaco-md);
    }

    .newsletter .container {
        flex-direction: column;
        text-align: center;
    }

    .footer .container {
        flex-direction: column;
        gap: var(--espaco-md);
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .filters-form {
        flex-direction: column;
    }

    .filter-grupo {
        width: 100%;
    }

    .filter-input {
        width: 100%;
        flex: 1;
    }
}

/* ecrãs muito pequenos */
@media (max-width: 480px) {
    .hero-content {
        padding: var(--espaco-sm);
    }

    .page-header {
        padding: var(--espaco-md);
    }
}
