﻿:root {
    --navy: #071426;
    --blue: #12365f;
    --gold: #b9852b;
    --green: #1f9d6a;
    --ink: #172033;
    --muted: #657084;
    --line: #e8e1d6;
    --paper: #fbf7ef;
    --soft: #f2efe8;
    --white: #fff;
    --shadow: 0 18px 55px rgba(7, 20, 38, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, "Segoe UI", Arial, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: 16px; top: -80px; background: var(--navy); color: var(--white); padding: 10px 14px; z-index: 20; }
.skip-link:focus { top: 16px; }
.cabecalho { position: sticky; top: 0; z-index: 10; background: rgba(251, 247, 239, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.cabecalho-conteudo { min-height: 88px; display: flex; align-items: center; gap: 26px; }
.logo { color: var(--navy); font-size: 1.45rem; font-weight: 900; text-decoration: none; margin-right: auto; }
.logo span { color: var(--gold); }
.navegacao ul { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.navegacao a { color: #576173; font-weight: 800; text-decoration: none; }
.navegacao a:hover { color: var(--navy); }
.botao { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 900; text-decoration: none; cursor: pointer; }
.botao-primario, .botao-cabecalho { background: var(--navy); color: var(--white); }
.botao-secundario { border-color: var(--navy); color: var(--navy); background: transparent; }
.botao-neutro { border-color: var(--line); background: var(--white); color: var(--ink); }
.botao-pequeno { min-height: 42px; padding-inline: 18px; white-space: nowrap; }
.hero { overflow: hidden; padding: clamp(70px, 9vw, 125px) 0 80px; background: linear-gradient(110deg, #fbf7ef 0%, #f6f2ea 60%, #edf6f0 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.eyebrow { color: var(--gold); font-size: .82rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 12px; }
h1, h2, h3 { color: var(--navy); line-height: 1.08; margin: 0 0 18px; }
h1 { font-size: clamp(2.5rem, 6.4vw, 5.8rem); letter-spacing: 0; }
h2 { font-size: clamp(2rem, 3.3vw, 3.3rem); }
h3 { font-size: 1.28rem; }
.hero-subtexto, .texto-grande { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: #485469; max-width: 720px; }
.acoes { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }
.hero-metricas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 30px 0 0; }
.hero-metricas div { border-top: 1px solid var(--line); padding-top: 14px; }
.hero-metricas dt { color: var(--navy); font-size: 1.35rem; font-weight: 950; }
.hero-metricas dd { margin: 0; color: var(--muted); font-weight: 700; }
.hero-media { margin: 0; padding: 14px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.faixa-confianca { background: var(--navy); color: var(--white); }
.pilares { display: flex; flex-wrap: wrap; gap: 12px 30px; justify-content: space-between; padding: 18px 0; font-weight: 850; }
.secao { padding: clamp(64px, 8vw, 104px) 0; }
.secao:nth-of-type(even) { background: var(--white); }
.cabecalho-secao { max-width: 760px; margin-bottom: 34px; }
.cabecalho-secao p { color: var(--muted); }
.grid-duas-colunas, .pagamentos-grid, .contacto-grid, .newsletter-grid, .faq-layout, .sessao-grid, .media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 70px); align-items: center; }
.imagem-editorial, .media-grid figure { margin: 0; }
.imagem-editorial img, .media-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }
.imagem-editorial img { aspect-ratio: 1 / 1; }
.imagem-formacao { margin: 0; }
.imagem-formacao img { aspect-ratio: 4 / 5; object-position: center; }
.imagem-sessao { margin: 20px 0 0; max-width: 260px; }
.imagem-sessao img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }
.painel-editorial { min-height: 360px; display: grid; align-content: end; gap: 14px; padding: clamp(26px, 4vw, 42px); border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(145deg, var(--navy), var(--blue)); color: var(--white); box-shadow: var(--shadow); }
.painel-editorial span { color: var(--gold); font-size: .84rem; font-weight: 950; letter-spacing: .14em; text-transform: uppercase; }
.painel-editorial h3, .painel-editorial p { color: var(--white); margin: 0; }
.painel-editorial p { color: #dbe4ef; }
.painel-formacao { background: linear-gradient(145deg, #0f2d24, #1f6f50); }
.credenciais { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.credenciais span { background: #efe6d7; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font-weight: 800; color: var(--blue); }
.grade-servicos, .grade-cursos, .grade-conteudos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grade-servicos article, .grade-cursos article, .grade-conteudos article, .cartao-pagamento, .painel-preco, .faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 24px; box-shadow: 0 10px 30px rgba(7, 20, 38, .06); }
.grade-conteudos article { overflow: hidden; }
.conteudo-imagem { width: calc(100% + 48px); max-width: none; height: 290px; margin: -24px -24px 24px; object-fit: cover; object-position: center 24%; }
.grade-servicos span { display: inline-block; color: var(--gold); font-weight: 950; margin-bottom: 18px; }
.grade-servicos a, .grade-cursos a { color: var(--blue); font-weight: 900; }
.secao-destaque { background: #eaf4ee; }
.painel-preco h2 { font-size: clamp(2.8rem, 5vw, 4.8rem); }
.painel-preco h2 span { font-size: 1.1rem; color: var(--muted); }
.lista-check { padding: 0; list-style: none; }
.lista-check li { margin: 10px 0; padding-left: 30px; position: relative; }
.lista-check li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 950; }
.aviso-servico { color: #5d4932; background: #fff4df; border: 1px solid #ead7ac; border-radius: 8px; padding: 14px; }
.selector-pais { border: 1px solid var(--line); border-radius: 8px; padding: 18px; display: grid; gap: 10px; }
.selector-pais legend { font-weight: 900; color: var(--navy); }
.muted { color: var(--muted); }
.faq-item { margin-bottom: 12px; padding: 0; overflow: hidden; }
.faq-item button { width: 100%; border: 0; background: transparent; color: var(--navy); padding: 18px 20px; text-align: left; font: inherit; font-weight: 900; cursor: pointer; }
.faq-item div { padding: 0 20px 18px; color: var(--muted); }
.formulario { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 24px; box-shadow: var(--shadow); }
.duas-colunas-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.campo { display: grid; gap: 7px; margin-bottom: 14px; }
.campo label { font-weight: 850; color: var(--navy); }
.campo input, .campo textarea, .campo select { width: 100%; border: 1px solid #d7d1c8; border-radius: 8px; padding: 12px 13px; font: inherit; background: #fffdfa; }
.campo-inline { display: grid; grid-template-columns: auto 1fr; align-items: start; }
.campo-erro { margin: 0; color: #a43428; font-weight: 800; }
.contactos-rapidos { display: grid; gap: 10px; margin-top: 20px; }
.contactos-rapidos a { color: var(--blue); font-weight: 900; }
.rodape { background: var(--navy); color: #e8edf5; padding: 54px 0 20px; }
.rodape .logo, .rodape h2 { color: var(--white); }
.rodape-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr 1fr; gap: 28px; }
.rodape ul { list-style: none; padding: 0; margin: 0; }
.rodape a { color: #e8edf5; }
.rodape-base { border-top: 1px solid rgba(255,255,255,.16); margin-top: 30px; padding-top: 18px; display: flex; justify-content: space-between; gap: 20px; }
.link-botao { border: 0; background: transparent; color: #e8edf5; text-decoration: underline; cursor: pointer; font: inherit; }
.assistente-flutuante { position: fixed; right: 18px; bottom: 18px; z-index: 12; display: flex; gap: 10px; align-items: center; }
.whatsapp-flutuante, .chatbot-toggle { border: 0; border-radius: 999px; padding: 12px 16px; color: var(--white); background: var(--green); font-weight: 900; text-decoration: none; box-shadow: var(--shadow); cursor: pointer; }
.chatbot-toggle { background: var(--navy); }
.chatbot, .cookie-banner { position: fixed; z-index: 13; background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.chatbot { right: 18px; bottom: 76px; width: min(380px, calc(100% - 36px)); overflow: hidden; }
.chatbot header { background: var(--navy); color: var(--white); padding: 16px; display: flex; justify-content: space-between; gap: 14px; }
.chatbot header h2, .chatbot header p { margin: 0; color: var(--white); }
.chatbot header button { background: transparent; border: 0; color: var(--white); font-size: 1.6rem; cursor: pointer; }
.chatbot-mensagens, .chatbot-opcoes, .chatbot-form { padding: 14px; }
.chatbot-mensagens { max-height: 240px; overflow: auto; display: grid; gap: 10px; }
.msg { padding: 10px 12px; border-radius: 8px; background: var(--soft); }
.msg.user { background: #dff3e8; justify-self: end; }
.chatbot-opcoes { display: flex; flex-wrap: wrap; gap: 8px; }
.chatbot-opcoes button { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 10px; cursor: pointer; }
.chatbot-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; border-top: 1px solid var(--line); }
.chatbot-form input { border: 1px solid var(--line); border-radius: 8px; padding: 10px; }
.chatbot-form button { border: 0; border-radius: 8px; background: var(--navy); color: var(--white); font-weight: 900; padding: 10px 12px; }
.navegacao form { margin: 0; }
.link-como-botao { appearance: none; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.cookie-banner { left: 18px; right: 18px; bottom: 18px; padding: 18px; display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.cookie-acoes { display: flex; gap: 10px; flex-wrap: wrap; }
.notificacoes { position: fixed; top: 100px; right: 18px; z-index: 30; display: grid; gap: 10px; }
.notificacao { background: var(--navy); color: var(--white); padding: 12px 14px; border-radius: 8px; box-shadow: var(--shadow); }
.notificacao-erro { background: #a43428; }
.notificacao-sucesso { background: var(--green); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 980px) {
    .cabecalho-conteudo { flex-wrap: wrap; padding: 14px 0; }
    .navegacao { order: 3; width: 100%; overflow-x: auto; }
    .navegacao ul { min-width: max-content; }
    .hero-grid, .grid-duas-colunas, .pagamentos-grid, .contacto-grid, .newsletter-grid, .faq-layout, .sessao-grid, .media-grid { grid-template-columns: 1fr; }
    .grade-servicos, .grade-cursos, .grade-conteudos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rodape-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .container { width: min(100% - 28px, 1180px); }
    .cabecalho-conteudo { gap: 14px; }
    .botao-cabecalho { display: none; }
    .hero { padding-top: 46px; }
    .hero-metricas, .grade-servicos, .grade-cursos, .grade-conteudos, .duas-colunas-form, .rodape-grid { grid-template-columns: 1fr; }
    .pilares { display: grid; grid-template-columns: 1fr 1fr; }
    .rodape-base, .cookie-banner { display: grid; }
    .assistente-flutuante { left: 14px; right: 14px; justify-content: end; }
}
