/* ── VERDE E AMARELO SOBRE FUNDO ESCURO ───────────────────────────────────
   O fundo continua quase preto, e isso não é apego: as bancadas são palcos 3D
   escuros, com iluminação própria. Um tema claro brigaria com todas elas e
   obrigaria a refazer a folha de cada uma — e ainda por cima apagaria o
   contraste que faz o tecido e os íons se lerem.

   A REGRA DE CONTRASTE, medida contra o fundo (#050a06):
   • amarelo (11,6:1) e verde CLARO (9,9:1) podem carregar TEXTO;
   • verde ESCURO (5,3:1) só carrega superfície, borda e área grande —
     nunca texto pequeno. É a única armadilha desta paleta: verde bonito e
     saturado engana, porque parece legível e não é.
   O creme e a névoa continuam sendo a massa de leitura, agora com um leve
   viés verde para não parecerem manchas quentes sobre fundo frio.          */
:root {
  --void: #050a06;
  --coal: #0b120c;
  --plate: #131d15;
  --cream: #f2f7ec;
  --mist: #b0c4ac;
  --amarelo: #f5c518;
  --amarelo2: #ffe066;
  --verde: #2e9e4b;
  --verde2: #5fd177;
  --lip: #1f6b33;
  --ember: #ff9d2e;
  --line: rgba(95, 209, 119, .26);
  --display: Cinzel, "Times New Roman", serif;
  --body: Inter, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  background:
    radial-gradient(900px 520px at 50% -10%, #10381d 0%, transparent 60%),
    radial-gradient(700px 360px at 90% 110%, #2d3a0b 0%, transparent 55%),
    var(--void);
  color: var(--cream);
  font: 16px/1.55 var(--body);
}

a { color: inherit; }
button, input { font: inherit; }
.shell { width: min(1040px, calc(100% - 32px)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 10, 6, .86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 42px; height: 42px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line), 0 4px 0 var(--lip); }
.brand-copy { display: grid; line-height: 1.18; }
/* o nome novo é longo: cai de 1rem para .78 e pode quebrar em duas linhas
   no telefone, em vez de estourar a barra */
.brand-copy b { color: var(--amarelo2); font: 700 .78rem var(--display); letter-spacing: .10em; line-height: 1.15; }
.brand-copy span { color: var(--mist); font-size: .75rem; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.small-button, .back-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #101a12;
  color: var(--amarelo2);
  text-decoration: none;
  cursor: pointer;
}

.hero { padding: 46px 0 26px; max-width: 760px; }
.eyebrow { color: var(--amarelo); font: 700 .75rem var(--mono); letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--display); }
h1 { margin: 9px 0 12px; font-size: clamp(2.1rem, 8vw, 4rem); line-height: 1; letter-spacing: .08em; }
.hero p { margin: 0; color: var(--mist); font-size: 1.1rem; }

.tests { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 14px 0 48px; }
.test-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(160deg, #16261a, var(--coal) 62%, #070d08);
  box-shadow: inset 0 1px rgba(255, 224, 102, .12), 0 6px 0 #030603, 0 18px 40px rgba(0, 0, 0, .45);
}
.test-card::after { content: attr(data-number); position: absolute; right: 17px; top: 12px; color: rgba(95, 209, 119, .16); font: 800 3rem var(--display); }
.test-card h2 { margin: 16px 0 8px; font-size: 1.7rem; line-height: 1.15; letter-spacing: .04em; }
.test-card p { color: var(--mist); margin: 0 0 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.tag { padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--mist); font: 500 .75rem var(--mono); }
.launch {
  margin-top: auto;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 9px;
  background: linear-gradient(180deg, var(--amarelo2), var(--amarelo));
  color: #08240f;
  text-decoration: none;
  font: 700 .85rem var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 5px 0 var(--lip);
}
.notice { margin: 0 0 40px; padding: 14px 16px; border-left: 3px solid var(--verde2); background: rgba(95, 209, 119, .08); color: var(--mist); font-size: .85rem; }

.page { padding: 24px 0 44px; }
.page-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 16px; }
.page-head h1 { margin-bottom: 0; font-size: clamp(1.8rem, 7vw, 3.2rem); }
.page-note { color: var(--mist); max-width: 700px; margin: 0 0 16px; }

/* ── A ASSINATURA ─────────────────────────────────────────────────────────
   A figura do notebook fica AO LADO do nome, não acima: assinatura é uma
   linha, e empilhar transformaria o rodapé num segundo cabeçalho. No telefone
   ela some — ali cada pixel de altura conta mais que o enfeite. */
footer { padding: 22px 0 34px; border-top: 1px solid var(--line); color: var(--mist); font-size: .85rem;
  display: flex; align-items: center; justify-content: center; gap: 14px; text-align: left; }
footer img { width: 84px; height: auto; flex: none; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); }
@media (max-width: 560px) { footer img { display: none; } footer { text-align: center; } }

@media (max-width: 720px) {
  .tests { grid-template-columns: 1fr; }
  .test-card { min-height: 0; }
  .page-head { align-items: start; flex-direction: column; }
}

@media (max-width: 520px) {
  .shell { width: min(100% - 22px, 1040px); }
  .brand-copy span { display: none; }
  .small-button { font-size: .8rem; padding-inline: 10px; }
  .hero { padding-top: 30px; }
}

/* ── O LEMA ───────────────────────────────────────────────────────────────
   Duas frases com pesos diferentes de propósito: a primeira é o que o
   laboratório afirma, e vai em amarelo, que é a cor de maior contraste da
   paleta; a segunda é o convite, e vai em verde claro. Verde ESCURO aqui
   seria bonito e ilegível — 5,3:1 não sustenta texto. */
.lema { margin: 14px 0 18px; display: grid; gap: 4px; }
.lema b { color: var(--amarelo2); font: 700 clamp(1.15rem, 3.4vw, 1.6rem)/1.25 var(--display); letter-spacing: .03em; }
.lema i { color: var(--verde2); font: 600 clamp(.95rem, 2.6vw, 1.15rem)/1.3 var(--body); font-style: normal; letter-spacing: .01em; }
