/* Diagnóstico Digital · versão de 22/11/2026 (logo nova, lista de exames, dúvidas, fechamento)
   Paleta 60-30-10: fundo claro (60) · tinta verde-escura (30) · verde de ação (10, só em botão e link de ação). */
:root {
  --fundo: #F4F7F5;
  --papel: #FFFFFF;
  --tinta: #0F2E2A;
  --tinta-2: #3D5652;
  --linha: #D5DFDB;
  --nevoa: #E3ECE8;
  --acento: #0B7A36;
  --acento-escuro: #075F29;
  --sobre-acento: #FFFFFF;
  --escuro-texto: #B9CCC7;
  --raio: 14px;
  --sombra-frente: 0 14px 30px -12px rgba(11, 122, 54, .55), 0 2px 6px rgba(15, 46, 42, .12);
  --sombra-cartao: 0 24px 60px -28px rgba(15, 46, 42, .35), 0 2px 8px rgba(15, 46, 42, .06);
  --lado: 16px;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--tinta);
  font: 400 1.0625rem/1.55 var(--sans);
  overflow-x: hidden;
}
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -.015em; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--tinta); outline-offset: 3px; }
.chegar :focus-visible, .rodape :focus-visible { outline-color: #FFFFFF; }

.largura { width: min(1120px, 100% - 2 * var(--lado)); margin-inline: auto; }
.secao-apoio { color: var(--tinta-2); margin-top: .5rem; max-width: 56ch; }

/* botões: o único lugar do verde de ação */
.botao {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .8rem 1.4rem;
  border-radius: 999px; border: 0;
  background: var(--acento); color: var(--sobre-acento);
  font: 700 1.05rem/1.1 var(--sans); text-decoration: none;
  box-shadow: var(--sombra-frente);
  transition: background-color .15s ease, transform .15s ease;
}
.botao:hover { background: var(--acento-escuro); }
.botao:active { transform: translateY(1px); }
.botao-p { min-height: 44px; padding: .55rem 1.1rem; font-size: .95rem; box-shadow: none; }

/* topo */
.topo {
  position: sticky; top: 0; z-index: 20;
  background: rgba(244, 247, 245, .9);
  backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid var(--linha);
}
.topo-in {
  width: min(1120px, 100% - 2 * var(--lado)); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  min-height: 64px;
}
.marca { display: flex; align-items: center; gap: .6rem; min-height: 44px; text-decoration: none; }
.marca-simbolo { width: 38px; height: 38px; flex: none; }
.marca-texto { display: grid; line-height: 1.05; }
.marca-nome { font-size: 1.06rem; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.marca-sub { margin-top: .2rem; font-size: .68rem; font-weight: 600; letter-spacing: .38em; text-transform: uppercase; color: var(--tinta-2); }
.nav { display: none; gap: 1.6rem; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: .7rem 0; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* primeira tela: fundo (a marca em tons claros) · meio (texto) · frente (botão) */
.heroe {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 2.4rem 0 7.5rem;
  background:
    radial-gradient(56rem 36rem at 100% 0%, #DCEEE2 0%, rgba(220, 238, 226, 0) 62%),
    radial-gradient(40rem 28rem at 0% 100%, #E7F2EC 0%, rgba(231, 242, 236, 0) 70%),
    var(--fundo);
}
/* trama de pontos bem leve, some para as bordas */
.heroe::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: radial-gradient(rgba(15, 46, 42, .09) 1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 25%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 30% 25%, #000 0%, transparent 75%);
}
.heroe-fundo {
  position: absolute; z-index: -1;
  width: 122vw; max-width: 760px; aspect-ratio: 1;
  right: -66vw; top: -8.5rem;
}
.heroe-in { width: min(1120px, 100% - 2 * var(--lado)); margin-inline: auto; display: grid; gap: 1.8rem; }
.heroe-foto {
  margin: 0; position: relative;
  border-radius: 22px; overflow: hidden;
  aspect-ratio: 16 / 11; background: var(--nevoa);
  box-shadow: 0 30px 60px -30px rgba(15, 46, 42, .45), 0 2px 8px rgba(15, 46, 42, .08);
}
.heroe-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; }
/* véu verde muito leve: a foto conversa com a paleta */
.heroe-foto::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(11, 122, 54, .10), rgba(15, 46, 42, .18));
  mix-blend-mode: multiply;
}
.varredura { transform-origin: 300px 300px; animation: girar 40s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }

.heroe-texto { max-width: 640px; }
.sobretitulo {
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--tinta-2); margin-bottom: 1rem;
}
.heroe h1 { font-size: clamp(1.85rem, 1.25rem + 3vw, 3.1rem); font-weight: 700; letter-spacing: -.02em; max-width: 16ch; }
.apoio { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--tinta-2); margin: 1.2rem 0 1.8rem; max-width: 46ch; }
.heroe .botao { width: 100%; max-width: 360px; }
.heroe-pe { margin-top: 1.1rem; font-size: .95rem; color: var(--tinta-2); }
.heroe-pe a { color: var(--tinta); font-weight: 600; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }
.heroe-pe { margin-top: .5rem; }

/* amostra grátis: o cartão atravessa a borda e sobe para a primeira tela */
.preparo { padding: 0 var(--lado) 4rem; }
.ferramenta {
  position: relative; z-index: 2;
  width: min(880px, 100%); margin: -5.5rem auto 0;
  background: var(--papel); border-radius: calc(var(--raio) + 6px);
  box-shadow: var(--sombra-cartao);
  padding: 1.4rem 1.1rem 1.5rem;
  scroll-margin-top: 84px;
}
.ferramenta-cab h2 { font-size: clamp(1.45rem, 1.2rem + 1.2vw, 2rem); }
.ferramenta-cab p { color: var(--tinta-2); margin-top: .4rem; }
.passos { margin-top: 1.2rem; display: grid; gap: 1.1rem; }
.passo { border: 0; margin: 0; padding: 0; min-width: 0; }
.passo legend { font-weight: 700; padding: 0; margin-bottom: .55rem; display: flex; align-items: center; gap: .55rem; }
.n {
  display: inline-grid; place-items: center; flex: none;
  width: 1.7rem; height: 1.7rem; border-radius: 50%;
  border: 1.5px solid var(--tinta); font-size: .85rem; font-weight: 700;
}
.opcoes { display: flex; flex-wrap: wrap; gap: .5rem; }
.opcoes label {
  position: relative; display: inline-flex; align-items: center;
  min-height: 44px; padding: .5rem .95rem;
  border: 1.5px solid var(--linha); border-radius: 999px;
  background: var(--fundo); font-size: .97rem; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.opcoes input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opcoes label:hover { border-color: var(--tinta-2); }
.opcoes label:has(input:checked) { background: var(--tinta); border-color: var(--tinta); color: #F4F7F5; }
.opcoes label:has(input:focus-visible) { outline: 3px solid var(--tinta); outline-offset: 2px; }

.resultado {
  scroll-margin-top: 84px;
  margin-top: 1.4rem; padding: 1.2rem 1.1rem 1.3rem;
  border-radius: var(--raio); background: var(--fundo); border: 1px solid var(--linha);
}
.resultado h3 { font-size: 1.2rem; }
.resultado ul { margin: .7rem 0 .9rem; padding-left: 1.15rem; display: grid; gap: .35rem; }
.res-levar, .res-nota { font-size: .97rem; margin-bottom: .6rem; }
.res-nota:empty { display: none; }
.resultado .botao { width: 100%; max-width: 360px; margin-top: .4rem; }
.res-aviso { margin-top: .9rem; font-size: .85rem; color: var(--tinta-2); }
.resultado-vazio { margin-top: 1.2rem; color: var(--tinta-2); font-size: .95rem; }

/* títulos de seção */
.exames h2, .como h2, .duvidas h2 { font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2.15rem); }

/* exames: uma lista de laudo, não uma grade de cartões */
.exames { padding: 3.5rem 0; }
.lista-exames {
  list-style: none; margin: 1.6rem 0 0; padding: 0;
  display: grid;
  background: var(--papel); border: 1px solid var(--linha);
  border-radius: calc(var(--raio) + 6px); overflow: hidden;
}
.lista-exames li + li { border-top: 1px solid var(--linha); }
.lista-exames a {
  display: grid; grid-template-columns: 64px 1fr auto;
  grid-template-areas: "foto nome tipo" "foto desc desc" "foto acao acao";
  gap: .2rem .9rem; height: 100%; align-content: start;
  padding: 1.05rem 1.15rem 1.1rem; text-decoration: none;
  transition: background-color .15s ease;
}
.lista-exames a:hover { background: var(--fundo); }
.lista-exames a:focus-visible { outline-offset: -4px; }
.ex-foto {
  grid-area: foto; align-self: start;
  width: 64px; height: 64px; border-radius: 12px; object-fit: cover;
  background: var(--nevoa);
}
.ex-nome { grid-area: nome; font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; }
.ex-tipo {
  grid-area: tipo; align-self: center;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--tinta-2); background: var(--nevoa); border-radius: 999px; padding: .22rem .6rem;
}
.ex-desc { grid-area: desc; color: var(--tinta-2); font-size: .98rem; }
.ex-acao { grid-area: acao; margin-top: .4rem; color: var(--acento); font-weight: 700; font-size: .92rem; }
.ex-acao::after { content: " \2192"; }
.lista-exames a:hover .ex-acao { text-decoration: underline; text-underline-offset: 3px; }

/* como funciona: linha do tempo */
.como { padding: 3.5rem 0; background: var(--papel); border-block: 1px solid var(--linha); }
.etapas { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 1.6rem; }
.etapas li { position: relative; display: flex; gap: .9rem; align-items: flex-start; }
.etapas .n { width: 2.2rem; height: 2.2rem; font-size: 1rem; background: var(--papel); position: relative; z-index: 1; }
.etapas li:not(:last-child)::after {
  content: ""; position: absolute;
  left: calc(1.1rem - 1px); top: 2.5rem; bottom: -1.4rem; width: 2px;
  background: var(--linha);
}
.etapas h3 { font-size: 1.1rem; }
.etapas p { color: var(--tinta-2); margin-top: .25rem; }

/* dúvidas: sanfona nativa, sem JavaScript */
.duvidas { padding: 3.5rem 0; }
.perguntas { margin-top: 1.4rem; max-width: 820px; border-top: 1px solid var(--linha); }
.perguntas details { border-bottom: 1px solid var(--linha); }
.perguntas summary {
  position: relative; list-style: none; cursor: pointer;
  min-height: 44px; padding: 1.05rem 2.6rem 1.05rem 0;
  font-weight: 700; font-size: 1.08rem;
}
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary::after {
  content: ""; position: absolute; right: .5rem; top: 50%;
  width: .6rem; height: .6rem;
  border-right: 2px solid var(--tinta); border-bottom: 2px solid var(--tinta);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.perguntas details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.perguntas summary:hover { color: var(--tinta-2); }
.perguntas details p { padding: 0 0 1.2rem; color: var(--tinta-2); max-width: 62ch; }
.perguntas details a { color: var(--acento); font-weight: 600; text-underline-offset: 3px; }

/* fechamento: resolve a página com a ação, não vira rodapé */
.chegar {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--tinta); color: var(--escuro-texto);
  padding: 4rem 0 4.2rem;
}
.chegar-marca {
  position: absolute; z-index: -1; pointer-events: none;
  width: 360px; height: auto; right: -150px; bottom: -190px; opacity: .1;
}
.chegar-in { display: grid; gap: 2.4rem; }
.chegar h2 { color: #FFFFFF; font-size: clamp(1.75rem, 1.3rem + 2vw, 2.7rem); max-width: 17ch; }
.chegar-apoio { margin: .9rem 0 1.6rem; max-width: 44ch; font-size: 1.05rem; }
.chegar .botao { width: 100%; max-width: 360px; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .55); }
.chegar-endereco { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 1.8rem; }
.chegar-endereco h3 { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9FB8B1; }
.chegar address { font-style: normal; margin: .8rem 0 .4rem; font-size: 1.15rem; color: #FFFFFF; }
.links { display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; margin-top: .8rem; }
.links a {
  color: #FFFFFF; font-weight: 600; text-underline-offset: 4px;
  min-height: 44px; display: inline-flex; align-items: center;
}

/* rodapé */
.rodape { background: #0A221F; color: var(--escuro-texto); padding: 1.4rem 0 1.6rem; font-size: .88rem; }
.rodape-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.interruptor {
  min-height: 44px; padding: .45rem 1rem; border-radius: 999px;
  border: 1px solid #5E7A75; background: transparent; color: #F4F7F5;
  font: 600 .88rem var(--sans); cursor: pointer;
}

/* celulares bem estreitos (320 px): o topo precisa caber inteiro */
@media (max-width: 359px) {
  .topo-in { gap: .5rem; }
  .marca { gap: .45rem; }
  .marca-simbolo { width: 32px; height: 32px; }
  .marca-nome { font-size: .95rem; }
  .marca-sub { letter-spacing: .4em; }
  .botao-p { padding: .55rem .85rem; font-size: .9rem; }
}

/* telas maiores */
@media (min-width: 720px) {
  :root { --lado: 28px; }
  .nav { display: flex; }
  .marca-simbolo { width: 42px; height: 42px; }
  .marca-nome { font-size: 1.15rem; }
  .heroe { padding: 3.5rem 0 9rem; }
  .heroe-fundo { width: 680px; right: -330px; top: -6rem; opacity: .6; }
  .heroe-foto { max-height: 460px; }
  .lista-exames a { grid-template-columns: 84px 1fr auto; }
  .ex-foto { width: 84px; height: 84px; border-radius: 14px; }
  .heroe .botao { width: auto; }
  .ferramenta { padding: 2rem 2.2rem 2.2rem; margin-top: -7rem; }
  .passos { grid-template-columns: 1fr 1fr; gap: 1.4rem 2rem; }
  .passo:first-child { grid-column: 1 / -1; }
  .lista-exames { grid-template-columns: 1fr 1fr; }
  .lista-exames li { border-top: 1px solid var(--linha); }
  .lista-exames li:nth-child(-n+2) { border-top: 0; }
  .lista-exames li:nth-child(odd) { border-right: 1px solid var(--linha); }
  .lista-exames a { padding: 1.3rem 1.5rem 1.35rem; }
  .etapas { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .etapas li { flex-direction: column; gap: .8rem; }
  .etapas li:not(:last-child)::after { left: 3rem; right: -1.6rem; top: calc(1.1rem - 1px); bottom: auto; width: auto; height: 2px; }
  .chegar { padding: 5.5rem 0 5.5rem; }
  .chegar-in { grid-template-columns: 1.25fr 1fr; align-items: center; gap: 3rem; }
  .chegar .botao { width: auto; }
  .chegar-endereco { border-top: 0; padding-top: 0; border-left: 1px solid rgba(255, 255, 255, .14); padding-left: 2.6rem; }
  .chegar-marca { width: 520px; right: -170px; bottom: -200px; }
}
@media (min-width: 1040px) {
  .heroe { padding-top: 4.2rem; }
  .heroe-in { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 3.5rem; }
  .heroe-foto { aspect-ratio: 1 / 1.02; max-height: none; }
  /* a marca fica atrás da foto e aparece pelas bordas */
  .heroe-fundo { width: 720px; opacity: 1; top: -4.5rem; right: calc((100vw - 1120px) / 2 - 260px); }
}

/* movimento: desligado pelo sistema ou pelo botão do rodapé */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .varredura { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
html[data-motion="off"] { scroll-behavior: auto; }
html[data-motion="off"] .varredura { animation: none; }

/* Selo do Netlify (plano grátis): a CSP da página bloqueia o conteúdo dele; não deixar o quadro invisível bloquear toques. */
#nl-badge-frame { pointer-events: none; }
