/* TWIB — Tech Wisdom for Business
   Conceito: quadro branco. Grafite do logótipo, azul de marcador, amarelo de sublinhador. */

:root {
  --grafite: #33363b;
  --cinza-logo: #555555;
  --texto-suave: #5b616a;
  --branco: #ffffff;
  --nevoa: #f1f3f6;
  --linha: #d9dde3;
  --marcador: #1d4ed8;
  --marcador-escuro: #173fae;
  --sublinhador: #ffd84a;

  --titulo: "Montserrat", "Avenir Next", "Segoe UI", sans-serif;
  --mao: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  --largura: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--titulo);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--grafite);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--marcador); outline-offset: 3px; border-radius: 4px; }

.largura { width: min(100% - 2.5rem, var(--largura)); margin-inline: auto; }

.saltar {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--grafite); color: var(--branco); padding: .6rem 1rem; border-radius: 6px;
}
.saltar:focus { top: 1rem; }

/* ---------- Tipografia ---------- */
h1 {
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h2 {
  font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
h3 { font-weight: 700; font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.015em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--texto-suave); max-width: 34em; }
.intro { margin-top: 1rem; color: var(--texto-suave); max-width: 38em; }

/* ---------- Botões e ligações ---------- */
.botao {
  display: inline-block;
  font: 700 1rem/1 var(--titulo);
  color: var(--branco);
  background: var(--marcador);
  padding: 1.05rem 1.6rem;
  border: 0; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background .15s;
}
.botao:hover { background: var(--marcador-escuro); }
.botao-pequeno { padding: .75rem 1.2rem; font-size: .92rem; }
.ligacao {
  font-weight: 700; text-decoration: none;
  background: linear-gradient(var(--sublinhador), var(--sublinhador)) 0 100% / 100% .45em no-repeat;
  padding: 0 .1em;
  transition: background-size .15s;
}
.ligacao:hover { background-size: 100% 100%; }

/* ---------- Topo ---------- */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--linha);
}
.topo-linha { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.marca img { width: 128px; }
.menu { display: flex; align-items: center; gap: 1.5rem; }
.menu a:not(.botao) { font-weight: 500; font-size: .95rem; text-decoration: none; padding: .4rem 0; border-bottom: 3px solid transparent; }
.menu a:not(.botao):hover { border-bottom-color: var(--sublinhador); }
.menu-botao {
  display: none;
  font: 700 .95rem var(--titulo); color: var(--grafite);
  background: none; border: 2px solid var(--grafite); border-radius: 999px; padding: .5rem 1rem; cursor: pointer;
}

/* ---------- Abertura ---------- */
.abertura { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.abertura-grelha { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: center; }
.abertura .lead { margin-top: 1.6rem; }
.acoes { margin-top: 2.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; }

.quadro { position: relative; aspect-ratio: 560 / 400; }
.quadro svg { width: 100%; height: 100%; overflow: visible; }
.traco, .seta {
  fill: none; stroke: var(--cinza-logo); stroke-width: 13;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.traco { animation: desenhar 1.9s cubic-bezier(.6,.05,.3,1) .3s forwards; }
.seta  { animation: desenhar .35s ease-out 2.15s forwards; }
.pontos circle { fill: var(--sublinhador); stroke: var(--grafite); stroke-width: 3; opacity: 0; animation: surgir .3s forwards; }
.pontos circle:nth-child(1) { animation-delay: .8s; }
.pontos circle:nth-child(2) { animation-delay: 1.15s; }
.pontos circle:nth-child(3) { animation-delay: 1.5s; }
.pontos circle:nth-child(4) { animation-delay: 1.9s; }

.nota {
  position: absolute;
  font-family: var(--mao); font-size: clamp(1.15rem, 1.9vw, 1.6rem); line-height: 1;
  color: var(--marcador); white-space: nowrap;
  opacity: 0; animation: surgir .4s forwards;
}
.n1 { left: 0;  top: 88%; animation-delay: .9s; }
.n2 { left: 20%; top: 45%; animation-delay: 1.25s; }
.n3 { left: 41%; top: 89%; animation-delay: 1.6s; }
.n4 { left: 67%; top: 40%; animation-delay: 2s; }
.n5 { right: 0; top: -7%;  animation-delay: 2.5s; color: var(--grafite); font-size: clamp(1.4rem, 2.4vw, 2rem); }

@keyframes desenhar { to { stroke-dashoffset: 0; } }
@keyframes surgir { to { opacity: 1; } }

/* ---------- Blocos ---------- */
.bloco { padding: clamp(4rem, 8vw, 7rem) 0; }

/* Serviços */
.servicos { background: var(--nevoa); }
.frente {
  display: grid; grid-template-columns: 1fr 2fr; gap: 2.5rem;
  padding: 2.75rem 0; border-top: 2px solid var(--grafite);
}
.servicos .intro + .frente { margin-top: 3rem; }
.frente-titulo h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.025em; }
.frente-titulo p { margin-top: .7rem; color: var(--texto-suave); font-size: 1rem; max-width: 22em; }

/* Projetos */
.projetos { background: var(--grafite); color: var(--branco); }
.projetos .intro { color: #c3c8d0; }
.projetos-grelha { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.projeto {
  display: flex; flex-direction: column;
  padding: 1.75rem; border-radius: 14px;
  background: var(--branco); color: var(--grafite);
  text-decoration: none;
  border-bottom: 6px solid var(--sublinhador);
  transition: transform .15s;
}
.projeto:hover { transform: translateY(-4px); }
.endereco { font-family: var(--mao); font-size: 1.45rem; line-height: 1; color: var(--marcador); }
.projeto h3 { margin-top: 1rem; }
.projeto p { margin-top: .5rem; font-size: .96rem; color: var(--texto-suave); flex: 1; }
.abrir { margin-top: 1.4rem; font-weight: 700; font-size: .95rem; text-decoration: underline; text-underline-offset: 4px; }

/* Sobre */
.sobre-grelha { display: grid; grid-template-columns: 1fr 2fr; gap: 2.5rem; }
.sobre-texto p + p { margin-top: 1.2rem; max-width: 36em; }
.sobre-texto .lead { color: var(--grafite); font-weight: 500; }

.sobre-ligacoes { display: flex; flex-wrap: wrap; gap: .8rem 2rem; margin-top: 2rem; }

/* Contacto */
.contacto { background: var(--nevoa); }
.contacto-grelha { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3.5rem; align-items: start; }
.contacto-direto { margin-top: 2rem; }
.contacto-direto a { font-weight: 700; font-size: 1.25rem; color: var(--marcador); }
.formulario {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem;
  background: var(--branco); padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 16px; border: 1px solid var(--linha);
}
.campo { display: flex; flex-direction: column; gap: .4rem; }
.campo-largo, .aviso, .nota-form { grid-column: 1 / -1; }
.formulario .botao { justify-self: start; }
label { font-weight: 700; font-size: .92rem; }
.opcional { font-weight: 400; color: var(--texto-suave); }
input, select, textarea {
  font: 400 1rem/1.4 var(--titulo); color: var(--grafite);
  padding: .8rem .9rem; width: 100%;
  background: var(--branco); border: 2px solid var(--linha); border-radius: 8px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--marcador); }
textarea { resize: vertical; }
.campo-armadilha { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.captcha { min-height: 65px; }
.formulario .botao:disabled { opacity: .6; cursor: wait; transform: none; box-shadow: none; }
.aviso { font-weight: 700; font-size: .95rem; min-height: 1.2em; }
.aviso.erro { color: #b42318; }
.aviso.ok { color: #17663a; }
.nota-form { font-size: .85rem; color: var(--texto-suave); }

/* Rodapé */
.rodape { background: var(--grafite); color: #c3c8d0; padding: 2.5rem 0; font-size: .92rem; }
.rodape-linha { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; }
.rodape img { width: 120px; }
.rodape nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.rodape a { text-decoration: none; color: var(--branco); }
.rodape a:hover { text-decoration: underline; }

/* ---------- Dinamismo ---------- */
.progresso { position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 60; pointer-events: none; }
.progresso span { display: block; height: 100%; width: 100%; background: var(--sublinhador); transform: scaleX(0); transform-origin: 0 50%; }

.topo { transition: box-shadow .2s; }
.topo.descolado { box-shadow: 0 6px 24px rgba(51,54,59,.1); }
.menu a.atual:not(.botao) { border-bottom-color: var(--marcador); }

.rotador { margin-top: 1.4rem; font-weight: 700; font-size: clamp(1.15rem, 1.8vw, 1.45rem); min-height: 1.7em; }
.rotador span { color: var(--marcador); }
.cursor { display: inline-block; width: 3px; height: 1.1em; margin-left: 3px; vertical-align: -0.18em; background: var(--marcador); animation: piscar 1s steps(1) infinite; }
@keyframes piscar { 50% { opacity: 0; } }

.viajante { fill: var(--marcador); stroke: var(--branco); stroke-width: 3; opacity: 0; animation: surgir .3s 2.6s forwards; }
.nota { animation: surgir .4s forwards, flutuar 5s ease-in-out 3s infinite; }
.n2, .n4 { animation-direction: normal, reverse; }
@keyframes flutuar { 50% { transform: translateY(-6px); } }

.faixa { background: var(--grafite); color: var(--branco); overflow: hidden; padding: 1.1rem 0; }
.faixa-pista { display: flex; width: max-content; animation: deslizar 38s linear infinite; }
.faixa:hover .faixa-pista { animation-play-state: paused; }
.faixa-pista li { display: flex; align-items: center; white-space: nowrap; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.faixa-pista li::after { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--sublinhador); margin: 0 2rem; }
@keyframes deslizar { to { transform: translateX(-50%); } }

.numeros { padding: clamp(2.5rem, 5vw, 4rem) 0; border-bottom: 1px solid var(--linha); }
.numeros-grelha { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-block: 0; }
.numeros dt { font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.03em; line-height: 1; }
.numeros dt span { font-size: 1.9em; color: var(--marcador); font-variant-numeric: tabular-nums; }
.numeros dd { margin: .7rem 0 0; font-size: .95rem; color: var(--texto-suave); max-width: 17em; }

.js .revelar { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--atraso, 0s); }
.js .revelar.visivel { opacity: 1; transform: none; }



.filtros { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.5rem; }
.filtro { font: 700 .92rem var(--titulo); color: var(--branco); background: transparent; border: 2px solid #6b7079; border-radius: 999px; padding: .6rem 1.1rem; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.filtro:hover { border-color: var(--branco); }
.filtro.ativo { background: var(--sublinhador); border-color: var(--sublinhador); color: var(--grafite); }
.projetos :focus-visible { outline-color: var(--sublinhador); }
.projetos-grelha { margin-top: 2rem; }
.projetos-grelha [hidden] { display: none; }
.projeto { transition: transform .2s, box-shadow .2s; }
.projeto:hover, .destaque:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.destaque {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center;
  padding: 2.25rem; border-radius: 14px;
  background: var(--branco); color: var(--grafite);
  border-bottom: 6px solid var(--marcador);
  transition: transform .2s, box-shadow .2s;
}
.destaque h3 { margin-top: 1rem; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.025em; }
.destaque p { margin-top: .6rem; color: var(--texto-suave); max-width: 34em; }
.destaque .abrir { display: inline-block; margin-right: 1.5rem; color: var(--grafite); }
.edicoes { display: flex; flex-wrap: wrap; gap: .5rem; align-content: center; }
.edicoes span { flex-basis: 100%; font-weight: 700; font-size: .85rem; color: var(--texto-suave); }
.edicoes span:not(:first-child) { margin-top: .6rem; }
.edicoes a { font-weight: 700; font-size: .9rem; text-decoration: none; padding: .45rem .85rem; border-radius: 999px; background: var(--nevoa); border: 2px solid transparent; transition: background .15s, border-color .15s, transform .15s; }
.edicoes a:hover { background: var(--sublinhador); border-color: var(--grafite); transform: translateY(-2px); }
.novo { display: inline-block; margin-left: .6rem; padding: .2rem .6rem; border-radius: 999px; background: var(--sublinhador); font-size: .72rem; font-weight: 700; letter-spacing: 0; vertical-align: middle; }
.endereco { overflow-wrap: anywhere; }

.botao { transition: background .15s, transform .15s, box-shadow .15s; }
.botao:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(29,78,216,.3); }

/* ---------- Ícones ---------- */
.icone { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Línguas ---------- */
.linguas { display: inline-flex; gap: .15rem; padding: .2rem; border: 2px solid var(--linha); border-radius: 999px; }
.menu .linguas a { font-weight: 700; font-size: .8rem; padding: .3rem .55rem; border: 0; border-radius: 999px; text-decoration: none; }
.menu .linguas a:hover { background: var(--nevoa); border: 0; }
.menu .linguas a[aria-current] { background: var(--grafite); color: var(--branco); }

/* ---------- Serviços (versão rica) ---------- */
.frente { align-items: start; }
.frente-titulo { position: sticky; top: 100px; }
.frente-num { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; margin-bottom: 1rem; border-radius: 50%; font-weight: 800; background: var(--sublinhador); border: 3px solid var(--grafite); }
.inclui-rotulo { margin-top: 1.4rem; font-size: .82rem; font-weight: 700; color: var(--texto-suave); }
.inclui { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.inclui li { font-size: .82rem; font-weight: 500; padding: .3rem .7rem; border-radius: 999px; background: var(--branco); border: 1px solid var(--linha); }
.itens { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.itens li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; border-radius: 14px; background: var(--branco); border: 1px solid var(--linha); transition: transform .2s, box-shadow .2s, border-color .2s; }
.itens li:hover { transform: translateY(-4px); border-color: var(--marcador); box-shadow: 0 14px 30px rgba(51,54,59,.1); }
.itens .icone { width: 2.9rem; height: 2.9rem; padding: .65rem; border-radius: 12px; background: var(--nevoa); color: var(--marcador); transition: background .2s, color .2s; }
.itens li:hover .icone { background: var(--marcador); color: var(--branco); }
.itens strong { display: block; font-weight: 700; line-height: 1.3; }
.itens span { display: block; margin-top: .3rem; font-size: .94rem; line-height: 1.5; color: var(--texto-suave); }

.ia { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; margin-top: 1rem; padding: clamp(1.75rem, 4vw, 3rem); border-radius: 18px; background: var(--grafite); color: var(--branco); }
.ia-texto > .icone { width: 2.6rem; height: 2.6rem; color: var(--sublinhador); animation: cintilar 3s ease-in-out infinite; }
@keyframes cintilar { 50% { transform: scale(1.18) rotate(12deg); } }
.ia h3 { margin-top: 1rem; font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -0.025em; }
.ia p { margin-top: .8rem; color: #c3c8d0; max-width: 34em; }
.ia .botao { margin-top: 1.6rem; background: var(--sublinhador); color: var(--grafite); }
.ia .botao:hover { background: #ffe37a; box-shadow: 0 8px 20px rgba(255,216,74,.25); }
.ia-lista { display: grid; gap: .7rem; }
.ia-lista li { padding: .95rem 1.1rem .95rem 2.8rem; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); font-weight: 500; position: relative; }
.ia-lista li::before { content: ""; position: absolute; left: 1.1rem; top: 50%; width: .7rem; height: .7rem; margin-top: -.35rem; border-radius: 50%; background: var(--sublinhador); }
.ia :focus-visible { outline-color: var(--sublinhador); }

/* ---------- Método (versão rica) ---------- */
.metodo-grelha { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; margin-top: 3.5rem; }
.etapas { counter-reset: etapa; position: relative; }
.etapas li { counter-increment: etapa; position: relative; display: grid; grid-template-columns: 3.4rem 1fr; gap: 1.4rem; padding-bottom: 2.2rem; }
.etapas li:last-child { padding-bottom: 0; }
.etapas li::before { content: ""; position: absolute; left: 1.65rem; top: 3.4rem; bottom: 0; width: 3px; background: var(--linha); }
.etapas li::after { content: ""; position: absolute; left: 1.65rem; top: 3.4rem; bottom: 0; width: 3px; background: var(--marcador); transform: scaleY(0); transform-origin: 50% 0; transition: transform .7s ease .2s; }
.etapas li:last-child::before, .etapas li:last-child::after { display: none; }
.etapa-icone { position: relative; z-index: 1; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--branco); border: 3px solid var(--linha); color: var(--texto-suave); transition: background .4s, border-color .4s, color .4s, transform .4s; }
.etapa-icone::after { content: counter(etapa); position: absolute; right: -.5rem; top: -.5rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 800; background: var(--grafite); color: var(--branco); }
.etapa-corpo { padding: 1.3rem 1.5rem; border-radius: 14px; background: var(--nevoa); transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .5s; }
.etapa-corpo p { margin-top: .4rem; color: var(--texto-suave); font-size: .98rem; }
.etapa-corpo .etapa-recebe { margin-top: .9rem; padding-top: .9rem; border-top: 1px dashed var(--linha); font-size: .92rem; color: var(--grafite); }
.js .etapas li:not(.ativo) .etapa-corpo { opacity: .35; transform: translateY(16px); }
.etapas li.ativo .etapa-icone { background: var(--sublinhador); border-color: var(--grafite); color: var(--grafite); transform: scale(1.06); }
.etapas li.ativo::after { transform: scaleY(1); }

.faq { position: sticky; top: 100px; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 16px; border: 2px solid var(--grafite); }
.faq details { border-top: 1px solid var(--linha); }
.faq h3 + details { margin-top: 1.2rem; }
.faq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--sublinhador); font-weight: 800; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2.5rem 1.1rem 0; color: var(--texto-suave); font-size: .97rem; }

/* ---------- Rodapé legal, aviso de cookies e páginas legais ---------- */
.rodape-legal { flex-basis: 100%; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .88rem; }
.rodape-legal a { color: #c3c8d0; }
.rodape-ral { flex-basis: 100%; margin-top: -.5rem; font-size: .82rem; color: #9aa0a9; max-width: 60em; }
.rodape .livro { padding: .35rem .8rem; border: 1px solid #c3c8d0; border-radius: 6px; color: var(--branco); font-weight: 700; }

.aviso-cookies { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 70; max-width: 720px; margin-inline: auto; display: flex; align-items: center; gap: 1.2rem; padding: 1rem 1.25rem; border-radius: 14px; background: var(--branco); border: 2px solid var(--grafite); box-shadow: 0 16px 40px rgba(51,54,59,.25); font-size: .9rem; line-height: 1.5; animation: subir .5s cubic-bezier(.2,.7,.2,1); }
.aviso-cookies[hidden] { display: none; }
.aviso-cookies a { font-weight: 700; }
.aviso-cookies .botao { flex: none; }
@keyframes subir { from { transform: translateY(120%); } }

.legal { padding: clamp(3rem, 6vw, 5rem) 0; }
.legal-coluna { max-width: 760px; }
.legal h1 { margin-top: 2rem; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.legal-data { margin-top: 1rem; color: var(--texto-suave); font-size: .95rem; }
.legal h2 { margin-top: 2.6rem; font-size: 1.35rem; letter-spacing: -0.02em; }
.legal h2 + p, .legal p + p { margin-top: .8rem; }
.legal a:not(.ligacao) { color: var(--marcador); font-weight: 500; }
.legal code { padding: .1rem .4rem; border-radius: 4px; background: var(--nevoa); font-size: .92em; }

/* ---------- Ecrãs médios e pequenos ---------- */
@media (max-width: 900px) {
  .abertura-grelha, .frente, .sobre-grelha, .contacto-grelha, .ia, .metodo-grelha { grid-template-columns: 1fr; }
  .frente-titulo, .faq { position: static; }
  .frente { gap: 1.5rem; }
  .projetos-grelha, .destaque { grid-template-columns: 1fr; }
  .destaque { gap: 1.5rem; padding: 1.75rem; }
  .numeros-grelha { grid-template-columns: 1fr; }
  .quadro { max-width: 520px; }

  .menu-botao { display: block; }
  .menu {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: flex-start; gap: 1rem;
    padding: 1.5rem 1.25rem 2rem;
    background: var(--branco); border-bottom: 1px solid var(--linha);
  }
  .menu.aberto { display: flex; }
}
@media (max-width: 560px) {
  .itens, .formulario { grid-template-columns: 1fr; }
  .aviso-cookies { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .traco, .seta { animation: none; stroke-dashoffset: 0; }
  .pontos circle, .nota { animation: none; opacity: 1; }
  .projeto, .botao, .ligacao { transition: none; }
  .faixa-pista, .cursor, .nota { animation: none; }
  .nota { opacity: 1; }
  .viajante { display: none; }
  .js .revelar { opacity: 1; transform: none; transition: none; }
  .js .etapas li:not(.ativo) .etapa-corpo { opacity: 1; transform: none; }
  .ia-texto > .icone, .aviso-cookies { animation: none; }
    }
