@theme {
  --color-bg: #fafaf9;
  --color-bg-deep: #f5f0eb;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-text-secondary: #444;
  --color-text-muted: #888;
  --color-accent-1: #ee4d2d;
  --color-accent-2: #ff8c42;
  --color-accent-3: #ffd166;
  --color-glass-bg: rgba(255, 255, 255, 0.92);
  --color-glass-border: rgba(0, 0, 0, 0.07);
  --color-vignette: rgba(0, 0, 0, 0.04);
  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-body: "Inter", sans-serif;
}

:root {
  --color-bg: #fafaf9;
  --color-text: #1a1a1a;
  --glow-color-rgb: 238, 77, 45;
}

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

html,
body {
  background: #fafaf9;
  margin: 0;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}

body {
  font-family: "Inter", sans-serif;
  color: #1a1a1a;
}

.deck {
  width: 100vw;
  height: 100vh;
  position: relative;
}

.slide > .content {
  transform: scale(var(--content-scale, 1));
  transform-origin: center center;
  transition: transform 0.2s ease;
}

.mobile-warning {
  display: none;
}

/* ═══════════════════════════════════════════════════
   MOBILE — Scroll vertical (cada slide vira seção)
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  html, body {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
    width: 100% !important;
  }

  .deck {
    width: 100% !important;
    height: auto !important;
    position: static !important;
    display: block !important;
  }

  .slide {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100vw !important;
    height: auto !important;
    min-height: auto !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: all !important;
    padding: 3rem 1.25rem !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    display: block !important;
  }

  .slide > .content {
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  /* Todos os grids viram coluna única */
  .slide [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* Esconde elementos da apresentação ao vivo */
  .nav-controls,
  .progress-bar,
  .mouse-spotlight,
  .particle-canvas,
  .gradient-mesh,
  .blob {
    display: none !important;
  }

  /* Garante que tudo apareça (sem animação reveal) */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Títulos mobile-friendly */
  .h1 {
    font-size: clamp(1.8rem, 7vw, 2.6rem) !important;
    line-height: 1.15 !important;
    white-space: normal !important;
  }
  .h2 {
    font-size: clamp(1.5rem, 6.5vw, 2.2rem) !important;
    line-height: 1.2 !important;
  }
  .h3 {
    font-size: 1.05rem !important;
  }

  /* Imagens responsivas, sem transform de escala */
  .slide img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Logos pequenos de marketplaces (Shopee, ML, Amazon) ficam contidos */
  .slide div[style*="height: 40px"] {
    height: 44px !important;
  }
  .slide div[style*="height: 40px"] img {
    height: 100% !important;
    width: auto !important;
    max-height: 44px !important;
    max-width: 80px !important;
    object-fit: contain !important;
  }

  .slide > .content > div[style*="transform: scale"] {
    transform: none !important;
    margin: 0 !important;
  }

  /* Mascotes absolutos viram inline e centralizam (exceto slide 1 — hero) */
  .slide:not([data-slide="1"]) .absolute {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 1rem auto !important;
    max-width: 180px !important;
    width: auto !important;
  }

  /* Hero da capa: versão menor abaixo do texto */
  .slide[data-slide="1"] [class*="h-[350px]"] {
    height: 320px !important;
    margin: 5rem auto 0 !important;
    max-width: 380px !important;
    transform: none !important;
  }
  .slide[data-slide="1"] [class*="max-w-[420px]"] {
    max-width: 300px !important;
  }

  /* Bolhas flutuantes do hero */
  .slide[data-slide="1"] [class*="animate-float-icon"] {
    width: 60px !important;
  }
  .slide[data-slide="1"] [class*="animate-float-icon-1"]:not([style*="left: 50%"]) {
    width: 55px !important;
  }

  /* Hero (slide 1) — centraliza tudo no mobile */
  .slide[data-slide="1"] > .content > div[style*="text-align: left"] {
    text-align: center !important;
  }
  .slide[data-slide="1"] > .content [style*="border-right"] {
    border-right: none !important;
    padding-right: 0 !important;
  }
  .slide[data-slide="1"] > .content [style*="text-align: left"] p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .slide[data-slide="1"] > .content > div:first-child > p:nth-child(3) {
    max-width: 100% !important;
  }

  /* Slide 14 — reduz espaço entre logo e título */
  .slide[data-slide="14"] > .content > div[style*="margin-bottom: 2.5rem"] {
    margin-bottom: 0.75rem !important;
  }
  .slide[data-slide="14"] > .content > div[style*="margin-bottom: 2.5rem"] img {
    height: 70px !important;
  }

  /* Slide 14 — stats finais empilham e esconde 1 mascote */
  .slide[data-slide="14"] [style*="display: flex"][style*="justify-content: center"] > div[style*="padding: 0 2.5rem"] {
    padding: 0.5rem 1rem !important;
  }
  .slide[data-slide="14"] [style*="display: flex"][style*="justify-content: center"] {
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
  }
  .slide[data-slide="14"] .absolute:nth-of-type(2) {
    display: none !important;
  }
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fafaf9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.95);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
  pointer-events: none;
  overflow: hidden;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: all;
}

.slide > .content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  padding: clamp(1.2rem, 3.5vw, 3rem);
}

.nav-controls {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  padding: 9px 22px;
  border-radius: 40px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  opacity: 1;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.nav-controls.nav-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
}

.nav-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(238, 77, 45, 0.08);
  color: #ee4d2d;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.nav-btn:hover {
  background: rgba(238, 77, 45, 0.18);
}

.slide-dots {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  max-width: 220px;
  justify-content: center;
}

.slide-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.3s;
}

.slide-dots .dot.active {
  background: #ee4d2d;
  transform: scale(1.3);
}

.slide-counter {
  font-size: 0.78rem;
  color: #888;
  min-width: 38px;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

@keyframes float-slow {
  0% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(55px, -45px) scale(1.1);
  }

  50% {
    transform: translate(-38px, 38px) scale(0.9);
  }

  75% {
    transform: translate(48px, 18px) scale(1.07);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes float-drift {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(-48px, -55px) rotate(3deg);
  }

  66% {
    transform: translate(38px, 28px) rotate(-2deg);
  }

  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-11px);
  }
}

.gradient-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float-slow 13s ease-in-out infinite;
}

.blob:nth-child(2) {
  animation: float-drift 17s ease-in-out infinite;
}

.blob:nth-child(3) {
  animation: float-slow 21s ease-in-out infinite reverse;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    transparent 60%,
    rgba(0, 0, 0, 0.025) 100%
  );
}

/* Design tokens */
.og {
  background: linear-gradient(135deg, #ee4d2d, #ff8c42);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.og-rev {
  background: linear-gradient(135deg, #ff8c42, #ee4d2d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(238, 77, 45, 0.1);
}

.pill {
  display: inline-block;
  background: linear-gradient(135deg, #ee4d2d, #ff8c42);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 99px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pill-soft {
  display: inline-block;
  background: rgba(238, 77, 45, 0.1);
  color: #ee4d2d;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 99px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: #ee4d2d;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.35rem;
}

.h1 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
}

.h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.9rem;
}

.h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
}

.body {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.65;
  margin: 0;
}

.stat {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  background: linear-gradient(135deg, #ee4d2d, #ff8c42);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.btn {
  background: linear-gradient(135deg, #ee4d2d, #ff8c42);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 99px;
  font-weight: 800;
  font-size: 0.95rem;
  display: inline-block;
  box-shadow: 0 8px 24px rgba(238, 77, 45, 0.28);
}

.btn-out {
  border: 2px solid #ee4d2d;
  color: #ee4d2d;
  padding: 0.7rem 1.8rem;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-block;
}

.dor {
  background: #fff5f3;
  border-left: 4px solid #ee4d2d;
  border-radius: 0 10px 10px 0;
  padding: 0.85rem 1rem;
}

.sol {
  background: #f0fdf4;
  border-left: 4px solid #22c55e;
  border-radius: 0 10px 10px 0;
  padding: 0.85rem 1rem;
}

.dor-l {
  font-size: 0.65rem;
  font-weight: 700;
  color: #ee4d2d;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  display: block;
  margin-bottom: 0.25rem;
}

.sol-l {
  font-size: 0.65rem;
  font-weight: 700;
  color: #16a34a;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  display: block;
  margin-bottom: 0.25rem;
}

.divider-slide {
  background: linear-gradient(
    135deg,
    #ee4d2d 0%,
    #ff6b2b 50%,
    #ff8c42 100%
  ) !important;
}

.divider-slide::after {
  background: radial-gradient(
    ellipse at center,
    transparent 50%,
    rgba(0, 0, 0, 0.12) 100%
  ) !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.2s !important;
  }
}


/* Floating Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
@keyframes float-side {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(5px, -10px); }
}
.animate-float-icon-1 { animation: float 4.2s ease-in-out infinite; animation-delay: 0.2s; }
.animate-float-icon-2 { animation: float 3.8s ease-in-out infinite; animation-delay: 0.5s; }
.animate-float-icon-3 { animation: float 4.5s ease-in-out infinite; animation-delay: 0.1s; }
.animate-float-icon-5 { animation: float 4s ease-in-out infinite; animation-delay: 0.3s; }

/* Progress bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 6px;
  width: 0%;
  background: linear-gradient(90deg, #ee4d2d, #ff8c42, #ffd166);
  z-index: 200;
  border-radius: 0 4px 4px 0;
  transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(238, 77, 45, 0.6);
}

/* CTA pulse */
@keyframes cta-pulse {
  0%, 100% {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(255, 255, 255, 0.55);
  }
  55% {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2), 0 0 0 16px rgba(255, 255, 255, 0);
  }
}

.cta-pulse {
  animation: cta-pulse 2.6s ease-in-out infinite;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.cta-pulse:hover {
  transform: scale(1.05) !important;
}
