/* Fidelize landing — linha shopping (areia / âmbar / vitrine) */
:root {
  --amber: #c4891a;
  --teal: #2f6f68;
  --ink: #2f261c;
  --ink-dim: #6b5a48;
  --sand: #f4ece2;
  --sand-deep: #e8d9c8;
  --panel: #fffaf4;
  color: #2f261c;
  font-family: 'DM Sans', sans-serif;
  background-color: #f4ece2;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background-color: #f4ece2;
  color: #2f261c;
}

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

/* —— Hero: uma composição, brand no topo visual —— */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-content: end;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  overflow: hidden;
  background:
    linear-gradient(
      125deg,
      rgba(244, 236, 226, 0.15) 0%,
      rgba(47, 38, 28, 0.4) 48%,
      rgba(47, 38, 28, 0.72) 100%
    ),
    url('./assets/mall-hero.jpg') center / cover no-repeat;
  color: #f4ece2;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 18% 12%, rgba(196, 137, 26, 0.38), transparent 44%),
    radial-gradient(ellipse at 88% 78%, rgba(47, 111, 104, 0.2), transparent 48%);
  pointer-events: none;
  animation: veil-shift 14s ease-in-out infinite alternate;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  display: grid;
  gap: 0.85rem;
  padding-bottom: 2.5rem;
  animation: rise 0.95s ease-out both;
}

.brand {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.9rem, 8.5vw, 4.6rem);
  color: #c4891a;
  margin: 0;
  letter-spacing: 0.01em;
  line-height: 1.05;
  text-shadow: 0 1px 22px rgba(47, 38, 28, 0.4);
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 500;
  max-width: 22ch;
  color: #f4ece2;
}

.lead {
  margin: 0;
  color: rgba(244, 236, 226, 0.9);
  line-height: 1.55;
  max-width: 38ch;
}

.eyebrow {
  margin: 0;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c4891a;
}


.demo-panel {
  background: #fffaf4;
  border-bottom: 1px solid rgba(47, 38, 28, 0.12);
  padding: clamp(2rem, 4vw, 3rem) 1.5rem;
}

.demo-panel-inner {
  max-width: 40rem;
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}

.demo-panel h2 {
  margin: 0;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 400;
  color: #a87412;
}

.demo-panel p {
  margin: 0;
  color: #6b5a48;
  line-height: 1.6;
}

.demo-panel a {
  color: #2f6f68;
}

.demo-creds {
  margin: 0.25rem 0 0;
  padding-left: 1.1rem;
  color: #2f261c;
  line-height: 1.7;
}

.demo-creds strong {
  color: #a87412;
}

.cta.ghost.dark {
  color: #2f261c;
  border-color: rgba(47, 38, 28, 0.22);
  background: transparent;
}

html[data-mode='demo'] .hero {
  background:
    linear-gradient(
      125deg,
      rgba(196, 137, 26, 0.22) 0%,
      rgba(47, 38, 28, 0.45) 48%,
      rgba(47, 38, 28, 0.74) 100%
    ),
    url('./assets/mall-hero.jpg') center / cover no-repeat;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.15rem;
  border-radius: 0.4rem;
  background: #c4891a;
  color: #1a1405;
  font-weight: 700;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.cta.ghost {
  background: rgba(255, 250, 244, 0.14);
  color: #f4ece2;
  border: 1px solid rgba(244, 236, 226, 0.42);
  font-weight: 500;
  backdrop-filter: blur(6px);
}

/* —— Cenas full-bleed (uma ideia + uma imagem) —— */
.scene {
  position: relative;
  min-height: min(72vh, 38rem);
  display: grid;
  align-content: end;
  padding: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  isolation: isolate;
}

.scene::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #e8d9c8;
  background-image: var(--scene-img);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.04);
  animation: ken 22s ease-in-out infinite alternate;
}

.scene-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.scene-dark .scene-veil {
  background: linear-gradient(
    115deg,
    rgba(47, 38, 28, 0.78) 0%,
    rgba(47, 38, 28, 0.35) 55%,
    rgba(47, 38, 28, 0.2) 100%
  );
}

.scene-light .scene-veil {
  background: linear-gradient(
    115deg,
    rgba(244, 236, 226, 0.92) 0%,
    rgba(244, 236, 226, 0.72) 48%,
    rgba(244, 236, 226, 0.28) 100%
  );
}

.scene-close {
  min-height: min(68vh, 34rem);
}

.scene-close .scene-veil {
  background: linear-gradient(
    160deg,
    rgba(47, 38, 28, 0.55) 0%,
    rgba(47, 38, 28, 0.72) 100%
  );
}

.scene-copy {
  position: relative;
  z-index: 2;
  max-width: 28rem;
  display: grid;
  gap: 0.75rem;
  animation: fade 1s ease both;
}

.scene h2 {
  margin: 0;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 400;
  line-height: 1.15;
}

.scene-dark h2,
.scene-close h2 {
  color: #c4891a;
}

.scene-light h2 {
  color: #a87412;
}

.scene p {
  margin: 0;
  line-height: 1.65;
  font-size: 1.05rem;
  max-width: 36ch;
}

.scene-dark p,
.scene-close p {
  color: rgba(244, 236, 226, 0.9);
}

.scene-light p {
  color: #6b5a48;
}

.scene-close .cta.ghost {
  background: rgba(255, 250, 244, 0.12);
  color: #f4ece2;
  border: 1px solid rgba(244, 236, 226, 0.4);
}

.scene:nth-of-type(2) .scene-copy {
  animation-delay: 0.05s;
}
.scene:nth-of-type(3) .scene-copy {
  animation-delay: 0.08s;
}

.foot {
  padding: 2.5rem 1.5rem 3rem;
  text-align: center;
  color: #6b5a48;
  background-color: #e8d9c8;
  display: grid;
  gap: 1.25rem;
  justify-items: center;
}

.foot-brand {
  margin: 0;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.78rem;
}

.foot-demo {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  max-width: 28rem;
}

.foot-invite {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  line-height: 1.45;
  color: #2f261c;
}

.foot-cta {
  min-width: 14rem;
}

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

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes ken {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.2%, -0.6%, 0);
  }
}

@keyframes veil-shift {
  from {
    opacity: 0.92;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-inner,
  .scene-copy,
  .hero-veil,
  .scene::before {
    animation: none;
  }
}

@media (max-width: 640px) {
  .scene {
    min-height: 70vh;
    align-content: end;
  }

  .scene-light .scene-veil {
    background: linear-gradient(
      180deg,
      rgba(244, 236, 226, 0.55) 0%,
      rgba(244, 236, 226, 0.9) 55%,
      rgba(244, 236, 226, 0.95) 100%
    );
  }

  .scene-dark .scene-veil {
    background: linear-gradient(
      180deg,
      rgba(47, 38, 28, 0.35) 0%,
      rgba(47, 38, 28, 0.78) 55%,
      rgba(47, 38, 28, 0.88) 100%
    );
  }
}
