/* ─────────────────────────────────────────────
   adverbe — Assessoria de Comunicação
   Cores retiradas do banner original de adverbe.pt
   ───────────────────────────────────────────── */

:root {
  --roxo: #312783;
  --roxo-claro: #4F469E;
  --ciano: #009EE3;
  --amarelo: #FFD400;
  --azul: #A1DAF7;
  --azul-escuro: #235A7D;
  --azul-texto: #26407A;
  --papel: #FBFAF7;
  --linha: #E4E1D8;
  --tinta-suave: #5B5890;
  --tinta-ténue: #8A87A8;

  --display: 'Bricolage Grotesque', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --texto: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 80px);
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE e Edge antigo */
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge Chromium */
  width: 0;
  height: 0;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--papel);
  color: var(--roxo);
  font-family: var(--texto);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; margin: 0; }
h1 { font-size: clamp(40px, 6.2vw, 88px); line-height: 0.96; }
h2 { font-size: clamp(32px, 4.2vw, 58px); line-height: 1.02; }
p  { margin: 0; }

a { color: var(--ciano); text-decoration: none; }
a:hover { color: var(--roxo); }

:focus-visible { outline: 3px solid var(--ciano); outline-offset: 3px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap > *, .servicos__titulo > *, .equipa__lista > * { min-width: 0; }
h1, h2, h3, address, .etiqueta { overflow-wrap: anywhere; }

.visualmente-oculto {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--roxo); color: var(--papel); padding: 12px 20px;
}
.skip:focus { left: 0; }



.sobrescrito {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--azul-escuro);
}
.sobrescrito--azul { color: var(--ciano); }
.sobrescrito--claro { color: var(--azul); }

.risco { display: inline-block; width: 30px; height: 2px; background: var(--roxo); flex: none; }
.risco--curto { width: 26px; height: 1.5px; background: var(--ciano); }

.ponto-final { color: var(--amarelo); }
.ponto {
  width: 7px; height: 7px; border-radius: 50%; background: var(--amarelo); display: inline-block;
}

.etiqueta {
  display: inline-block; background: var(--amarelo); color: var(--roxo);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 10px;
}
.etiqueta--clara { background: var(--papel); }

/* ── botões ── */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 30px; border-radius: 999px;
  font-size: 16px; font-weight: 600; border: 1.5px solid transparent;
  transition: transform .22s cubic-bezier(0.16, 1, 0.3, 1), background-color .2s ease, color .2s ease, box-shadow .22s ease;
}
.botao:active { transform: scale(0.97); }
.botao--pequeno { min-height: 44px; padding: 0 22px; gap: 9px; font-size: 15px; }
.botao--escuro { background: var(--roxo); color: var(--papel); }
.botao--escuro:hover { background: #241C63; color: var(--papel); transform: translateY(-3px); box-shadow: 0 12px 24px -14px rgba(20, 30, 80, .45); }
.botao--contorno { border-color: var(--roxo); color: var(--roxo); font-weight: 500; }
.botao--contorno:hover { background: var(--roxo); color: var(--papel); transform: translateY(-2px); }
.botao--amarelo { background: var(--amarelo); color: var(--roxo); font-weight: 700; font-size: 17px; }
.botao--amarelo:hover { background: #EFC600; color: var(--roxo); transform: translateY(-3px); box-shadow: 0 12px 24px -14px rgba(20, 30, 80, .35); }
.seta { width: 18px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; transition: transform .24s cubic-bezier(0.16, 1, 0.3, 1); }
.botao--escuro .seta { stroke: var(--amarelo); }
.botao:hover .seta { transform: translateX(5px); }

@media (prefers-reduced-motion: reduce) {
  .botao:hover { transform: none; }
}

/* ── topo ── */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: var(--azul);
  border-bottom: 1px solid transparent;
  transition: background-color .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.topo__interior { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 10px; }
.topo__marca img { width: 152px; height: auto; display: block; }

.menu { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); font-size: 14px; font-weight: 500; }
.menu a { color: var(--roxo); transition: color .18s ease; }
.menu a:hover { color: #1B1550; }
.menu .botao--escuro { color: var(--papel) !important; }
.topo .botao--pequeno {
  min-height: 38px; padding: 0 18px; font-size: 14px;
  color: var(--papel) !important;
  transform: none !important;
  transition: background-color .18s ease, color .18s ease;
}
.topo .botao--pequeno:hover,
.topo .botao--pequeno:active {
  color: var(--papel) !important;
  transform: none !important;
  box-shadow: none !important;
}

.icone-telefone {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.topo__botao-menu {
  display: none; width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%;
  background: var(--roxo); cursor: pointer; align-items: center; justify-content: center;
  color: var(--amarelo);
}
.topo__fechar { display: none; font: 30px/1 var(--texto); }
.topo__botao-menu[aria-expanded="true"] svg { display: none; }
.topo__botao-menu[aria-expanded="true"] .topo__fechar { display: block; }
.topo__botao-menu svg { width: 16px; height: 11px; fill: none; stroke: var(--amarelo); stroke-width: 2; stroke-linecap: round; }

/* ── barra fixa que surge apenas ao fazer scroll ── */
.topo.topo--scrolled {
  background: rgba(251, 250, 247, .94);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--linha);
  box-shadow: 0 4px 20px -8px rgba(20, 30, 80, .12);
}
.topo.topo--scrolled .menu a:not(.botao) {
  color: #4A4680;
}
.topo.topo--scrolled .menu a:not(.botao):hover {
  color: var(--roxo);
}
.topo.topo--scrolled .menu .botao--escuro {
  color: var(--papel) !important;
}

/* No início da página, o cabeçalho usa a versão inversa da marca. */
.topo__sentinela { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }
.topo:not(.topo--scrolled) { background: var(--roxo); }
.topo:not(.topo--scrolled) .topo__marca img { filter: brightness(0) invert(1); }
.topo:not(.topo--scrolled) .menu a:not(.botao) { color: var(--papel); }
.topo:not(.topo--scrolled) .menu a:not(.botao):hover { color: var(--amarelo); }
.topo:not(.topo--scrolled) .botao--pequeno {
  background: var(--papel); color: var(--roxo) !important; box-shadow: none;
}
.topo:not(.topo--scrolled) .botao--pequeno:hover { background: var(--amarelo); color: var(--roxo) !important; }
.topo:not(.topo--scrolled) .topo__botao-menu { background: var(--papel); color: var(--roxo); }
.topo:not(.topo--scrolled) .topo__botao-menu svg { stroke: var(--roxo); }
.topo:not(.topo--scrolled) :focus-visible { outline-color: var(--amarelo); }
@media (max-width: 1024px) {
  .topo:not(.topo--scrolled) .menu { background: var(--roxo); border-bottom-color: var(--roxo-claro); }
  .topo:not(.topo--scrolled) .menu a { border-bottom-color: var(--roxo-claro); }
}
@media (prefers-reduced-motion: reduce) {
  .topo, .topo .menu a, .topo .botao--pequeno { transition: none; }
}

/* ── hero ── */
.hero {
  position: relative;
  background: var(--azul);
  padding-block: clamp(32px, 4vw, 64px);
  overflow: hidden;
}
.hero__grelha {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr);
  gap: 24px; align-items: center;
}
.hero__texto {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
  padding-block: 20px 32px;
}
.hero__texto h1 { color: var(--roxo); font-size: clamp(44px, 5.6vw, 80px); line-height: 1.04; letter-spacing: -.045em; }
.hero__texto .sobrescrito { color: var(--roxo); font-size: 11px; letter-spacing: .16em; }
.chamada { max-width: 40ch; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--azul-texto); text-wrap: pretty; }
.hero__link { display: inline-flex; align-items: center; min-height: 48px; color: var(--roxo); font-size: 15px; font-weight: 500; }
.hero__link:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero .accoes { align-items: center; gap: 24px; }

/* traço de marcador, ligeiramente inclinado como se fosse feito à mão */
.destacado { position: relative; display: inline-block; isolation: isolate; }
.destacado::before {
  content: ""; position: absolute; left: -.07em; right: -.07em; bottom: .015em;
  height: .19em; border-radius: .04em; background: var(--amarelo);
  transform: skewX(-9deg) rotate(-.5deg); transform-origin: left bottom; z-index: -1;
}

.accoes { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 10px; }

/* ── a chave: composição gráfica vibrante com as cores da marca ── */
.chave {
  position: relative; margin: 0; min-width: 0;
  width: 100%; height: clamp(480px, 42vw, 590px);
}
/* disco amarelo solar */
.chave::before {
  content: "";
  position: absolute;
  right: -3%;
  top: 4%;
  width: clamp(260px, 28vw, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--amarelo);
  box-shadow: 0 24px 60px -15px rgba(255, 180, 0, .45);
  pointer-events: none;
  z-index: 0;
}
/* palco roxo profundo para contraste com a chave amarela */
.chave__palco {
  position: absolute; inset: 0 0 48px;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
/* anel orbital ciano */

/* ── partículas ambientais na hero ── */



@keyframes entrarSuave {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes traçoMarcador {
  from { transform: scaleX(0) skewX(-9deg) rotate(-.5deg); }
  to { transform: scaleX(1) skewX(-9deg) rotate(-.5deg); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__texto .sobrescrito { animation: entrarSuave .7s cubic-bezier(0.16, 1, 0.3, 1) .1s backwards; }
  .hero__texto h1 { animation: entrarSuave .85s cubic-bezier(0.16, 1, 0.3, 1) .22s backwards; }
  .destacado::before {
    animation: traçoMarcador .75s cubic-bezier(0.16, 1, 0.3, 1) .7s backwards;
    transform-origin: left bottom;
  }
  .hero__texto .chamada { animation: entrarSuave .8s cubic-bezier(0.16, 1, 0.3, 1) .38s backwards; }
  .hero__texto .accoes { animation: entrarSuave .8s cubic-bezier(0.16, 1, 0.3, 1) .5s backwards; }


  .chave {
    transform: translate(var(--px, 0px), var(--py, 0px));
    transition: transform .12s ease-out;
  }
}
/* rodapé da figura: a legenda ancorada perto da chave, a interação na base */
/* A legenda mora onde o aperto acontece: por baixo do parafuso, com um traço
   a subir até ele. Lê-se na ordem em que o olho desce a chave. */
.chave__legenda {
  position: absolute; left: 30%; bottom: 2px; transform: translateX(-50%);
  margin: 0; max-width: 15ch;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 14px; font-style: italic; line-height: 1.25; text-align: center;
  color: var(--roxo);
  pointer-events: none;
  z-index: 2;
}
.chave__legenda .risco--curto { width: 1.5px; height: 24px; background: var(--ciano); }
.chave__interacao {
  position: absolute; right: 0; bottom: 4px;
  display: flex; align-items: center; gap: 12px;
  z-index: 2;
}
.chave__ajuda { margin: 0; font-size: 11px; color: var(--azul-escuro); opacity: .85; }
.chave__controlos { display: flex; gap: 10px; }
.chave__controlos[hidden], .chave__toggle[hidden] { display: none; }
.chave__toggle {
  border: 0; background: transparent; color: var(--azul-texto);
  font-family: var(--texto); font-size: 11px; font-weight: 500; white-space: nowrap;
  min-height: 44px; padding: 0 8px; border-radius: 6px; cursor: pointer;
  transition: opacity .16s ease, background-color .16s ease;
}
.chave__toggle:hover { opacity: 1; background: rgba(49, 39, 131, .09); }

/* A inclinação pertence à cena 3D. O canvas fica alinhado com o palco,
   para não cortar o conjunto quando a câmara muda de ângulo. */
.chave__palco model-viewer {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 1; pointer-events: auto;
  --poster-color: transparent;
  background: transparent;
}
/* o model-viewer traz uma barra de progresso e um botão de AR próprios */
.chave__palco model-viewer::part(default-progress-bar) { display: none; }
.chave__palco model-viewer::part(default-ar-button) { display: none; }

/* ── definição ── */
.definicao { background: var(--roxo); color: var(--papel); padding-block: clamp(34px, 4vw, 46px); }
.definicao__grelha { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.definicao__termo { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; line-height: 1.12; }
.definicao__termo i { font-family: var(--texto); font-size: 14px; font-weight: 400; color: var(--azul); }
.definicao__texto { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; color: #E4E9FA; }
.definicao__texto strong {
  position: relative;
  color: var(--amarelo);
  display: inline-block;
}
.definicao__texto strong::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  height: 2px;
  background: var(--amarelo);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s cubic-bezier(0.16, 1, 0.3, 1) .25s;
}
.definicao.visivel .definicao__texto strong::after,
[data-revelar].visivel .definicao__texto strong::after {
  transform: scaleX(1);
}

/* ── secções claras ── */
.seccao { padding-block: clamp(56px, 7vw, 92px); }
.seccao__cabeca { display: flex; align-items: flex-end; justify-content: space-between; gap: clamp(28px, 5vw, 60px); margin-bottom: clamp(34px, 4vw, 52px); }
.seccao__cabeca h2 { color: var(--roxo); max-width: 14ch; margin-top: 18px; }
.seccao__nota { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: 380px; color: var(--tinta-suave); }

/* três serviços âncora, em ziguezague: o título troca de lado a cada linha */
.servicos { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linha); }
.servicos li {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(18px, 4vw, 72px); align-items: start;
  padding-block: clamp(30px, 4vw, 58px);
  border-bottom: 1px solid var(--linha);
}
.servicos li:nth-child(even) { padding-left: clamp(0px, 9vw, 150px); }
.servicos li:nth-child(even) .servicos__titulo { order: 2; }
.servicos__titulo { display: flex; align-items: baseline; gap: clamp(12px, 1.6vw, 20px); }
.servicos__n {
  font-family: var(--display); font-weight: 800; line-height: 1;
  font-size: clamp(30px, 3.6vw, 52px);
  color: transparent; -webkit-text-stroke: 1.5px var(--ciano);
}
.servicos h3 { font-size: clamp(25px, 2.5vw, 36px); line-height: 1.1; color: var(--roxo); }
.servicos p { font-size: clamp(16px, 1.25vw, 18px); max-width: 52ch; color: var(--tinta-suave); padding-top: .35em; }

/* os restantes serviços: lista sóbria, para não competir com os três primeiros */
.servicos-mais { margin-top: clamp(34px, 4vw, 52px); }
.servicos-mais .sobrescrito { margin-bottom: 18px; }
.servicos-lista {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--linha); border: 1px solid var(--linha);
}
.servicos-lista li { background: var(--papel); padding: 20px 24px 22px; display: flex; flex-direction: column; gap: 4px; }
.servicos-lista h3 { font-family: var(--texto); font-size: 17px; font-weight: 700; letter-spacing: 0; color: var(--roxo); }
.servicos-lista p { font-size: 15px; color: var(--tinta-suave); }

/* ── equipa ── */
.equipa__lista {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px);
}
.equipa__lista li { display: flex; flex-direction: column; gap: 14px; }
.equipa__retrato {
  aspect-ratio: 4 / 5; border: 1px dashed #C3C0B4; background: #FFFDF8;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; letter-spacing: .08em; color: #9E9B8E;
}
.equipa__lista h3 { font-family: var(--texto); font-size: 19px; font-weight: 700; letter-spacing: 0; color: var(--roxo); }
.equipa__lista p { font-size: 15px; color: var(--tinta-suave); }

.clientes__nota { max-width: 62ch; margin-bottom: clamp(26px, 3vw, 38px); font-size: 15px; color: var(--tinta-suave); }

/* links ainda por apontar, assinalados sem dar nas vistas */
[data-por-preencher] { text-decoration: underline dotted; text-underline-offset: 3px; cursor: help; }

/* ── método: três marcos sobre uma linha, sem caixas ── */
.metodo { background: var(--azul); padding-block: clamp(56px, 7vw, 92px); }
.metodo__cabeca {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: clamp(28px, 5vw, 72px); padding-bottom: clamp(34px, 4vw, 52px);
}
.metodo__cabeca h2 { color: var(--roxo); margin-top: 16px; max-width: 16ch; }
.metodo__nota { max-width: 44ch; font-size: clamp(16px, 1.3vw, 18px); color: var(--azul-texto); }
.metodo__nota strong { color: var(--roxo); font-weight: 600; }

.passos {
  position: relative;
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 56px);
  border-top: 2px solid rgba(49, 39, 131, 0.2);
}
.passos::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--roxo) 0%, var(--amarelo) 50%, var(--ciano) 100%);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1) .2s;
  pointer-events: none;
}
.passos.visivel::before,
.passos:has(.passos__item.visivel)::before {
  transform: scaleX(1);
}
.passos__item { position: relative; padding-top: 30px; display: flex; flex-direction: column; gap: 10px; }
.passos__item::before {                /* a marca assenta sobre a linha */
  content: ""; position: absolute; top: -7px; left: 0;
  width: 12px; height: 12px; border-radius: 50%; background: var(--roxo);
  transition: transform .26s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .26s ease;
}
.passos__item:nth-child(1)::before { background: var(--roxo); }
.passos__item:nth-child(2)::before { background: var(--amarelo); }
.passos__item:nth-child(3)::before { background: var(--ciano); }
.passos__item:hover::before {
  transform: scale(1.35);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .8);
}
.passos__n {
  font-family: var(--display); font-weight: 800; line-height: 1;
  font-size: clamp(32px, 3.2vw, 42px); color: var(--roxo); opacity: .3;
}
.passos h3 { font-family: var(--texto); font-size: clamp(18px, 1.5vw, 21px); font-weight: 700; letter-spacing: 0; color: var(--roxo); }
.passos p { font-size: 16px; color: var(--azul-texto); max-width: 32ch; }

/* ── clientes ── */
.clientes__cabeca { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: clamp(28px, 3vw, 46px); }
.clientes__cabeca h2 { font-size: clamp(28px, 3vw, 40px); color: var(--roxo); }

.logotipos { list-style: none; margin: 0 0 clamp(34px, 4vw, 46px); padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.logotipos li {
  height: 96px; border: 1px dashed #C3C0B4; display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #9E9B8E;
}

.testemunho { margin: 0; border-top: 1px solid var(--linha); padding-top: clamp(28px, 3vw, 46px); display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 4vw, 56px); align-items: center; }
.testemunho blockquote { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.18; letter-spacing: -0.03em; color: var(--roxo); }
.testemunho figcaption { display: flex; flex-direction: column; gap: 5px; font-size: 15px; color: var(--tinta-suave); }
.testemunho__nome { font-weight: 600; color: var(--roxo); }
.testemunho__rodape { margin-top: 12px; font-size: 13px; line-height: 1.55; color: var(--tinta-ténue); }

/* ── contactos ── */
.contactos { background: var(--roxo); color: var(--papel); padding-block: clamp(56px, 6vw, 80px); }
.contactos__grelha { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); grid-template-areas: "introducao formulario" "dados formulario"; gap: 32px clamp(36px, 5vw, 80px); align-items: start; }
.contactos__introducao { grid-area: introducao; }
.contactos h2 { font-size: clamp(32px, 4vw, 56px); }
.contactos p { max-width: 46ch; margin-block: 24px; font-size: clamp(16px, 1.3vw, 18px); color: #C9CDEC; }
.contactos__dados { grid-area: dados; display: flex; flex-direction: column; gap: 26px; }
.contactos__email { display: inline-flex; align-items: center; min-height: 44px; color: var(--amarelo); font-size: 18px; overflow-wrap: anywhere; }
.contactos__email:hover { color: var(--papel); }
.contactos :focus-visible { outline-color: var(--amarelo); }
.contacto-form { grid-area: formulario; display: grid; gap: 20px; min-width: 0; }
.contacto-form__linha { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contacto-form__campo { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.contacto-form label { display: block; font-size: 14px; font-weight: 600; color: var(--papel); }
.contacto-form label span { color: #C9CDEC; font-size: 12px; font-weight: 400; }
.contacto-form input, .contacto-form textarea {
  width: 100%; min-width: 0; min-height: 52px; padding: 13px 14px;
  border: 1px solid #C9CDEC; border-radius: 6px; background: var(--papel);
  color: var(--roxo); font: 400 16px/1.5 var(--texto);
}
.contacto-form textarea { resize: vertical; min-height: 156px; }
.contacto-form textarea::placeholder { color: #706C8F; opacity: 1; }
.contacto-form input:user-invalid, .contacto-form textarea:user-invalid { border: 2px solid #B53341; }
.contacto-form .contacto-form__nota, .contacto-form .contacto-form__estado,
.contacto-form__alternativa p { margin: 0; max-width: none; font-size: 13px; line-height: 1.55; }
.contacto-form .botao { width: 100%; cursor: pointer; font-family: var(--texto); }
.contacto-form__alternativa { border-top: 1px solid var(--roxo-claro); padding-top: 16px; }
.contacto-form__alternativa a { color: var(--amarelo); text-decoration: underline; text-underline-offset: 3px; }
.contacto-form__copiar { min-height: 44px; margin-top: 8px; padding: 0; border: 0; background: none; color: var(--amarelo); font: 600 14px var(--texto); cursor: pointer; }
.contacto-form__estado:empty { display: none; }
.contacto-form [hidden] { display: none; }
.contactos__bloco { border-top: 1px solid var(--roxo-claro); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.contactos address { font-style: normal; font-size: 18px; line-height: 1.5; }
.telefones {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px clamp(18px, 2.5vw, 32px);
}
.telefones li { display: inline-flex; align-items: center; }
.telefones a {
  display: inline-flex; align-items: center; min-height: 38px; font-size: 18px;
  color: var(--papel); white-space: nowrap;
  transition: color .2s ease, transform .2s ease;
}
.telefones a:hover { color: var(--amarelo); transform: translateY(-2px); }

/* ── rodapé ── */
.rodape { background: var(--roxo); color: #9A95CE; border-top: 1px solid var(--roxo-claro); padding-block: 26px 34px; font-size: 13px; }
.rodape__interior { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.rodape ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 26px; }
.rodape a { color: #9A95CE; }
.rodape a:hover { color: var(--amarelo); }

.rodape__credito {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #9A95CE;
}
.rodape__credito a {
  display: inline-flex;
  align-items: center;
  transition: opacity .18s ease, transform .18s ease;
}
.rodape__credito a:hover {
  opacity: .85;
  transform: translateY(-1px);
}
.rodape__credito img {
  height: 27px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

/* ─────────────── afinações ─────────────── */

::selection { background: var(--amarelo); color: var(--roxo); }

/* o cabeçalho é fixo: as âncoras precisam de folga por baixo dele */
section[id] { scroll-margin-top: 66px; }

/* menu: o sublinhado amarelo cresce da esquerda */
.menu a:not(.botao) { position: relative; padding-block: 5px; }
.menu a:not(.botao)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--amarelo); transform: scaleX(0); transform-origin: left;
  transition: transform .18s ease;
}
.menu a:not(.botao):hover::after { transform: scaleX(1); }

.botao--escuro { box-shadow: 0 14px 26px -18px rgba(20, 30, 80, .9); }

/* o ponto final amarelo também na entrada de dicionário */
.definicao__termo span::after { content: "."; color: var(--amarelo); }

/* serviços: ao passar o rato, o algarismo vazado preenche-se */
.servicos li { transition: background-color .24s ease; }
.servicos li:hover { background: #FFFDF4; }
.servicos__n { transition: color .28s ease, -webkit-text-stroke-color .28s ease; }
.servicos li:hover .servicos__n { color: var(--ciano); }

/* método: cartões interativos */
.passos__item {
  position: relative; padding-top: 30px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .28s cubic-bezier(0.16, 1, 0.3, 1);
}
.passos__item:hover {
  transform: translateY(-5px);
}
.passos__n {
  font-family: var(--display); font-weight: 800; line-height: 1;
  font-size: clamp(32px, 3.2vw, 42px); color: var(--roxo); opacity: .3;
  display: inline-block;
  transition: opacity .25s ease, transform .25s ease;
}
.passos__item:hover .passos__n {
  opacity: .7;
  transform: scale(1.08);
}

/* clientes: as caixas por preencher ganham interatividade */
.logotipos li {
  background: #FFFDF8; border-radius: 4px; letter-spacing: .04em;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.logotipos li:hover {
  transform: translateY(-4px);
  border-color: var(--ciano);
  box-shadow: 0 12px 24px -10px rgba(0, 158, 227, .2);
}

/* testemunho: um traço de marcador em vez de aspas decorativas */
.testemunho blockquote::before {
  content: ""; display: block; width: 46px; height: 6px;
  background: var(--amarelo); margin-bottom: clamp(16px, 2vw, 22px);
  transition: width .3s ease;
}
.testemunho:hover blockquote::before {
  width: 68px;
}

@media (prefers-reduced-motion: reduce) {
  .menu a:not(.botao)::after { transition: none; }
  .servicos li::before, .servicos li, .passos__item, .logotipos li, .telefones a { transition: none; transform: none; }
  .passos::before { transform: scaleX(1); transition: none; }
}

/* ─────────────── responsivo ─────────────── */
@media (max-width: 1080px) {
  .hero__grelha { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 16px; }
  .chave { height: 430px; }
  .chave__palco { bottom: 96px; }
  .chave__legenda { bottom: 60px; }
  .servicos-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .equipa__lista { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .logotipos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .passos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .topo__interior { min-height: 68px; padding-block: 10px; }
  .topo__marca img { width: 136px; }
  .topo__botao-menu { display: inline-flex; }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--papel); border-bottom: 1px solid var(--linha);
    padding: 4px var(--gutter) 12px;
    max-height: calc(100dvh - 69px); overflow-y: auto; overscroll-behavior: contain;
  }
  .menu[data-aberto] { display: flex; }
  .menu a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--linha); font-size: 16px; }
  .menu a[href="#contactos"] { border-bottom: 0; }
  .menu .botao { display: none; }
  section[id] { scroll-margin-top: 84px; }
}

@media (max-width: 860px) {
  .hero__grelha { grid-template-columns: 1fr; gap: 0; }
  .hero { padding-block: 32px 20px; }
  .hero__texto { padding-block: 4px 12px; gap: 24px; }
  .hero__texto h1 { font-size: clamp(43px, 7.5vw, 64px); }
  .chave {
    display: grid; gap: 8px; height: auto; max-width: 440px;
    margin: 20px auto 0;
  }
  .chave::before { right: 4%; top: 4%; width: 200px; }
  /* no telemóvel a legenda e a interação empilham */
  .chave__palco { position: relative; inset: auto; height: clamp(250px, 70vw, 330px); }
  .chave__legenda { position: static; grid-row: 2; transform: none; max-width: none; font-size: 12px; flex-direction: row; gap: 10px; }
  .chave__legenda .risco--curto { width: 26px; height: 1.5px; }
  .chave__interacao { position: static; grid-row: 3; justify-content: center; flex-wrap: wrap; gap: 0 12px; }
  .chave__toggle { font-size: 12px; }
  .hero .accoes { gap: 8px 22px; }

  .definicao__grelha { grid-template-columns: 1fr; gap: 14px; }
  .seccao__cabeca { flex-direction: column; align-items: flex-start; }
  .seccao__cabeca h2 { max-width: none; }
  .metodo__cabeca { flex-direction: column; align-items: flex-start; gap: 18px; }
  .servicos li { grid-template-columns: 1fr; gap: 12px; }
  .servicos li:nth-child(even) { padding-left: 0; }
  .servicos li:nth-child(even) .servicos__titulo { order: 0; }
  .passos { grid-template-columns: 1fr; gap: 0; border-top: 0; }
  .passos::before { display: none; }
  .passos__item { border-top: 2px solid var(--roxo); padding-block: 26px 28px; }
  .passos__item:last-child { padding-bottom: 0; }
  .testemunho { grid-template-columns: 1fr; }
  .contactos__grelha { grid-template-columns: 1fr; grid-template-areas: "introducao" "formulario" "dados"; }
  .seccao__nota, .metodo__nota, .passos p { max-width: 60ch; }
}

@media (max-width: 560px) {
  .contacto-form__linha { grid-template-columns: 1fr; gap: 20px; }
  :root { --gutter: clamp(16px, 4.5vw, 24px); }
  .hero { padding-block: 28px 24px; }
  .hero__texto { gap: 20px; }
  .hero__texto h1 { font-size: clamp(34px, 10.5vw, 52px); line-height: 1.06; }
  .hero__texto .sobrescrito { font-size: 10px; letter-spacing: .12em; }
  .chamada { font-size: 17px; line-height: 1.55; }
  .hero .accoes { align-items: stretch; flex-direction: column; gap: 4px; padding-top: 0; }
  .hero__link { justify-content: center; }
  .botao { min-height: 52px; max-width: 100%; padding-inline: 20px; }
  .seccao, .metodo, .contactos { padding-block: 48px; }
  .seccao__cabeca { gap: 20px; margin-bottom: 28px; }
  h2, .contactos h2 { font-size: clamp(29px, 8vw, 40px); line-height: 1.1; }
  .servicos li { padding-block: 26px; }
  .servicos h3 { font-size: clamp(23px, 6.5vw, 29px); }
  .servicos__n { flex: none; font-size: 30px; }
  .servicos-lista { grid-template-columns: 1fr; }
  .servicos-lista li { padding: 18px 20px; }
  .equipa__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logotipos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contactos__grelha { gap: 32px; }
  .contactos .botao { width: 100%; font-size: 16px; }
  .contactos address { font-size: 16px; }
  .rodape__interior { flex-direction: column; align-items: flex-start; }
  .rodape ul { display: grid; gap: 4px; }
  .rodape a { display: inline-flex; align-items: center; min-height: 44px; }
}

@media (max-width: 380px) {
  .equipa__lista { grid-template-columns: 1fr; }
  .equipa__retrato { aspect-ratio: 1; }
}

@media (hover: none) {
  .passos__item:hover, .logotipos li:hover, .telefones a:hover { transform: none; }
}

/* ── aparição suave cinemática ── */
@media (prefers-reduced-motion: no-preference) {
  [data-revelar] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s ease, transform .5s ease;
  }
  [data-revelar].visivel { opacity: 1; transform: none; }
}

/* ─────────── auditoria de redesign: acabamentos ─────────── */

/* a secção em que se está, assinalada no menu */
.menu__link--activo { font-weight: 600; }
.topo.topo--scrolled .menu a.menu__link--activo:not(.botao) { color: var(--roxo); }
.menu a:not(.botao)::after { opacity: .55; }
.menu a.menu__link--activo:not(.botao)::after { transform: scaleX(1); opacity: 1; }
.menu a[aria-current="page"]:not(.botao)::after { transform: scaleX(1); opacity: 1; }
.menu a:not(.botao):active { transform: translateY(1px); }

/* algarismos alinhados: telefones, passos e numeração dos serviços */
.telefones, .passos__n, .servicos__n, address { font-variant-numeric: tabular-nums; }

/* nada de palavras órfãs na última linha */
h1, h2, h3, .definicao__termo, .testemunho blockquote { text-wrap: balance; }
.seccao__nota p, .metodo__nota, .servicos p, .servicos-lista p,
.passos p, .contactos p, .clientes__nota, .equipa__lista p { text-wrap: pretty; }

/* resposta física ao clique nos controlos da chave */
.chave__toggle:active { transform: translateY(1px); }

/* página 404 */
.erro404 { min-height: 100dvh; display: flex; align-items: center; background: var(--azul); }
.erro404__caixa { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-block: clamp(60px, 10vw, 120px); }
.erro404 h1 { color: var(--roxo); max-width: 18ch; }
.erro404 p { max-width: 46ch; font-size: clamp(17px, 1.4vw, 19px); color: var(--azul-texto); }
.erro404__ligacoes { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 6px; }

/* Editorial news and bilingual navigation. */
.language-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(49,39,131,.2); border-radius: 6px; flex: none; }
.language-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; min-height: 30px; padding-inline: 5px; border-radius: 3px; color: var(--roxo); font-size: 11px; font-weight: 500; letter-spacing: .04em; transition: background-color .18s, color .18s; }
.language-switch a[aria-current] { background: var(--roxo); color: var(--papel); font-weight: 700; }
.topo:not(.topo--scrolled) .language-switch { border-color: rgba(251,250,247,.3); }
.topo:not(.topo--scrolled) .language-switch a { color: var(--papel); }
.topo:not(.topo--scrolled) .language-switch a[aria-current] { background: var(--papel); color: var(--roxo); }
.language-switch a:hover { background: rgba(49,39,131,.08); }
.topo:not(.topo--scrolled) .language-switch a:hover:not([aria-current]) { background: rgba(251,250,247,.12); }
.page-loader { display: none; }
.js-loading { overflow: hidden; }
.js-loading .page-loader, .page-loader--leaving { display: flex; position: fixed; inset: 0; z-index: 200; align-items: center; justify-content: center; padding: 28px; background: var(--papel); color: var(--roxo); opacity: 1; transition: opacity .35s ease; }
.page-loader__content { width: min(280px, 100%); }
.page-loader img { display: block; width: 180px; height: auto; margin: 0 auto 48px; }
.page-loader__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--tinta-suave); }
.page-loader__meta p { margin: 0; }
.page-loader__meta span { font-variant-numeric: tabular-nums; }
.page-loader__line { display: block; height: 2px; margin-top: 12px; background: var(--linha); overflow: hidden; }
.page-loader__line::after { content: ''; display: block; width: 100%; height: 100%; background: var(--roxo); transform: scaleX(var(--loading-progress, 0)); transform-origin: left; transition: transform .25s ease; }
.page-loader button { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 8px; margin: 24px auto 0; border: 0; background: none; color: var(--tinta-suave); font: 11px var(--texto); cursor: pointer; text-underline-offset: 4px; }
.page-loader button:hover { color: var(--roxo); text-decoration: underline; }
.page-loader--leaving { opacity: 0; pointer-events: none; }
.page-loader[hidden] { display: none; }
.chave__palco model-viewer:not(.model-ready) { opacity: 0; }
/* News: a lead story and a quiet, readable editorial rhythm. */
.news-featured { background: var(--papel); padding-block: clamp(56px,7vw,96px); }
.news-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.news-heading .sobrescrito { margin-bottom: 14px; }
.news-heading h2 { font-size: clamp(38px,4.5vw,60px); line-height: 1.04; letter-spacing: -.045em; }
.news-all { display: inline-flex; align-items: center; gap: 22px; min-height: 44px; color: var(--roxo); font-size: 13px; font-weight: 600; white-space: nowrap; }
.news-all > span { font-size: 20px; font-weight: 400; transition: transform .2s ease; }
.news-all:hover { text-decoration: underline; text-underline-offset: 5px; }
.news-all:hover > span:last-child { transform: translate(2px,-2px); }
.news-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 48px 40px; }
.news-card { position: relative; min-width: 0; }
.news-card__image { display: block; overflow: hidden; aspect-ratio: 8 / 5; background: var(--azul); border-radius: 3px; }
.news-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.6,.3,1); }
.news-card:has(a:hover) .news-card__image img { transform: scale(1.035); }
.news-card__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-block: 22px 12px; color: var(--tinta-suave); font-size: 12px; font-variant-numeric: tabular-nums; }
.news-card__meta > span { font-size: 10px; color: var(--tinta-suave); border-left: 1px solid #C9C5D8; padding-left: 12px; }
.news-card h3 { font-size: clamp(24px,2.3vw,31px); line-height: 1.16; letter-spacing: -.035em; text-wrap: pretty; }
.news-card h3 a { display: block; color: var(--roxo); }
.news-card h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.news-card h3 a:focus-visible { outline: none; }
.news-card:has(h3 a:focus-visible) { outline: 2px solid var(--ciano); outline-offset: 7px; }
.news-card__arrow { display: none; }
.news-card p { margin-top: 14px; color: var(--tinta-suave); font-size: 15px; line-height: 1.65; max-width: 49ch; }
.news-card__read { display: inline-flex; align-items: center; gap: 22px; min-height: 36px; margin-top: 18px; font-size: 12px; font-weight: 600; color: var(--roxo); }
.news-card__read span { font-size: 18px; font-weight: 400; transition: transform .2s; }
.news-card:has(a:hover) .news-card__read span { transform: translate(2px,-2px); }
.news-grid--featured { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 0 48px; }
.news-grid--featured .news-card:first-child { grid-row: span 2; }
.news-grid--featured .news-card:first-child h3 { font-size: clamp(28px,2.7vw,36px); max-width: 26ch; }
.news-grid--featured .news-card:not(:first-child) { display: grid; grid-column: 2; grid-template-columns: minmax(128px,.8fr) minmax(0,1fr); align-items: start; gap: 22px; padding-bottom: 30px; }
.news-grid--featured .news-card:not(:first-child) .news-card__image { aspect-ratio: 4 / 3; margin-top: 3px; }
.news-grid--featured .news-card:not(:first-child) .news-card__meta { margin-top: 0; font-size: 11px; gap: 8px; }
.news-grid--featured .news-card:not(:first-child) h3 { font-size: clamp(22px,1.95vw,26px); }
.news-grid--featured .news-card:not(:first-child) p { font-size: 14px; margin-top: 12px; }
.news-grid--featured .news-card:not(:first-child) .news-card__read { margin-top: 12px; }
.news-grid--featured .news-card + .news-card + .news-card { align-self: start; padding-top: 30px; border-top: 1px solid var(--linha); }
.news-preview { margin-top: 28px; max-width: 65ch; color: var(--tinta-suave); font-size: 11px; line-height: 1.6; }
.news-intro { padding-block: 32px 56px; background: var(--papel); }
.news-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 36px; color: var(--tinta-suave); font-size: 13px; }
.news-back:hover { color: var(--roxo); }
.news-intro h1 { max-width: 12ch; margin-block: 20px; font-size: clamp(48px,7.5vw,96px); line-height: 1.02; letter-spacing: -.055em; }
.news-intro__lead { max-width: 44ch; color: var(--tinta-suave); font-size: clamp(17px,1.8vw,21px); }
.news-archive { padding-top: 0; }
.news-years { display: flex; flex-wrap: wrap; gap: 28px; padding-block: 14px; margin-bottom: 40px; border-block: 1px solid var(--linha); }
.news-years a { display: inline-flex; align-items: center; min-height: 44px; color: var(--roxo); font-size: 14px; font-variant-numeric: tabular-nums; }
.news-years a:hover { text-decoration: underline; text-underline-offset: 5px; }
.news-year + .news-year { margin-top: 72px; }
.news-year > h2 { margin-bottom: 28px; font-family: var(--texto); font-size: 18px; font-weight: 500; letter-spacing: 0; }
.news-article { padding-block: 22px 80px; }
.news-breadcrumb { display: flex; align-items: center; gap: 14px; margin-bottom: 48px; font-size: 12px; }
.news-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--tinta-suave); }
.news-breadcrumb a:hover { color: var(--roxo); text-decoration: underline; text-underline-offset: 4px; }
.news-breadcrumb > span { color: #B8B4C6; }
.news-article__heading { max-width: 920px; margin-inline: auto; }
.news-article__heading .sobrescrito { font-size: 10px; }
.news-article h1 { margin-block: 22px 26px; max-width: 21ch; font-size: clamp(38px,5.2vw,72px); line-height: 1.05; letter-spacing: -.045em; text-wrap: pretty; }
.news-article__lead { max-width: 48ch; color: var(--tinta-suave); font-size: clamp(19px,2vw,23px); line-height: 1.55; }
.news-article__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 28px; font-size: 12px; color: var(--tinta-suave); }
.news-article__meta > span + span { border-left: 1px solid #C9C5D8; padding-left: 24px; }
.news-article__visual { margin: 42px 0 56px; overflow: hidden; border-radius: 3px; }
.news-article__cover { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: center 45%; }
.news-article__reading { display: grid; grid-template-columns: 160px minmax(0,65ch); gap: clamp(32px,5vw,72px); max-width: 920px; margin-inline: auto; }
.news-article__aside { align-self: start; position: sticky; top: 104px; padding-top: 5px; color: var(--tinta-suave); font-size: 12px; }
.news-article__brand { display: block; font-family: var(--display); font-size: 23px; font-weight: 800; letter-spacing: -.04em; color: var(--roxo); }
.news-article__aside p { margin-top: 6px; }
.news-article__aside a { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin-top: 24px; color: var(--tinta-suave); border-bottom: 1px solid var(--linha); font-size: 11px; }
.news-article__aside a:hover { color: var(--roxo); }
.news-article__body { min-width: 0; font-size: 18px; line-height: 1.85; color: #514D70; }
.news-article__body > p:first-child { font-size: 21px; line-height: 1.65; color: var(--roxo); }
.news-article__body p + p { margin-top: 24px; }
.news-article__body h2, .news-article__body h3, .news-article__body h4 { margin-top: 36px; margin-bottom: 16px; color: var(--roxo); line-height: 1.2; }
.news-article__body h2 { font-size: 30px; }
.news-article__body h3, .news-article__body h4 { font-size: 24px; }
.news-article__body ul, .news-article__body ol { margin-block: 24px; padding-left: 24px; }
.news-article__body li + li { margin-top: 8px; }
.news-article__body blockquote { margin: 28px 0; padding-left: 22px; border-left: 3px solid var(--amarelo); color: var(--roxo); }
.news-article__body a:not(.news-all) { color: var(--roxo); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.news-article__body pre { padding: 16px; background: #F1F0EA; overflow-x: auto; font-size: 14px; }
.cms-entry { min-height: 100dvh; display: grid; align-items: center; }
.cms-entry__content { width: min(100%,620px); margin: auto; padding: 48px 24px; }
.cms-entry__content > a:first-child img { width: 150px; display: block; margin-bottom: 48px; }
.cms-entry h1 { font-size: clamp(40px,7vw,64px); line-height: 1.05; margin-block: 18px 24px; }
.cms-entry__content > p:not(.sobrescrito) { color: var(--tinta-suave); margin-bottom: 28px; }
.cms-entry .cms-entry__help { font-size: 13px; margin-top: 24px; }
.news-article__body .news-all { display: flex; justify-content: flex-start; padding-top: 24px; margin-top: 36px; border-top: 1px solid var(--linha); }
.news-related { border-top: 1px solid var(--linha); background: #F4F3EE; }
.news-related .news-grid { gap: 40px; }
.news-related .news-card { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1fr); gap: 24px; }
.news-related .news-card__image { aspect-ratio: 1; }
.news-related .news-card__meta { margin-top: 0; }
.news-related .news-card h3 { font-size: clamp(22px,2vw,28px); }
.news-related .news-card p { display: none; }
@media (min-width: 1025px) and (max-width: 1180px) {
 .topo__interior { gap: 12px; }
 .menu { gap: 14px; font-size: 13px; }
}
@media (max-width: 1024px) {
 .topo__interior { gap: 12px; }
 .topo__botao-menu { order: 3; }
 .language-switch { margin-left: auto; }
}
@media (max-width: 1024px) {
 .news-grid--featured { gap: 0 28px; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); }
 .news-grid--featured .news-card:not(:first-child) { grid-template-columns: 112px minmax(0,1fr); gap: 18px; }
 .news-article__reading { grid-template-columns: 128px minmax(0,1fr); gap: 32px; }
 .news-related .news-grid { gap: 32px; }
 .news-related .news-card { grid-template-columns: 1fr; gap: 0; }
 .news-related .news-card__image { aspect-ratio: 8 / 5; }
 .news-related .news-card__meta { margin-top: 20px; }
}
@media (max-width: 760px) {
 .news-grid--featured { grid-template-columns: 1fr; gap: 28px; }
 .news-grid--featured .news-card:first-child { grid-row: auto; padding-bottom: 8px; }
 .news-grid--featured .news-card:not(:first-child) { grid-column: auto; grid-template-columns: 140px minmax(0,1fr); gap: 24px; padding: 26px 0 0; border-top: 1px solid var(--linha); }
 .news-heading { margin-bottom: 28px; }
 .news-article__reading { grid-template-columns: 1fr; gap: 28px; }
 .news-article__aside { position: static; display: flex; align-items: center; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--linha); }
 .news-article__aside p { margin: 0; }
 .news-article__aside a { margin: 0 0 0 auto; border: 0; }
 .news-article__visual { margin-bottom: 32px; }
}
@media (max-width: 560px) {
 .language-switch a { min-height: 36px; min-width: 30px; }
 .news-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
 .news-heading .sobrescrito { margin-bottom: 12px; }
 .news-heading h2 { font-size: 40px; }
 .news-all { gap: 18px; }
 .news-grid { grid-template-columns: 1fr; gap: 36px; }
 .news-grid--featured .news-card:not(:first-child) { grid-template-columns: 110px minmax(0,1fr); gap: 18px; }
 .news-grid--featured .news-card:not(:first-child) h3 { font-size: 22px; }
 .news-grid--featured .news-card:not(:first-child) p { display: none; }
 .news-grid--featured .news-card:not(:first-child) .news-card__read { display: none; }
 .news-card__meta { margin-bottom: 10px; font-size: 11px; gap: 8px; }
 .news-card__meta > span { font-size: 10px; padding-left: 8px; }
 .news-card__read { margin-top: 12px; }
 .news-intro { padding-block: 20px 36px; }
 .news-back { margin-bottom: 24px; }
 .news-intro h1 { font-size: 50px; }
 .news-article { padding-top: 12px; padding-bottom: 48px; }
 .news-breadcrumb { margin-bottom: 30px; }
 .news-article h1 { font-size: clamp(34px,9.2vw,46px); line-height: 1.1; margin-block: 18px 20px; }
 .news-article__lead { font-size: 18px; }
 .news-article__meta { gap: 8px 16px; font-size: 11px; margin-top: 22px; }
 .news-article__meta > span + span { padding-left: 16px; }
 .news-article__visual { margin-block: 28px; }
 .news-article__cover { aspect-ratio: 4 / 3; }
 .news-article__aside p { display: none; }
 .news-article__body { font-size: 17px; line-height: 1.8; }
 .news-article__body > p:first-child { font-size: 19px; }
 .news-article__body .news-preview { font-size: 11px; }
 .news-related .news-grid { gap: 32px; }
 .news-related .news-card { grid-template-columns: 110px minmax(0,1fr); gap: 18px; }
 .news-related .news-card__image { aspect-ratio: 4 / 3; }
 .news-related .news-card__meta { margin-top: 0; }
 .news-related .news-card h3 { font-size: 22px; }
 .news-related .news-card__read { display: none; }
 .news-year + .news-year { margin-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
 .page-loader, .page-loader__line::after, .news-card__image img, .language-switch a, .news-card__read span, .news-all > span { transition: none; }
 .news-card:has(a:hover) .news-card__image img, .news-card:has(a:hover) .news-card__read span, .news-all:hover > span { transform: none; }
}
