/* ==========================================================================
   Demo — PRUMO Arquitetura (nicho: arquitetura residencial)
   Empresa e todo o conteúdo são 100% fictícios (números de autoridade
   inventados, autorizados por serem demo). Direção elegante/minimalista em
   preto + off-white + dourado, referenciada de dazzoarquitetura.com (aprovado
   pelo Danton) — full-bleed sobre foto de casa moderna, com navbar em pill
   flutuante centralizada. Deliberadamente distinta da identidade da LEAL
   System e da demo de advocacia: o objetivo é mostrar range de nicho.
   ========================================================================== */

:root {
  --preto: #0D0C0A;          /* fundo base / fallback do hero */
  --tinta: #1A1815;          /* texto escuro sobre a pill clara */
  --tinta-dim: #55504733;    /* (não usado direto) */
  --off: #F3EFE6;            /* texto principal — off-white */
  --off-dim: #C4BCAC;        /* texto secundário */
  --dourado: #C9A24B;        /* destaque único — dourado */
  --dourado-soft: #DCBE76;   /* hover do dourado */
  --linha: rgba(243, 239, 230, 0.16);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', system-ui, -apple-system, sans-serif;

  --maxw: 1280px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--preto);
  color: var(--off);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1 { font-family: var(--font-display); font-weight: 400; margin: 0; line-height: 1.02; }
em { font-style: italic; color: var(--dourado); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
button { font: inherit; }

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

/* ---------- Entrada (respeitando reduced motion) ---------- */
@keyframes subir {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes descer {
  from { opacity: 0; transform: translate(-50%, -14px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.reveal { animation: subir 0.9s cubic-bezier(.19,1,.22,1) both; }
.reveal-1 { animation-delay: .15s; }
.reveal-2 { animation-delay: .30s; }
.reveal-3 { animation-delay: .46s; }
.reveal-4 { animation-delay: .60s; }
.reveal-5 { animation-delay: .74s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .navbar { animation: none !important; }
  .navbar { opacity: 1; transform: translateX(-50%); }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ---------- Badge de demonstração (rodapé, centralizada) ---------- */
.demo-footer {
  display: flex;
  justify-content: center;
  padding: 26px 24px 34px;
  background: var(--preto);
}
.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  /* Cores fixas da identidade da LEAL System, não os tokens do nicho: essa
     badge é a marca da LEAL aparecendo dentro do site do cliente. */
  background: rgba(29, 23, 18, 0.92);
  border: 1px solid rgba(226, 98, 44, 0.4);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  color: #D8C9B2;
  transition: border-color .2s ease, color .2s ease;
}
.demo-badge b { color: #E2622C; font-weight: 600; }
.demo-badge:hover { border-color: #E2622C; color: #F2E8D8; }

/* ---------- Navbar (pill flutuante centralizada) ---------- */
.navbar {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  animation: descer 1s cubic-bezier(.19,1,.22,1) .1s both;
}
.navpill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 9px 9px 24px;
  border-radius: 999px;
  background: rgba(246, 243, 236, 0.86);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.brand-mark { width: 15px; height: 15px; color: var(--dourado); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-word {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.32em;
  padding-left: 0.32em;
  color: var(--tinta);
}

.pill-divider {
  width: 1px;
  height: 22px;
  background: rgba(26, 24, 21, 0.16);
  margin: 0 12px;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(26, 24, 21, 0.66);
  transition: color .2s ease;
}
.nav a:hover { color: var(--tinta); }

.pill-cta {
  display: inline-flex;
  align-items: center;
  margin-left: 16px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--tinta);
  color: var(--off);
  font-size: 13.5px;
  font-weight: 500;
  transition: background .25s ease, color .25s ease;
}
.pill-cta:hover { background: var(--dourado); color: #17130A; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--tinta);
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Botões do hero ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 17px 30px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .2s ease;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform .25s ease; }
.btn--primary { background: var(--dourado); color: #17130A; }
.btn--primary:hover { background: var(--dourado-soft); transform: translateY(-2px); }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--off); border-color: rgba(243,239,230,0.4); }
.btn--ghost:hover { border-color: var(--off); background: rgba(243,239,230,0.06); }
.btn:focus-visible { outline: 2px solid var(--dourado); outline-offset: 3px; }

/* ---------- Hero (full-bleed sobre a foto) ---------- */
.hero {
  position: relative;
  /* Um pouco menor que a tela cheia pra a badge do rodapé entrar na
     primeira dobra, sem precisar rolar. */
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("casa-moderna-hero.png");
  background-size: cover;
  background-position: center 38%;
  transform: scale(1.04);
}
/* Contraste da headline: gradiente forte da esquerda pra direita (onde o
   texto vive) + base escurecida no rodapé, mantendo a casa visível à direita. */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right,
      rgba(13,12,10,0.95) 0%,
      rgba(13,12,10,0.86) 24%,
      rgba(13,12,10,0.55) 48%,
      rgba(13,12,10,0.12) 70%,
      rgba(13,12,10,0.02) 100%),
    linear-gradient(to top,
      rgba(13,12,10,0.72) 0%,
      rgba(13,12,10,0.18) 26%,
      transparent 52%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 120px;
  padding-bottom: 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dourado);
  margin-bottom: 26px;
}
.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--dourado);
  opacity: 0.7;
}

.hero-content h1 {
  font-size: clamp(50px, 7.4vw, 108px);
  letter-spacing: -0.005em;
  max-width: 13ch;
  margin-bottom: 30px;
}

.hero-lead {
  color: var(--off-dim);
  font-size: 18px;
  font-weight: 300;
  max-width: 50ch;
  margin-bottom: 40px;
  text-shadow: 0 1px 22px rgba(13, 12, 10, 0.7);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }

/* ---------- Faixa de autoridade (números fictícios) ---------- */
.hero-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px 34px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 38px;
  line-height: 1;
  color: var(--off);
}
.stat-num .unidade { font-size: 20px; color: var(--off-dim); }
.stat-stars { font-size: 15px; letter-spacing: 0.06em; color: var(--dourado); }
.stat-label {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--off-dim);
}
.stat-sep {
  width: 1px;
  height: 40px;
  background: var(--linha);
}

/* ---------- Scroll cue ---------- */
.scroll-cue {
  position: absolute;
  z-index: 2;
  right: 40px;
  bottom: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--off-dim);
  writing-mode: vertical-rl;
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 54px;
  background: linear-gradient(to bottom, var(--dourado), transparent);
}

/* ---------- WhatsApp flutuante (placeholder, sem número real) ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 45;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  cursor: default;
}
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Responsivo ---------- */
@media (max-width: 940px) {
  .container { padding: 0 22px; }

  /* Pill centralizada, com o menu (hambúrguer) logo ao lado do nome. */
  .navbar { top: 16px; width: auto; max-width: none; }
  .navpill { justify-content: center; gap: 4px; padding: 8px 8px 8px 20px; }
  .pill-divider, .nav, .pill-cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  /* No mobile o texto ocupa a largura toda: gradiente preto forte cobrindo
     toda a faixa superior (eyebrow + headline + parágrafo), só deixando a
     casa respirar logo abaixo da pill e clareando um pouco no rodapé. */
  .hero-scrim {
    background:
      linear-gradient(to bottom,
        rgba(13,12,10,0.46) 0%,
        rgba(13,12,10,0.82) 16%,
        rgba(13,12,10,0.90) 38%,
        rgba(13,12,10,0.90) 64%,
        rgba(13,12,10,0.74) 84%,
        rgba(13,12,10,0.56) 100%);
  }

  /* Hero um pouco menor que a tela cheia pra a badge do rodapé entrar na
     primeira dobra logo abaixo da faixa de estatísticas. */
  .hero { min-height: 86vh; min-height: 86svh; }
  .hero-content { padding-top: 120px; padding-bottom: 40px; }
  .hero-content h1 { max-width: 100%; }
  .scroll-cue { display: none; }

  .demo-footer { padding: 20px 24px 34px; }
}

@media (max-width: 560px) {
  .hero-stats { gap: 18px 24px; }
  .stat-sep { display: none; }
  .stat-num { font-size: 32px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .demo-badge { font-size: 10px; padding: 7px 11px; }
  .eyebrow { font-size: 11px; letter-spacing: 0.18em; margin-bottom: 20px; }
  .hero-lead { font-size: 16px; }
}
