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

/* Estilos Base e VariÃ¡veis do Pacote Advanced - EXPANDIDO */
:root {
    --primary-color: #5D54A4; /* Tom roxo/lavanda para a marca */
    --secondary-color: #FFC300; /* Destaque */
    --text-color: #333;
    --light-bg: #f8f8f8;
    --grey-text: #6b7280; /* Cor para texto do footer */
    --light-border: #f3f4f6; /* Cor para borda do footer */
    --transition-speed: 0.3s; /* NOVO: VariÃ¡vel para transiÃ§Ãµes */
    --primary-color: #5D54A4;
    --secondary-color: #FFC300;
    --accent-soft: #f0effb; /* Novo: Roxo muito suave para fundos */
    --text-main: #2d2e32;
    --spacing-section: 100px; /* Mais espaÃ§o entre secÃ§Ãµes */
}
/* --- RESOLUÃ‡ÃƒO DEFINITIVA BANNERS --- */
#hero {
    width: 100vw !important;
    height: 80vh !important; /* Altura garantida */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    margin-top: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover !important;
    background-position: center !important;
}

/* ForÃ§ar os tÃ­tulos dentro do banner a serem BRANCOS e GRANDES */
#hero h1 {
    color: white !important;
    font-size: clamp(2.5rem, 8vw, 4rem) !important;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.6) !important;
    margin: 0 !important;
}

#hero p {
    color: white !important;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.5) !important;
}

/* Evita o scroll lateral causado pelo 100vw */
body {
    overflow-x: hidden;
    margin: 0;
}

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

body {
    font-family: 'Poppins', sans-serif; /* FONTE ATUALIZADA */
    line-height: 1.7; /* MAIOR RESPIRAÃ‡ÃƒO/LEITURA */
    color: var(--text-color);
    background-color: white;
}

h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 25px; /* MAIS ESPAÃ‡O */
    font-weight: 600;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; }
p { margin-bottom: 15px; } /* ESPAÃ‡O APÃ“S PARÃGRAFOS */

/* NOVO: Foco de acessibilidade */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: relative; /* Permite que o nav se guie pelo centro do header */
}

/* CentralizaÃ§Ã£o do Menu */
header nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
}

/* Estilo dos Links: Sempre Amarelos */
header nav a {
    text-decoration: none;
    color: var(--secondary-color) !important; /* Cor amarela definida nas tuas variÃ¡veis */
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s ease; /* TransiÃ§Ã£o suave para o aumento */
    display: inline-block;
}

/* Efeito ao passar o rato: Aumentar apenas */
header nav a:hover {
    transform: scale(1.2); /* Aumenta 20% o tamanho */
    color: var(--secondary-color) !important; /* Garante que continua amarelo */
}

/* Remove qualquer cor diferente para o link ativo para manter o padrÃ£o amarelo */
header nav a.active {
    border-bottom: 2px solid var(--secondary-color);
}

/* Ajuste para o botÃ£o de contacto nÃ£o fugir do layout */
.btn-contacto {
    position: relative;
    z-index: 10;
}

/* Responsividade para TelemÃ³vel */
@media (max-width: 992px) {
    header nav {
        position: static;
        transform: none;
        display: none; 
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 20px;
    }
    header nav.active {
        display: flex;
    }
}

/* ESTILOS PARA LOGOTIPO DE IMAGEM */
.logo-link {
    /* Define o link como flex container para alinhar verticalmente a imagem */
    display: flex;
    align-items: center;
    margin-right: 1.5rem; /* Adicionar espaÃ§o Ã  direita do logÃ³tipo */
}

.logo-img {
    height: 100px; /* ALTURA DA IMAGEM DO LOGOTIPO */
    width: auto;
    display: block; 
}

.logo {
    display: none; /* Oculta a classe de logotipo de texto se estiver a usar imagem */
}

.right-icon {
    /* AJUSTE: Ãcone Hamburger para mobile */
    font-size: 1.5rem; 
    color: white;
    cursor: pointer;
    transition: color var(--transition-speed);
}
.right-icon:hover {
    color: var(--secondary-color);
}
.right-icon i {
    pointer-events: none; /* Garante que o click Ã© no div pai */
}

/* SecÃ§Ãµes Comuns - MÃXIMA RESPIRAÃ‡ÃƒO */
section {
    padding: 120px 5%; /* AUMENTADO SIGNIFICATIVAMENTE: 120px de espaÃ§o vertical */
    text-align: center;
    transition: opacity var(--transition-speed);
}

/* SecÃ§Ãµes Principais - AINDA MAIS ESPAÃ‡O */
.servicos, .contacto, .institucional, .processo-viagem, .faq, .pacotes-home {
    padding-top: 200px; 
    padding-bottom: 150px; 
}


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

/* Hero Section (Home) - MÃXIMO ESPAÃ‡AMENTO NO TOPO (SEM FUNDO ESPECÃFICO) */
.hero {
    padding: 180px 5%; /* AUMENTADO: 180px de espaÃ§o no topo */
    min-height: 70vh; /* Altura serÃ¡ definida na regra de ID */
}

/* --- ESTILOS DE BANNER (TOPO DE PÃGINAS) --- */

/* Regras Comuns para todas as SecÃ§Ãµes de Banner */
.hero, .institucional, .pacotes, .galeria {
    /* Estas propriedades sÃ£o herdadas por todos os banners, mesmo os sem imagem */
    background-position: center; 
    background-size: cover; 
    background-repeat: no-repeat;
    /* Remove a cor branca e a sombra de texto das regras gerais */
    color: inherit; 
    text-shadow: none;
    min-height: 40vh; /* Altura mÃ­nima para banners internos */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* --- FUNDOS INDIVIDUAIS POR PÃGINA (ID) --- */

/* 1. PÃ¡gina Inicial (ID #home) - Altura maior */
#home.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('back.png'); 
    min-height: 70vh;
    color: white; /* Adiciona cor branca e sombra de texto APENAS nos banners com fundo */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* 2. PÃ¡gina Sobre (ID #sobre) */
/* Procura este bloco e substitui por este cÃ³digo */
#sobre.institucional {
    background-image: url('fundo.png'); 
    min-height: 100vh; /* Ocupa o ecrÃ£ inteiro */
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white; /* Texto branco para contrastar com o fundo escuro */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

/* Adiciona ou atualiza isto logo abaixo para garantir que os tÃ­tulos ficam brancos */
#sobre.institucional h2, 
#sobre.institucional h3 {
    color: white !important;
}

/* 3. PÃ¡gina Contacto (ID #contacto) - AGORA APENAS PARA O CABEÃ‡ALHO */

/* Remove o padding da secÃ§Ã£o principal e deixa o espaÃ§amento ser controlado pelas novas DIVs */
#contacto.contacto {
    padding: 0; 
}

/* Aplica o fundo e estilo de banner apenas ao cabeÃ§alho (topo) */
.contact-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('form.png'); 
    background-position: center; 
    background-size: cover; 
    background-repeat: no-repeat;
    color: white; /* Adiciona cor branca e sombra de texto APENAS nos banners com fundo */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); 
    min-height: 40vh; 
    /* Garante o espaÃ§amento vertical dos banners */
    padding-top: 150px; 
    padding-bottom: 150px; 
}

/* O corpo de contacto onde estÃ¡ o formulÃ¡rio (em branco) */
.contact-body {
    padding: 120px 5%; /* Adiciona o padding normal de secÃ§Ã£o ao corpo */
    text-align: center;
}
.contact-body form {
    margin: 0 auto; /* Centraliza o formulÃ¡rio no body */
}

/* NOVO: BANNER DA GALERIA */
.gallery-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('backgal.png'); /* Assumir imagem */
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    padding: 150px 5%;
}

.gallery-header h2, .gallery-header p {
    color: white;
}

/* NOVO: CORPO DA GALERIA */
.galeria-body {
    /* Remove padding do body da galeria para ser controlado pela classe */
    padding-top: 80px;
    padding-bottom: 120px;
    padding-left: 5%;
    padding-right: 5%;
    text-align: center;
}

/* --- FIM DOS FUNDOS INDIVIDUAIS --- */

/* Ajustar cores de tÃ­tulos em todas as secÃ§Ãµes de Banner */

/* TÃ­tulos em banners com fundo devem ser brancos */
#home.hero h1, #home.hero h2, #home.hero h3,
#sobre.institucional h1, #sobre.institucional h2, #sobre.institucional h3,
.contact-header h2, .contact-header h3,
.gallery-header h2, .gallery-header h3 { 
    color: white; 
}

/* Ajustar a cor do botÃ£o CTA para o fundo escuro */
/* Apenas nos banners com fundo */
#home.hero .cta-button, 
#sobre.institucional .cta-button,
.contact-header .cta-button,
.gallery-header .cta-button { 
    background-color: var(--secondary-color); /* Amarelo */
    color: var(--primary-color); /* Roxo */
}


/* BotÃ£o CTA - MAIS LARGO E VISÃVEL */
.cta-button {
    background-color: var(--secondary-color);
    color: var(--text-color);
    border: none;
    text-decoration: none;
    padding: 14px 30px; /* MAIOR */
    font-size: 1.05rem;
    cursor: pointer;
    border-radius: 30px; /* MAIS ARREDONDADO */
    margin-top: 25px; 
    transition: background-color var(--transition-speed), transform var(--transition-speed), box-shadow var(--transition-speed); 
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: #FFB300; 
    transform: translateY(-2px); 
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.secondary-cta {
    background-color: var(--primary-color);
    color: white;
}
.secondary-cta:hover {
    background-color: #4D448C; 
}

.small-button { /* Novo estilo para botÃµes nos cards (opcional) */
    padding: 8px 15px;
    font-size: 0.9rem;
    display: inline-block;
    width: auto;
    margin-top: 15px;
}

/* Aumenta o espaÃ§amento do botÃ£o CTA na secÃ§Ã£o "features" */
.features .secondary-cta {
    margin-top: 45px; /* Mantido em 45px para mais distÃ¢ncia do grid de features */
}

/* Grid de Feature Cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed); 
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.icon-lg {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Pacotes (ServiÃ§os e Home) */
.home-teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pacote-card {
    border: 1px solid var(--light-bg);
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
    transition: box-shadow var(--transition-speed), transform var(--transition-speed);
}
.pacote-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.pacote-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.pacote-info {
    padding: 20px;
}

.pacote-info h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-top: 15px;
}

.pacote-card .cta-button {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 15px;
}

/* Search Bar (servicos.html) - Para dar espaÃ§o Ã  busca */
.search-bar {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px; 
}
.search-bar input, .search-bar select {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    flex-grow: 1;
    max-width: 300px;
}
.search-bar button {
    margin-top: 0; 
}

/* Testemunhos */
.testemunho-card {
    max-width: 700px;
    margin: 30px auto;
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: 10px;
}

blockquote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.author {
    font-weight: 600;
    color: var(--primary-color);
}


/* Estilos de Contacto (Geral) */
/* CORRIGIDO: Deve usar .contact-body, que Ã© a classe na sua tag <section> */
.contact-body form { 
    max-width: 600px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px; 
    text-align: left;
}

/* CORRIGIDO: Aplicando a seletor com mais especificidade para garantir 100% de largura */
.contact-body form input, 
.contact-body form textarea {
    width: 100%; /* Garante que os campos ocupem toda a largura */
    
    padding: 15px; 
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed); 
}

/* CORRIGIDO: Seletor de foco */
.contact-body form input:focus, 
.contact-body form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(93, 84, 164, 0.2);
}

/* CORRIGIDO: Seletor para textarea */
.contact-body form textarea {
    resize: vertical;
    min-height: 150px;
}

/* CORRIGIDO: Seletor para o botÃ£o CTA */
.contact-body form .cta-button {
    width: 100%;
    margin-top: 10px;
}

/* Estilos da Galeria - NOVOS ESTILOS COM ANIMAÃ‡Ã•ES */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.galeria-item {
    background-color: white;
    border-radius: 10px; /* Mais arredondado */
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* TransiÃ§Ã£o de hover mais suave */
    text-align: left; /* Alinha o texto da legenda Ã  esquerda */
}

/* Container da Imagem com AnimaÃ§Ã£o (Zoom) */
.galeria-img-container {
    position: relative;
    overflow: hidden;
}

.galeria-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease-in-out; /* TransiÃ§Ã£o para o zoom */
}

/* Efeito de Overlay (aparece ao passar o rato) */
.galeria-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(93, 84, 164, 0.6); /* Roxo da marca com transparÃªncia */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.galeria-overlay span {
    color: white;
    border: 2px solid white;
    padding: 10px 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

/* HOVER EFFECTS - AS ANIMAÃ‡Ã•ES! */
.galeria-item:hover img {
    transform: scale(1.1); /* Zoom na imagem */
}

.galeria-item:hover .galeria-overlay {
    opacity: 1; /* Mostra o overlay */
}

.galeria-overlay:hover span {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Legenda (Caption) */
.galeria-caption {
    padding: 20px;
    text-align: center;
}

.galeria-caption h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.galeria-caption p {
    font-size: 0.95rem;
    color: var(--grey-text);
    margin-bottom: 0;
}

/* --- FIM DOS ESTILOS DA GALERIA --- */


/* Processo (Sobre) */
.processo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}
.processo-step {
    padding: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
}
.processo-step h3 {
    font-size: 1.25rem;
    margin-top: 15px;
    margin-bottom: 10px;
}

/* FAQ (Sobre) - Estilos para AcordeÃ£o */
/* Atualiza este bloco */
.faq-item {
    max-width: 800px; 
    margin: 25px auto; /* Aumentado para 25px para dar mais respiraÃ§Ã£o */
    border-bottom: none; 
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    transition: background-color var(--transition-speed);
}
.faq-question:hover {
    background-color: var(--light-bg);
}

/* Substitui o conteÃºdo deste bloco */
.faq-answer {
    background-color: transparent; /* Remove o fundo branco se preferires */
    border: none !important; /* Retira todas as bordas */
    border-top: none !important;
    border-radius: 0;
    text-align: center;
    padding: 20px;
    margin-top: 15px; /* Cria o espaÃ§o para nÃ£o ficar colado ao botÃ£o amarelo */
    line-height: 1.6;
    transition: all 0.4s ease-out;
}

.faq-answer.hidden {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    visibility: hidden; 
}

/* Footer - Corrigido o alinhamento central */
.rich-footer {
    background-color: var(--light-bg);
    color: var(--grey-text);
    padding: 50px 0;
    margin-top: 50px; 
    border-top: 1px solid var(--light-border);
    font-size: 0.9rem;
    text-align: center; 
}

.rich-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center; 
}

.rich-footer .text-xs {
    color: #999;
}

.social-links {
    margin-bottom: 20px;
}
.social-icon {
    font-size: 1.5rem;
    color: var(--grey-text);
    margin: 0 10px;
    transition: color var(--transition-speed);
}

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

.developer-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}
.developer-link:hover {
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
    /* Ajuste o padding para telas pequenas */
    section {
        padding: 70px 3%; /* Aumentado para 70px no mobile */
    }
    
    /* Aumentar o espaÃ§amento da secÃ§Ã£o de serviÃ§os (ou qualquer outra secÃ§Ã£o com a classe container) */
    .servicos, .contacto, .institucional, .processo-viagem, .faq, .pacotes-home {
        padding-top: 90px; /* Aumentado para 90px no mobile */
        padding-bottom: 90px; /* Aumentado para 90px no mobile */
    }
    
    /* Ajustes especÃ­ficos para o corpo da galeria no mobile */
    .galeria-body {
        padding-top: 70px;
        padding-bottom: 70px;
        padding-left: 3%;
        padding-right: 3%;
    }

    /* ConfiguraÃ§Ã£o de Menu Mobile */
    header nav {
        display: none; 
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        text-align: center;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

    header nav a {
        padding: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    header nav.active {
        display: flex; 
    }
    
    .right-icon {
        font-size: 1.5rem; 
    }

    /* Usar o Ã­cone de menu no mobile */
    .right-icon i.fa-user-circle {
        display: none;
    }
    .right-icon i.fa-bars {
        display: inline-block;
    }
}

/* Garante que o menu estÃ¡ visÃ­vel no desktop */
@media (min-width: 769px) {
    header nav {
        display: flex !important; 
        flex-direction: row;
        position: static;
        width: auto;
    }
    
    /* Usar o Ã­cone de utilizador no desktop */
    .right-icon i.fa-bars {
        display: none;
    }
    .right-icon i.fa-user-circle {
        display: inline-block;
    }
}
/* ... (Manter todo o seu cÃ³digo anterior de variÃ¡veis e estilos base) ... */

/* --- NOVOS AJUSTES DE ESPAÃ‡AMENTO E LAYOUT --- */

/* 1. Afastar o botÃ£o "Ver Todos os Pacotes" dos cartÃµes acima */
.btn-margin-top {
    display: inline-block;
    margin-top: 60px !important; /* Aumenta a distÃ¢ncia dos botÃµes "Ver Detalhes" */
}

/* 2. Afastar o tÃ­tulo da secÃ§Ã£o dos testemunhos */
.section-title-margin {
    margin-bottom: 50px !important;
}

/* 3. Colocar testemunhos em linha horizontal */
.testemunhos-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap; /* Garante que no mobile eles quebrem a linha se necessÃ¡rio */
    margin-bottom: 50px; /* EspaÃ§o antes do botÃ£o de baixo */
}

/* Ajuste no card de testemunho para caberem em linha */
.testemunho-card {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    margin: 0 !important; /* Remove o margin: 30px auto anterior */
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Ajuste responsivo para Testemunhos no Mobile */
@media (max-width: 768px) {
    .testemunhos-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .testemunho-card {
        width: 100%;
        max-width: 100%;
    }
}
/* --- AJUSTES NA PÃGINA SOBRE --- */

/* 1. Imagem em ecrÃ£ inteiro e mais clara */
#sobre.institucional {
    background-image: url('fundo.png'); 
    min-height: 100vh; /* Ocupa o ecrÃ£ inteiro */
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--text-color); /* Texto escuro para contrastar com fundo claro */
    text-shadow: none; /* Remove a sombra para ficar mais limpo */
}

/* Garantir que os tÃ­tulos no banner claro sejam roxos */
#sobre.institucional h2, 
#sobre.institucional h3 {
    color: var(--primary-color) !important;
}

/* 2. Afastar a secÃ§Ã£o FAQ dos cartÃµes acima */
.faq {
    margin-top: 100px; /* Grande espaÃ§amento vertical */
    padding-bottom: 120px;
}

/* 3. Perguntas Frequentes no centro com fundo amarelo */
.faq-item {
    max-width: 800px; /* Limita a largura para ficar elegante no centro */
    margin: 15px auto; /* Centraliza horizontalmente e dÃ¡ espaÃ§o entre perguntas */
    border-bottom: none; /* Remove a linha de baixo antiga */
}

.faq-question {
    background-color: var(--secondary-color); /* Amarelo dos Ã­cones */
    color: var(--primary-color); /* Texto roxo para contraste */
    text-align: center; /* Centraliza o texto da pergunta */
    border-radius: 10px; /* Cantos arredondados */
    padding: 20px;
    font-size: 1.2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.faq-question:hover {
    background-color: #FFB300; /* Um tom de amarelo ligeiramente mais escuro ao passar o rato */
}

.faq-answer {
    background-color: white;
    border: 2px solid var(--secondary-color);
    border-top: none;
    border-radius: 0 0 10px 10px;
    margin-top: -5px; /* Une a resposta Ã  pergunta amarela */
    text-align: center;
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* --- ESTILOS BASE --- */
:root {
    --primary-color: #5D54A4;
    --secondary-color: #FFC300;
    --text-color: #333;
    --light-bg: #f8f8f8;
    --grey-text: #6b7280;
    --light-border: #f3f4f6;
    --transition-speed: 0.3s;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: white;
}

h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 600;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; }
p { margin-bottom: 15px; }

/* Header e NavegaÃ§Ã£o */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

header a {
    color: white;
    text-decoration: none;
    transition: color var(--transition-speed); 
}

header nav a {
    padding: 0.5rem 1rem;
}

header a:hover {
    color: var(--secondary-color);
}

.logo-img {
    height: 100px;
    width: auto;
    display: block; 
}

.right-icon {
    font-size: 1.5rem; 
    color: white;
    cursor: pointer;
}

/* SecÃ§Ãµes Comuns */
section {
    padding: 120px 5%;
    text-align: center;
}

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

/* --- BANNER INICIAL (INDEX) --- */
#home.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('back.png'); 
    background-size: cover;
    background-position: center;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

#home.hero h1, #home.hero h3 { color: white; }

/* --- PÃGINA SOBRE (CORRIGIDO: ECRÃƒ INTEIRO E OPACIDADE) --- */
#sobre.institucional {
    /* Opacidade ajustada para 0.45 para a imagem aparecer mais */
    background-image: url('fundo.png'); 
    background-size: cover;
    background-position: center;
    min-height: 100vh; /* EcrÃ£ inteiro */
    width: 100%; /* ForÃ§a largura total */
    max-width: 100% !important; 
    padding: 150px 0; /* EspaÃ§o para o conteÃºdo */
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--text-color);
    text-shadow: none;
}

#sobre.institucional h2, #sobre.institucional h3 {
    color: var(--primary-color) !important;
}

/* --- GRID DE PACOTES E CARDS --- */
.home-teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pacote-card {
    border: 1px solid var(--light-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: transform var(--transition-speed);
}

.pacote-card img { width: 100%; height: 200px; object-fit: cover; }
.pacote-info { padding: 20px; text-align: left; }
.price { font-size: 1.4rem; font-weight: 700; color: var(--secondary-color); }

/* --- BOTÃ•ES --- */
.cta-button {
    background-color: var(--secondary-color);
    color: var(--text-color);
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 30px;
    display: inline-block;
    margin-top: 25px; 
    font-weight: 600;
    transition: 0.3s;
}

.btn-margin-top {
    display: inline-block;
    margin-top: 60px !important;
}

/* --- TESTEMUNHOS EM LINHA --- */
.testemunhos-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.testemunho-card {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    padding: 30px;
    background-color: var(--light-bg);
    border-radius: 10px;
}

/* --- FAQ (CORRIGIDO: ESPAÃ‡AMENTO E BALÃ•ES) --- */
.faq {
    margin-top: 100px;
    padding-bottom: 120px;
}

.faq-item {
    max-width: 800px;
    margin: 25px auto; /* Mais espaÃ§o entre perguntas */
}

.faq-question {
    width: 100%;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-align: center;
    padding: 22px;
    font-size: 1.15rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.faq-answer {
    background-color: white;
    border: 2px solid var(--secondary-color);
    border-radius: 10px; /* Agora Ã© um balÃ£o completo */
    margin-top: 20px; /* ESPAÃ‡O REAL ENTRE PERGUNTA E RESPOSTA */
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.faq-answer.hidden { display: none; }

/* --- GALERIA E ANIMAÃ‡Ã•ES (TEU CÃ“DIGO ORIGINAL) --- */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.galeria-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s;
}

.galeria-item:hover img { transform: scale(1.1); }

.galeria-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.5s;
}

/* --- CONTACTO (TEU CÃ“DIGO ORIGINAL) --- */
.contact-body form {
    max-width: 600px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-body form input, .contact-body form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* --- FOOTER E RESPONSIVIDADE --- */
.rich-footer {
    background-color: var(--light-bg);
    padding: 50px 0;
    text-align: center;
}

@media (max-width: 768px) {
    header nav { display: none; position: absolute; width: 100%; top: 100%; left: 0; background: var(--primary-color); flex-direction: column; }
    header nav.active { display: flex; }
    #sobre.institucional { min-height: auto; padding: 100px 5%; }
    .testemunhos-grid { flex-direction: column; align-items: center; }
}
/* Nova classe para o conteÃºdo textual abaixo do banner */
.sobre-conteudo {
    background-color: white; /* Garante que o fundo do texto Ã© branco */
    color: var(--text-color); /* Usa a cor de texto escura definida nas variÃ¡veis */
    text-align: left; /* Alinhamento Ã  esquerda para melhor leitura */
    padding-top: 80px; /* EspaÃ§o entre a imagem e o inÃ­cio do texto */
    padding-bottom: 80px; /* EspaÃ§o antes da prÃ³xima secÃ§Ã£o (Processo) */
}

.sobre-conteudo h3 {
    margin-top: 30px;
    color: var(--primary-color); /* MantÃ©m o roxo nos subtÃ­tulos */
}

/* Ajuste do Banner (ID #sobre) */
#sobre.institucional {
    min-height: 80vh; /* Reduzi de 100vh para 60vh para nÃ£o ocupar o ecrÃ£ todo, jÃ¡ que o texto estÃ¡ em baixo */
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Estilo para a nova secÃ§Ã£o amarela */
.fundo-amarelo {
    background-color: var(--secondary-color) !important; /* Cor amarela dos Ã­cones */
    padding: 100px 5%;
}

/* CentralizaÃ§Ã£o do conteÃºdo */
.container-centrado {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center; /* Centra o texto horizontalmente */
    max-width: 900px; /* Largura reduzida para melhor leitura no centro */
    margin: 0 auto;
}

/* Ajuste das cores dos tÃ­tulos dentro do fundo amarelo para contraste */
.fundo-amarelo h3 {
    color: var(--primary-color); /* MantÃ©m os subtÃ­tulos roxos */
    margin-top: 40px;
}

.fundo-amarelo p {
    color: var(--text-color); /* MantÃ©m o texto escuro para legibilidade */
    font-size: 1.1rem;
}

/* Garante que o banner de cima nÃ£o ocupa o ecrÃ£ todo */
#sobre.institucional {
    min-height: 50vh; 
}
/* Grelha de Pacotes - 2 filas de 3 */
.pacote-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colunas iguais */
    gap: 30px;
    margin-bottom: 60px;
}

.pacote-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.pacote-card:hover {
    transform: translateY(-10px);
}

.pacote-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.pacote-info {
    padding: 20px;
}

/* SecÃ§Ã£o CTA Contactos */
.cta-contatos-section {
    background-color: var(--light-bg);
    padding: 50px 20px;
    border-radius: 15px;
    margin-top: 40px;
}

/* Estilos da Modal (Janela de Detalhes) */
.modal {
    display: none; 
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.8);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.close-modal {
    position: absolute;
    right: 20px; top: 10px;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary-color);
}

/* Responsividade para tablets/telemÃ³veis */
@media (max-width: 992px) {
    .pacote-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .pacote-list { grid-template-columns: 1fr; }
}
header {
    display: flex;
    justify-content: space-between; /* MantÃ©m o logo num lado e o resto no outro */
    align-items: center;
    padding: 20px 5%;
    position: relative; /* NecessÃ¡rio para o posicionamento absoluto do nav */
}

/* ForÃ§ar o menu (nav) para o centro absoluto da pÃ¡gina */
header nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
}

header nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s;
}

header nav a:hover, header nav a.active {
    color: var(--primary-color);
}

/* Garante que o botÃ£o de contacto e o Ã­cone Ã  direita nÃ£o fiquem em cima do menu */
.btn-contacto, .right-icon {
    position: relative;
    z-index: 10;
}

/* Responsividade: No telemÃ³vel, o menu nÃ£o pode estar no centro absoluto */
@media (max-width: 768px) {
    header nav {
        position: static;
        transform: none;
        display: none; /* O JS controla a exibiÃ§Ã£o aqui */
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    
    header nav.active {
        display: flex;
    }
}
/* 1. Ajuste do Banner para ser IGUAL ao do Sobre */
/* Regra especÃ­fica para igualar o banner de serviÃ§os ao da pÃ¡gina sobre */
#servicos-banner.institucional {
    height: 80vh !important;
    min-height: 80vh !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* 2. CentralizaÃ§Ã£o absoluta dos filtros */
.search-bar {
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    align-items: center;
    gap: 20px;
    margin: 40px auto 60px auto; /* Aumenta margem baixo para afastar dos pacotes */
    max-width: 800px;
}

/* 3. Alinhamento dos BotÃµes no fundo do card */
.pacote-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pacote-card {
    display: flex;
    flex-direction: column; /* Faz o card ser uma coluna flexÃ­vel */
    height: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.pacote-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Ocupa o espaÃ§o todo para empurrar o resto */
}

.pacote-info h3 { margin-bottom: 10px; }

.pacote-info p {
    flex-grow: 1; /* Empurra o preÃ§o e botÃ£o para baixo */
    margin-bottom: 15px;
}

.pacote-info .price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-color);
    margin-top: auto; /* ReforÃ§a o alinhamento no fundo */
    margin-bottom: 15px;
}

.pacote-info .cta-button {
    width: 100%;
    text-align: center;
}




/* FORÃ‡AR TODOS OS BANNERS A TEREM O MESMO TAMANHO (BASEADO NA HOME) */
#home.hero, 
#sobre.institucional, 
.contact-header, 
.gallery-header, 
#servicos-banner.institucional {
    min-height: 70vh !important; /* Altura da tua primeira pÃ¡gina */
    height: 70vh !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 5% !important; /* Remove paddings excessivos que mudam o tamanho visual */
    background-size: cover !important;
    background-position: center !important;
    width: 100% !important;
    box-sizing: border-box;
}
/* UNIFORMIZAR TÃTULOS DOS BANNERS */
#home.hero h1, 
#sobre.institucional h2, 
.contact-header h2, 
.gallery-header h2, 
#servicos-banner.institucional h2 {
    color: white !important;
    font-size: 2.8rem !important; /* Tamanho do tÃ­tulo da Home */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7) !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}

/* Ajuste para os subtÃ­tulos (H3 ou P) nos banners */
#home.hero h3, 
#sobre.institucional h3, 
.contact-header p, 
.gallery-header p, 
#servicos-banner.institucional p {
    color: white !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7) !important;
    font-size: 1.2rem !important;
    opacity: 0.9;
}
/* CENTRAR OS CARTÃ•ES DA HOME (OS MAIS VENDIDOS) */
.home-teaser-grid {
    display: grid !important;
    /* Define o tamanho das colunas, mas sem forÃ§ar a ocupar o ecrÃ£ todo */
    grid-template-columns: repeat(auto-fit, 300px) !important; 
    gap: 30px !important;
    justify-content: center !important; /* ESTA LINHA FAZ A MAGIA: Centra os cartÃµes */
    margin-top: 40px !important;
    width: 100% !important;
}

/* Garante que o tÃ­tulo da secÃ§Ã£o e o texto tambÃ©m estejam centrados */
.pacotes-home {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}
/* Aumentar o botÃ£o principal da Home */
#home.hero .cta-button {
    padding: 18px 45px !important; /* Aumentado significativamente */
    font-size: 1.2rem !important;
    letter-spacing: 1px;
}

/* EspaÃ§o entre o Banner e o TÃ­tulo "PorquÃª Viajar..." */
.features {
    padding-top: 150px !important; /* Aumenta o respiro apÃ³s o banner */
}
/* Nova secÃ§Ã£o elegante para o manifesto */
.manifesto-section {
    background-color: white !important; /* Remove o fundo amarelo */
    padding: 100px 10%;
    margin-bottom: 80px; /* Afasta da secÃ§Ã£o de Processo */
}

.manifesto-content {
    max-width: 900px;
    margin: 0 auto;
    border-left: 4px solid var(--primary-color); /* Detalhe lateral roxo */
    padding-left: 40px;
    text-align: left;
}

.manifesto-content p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-color);
    font-style: italic;
}
/* Remover a linha amarela do item ativo */
header nav a.active {
    border-bottom: none !important; /* Remove a linha */
    padding-bottom: 0;
    color: var(--secondary-color) !important; /* MantÃ©m apenas a cor amarela no texto */
}
/* 1. Reduzir o espaÃ§o entre o banner e "PorquÃª Viajar..." */
.features {
    padding-top: 80px !important; /* Estava 150px, agora mais equilibrado */
    padding-bottom: 60px !important;
}

/* 2. Afastar o tÃ­tulo "Os Mais Vendidos do MÃªs" dos cartÃµes */
.pacotes-home h2 {
    margin-bottom: 50px !important; /* Cria distÃ¢ncia para os cartÃµes */
}

/* 3. Ajustar o botÃ£o "Ver Todos os Pacotes" */
/* Aproxima dos cartÃµes e afasta dos testemunhos */
.cta-button.secondary-cta {
    margin-top: 20px !important;    /* Mais perto dos cartÃµes */
    margin-bottom: 100px !important; /* Mais afastado do tÃ­tulo "O que os Nossos Clientes Dizem" */
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

/* 4. Garantir que a grid de cartÃµes nÃ£o tenha uma margem inferior gigante */
.home-teaser-grid {
    margin-bottom: 0 !important;
}
/* AJUSTE FINO DE ESPAÃ‡AMENTO */
#testemunhos {
    margin-top: 40px !important; /* Reduzi de 80px para 40px */
    padding-top: 20px !important;
}

/* Reduzir tambÃ©m a margem inferior do botÃ£o para aproximar o tÃ­tulo */
.cta-button.secondary-cta {
    margin-bottom: 40px !important; /* Reduzi de 100px para 40px */
}
/* DESIGN MODERNO DE CONTACTO */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 20px;
}

.contact-info-column h2 {
    text-align: left;
    margin-bottom: 20px;
}

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

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: #f0efff;
    padding: 15px;
    border-radius: 12px;
}

.info-item span {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--grey-text);
}

/* CartÃ£o do FormulÃ¡rio */
.contact-form-column {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

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

.modern-form input, .modern-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fdfdfd;
    font-family: inherit;
    transition: 0.3s;
}

.modern-form input:focus, .modern-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    background: white;
}

.modern-form textarea {
    height: 150px;
    resize: none;
}

/* Responsivo para telemÃ³vel */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        margin: 40px auto;
    }
}
/* ALINHAR TÃTULOS DE CONTACTO Ã€ ESQUERDA */
.contact-info-column {
    text-align: left !important; /* ForÃ§a o alinhamento do texto Ã  esquerda */
}

.info-item {
    display: flex;
    align-items: flex-start !important; /* Alinha o Ã­cone e o texto pelo topo */
    justify-content: flex-start !important; /* Garante que tudo comeÃ§a Ã  esquerda */
    text-align: left !important;
}

.info-item div {
    display: flex;
    flex-direction: column;
    align-items: flex-start !important; /* Alinha o span e o p Ã  esquerda */
}

.info-item span {
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--primary-color); /* O teu roxo */
    text-align: left !important;
}
/* Ajustes para ecrÃ£s atÃ© 768px (TelemÃ³veis e Tablets) */
@media (max-width: 768px) {
    header {
        padding: 10px 5% !important;
        position: relative;
    }

    /* Esconde o menu normal e prepara para o modo vertical */
    nav {
        display: none; /* SÃ³ aparece quando o menu-toggle for clicado */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-color, #5D54A4);
        padding: 20px 0;
        z-index: 1000;
    }

    /* Se o menu estiver ativo (via JS), mostre-o */
    nav.active {
        display: flex;
    }

    nav a {
        padding: 15px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
        text-align: center;
    }

    .right-icon {
        display: flex !important;
        gap: 15px;
        align-items: center;
    }
}
@media (max-width: 768px) {
    /* Ajusta o contentor dos pacotes para empilhar em vez de esticar */
    .services-container, 
    .packages-grid { 
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        padding: 0 20px !important;
    }

    /* Garante que cada card individual tenha largura total */
    .service-card, 
    .package-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    /* Ajusta as imagens dentro dos cards para nÃ£o distorcerem */
    .service-card img, 
    .package-card img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}
@media (max-width: 768px) {
    #home.hero h1, 
    .contact-header h2 {
        font-size: 1.8rem !important; /* Diminui o tamanho da fonte no telemÃ³vel */
        padding: 0 10px;
    }

    #home.hero p {
        font-size: 1rem !important;
    }
}
/* ============================================================
   RESET TOTAL PARA TELEMÃ“VEL - COLA NO FIM DE TUDO
   ============================================================ */

@media (max-width: 768px) {
    /* CORREÃ‡ÃƒO DOS PACOTES ESMAGADOS */
    .services-container, 
    .packages-grid, 
    #servicos-banner.institucional {
        display: block !important; /* Remove as colunas e empilha */
        width: 100% !important;
        padding: 10px !important;
    }

    .service-card, 
    .package-card {
        display: block !important;
        width: 95% !important; /* Ocupa quase a largura toda */
        margin: 0 auto 30px auto !important; /* Centra e dÃ¡ espaÃ§o abaixo */
        min-width: 0 !important;
    }

    .service-card img, 
    .package-card img {
        width: 100% !important;
        height: 200px !important; /* Altura fixa para nÃ£o deformar */
        object-fit: cover !important;
    }

    /* CORREÃ‡ÃƒO DO MENU HAMBURGUER */
    header {
        position: relative !important;
        justify-content: space-between !important;
    }

    nav {
        display: none; /* Escondido por padrÃ£o */
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        background: #5D54A4 !important; /* Teu roxo */
        flex-direction: column !important;
        z-index: 9999 !important;
    }

    /* Quando clicas no menu, esta classe Ã© ativada via JS */
    nav.active {
        display: flex !important;
    }

    nav a {
        padding: 20px !important;
        text-align: center !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    }

    /* Esconder Ã­cones desnecessÃ¡rios no mobile se quiseres */
    .right-icon .fa-user-circle {
        display: none !important;
    }
}
/* ============================================================
   SOLUÃ‡ÃƒO DEFINITIVA PARA PACOTES NO TELEMÃ“VEL
   ============================================================ */

@media (max-width: 768px) {
    /* 1. ForÃ§ar o contentor a esquecer que Ã© uma grelha */
    .services-container, 
    .packages-grid, 
    #servicos-banner.institucional {
        display: block !important; 
        width: 100% !important;
        padding: 10px !important;
    }

    /* 2. ForÃ§ar CADA CARTÃƒO a ser um bloco independente e ocupar tudo */
    .service-card, 
    .package-card {
        display: block !important;
        width: 90% !important; /* DÃ¡ um pouco de margem nas pontas */
        margin: 0 auto 30px auto !important; /* Centra o card e dÃ¡ espaÃ§o abaixo */
        float: none !important; /* Garante que nÃ£o flutuam */
        clear: both !important;
    }

    /* 3. Ajustar as imagens para nÃ£o ficarem deformadas */
    .service-card img, 
    .package-card img {
        width: 100% !important;
        height: 250px !important; /* Altura fixa para manter o padrÃ£o */
        object-fit: cover !important;
        border-radius: 15px 15px 0 0 !important;
    }

    /* 4. Ajustar o conteÃºdo interno do card */
    .package-content, .service-content {
        padding: 20px !important;
        text-align: center !important;
    }
}
/* ============================================================
   FORÃ‡AR EMPILHAMENTO VERTICAL (MOBILE)
   ============================================================ */

@media (max-width: 768px) {
    /* 1. ForÃ§ar o contentor a ocupar a largura total sem grelha */
    .services-container, 
    .packages-grid, 
    #servicos-banner.institucional {
        display: block !important;
        width: 100% !important;
        padding: 20px 10px !important;
    }

    /* 2. O SEGREDO: ForÃ§ar cada cartÃ£o a ignorar larguras antigas */
    .service-card, 
    .package-card {
        display: block !important;
        width: 100% !important;   /* Ocupa a largura do telemÃ³vel */
        max-width: 100% !important; 
        min-width: 100% !important; /* Mata o esmagamento lateral */
        margin: 0 0 30px 0 !important; /* EspaÃ§o entre eles */
        box-sizing: border-box !important;
    }

    /* 3. Ajustar as imagens para nÃ£o ficarem "esticadas" ou "esmagadas" */
    .service-card img, 
    .package-card img {
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important;
        object-fit: cover !important;
    }
}
/* ============================================================
   SOLUÃ‡ÃƒO ÃšNICA E DEFINITIVA PARA RESPONSIVIDADE
   ============================================================ */

@media (max-width: 768px) {
    /* 1. RESET DE GRELHAS E FLEXBOX */
    /* Isto obriga os contentores a pararem de tentar colocar itens lado a lado */
    .services-container, 
    .packages-grid, 
    .pacote-list,
    .home-teaser-grid,
    #servicos-banner.institucional,
    .contact-container {
        display: block !important; 
        width: 100% !important;
        padding: 10px !important;
        margin: 0 auto !important;
    }

    /* 2. RESET DOS CARTÃ•ES (CARDS) */
    /* ForÃ§a cada cartÃ£o a ser um bloco que ocupa a largura toda */
    .service-card, 
    .package-card, 
    .pacote-card,
    .feature-card {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        margin: 0 0 30px 0 !important; /* EspaÃ§o entre cartÃµes */
        float: none !important;
        position: static !important;
    }

    /* 3. IMAGENS DOS CARTÃ•ES */
    .service-card img, 
    .package-card img, 
    .pacote-card img {
        width: 100% !important;
        height: 250px !important; /* Altura fixa para nÃ£o esmagar */
        object-fit: cover !important;
    }

    /* 4. MENU HAMBURGUER (ESTILO BALÃƒO) */
    header {
        position: relative !important;
        flex-wrap: wrap !important;
    }

    nav {
        display: none; 
        flex-direction: column !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        background: #5D54A4 !important; /* Teu roxo */
        z-index: 9999 !important;
        padding: 20px 0 !important;
    }

    nav.active {
        display: flex !important;
    }

    nav a {
        width: 100% !important;
        text-align: center !important;
        padding: 15px !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    }
}
/* AJUSTES ESPECÃFICOS PARA MOBILE */
@media (max-width: 768px) {

    /* 1. BAIXAR O TÃTULO "OS NOSSOS PACOTES" */
    /* Adiciona espaÃ§o no topo especificamente neste banner */
    #servicos-banner.institucional {
        padding-top: 180px !important; 
    }

    /* 2. AUMENTAR O "CONTACTE-NOS" */
    /* ForÃ§a o tamanho igual aos outros (1.8rem ou 2rem conforme preferires) */
    .contact-header h2 {
        font-size: 2.4rem !important;
        text-align: center !important;
        width: 100% !important;
        display: block !important;
    }
}
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    line-height: 1.8;
}

section {
    padding: var(--spacing-section) 20px; /* DÃ¡ "ar" ao site */
}

/* Efeito Premium nos Cards de Destino */
.pacote-card, .galeria-item {
    border: none !important;
    border-radius: 20px !important;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
    background: white;
}

.pacote-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(93, 84, 164, 0.15) !important;
}

/* BotÃµes mais orgÃ¢nicos */
.cta-button {
    border-radius: 50px !important;
    padding: 15px 35px !important;
    text-transform: none !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
}
/* GALERIA - Estilo Mural de InspiraÃ§Ã£o */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; /* Mais espaÃ§o entre fotos */
    padding: 20px 0;
}

.galeria-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.galeria-item img {
    transition: transform 0.6s ease;
}

.galeria-item:hover img {
    transform: scale(1.1); /* Zoom suave na foto */
}

.galeria-overlay {
    background: linear-gradient(to top, rgba(93, 84, 164, 0.8), transparent) !important;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s;
}

.galeria-item:hover .galeria-overlay {
    opacity: 1;
}

/* PACOTES (SERVIÃ‡OS) - CartÃµes Elevados */
.pacote-card {
    background: #ffffff;
    border: none !important;
    padding: 0; /* Imagem encostada ao topo */
    text-align: left !important;
}

.pacote-card h3 {
    padding: 20px 20px 5px 20px;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.pacote-card p {
    padding: 0 20px 20px 20px;
    color: #666;
    font-style: italic; /* DÃ¡ um toque mais sofisticado */
}

.pacote-card .preco {
    padding: 10px 20px;
    font-weight: 700;
    color: var(--text-color);
    border-top: 1px solid #f0f0f0;
}
/* --- DESIGN DO MODAL DE ITINERÃRIO --- */
.modal {
    display: none; 
    position: fixed; 
    z-index: 10000; 
    left: 0; top: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px); /* Efeito de vidro fosco no fundo */
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 850px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Estilo da Lista de ItinerÃ¡rio (O "Acompanhamento") */
.itinerario-lista {
    list-style: none;
    padding: 20px 0;
    position: relative;
}

.itinerario-lista li {
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
    border-left: 2px solid var(--primary-color);
    margin-left: 15px;
}

.itinerario-lista li strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.nota-especial {
    background: #f0effb;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    margin-top: 25px;
    font-size: 0.95rem;
}

/* BotÃ£o dentro do Modal */
.modal-footer-info .cta-button {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    transition: 0.3s;
}

.modal-footer-info .cta-button:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 35px;
    cursor: pointer;
    color: white;
    z-index: 10001;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}
/* ConfiguraÃ§Ã£o para 2 linhas de 3 pacotes */
#pacotes-grid {
    display: grid;
    /* ForÃ§a 3 colunas de tamanho igual */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; /* EspaÃ§o entre os cartÃµes */
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* Garante que em tablets e telemÃ³veis o layout nÃ£o quebre */
@media (max-width: 1024px) {
    #pacotes-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas em tablets */
    }
}

@media (max-width: 768px) {
    #pacotes-grid {
        grid-template-columns: 1fr; /* 1 coluna em telemÃ³veis */
    }
}
/* Garante que o modal permite scroll se o texto for longo */
.modal {
    display: none; 
    position: fixed; 
    z-index: 10000; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    
    /* ESTAS LINHAS SÃƒO A SOLUÃ‡ÃƒO: */
    overflow-y: auto; /* Permite scroll vertical no fundo preto */
    padding: 20px;    /* DÃ¡ margem para nÃ£o colar aos bordos */
    align-items: flex-start; /* Alinha ao topo para poderes descer */
}

.modal-content {
    background: white;
    width: 95%;
    max-width: 800px;
    margin: 50px auto; /* Garante que o modal nÃ£o fica colado ao topo do navegador */
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    /* Removemos o max-height fixo para o modal crescer conforme o texto */
}

/* Garante que o botÃ£o de fechar (X) acompanha o scroll ou fica fixo */
.close-modal {
    position: fixed; /* Fica sempre visÃ­vel no canto superior direito */
    right: 30px;
    top: 20px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 10001;
}
/* --- NOVA GALERIA MOSAICO --- */
.mosaico-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 250px;
    grid-auto-flow: dense; /* Preenche os espaÃ§os vazios automaticamente */
    gap: 20px;
    padding: 40px 0;
}

.mosaico-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.mosaico-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Classes para variar o tamanho das fotos */
.mosaico-item.tall { grid-row: span 2; }
.mosaico-item.wide { grid-column: span 2; }

.mosaico-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px;
    opacity: 0;
    transition: 0.3s;
}

.mosaico-item:hover .mosaico-info { opacity: 1; }
.mosaico-item:hover img { transform: scale(1.1); }

/* --- SISTEMA LIGHTBOX (IMAGEM GRANDE) --- */
.lightbox {
    display: none; /* Escondido por padrÃ£o */
    position: fixed;
    z-index: 10000;
    left: 0; top: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.close-lightbox {
    position: absolute;
    top: 30px; right: 40px;
    color: white;
    font-size: 50px;
    cursor: pointer;
    line-height: 1;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 30px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
}

.prev { left: 30px; }
.next { right: 30px; }
.prev:hover, .next:hover { background: var(--primary-color); }


.gallery-header h1 {
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3); /* Adiciona uma sombra leve para leitura fÃ¡cil */
}

.gallery-header p {
    color: #ffffff;
    opacity: 0.9;
}
/* --- ANIMAÃ‡Ã•ES DE REVEAL --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0, 0.2, 1); /* Curva suave e elegante */
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- HEADER BOUTIQUE --- */
header {
    transition: all 0.4s ease;
    padding: 20px 0;
}

header.header-scrolled {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px); /* Efeito de vidro fosco */
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* --- DETALHES DE REFINAMENTO --- */
body {
    line-height: 1.7; /* Melhor legibilidade */
    color: #333;
}

.cta-button {
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

/* Garante que o tÃ­tulo branco na galeria funciona */
.gallery-header h1 {
    color: white !important;
    font-weight: 700;
    letter-spacing: -1px;
}
/* --- CORES PERSONALIZADAS (AJUSTA SE PRECISARES) --- */
:root {
    --primary-color: #5D54A3; /* Roxo principal */
    --secondary-color: #FFC107; /* Amarelo (para CTAs) */
    --text-color: #333;
    --light-bg: #f8f8f8;
    --light-border: #eee;
    --dark-bg: #222;
}

/* --- ESTILOS GLOBAIS MAIS MODERNOS --- */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background-color: #ffffff; /* Fundo branco puro */
    overflow-x: hidden; /* Previne scroll horizontal acidental */
}

/* --- HEADER BOUTIQUE (AGORA COM GRADIENTE E BORDER-BOTTOM) --- */
header {
    background: linear-gradient(to right, var(--primary-color), #7f6ee6); /* Gradiente suave */
    padding: 15px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

header a {
    color: #ffffff; /* Links brancos no header */
    text-decoration: none;
    padding: 10px 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 5px;
}

header a:hover, header a.active {
    background-color: rgba(255,255,255,0.15);
    color: var(--secondary-color); /* Amarelo no hover */
}

.header-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-scrolled a {
    color: var(--primary-color); /* Roxo quando com scroll */
}

.header-scrolled a:hover, .header-scrolled a.active {
    background-color: rgba(93, 84, 164, 0.1); /* Roxo claro no hover */
    color: var(--secondary-color);
}


/* --- CTAs (BotÃµes) com Efeito 3D --- */
.cta-button {
    background: var(--secondary-color);
    color: white;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
    transition: all 0.4s cubic-bezier(0.2, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-5px); /* Efeito "levitar" */
    box-shadow: 0 15px 35px rgba(255, 193, 7, 0.6);
}

/* --- SCROLL REVEAL ANIMATIONS (Mais Suave e Atrasado) --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1); /* Curva "ease-out-expo" */
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Atrasos para elementos consecutivos */
.pacote-card, .mosaico-item {
    transition-delay: var(--delay); /* Usado no JS */
}

/* --- CARTÃ•ES DOS PACOTES (COM LEVE ROTAÃ‡ÃƒO E SOMBRA MAIS SUAVE) --- */
.pacote-card {
    transition: all 0.6s ease;
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08); /* Sombra mais destacada */
    border-radius: 18px;
    overflow: hidden;
}

.pacote-card:hover {
    transform: translateY(-10px) rotateZ(1deg); /* Levitar e pequena rotaÃ§Ã£o */
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
}

.pacote-card img {
    border-radius: 18px 18px 0 0;
}

/* --- MOSAICO DA GALERIA (Bordas mais suaves e transiÃ§Ãµes rÃ¡pidas) --- */
.mosaico-item {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.mosaico-item:hover img {
    transform: scale(1.15);
    filter: brightness(0.7);
}

.mosaico-info {
    padding: 25px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
}

/* --- LIGHTBOX (Melhor Backdrop e AnimaÃ§Ã£o) --- */
.lightbox {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content img {
    animation: scaleIn 0.4s cubic-bezier(0.2, 0, 0.2, 1);
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-lightbox, .prev, .next {
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.prev:hover, .next:hover {
    transform: translateY(-50%) scale(1.1); /* AnimaÃ§Ã£o nas setas */
    color: var(--secondary-color);
}

/* --- MODAL (ITINERÃRIOS) com Glassmorphism --- */
.modal-content {
    background: rgba(255, 255, 255, 0.95); /* Quase branco, mas transparente */
    backdrop-filter: blur(15px); /* Efeito de vidro */
    border-radius: 25px; /* Bordas mais suaves */
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.modal-header-image {
    border-radius: 25px 25px 0 0; /* Acompanha o novo border-radius */
}

/* --- FOOOTER (Com um toque mais clean) --- */
.rich-footer {
    padding: 60px 0;
    background-color: var(--dark-bg); /* Fundo mais escuro */
    color: rgba(255,255,255,0.7);
}

.rich-footer .social-icon {
    color: rgba(255,255,255,0.4);
    transition: color 0.3s ease;
}
.rich-footer .social-icon:hover {
    color: var(--secondary-color);
}
/* Remove qualquer espaÃ§amento indesejado nos banners */
.modal-content {
    max-width: 900px; /* Modal ligeiramente mais largo para a foto brilhar */
    padding: 0;       /* A imagem encosta no topo e nas laterais */
    overflow-y: auto;
}

.modal-header-image {
    width: 100%;
    margin: 0;
    border-radius: 20px 20px 0 0; /* MantÃ©m o arredondado apenas no topo */
}

/* Garante que o Hero ocupa a largura total do browser */
#hero {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
/* ForÃ§ar Banners a ocupar toda a largura (Full Width) */
.gallery-header, .services-header, .contact-header, .hero-section {
    width: 100vw;               /* Ocupa 100% da largura do ecrÃ£ */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;         /* TÃ©cnica para sair de dentro do container */
    margin-right: -50vw;
    height: 70vh;               /* Altura generosa (70% do ecrÃ£) */
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover !important;
    background-position: center !important;
    margin-top: 0;
    margin-bottom: 60px;        /* EspaÃ§o para o conteÃºdo que vem abaixo */
}

/* Ajuste do texto dentro dos banners para nÃ£o ficar colado Ã s bordas */
.gallery-header .container, 
.services-header .container, 
.contact-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Adiciona isto ao teu style.css para o formulÃ¡rio de contacto */
.contact-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-top: -80px; /* Faz o formulÃ¡rio sobrepor-se Ã  foto do banner */
    position: relative;
    z-index: 10;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
/* --- RESET E FORÃ‡A BRUTA PARA BANNERS GIGANTES --- */
#hero {
    width: 100vw !important;
    height: 70vh !important; /* Altura de impacto */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    margin-top: 0 !important;
    margin-bottom: 50px !important;
    
    display: flex !important;
    align-items: center;
    justify-content: center;
    
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    overflow: hidden;
}

/* Overlay escuro para garantir que o texto branco se lÃª sempre */
#hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.5));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 20px;
}

/* --- CORREÃ‡ÃƒO DO CONTAINER --- */
/* Garante que o corpo da pÃ¡gina nÃ£o coma a largura do Hero */
body {
    overflow-x: hidden; /* Evita scroll lateral por causa do 100vw */
}
/* AJUSTE MÍNIMO PARA BANNERS GIGANTES */
#hero, .gallery-header, .services-header, .contact-header {
    width: 100vw !important;
    height: 75vh !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-size: cover !important;
    background-position: center !important;
}

/* FORÇAR TÍTULOS DO BANNER A BRANCO */
#hero h1, .gallery-header h1, .services-header h1, .contact-header h1 {
    color: white !important;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5) !important;
}

#hero p, .gallery-header p, .services-header p, .contact-header p {
    color: white !important;
}

/* IMPEDIR SCROLL LATERAL */
body {
    overflow-x: hidden;
}
/* ============================================================
   CORREÇÃO FINAL DE EMERGÊNCIA - BANNERS E CORES
   ============================================================ */

/* 1. Força todos os banners a serem gigantes (Full Width) */
#hero, .gallery-header, .services-header, .contact-header, #servicos-banner {
    width: 100vw !important;
    height: 75vh !important;
    min-height: 450px !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-size: cover !important;
    background-position: center !important;
}

/* 2. Força os títulos dos banners a serem brancos (Mata o Roxo) */
#hero h1, .gallery-header h1, .services-header h1, .contact-header h1, #servicos-banner h1,
#hero p, .gallery-header p, .services-header p, .contact-header p, #servicos-banner p {
    color: white !important;
    text-align: center !important;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.6) !important;
}

/* 3. Garante que os títulos h1 dentro do banner são grandes */
#hero h1, .gallery-header h1, .services-header h1, .contact-header h1 {
    font-size: 3.5rem !important;
    margin-bottom: 10px !important;
    line-height: 1.2 !important;
}

/* 4. Limpeza de segurança para evitar barras de scroll lateral */
body {
    overflow-x: hidden !important;
    width: 100% !important;
}
.logo-link:hover .logo-img {
    transform: scale(1.05); /* Um aumento muito subtil */
}
/* No teu CSS */
.botao-fechar {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 9999; /* Garante que está no topo */
    cursor: pointer;
    padding: 10px; /* Aumenta a área de toque */
}
.close-btn {
    position: absolute; /* Garante que fica sobre o conteúdo */
    top: 20px;
    right: 20px;
    z-index: 1001; /* Deve ser maior que o z-index do modal-content */
    cursor: pointer;
    font-size: 30px;
    color: #fff;
    /* Adiciona isto para facilitar o toque no telemóvel */
    width: 45px; 
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}
