:root { --topo-alto: 92px; }
@media (max-width: 900px) { :root { --topo-alto: 74px; } }

/* =========================================================
   LIKE · herói da landing page
   Uma imagem parada, uma frase, quatro portas.

   Por que sem carrossel: nove mensagens girando fazem o olho nunca
   terminar de ler uma, e o visitante sai sem saber o que a empresa
   vende. Numa landing page o herói tem uma função só — fazer a pessoa
   se reconhecer e clicar no que é dela.
   ========================================================= */

.hero2 {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: #0b0b0c;
  color: #fbfaf6;
  overflow: clip;
  padding: calc(var(--topo-alto, 92px) + var(--s7)) 0 var(--s8);
}

.hero2-fundo { position: absolute; inset: 0; z-index: 0; }

.hero2-fundo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  display: block;
}

/* véu em duas camadas: um gradiente de baixo para cima segura o texto,
   e um lateral segura a coluna esquerda em tela larga */
.hero2-fundo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,12,.72) 0%, rgba(11,11,12,.42) 34%, rgba(11,11,12,.86) 100%),
    linear-gradient(90deg, rgba(11,11,12,.68) 0%, rgba(11,11,12,.15) 62%, rgba(11,11,12,.28) 100%);
}

.hero2-conteudo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.hero2 .hero-lockup { margin-bottom: var(--s7); }

.hero2-titulo {
  font-family: "Host Grotesk", system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(34px, 5.6vw, 82px);
  line-height: 1;
  letter-spacing: -.03em;
  margin: 0 0 var(--s5);
  max-width: 15ch;
  text-wrap: balance;
}

.hero2-sub {
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.7;
  color: rgba(251, 250, 246, .82);
  margin: 0 0 var(--s7);
  max-width: 54ch;
}

/* ------------------------------------------------------- as portas */

.hero2-portas {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s3);
  margin-bottom: var(--s7);
  max-width: 1120px;
}

.porta {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  text-decoration: none;
  color: inherit;
  padding: var(--s5) var(--s5) var(--s5);
  border: 1px solid rgba(251, 250, 246, .2);
  border-radius: 4px;
  background: rgba(11, 11, 12, .42);
  backdrop-filter: blur(6px);
  transition: background .3s ease, border-color .3s ease, transform .3s cubic-bezier(.16,1,.3,1);
  min-height: 44px;
}

.porta:hover {
  background: rgba(251, 250, 246, .96);
  border-color: rgba(251, 250, 246, .96);
  color: #0b0b0c;
  transform: translateY(-3px);
}

.porta-icone { display: block; color: var(--lk-gold); }
.porta-icone svg { width: 26px; height: 26px; display: block; }
.porta:hover .porta-icone { color: #8a6320; }

.porta b {
  font-family: "Host Grotesk", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.15;
  letter-spacing: -.015em;
}

.porta i {
  font-style: normal;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(251, 250, 246, .68);
}

.porta:hover i { color: rgba(20, 20, 15, .68); }

.porta em {
  font-style: normal;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--lk-gold);
  margin-top: var(--s2);
}

.porta:hover em { color: #8a6320; }

/* ------------------------------------------------ captura de WhatsApp */

.hero2-lead { max-width: 620px; }

.hero2-lead .hl-label {
  display: block;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  color: rgba(251, 250, 246, .7);
  margin-bottom: var(--s3);
}

.hero2-lead .hl-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s2);
}

.hero2-lead input {
  background: rgba(11, 11, 12, .5);
  border: 1px solid rgba(251, 250, 246, .26);
  border-radius: 4px;
  color: #fbfaf6;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;                 /* 16 px trava o zoom automático do iOS */
  padding: 14px 16px;
  min-height: 48px;
  outline: none;
}

.hero2-lead input::placeholder { color: rgba(251, 250, 246, .42); }
.hero2-lead input:focus { border-color: var(--lk-gold); }

/* ------------------------------------------------------------ mobile */

@media (max-width: 1100px) {
  .hero2-portas { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; }
}

@media (max-width: 720px) {
  .hero2 {
    min-height: 0;
    padding: calc(var(--topo-alto, 74px) + var(--s6)) 0 var(--s7);
  }
  .hero2-fundo img { object-position: center 58%; }
  .hero2 .hero-lockup { margin-bottom: var(--s5); }
  .hero2-titulo { font-size: clamp(30px, 9vw, 40px); max-width: none; }
  .hero2-sub { margin-bottom: var(--s6); font-size: 15px; }

  /* duas colunas continuam cabendo em 375 e evitam uma lista de quatro
     blocos altos empurrando o CTA para fora da primeira tela */
  .hero2-portas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
  .porta { padding: var(--s4); gap: var(--s1); }
  .porta i { display: none; }
  .porta em { font-size: 10px; margin-top: var(--s1); }

  .hero2-lead .hl-row { grid-template-columns: minmax(0, 1fr); }
  .hero2-lead .btn { width: 100%; justify-content: center; }
}

/* ============================ APARTAMENTOS · MCMV na landing
   Trilho horizontal: cinco produtos numa grade fixa apertariam demais,
   e no celular vira carrossel nativo por encaixe. */

.apt { background: #0b0b0c; color: #fbfaf6; padding: var(--secao-y) 0; }

.apt-wrap { max-width: 1560px; margin: 0 auto; padding-inline: var(--gutter); }

.apt-topo {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--s5); flex-wrap: wrap; margin-bottom: var(--s7);
}

.apt-topo h2 {
  font-family: "Host Grotesk", system-ui, sans-serif; font-weight: 300;
  font-size: clamp(26px, 3.2vw, 44px); line-height: 1.06;
  letter-spacing: -.022em; margin: 0 0 var(--s3); max-width: 18ch;
}

.apt-topo p {
  font-family: "Inter", system-ui, sans-serif; font-size: 16px; line-height: 1.7;
  color: rgba(251, 250, 246, .7); margin: 0; max-width: 52ch;
}

.apt .btn--ghost { color: #fbfaf6; border-color: rgba(251,250,246,.34); flex: 0 0 auto; }
.apt .btn--ghost:hover { background: #fbfaf6; color: #0b0b0c; border-color: #fbfaf6; }

.apt-trilho {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr);
  gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: var(--s2);
}
.apt-trilho::-webkit-scrollbar { display: none; }

.apt-card {
  scroll-snap-align: start; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: var(--s2); min-height: 44px;
}

.apt-card figure {
  margin: 0 0 var(--s2); overflow: hidden; border-radius: 3px;
  aspect-ratio: 3 / 2; background: #16161a;
}

.apt-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.02); transition: transform 1s cubic-bezier(.16,1,.3,1);
}
.apt-card:hover img { transform: scale(1.07); }

.apt-marca {
  font-family: "Inter", system-ui, sans-serif; font-size: 10px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--lk-gold);
}
.apt-marca--selo {
  color: #0b0b0c; background: var(--lk-gold); align-self: flex-start;
  padding: 4px 9px; border-radius: 2px;
}

.apt-card b {
  font-family: "Host Grotesk", system-ui, sans-serif; font-weight: 400;
  font-size: 19px; line-height: 1.2; letter-spacing: -.015em;
}

.apt-card i {
  font-style: normal; font-family: "Inter", system-ui, sans-serif;
  font-size: 13.5px; color: rgba(251, 250, 246, .6);
}

.apt-legal {
  font-family: "Inter", system-ui, sans-serif; font-size: 12.5px; line-height: 1.65;
  color: rgba(251, 250, 246, .5); margin: var(--s6) 0 0; max-width: 76ch;
}

/* nota da categoria no portfólio, no lugar do antigo selo interno */
.grupo-nota {
  font-family: "Inter", system-ui, sans-serif; font-size: 13px;
  color: rgba(20, 20, 15, .55); margin-left: var(--s3);
}

@media (max-width: 720px) {
  .apt-trilho {
    grid-auto-columns: 74vw;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
  }
  .apt-topo { margin-bottom: var(--s5); }
  .apt-topo h2 { max-width: none; }
  .apt .btn--ghost { width: 100%; justify-content: center; }
}

/* --- medido em 375/390/412 -------------------------------------------
   1. o selo do Varandas media 10 px;
   2. cinco superfícies com backdrop-filter na mesma tela: acima de
      quatro o scroll engasga em aparelho médio. As quatro portas do
      herói perdem o blur no celular e ficam com cor sólida, que dá o
      mesmo contorno sem custo de GPU. */
@media (max-width: 720px) {
  .apt-marca, .apt-marca--selo { font-size: 12px; }
  .porta { backdrop-filter: none; background: rgba(11, 11, 12, .62); }
}
