:root {
    /* Cores atualizadas do KitFinTrace */
    --primary-color: #47899F; /* Teal médio */
    --primary-hover-color: #254B70; /* Azul escuro */
    --dark-color: #0C0F22; /* Azul quase preto do Kit */
    --text-color: #374151; /* Mantém uma cor de texto legível */
    --bg-color: #f8f9fa; /* Fundo principal claro */
    --white-color: #FFFFFF;
    --border-color: #E5E7EB; /* Cor de borda clara */

    /* Cores dos blobs ajustadas para o KitFinTrace */
    --blob-color-1: #96C2CD; /* Light Teal do Kit */
    --blob-color-2: #CFD0D2; /* Light Grey do Kit */
    --blob-color-3: #d1f8f0; /* Mantido um tom pastel para variedade */
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', sans-serif; /* Alterado de 'Inter' para 'Poppins' */
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden; /* Garante que não há scroll horizontal indesejado */
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.container { max-width: 1140px; margin: auto; padding: 0 1.5rem; }
h1, h2, h3 {
    color: var(--dark-color);
    font-weight: 600;
    font-family: 'Poppins', sans-serif; /* Garante que os títulos usam Poppins */
}
h1 { font-size: 3.2rem; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 1.5rem; }
h2 { font-size: 2.2rem; text-align: center; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
section { padding: 6rem 0; }
.section-subtitle { max-width: 600px; margin: 1rem auto 2.5rem; text-align: center; font-size: 1.15rem; line-height: 1.6; }

/* Adicionado para colorir parte do slogan */
.primary-text {
    color: var(--primary-color);
}


.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; will-change: transform; }
.blob-1 { width: 450px; height: 450px; top: -150px; left: -150px; background: var(--blob-color-1); animation: moveBlob 25s infinite alternate; }
.blob-2 { width: 500px; height: 500px; top: 30vh; right: -200px; background: var(--blob-color-2); animation: moveBlob 30s infinite alternate -5s; }
.blob-3 { width: 400px; height: 400px; bottom: -100px; left: 10vw; background: var(--blob-color-3); animation: moveBlob 20s infinite alternate -10s; }
@keyframes moveBlob { from { transform: translate(0, 0) rotate(0deg) scale(1.1); } to { transform: translate(80px, -40px) rotate(90deg) scale(1); } }

.hero-icons { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.bg-icon { position: absolute; animation: float 15s ease-in-out infinite; }
.bg-icon svg { stroke: var(--border-color); fill: none; opacity: 0.7; }
.icon-1 { top: 10%; left: 15%; width: 60px; animation-delay: 0s; } .icon-2 { top: 20%; right: 10%; width: 100px; animation-delay: -5s; } .icon-3 { bottom: 15%; left: 20%; width: 50px; animation-delay: -10s; } .icon-4 { bottom: 25%; right: 25%; width: 70px; animation-delay: -2s; } .icon-5 { top: 60%; left: 5%; width: 90px; animation-delay: -8s; } .icon-6 { top: 5%; right: 30%; width: 40px; animation-delay: -12s; } .icon-7 { top: 80%; left: 60%; width: 80px; animation-delay: -3s; } .icon-8 { top: 50%; left: 45%; width: 45px; animation-delay: -7s; } .icon-9 { top: 10%; left: 85%; width: 65px; animation-delay: -1s; } .icon-10 { bottom: 5%; right: 5%; width: 110px; animation-delay: -14s; } .icon-11 { top: 35%; left: 30%; width: 55px; animation-delay: -6s; } .icon-12 { bottom: 10%; left: 80%; width: 75px; animation-delay: -9s; }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-20px); } 100% { transform: translateY(0px); } }

.hero-content { position: relative; z-index: 2; max-width: 900px; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 3rem; border-radius: 24px; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05); border: 1px solid rgba(255, 255, 255, 0.2); }
.hero-logo {
    width: 100px; /* Logotipo maior e mais proeminente */
    height: 100px;
    margin-bottom: 2rem;
}

/* === ESPAÇAMENTO DO SUBTÍTULO CORRIGIDO === */
.hero-content .subtitle {
    margin-bottom: 3rem; /* ESPAÇAMENTO AUMENTADO PARA DAR DESTAQUE AO BOTÃO */
}

.reveal-mask { display: block; overflow: hidden; }
.reveal-item { transform: translateY(110%); transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-mask.visible .reveal-item { transform: translateY(0); }
.reveal-mask:has(h1), .reveal-mask:has(h2) { transition-delay: 100ms; }
.reveal-mask:has(p), .reveal-mask:has(figcaption), .feature-card .reveal-mask { transition-delay: 200ms; }
.reveal-mask:has(a) { transition-delay: 400ms; }

.cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; background-color: var(--primary-color); color: var(--white-color); padding: 0.9rem 2.2rem; border-radius: 12px; text-decoration: none; font-size: 1.05rem; font-weight: 500; transition: all 0.3s ease; border: 1px solid transparent; }
.cta-button i { font-size: 1.4rem; transition: transform 0.3s ease; }
.cta-button:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(71, 137, 159, 0.2); /* Sombra com base na nova cor primária */ }
.cta-button:hover i { transform: translateX(4px); }
.cta-button-dark { background-color: var(--dark-color); border: 1px solid var(--primary-color); }
.cta-button-dark:hover { background-color: var(--primary-hover-color); border-color: var(--primary-hover-color); } /* Ajustado para nova cor de hover */

#features { background-color: var(--bg-color); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 4rem; }
.feature-card { background-color: var(--white-color); padding: 2.5rem; border-radius: 16px; border: 1px solid var(--border-color); box-shadow: 0 4px 12px rgba(0,0,0,0.02); text-align: center; transition: transform 0.4s ease, box-shadow 0.4s ease; }
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(71, 137, 159, 0.1); /* Sombra com base na nova cor primária */ }
.feature-card i { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 1rem; display: inline-block; }

#visuals { background-color: var(--white-color); }
.screenshot-container { overflow: hidden; border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.liquid-image { width: 100%; display: block; transform: skewY(var(--skew-y, 0deg)); transition: transform 0.15s ease-out; cursor: pointer; }
.screenshots-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; margin-top: 4rem; }
.screenshot-item figcaption { text-align: center; margin-top: 1.5rem; font-style: italic; color: #6c757d; }

#footer { position: relative; background-color: var(--dark-color); color: #adb5bd; padding: 0; }
.wave-separator { line-height: 0; }
.wave-separator svg { position: relative; display: block; width: 100%; height: 80px; transform: rotate(180deg); background-color: var(--white-color); }
.wave-separator path { fill: var(--dark-color); }
.footer-cta { text-align: center; padding: 5rem 0; }
.footer-cta h2 { color: var(--white-color); }
.footer-cta .section-subtitle { color: #adb5bd; }
.footer-divider { width: 100%; border: none; height: 1px; background-color: rgba(255, 255, 255, 0.1); margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem; padding: 2.5rem 0; }
.footer-brand { text-align: left; display: flex; align-items: center; gap: 1rem; }
.footer-brand .footer-logo { width: 40px; height: 40px; margin-bottom: 0; filter: brightness(0) invert(1); /* Garante que o logo aparece branco no fundo escuro */ }
.footer-links h4 {
    color: var(--white-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Esconda apenas em ecrãs pequenos se desejar */
@media (max-width: 768px) {
    .footer-links h4 {
        display: none;
    }
}
.footer-links ul { list-style: none; display: flex; gap: 2rem; }
.footer-links ul li { margin-bottom: 0; }
.footer-links ul li a { color: #adb5bd; text-decoration: none; position: relative; transition: color 0.3s ease; padding-bottom: 4px; font-size: 0.9rem; }
.footer-links ul li a:hover { color: var(--white-color); }

.lightbox { position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.85); display: none; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.4s ease; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lightbox.active { display: flex; opacity: 1; }
.lightbox-content { max-width: 90%; max-height: 85vh; border-radius: 16px; animation: zoomIn 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes zoomIn { from { transform: scale(0.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lightbox-close { position: absolute; top: 20px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; transition: all 0.3s; cursor: pointer; text-shadow: 0 0 10px rgba(0,0,0,0.5); }
.lightbox-close:hover { color: #fff; transform: scale(1.1) rotate(90deg); }
.no-scroll { overflow: hidden; }

/* Ajustes para ecrãs de tablet e menores */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero-content {
        padding: 2.5rem; /* Ajusta o padding para um valor intermédio */
    }
}

/* Ajustes para ecrãs de telemóvel (max-width: 768px) */
@media (max-width: 768px) {
    .hero-icons { display: none; }
    .blob { filter: blur(60px); } .blob-2 { display: none; } /* Reduz a complexidade dos blobs */
    section { padding: 4rem 0; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; align-items: center; }
    .footer-links ul { flex-direction: column; gap: 1rem; text-align: center; }
    .footer-cta { padding: 4rem 0; }
    .footer-bottom { padding: 2rem 0; }

    /* Hero section specific adjustments */
    .hero {
        min-height: auto; /* Permite que o hero se adapte à altura do conteúdo */
        padding: 4rem 0; /* Adiciona algum padding vertical */
    }
    .hero-content {
        padding: 2rem 1.2rem; /* Reduz significativamente o padding para ecrãs pequenos */
        border-radius: 16px;
    }
    .hero-logo {
        width: 80px; /* Logotipo um pouco menor */
        height: 80px;
        margin-bottom: 1.5rem;
    }
    h1 { font-size: 2rem; line-height: 1.2; margin-bottom: 1rem; } /* Tamanho da fonte e espaçamento ajustados para h1 */
    .hero-content .subtitle {
        font-size: 1rem; /* Tamanho da fonte do subtítulo reduzido */
        margin-bottom: 2rem; /* Espaçamento ajustado */
    }
    h2 { font-size: 1.8rem; } /* Ajusta h2 para consistência */

    /* ESTILOS QUE MUDAM O FORMULÁRIO PARA EMPILHAR NO MOBILE */
    .waitlist-form {
        flex-direction: column; /* Empilha o input e o botão verticalmente */
        gap: 0.75rem; /* Espaço entre os elementos empilhados */
        background-color: transparent; /* Remove o background do container do formulário */
        border: none; /* Remove a borda do container do formulário */
        box-shadow: none; /* Remove a sombra do container do formulário */
        overflow: visible; /* Permite que os filhos tenham os seus próprios cantos arredondados */
    }
    .waitlist-form:focus-within { /* Reajusta o estilo de foco para o container transparente */
        border-color: transparent;
        box-shadow: none;
    }
    .waitlist-form input[type="email"] {
        width: 100%; /* Faz o input ocupar toda a largura disponível */
        min-width: auto; /* Sobrescreve o min-width anterior */
        border: 1px solid var(--border-color); /* Adiciona a borda de volta ao input */
        border-radius: 12px; /* Adiciona os cantos arredondados de volta ao input */
        padding: 0.8rem 1rem;
        background-color: var(--white-color); /* Garante que o input tem um fundo branco */
        box-shadow: 0 2px 8px rgba(0,0,0,0.05); /* Sombra subtil para o input */
    }
    .waitlist-form input[type="email"]:focus { /* Adiciona estilo de foco ao input em si */
        border-color: var(--primary-color);
        box-shadow: 0 2px 8px rgba(71, 137, 159, 0.2);
    }
    .waitlist-form .cta-button {
        width: 100%; /* Faz o botão ocupar toda a largura disponível */
        border-radius: 12px; /* Adiciona os cantos arredondados de volta ao botão */
        padding: 0.8rem 1.5rem;
    }
    .waitlist-feedback {
        font-size: 0.95rem; /* Ajusta o tamanho da fonte do feedback */
    }

    /* ESTILOS ESPECÍFICOS PARA A PÁGINA DE AGRADECIMENTO NO MOBILE */
    #waitlist-thank-you-content {
        flex-direction: column; /* Garante que tudo empilha verticalmente */
        align-items: center; /* Centraliza horizontalmente os blocos */
        text-align: center; /* Centraliza o texto */
        gap: 2rem; /* Espaçamento entre os blocos principais */
    }

    .thank-you-main {
        display: flex; /* Para alinhar o ícone e o h1 */
        flex-direction: column; /* Empilha o ícone e o h1 */
        align-items: center; /* Centraliza horizontalmente */
        width: 100%; /* Ocupa a largura total */
    }

    #waitlist-thank-you-content h1 {
        font-size: 2.2rem; /* Tamanho do h1 de agradecimento no mobile */
        margin-bottom: 0; /* Controlado pelo gap do thank-you-main */
    }

    .thank-you-message .subtitle {
        max-width: 90%; /* Limita a largura do parágrafo */
        margin: 0 auto; /* Centraliza o parágrafo */
    }

    .thank-you-social {
        width: 100%; /* Ocupa a largura total */
        margin-top: 1.5rem; /* Espaçamento do conteúdo acima */
        text-align: center; /* Centraliza o texto e os ícones sociais */
    }
    .thank-you-social p {
        margin-bottom: 0.75rem; /* Espaçamento entre o texto e os ícones */
    }
    .thank-you-social a {
        font-size: 2.2rem; /* Ícones sociais ligeiramente maiores para toque */
        margin: 0 0.6rem; /* Ajusta o espaçamento entre os ícones */
    }
}

/* Novo media query para ecrãs ainda mais pequenos (ex: iPhone SE, dispositivos antigos) */
@media (max-width: 480px) {
    h1 { font-size: 1.8rem; } /* Reduz ainda mais o h1 */
    .hero-content {
        padding: 1.5rem 0.75rem; /* Padding ainda mais apertado */
    }
    .hero-content .subtitle {
        font-size: 0.9rem; /* Subtítulo ainda mais pequeno */
    }
    .waitlist-form input[type="email"],
    .waitlist-form .cta-button {
        font-size: 0.95rem; /* Fontes menores para o formulário */
        padding: 0.7rem 1.2rem;
    }
    #waitlist-thank-you-content h1 {
        font-size: 1.8rem; /* Ajusta h1 da mensagem de agradecimento */
    }
    .thank-you-icon {
        font-size: 3.5rem; /* Ícone um pouco menor */
    }
    .thank-you-social a {
        font-size: 2rem; /* Ícones sociais menores */
    }
}

/* --- ESTILOS GERAIS PARA O FORMULÁRIO DA LISTA DE ESPERA (VERSÃO DESKTOP / ELEGANT) --- */
/* Estas regras aplicam-se por defeito e são sobrescritas apenas em ecrãs pequenos */
#waitlist-wrapper {
    max-width: 550px;
    margin: 0 auto;
}

.waitlist-form {
    display: flex; /* Fundamental para ter input e botão lado a lado */
    align-items: stretch; /* Garante que input e botão têm a mesma altura */
    background-color: var(--white-color); /* Fundo branco para toda a "unidade" */
    border: 1px solid var(--border-color); /* A borda externa da "unidade" */
    border-radius: 14px; /* Os cantos arredondados da "unidade" */
    overflow: hidden; /* CRÍTICO: Garante que os filhos (input, botão) respeitam o border-radius do pai */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

/* Efeito de destaque quando o utilizador interage com o formulário */
.waitlist-form:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(71, 137, 159, 0.2);
}

.waitlist-form input[type="email"] {
    flex-grow: 1; /* Faz o input ocupar o espaço disponível */
    border: none; /* CRÍTICO: O input NÃO tem borda individual, é o pai que a fornece */
    background: none; /* CRÍTICO: O input NÃO tem background individual, usa o do pai */
    outline: none; /* Remove o outline de foco padrão do browser */
    padding: 0.9rem 1.2rem;
    font-size: 1.05rem;
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    min-width: 150px; /* Previne que o input fique muito pequeno em ecrãs maiores */
}

.waitlist-form input[type="email"]::placeholder {
    color: #9ca3af;
    opacity: 1;
}

/* Ajustes específicos para o botão dentro deste formulário (desktop) */
.waitlist-form .cta-button {
    border-radius: 0; /* CRÍTICO: Remove a borda arredondada individual do botão do lado esquerdo (junto ao input) */
    border: none; /* Remove qualquer borda individual que o botão possa ter */
    margin: 0;
    flex-shrink: 0; /* Impede que o botão encolha */
}

/* Removemos os efeitos de hover que movem o botão para não quebrar o layout da unidade */
.waitlist-form .cta-button:hover {
    transform: none;
    box-shadow: none;
    background-color: var(--primary-hover-color);
}

/* ANIMAÇÃO TADA ATIVADA PARA O ÍCONE BX-GIFT */
.waitlist-form .cta-button:hover i.bx-gift {
    animation: tada 1s ease infinite;
}

@keyframes tada {
    from { transform: scale3d(1, 1, 1); }
    10%, 20% { transform: scale3d(.9, .9, .9) rotate3d(0, 0, 1, -3deg); }
    30%, 50%, 70%, 90% { transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); }
    40%, 60%, 80% { transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); }
    to { transform: scale3d(1, 1, 1); }
}

/* Estilos para a mensagem de feedback */
.waitlist-feedback {
    margin-top: 1rem;
    font-weight: 500;
    font-size: 1.1rem;
    height: 20px;
    transition: all 0.3s ease;
    text-align: center;
}

.waitlist-feedback.success {
    color: #059669; /* Verde */
}

.waitlist-feedback.error {
    color: #DC2626; /* Vermelho */
}

/* --- ESTILOS GERAIS PARA O ESTADO DE AGRADECIMENTO (VERSÃO DESKTOP) --- */
/* Estas regras aplicam-se por defeito e são sobrescritas apenas em ecrãs pequenos */
#waitlist-thank-you-content {
    display: grid;
    /* Define 3 colunas para desktop:
       1. Coluna para o título principal (ícone + h1) - largura flexível, mas com mínimo
       2. Coluna central para a mensagem - ocupa o espaço restante (1fr)
       3. Coluna para os links sociais - largura flexível, mas com mínimo
    */
    grid-template-columns: minmax(150px, 1.5fr) minmax(300px, 2fr) minmax(150px, 1fr);
    gap: 3rem; /* Espaço entre as colunas */
    align-items: start; /* Alinha o conteúdo ao topo das células do grid */
    text-align: left; /* O texto deve ser alinhado à esquerda dentro das células */
    justify-content: center; /* Centra o grid container se não ocupar toda a largura disponível */
}

/* Estilos para o grupo do ícone e título principal */
.thank-you-main {
    display: flex; /* Para alinhar o ícone e o h1 dentro desta célula */
    flex-direction: column; /* Empilha o ícone e o h1 verticalmente */
    align-items: flex-start; /* Alinha o conteúdo à esquerda */
    gap: 0.5rem; /* Pequeno espaçamento entre o ícone e o h1 */
}

.thank-you-icon {
    font-size: 4.5rem; /* Ícone ligeiramente maior para desktop */
    color: var(--primary-color);
    margin-bottom: 0.75rem; /* Espaçamento entre o ícone e o h1 */
    line-height: 1; /* Garante que o ícone ocupa a sua própria linha de altura */
}

#waitlist-thank-you-content h1 { /* Sobrescreve o h1 padrão da página */
    font-size: 2.8rem; /* Um pouco maior para dar impacto */
    line-height: 1.1;
    margin-bottom: 0; /* Reset para o layout de grid */
    color: var(--dark-color); /* Garante a cor correta */
}

/* Estilos para o parágrafo principal */
.thank-you-message .subtitle {
    font-size: 1.15rem; /* Tamanho padrão de subtítulo */
    line-height: 1.6;
    margin-top: 0.5rem; /* Espaçamento do topo */
    max-width: none; /* Remove qualquer limitação de largura que possa ter sido aplicada anteriormente */
    color: var(--text-color); /* Garante a cor correta */
}

/* Estilos para os links sociais */
.thank-you-social {
    margin-top: 0; /* Removido o margin-top global para ajuste no grid */
    align-self: end; /* Alinha este bloco ao final (fundo) da sua célula do grid */
    text-align: right; /* Alinha o conteúdo à direita dentro da sua célula */
}

.thank-you-social p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.thank-you-social a {
    font-size: 1.8rem;
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 0.75rem;
    transition: all 0.3s ease;
}

.thank-you-social a:hover {
    color: var(--primary-hover-color);
    transform: translateY(-3px);
}

/* --- Estilos para Páginas Internas (FAQ, Termos, Privacidade) --- */

/* Cabeçalho para páginas internas */
.internal-header {
    background-color: var(--white-color);
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    position: sticky; /* Torna o cabeçalho pegajoso */
    top: 0; /* Fixa no topo */
    z-index: 100; /* Garante que fica acima de outros elementos */
}

.internal-header .container {
    display: flex;
    justify-content: flex-start; /* Alinha o conteúdo à esquerda */
    align-items: center;
}

.internal-logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 700;
    font-size: 1.5rem; /* Tamanho da fonte para o nome da marca */
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s ease;
}

.internal-logo-link:hover {
    color: var(--primary-color);
}

.internal-logo {
    width: 40px;
    height: 40px;
    filter: brightness(0); /* Faz o logo aparecer escuro em fundo claro */
}

/* Área de conteúdo principal para páginas internas */
.page-main-content {
    background-color: var(--bg-color); /* Fundo consistente com o corpo */
    padding: 6rem 0; /* Espaçamento vertical consistente */
}

.page-header {
    text-align: center;
    margin-bottom: 4rem; /* Espaçamento abaixo do header */
}

.page-header h1 {
    font-size: 3rem; /* Título principal, ligeiramente menor que o do hero */
    line-height: 1.1;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.15rem;
    color: var(--text-color);
    max-width: 700px; /* Largura máxima para o subtítulo */
    margin: 1rem auto 0;
    line-height: 1.6;
}

/* Container para o conteúdo do artigo/FAQ (simula um card) */
.article-container, .faq-container {
    max-width: 800px;
    margin: auto;
    background-color: var(--white-color);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    border: 1px solid var(--border-color);
}

/* Estilos para o conteúdo do artigo (parágrafos, títulos secundários, listas) */
.article-content {
    line-height: 1.8;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif; /* Garante Poppins para o conteúdo */
}

.article-content h2 {
    font-size: 2rem; /* Tamanho consistente com h2 da página principal */
    margin: 3.5rem 0 1.25rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
    color: var(--dark-color);
    font-weight: 700;
}

.article-content h3 {
    font-size: 1.5rem;
    margin: 2.5rem 0 0.75rem;
    color: var(--dark-color);
    font-weight: 600;
}

.article-content p, .article-content ul, .article-content ol {
    margin-bottom: 1.5rem; /* Espaçamento entre blocos de texto */
}

.article-content ul, .article-content ol {
    list-style: disc;
    padding-left: 1.75rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content strong {
    font-weight: 600;
    color: var(--dark-color);
}

/* Estilos específicos para o Acordeão (FAQ) */
.faq-category {
    margin-bottom: 3.5rem;
}

.faq-category h2 {
    font-size: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
    font-weight: 700;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
    background-color: var(--white-color);
    margin-top: -1px; /* Para as bordas se "fundirem" e parecerem uma única linha */
}
.accordion-item:first-of-type { /* Use first-of-type para pegar o primeiro item dentro do seu pai */
    border-top: 1px solid var(--border-color);
}
.accordion-item:last-of-type { /* Use last-of-type para pegar o último item dentro do seu pai */
    border-bottom: none;
}


.accordion-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.25rem 1rem;
    text-align: left;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    background: none; /* Remover background de botão padrão */
    border: none; /* Remover borda de botão padrão */
    color: var(--dark-color);
    font-family: 'Poppins', sans-serif;
}
.accordion-trigger:hover {
    background-color: var(--bg-color);
    color: var(--primary-color);
}
.accordion-trigger[aria-expanded="true"] {
    background-color: var(--bg-color);
    color: var(--dark-color);
}
.accordion-trigger[aria-expanded="true"] .icon {
    transform: rotate(45deg);
    color: var(--dark-color); /* Ícone escuro quando expandido */
}
.accordion-trigger .icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease, color 0.2s ease;
    color: var(--primary-color); /* Ícone com cor primária por defeito */
    flex-shrink: 0; /* Impede que o ícone encolha em ecrãs pequenos */
}

.accordion-content {
    overflow: hidden;
    max-height: 0; /* Fechado por defeito */
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), padding 0.4s ease;
    background-color: var(--bg-color);
    padding-left: 1rem; /* Adiciona padding para o conteúdo alinhado com o trigger */
    padding-right: 1rem;
}
.accordion-content div {
    padding-top: 0.5rem; /* Espaçamento consistente no topo do conteúdo */
    padding-bottom: 1.5rem; /* Espaçamento consistente na base do conteúdo */
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1rem;
}
.accordion-content p {
    margin-bottom: 1rem;
}
.accordion-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}
.accordion-content li {
    margin-bottom: 0.5rem;
}
.accordion-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Rodapé das páginas internas */
/* Remove a secção CTA do rodapé para as páginas internas */
#footer.internal-footer .wave-separator,
#footer.internal-footer .footer-cta,
#footer.internal-footer .footer-divider {
    display: none;
}
#footer.internal-footer .footer-bottom {
    padding: 2.5rem 0; /* Ajusta o padding se a secção CTA for removida */
}


/* --- Responsive Adjustments for Internal Pages --- */
@media (max-width: 992px) {
    .page-main-content {
        padding: 5rem 0; /* Ajusta padding */
    }
    .page-header h1 {
        font-size: 2.5rem;
    }
    .page-header p {
        font-size: 1rem;
        max-width: 90%;
    }
    .article-container, .faq-container {
        padding: 2.5rem 1.5rem;
    }
    .article-content h2, .faq-category h2 {
        font-size: 1.8rem;
        margin: 2.5rem 0 1rem;
        padding-bottom: 0.5rem;
    }
    .article-content h3 {
        font-size: 1.4rem;
        margin: 2rem 0 0.5rem;
    }
    .accordion-trigger {
        font-size: 1.05rem;
        padding: 1.25rem 0.75rem;
    }
    .accordion-content {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .accordion-content div {
        padding-top: 0.5rem;
        padding-bottom: 1.25rem;
    }
}

@media (max-width: 768px) {
    /* Main Content Area */
    .page-main-content {
        padding: 4rem 0;
    }
    .page-header {
        margin-bottom: 3rem;
    }
    .page-header h1 {
        font-size: 2.2rem;
    }
    .page-header p {
        font-size: 0.95rem;
        max-width: 90%;
    }
    .article-container, .faq-container {
        padding: 2rem 1rem;
        border-radius: 12px;
    }
    .article-content h2, .faq-category h2 {
        font-size: 1.6rem;
        margin: 2rem 0 1rem;
    }
    .article-content h3 {
        font-size: 1.3rem;
        margin: 1.5rem 0 0.5rem;
    }
    .accordion-trigger {
        font-size: 1.05rem;
        padding: 1rem 0.75rem;
    }
    .accordion-content {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .accordion-content div {
        padding-top: 0.5rem;
        padding-bottom: 1rem;
    }
    .faq-category {
        margin-bottom: 2.5rem;
    }
    /* Internal Header */
    .internal-logo-link {
        font-size: 1.3rem;
        gap: 0.5rem;
    }
    .internal-logo {
        width: 35px;
        height: 35px;
    }
    /* Footer responsiveness is largely handled by main #footer rules */
}

@media (max-width: 480px) {
    .page-main-content {
        padding: 3rem 0;
    }
    .page-header h1 {
        font-size: 1.8rem;
    }
    .page-header p {
        font-size: 0.9rem;
    }
    .article-container, .faq-container {
        padding: 1.5rem 0.75rem;
    }
    .article-content h2, .faq-category h2 {
        font-size: 1.4rem;
        margin: 1.5rem 0 0.75rem;
    }
    .article-content h3 {
        font-size: 1.2rem;
        margin: 1.25rem 0 0.5rem;
    }
    .accordion-trigger {
        font-size: 1rem;
        padding: 0.9rem 0.5rem;
    }
    .accordion-content {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .accordion-content div {
        padding-top: 0.5rem;
        padding-bottom: 0.9rem;
    }
    .faq-category {
        margin-bottom: 2rem;
    }
}