/* omnai.pt. Só usa tokens de tokens.css. */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fonte-texto);
  font-size: 18px;
  line-height: 1.6;
  color: var(--texto);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }

.contentor { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.contentor.estreito { max-width: 820px; }

h1, h2, h3 { font-family: var(--fonte-titulos); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 22px; }
h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 20px; color: var(--petroleo); }
h3 { font-size: 22px; font-weight: 600; }
.lide { font-size: 20px; color: var(--texto-2); margin-bottom: 28px; }
.etiqueta { font-family: var(--fonte-titulos); font-weight: 600; color: var(--petroleo); margin-bottom: 14px; }

/* Cabeçalho */
.cabecalho { background: var(--nevoa); border-bottom: 1px solid var(--regua); }
.cabecalho-linha { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.logo img { width: 144px; height: 44px; }
.cabecalho nav { display: flex; gap: 28px; font-weight: 700; font-size: 16px; }
.cabecalho nav a { text-decoration: none; }
.cabecalho nav a:hover { text-decoration: underline; }

/* Botões: um principal por secção, em dourado */
.botoes { display: flex; gap: 12px; flex-wrap: wrap; }
.botao {
  display: inline-block; font-family: var(--fonte-titulos); font-weight: 600; font-size: 16px;
  padding: 14px 26px; border-radius: 8px; text-decoration: none; border: 2px solid transparent;
}
.botao-principal { background: var(--dourado); color: var(--grafite); }
.botao-principal:hover { background: var(--dourado-hover); }
.botao-secundario { border-color: var(--petroleo); color: var(--grafite); }
.botao-secundario:hover { background: var(--branco); }

/* Topo */
.topo { background: var(--nevoa); padding: 72px 0 80px; }
.topo-grelha { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 64px; align-items: center; }
.captura { justify-self: center; max-width: 280px; padding: 10px; border-radius: 34px; background: var(--grafite); }
.captura img { border-radius: 25px; }

/* Faixa de factos */
.factos { background: var(--petroleo); color: var(--branco); padding: 28px 0; }
.factos ul { list-style: none; display: flex; flex-wrap: wrap; gap: 16px 56px; align-items: baseline; font-family: var(--fonte-titulos); font-weight: 600; font-size: 22px; }
.factos .numero { font-size: 40px; font-weight: 700; margin-right: 6px; }

/* Secções */
.seccao { padding: 88px 0; }
.seccao.clara { background: var(--nevoa); }
.seccao.escura { background: var(--grafite); color: var(--branco); }
.seccao.escura h2 { color: var(--branco); }
.seccao.escura .lide { color: var(--texto-escuro-2); }
h2.segundo { margin-top: 72px; }

/* Porque existimos: três linhas de texto, sem ícones */
.linhas { margin-top: 12px; }
.linhas div { padding: 20px 0; border-top: 1px solid var(--regua); display: grid; grid-template-columns: 240px 1fr; gap: 24px; }
.linhas dt { font-family: var(--fonte-titulos); font-weight: 600; }
.linhas dd { color: var(--texto-2); }

/* Produtos: linhas, não grelha de cartões */
.produtos { border-bottom: 1px solid var(--regua); }
.produto { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 32px 0; border-top: 1px solid var(--regua); }
.produto .setor { color: var(--petroleo); font-weight: 700; margin-top: 4px; }
/* Logótipos dos produtos: ficheiros oficiais, sem recompor */
.logo-produto { height: 62px; width: auto; margin-left: -10px; }
.logo-produto.palaestra { height: 40px; margin: 10px 0 12px; }
.logo-marca { height: 52px; width: auto; margin-left: -8px; }
.logo-marca.palaestra { height: 34px; margin: 6px 0 0; }
.produto-texto p + p { margin-top: 12px; }
.produto-texto .preco { font-family: var(--fonte-titulos); font-weight: 600; }
.produto-texto a { font-weight: 700; }

/* Como trabalhamos */
.passos { list-style: none; counter-reset: passo; }
.passos li { counter-increment: passo; padding: 20px 0 20px 64px; border-top: 1px solid var(--regua); position: relative; }
.passos li::before {
  content: counter(passo); position: absolute; left: 0; top: 12px;
  font-family: var(--fonte-titulos); font-weight: 700; font-size: 32px; color: var(--petroleo);
}
.passos strong { font-family: var(--fonte-titulos); font-weight: 600; }

.fecho { text-align: left; }

/* Rodapé */
.rodape { background: var(--grafite); color: var(--texto-escuro-2); padding: 36px 0; font-size: 15px; }
.rodape-linha { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.rodape nav { display: flex; gap: 24px; font-weight: 700; }
.rodape nav a { color: var(--branco); text-decoration: none; }
.rodape nav a:hover { text-decoration: underline; }

/* Seletor de língua */
.lingua { display: flex; border: 1px solid var(--regua); border-radius: 8px; overflow: hidden; flex: none; }
.lingua a { font-family: var(--fonte-titulos); font-weight: 600; font-size: 14px; padding: 6px 10px; text-decoration: none; color: var(--texto-2); }
.lingua a[aria-current="true"] { background: var(--branco); color: var(--grafite); }
.cabecalho-linha nav { margin-left: auto; }
.cabecalho nav a { white-space: nowrap; }

.cabecalho nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--dourado); text-decoration-thickness: 2px; }

/* Sobre */
.logo-grande { width: 360px; height: auto; margin: 8px 0 24px; }
.fundador { max-width: 820px; display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.foto { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
.foto-lugar {
  display: flex; align-items: center; justify-content: center; text-align: center;
  border: 2px dashed var(--petroleo); color: var(--petroleo); background: var(--branco);
  font-family: var(--fonte-titulos); font-weight: 600;
}
.ligacao-forte { font-weight: 700; }
.dados-empresa { list-style: none; margin-bottom: 32px; color: var(--texto-escuro-2); }
.dados-empresa li + li { margin-top: 6px; }

@media (max-width: 860px) {
  .topo-grelha { grid-template-columns: 1fr; gap: 40px; }
  .captura { max-width: 240px; }
  .produto, .linhas div { grid-template-columns: 1fr; gap: 10px; }
  .seccao { padding: 64px 0; }
  .topo { padding: 48px 0 56px; }
  .cabecalho nav { gap: 18px; font-size: 15px; }
  .logo img { width: 112px; height: 34px; }
  .fundador { grid-template-columns: 1fr; gap: 32px; }
  .foto { max-width: 280px; }
  .logo-grande { width: 260px; }
  .factos ul { font-size: 18px; }
}
/* Telemóvel: logótipo e língua na primeira linha, menu na segunda */
@media (max-width: 480px) {
  .cabecalho-linha { flex-wrap: wrap; row-gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .lingua { order: 1; margin-left: auto; }
  .lingua a { font-size: 12px; padding: 5px 8px; }
  .cabecalho nav, .cabecalho-linha nav { order: 2; width: 100%; margin-left: 0; gap: 22px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Formulario de contacto (16-11-2026). Campos preenchidos, contorno com contraste. */
.formulario { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-top: 8px; position: relative; }
.formulario .largo { grid-column: 1 / -1; }
.formulario label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.formulario input, .formulario textarea {
  width: 100%; font: inherit; color: var(--texto); background: var(--branco);
  border: 1px solid var(--petroleo); border-radius: 6px; padding: 11px 12px;
}
.formulario textarea { resize: vertical; min-height: 110px; }
.formulario input:focus-visible, .formulario textarea:focus-visible { outline: 3px solid var(--dourado); outline-offset: 1px; }
.formulario .envio { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.formulario button { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.formulario button:disabled { opacity: .6; cursor: default; }
.formulario .estado { margin: 0; font-weight: 700; }
.formulario .estado.certo { color: var(--dourado); }
.formulario .nota { margin: 0; font-size: 14px; color: var(--texto-escuro-2); }
.formulario .armadilha { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .formulario { grid-template-columns: 1fr; } }
