/* NOZ AF — site institucional, direcção P1 «Marca e tipografia» (docs/design/DECISIONS.md, 04/11/2026).
   Trabalho real em grande escala; a gravura oficial é o «o» de «cobra». Fontes servidas pelo próprio site (OFL). */
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url(/fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: italic; font-display: swap; src: url(/fonts/cormorant-garamond-latin-600-italic.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url(/fonts/poppins-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url(/fonts/poppins-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url(/fonts/poppins-latin-700-normal.woff2) format("woff2"); }

:root {
  --papel: #f4f1ea;          /* fundo: papel de gravura */
  --tinta: #141414;          /* texto e réguas */
  --tinta-suave: #4d4a44;    /* texto secundário (8,3:1 sobre o papel) */
  --regua: #14141433;
  --dom-fundo: #0f1b2d;      /* cores do próprio DOM, só na secção DOM */
  --dom-texto: #f6f1e4;
  --dom-ouro: #d9b44a;
  --dom-suave: #c9c2ad;
  --estado-ok: #1d5a3a;
  --foco: #0b57d0;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Poppins", "Segoe UI", Arial, sans-serif;
  --margem: clamp(16px, 5vw, 64px);
  --secao: clamp(48px, 8vw, 104px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--papel); color: var(--tinta); font: 400 1rem/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; }
i { font-family: var(--serif); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saltar { position: absolute; left: -999px; top: 8px; background: var(--tinta); color: var(--papel); padding: 8px 14px; z-index: 50; }
.saltar:focus { left: 8px; }
.rotulo { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--tinta-suave); margin: 0 0 6px; }
.nota { font-size: .86rem; color: var(--tinta-suave); max-width: 62em; }
.pequeno { font-size: .8rem; color: var(--tinta-suave); }
.sem-quebra { white-space: nowrap; }

/* Revelação ao entrar no ecrã (só com movimento; sem JS tudo fica visível) */
.com-movimento .revela { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.com-movimento .revela.visivel { opacity: 1; transform: none; }

/* Topo */
.topo { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px var(--margem); }
.logo img { width: 170px; mix-blend-mode: multiply; }
.topo nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.topo nav a { text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.topo nav a:hover { border-bottom-color: var(--tinta); }

/* Botões */
.accoes { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.botao { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; background: var(--tinta); color: var(--papel); border: 2px solid var(--tinta); text-decoration: none; font-weight: 600; }
.botao:hover { background: #2e2c29; }
.botao-linha { background: transparent; color: var(--tinta); }
.botao-linha:hover { background: var(--tinta); color: var(--papel); }
.botao-ouro { background: var(--dom-ouro); border-color: var(--dom-ouro); color: var(--dom-fundo); }
.botao-ouro:hover { background: #e5c564; }
.botao-linha-clara { background: transparent; border-color: var(--dom-texto); color: var(--dom-texto); }
.botao-linha-clara:hover { background: var(--dom-texto); color: var(--dom-fundo); }

/* Abertura */
.abertura { padding: clamp(20px, 6vw, 72px) var(--margem) 32px; }
.abertura h1 { font-size: clamp(3rem, 11vw, 10.5rem); line-height: .88; letter-spacing: -.02em; }
.abertura h1 .o { display: inline-block; width: .78em; height: .78em; vertical-align: -.06em; border-radius: 50%; border: .03em solid var(--tinta); background: url(/img/gravura.jpg) center / cover; mix-blend-mode: multiply; }
.sub { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-top: 28px; border-top: 2px solid var(--tinta); padding-top: 18px; }
.sub p { max-width: 36em; margin: 0; font-size: 1.08rem; color: var(--tinta-suave); }

/* Faixa de trabalho real */
.faixa { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; padding: 0 var(--margem) var(--secao); }
.faixa figure { margin: 0; overflow: hidden; border: 1px solid var(--tinta); background: #fff; }
.faixa img { width: 100%; height: clamp(180px, 28vw, 380px); object-fit: cover; object-position: top left; transition: transform 1.2s ease; }
.faixa figure:hover img { transform: scale(1.04); }
.faixa figcaption { font-size: .8rem; padding: 8px 10px; border-top: 1px solid var(--tinta); display: flex; justify-content: space-between; gap: 8px; }

/* Casos */
.casos { padding: 0 var(--margem) var(--secao); }
.casos > h2, .solucoes > h2 { font-size: clamp(2.2rem, 6vw, 4.6rem); line-height: .95; margin-bottom: 24px; }
.caso { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 4vw, 56px); padding: 40px 0; border-top: 1px solid var(--tinta); }
.caso img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; border: 1px solid var(--tinta); }
.caso h3 { font-size: 2.3rem; line-height: 1; margin-bottom: 4px; }
.caso dl { margin: 14px 0 18px; }
.caso dt { font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-top: 14px; }
.caso dd { margin: 4px 0 0; color: #3d3a35; }
.ligacao { font-weight: 600; }

/* Anúncio DOM: as cores do próprio produto */
.anuncio { background: var(--dom-fundo); color: var(--dom-texto); padding: var(--secao) var(--margem); overflow: hidden; }
.marca-dom { font-family: var(--sans); font-weight: 700; font-size: clamp(3.5rem, 15vw, 12rem); line-height: .8; letter-spacing: -.04em; margin: 0; }
.marca-dom span { display: block; font-size: .8rem; letter-spacing: .3em; font-weight: 600; margin-top: 12px; color: var(--dom-ouro); line-height: 1.4; }
.oficios { list-style: none; padding: 0; margin: 32px 0; display: flex; flex-wrap: wrap; gap: 0 .35em; font-weight: 700; font-size: clamp(1.6rem, 5vw, 4.2rem); line-height: 1.12; letter-spacing: -.02em; }
.oficios li:nth-child(3n+2) { color: var(--dom-ouro); }
.oficios li::after { content: " ·"; color: #ffffff55; }
.oficios li:last-child::after { content: ""; }
.anuncio > p { max-width: 40em; color: var(--dom-suave); }

/* Lista de soluções */
.solucoes { padding: var(--secao) var(--margem); }
.lista-solucoes { list-style: none; padding: 0; margin: 0 0 24px; border-top: 2px solid var(--tinta); }
.lista-solucoes li { border-bottom: 1px solid var(--regua); }
.lista-solucoes a { display: grid; grid-template-columns: 300px 1fr 240px; gap: 8px 24px; align-items: baseline; padding: 20px 0; text-decoration: none; transition: padding .25s; }
.lista-solucoes a:hover, .lista-solucoes a:focus-visible { padding-left: 14px; }
.lista-solucoes .nome { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.6rem); font-weight: 600; line-height: 1.05; }
.lista-solucoes a:hover .nome { font-style: italic; }
.lista-solucoes .promessa { color: var(--tinta-suave); }
.lista-solucoes .estado { justify-self: end; }
.estado { font-size: .78rem; font-weight: 600; border: 1px solid var(--tinta); padding: 3px 10px; border-radius: 999px; white-space: nowrap; display: inline-block; margin: 0; }
.estado.ok { color: var(--estado-ok); border-color: var(--estado-ok); }
.estado.piloto { border-style: dashed; }

/* Contacto */
.contacto { padding: var(--secao) var(--margem); border-top: 2px solid var(--tinta); }
.contacto h2 { font-size: clamp(3rem, 12vw, 10rem); line-height: 1; margin-bottom: 18px; }
.contacto a.grande { font-family: var(--serif); font-size: clamp(1.5rem, 4vw, 3rem); display: block; border-top: 1px solid var(--tinta); padding: 14px 0; text-decoration: none; }
.contacto a.grande:hover { font-style: italic; }

/* Páginas de produto */
.abertura-produto { padding: 12px var(--margem) clamp(32px, 6vw, 64px); }
.trilho { font-size: .85rem; color: var(--tinta-suave); margin: 0 0 clamp(16px, 4vw, 40px); }
.abertura-produto h1 { font-size: clamp(3.2rem, 12vw, 10rem); line-height: .88; letter-spacing: -.02em; }
.promessa { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.4rem); margin: 8px 0 0; }
.abertura-produto .sub { margin-bottom: 18px; }
.produto-dom .abertura-produto h1 { font-family: var(--sans); font-weight: 700; letter-spacing: -.04em; }
.palco-saude { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: center; padding: 0 var(--margem) var(--secao); }
.ecra { border-radius: 18px; background: var(--tinta); padding: 12px 12px 0; overflow: hidden; box-shadow: 0 24px 60px #14141433; }
.ecra .pontos { display: flex; gap: 6px; padding: 0 4px 10px; }
.ecra .pontos span { width: 10px; height: 10px; border-radius: 50%; background: #ffffff40; }
.ecra img { border-radius: 8px 8px 0 0; }
.tarefas { list-style: none; counter-reset: t; padding: 0; margin: 0; }
.tarefas li { counter-increment: t; position: relative; padding: 14px 0 14px 48px; border-bottom: 1px solid var(--regua); }
.tarefas li::before { content: counter(t); position: absolute; left: 0; top: 12px; width: 32px; height: 32px; border-radius: 50%; background: var(--tinta); color: var(--papel); display: grid; place-items: center; font-weight: 600; font-size: .85rem; }
.tarefas strong { display: block; }
.tarefas span { color: var(--tinta-suave); font-size: .93rem; }
.duas { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: var(--secao) var(--margem) 0; border-top: 1px solid var(--tinta); }
.duas h2, .negocio h2, .planos h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.regua { list-style: none; padding: 0; margin: 0; }
.regua li { border-bottom: 1px solid var(--regua); padding: 12px 0; }
.negocio { margin: var(--secao) var(--margem) 0; padding: 36px clamp(20px, 4vw, 48px); background: var(--tinta); color: #ece8df; }
.negocio p { color: #c4bfb3; max-width: 52em; margin: 0; }
.planos { padding: var(--secao) var(--margem); }
.planos table { width: 100%; border-collapse: collapse; }
.planos caption { text-align: left; color: var(--tinta-suave); font-size: .92rem; padding-bottom: 14px; }
.planos th, .planos td { text-align: left; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--regua); vertical-align: top; }
.planos thead th { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; border-bottom: 2px solid var(--tinta); }
.planos tbody th { font-family: var(--serif); font-size: 1.5rem; }
.planos td a { font-weight: 600; display: inline-block; padding: 4px 0; }

/* Colofão */
.colofao { padding: 48px var(--margem) 96px; border-top: 2px solid var(--tinta); }
.colofao-grelha { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.colofao p { margin: 0 0 10px; font-size: .92rem; }

/* WhatsApp */
.flutuante { position: fixed; right: 16px; bottom: 16px; z-index: 40; min-height: 48px; display: inline-flex; align-items: center; padding: 0 18px; background: #1d5a3a; color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 6px 18px #0003; }
.flutuante:hover { background: #164a2f; }

@media (max-width: 900px) {
  .topo { flex-wrap: wrap; padding-bottom: 4px; }
  .topo nav { width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 0 20px; border-top: 1px solid var(--regua); }
  .topo nav a { white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
  .sub, .caso, .duas, .palco-saude, .colofao-grelha { grid-template-columns: 1fr; }
  .faixa { grid-template-columns: 1fr 1fr; }
  .faixa figure:first-child { grid-column: span 2; }
  .lista-solucoes a { grid-template-columns: 1fr; }
  .lista-solucoes .estado { justify-self: start; }
  .planos thead { display: none; }
  .planos tr { display: grid; border-bottom: 1px solid var(--regua); padding: 10px 0; }
  .planos th, .planos td { border: 0; padding: 4px 0; }
}
