/* Vitrinal — site institucional. Tokens da identidade (DESIGN.md). */
@font-face {
  font-family: "Host Grotesk";
  src: url("fonts/host-grotesk.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --esmeralda: #067A54;
  --esmeralda-escuro: #056445;
  --floresta: #0B3B2C;
  --luz: #12B07A;
  --menta: #E6F4EC;
  --menta-forte: #B9F5D0;
  --tinta: #16191D;
  --grafite: #5A6168;
  --nevoa: #F4F6F5;
  --borda: #DFE4E1;
  --branco: #FFFFFF;

  --f-corpo: 1.0625rem;
  --f-h1: clamp(2.4rem, 1.5rem + 3.8vw, 4.1rem);
  --f-h2: clamp(1.85rem, 1.35rem + 1.9vw, 2.75rem);
  --f-h3: 1.25rem;
  --gutter: 1rem;
  --secao: clamp(4rem, 2.5rem + 5vw, 7rem);
  --raio: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Host Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--f-corpo);
  line-height: 1.6;
  color: var(--tinta);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 700; color: var(--tinta); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--esmeralda); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--luz); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 48rem) { :root { --gutter: 2rem; } }

.pular { position: absolute; left: -9999px; top: 0; background: var(--floresta); color: #fff; padding: .75rem 1rem; z-index: 50; }
.pular:focus { left: 1rem; top: 1rem; }

/* ---------- Botões ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3.25rem; padding: 0 1.5rem;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--esmeralda); color: var(--branco);
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.botao:hover { background: var(--esmeralda-escuro); }
.botao svg { width: 1.2rem; height: 1.2rem; flex: none; }
.botao-pequeno { min-height: 2.6rem; padding: 0 1.1rem; font-size: .95rem; }
.botao-linha { background: transparent; color: var(--tinta); border-color: var(--borda); }
.botao-linha:hover { background: var(--nevoa); }
.botao-claro { background: var(--branco); color: var(--floresta); }
.botao-claro:hover { background: var(--menta-forte); }

/* ---------- Topo ---------- */
.topo {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--borda);
}
.topo-linha { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.marca img { width: 132px; height: auto; }
.menu { display: none; gap: 1.75rem; margin-left: auto; }
.menu a { color: var(--grafite); text-decoration: none; font-weight: 500; font-size: .98rem; }
.menu a:hover { color: var(--tinta); }
.topo .botao { margin-left: auto; }
@media (min-width: 56rem) {
  .menu { display: flex; }
  .topo .botao { margin-left: 0; }
  .marca img { width: 150px; }
}
@media (max-width: 22rem) { .topo .botao { padding: 0 .85rem; font-size: .88rem; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 2rem + 4vw, 6rem) 0 clamp(3.5rem, 2rem + 5vw, 6.5rem); overflow: hidden; }
.hero-grade { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 60rem) { .hero-grade { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 4rem; } }
.selo {
  display: inline-block; margin-bottom: 1.25rem;
  padding: .3rem .8rem; border-radius: 999px;
  background: var(--menta); color: var(--floresta);
  font-size: .9rem; font-weight: 600;
}
.hero h1 { font-size: var(--f-h1); line-height: 1.02; letter-spacing: -.045em; max-width: 14ch; }
.hero-sub { margin-top: 1.5rem; font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--grafite); max-width: 52ch; }
.acoes { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
@media (max-width: 30rem) { .acoes .botao { width: 100%; } }

/* Ilustração: busca no Google + celular com o site */
.hero-visual { position: relative; min-height: 30rem; max-width: 30rem; width: 100%; margin: 0 auto; }
.celular {
  position: absolute; right: 4%; top: 2.5rem;
  width: 15.5rem; height: 27rem; padding: .7rem;
  background: var(--tinta); border-radius: 2.4rem;
  box-shadow: 0 30px 60px -20px rgba(11, 59, 44, .35), 0 12px 24px -12px rgba(22, 25, 29, .3);
}
.tela {
  height: 100%; border-radius: 1.8rem; background: var(--branco);
  padding: 1.1rem 1rem; display: flex; flex-direction: column; gap: .6rem; overflow: hidden;
}
.tela-topo { display: flex; justify-content: space-between; align-items: center; padding-bottom: .7rem; border-bottom: 1px solid var(--borda); margin-bottom: .6rem; }
.tela-logo { width: 4.5rem; height: .7rem; border-radius: 4px; background: var(--floresta); }
.tela-menu { width: 1.1rem; height: .7rem; border-top: 2px solid var(--grafite); border-bottom: 2px solid var(--grafite); }
.tela-titulo { height: 1.05rem; border-radius: 5px; background: var(--tinta); width: 92%; }
.tela-titulo.t2 { width: 64%; }
.tela-texto { height: .5rem; border-radius: 4px; background: var(--borda); width: 96%; margin-top: .25rem; }
.tela-texto.t2 { width: 78%; margin-top: 0; }
.tela-zap {
  margin-top: .6rem; padding: .7rem .6rem; border-radius: 999px;
  background: #128C55; color: #fff; text-align: center;
  font-size: .72rem; font-weight: 600; line-height: 1.2;
}
.tela-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: auto; }
.tela-cards span { height: 5.5rem; border-radius: 10px; background: var(--nevoa); border: 1px solid var(--borda); }
.busca {
  position: absolute; left: 0; top: 0; z-index: 2;
  width: 17.5rem; padding: 1rem;
  background: var(--branco); border: 1px solid var(--borda); border-radius: var(--raio);
  box-shadow: 0 18px 40px -18px rgba(22, 25, 29, .28);
}
.busca-campo {
  padding: .5rem .85rem; border-radius: 999px; border: 1px solid var(--borda);
  font-size: .82rem; color: var(--grafite); line-height: 1.3;
}
.busca-resultado { display: flex; flex-direction: column; gap: .35rem; margin-top: .9rem; padding: .75rem; border-radius: 10px; background: var(--menta); }
.busca-url { font-size: .72rem; color: var(--esmeralda); line-height: 1.2; }
.busca-titulo { font-size: .9rem; font-weight: 600; color: var(--floresta); line-height: 1.25; }
.busca-linha { height: .42rem; border-radius: 4px; background: rgba(11, 59, 44, .14); width: 95%; }
.busca-linha.curta { width: 70%; }
@media (max-width: 26rem) {
  .hero-visual { min-height: 27rem; }
  .celular { width: 13.5rem; height: 24rem; right: 0; }
  .busca { width: 15rem; }
}

/* ---------- Nichos ---------- */
.faixa-nichos { border-top: 1px solid var(--borda); border-bottom: 1px solid var(--borda); padding: 1.5rem 0; }
.faixa-nichos .container { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.faixa-nichos p { color: var(--grafite); font-size: .95rem; }
.faixa-nichos ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.faixa-nichos li { padding: .3rem .85rem; border-radius: 999px; border: 1px solid var(--borda); font-size: .92rem; font-weight: 500; }

/* ---------- Seções ---------- */
.secao { padding: var(--secao) 0; }
.secao-nevoa { background: var(--nevoa); }
.intro h2 { font-size: var(--f-h2); line-height: 1.08; letter-spacing: -.035em; }
.intro p { margin-top: 1rem; color: var(--grafite); font-size: 1.1rem; max-width: 46ch; }

.passos { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 52rem) { .passos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.passos li { padding: 1.75rem; border: 1px solid var(--borda); border-radius: var(--raio); background: var(--branco); }
.passo-num {
  display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; margin-bottom: 1.25rem;
  border-radius: 10px; background: var(--floresta); color: var(--menta-forte);
  font-weight: 700; font-size: 1rem;
}
.passos h3 { font-size: var(--f-h3); letter-spacing: -.02em; line-height: 1.2; }
.passos p { margin-top: .6rem; color: var(--grafite); }

.vem-grade, .duvidas-grade { display: grid; gap: 2.5rem; }
@media (min-width: 56rem) {
  .vem-grade, .duvidas-grade { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4rem; align-items: start; }
}
.lista-vem { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
@media (min-width: 40rem) { .lista-vem { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.lista-vem li {
  position: relative; padding: 1.25rem 0 1.25rem 2rem;
  border-top: 1px solid var(--borda); color: var(--grafite);
}
.lista-vem li::before {
  content: ""; position: absolute; left: 0; top: 1.55rem;
  width: .85rem; height: .85rem; border-radius: 3px;
  background: var(--luz); box-shadow: inset 0 0 0 3px var(--luz), inset 0 0 0 5px var(--menta-forte);
}
.lista-vem strong { display: block; color: var(--tinta); font-weight: 650; margin-bottom: .15rem; }

.duvidas { border-top: 1px solid var(--borda); }
.duvidas details { border-bottom: 1px solid var(--borda); }
.duvidas summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0; font-weight: 600; font-size: 1.08rem;
}
.duvidas summary::-webkit-details-marker { display: none; }
.duvidas summary::after {
  content: ""; flex: none; width: .65rem; height: .65rem;
  border-right: 2px solid var(--grafite); border-bottom: 2px solid var(--grafite);
  transform: rotate(45deg) translateY(-3px); transition: transform .15s ease;
}
.duvidas details[open] summary::after { transform: rotate(225deg) translateY(-1px); }
.duvidas details p { padding: 0 2rem 1.35rem 0; color: var(--grafite); max-width: 60ch; }

/* ---------- Chamada final ---------- */
.chamada { background: var(--floresta); color: var(--branco); padding: clamp(3.5rem, 2.5rem + 4vw, 5.5rem) 0; }
.chamada-linha { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.chamada h2 { color: var(--branco); font-size: var(--f-h2); line-height: 1.08; letter-spacing: -.035em; max-width: 20ch; }
.chamada p { margin-top: .85rem; color: var(--menta-forte); font-size: 1.1rem; }

/* ---------- Rodapé ---------- */
.rodape { background: var(--floresta); color: rgba(255, 255, 255, .78); border-top: 1px solid rgba(255, 255, 255, .1); }
.rodape-linha { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 2.5rem; padding-bottom: 1.5rem; }
.rodape-linha img { width: 128px; height: auto; }
.contatos { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin: 0; padding: 0; list-style: none; }
.contatos a { color: rgba(255, 255, 255, .88); text-decoration: none; font-size: .95rem; }
.contatos a:hover { color: var(--menta-forte); text-decoration: underline; }
.rodape-base { padding-top: 0; padding-bottom: 2.5rem; font-size: .88rem; color: rgba(255, 255, 255, .6); }
