/* =============================================================
   Site Profissional para Imobiliárias — Landing Page
   Paleta: roxo #7800FF | preto #050505 | fundo claro
   ============================================================= */

:root {
  --purple: #7800FF;
  --purple-dark: #5a00c0;
  --purple-light: #b487ff;
  --ink: #050505;
  --ink-soft: #3a3a40;
  --muted: #6b6b73;
  --line: #ececf0;
  --white: #ffffff;
  --bg-card: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 8px 24px rgba(16, 16, 24, 0.06);
  --shadow-md: 0 20px 50px rgba(16, 16, 24, 0.10);
  --shadow-purple: 0 18px 40px rgba(120, 0, 255, 0.28);
  --maxw: 1160px;
  --font-display: "Helvetica Now Display", "Helvetica Neue", "Inter", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
}

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

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

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

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

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

/* ----------------------------- Helpers --------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}

.text-purple { color: var(--purple); }
.text-purple-light { color: var(--purple-light); }

/* Detalhe vertical roxo reutilizável */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--purple);
}

/* ----------------------------- Buttons --------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 17px 34px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  will-change: transform;
  text-transform: uppercase;
  font-size: 0.92rem;
}

.btn--primary {
  background: var(--purple);
  color: #fff;
  box-shadow: var(--shadow-purple);
}
.btn--primary:hover {
  background: var(--purple-dark);
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(120, 0, 255, 0.36);
}

.btn--ghost {
  background: #fff;
  color: var(--purple);
  border-color: rgba(120, 0, 255, 0.25);
}
.btn--ghost:hover {
  background: var(--purple);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-purple);
}

.btn--lg { padding: 20px 44px; font-size: 1rem; }

/* ícone whatsapp em CSS (sem dependência externa) */
.btn__wa {
  width: 20px;
  height: 20px;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--wa-mask) center / contain no-repeat;
  mask: var(--wa-mask) center / contain no-repeat;
}
:root {
  --wa-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.32 4.95L2 22l5.25-1.38a9.9 9.9 0 0 0 4.79 1.22h.01c5.46 0 9.91-4.45 9.91-9.91 0-2.65-1.03-5.14-2.9-7.01A9.82 9.82 0 0 0 12.04 2Zm0 1.67c2.2 0 4.27.86 5.82 2.42a8.2 8.2 0 0 1 2.42 5.82c0 4.54-3.7 8.24-8.24 8.24a8.2 8.2 0 0 1-4.2-1.15l-.3-.18-3.12.82.83-3.04-.2-.31a8.18 8.18 0 0 1-1.26-4.38c0-4.54 3.7-8.24 8.25-8.24Zm-4.6 4.43c-.16 0-.42.06-.64.31-.22.24-.84.82-.84 2 0 1.18.86 2.32.98 2.48.12.16 1.69 2.58 4.1 3.62.57.25 1.02.4 1.37.5.58.18 1.1.16 1.51.1.46-.07 1.42-.58 1.62-1.14.2-.56.2-1.04.14-1.14-.06-.1-.22-.16-.46-.28-.24-.12-1.42-.7-1.64-.78-.22-.08-.38-.12-.54.12-.16.24-.62.78-.76.94-.14.16-.28.18-.52.06-.24-.12-1.01-.37-1.93-1.19-.71-.64-1.2-1.42-1.34-1.66-.14-.24-.01-.37.11-.49.11-.11.24-.28.36-.42.12-.14.16-.24.24-.4.08-.16.04-.3-.02-.42-.06-.12-.54-1.3-.74-1.78-.2-.47-.4-.4-.54-.41-.14-.01-.3-.01-.46-.01Z'/%3E%3C/svg%3E");
}

.microcopy {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--muted);
}
.microcopy--light { color: rgba(255, 255, 255, 0.6); max-width: 480px; margin-inline: auto; }

/* =============================================================
   SEÇÃO 1 — HERO
   ============================================================= */
.hero {
  position: relative;
  padding-block: 70px 80px;
  background:
    radial-gradient(circle at top right, rgba(120, 0, 255, 0.16), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f4f4f4 100%);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.hero__title {
  margin-top: 22px;
  font-size: clamp(2.3rem, 6vw, 3.7rem);
  font-weight: 900;
}

.hero__badge {
  display: inline-block;
  margin-top: 20px;
  padding: 11px 20px;
  background: var(--purple);
  color: #fff;
  font-weight: 700;
  font-size: 1.02rem;
  border-radius: 12px;
  box-shadow: var(--shadow-purple);
}

.hero__lead {
  margin-top: 22px;
  max-width: 540px;
  font-size: 1.06rem;
  color: var(--ink-soft);
}

.bullets {
  margin-top: 26px;
  display: grid;
  gap: 13px;
}
.bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  color: var(--ink);
}
.bullets__icon {
  margin-top: 3px;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  background: rgba(120, 0, 255, 0.12);
  position: relative;
}
.bullets__icon::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 9px;
  width: 5px;
  height: 8px;
  border: solid var(--purple);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.strip {
  margin-top: 30px;
  padding: 16px 22px;
  border-left: 4px solid var(--purple);
  background: rgba(120, 0, 255, 0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.cta-group { margin-top: 30px; }

/* ---------------------- Mockup do site --------------------------- */
.hero__visual { display: flex; justify-content: center; }

.mockup {
  width: 100%;
  max-width: 540px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(16,16,24,0.04);
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

.mockup__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: #f3f3f6;
  border-bottom: 1px solid var(--line);
}
.mockup__dot { width: 10px; height: 10px; border-radius: 50%; background: #d3d3da; }
.mockup__dot:nth-child(1) { background: #ff5f57; }
.mockup__dot:nth-child(2) { background: #febc2e; }
.mockup__dot:nth-child(3) { background: #28c840; }
.mockup__url {
  margin-left: 12px;
  font-size: 0.72rem;
  color: var(--muted);
  background: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
}

.mockup__screen { padding: 16px; background: #fff; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--ink);
}
.site-logo__mark {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--purple);
  position: relative;
}
.site-logo__mark::after {
  content: ""; position: absolute; inset: 6px 6px 0 6px;
  border-top: 5px solid #fff; border-left: 5px solid transparent; border-right: 5px solid transparent;
}
.site-nav__links { display: flex; align-items: center; gap: 9px; }
.site-nav__links span { width: 28px; height: 7px; border-radius: 4px; background: #e7e7ee; }
.site-nav__cta { width: 50px !important; height: 22px !important; border-radius: 20px !important; background: var(--purple) !important; }

.site-banner {
  margin-top: 14px;
  padding: 22px 18px;
  border-radius: 12px;
  background:
    linear-gradient(120deg, rgba(120,0,255,0.92), rgba(90,0,192,0.92)),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.18), transparent 40%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 110px;
  justify-content: flex-end;
}
.site-banner__tag {
  align-self: flex-start;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255,255,255,0.18);
  padding: 4px 10px;
  border-radius: 20px;
}
.site-banner__title { font-size: 0.92rem; font-weight: 700; line-height: 1.25; }
.site-banner__price { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; }

.site-search {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 7px;
  padding: 9px;
  background: #f6f6fa;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.site-search__field {
  font-size: 0.66rem;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 7px 8px;
}
.site-search__btn {
  font-size: 0.66rem;
  font-weight: 700;
  color: #fff;
  background: var(--purple);
  border-radius: 7px;
  padding: 7px 12px;
  display: flex;
  align-items: center;
}

.site-section-label {
  display: block;
  margin: 16px 0 9px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
}
.site-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.site-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.site-card__img {
  height: 42px;
  border-radius: 7px;
  background: linear-gradient(135deg, #ece7fb, #f4f1fd);
  position: relative;
  overflow: hidden;
}
.site-card__img::after {
  content: ""; position: absolute; left: 8px; bottom: 8px; right: 14px; height: 12px;
  background: rgba(120,0,255,0.18); border-radius: 3px;
  clip-path: polygon(0 100%, 22% 30%, 45% 70%, 70% 10%, 100% 60%, 100% 100%);
}
.site-card__line { height: 6px; border-radius: 4px; background: #e9e9f0; }
.site-card__line--lg { width: 85%; }
.site-card__line:not(.site-card__line--lg) { width: 55%; }
.site-card__price { font-family: var(--font-display); font-weight: 800; font-size: 0.7rem; color: var(--purple); }

/* =============================================================
   SEÇÃO 2 — BENEFÍCIOS
   ============================================================= */
.benefits {
  padding-block: 90px;
  background:
    radial-gradient(circle at left top, rgba(120,0,255,0.06), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7f7f9 100%);
}

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head h2 {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  font-weight: 900;
}
.section-head p {
  margin-top: 18px;
  font-size: 1.08rem;
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(120, 0, 255, 0.25);
}
.card__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(120, 0, 255, 0.10);
  color: var(--purple);
  margin-bottom: 20px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.97rem; }

/* bloco de destaque roxo */
.highlight {
  position: relative;
  margin-top: 50px;
  padding: 40px 44px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, #7800FF 0%, #5a00c0 100%);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-purple);
}
.highlight__bar {
  position: absolute;
  top: 0; right: 8%;
  width: 4px; height: 100%;
  background: rgba(255,255,255,0.18);
}
.highlight__text {
  flex: 1 1 420px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.highlight__text strong { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.5); text-underline-offset: 4px; }
.highlight .btn--ghost { flex: none; }

/* =============================================================
   SEÇÃO 3 — CTA FINAL
   ============================================================= */
.final {
  position: relative;
  padding-block: 96px;
  background:
    radial-gradient(circle at 50% 0%, rgba(120,0,255,0.35), transparent 55%),
    radial-gradient(circle at 85% 90%, rgba(120,0,255,0.22), transparent 45%),
    #050505;
  color: #fff;
  overflow: hidden;
}
.final::before {
  content: "";
  position: absolute;
  top: -20%; left: 12%;
  width: 4px; height: 140%;
  background: linear-gradient(180deg, transparent, rgba(120,0,255,0.6), transparent);
}

.final__inner { max-width: 760px; margin-inline: auto; text-align: center; }
.final h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
}
.final__lead {
  margin-top: 22px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.72);
}

.deliverables {
  margin: 40px auto;
  max-width: 660px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  padding: 30px 34px;
  backdrop-filter: blur(6px);
}
.deliverables ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 28px;
  text-align: left;
}
.deliverables li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  font-size: 0.98rem;
}
.deliverables li::before {
  content: "";
  margin-top: 4px;
  width: 18px; height: 18px;
  flex: none;
  border-radius: 50%;
  background: rgba(120, 0, 255, 0.9);
  box-shadow: 0 0 0 4px rgba(120,0,255,0.18);
  position: relative;
}
.deliverables li::after {
  content: "";
  position: absolute;
  margin-left: 6px; margin-top: 8px;
  width: 4px; height: 7px;
  border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.final .btn { margin-top: 6px; }

/* =============================================================
   FOOTER
   ============================================================= */
.footer {
  background: #050505;
  color: rgba(255, 255, 255, 0.45);
  padding-block: 26px;
  text-align: center;
  font-size: 0.88rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* =============================================================
   ANIMAÇÕES
   ============================================================= */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* leve cascata nos cards */
.cards .card:nth-child(2) { transition-delay: 0.08s; }
.cards .card:nth-child(3) { transition-delay: 0.16s; }
.cards .card:nth-child(4) { transition-delay: 0.24s; }

/* =============================================================
   RESPONSIVO  (mobile-first acima; aqui ampliamos)
   ============================================================= */
@media (min-width: 880px) {
  .hero { padding-block: 96px 110px; }
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; gap: 60px; }
}

/* Mobile/tablet (stacked): mockup vem ANTES do conteúdo de texto.
   A ordem interna do .hero__content já é badge > título > bloco roxo
   > texto > benefícios > CTA, então basta subir o visual para o topo. */
@media (max-width: 879px) {
  .hero__inner {
    display: flex;
    flex-direction: column;
  }
  .hero__visual {
    order: 1;          /* mockup no topo */
    width: 100%;
    max-width: 100%;   /* não corta lateralmente */
    margin-bottom: 28px;
  }
  .mockup { max-width: 460px; }  /* centralizado, sem encostar nas bordas */
  .hero__content {
    order: 2;          /* badge, título, promessa, texto, benefícios, CTA */
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .hero__badge { font-size: 0.95rem; }
  .strip { font-size: 1.05rem; }
  .btn { width: 100%; }
  .highlight { padding: 32px 26px; }
  .highlight__text { font-size: 1.1rem; }
  .deliverables { padding: 24px 22px; }
  .deliverables ul { grid-template-columns: 1fr; }
  .site-search { grid-template-columns: 1fr 1fr; }
}

/* acessibilidade: respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  .mockup { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
