/* ==========================================================================
   Statia Imobiliária, página institucional
   Registro: profissional e convencional. Escala confortável, informação
   organizada em blocos, nada em tamanho de cartaz.
   ========================================================================== */

@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo-var.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

/* ----------------------------------------------------------------- tokens */
:root {
  --branco:    #FFFFFF;
  --fundo:     #F7F7F5;
  --cartao:    #FFFFFF;
  --borda:     #E5E5E1;
  --borda-2:   #D8D8D3;

  --tinta:     #1A1C1F;
  --tinta-2:   #5F6266;
  --tinta-3:   #86898D;

  --coral:     #FF325D;
  --coral-esc: #D31048;
  --coral-luz: #FFF1F4;

  --escuro:    #1A1C1F;
  --escuro-2:  #9DA0A5;

  --f: 'Archivo', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --r:      8px;
  --r-p:    6px;
  --marge:  clamp(20px, 4.4vw, 56px);
  --frame:  1180px;
  --ar:     clamp(56px, 6.4vw, 92px);

  --sombra:    0 1px 2px rgba(26, 28, 31, 0.04);
  --sombra-2:  0 6px 20px rgba(26, 28, 31, 0.07);
}

/* ------------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--branco);
  color: var(--tinta);
  font-family: var(--f);
  font-size: 17px;
  font-weight: 400;
  font-stretch: 100%;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--coral-esc); outline-offset: 3px; border-radius: 2px; }

.oculto {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------- estrutura */
.faixa { padding: var(--ar) var(--marge); }

.faixa--cinza { background: var(--fundo); }

.int { width: 100%; max-width: var(--frame); margin-inline: auto; }

.cab { max-width: 640px; }

.cab .rot { margin-bottom: 12px; }

.cab p { margin: 14px 0 0; color: var(--tinta-2); }

/* -------------------------------------------------------------- tipografia */
h1, h2, h3 { margin: 0; font-weight: 660; }

.rot {
  display: block;
  font-size: 12px;
  font-weight: 650;
  font-stretch: 92%;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--coral-esc);
}

.rot--n { color: var(--tinta-3); }

.h1 {
  font-size: clamp(30px, 3.7vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.022em;
}

.h2 {
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.018em;
}

.h3 {
  font-size: 18px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.008em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.sec { color: var(--tinta-2); }

.peq { font-size: 15px; line-height: 1.55; }

/* --------------------------------------------------------------- cabeçalho */
.topo {
  border-bottom: 1px solid var(--borda);
  background: var(--branco);
}

.topo__int {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px var(--marge);
  max-width: calc(var(--frame) + var(--marge) * 2);
  margin-inline: auto;
}

.topo img { width: 98px; height: auto; }

.topo .rot { font-size: 11px; }

/* -------------------------------------------------------------------- hero */
.hero { padding: clamp(40px, 5.4vw, 76px) var(--marge) clamp(44px, 5.6vw, 80px); }

.hero__grade { display: grid; gap: clamp(30px, 4vw, 56px); align-items: center; }

@media (min-width: 900px) {
  .hero__grade { grid-template-columns: minmax(0, 1fr) 40%; }
}

.hero__sub { margin: 18px 0 0; max-width: 46ch; font-size: 18px; color: var(--tinta-2); }

.hero__acoes {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.hero__nota { font-size: 15px; color: var(--tinta-3); }

.hero__foto {
  border-radius: var(--r);
  overflow: hidden;
  background: var(--fundo);
  aspect-ratio: 4 / 5;
}

.hero__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.sem-foto .hero__foto { display: none; }

@media (min-width: 900px) {
  .hero__grade.sem-foto { grid-template-columns: minmax(0, 760px); }
}

/* tira de identificação logo abaixo do hero */
.tira {
  border-top: 1px solid var(--borda);
  border-bottom: 1px solid var(--borda);
  background: var(--fundo);
}

.tira__int {
  max-width: calc(var(--frame) + var(--marge) * 2);
  margin-inline: auto;
  padding: 20px var(--marge);
  display: grid;
  gap: 16px 32px;
}

@media (min-width: 720px) {
  .tira__int { grid-template-columns: repeat(3, auto); justify-content: start; gap: 44px; }
}

.tira__it { display: flex; align-items: baseline; gap: 9px; font-size: 15px; }

.tira__it b { font-weight: 650; }

.tira__it span { color: var(--tinta-3); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 650; }

/* ----------------------------------------------------- cartões de registro */
.grade { display: grid; gap: 16px; margin-top: clamp(28px, 3.4vw, 40px); }

@media (min-width: 640px) { .grade--2 { grid-template-columns: repeat(2, 1fr); } }

@media (min-width: 900px) { .grade--4 { grid-template-columns: repeat(4, 1fr); } }

.cartao {
  padding: 22px;
  background: var(--cartao);
  border: 1px solid var(--borda);
  border-radius: var(--r);
  box-shadow: var(--sombra);
}

.faixa--cinza .cartao { background: var(--branco); }

.cartao .rot { margin-bottom: 10px; }

.dado {
  display: block;
  font-size: 25px;
  font-weight: 660;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--tinta);
  overflow-wrap: anywhere;
}

.cartao .peq { margin: 8px 0 0; color: var(--tinta-2); }

.conferir {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 640;
  color: var(--coral-esc);
  text-decoration: none;
}

.conferir svg,
.imovel__link svg,
.voltar svg { width: 10px; height: 10px; flex: none; }

.conferir:hover, .conferir:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

.conferir--vazio { color: var(--tinta-3); }

.nota-conf {
  margin-top: 26px;
  padding: 18px 20px;
  background: var(--coral-luz);
  border-radius: var(--r);
  font-size: 16px;
  line-height: 1.5;
  color: var(--tinta);
}

.nota-conf b { font-weight: 650; }

/* revelação discreta dos cartões de registro */
.com-js .grade[data-reve] > * { opacity: 0; transform: translateY(8px); }

.com-js .grade[data-reve].visivel > * {
  opacity: 1;
  transform: none;
  transition: opacity 420ms ease, transform 420ms ease;
}

.com-js .grade[data-reve].visivel > *:nth-child(2) { transition-delay: 70ms; }
.com-js .grade[data-reve].visivel > *:nth-child(3) { transition-delay: 140ms; }
.com-js .grade[data-reve].visivel > *:nth-child(4) { transition-delay: 210ms; }

/* ------------------------------------------------------------------ método */
.passo__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--coral-luz);
  color: var(--coral-esc);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.passo .h3 { margin-bottom: 7px; }

.passo p { font-size: 15px; line-height: 1.55; color: var(--tinta-2); }

/* -------------------------------------------------------------- duas colunas */
.dupla { display: grid; gap: clamp(26px, 3vw, 48px); }

@media (min-width: 900px) {
  .dupla { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 4.4vw, 72px); }
}

.destaque {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 3px solid var(--coral);
  background: var(--fundo);
  border-radius: 0 var(--r-p) var(--r-p) 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
}

.faixa--cinza .destaque { background: var(--branco); }

/* lista com marcador */
.lista { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }

.lista li { position: relative; padding-left: 28px; font-size: 16px; color: var(--tinta-2); }

.lista li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

/* ---------------------------------------------------------------- carteira */
.imovel {
  display: block;
  max-width: 520px;
  padding: 24px;
  background: var(--cartao);
  border: 1px solid var(--borda);
  border-radius: var(--r);
  box-shadow: var(--sombra);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.imovel:hover, .imovel:focus-visible { box-shadow: var(--sombra-2); border-color: var(--borda-2); }

.imovel .h3 { margin: 10px 0 4px; }

.imovel__preco {
  display: block;
  margin: 18px 0 0;
  font-size: 30px;
  font-weight: 680;
  line-height: 1;
  letter-spacing: -0.025em;
}

.imovel__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 640;
  color: var(--coral-esc);
}

.imovel:hover .imovel__link { text-decoration: underline; text-underline-offset: 3px; }

/* ----------------------------------------------------------------- contato */
.contato { background: var(--escuro); color: var(--escuro-2); }

.contato .h2 { color: var(--branco); }

.contato .cab p { color: var(--escuro-2); }

.contato .cartao {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.contato .rot { color: var(--coral); }

.contato .cartao .rot, .contato .rot--n { color: var(--escuro-2); }

.contato .dado { font-size: 20px; color: var(--branco); }

.contato .dado--fone { font-size: 25px; }

.contato .cartao .peq { color: var(--escuro-2); }

.contato a.dado { text-decoration: none; }

.contato a.dado:hover { text-decoration: underline; text-underline-offset: 4px; }

.contato__cta { margin-top: 32px; }

/* ------------------------------------------------------------------ rodapé */
.rodape {
  background: var(--escuro);
  color: var(--escuro-2);
  padding: 0 var(--marge) 44px;
  font-size: 14.5px;
  line-height: 1.7;
}

.rodape .int { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 30px; }

.rodape p { margin: 0; }

.rodape b { color: var(--branco); font-weight: 620; }

.rodape a { color: var(--branco); }

.rodape .rodape__fim { margin-top: 18px; font-size: 13.5px; opacity: 0.66; }

/* ------------------------------------------------------------------- botão */
.botao {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border: 0;
  border-radius: var(--r-p);
  background: var(--coral);
  color: var(--branco);
  font-family: var(--f);
  font-size: 16px;
  font-weight: 640;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255, 50, 93, 0.24);
  transition: background-color 160ms ease, box-shadow 160ms ease;
}

.botao:hover, .botao:focus-visible {
  background: var(--coral-esc);
  box-shadow: 0 4px 14px rgba(211, 16, 72, 0.28);
}

.botao:focus-visible { outline-color: var(--tinta); }

.contato .botao:focus-visible { outline-color: var(--branco); }

.botao svg { width: 18px; height: 18px; flex: none; fill: currentColor; }

/* -------------------------------------------------------------- barra fixa */
.barra {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--coral);
  color: var(--branco);
  font-family: var(--f);
  font-size: 16px;
  font-weight: 640;
  text-decoration: none;
  transform: translateY(100%);
  transition: transform 240ms ease;
}

.barra svg { width: 19px; height: 19px; fill: currentColor; }

.barra.visivel { transform: none; }

@media (min-width: 900px) { .barra { display: none; } }

/* ----------------------------------------------------------- consentimento */
.consent {
  position: fixed;
  z-index: 60;
  left: 16px; right: 16px; bottom: 16px;
  max-width: 420px;
  padding: 20px 22px;
  background: var(--branco);
  color: var(--tinta-2);
  border: 1px solid var(--borda);
  border-radius: var(--r);
  box-shadow: 0 12px 40px rgba(26, 28, 31, 0.16);
  font-size: 14px;
  line-height: 1.55;
  transition: bottom 240ms ease;
}

.consent.acima-da-barra { bottom: 78px; }

@media (min-width: 900px) {
  .consent, .consent.acima-da-barra { bottom: 24px; left: 24px; right: auto; }
}

.consent[hidden] { display: none; }

.consent p { margin: 0 0 14px; }

.consent a { color: var(--coral-esc); }

.consent__acoes { display: flex; gap: 10px; flex-wrap: wrap; }

.consent__b {
  padding: 10px 18px;
  border-radius: var(--r-p);
  border: 1px solid var(--borda-2);
  background: none;
  color: var(--tinta-2);
  font-family: var(--f);
  font-size: 14px;
  font-weight: 640;
  cursor: pointer;
}

.consent__b:hover { border-color: var(--tinta-3); color: var(--tinta); }

.consent__b--sim {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--branco);
}

.consent__b--sim:hover { background: var(--coral-esc); border-color: var(--coral-esc); color: var(--branco); }

/* --------------------------------------------------------- página de texto */
.legal { padding: clamp(36px, 4.4vw, 60px) var(--marge) clamp(56px, 7vw, 88px); }

.legal .int { max-width: 700px; }

.legal h2 { margin: 38px 0 10px; font-size: 20px; font-weight: 650; letter-spacing: -0.012em; }

.legal p, .legal li { font-size: 16px; line-height: 1.65; color: var(--tinta-2); }

.legal b { color: var(--tinta); font-weight: 620; }

.legal ul { margin: 0 0 1em; padding-left: 20px; }

.legal li { margin-bottom: 7px; }

.legal a { color: var(--coral-esc); }

.voltar {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 40px;
  font-size: 15px;
  font-weight: 640;
  color: var(--coral-esc);
  text-decoration: none;
}

.voltar:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ------------------------------------------------------ movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  .com-js .grade[data-reve] > * { opacity: 1; transform: none; }
  .com-js .grade[data-reve].visivel > * { transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
