/* =====================================================
   LIQUID GLASS DESIGN SYSTEM
   Landing Page — Rodrigo Gonzaga
   ===================================================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

section {
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
}

/* === LOADER === */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #050509;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s, visibility .6s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #ff6b2b, #ffb347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: loader-pulse 1.2s ease-in-out infinite;
}

@keyframes loader-pulse {

  0%,
  100% {
    opacity: .4;
    transform: scale(.95)
  }

  50% {
    opacity: 1;
    transform: scale(1)
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: #050509;
  color: #f0f0f8;
  line-height: 1.6;
  width: 100%;
  max-width: 100vw;
  overflow-x: clip;
  position: relative;
}

:root {
  --bg: #050509;
  --text: #f0f0f8;
  --text2: #9090a8;
  --text3: #606078;
  --accent: #ff6b2b;
  --accent2: #ff8f55;
  --accent-glow: rgba(255, 107, 43, 0.35);
  --accent-soft: rgba(255, 107, 43, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-bg2: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-border2: rgba(255, 255, 255, 0.13);
  --glass-blur: 22px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 100px;
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --section-py: clamp(80px, 12vw, 140px);
  --max-w: 1180px;
  --px: clamp(20px, 5vw, 40px);
}

/* === UTILITY === */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

/* === BG ORBS === */
.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  animation: orb-float 22s infinite ease-in-out;
}

/* === GRID BACKGROUND === */
.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  opacity: 0.13;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #6366f1 0%, transparent 70%);
  bottom: 30%;
  left: -250px;
  animation-delay: -8s;
  opacity: 0.08;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #f59e0b 0%, transparent 70%);
  bottom: -100px;
  right: 20%;
  animation-delay: -15s;
  opacity: 0.09;
}

@keyframes orb-float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -25px) scale(1.04);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.96);
  }
}

/* === GLASS PANEL === */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(170%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(170%);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 8px 32px rgba(0, 0, 0, 0.25);
  position: relative;
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--spring), box-shadow .4s var(--ease);
}

.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  opacity: 0.025;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 100px;
}

.glass::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.05), transparent 40%);
  transition: opacity .3s ease;
}

.glass:hover::after {
  opacity: 1;
}

.glass:hover {
  background: var(--glass-bg2);
  border-color: var(--glass-border2);
}

.glass-lift:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.2), 0 16px 48px rgba(0, 0, 0, 0.35);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 28px;
  /* Adjusted padding based on image */
  border: none;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 0.85rem;
  /* Slightly smaller for elegance */
  font-weight: 500;
  letter-spacing: 0.08em;
  /* Wider spacing */
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: rgba(255, 107, 43, 0.1);
  border: 1px solid var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 107, 43, 0.7);
  animation: elegant-pulse 2s infinite;
}

.btn-primary:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

@keyframes elegant-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 43, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 107, 43, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 43, 0);
  }
}

.btn-lg {
  padding: 18px 38px;
  font-size: 1.05rem;
}

/* === CHIP === */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  font-size: .82rem;
  font-weight: 500;
  color: var(--text2);
  white-space: nowrap;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .5;
    transform: scale(.8)
  }
}

/* === SECTION TYPO === */
h1,
h2,
h3,
h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -.02em;
}

h1 {
  line-height: 1.15;
}

h2 {
  line-height: 1.2;
}

h3,
h4 {
  line-height: 1.25;
}

.s-label {
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

.s-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 18px;
}

.s-sub {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: var(--text2);
  max-width: 580px;
  line-height: 1.7;
}

.s-header {
  text-align: center;
  margin-bottom: 48px;
}

.s-header .s-sub {
  margin: 0 auto;
}

.text-grad {
  background: linear-gradient(135deg, var(--accent), #ffb347, var(--accent));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: grad-shift 5s ease-in-out infinite;
}

@keyframes grad-shift {

  0%,
  100% {
    background-position: 0% 50%
  }

  50% {
    background-position: 100% 50%
  }
}

/* === NAV === */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 28px);
  max-width: var(--max-w);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 22px;
  background: rgba(8, 8, 16, 0.55);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--r-xl);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 4px 24px rgba(0, 0, 0, 0.4);
  transition: background .4s, border-color .4s;
}

.nav.scrolled .nav-inner {
  background: rgba(8, 8, 16, 0.85);
  border-color: rgba(255, 255, 255, 0.1);
}

.nav-logo {
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
}

.nav-logo span {
  background: linear-gradient(135deg, var(--accent), #ffb347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  color: var(--text2);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  transition: all .2s;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
  font-size: .82rem !important;
  padding: 10px 18px !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === MOBILE MENU === */
.mob-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 9, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transition: all .4s var(--ease);
}

.mob-menu.active {
  opacity: 1;
  visibility: visible;
}

.mob-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 48px;
}

.mob-menu a {
  color: var(--text);
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
}

.mob-menu a:hover {
  color: var(--accent);
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 110px 0 60px;
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
}

.hero-sub {
  font-size: 1.05rem;
  color: #b0b0c8;
  line-height: 1.75;
  max-width: 500px;
}

.hero-sub strong {
  color: var(--text);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .9rem;
  color: var(--text);
  font-weight: 500;
}

.hero-trust svg {
  color: #22c55e;
  flex-shrink: 0;
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  transform: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text3);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: scroll-bounce 2s infinite;
}

.scroll-hint-line {
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.separator-hint {
  position: absolute;
  bottom: -25px;
  left: 0;
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text3);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: scroll-bounce 2s infinite;
  z-index: 10;
}

.pains {
  position: relative;
}

.separator-hint .line {
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

@keyframes scroll-bounce {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(8px)
  }
}

.vid-ph {
  aspect-ratio: 9/16;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 107, 43, 0.05), rgba(99, 102, 241, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  margin: 0 auto;
}

.hero-video iframe {
  aspect-ratio: 16/9;
  width: 100%;
  height: 100%;
  border-radius: var(--r-lg);
}

.vid-ph-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 3;
  position: relative;
}

.play-btn {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  transition: all .4s var(--spring);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.vid-ph:hover .play-btn {
  transform: scale(1.12);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
}

.vid-label {
  font-size: .82rem;
  color: var(--text3);
  font-weight: 500;
}

/* === PAINS === */
.pains {
  padding: var(--section-py) 0;
  position: relative;
  z-index: 1;
}

.pains-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pain-card {
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.sol-card {
  padding: 28px;
}

.pain-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}

.pain-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.pain-card p {
  font-size: .88rem;
  color: var(--text2);
  line-height: 1.6;
}

/* === STACKED CARDS EFFECT (MOBILE) === */
@media (max-width: 768px) {
  .pains {
    padding: 40px 0 20px;
    overflow: visible;
  }

  .pains-grid.pains-compact {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: 20px;
  }

  .pains-compact .pain-card {
    position: sticky;
    background: rgba(10, 10, 20, 0.95);
    /* fundo sólido obrigatório */
    backdrop-filter: blur(22px);
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    margin-bottom: -60px;
    /* sobreposição entre cards */
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* CORREÇÃO DO BUG DE ENCAVALAMENTO */
  .pains-compact .pain-card:last-child {
    margin-bottom: 0 !important;
  }

  .pains-compact .pain-card:nth-child(1) {
    top: 80px;
    z-index: 1;
  }

  .pains-compact .pain-card:nth-child(2) {
    top: 100px;
    z-index: 2;
  }

  .pains-compact .pain-card:nth-child(3) {
    top: 120px;
    z-index: 3;
  }

  .pains-compact .pain-card:nth-child(4) {
    top: 140px;
    z-index: 4;
  }

  .pains-compact .pain-card:last-child {
    margin-bottom: 0;
  }

  /* === STACKED CARDS — SOLUÇÃO === */
  .solution {
    overflow: visible;
  }

  .sol-grid.sol-compact {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: 20px;
  }

  .sol-compact .sol-card {
    position: sticky;
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    margin-bottom: -60px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    text-align: left;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 220px;
  }

  .sol-compact .sol-card:nth-child(1) {
    top: 80px;
    z-index: 1;
  }

  .sol-compact .sol-card:nth-child(2) {
    top: 100px;
    z-index: 2;
  }

  .sol-compact .sol-card:nth-child(3) {
    top: 120px;
    z-index: 3;
  }

  .sol-compact .sol-card:nth-child(4) {
    top: 140px;
    z-index: 4;
  }

  .sol-compact .sol-card:last-child {
    margin-bottom: 0 !important;
  }
}

/* === SOLUTION === */
.solution {
  padding: var(--section-py) 0;
  position: relative;
  z-index: 1;
}

.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sol-card {
  padding: 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.sol-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-soft), rgba(255, 179, 71, 0.08));
  color: var(--accent);
  font-size: 1.4rem;
}

.sol-card h3 {
  font-size: 1rem;
}

.sol-card p {
  font-size: .88rem;
  color: var(--text2);
  line-height: 1.6;
}

/* === RESULTS === */
.results {
  padding: var(--section-py) 0;
  position: relative;
  z-index: 1;
}

.res-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.res-card {
  padding: 32px 20px;
  text-align: center;
}

.res-num {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), #ffb347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

/* === NEW ANIMATIONS === */
/* Reveal animations handled in unified block below */

/* === PAINS COMPACT === */
.pains-compact .pain-card {
  padding: 22px 22px 80px 22px;
  gap: 14px;
}

.pains-compact .pain-card h3 {
  font-size: 1rem;
}

.pains-compact .pain-card p {
  font-size: 0.85rem;
}

/* Pains compact mobile overrides removed — stacked cards effect handles mobile layout */

/* === SOLUTION COMPACT === */
.sol-grid.sol-compact {
  gap: 14px;
}

.sol-compact .sol-card {
  padding: 22px 22px 80px 22px;
  gap: 14px;
}

.sol-compact .sol-card h3 {
  font-size: 1rem;
}

.sol-compact .sol-card p {
  font-size: 0.85rem;
}

.sol-compact .sol-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
}

/* === HERO TRUST CARDS === */
.hero-trust-cards {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}

.hero-trust-cards span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text2);
  transition: all 0.3s;
}

.hero-trust-cards span:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  transform: translateY(-2px);
}

.hero-trust-cards svg {
  color: var(--accent);
}

.res-num.counting {
  opacity: 1;
}

.res-label {
  font-size: .88rem;
  color: var(--text2);
}

/* === TESTIMONIALS === */
.testimonials {
  padding: var(--section-py) 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* === TESTIMONIALS SLIDER (UNIFICADO) === */
.testimonials-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 20px 30px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
  margin: 0 -20px;
}

.testimonials-slider::-webkit-scrollbar {
  display: none;
}

.video-container {
  width: 280px;
  min-width: 280px;
  max-width: 85vw;
  flex: 0 0 280px;
  aspect-ratio: 9/16;
  scroll-snap-align: center;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.vid-ph {
  width: 280px;
  min-width: 280px;
  max-width: 85vw;
  flex: 0 0 280px;
  aspect-ratio: 9/16;
  scroll-snap-align: center;
}

/* Desktop grid override removed to keep carousel on all screens */

.test-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

/* === MID-PAGE CTA BANNER === */
.cta-banner {
  padding: 30px 0;
  position: relative;
  z-index: 1;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 36px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(255, 107, 43, 0.08), rgba(255, 179, 71, 0.04));
  border: 1px solid rgba(255, 107, 43, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.cta-banner-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.cta-banner-text span {
  color: var(--text2);
  font-weight: 400;
  display: block;
  font-size: .9rem;
  margin-top: 4px;
}

@media(max-width:768px) {
  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
    padding: 24px;
    gap: 16px;
  }
}

/* === FINAL CTA === */
.final-cta {
  padding: var(--section-py) 0;
  position: relative;
  z-index: 1;
}

/* === SECTION DIVIDER === */
.section-divider {
  width: 60px;
  height: 3px;
  margin: 0 auto;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.4;
}

/* === ABOUT === */
.about {
  padding: var(--section-py) 0;
  position: relative;
  z-index: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: center;
}

.about-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 30px;
  max-width: 100%;
  overflow: hidden;
}

.about-avatar {
  width: 400px;
  height: 400px;
  max-width: 100%;
  max-height: 100%;
  border-radius: 20px;
  object-fit: cover;
  object-position: top;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: block;
  position: relative;
  z-index: 3;
  box-shadow: 0 0 40px var(--accent-glow), 0 0 80px rgba(255, 107, 43, 0.15);
  animation: avatar-glow 3s ease-in-out infinite;
}

@keyframes avatar-glow {

  0%,
  100% {
    box-shadow: 0 0 40px var(--accent-glow), 0 0 80px rgba(255, 107, 43, 0.15)
  }

  50% {
    box-shadow: 0 0 50px var(--accent-glow), 0 0 100px rgba(255, 107, 43, 0.2)
  }
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-content h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.about-content p {
  color: var(--text2);
  line-height: 1.8;
  font-size: .95rem;
}

.about-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.about-badges .chip {
  font-size: .8rem;
}

/* === PROCESS === */
.process {
  padding: var(--section-py) 0;
  position: relative;
  z-index: 1;
}

.proc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
}

.step {
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  box-shadow: 0 0 20px var(--accent-glow);
}

.step h3 {
  font-size: 1.05rem;
}

.step p {
  font-size: .88rem;
  color: var(--text2);
  line-height: 1.6;
}

/* === FAQ === */
.faq {
  padding: var(--section-py) 0;
  position: relative;
  z-index: 1;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  gap: 14px;
}

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
  font-size: 1.1rem;
  transition: transform .3s var(--ease);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}

.faq-a-inner {
  padding: 0 22px 18px;
  color: var(--text2);
  line-height: 1.7;
  font-size: .9rem;
}

.faq-item.active .faq-a {
  max-height: 300px;
}

/* === FINAL CTA === */
.final-cta {
  padding: var(--section-py) 0;
  position: relative;
  z-index: 1;
}

.cta-card {
  padding: clamp(44px, 8vw, 76px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  background: linear-gradient(135deg, rgba(255, 107, 43, 0.06), rgba(255, 179, 71, 0.03));
  border-color: rgba(255, 107, 43, 0.12) !important;
}

.cta-card h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.cta-card p {
  color: var(--text2);
  font-size: 1.05rem;
  max-width: 540px;
  line-height: 1.7;
}

/* === FOOTER === */
.footer {
  padding: 28px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 1;
}

.footer p {
  font-size: .82rem;
  color: var(--text3);
}

/* === WHATSAPP FLOAT === */
.wpp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all .3s var(--spring);
  animation: wpp-pulse 2.5s infinite;
}

.wpp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

@keyframes wpp-pulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4)
  }

  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.15)
  }
}

/* === REVEAL ANIMATION === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.reveal-left {
  transform: translateX(-50px);
}

.reveal.reveal-right {
  transform: translateX(50px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

.reveal-delay-1 {
  transition-delay: .1s;
}

.reveal-delay-2 {
  transition-delay: .2s;
}

.reveal-delay-3 {
  transition-delay: .3s;
}

.reveal-delay-4 {
  transition-delay: .4s;
}

/* === RESPONSIVE === */
@media(max-width:1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-sub {
    max-width: 600px;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-video {
    max-width: 600px;
    margin: 0 auto;
  }

  .sol-grid {
    grid-template-columns: 1fr 1fr;
  }

  .res-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-content {
    align-items: center;
  }

  .about-badges {
    justify-content: center;
  }
}

@media(max-width:768px) {

  :root {
    --section-py: clamp(60px, 10vw, 100px);
  }

  .s-header {
    margin-bottom: 36px;
  }

  .nav-links,
  .nav-cta {
    display: none !important;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 90px 0 20px;
  }

  .hero-video {
    margin-top: 14px;
  }

  .vid-ph {
    max-height: 55vh;
  }

  .pains-grid {
    grid-template-columns: 1fr;
  }

  .sol-grid {
    grid-template-columns: 1fr;
  }

  .res-grid {
    grid-template-columns: 1fr 1fr;
  }

  .test-grid {
    grid-template-columns: 1fr;
  }

  .test-row2 {
    grid-template-columns: 1fr;
  }

  .proc-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  /* FIX: Permitir quebra de linha no mobile */
  .chip {
    white-space: normal;
  }

  .scarcity-badge {
    white-space: normal;
    text-align: center;
  }

  .pain-card,
  .sol-card {
    padding: 22px;
  }

  .solution {
    padding: 40px 0 20px;
  }

  .about {
    padding: 40px 0;
  }

  .testimonials {
    padding: 40px 0;
  }

  .final-cta {
    padding: 40px 0;
  }

  /* CORREÇÃO DO BUG DE ENCAVALAMENTO */
  .pains-compact .pain-card:last-child {
    margin-bottom: 0 !important;
  }

  .sol-compact .sol-card:last-child {
    margin-bottom: 0 !important;
  }
}

@media(max-width:480px) {
  .res-grid {
    grid-template-columns: 1fr;
  }

  .hero-trust {
    flex-direction: column;
    gap: 10px;
  }
}

/* === NOVO LAYOUT DEPOIMENTOS (CARROSSEL) === */
.testimonials-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 4px 30px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
  display: none;
}

.testimonials-slider .vid-ph {
  min-width: 280px;
  width: 280px;
  max-width: 85vw;
  flex-shrink: 0;
  scroll-snap-align: center;
  margin: 0;
}

@media (min-width: 769px) {
  .testimonials-slider {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .testimonials-slider .vid-ph {
    width: 300px;
  }
}

/* === ELEMENTOS DE ESCASSEZ (REFINED PULSING) === */
.scarcity-text-hero {
  color: #ff6b2b;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 12px;
  letter-spacing: 0.5px;
  animation: pulse-text 1.5s infinite ease-in-out;
  display: block;
  text-transform: uppercase;
}

/* Ajuste específico para o botão do Hero no mobile */
@media(max-width:768px) {
  .hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-cta .btn {
    max-width: 100%;
    width: auto;
    white-space: normal;
    height: auto;
    padding: 16px 20px;
    line-height: 1.3;
    text-align: center;
  }
}

.scarcity-badge {
  background: rgba(255, 59, 48, 0.15);
  color: #ff453a;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 59, 48, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Animação Pulsante (Coração/Alerta) */
@keyframes pulse-text {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
    text-shadow: 0 0 12px rgba(255, 107, 43, 0.8);
  }

  100% {
    opacity: 0.7;
    transform: scale(1);
  }
}

/* Testimonials Slider responsive refinements removed here as they are now consolidated in the main section */