/* =========================================================
   Fosse Construtora — estilos do site
   Reproduz fielmente o visual da versão WordPress/Elementor.
   Pontos de quebra: celular <= 767px, tablet <= 1024px.
   ========================================================= */

:root {
  --dourado: #BB9C4A;
  --dourado-claro: #BB9C4A69;
  --dourado-menu: #b4943c;
  --verde: #61CE70;
  --cinza-texto: #7A7A7A;
  --cinza-escuro: #54595F;
  --cinza-cta: #3F444B;
  --preto: #000;
  --branco: #fff;

  --fonte-titulo: "Cabin Condensed", sans-serif;
  --fonte-texto: "Anek Bangla", sans-serif;
  --fonte-apoio: "Roboto", sans-serif;
  --fonte-sistema: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* ---------- Base ---------- */
*, ::before, ::after { box-sizing: border-box; }
html { line-height: 1.15; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: #333;
  font-family: var(--fonte-sistema);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { margin-block: .5rem 1rem; font-family: inherit; font-weight: 500; line-height: 1.2; color: inherit; }
h2 { font-size: 2rem; }
p { margin-block: 0 .9rem; }
a { color: inherit; text-decoration: none; background-color: transparent; }
img { max-width: 100%; height: auto; border-style: none; vertical-align: middle; }
ul { margin-block: 0 .9rem; }
strong, b { font-weight: bolder; }
button { font: inherit; }
figure { margin: 0; }
svg.ic { width: 1em; height: 1em; fill: currentColor; display: block; flex-shrink: 0; }
.so-leitor { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 5px;
  font-family: var(--fonte-texto); font-weight: 500; font-size: 15px; line-height: 1;
  padding: 12px 24px; border-radius: 100px;
  transition: all .3s;
  cursor: pointer;
}
.btn .ic { width: 15px; height: 15px; }
.btn--whatsapp { background: var(--verde); color: #000; }
/* Botões "pílula" com borda tracejada dourada e ícone à direita */
.btn--pilula {
  flex-direction: row-reverse; gap: 20px;
  padding: 15px; border-radius: 90px;
  border: 1px dashed var(--dourado);
  text-transform: uppercase;
}
.btn--verde { background: var(--verde); color: #000; }
.btn--preto { background: #000; color: #fff; }
.btn--contato { background: var(--verde); color: #fff; font-family: var(--fonte-apoio); }

/* ---------- Animações de entrada (equivalentes às do Elementor) ---------- */
.anim { visibility: hidden; }
.anim.animado { visibility: visible; animation-duration: 2s; animation-fill-mode: both; }
.anim.animado.slideInDown { animation-name: slideInDown; }
.anim.animado.slideInUp { animation-name: slideInUp; }
.anim.animado.slideInLeft { animation-name: slideInLeft; }
.anim.animado.fadeInLeft { animation-name: fadeInLeft; }
.anim.animado.fadeInRight { animation-name: fadeInRight; }
.anim.animado.wobble { animation-name: wobble; }
@keyframes slideInDown { from { transform: translate3d(0, -100%, 0); visibility: visible; } to { transform: translate3d(0, 0, 0); } }
@keyframes slideInUp { from { transform: translate3d(0, 100%, 0); visibility: visible; } to { transform: translate3d(0, 0, 0); } }
@keyframes slideInLeft { from { transform: translate3d(-100%, 0, 0); visibility: visible; } to { transform: translate3d(0, 0, 0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translate3d(-100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInRight { from { opacity: 0; transform: translate3d(100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes wobble {
  from, to { transform: none; }
  15% { transform: translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg); }
  30% { transform: translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg); }
  45% { transform: translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg); }
  60% { transform: translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg); }
  75% { transform: translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg); }
}
@media (prefers-reduced-motion: reduce) {
  .anim { visibility: visible; }
  .anim.animado { animation: none !important; }
}

/* ---------- Divisores de forma (shape dividers) ---------- */
.forma { position: absolute; left: 0; bottom: -1px; width: 100%; line-height: 0; overflow: hidden; direction: ltr; transform: rotate(180deg); pointer-events: none; }
.forma svg { display: block; position: relative; left: 50%; z-index: -1; width: calc(300% + 1.3px); height: 500px; transform: translateX(-50%); }

/* =========================================================
   CABEÇALHO
   ========================================================= */
.topo {
  position: relative; z-index: 3;
  display: flex; flex-direction: row; align-items: center; justify-content: space-around;
  gap: 60px;
  padding: 20px 70px;
  background: #000;
  border-bottom: 1px solid var(--dourado-claro);
}
.topo__logo { flex: 0 0 auto; width: 14.268%; max-width: 14.268%; }
.topo__logo img { width: 100%; }
.topo__endereco { display: flex; align-items: center; align-self: center; color: #fff; font-family: var(--fonte-texto); font-size: 16px; line-height: 24px; }
.topo__endereco .ic { width: 14px; height: 14px; margin-right: 3.5px; }
.topo__endereco span { padding-left: 5px; }

.menu { align-self: center; }
.menu__lista { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.menu__lista a {
  display: flex; padding: 13px 20px;
  font-family: var(--fonte-texto); font-weight: 500; font-size: 16px; line-height: 20px;
  color: #fff; transition: .4s;
}
.menu__lista a:hover, .menu__lista a:focus-visible { color: var(--cinza-texto); transform: scale(1.2); }
.menu__lista a.ativo { color: #fff; }

.menu__botao {
  display: none;
  align-items: center; justify-content: center;
  margin-left: auto;
  padding: .25em; font-size: 22px;
  background: var(--dourado-menu); color: #fff;
  border: 0; border-radius: 3px; cursor: pointer;
}
.menu__botao .ic { transition-duration: .5s; }
.menu__botao:hover .ic, .menu__botao:focus .ic { transform: scale(.8); transition-timing-function: cubic-bezier(.47, 2.02, .31, -.36); }
.menu__botao .ic-fechar { display: none; }
.menu.aberto .menu__botao .ic-abrir { display: none; }
.menu.aberto .menu__botao .ic-fechar { display: block; }
.menu__suspenso {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%; /* "top" ajustado pelo main.js: logo abaixo do botão */
  background: #000; z-index: 9999;
}
.menu__suspenso ul { list-style: none; margin: 0; padding: 0; }
.menu__suspenso a {
  display: flex; justify-content: center;
  padding: 10px 20px;
  font-family: var(--fonte-texto); font-weight: 500; font-size: 13px; line-height: 20px;
  color: #fff;
}
.menu__suspenso a:hover, .menu__suspenso a[aria-current="page"] { background: #3f444b; color: #fff; }

@media (max-width: 1024px) {
  .topo__endereco, .menu__lista { display: none; }
  .menu { position: static; }
  .menu__botao { display: inline-flex; }
  .menu.aberto .menu__suspenso { display: block; }
  .topo { gap: 60px; }
}
@media (max-width: 767px) {
  .topo { flex-wrap: wrap; gap: 15px; padding: 20px; }
  .topo__logo { width: 55%; max-width: 55%; }
  .menu { width: 38%; max-width: 38%; display: flex; }
  .menu__botao { border-radius: 0; }
  .menu__suspenso a { padding: 0; }
}

/* =========================================================
   HOME — HERO
   ========================================================= */
.hero {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 100vh;
  margin-top: -120px;
  padding: 230px 70px 80px;
}
.hero__fundo { position: absolute; inset: 0; overflow: hidden; }
.hero__camada {
  position: absolute; left: 0; top: 0;
  width: 110%; height: 110%;
  background: url("../img/hero.webp") top center / cover no-repeat;
  transition: transform 1s cubic-bezier(0, .33, .07, 1.03);
  will-change: transform;
}
.hero__fundo::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(180deg, #00000059 75%, #000 90%);
}
.hero__conteudo {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: 130px; padding: 10px;
}
.hero__titulo {
  display: flex; flex-direction: row; justify-content: center; align-self: center;
  gap: 20px; padding: 10px; width: 100%;
  margin: 0; font-size: 16px; line-height: 1.5; font-weight: 400;
}
.hero__titulo > * { display: block; flex: 0 1 auto; min-width: 0; max-width: 100%; }
.hero__titulo-a, .hero__titulo-b {
  font-family: var(--fonte-titulo); font-weight: 700; font-size: 5.3em; line-height: 1;
  text-transform: uppercase;
  -webkit-text-stroke: 1px #fff; stroke: #fff;
}
.hero__titulo-a { align-self: flex-end; text-align: end; color: var(--dourado-claro); }
.hero__titulo-b { align-self: flex-end; text-align: start; color: #fff; }
.hero__icone { width: 18%; align-self: center; text-align: center; }
.hero__icone img { display: inline-block; }

.hero__caixa {
  flex: 0 0 auto; width: 36.8%;
  display: flex; flex-direction: column; justify-content: flex-start; gap: 20px;
  padding: 10px;
  border: 1px solid var(--cinza-texto);
  background-image: linear-gradient(180deg, var(--cinza-escuro) 0%, #0000006B 100%);
}
.hero__caixa p { margin: 0; font-family: var(--fonte-texto); font-size: 15px; line-height: 1.5; color: var(--dourado); }
.hero__caixa .btn { align-self: flex-start; }

@media (max-width: 767px) {
  .hero { min-height: 84vh; margin-top: 0; padding: 10px; }
  .hero__camada { background-image: url("../img/hero-mobile.webp"); background-position: center center; }
  .hero__titulo { flex-wrap: wrap; align-items: center; gap: 8px; }
  .hero__titulo-a { width: 40%; max-width: 40%; font-size: 1.4em; }
  .hero__icone { width: 20%; max-width: 20%; }
  .hero__titulo-b { width: 34%; max-width: 34%; font-size: 1.9em; }
  .hero__caixa { width: 100%; }
}

/* =========================================================
   HOME — SEU LAR EM 5 PASSOS
   ========================================================= */
.passos { position: relative; display: flex; flex-direction: row; gap: 25px; padding: 70px; }
.passos .forma .preenche { fill: #BB9C4A45; }
.passos .forma svg { transform: translateX(-50%) rotateY(180deg); }
.passos__intro { flex: 0 0 auto; width: 35%; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 10px; }
.selo { padding: 10px 0; text-align: start; line-height: 0; }
.selo img { width: 20%; }
.passos__titulo {
  align-self: flex-start; margin: 0;
  font-family: var(--fonte-titulo); font-weight: 700; font-size: 50px; line-height: 50px;
  text-transform: uppercase; color: #000;
}
.passos__imagem { line-height: 0; }
.passos__imagem img { width: 100%; }
.passos__lista { flex: 0 1 auto; width: 65%; display: flex; flex-direction: column; justify-content: space-evenly; gap: 0; padding: 10px; }
.passo {
  display: flex; flex-direction: row; justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--dourado);
}
.passo__numero {
  align-self: center;
  font-family: var(--fonte-titulo); font-weight: 700; font-size: 30px; line-height: 62px;
  text-transform: uppercase; color: var(--dourado);
}
.passo__cartao { flex: 0 1 auto; width: 47%; max-width: 47%; }
.passo__conteudo { padding: 10px; background-color: #FFFFFF00; color: var(--cinza-cta); transition: background-color 1.5s; }
.passo__conteudo h3 {
  margin: 0 0 15px;
  font-family: var(--fonte-titulo); font-weight: 700; font-size: 30px; line-height: 1.2;
  text-transform: uppercase; color: var(--cinza-cta);
  transition: color .3s;
}
.passo__conteudo p { margin: 0; font-family: var(--fonte-texto); font-size: 16px; line-height: 1.5; transition: color .3s; }
.passo__cartao:hover .passo__conteudo { background-color: var(--dourado); }
.passo__cartao:hover .passo__conteudo h3,
.passo__cartao:hover .passo__conteudo p { color: #fff; }
.passo:nth-child(2) .passo__cartao { animation-delay: .5s; }
.passo:nth-child(3) .passo__cartao { animation-delay: 1s; }
.passo:nth-child(4) .passo__cartao { animation-delay: 1.5s; }
.passo:nth-child(5) .passo__cartao { animation-delay: 2s; }

@media (max-width: 767px) {
  .passos { flex-direction: column; padding: 10px; }
  .passos__intro, .passos__lista { width: 100%; }
  .passos__intro { gap: 10px; }
  .passos__titulo { width: 100%; font-size: 1.9em; }
  .passo { flex-direction: column; }
  .passo__numero { align-self: flex-start; }
  .passo__cartao { width: 100%; max-width: 100%; }
  .passos .forma svg { height: 500px; }
}

/* =========================================================
   HOME — SUA ÚNICA PREOCUPAÇÃO SERÁ A DECORAÇÃO
   ========================================================= */
.decoracao { display: flex; flex-direction: row-reverse; gap: 60px; padding: 70px; }
.decoracao__imagens { flex: 0 1 auto; width: 50%; display: flex; flex-direction: row; align-items: flex-end; gap: 5px; padding: 0; }
.decoracao__imagens > div { flex: 0 1 auto; min-width: 0; text-align: center; }
.decoracao__imagens > div:nth-child(1) { z-index: 2; }
.decoracao__imagens > div:nth-child(2) { z-index: 3; }
.decoracao__imagens > div:nth-child(3) { z-index: 1; }
.decoracao__texto { flex: 0 1 auto; width: 50%; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 10px; }
.texto-preto { font-family: var(--fonte-texto); font-size: 15px; line-height: 1.5; color: #000; }
.decoracao__texto .btn, .sobre .btn { align-self: flex-start; }

@media (max-width: 767px) {
  .decoracao { flex-direction: column-reverse; padding: 10px; }
  .decoracao__imagens, .decoracao__texto { width: 100%; }
  .decoracao__imagens { justify-content: center; }
  .decoracao__imagens > div:nth-child(1) { width: 30%; max-width: 30%; }
  .decoracao__imagens > div:nth-child(2) { width: 36%; max-width: 36%; }
  .decoracao__imagens > div:nth-child(3) { width: 30%; max-width: 30%; }
}

/* =========================================================
   HOME — VÍDEOS DO INSTAGRAM + SOBRE NÓS
   ========================================================= */
.videos {
  display: flex; flex-direction: row; gap: 0 10px; padding: 70px;
  background-image: linear-gradient(180deg, var(--cinza-texto) 0%, #FFFFFF 100%);
}
.videos__coluna { flex: 0 1 auto; width: 30%; display: flex; flex-direction: column; gap: 0; padding: 5px; border-radius: 25px; }
.videos__insta { position: relative; z-index: 3; margin-bottom: -10px; text-align: end; }
.videos__insta img { width: 15%; }
.videos__video { border: 5px solid #fff; border-radius: 20px; overflow: hidden; line-height: 0; }
.videos__video video { display: block; width: 100%; aspect-ratio: .5625; object-fit: cover; background: #000; border: 0; }
.sobre {
  flex: 0 1 auto; width: 70%;
  display: flex; flex-direction: column; justify-content: space-around; gap: 20px;
  padding: 20px;
  border-right: 6px solid #fff; border-radius: 20px;
  scroll-margin-top: 20px;
}
.sobre__logo { text-align: center; }
.sobre__logo img { width: 32%; }
.sobre__instagram { display: flex; align-items: center; }
.sobre__instagram .ic { width: 24px; height: 24px; margin-right: 6px; color: #000; }
.sobre__instagram span { padding-left: 5px; font-family: var(--fonte-apoio); font-size: 16px; line-height: 24px; color: var(--cinza-escuro); transition: color .3s; }

@media (max-width: 767px) {
  /* No celular o Elementor deixa estas imagens "vazarem" da caixa; reproduzido para manter o mesmo encaixe */
  .selo { padding-bottom: 0; height: 80px; }
  .videos__insta, .sobre__logo { height: 24px; }
  .sobre h2 { margin-top: 15px; }
  .videos { flex-direction: column; padding: 10px; }
  .videos__coluna, .sobre { width: 100%; }
}

/* =========================================================
   HOME — CARROSSÉIS DE OBRAS (rolagem contínua)
   ========================================================= */
.obras { position: relative; display: flex; flex-direction: column; gap: 40px; padding: 100px 0; }
.obras .forma { transform: rotate(180deg); }
.obras .forma .preenche { fill: #000; }
.obras__grupo { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 0; padding: 0; width: 100%; }
.obras__grupo--celular { display: none; }

.esteira {
  --por-tela: 7; --espaco: 6px;
  width: 100%; overflow: hidden; padding: 0;
  container-type: inline-size;
}
.esteira__trilho {
  display: flex; width: max-content;
  animation: esteira var(--duracao, 225s) linear infinite;
}
.esteira--inversa .esteira__trilho { animation-name: esteira-inversa; }
.esteira--baixo .esteira__trilho { align-items: flex-end; }
.esteira--cima .esteira__trilho { align-items: flex-start; }
.esteira:hover .esteira__trilho { animation-play-state: paused; }
.esteira__item {
  flex: 0 0 auto;
  width: calc((100cqw - (var(--por-tela) - 1) * var(--espaco)) / var(--por-tela));
  margin-right: var(--espaco);
}
.esteira__item img { width: 100%; vertical-align: baseline; border: 1px solid var(--cinza-texto); border-radius: 20px; }
@keyframes esteira { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes esteira-inversa { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }

@media (max-width: 1024px) {
  .obras__grupo--computador { display: none; }
  .obras__grupo--celular { display: flex; }
  .esteira { --por-tela: 2; }
}
@media (max-width: 767px) {
  .obras { padding: 0; }
  .obras__grupo { gap: 0; padding: 0; }
  .obras .forma svg { height: 293px; }
  .esteira { --por-tela: 3; }
}

/* =========================================================
   RODAPÉ — DÚVIDAS FREQUENTES + CONTATOS
   ========================================================= */
.rodape {
  padding: 0 90px;
  background-image: linear-gradient(215deg, #000 55%, #0000009C 100%);
  color: #fff;
}
.rodape__interno { max-width: 1140px; margin: 0 auto; padding: 90px 0; display: flex; flex-direction: column; gap: 30px; }
.rodape__titulo {
  margin: 0; width: 100%;
  font-family: var(--fonte-titulo); font-weight: 700; font-size: 50px; line-height: 50px;
  text-transform: uppercase; color: #fff;
}
.rodape__corpo { display: flex; flex-direction: column; gap: 20px; }

.faq { text-align: start; }
.faq__item { border: 1px solid var(--cinza-texto); }
.faq__item + .faq__item { border-top: none; }
.faq__pergunta {
  display: block; width: 100%;
  margin: 0; padding: 15px 20px;
  background: none; border: 0; color: #fff; cursor: pointer;
  font-weight: 700; font-size: 16px; line-height: 1; text-align: start;
}
.faq__pergunta::after { content: ""; display: table; clear: both; }
.faq__icone { float: right; width: 1.5em; text-align: right; color: var(--cinza-escuro); }
.faq__icone .ic { display: inline-block; }
.faq__icone .ic-menos { display: none; }
.faq__item.aberto .faq__icone .ic-mais { display: none; }
.faq__item.aberto .faq__icone .ic-menos { display: inline-block; }
.faq__texto { font-family: var(--fonte-texto); font-weight: 400; font-size: 25px; color: #fff; }
.faq__resposta {
  display: none;
  padding: 15px 20px;
  border-top: 1px solid var(--cinza-texto);
  font-family: var(--fonte-apoio); font-size: 16px; line-height: 1.5; color: #fff;
  overflow: hidden;
}
.faq__item.aberto .faq__resposta { display: block; }

.contatos { display: flex; flex-direction: row; gap: 20px; margin-top: 100px; padding: 10px; }
.contatos > div { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding: 10px; }
.contatos__info { justify-content: space-evenly; }
.contatos__logo img { width: 45%; }
.contatos__titulo { margin: 0; font-family: var(--fonte-texto); font-weight: 600; font-size: 32px; line-height: 1; color: #fff; }
.contatos__lista { list-style: none; margin: 0; padding: 0; }
.contatos__lista li + li { margin-top: 5.5px; }
.contatos__lista li:not(:last-child) { padding-bottom: 5.5px; }
.contatos__lista a { display: flex; align-items: flex-start; font-family: var(--fonte-texto); font-size: 16px; line-height: 24px; color: #fff; }
.contatos__lista .ic { position: relative; top: 3px; width: 23px; height: 23px; color: #fff; }
.contatos__lista span { padding-left: 5px; }
.contatos__mapa iframe { display: block; width: 100%; height: 250px; border: 0; }
.contatos__info .btn { align-self: flex-start; }
.contatos__video video { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: #000; }

.creditos { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; padding: 10px; }
.creditos__linha { padding: 15px 0; }
.creditos__linha span { display: block; border-top: 1px solid #FFFFFF52; }
.creditos p { margin: 0; text-align: center; font-family: var(--fonte-apoio); font-size: 16px; line-height: 1.5; color: #fff; }
.creditos__cavern { text-align: center; }
.creditos__cavern img { width: 12%; }

@media (max-width: 767px) {
  .rodape { padding: 0 10px; }
  .rodape__interno { padding: 40px 0 10px; }
  .rodape__titulo { font-size: 1.5em; }
  .faq__pergunta { padding: 12px 15px; }
  .faq__icone { width: 1.2em; }
  .faq__texto { font-size: 20px; }
  .faq__resposta { padding: 7px 15px; }
  .contatos { flex-direction: column; margin-top: 50px; }
  .creditos__cavern img { width: 29%; }
}

/* =========================================================
   LANÇAMENTOS
   ========================================================= */
.lancamentos {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  padding: 49px;
  border-top: 1px solid currentColor;
}
.lancamentos__titulo { margin: 0; text-align: center; font-family: "Helvetica", sans-serif; font-weight: 500; font-size: 50px; line-height: 50px; color: #000; }
.abas { width: 90%; max-width: 90%; display: flex; flex-direction: column; gap: 43px; }
.abas__titulos { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; }
.abas__titulo {
  padding: 7px 20px; border-radius: 150px;
  background: #F1F2F3; color: var(--cinza-escuro);
  border: 0; cursor: pointer;
  font-family: var(--fonte-sistema); font-size: 16px; line-height: 24px;
  transition: background .3s, color .3s;
}
.abas__titulo:hover:not([aria-selected="true"]) { background: #fff; color: #000; box-shadow: inset 0 0 0 1px #000; }
.abas__titulo[aria-selected="true"] { background: #000; color: #fff; }
.abas__painel { padding: 10px; }
.abas__painel[hidden] { display: none; }
.imovel { display: flex; flex-direction: row; align-items: flex-start; gap: 40px; padding: 10px; }
.imovel--estreito { gap: 10px; }
.imovel__galeria { flex: 0 1 auto; width: 50%; max-width: 50%; }
.imovel__texto {
  flex: 0 1 auto; width: 50%; max-width: 50%;
  text-align: justify;
  font-family: var(--fonte-apoio); font-weight: 600; font-size: 16px; line-height: 1.5;
  color: var(--cinza-texto);
}
.imovel__texto ul { padding-left: 40px; }
.lancamentos .btn { align-self: center; }

@media (max-width: 767px) {
  .lancamentos { padding: 50px 10px; }
  .lancamentos__titulo { font-size: 30px; }
  .abas { width: 100%; max-width: 100%; }
  .imovel { flex-direction: column; }
  .imovel__galeria, .imovel__texto { width: 100%; max-width: 100%; }
}

/* =========================================================
   GALERIA (layout justificado) + LIGHTBOX
   ========================================================= */
.pagina-galeria { padding: 10px; }
.galeria { position: relative; display: flex; flex-wrap: wrap; gap: var(--gal-espaco, 10px); }
.galeria__item { position: relative; display: block; overflow: hidden; flex: 0 0 auto; width: 150px; height: 150px; background: #f4f4f4; }
.galeria__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.galeria__item::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0); transition: background .8s; }
.galeria__item:hover::after, .galeria__item:focus-visible::after { background: rgba(0, 0, 0, .5); }

.lightbox {
  position: fixed; inset: 0; z-index: 99999;
  display: none; align-items: center; justify-content: center;
  background: #000; color: hsla(0, 0%, 93%, .9);
  user-select: none;
}
.lightbox.aberto { display: flex; }
.lightbox__img { max-width: 85vw; max-height: 85vh; object-fit: contain; box-shadow: 0 0 30px rgba(0, 0, 0, .3); }
.lightbox button { position: absolute; background: none; border: 0; color: inherit; cursor: pointer; padding: 15px; font-size: 24px; line-height: 0; }
.lightbox button:hover { color: #fff; }
.lightbox__fechar { top: 10px; right: 10px; }
.lightbox__ant { left: 10px; top: 50%; transform: translateY(-50%); font-size: 30px !important; }
.lightbox__prox { right: 10px; top: 50%; transform: translateY(-50%); font-size: 30px !important; }
.lightbox__contador { position: absolute; top: 22px; left: 25px; font-size: 14px; font-family: var(--fonte-sistema); }
@media (max-width: 767px) {
  .lightbox__img { max-width: 100vw; }
  .lightbox__ant, .lightbox__prox { display: none; }
}
