/* ============================================================
   Poty · base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  background: var(--papel);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--f);
  font-size: var(--t-corpo);
  line-height: 1.6;
  font-weight: 400;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* com a janela ou o menu abertos a página não rola por trás */
body.travado { overflow: hidden; }

img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, figure, dl, dd, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }

::selection { background: var(--amarelo); color: var(--tinta); }

/* foco sempre visível, no teclado */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--tinta);
  outline-offset: 3px;
  border-radius: 6px;
}
.sec--contato :focus-visible, .galeria :focus-visible, .hero :focus-visible { outline-color: currentColor; }

.sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.pular {
  position: fixed; left: 12px; top: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 999px;
  background: var(--tinta); color: #fff; font-weight: 600; font-size: .9rem;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.pular:focus-visible { transform: none; }

/* ---------- grade ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- tipo ---------- */
.h2 {
  font-size: var(--t-h2);
  font-weight: 500;
  font-stretch: 92%;
  line-height: 1.02;
  letter-spacing: -.028em;
  color: var(--tinta);
  text-wrap: balance;
}
.h3 {
  font-size: var(--t-h3);
  font-weight: 600;
  font-stretch: 94%;
  line-height: 1.15;
  letter-spacing: -.014em;
  text-wrap: balance;
}
.lead {
  font-size: var(--t-lead);
  line-height: 1.55;
  color: var(--corpo);
  max-width: 36rem;
  text-wrap: pretty;
}
.small { font-size: var(--t-small); line-height: 1.5; color: var(--suave); }
.rotulo {
  font-size: var(--t-rotulo);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--suave);
  line-height: 1.3;
}
b, strong { font-weight: 600; }

/* números alinhados em tudo que conta */
.kpi, .fato b, .painel__area, .painel__preco, .poi__dist, .hero__preco, .galeria__conta, .linha {
  font-variant-numeric: tabular-nums lining-nums;
}

/* ícones de linha: traço fino, pontas redondas */
.ico {
  width: 1.25em; height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
