/* ============================================================
   IBBI IMOVEIS - Landing Page Praia do Forte / Litoral Norte BA
   Design tokens: Navy + Dourado mineral
   ============================================================ */

:root {
  --navy-deep: #0F2F6A;
  --navy: #1C4691;
  --blue-light: #BFD2F0;
  --gold: #C9A96E;
  --gold-light: #E0C896;
  --off-white: #F5F0E8;
  --white: #FFFFFF;
  --ink: #1B2330;
  --ink-soft: #4A5568;
  --line: rgba(15, 47, 106, 0.12);

  /* Trajan Pro 3 para títulos e Inter para textos e elementos auxiliares */
  --font-display: "trajan-pro-3", serif;
  --font-body: 'Inter', sans-serif;

  --container: 1240px;
  --radius: 2px;
  --shadow-soft: 0 16px 40px -12px rgba(15, 47, 106, 0.25);
  --shadow-card: 0 10px 30px -10px rgba(15, 47, 106, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

.mobile-copy { display: none; }

#casas-praia-do-forte,
#apartamentos-praia-do-forte,
#terrenos-praia-do-forte { scroll-margin-top: 24px; }

::selection { background: var(--gold); color: var(--navy-deep); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  color: var(--navy-deep);
  font-weight: 400;
  line-height: 1.28;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 920px;
  margin-top: 14px;
}

.divider-gold {
  width: 64px;
  height: 2px;
  background: var(--gold);
  margin: 20px 0 0;
}

.section-head {
  margin-bottom: 44px;
}

.section-head--center {
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head--center .section-subtitle {
  margin-right: auto;
  margin-left: auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary { background: var(--gold); color: var(--navy-deep); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-secondary {
  border-color: rgba(255,255,255,0.68);
  color: var(--white);
  background: rgba(15,47,106,0.18);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-1px);
}

.btn-block { width: 100%; justify-content: center; }

/* ============================================================
   HERO — compacto, altura natural pelo conteúdo
   ============================================================ */

#hero {
  position: relative;
  background: var(--navy-deep);
  /* A seção cresce junto com .hero-content via padding */
}

#hero > .container {
  position: relative;
  z-index: 2;
  padding-top: 72px;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(15,47,106,0.62) 0%,
    rgba(15,47,106,0.42) 30%,
    rgba(15,47,106,0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 0 72px;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Logo + nome da marca no hero */
.hero-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

/* Versão centralizada usada no hero atual */
.hero-brand--center {
  width: 100%;
  justify-content: center;
}

.hero-brand img {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
}

.hero-brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 1.25rem;
  color: var(--white);
  line-height: 1.2;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  color: var(--white);
  font-size: clamp(1.8rem, 3.35vw, 2.55rem);
  line-height: 1.18;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

/* Sem em italic no hero */
.hero-title em {
  font-style: normal;
  color: inherit;
}

.hero-subtitle {
  color: rgba(255,255,255,0.88);
  font-size: 1rem;
  max-width: 700px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-trust {
  color: rgba(255,255,255,0.84);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-trust span {
  color: var(--gold-light);
  padding: 0 5px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   INTRODUÇÃO E PERFIS DE BUSCA
   ============================================================ */

#introducao {
  background: var(--off-white);
  padding: 78px 0;
}

.intro-inner {
  max-width: 980px;
  text-align: center;
}

.intro-inner .section-subtitle {
  margin-right: auto;
  margin-left: auto;
  line-height: 1.8;
}

#perfis {
  padding: 78px 0 82px;
  background: var(--white);
}

.perfis-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.perfil-item {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 290px;
  padding: 28px 26px 26px;
  border-right: 1px solid var(--line);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.perfil-item:last-child { border-right: 0; }

.perfil-item:hover {
  background: #F7F9FC;
  transform: translateY(-3px);
}

.perfil-index,
.regiao-location {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.perfil-item h3,
.regiao-item h3 {
  font-family: var(--font-display);
  color: var(--navy-deep);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
  margin: 22px 0 12px;
}

.perfil-item p,
.regiao-item p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.7;
}

.text-link {
  color: var(--navy-deep);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: auto;
  padding-top: 20px;
}

.text-link span {
  color: var(--gold);
  margin-left: 4px;
}

/* ============================================================
   GRID DE IMOVEIS
   ============================================================ */

#imoveis {
  padding: 88px 0;
  background: var(--white);
}

#imoveis .section-head--center,
#imoveis .section-subtitle {
  max-width: none;
}

.imoveis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (min-width: 1025px) {
  .imoveis-grid > .imovel-card:last-child:nth-child(3n + 1) {
    grid-column: 2;
  }
}

.imovel-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.imovel-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.imovel-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--off-white);
}

.imovel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.imovel-card:hover .imovel-img img { transform: scale(1.06); }

.imovel-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--navy-deep);
  color: var(--white);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}

.imovel-tag.gold { background: var(--gold); color: var(--navy-deep); }

.imovel-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.imovel-cidade {
  display: inline-block;
  align-self: flex-start;
  background: #E5EDF8;
  color: var(--navy-deep);
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
  margin-bottom: 8px;
  white-space: nowrap;
}

.imovel-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  font-style: normal;
  color: var(--navy-deep);
  letter-spacing: 0.01em;
  margin-bottom: 12px;
  line-height: 1.35;
  text-transform: uppercase;
}

.imovel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.imovel-meta span { display: flex; align-items: center; gap: 5px; }
.imovel-meta svg { width: 14px; height: 14px; color: var(--navy); flex-shrink: 0; }

.imovel-bullets {
  list-style: none;
  font-size: 0.87rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
  flex: 1;
}

.imovel-bullets li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 6px;
}

.imovel-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

.imovel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.imovel-price-label {
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.imovel-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  font-style: normal;
  color: var(--navy-deep);
}

.imovel-cta {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.imovel-cta:hover { color: var(--gold); }

/* Placeholder "em breve" */
.imovel-card.placeholder { background: var(--off-white); }
.imovel-card.placeholder .imovel-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
}
.placeholder-seal {
  width: 60px;
  height: 60px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder-seal svg { width: 24px; height: 24px; color: rgba(255,255,255,0.75); }
.imovel-card.placeholder .imovel-title { color: var(--ink-soft); }
.imovel-card.placeholder .imovel-bullets li::before { background: var(--navy); }

/* ============================================================
   LOCALIDADE — sem espaço fantasma embaixo da imagem
   ============================================================ */

#localidade {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  /* sem padding na seção: imagem ocupa a altura total do bloco */
}

.localidade-media {
  /* overflow:hidden garante que não vaze nenhum espaço branco */
  overflow: hidden;
  min-height: 480px;
  line-height: 0; /* elimina gap de inline */
}

.localidade-media picture { display: block; height: 100%; }

.localidade-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* remove gap de linha de base */
  vertical-align: top;
}

.localidade-text {
  background: var(--navy-deep);
  padding: 80px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.localidade-text .eyebrow { color: var(--blue-light); }
.localidade-text .section-title { color: var(--white); }

.localidade-text p.body-copy {
  color: rgba(255,255,255,0.82);
  margin-top: 18px;
  font-size: 1rem;
  max-width: 480px;
}

.localidade-list {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.localidade-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
}

.localidade-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  transform: translateY(-1px);
}

/* ============================================================
   SOBRE — faixa 50/50, texto + imagem full-bleed
   ============================================================ */

#sobre {
  background: var(--off-white);
}

#sobre > .container {
  max-width: none;
  padding: 0;
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.sobre-text {
  padding: 80px 56px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sobre-text p.body-copy {
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin-top: 18px;
  line-height: 1.75;
}

.sobre-text .eyebrow { margin-bottom: 12px; }

.trust-list {
  list-style: none;
  margin-top: 24px;
  display: grid;
  gap: 11px;
}

.trust-list li {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.9rem;
  padding-left: 18px;
}

.trust-list li::before {
  content: '';
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.sobre-media {
  overflow: hidden;
  min-height: 480px;
  line-height: 0;
}

.sobre-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   OUTRAS REGIÕES
   ============================================================ */

#outras-regioes {
  padding: 84px 0;
  background: var(--white);
}

.regioes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.regiao-item {
  min-height: 255px;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy-deep);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-top-color 0.25s ease;
}

.regiao-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-top-color: var(--gold);
}

.regiao-item h3 { margin-top: 18px; }

/* ============================================================
   CONTATO
   ============================================================ */

/* Título compacto no contato — sem eyebrow, fica ao lado do form */
.contato-title {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.25;
}

#contato {
  position: relative;
  padding: 96px 0 88px;
  background: var(--navy-deep);
  overflow: hidden;
}

.contato-bg {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  line-height: 0;
}

.contato-bg picture { display: block; height: 100%; }
.contato-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }

.contato-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--navy-deep) 0%, rgba(15,47,106,0.88) 100%);
}

.contato-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.contato-text .eyebrow { color: var(--blue-light); }
.contato-text .section-title { color: var(--white); }
.contato-text p.body-copy {
  color: rgba(255,255,255,0.85);
  margin-top: 20px;
  max-width: 440px;
  font-size: 1rem;
  line-height: 1.7;
}

.contact-form {
  background: var(--white);
  padding: 32px 38px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.contact-form h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  color: var(--navy-deep);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
}

.contact-form .form-sub {
  font-family: var(--font-body);
  font-style: normal;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.form-group { margin-bottom: 14px; }

.form-row { display: grid; grid-template-columns: 1.12fr 1fr; gap: 14px; }

.form-group label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(15,47,106,0.18);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  outline: none;
}

.form-group select { appearance: none; cursor: pointer; }

.form-segment-fields {
  display: grid;
  grid-template-columns: 1fr;
}

.form-group textarea {
  resize: vertical;
  min-height: 84px;
  line-height: 1.5;
}

.label-optional {
  color: rgba(74,85,104,0.72);
  font-size: 0.68rem;
  font-weight: 400;
  text-transform: none;
}

.phone-field {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
}

.phone-field select {
  padding: 11px 8px;
  font-size: 0.86rem;
  text-align: center;
}

.form-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: flex-start;
  margin: 4px 0 16px;
}

.form-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--navy);
}

.contact-form .form-consent label {
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.45;
}

.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form .form-note {
  font-size: 0.68rem;
  color: var(--ink-soft);
  margin-top: 10px;
  text-align: center;
  white-space: nowrap;
}

/* ============================================================
   BOTÕES FLUTUANTES
   ============================================================ */

/* WhatsApp — direita */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 400;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
  transition: transform 0.25s ease;
  animation: wa-pulse 2.8s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 28px; height: 28px; color: var(--white); }

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 6px 20px rgba(37,211,102,0.7), 0 0 0 7px rgba(37,211,102,0.12); }
}

/* Instagram — esquerda */
.instagram-float {
  position: fixed;
  bottom: 26px;
  left: 26px;
  z-index: 400;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(214,36,159,0.4);
  transition: transform 0.25s ease;
}
.instagram-float:hover { transform: scale(1.1); }
.instagram-float svg { width: 26px; height: 26px; color: var(--white); }

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background: #0A1F47;
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo img { width: 36px; height: 36px; border-radius: 50%; }
.footer-logo span {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  font-style: normal;
}

.footer-contact {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 0.87rem;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  color: var(--gold-light);
  flex-shrink: 0;
}

.footer-contact a:hover { color: var(--gold-light); }

.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.62);
}

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */

/* Reveal: só oculta elementos quando JS está ativo (progressive enhancement) */
body.js-ready .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
body.js-ready .reveal.in-view { opacity: 1; transform: translateY(0); }
body.js-ready .reveal-delay-1.in-view { transition-delay: 0.1s; }
body.js-ready .reveal-delay-2.in-view { transition-delay: 0.2s; }
body.js-ready .reveal-delay-3.in-view { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  body.js-ready .reveal { opacity: 1; transform: none; transition: none; }
  .whatsapp-float { animation: none; }
}

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================================ */

@media (max-width: 1024px) {
  .imoveis-grid { grid-template-columns: repeat(2, 1fr); }
  .imoveis-grid > .imovel-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 14px);
    justify-self: center;
  }
  .perfis-grid,
  .regioes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perfil-item:nth-child(2) { border-right: 0; }
  .perfil-item:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  #localidade { grid-template-columns: 1fr; }
  .localidade-media { min-height: 340px; }
  .localidade-text { padding: 60px 40px; }
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-text { padding: 60px 40px; }
  .sobre-media { min-height: 340px; }
  .contato-inner { grid-template-columns: 1fr; gap: 44px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 680px)
   ============================================================ */

@media (max-width: 680px) {
  .desktop-copy { display: none; }
  .mobile-copy { display: inline; }

  .container { padding: 0 30px; }

  .section-title {
    text-align: center;
  }

  #introducao-title {
    font-size: 1.2rem;
    line-height: 1.35;
    letter-spacing: 0;
  }

  .section-subtitle,
  .localidade-text p.body-copy,
  .sobre-text p.body-copy,
  .contato-text p.body-copy {
    max-width: none;
    text-align: justify;
    text-align-last: left;
    hyphens: none;
    word-break: normal;
    overflow-wrap: normal;
  }

  #hero > .container { padding-top: 48px; }
  .hero-content { padding: 0 0 54px; }
  .hero-brand img { width: 46px; height: 46px; }
  .hero-brand-name { font-size: 0.95rem; }
  .hero-brand { margin-bottom: 24px; }
  .hero-trust {
    max-width: 310px;
    font-size: 0.64rem;
    line-height: 1.7;
    margin-bottom: 15px;
  }
  .hero-title {
    font-size: 1.7rem;
    line-height: 1.25;
  }
  .hero-subtitle {
    font-size: 0.91rem;
    line-height: 1.65;
    margin-bottom: 24px;
  }
  .hero-actions {
    width: 100%;
    max-width: 340px;
    flex-direction: column;
  }
  .hero-actions .btn { width: 100%; justify-content: center; }

  #introducao { padding: 56px 0; }
  #perfis { padding: 56px 0 62px; }
  .perfis-grid { grid-template-columns: 1fr; }
  .perfil-item {
    min-height: 0;
    padding: 24px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .perfil-item:last-child { border-bottom: 0; }
  .perfil-item h3 { margin-top: 15px; }
  .perfil-item .text-link { padding-top: 14px; }

  #imoveis { padding: 60px 0; }
  .imoveis-grid { grid-template-columns: 1fr; gap: 20px; }
  .imoveis-grid > .imovel-card:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }
  .imovel-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .section-head { margin-bottom: 28px; }

  .localidade-text { padding: 48px 34px; }
  .localidade-list {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }
  .localidade-list li {
    display: block;
    width: 100%;
    text-align: center;
    padding-left: 0;
  }
  .localidade-list li::before {
    display: inline-block;
    margin-right: 8px;
    transform: translateY(-2px);
  }

  .sobre-text { padding: 48px 34px; }
  .sobre-media { min-height: 280px; }

  #outras-regioes { padding: 60px 0; }
  .regioes-grid { grid-template-columns: 1fr; gap: 12px; }
  .regiao-item {
    min-height: 0;
    padding: 24px 22px;
  }
  .regiao-item h3 { margin: 14px 0 8px; }

  #contato { padding: 64px 0 56px; }
  .contato-text {
    padding: 0 4px;
  }
  .contact-form { padding: 26px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .form-note {
    font-size: 0.72rem;
    white-space: normal;
  }

  footer { padding: 44px 0 78px; }
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
  }
  .footer-logo {
    justify-content: center;
    width: 100%;
  }
  .footer-contact {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
  }
  .footer-contact a {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    font-size: 0.68rem;
    line-height: 1.7;
  }

  .whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .instagram-float { width: 52px; height: 52px; bottom: 18px; left: 18px; }
}
