/* ===== Tokens ===== */
:root {
  --purple-950: #1b1330;
  --purple-800: #2e2151;
  --purple-600: #674ea8;
  --purple-line: #6c5b99;
  --purple-tint: #c9bedd;

  --orange: #f0611c;
  --orange-light: #ff8a4c;

  --paper: #f8f6fb;
  --paper-alt: #ede7f5;
  --cream: #f3efe6;
  --cream-dark: #e8e2d6;
  --ink: #241a3d;
  --ink-soft: #5b4f73;
  --charcoal: #1a1714;
  --line-light: #e3dcf0;
  --line-warm: #ddd6c8;

  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --max-width: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

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

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

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.section-narrow { max-width: 760px; }

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 246, 251, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-light);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.01em;
  color: var(--purple-800);
}

.nav-logo-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-logo-dot { color: var(--orange); }

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a { color: var(--ink-soft); transition: color 0.15s ease; }
.nav-links a:hover { color: var(--purple-800); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--purple-800);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px 32px 20px;
  border-top: 1px solid var(--line-light);
}

.nav-mobile a {
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--line-light);
}

.nav-mobile.is-open { display: flex; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn-orange {
  background: var(--orange);
  color: #2a1200;
  box-shadow: 0 8px 20px rgba(240, 97, 28, 0.28);
}
.btn-orange:hover { background: var(--orange-light); transform: translateY(-1px); box-shadow: 0 12px 26px rgba(240, 97, 28, 0.36); }

.btn-nav {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-lg { padding: 18px 34px; font-size: 17px; }

.btn-form { width: 100%; justify-content: center; padding: 16px; }

.btn-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--paper);
  border-bottom: 1px solid var(--purple-line);
  padding-bottom: 2px;
}
.btn-link:hover { border-color: var(--orange); }

/* ===== Intro curtain ===== */
.intro-curtain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

.curtain-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}

.curtain-left { left: 0; background: var(--purple-950); }
.curtain-right { right: 0; background: var(--orange); }

.curtain-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 84px;
  height: 84px;
  object-fit: contain;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
}

.intro-curtain.is-open .curtain-left { transform: translateX(-100%); }
.intro-curtain.is-open .curtain-right { transform: translateX(100%); }
.intro-curtain.is-open .curtain-mark { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }

/* ===== Blueprint grid background ===== */
.blueprint-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 121, 209, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 121, 209, 0.14) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* ===== Floating 3D blobs ===== */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
  animation: blobFloat 17s ease-in-out infinite;
  will-change: transform;
}

.blob-orange {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, var(--orange) 0%, transparent 72%);
  top: -80px;
  left: -60px;
}

.blob-purple {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--purple-600) 0%, transparent 72%);
  bottom: -120px;
  right: -100px;
  animation-delay: -6s;
  animation-duration: 21s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(36px, -46px, 0) rotate(18deg) scale(1.1); }
}

.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  max-width: none;
  opacity: 0.07;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: var(--purple-950);
  color: var(--paper);
  overflow: hidden;
  padding: 64px 0 96px;
}

.hero--bg-scroll {
  background: var(--purple-950);
  color: var(--paper);
  padding: 0;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  border-bottom: none;
}

.hero-bg-scroll {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-bg-marquee {
  display: flex;
  width: max-content;
  height: 100%;
  animation: heroBgScroll 48s linear infinite;
  will-change: transform;
}

.hero-bg-track {
  display: flex;
  flex-shrink: 0;
}

.hero-bg-slide {
  flex: 0 0 clamp(280px, 42vw, 520px);
  height: 100%;
  min-height: min(92vh, 860px);
  background: var(--slide-tone, #3d3550) center / cover no-repeat;
  position: relative;
}

.hero-bg-slide.tone-a { --slide-tone: linear-gradient(160deg, #6d6358 0%, #3f3830 100%); }
.hero-bg-slide.tone-b { --slide-tone: linear-gradient(160deg, #674ea8 0%, #3d2d66 100%); }
.hero-bg-slide.tone-c { --slide-tone: linear-gradient(160deg, #f0611c 0%, #9a3d10 100%); }
.hero-bg-slide.tone-d { --slide-tone: linear-gradient(160deg, #4a6d8c 0%, #243848 100%); }
.hero-bg-slide.tone-e { --slide-tone: linear-gradient(160deg, #5a7a60 0%, #2f4534 100%); }
.hero-bg-slide.tone-f { --slide-tone: linear-gradient(160deg, #2e2151 0%, #14101f 100%); }

.hero-bg-slide.has-photo {
  background-image: var(--slide-image);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(20, 14, 36, 0.92) 0%, rgba(20, 14, 36, 0.78) 42%, rgba(20, 14, 36, 0.35) 100%),
    linear-gradient(to top, rgba(20, 14, 36, 0.55), transparent 40%);
  pointer-events: none;
}

@keyframes heroBgScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hero--bg-scroll .hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  padding-top: clamp(48px, 8vw, 88px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.hero--bg-scroll .hero-copy {
  max-width: 620px;
}

.hero-kicker {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--purple-tint);
  margin: 0 0 24px;
  text-transform: none;
}

.hero-kicker .hero-index {
  margin: 0;
  color: var(--orange-light);
  letter-spacing: 0.14em;
  flex-shrink: 0;
}

.hero--bg-scroll .hero-index {
  color: var(--orange-light);
}

.hero-title--light {
  color: var(--paper);
}

.hero--bg-scroll .hero-title-accent {
  color: var(--orange-light);
}

.hero-sub--light {
  color: var(--purple-tint);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.hero-copy {
  max-width: 520px;
}

.hero-index {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--orange);
}

.hero--editorial .eyebrow {
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5.2vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 28px;
  overflow-wrap: break-word;
}

.hero-title-accent {
  font-weight: 800;
  color: var(--purple-800);
}

.hero--bg-scroll .hero-title-accent {
  color: var(--orange-light);
}

.hero-sub {
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.65;
  max-width: 460px;
  margin: 0 0 36px;
}

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 18px;
}

.eyebrow-light { color: var(--orange-light); }

/* ===== Sections ===== */
.section { position: relative; padding: 96px 0; }
.section-tight { padding-top: 0; }
.section-paper { background: var(--paper); }
.section-ink { background: var(--purple-800); color: var(--paper); overflow: hidden; }

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--purple-800);
  margin: 0 0 24px;
  max-width: 720px;
  overflow-wrap: break-word;
}

.h2-light { color: var(--paper); }

.body-lg {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 680px;
}

.body-light { color: var(--purple-tint); }
.body-intro { margin-bottom: 48px; }

.pull-quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--purple-800);
  border-left: 3px solid var(--orange);
  padding-left: 24px;
  margin: 44px 0 0;
  overflow-wrap: break-word;
}

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
}

.step-rev {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--orange-light);
  margin: 0 0 14px;
  border-bottom: 1px solid var(--purple-line);
  padding-bottom: 14px;
}

.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.15;
  margin: 0 0 14px;
}

.step-body {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--purple-tint);
  margin: 0 0 18px;
}

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.tag-list li {
  font-family: var(--font-mono);
  font-size: 12px;
  border: 1px solid var(--purple-line);
  padding: 5px 10px;
  border-radius: 4px;
  color: var(--purple-tint);
}

.step-note {
  font-size: 14px;
  color: var(--orange-light);
  margin-top: 16px;
}

/* ===== Feature showcase (tabs + animações) ===== */
.feature-showcase {
  margin-top: 48px;
}

.feature-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 28px;
  scrollbar-width: thin;
}

.feature-tab {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-light);
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.feature-tab:hover { border-color: var(--purple-600); color: var(--purple-800); }

.feature-tab.is-active {
  background: var(--purple-800);
  border-color: var(--purple-800);
  color: var(--paper);
  font-weight: 600;
}

.feature-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  background: var(--paper-alt);
  border: 1px solid var(--line-light);
  border-radius: 20px;
}

.feature-device {
  width: min(100%, 280px);
  margin: 0 auto;
  transition: width 0.55s ease, transform 0.55s ease;
}

.feature-device-frame {
  background: #141018;
  box-shadow: 0 24px 50px rgba(27, 19, 48, 0.22);
  transition: border-radius 0.55s ease, padding 0.55s ease;
}

.feature-device-screen {
  position: relative;
  background: linear-gradient(180deg, #2a2050, #1b1330);
  overflow: hidden;
  transition: border-radius 0.55s ease, aspect-ratio 0.55s ease;
}

/* iPad */
.feature-device--ipad {
  width: min(100%, 270px);
}

.feature-device--ipad .feature-device-frame {
  border-radius: 20px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-device--ipad .feature-device-screen {
  aspect-ratio: 3 / 4;
  border-radius: 10px;
}

.feature-device--ipad .feature-device-base {
  width: 36px;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: rgba(20, 16, 24, 0.5);
}

/* TV / totem touch */
.feature-device--tv {
  width: min(100%, 400px);
}

.feature-device--tv .feature-device-frame {
  border-radius: 6px;
  padding: 10px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 10px solid #0a0810;
}

.feature-device--tv .feature-device-screen {
  aspect-ratio: 16 / 9;
  border-radius: 2px;
}

.feature-device--tv .feature-device-base {
  width: 42%;
  height: 14px;
  margin: 0 auto;
  background: linear-gradient(180deg, #2a2535, #141018);
  clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%);
}

.feature-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.feature-panel.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.feature-panel[hidden] { display: none !important; }
.feature-panel.is-active { display: flex !important; }

.feature-anim {
  width: 100%;
  height: 100%;
  color: var(--orange-light);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-info { max-width: 420px; }

.feature-index {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin: 0 0 14px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--purple-800);
  margin: 0 0 14px;
  line-height: 1.15;
}

.feature-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

/* Planta — desenho da planta */
.feature-anim--planta svg { width: 88%; max-height: 88%; }

.anim-draw {
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  animation: drawLine 2.4s ease forwards infinite;
}

.anim-draw-delay-1 { animation-delay: 0.35s; }
.anim-draw-delay-2 { animation-delay: 0.7s; }

.anim-pulse {
  animation: softPulse 1.6s ease-in-out infinite;
  transform-origin: center;
}

@keyframes drawLine {
  0% { stroke-dashoffset: 520; }
  45%, 100% { stroke-dashoffset: 0; }
}

@keyframes softPulse {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* Galeria — fotos em ciclo */
.feature-anim--galeria { perspective: 600px; }

.gal-photo {
  position: absolute;
  width: 72%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  animation: galCycle 4s ease-in-out infinite;
}

.gal-photo-a { background: linear-gradient(135deg, #674ea8, #9b8ec4); animation-delay: 0s; }
.gal-photo-b { background: linear-gradient(135deg, #f0611c, #ff8a4c); animation-delay: -1.3s; }
.gal-photo-c { background: linear-gradient(135deg, #4a6d8c, #7aa3c4); animation-delay: -2.6s; }

@keyframes galCycle {
  0%, 100% { transform: translateX(0) scale(0.92); opacity: 0.35; z-index: 1; }
  33% { transform: translateX(8%) scale(1); opacity: 1; z-index: 3; }
  66% { transform: translateX(-8%) scale(0.96); opacity: 0.6; z-index: 2; }
}

/* Vídeo */
.video-frame {
  width: 86%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background: linear-gradient(135deg, #3d2d66, #674ea8);
  position: relative;
  overflow: hidden;
}

.video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.12) 50%, transparent 70%);
  animation: videoShine 2.2s ease-in-out infinite;
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  animation: playPulse 1.8s ease-in-out infinite;
}

.video-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent var(--purple-800);
}

.video-bar {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 10%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.video-bar i {
  display: block;
  height: 100%;
  width: 35%;
  background: var(--orange);
  animation: videoProgress 3s linear infinite;
}

@keyframes videoShine {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@keyframes playPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes videoProgress {
  0% { width: 8%; }
  100% { width: 92%; }
}

/* 3D */
.cube-mini {
  width: 72px;
  height: 72px;
  position: relative;
  transform-style: preserve-3d;
  animation: cubeMiniSpin 5s linear infinite;
}

.cube-mini span {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 220, 176, 0.5);
  background: rgba(103, 78, 168, 0.35);
}

.cube-mini span:nth-child(1) { transform: translateZ(36px); }
.cube-mini span:nth-child(2) { transform: rotateY(180deg) translateZ(36px); }
.cube-mini span:nth-child(3) { transform: rotateY(90deg) translateZ(36px); }
.cube-mini span:nth-child(4) { transform: rotateY(-90deg) translateZ(36px); }
.cube-mini span:nth-child(5) { transform: rotateX(90deg) translateZ(36px); }
.cube-mini span:nth-child(6) { transform: rotateX(-90deg) translateZ(36px); }

@keyframes cubeMiniSpin {
  from { transform: rotateX(-18deg) rotateY(0deg); }
  to { transform: rotateX(-18deg) rotateY(360deg); }
}

/* Localização */
.feature-anim--localizacao { align-items: stretch; }

.map-grid {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

.map-pin {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(240, 97, 28, 0.25);
  animation: pinDrop 2s ease-in-out infinite;
}

.map-pin-a { top: 28%; left: 32%; }
.map-pin-b { top: 52%; left: 58%; animation-delay: 0.4s; background: var(--purple-600); box-shadow: 0 0 0 6px rgba(103, 78, 168, 0.3); }
.map-pin-c { top: 68%; left: 38%; animation-delay: 0.8s; }

@keyframes pinDrop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Diferenciais */
.star-badge {
  font-size: 48px;
  color: var(--orange);
  animation: starSpin 3s ease-in-out infinite;
}

.star-line {
  position: absolute;
  height: 2px;
  background: rgba(255, 220, 176, 0.5);
  border-radius: 1px;
  animation: starReveal 2.4s ease-in-out infinite;
}

.star-line-1 { width: 40%; top: 30%; left: 10%; }
.star-line-2 { width: 50%; top: 50%; right: 8%; animation-delay: 0.3s; }
.star-line-3 { width: 35%; bottom: 28%; left: 20%; animation-delay: 0.6s; }

@keyframes starSpin {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(8deg); }
}

@keyframes starReveal {
  0%, 100% { opacity: 0.2; transform: scaleX(0.6); }
  50% { opacity: 1; transform: scaleX(1); }
}

/* Áreas comuns */
.feature-anim--areas {
  flex-wrap: wrap;
  gap: 10px;
  align-content: center;
  padding: 8%;
}

.area-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--paper);
  opacity: 0;
  animation: chipIn 3.2s ease-in-out infinite;
}

.area-chip-1 { background: rgba(103, 78, 168, 0.55); animation-delay: 0s; }
.area-chip-2 { background: rgba(240, 97, 28, 0.45); animation-delay: 0.4s; }
.area-chip-3 { background: rgba(74, 109, 140, 0.5); animation-delay: 0.8s; }
.area-chip-4 { background: rgba(90, 122, 96, 0.5); animation-delay: 1.2s; }

@keyframes chipIn {
  0%, 15% { opacity: 0; transform: translateY(8px); }
  30%, 70% { opacity: 1; transform: translateY(0); }
  85%, 100% { opacity: 0.3; transform: translateY(-4px); }
}

/* Tipologias */
.feature-anim--tipologias {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 86%;
  height: 70%;
}

.tipo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.5);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.tipo-cell-1 { animation: tipoHighlight 4s ease-in-out infinite 0s; }
.tipo-cell-2 { animation: tipoHighlight 4s ease-in-out infinite 1s; }
.tipo-cell-3 { animation: tipoHighlight 4s ease-in-out infinite 2s; }
.tipo-cell-4 { animation: tipoHighlight 4s ease-in-out infinite 3s; }

@keyframes tipoHighlight {
  0%, 20%, 100% { background: transparent; color: rgba(255,255,255,0.45); transform: scale(1); }
  5%, 15% { background: var(--orange); color: #2a1200; transform: scale(1.04); font-weight: 700; }
}

/* Técnicas */
.feature-anim--tecnicas {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 86%;
}

.spec-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--purple-tint);
  opacity: 0;
  animation: specReveal 3.6s ease-in-out infinite;
}

.spec-row i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.spec-row-1 { animation-delay: 0s; }
.spec-row-2 { animation-delay: 0.3s; }
.spec-row-3 { animation-delay: 0.6s; }
.spec-row-4 { animation-delay: 0.9s; }

@keyframes specReveal {
  0%, 10% { opacity: 0; transform: translateX(-8px); }
  20%, 80% { opacity: 1; transform: translateX(0); }
  90%, 100% { opacity: 0.25; }
}

/* Contatos */
.contact-card {
  width: 78%;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: cardFloat 3s ease-in-out infinite;
}

.contact-avatar {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--purple-600));
  margin-bottom: 14px;
}

.contact-line {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
  margin-bottom: 8px;
}

.contact-line-1 { width: 70%; }
.contact-line-2 { width: 50%; }

.contact-cta {
  display: block;
  margin-top: 14px;
  height: 28px;
  border-radius: 6px;
  background: var(--orange);
  animation: ctaPulse 2s ease-in-out infinite;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes ctaPulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; box-shadow: 0 0 20px rgba(240, 97, 28, 0.4); }
}

/* Institucional */
.doc-sheet {
  position: absolute;
  width: 56%;
  height: 68%;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  animation: docStack 4s ease-in-out infinite;
}

.doc-sheet-1 { transform: rotate(-6deg) translateX(-8%); z-index: 1; }
.doc-sheet-2 { transform: rotate(3deg); z-index: 2; animation-delay: 0.5s; background: rgba(103, 78, 168, 0.35); }
.doc-sheet-3 { transform: rotate(10deg) translateX(8%); z-index: 3; animation-delay: 1s; }

@keyframes docStack {
  0%, 100% { opacity: 0.5; transform: translateY(4px) rotate(var(--r, 0deg)); }
  50% { opacity: 1; transform: translateY(-4px) rotate(var(--r, 0deg)); }
}

@media (prefers-reduced-motion: reduce) {
  .feature-panel { transition: none; }
  .feature-device { transition: none; }
  .feature-device-frame,
  .feature-device-screen { transition: none; }
  .anim-draw, .anim-pulse, .gal-photo, .video-frame::after, .video-play,
  .video-bar i, .cube-mini, .map-pin, .star-badge, .star-line, .area-chip,
  .tipo-cell, .spec-row, .contact-card, .contact-cta, .doc-sheet {
    animation: none !important;
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
    transform: none !important;
  }
}

/* ===== Compare ===== */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.compare-col {
  border: 1px solid var(--purple-line);
  padding: 32px;
  border-radius: 12px;
}

.compare-col-orange { border-color: var(--orange); background: rgba(240, 97, 28, 0.08); }

.compare-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-tint);
  margin: 0 0 20px;
}

.compare-label-orange { color: var(--orange-light); }

.compare-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }

.compare-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; }

.mark { font-weight: 700; flex-shrink: 0; }
.mark-x { color: #8478a0; }
.mark-check { color: var(--orange-light); }

.guarantee-list {
  list-style: none;
  padding: 0;
  margin: 56px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
}

.guarantee-list li {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--orange-light);
  padding-left: 18px;
  position: relative;
}

.guarantee-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--purple-line);
}

/* ===== Audience ===== */
.audience-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.audience-chip {
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--purple-600);
  color: var(--purple-800);
  padding: 12px 20px;
  border-radius: 8px;
}

/* ===== Benefits ===== */
.benefit-list {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line-light);
}

.benefit-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 16px;
}

.benefit-list li:nth-child(odd) { padding-right: 32px; }
.benefit-list li:nth-child(even) { padding-left: 32px; }

.benefit-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--orange);
  flex-shrink: 0;
}

/* ===== CTA band ===== */
.cta-band {
  position: relative;
  background: var(--purple-950);
  color: var(--paper);
  padding: 110px 0;
  overflow: hidden;
  text-align: center;
}

.cta-inner { position: relative; z-index: 1; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }

.cta-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 5vw, 54px);
  line-height: 1.1;
  margin: 0 0 44px;
  overflow-wrap: break-word;
}

.cta-title-orange { color: var(--orange-light); }

/* 3D cube */
.cube-scene {
  position: absolute;
  top: 14%;
  right: 9%;
  width: 120px;
  height: 120px;
  perspective: 800px;
  z-index: 0;
}

.cube {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: cubeSpin 14s linear infinite;
}

.cube-face {
  position: absolute;
  width: 120px;
  height: 120px;
  opacity: 0.88;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 6px;
}

.face-front { transform: translateZ(60px); background: var(--orange); }
.face-back { transform: rotateY(180deg) translateZ(60px); background: var(--purple-600); }
.face-right { transform: rotateY(90deg) translateZ(60px); background: var(--orange-light); }
.face-left { transform: rotateY(-90deg) translateZ(60px); background: var(--purple-800); }
.face-top { transform: rotateX(90deg) translateZ(60px); background: var(--purple-line); }
.face-bottom { transform: rotateX(-90deg) translateZ(60px); background: var(--purple-950); }

@keyframes cubeSpin {
  from { transform: rotateX(0deg) rotateY(0deg); }
  to { transform: rotateX(360deg) rotateY(360deg); }
}

/* ===== Form ===== */
.form { margin-top: 40px; }

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

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--purple-800);
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15.5px;
  padding: 13px 14px;
  border: 1px solid #d3c8e6;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(240, 97, 28, 0.18);
}

.form-status {
  margin-top: 18px;
  font-size: 14.5px;
  font-weight: 500;
  min-height: 20px;
}

.form-status.is-success { color: #4f7d5c; }
.form-status.is-error { color: #a8483a; }

/* ===== Footer ===== */
.footer { background: var(--purple-950); color: var(--purple-tint); padding: 56px 0 36px; }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  border-top: 1px solid var(--purple-line);
  padding-top: 40px;
}

.footer-logo { color: var(--paper); margin: 0 0 8px; }
.footer-tagline { font-size: 14px; margin: 0; }

.footer-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; align-items: center; }
.footer-links a:hover { color: var(--orange-light); }

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.footer-social-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer-copy { font-size: 13px; color: #7a6e96; }

.footer-inner--wide {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 32px;
  align-items: start;
}

.footer-inner--wide .footer-copy {
  grid-column: 1 / -1;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-light);
  margin: 0 0 14px;
}

.footer-col-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.footer-col-links a:hover { color: var(--orange-light); }

/* ===== SEO / inner pages ===== */
.page-hero {
  position: relative;
  background: var(--purple-950);
  color: var(--paper);
  padding: 48px 0 72px;
  overflow: hidden;
}

.page-hero--short { padding-bottom: 56px; }

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.page-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.08;
  margin: 0 0 20px;
}

.page-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--purple-tint);
  margin: 0 0 28px;
  max-width: 680px;
}

.page-hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn-link--on-dark {
  color: var(--paper);
  border-bottom-color: var(--purple-line);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--purple-tint);
  margin-bottom: 22px;
}

.breadcrumbs a:hover { color: var(--orange-light); }
.breadcrumb-sep { opacity: 0.5; }

.h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.2;
  color: var(--purple-800);
  margin: 0 0 16px;
}

.seo-content { display: grid; gap: 40px; }

.seo-block .body-lg { margin: 0 0 14px; }
.seo-block .body-lg:last-child { margin-bottom: 0; }

.seo-list {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.seo-list li + li { margin-top: 8px; }

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.faq-item {
  border: 1px solid var(--line-light);
  border-radius: 10px;
  background: var(--paper);
  padding: 0 18px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 16px 0;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.related-grid,
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.related-card,
.sitemap-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line-light);
  border-radius: 12px;
  background: var(--paper);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.related-card {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.related-card:hover,
.sitemap-card:hover {
  border-color: var(--purple-600);
  box-shadow: 0 10px 24px rgba(46, 33, 81, 0.08);
}

.related-card-label,
.sitemap-card-title {
  font-weight: 600;
  color: var(--purple-800);
  margin: 0;
  font-size: 16px;
}

.sitemap-card-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.related-card-arrow { color: var(--orange); font-weight: 700; }

.html-sitemap-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.html-sitemap-list a {
  color: var(--purple-800);
  font-weight: 500;
}

.html-sitemap-list a:hover { color: var(--orange); }

.cta-band--compact { padding: 80px 0; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .btn-nav { display: none; }
  .nav-toggle { display: flex; }

  .hero-inner {
    min-height: min(84vh, 720px);
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .hero-bg-slide {
    flex-basis: 72vw;
    min-height: min(84vh, 720px);
  }

  .hero-bg-marquee {
    animation-duration: 60s;
  }

  .steps { grid-template-columns: 1fr; gap: 48px; }
  .compare { grid-template-columns: 1fr; }
  .feature-stage { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .benefit-list { grid-template-columns: 1fr; }
  .benefit-list li:nth-child(odd) { padding-right: 0; }
  .benefit-list li:nth-child(even) { padding-left: 0; }
  .cube-scene { display: none; }

  .footer-inner--wide { grid-template-columns: 1fr 1fr; }
  .related-grid,
  .sitemap-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-marquee {
    animation: none;
  }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .section-inner { padding: 0 20px; }
  .nav-inner { padding: 16px 20px; }
}
