/* ==========================================================================
   Post Anúncio Component — 1080 × 1350 (4:5)
   Figma node 281:2212 — post-anuncio-capa
   Todas as medidas são pixel-perfect conforme MCP Figma.
   ========================================================================== */

.post-a {
  position: relative;
  width: 1080px;
  height: 1350px;
  overflow: hidden;
  font-family: var(--font-family-base);
  background: #111;
  flex-shrink: 0;
}

/* Imagem de fundo — full cover, mesmo padrão dos outros posts */
.post-a__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

/* Penumbra: top:400px h:1376px — exato do Figma (sombra = node 281:2166) */
.post-a__penumbra {
  position: absolute;
  left: 0;
  top: 400px;
  width: 1080px;
  height: 1376px;
  background: linear-gradient(181.821deg, rgba(0,0,0,0) 14.86%, #000 89.255%);
  pointer-events: none;
}

/* Overlay azul escuro (VERDE TRANSPARENTE) — node 281:2168
   Posição: left:610 top:461 w:479 h:888 — mix-blend-mode: hard-light
   Border-radius: 43px somente no canto superior esquerdo (da forma do path SVG) */
.post-a__overlay {
  position: absolute;
  left: 610px;
  top: 461px;
  width: 479px;
  height: 888px;
  background: #000E35;
  mix-blend-mode: hard-light;
  border-radius: 43px 0 0 0;
  pointer-events: none;
}

/* Painel de conteúdo sobre o overlay — node 284:2237
   p:30px w:468px (479 - 11px de ajuste da sombra) */
.post-a__panel {
  position: absolute;
  left: 610px;
  top: 461px;
  width: 468px;
  height: 889px;
  padding: 30px;
  display: flex;
  align-items: center;
}

.post-a__panel-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 711.538px;
}

/* ---- Bloco de infos do imóvel — gap:24px ---- */
.post-a__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Título — 32px Bold, cor var(--color-secondary) */
.post-a__title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  color: var(--color-secondary);
  word-break: break-word;
  min-width: 0;
}

/* Preço — 32px Bold branco, gap:11px entre "R$" e valor */
.post-a__price {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  color: #fff;
  height: 64px;
}

/* Condomínio — 28px Regular branco, gap:5px */
.post-a__condo {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  font-size: 28px;
  font-weight: 400;
  line-height: 16px;
  color: #fff;
  height: 40px;
}

/* Grid 2×2 de atributos — gap-x:32px gap-y:16px h:143.085px */
.post-a__attrs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
  row-gap: 16px;
  height: 143.085px;
}

/* Célula de atributo */
.post-a__attr {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.post-a__attr--center {
  align-items: center;
}

/* Wrapper de ícone com tamanho fixo (posição absoluta da img dentro) */
.post-a__icon-wrap {
  position: relative;
  flex-shrink: 0;
}

.post-a__icon-wrap img {
  position: absolute;
  display: block;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Tamanhos exatos de cada ícone conforme Figma */
.post-a__icon-wrap--quartos   { width: 62.625px; height: 51.779px; }
.post-a__icon-wrap--suites    { width: 80.771px; height: 60.26px;  }
.post-a__icon-wrap--banheiros { width: 35.786px; height: 54.968px; }
.post-a__icon-wrap--vagas     { width: 67.36px;  height: 52.88px;  }
.post-a__icon-wrap--local     { width: 34.328px; height: 41.48px;  }
.post-a__icon-wrap--logo      { width: 350px;    height: 94.174px; }

/* Dados do atributo (label + valor) — w:70px */
.post-a__attr-data {
  display: flex;
  flex-direction: column;
  width: 70px;
  flex-shrink: 0;
  color: #fff;
}

/* Label do atributo — dois estilos */
.post-a__attr-label {
  margin: 0;
  line-height: 16px;
}

.post-a__attr-label--bold {   /* QUARTOS, SUÍTES — 12px Bold */
  font-size: 12px;
  font-weight: 700;
}

.post-a__attr-label--regular { /* BANHEIROS, VAGAS — 10px Regular */
  font-size: 10px;
  font-weight: 400;
}

/* Valor do atributo — 32px Bold */
.post-a__attr-value {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  color: #fff;
}

/* Localização — gap:14px h:52px */
.post-a__local {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 52px;
}

.post-a__local-text {
  display: flex;
  flex-direction: column;
  font-size: 20px;
  color: #fff;
  width: 234px;
  flex-shrink: 0;
}

.post-a__bairro {
  margin: 0;
  font-weight: 700;
  line-height: 32px;
}

.post-a__cidade-row {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.post-a__cidade-row span {
  font-weight: 400;
  line-height: 32px;
}

.post-a__sep {
  margin: 0 8px;
  font-weight: 400;
  line-height: 32px;
}

/* Código — 27px, gap:4px, h:29px */
.post-a__codigo {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  height: 29px;
  font-size: 27px;
  line-height: 16px;
  color: #fff;
  white-space: nowrap;
}

.post-a__codigo-label { font-weight: 400; }
.post-a__codigo-value { font-weight: 700; }

/* ---- Bloco de marca (logo + tag) ---- */
.post-a__brand {
  display: inline-grid;
  grid-template-columns: max-content;
  grid-template-rows: max-content;
  place-items: start;
  flex-shrink: 0;
}

/* Logo REMAX — w:350px h:94.174px, posição row-1/col-1 */
.post-a__logo-wrap {
  grid-column: 1;
  grid-row: 1;
  position: relative;
}

.post-a__logo {
  display: block;
  width: 350px;
  height: 94.174px;
  object-fit: contain;
  object-position: left center;
}

/* Tag remax.com.br — sobrepõe o logo na grid (row-1/col-1), deslocada */
.post-a__tag {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  justify-self: start;
  margin-top: 118.45px;
  margin-left: 51px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 4px 30px;
  border: 2px solid var(--color-on-primary);
  border-radius: 18px;
  color: #fff;
  font-family: "Montserrat", var(--font-family-base);
  font-size: 23.531px;
  font-weight: 700;
  line-height: normal;
  white-space: nowrap;
}

/* Barra de gradiente — Figma: right:0 top:1283px w:795px h:66px
   border-top-left-radius:60px — usa token --gradient-secondary-primary */
.post-a__barra {
  position: absolute;
  right: 0;
  top: 1283px;
  width: 795px;
  height: 66px;
  border-radius: 60px 0 0 0;
  background: var(--gradient-secondary-primary);
  pointer-events: none;
}

/* Preview no chat — mesmo scale dos outros posts (1080→520px) */
.post-anuncio-preview-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 1080px;
  height: 1350px;
  transform: scale(0.481);
  transform-origin: top left;
  pointer-events: none;
}
