:root {
  --bg-outer: #EAE6DD;
  --bg-page: #F5F3EE;
  --surface: #FFFFFF;
  --surface-soft: #EDE9E0;
  --ink: #14120E;
  --muted: #5F5A50;
  --border: rgba(20, 18, 14, 0.09);
  --gold-grad: linear-gradient(90deg, #fbcd59 0%, #cc9f40 50%, #fbcd59 100%);
  --accent: #9E7522;
  --accent-deep: #14120E;
  --gold: #cc9f40;
  --accent-ink: #14120E;
  --radius-page: 28px;
  --radius-card: 18px;
  --font-display: 'Times New Roman', Times, Georgia, serif;
  --font-body: 'Garet', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg-outer);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
  padding: 24px 12px 40px;
  -webkit-font-smoothing: antialiased;
}

img, svg, video {
  display: block;
  max-width: 100%;
}

button, a {
  font: inherit;
  color: inherit;
}

.symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.symbols svg,
svg use {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus { top: 12px; }

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

@keyframes riseIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  animation: riseIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--delay, 0ms);
}

.page {
  width: 100%;
  max-width: 490px;
  margin: 0 auto;
  background: var(--bg-page);
  border-radius: var(--radius-page);
  border: 1px solid rgba(20, 18, 14, 0.08);
  box-shadow: 0 24px 64px rgba(28, 22, 12, 0.08);
  overflow: hidden;
  padding: 12px;
}

/* 1. HERO */
.hero-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--accent-deep);
}

.hero-media {
  position: relative;
  aspect-ratio: 4 / 4.85;
  min-height: 360px;
  overflow: hidden;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(182, 141, 76, 0.20), transparent 52%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
}

.hero-scene img,
.hero-scene video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-scene.is-video {
  transform: scale(1);
}

.hero-scene.is-video video {
  object-position: center 62%;
}

.hero-media.is-photo-clean .hero-scrim-top,
.hero-media.is-photo-clean .hero-scrim-bottom,
.hero-media.is-photo-clean .hero-topbar,
.hero-media.is-photo-clean .hero-caption-wrap,
.hero-media.is-photo-clean .featured-pill {
  opacity: 0;
  pointer-events: none;
}

.hero-media.is-photo-clean .hero-bottom-bar {
  justify-content: flex-end;
}

.hero-media.is-photo-clean .hero-scene::after {
  display: none;
}

.hero-video,
.hero-scenes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s ease, transform 4.8s ease-out;
}

.hero-scene.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 25%, rgba(182, 141, 76, 0.25), transparent 58%);
  pointer-events: none;
}

.hero-scrim-top {
  position: absolute;
  inset: 0 0 auto;
  height: 110px;
  background: linear-gradient(180deg, rgba(20, 18, 14, 0.78), transparent);
  pointer-events: none;
}

.hero-scrim-bottom {
  position: absolute;
  inset: auto 0 0;
  height: 185px;
  background: linear-gradient(0deg, rgba(20, 18, 14, 0.90), transparent);
  pointer-events: none;
}

.hero-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 16px;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 0.95;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.brand-handle {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  color: rgba(255, 255, 255, 0.78);
}

.creci-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(11, 41, 54, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.22);
}

.hero-caption-wrap {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 76px;
  z-index: 2;
}

.hero-caption {
  margin: 0;
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1.02;
  color: #FFFFFF;
}

.hero-bottom-bar {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.featured-pill {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.20);
  transition: transform 0.2s ease;
}

.featured-pill:hover { transform: translateY(-1px); }

.featured-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--gold-grad);
  color: var(--accent-ink);
  flex-shrink: 0;
}

.featured-name {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}

.featured-pill svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--muted);
}

.hero-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(11, 41, 54, 0.65);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.hero-toggle-btn svg { width: 15px; height: 15px; }

.hero-progress {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 9px;
  z-index: 2;
  display: grid;
  grid-auto-flow: column;
  gap: 5px;
}

.hero-progress span {
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
  position: relative;
}

.hero-progress span.is-active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-grad);
  transform-origin: left;
  animation: progressFill 4.5s linear forwards;
}

.hero-progress.is-paused span.is-active::after { animation-play-state: paused; }

@keyframes progressFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* CONTEÚDO */
.content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 24px 0 8px;
}

.content > section + section {
  position: relative;
}

.content > section + section::before {
  content: '';
  position: absolute;
  left: 4px;
  right: 4px;
  top: -16px;
  height: 1px;
  background: var(--gold-grad);
  opacity: 0.85;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 4px 10px;
}

.section-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 3px;
}

.section-head h1,
.section-head h2,
.concierge-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.05;
}

.ig-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.ig-chip:hover {
  background: var(--surface-soft);
  transform: translateY(-1px);
}

.ig-chip svg { width: 14px; height: 14px; color: var(--accent); }

/* 2. CARDS DA EQUIPE */
.team-list {
  display: grid;
  gap: 12px;
}

.advisor-card {
  background: var(--surface);
  border: 1px solid rgba(20, 18, 14, 0.08);
  border-radius: var(--radius-card);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  box-shadow: 0 6px 20px rgba(28, 22, 12, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.advisor-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(28, 22, 12, 0.08);
}

.advisor-info {
  min-width: 0;
  flex: 1 1 180px;
}

.advisor-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.advisor-role {
  margin: 3px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--gold-grad);
  border: 1px solid rgba(184, 139, 46, 0.38);
  color: #261E0F;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(204, 159, 64, 0.22);
  transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-btn:hover {
  filter: brightness(0.97);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(204, 159, 64, 0.30);
}

.wa-btn svg { width: 15px; height: 15px; }

.icon-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--ink);
  display: grid;
  place-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.icon-action-btn:hover { background: #E1DCD0; }
.icon-action-btn svg { width: 16px; height: 16px; }

/* 3. CARROSSEL IMÓVEIS */
.carousel-arrows { display: flex; gap: 6px; }

.arrow-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.arrow-btn.prev svg { transform: rotate(180deg); }
.arrow-btn svg { width: 16px; height: 16px; }

.property-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 76%;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.property-track::-webkit-scrollbar { display: none; }

.property-card {
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.property-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(28, 22, 12, 0.08);
}

.property-thumb {
  width: 100%;
  height: 317px;
  background: var(--surface-soft);
  overflow: hidden;
  flex-shrink: 0;
}

.property-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.property-body {
  padding: 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.property-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  font-weight: 500;
}

.property-title {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}

.property-desc {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.property-foot {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
}

/* 4. SIMULADOR DE ATENDIMENTO */
.concierge-card {
  background: var(--surface);
  border: 1px solid rgba(204, 159, 64, 0.35);
  color: var(--ink);
  border-radius: var(--radius-card);
  padding: 20px 18px;
  box-shadow: 0 8px 26px rgba(28, 22, 12, 0.05);
}

.concierge-head p {
  margin: 6px 0 14px;
  font-size: 13px;
  color: var(--muted);
}

.intent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.intent-btn {
  text-align: left;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #FAF8F3;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.intent-btn strong { display: block; font-size: 13px; font-weight: 500; }
.intent-btn span { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }

.intent-btn.is-active {
  border-color: #cc9f40;
  background: rgba(251, 205, 89, 0.16);
}

.advisor-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.switch-btn {
  padding: 9px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #FAF8F3;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.switch-btn.is-active {
  background: rgba(251, 205, 89, 0.18);
  border-color: #cc9f40;
  color: #6B4D12;
}

.whatsapp-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--gold-grad);
  border: 1px solid rgba(184, 139, 46, 0.38);
  color: #261E0F;
  font-weight: 500;
  font-size: 13.5px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(204, 159, 64, 0.24);
  transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-cta:hover {
  filter: brightness(0.97);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(204, 159, 64, 0.32);
}
.whatsapp-cta svg { width: 17px; height: 17px; }
.whatsapp-cta .cta-chevron { margin-left: auto; color: #261E0F; opacity: 0.7; }

/* RODAPÉ */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 4px 4px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }

.footer-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover { color: var(--ink); }

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.share-btn svg { width: 13px; height: 13px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 50;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent-deep);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

@media (max-width: 480px) {
  body { padding: 0; background: var(--bg-page); }
  .page { border-radius: 0; border: none; box-shadow: none; }
  .intent-grid, .advisor-switch { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; }
  .hero-scene, .hero-progress span.is-active::after {
    transition: none;
    animation: none;
  }
}
