/* ==========================================================================
   SARAIVA.AI — Premium Dark Landing Page
   Awwwards-level CSS. Zero dead code. Every class maps to index.html.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design System Variables
   -------------------------------------------------------------------------- */
:root {
  --bg: #0D0D0D;
  --bg-alt: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1a1a1a;
  --text: #F5F5F3;
  --text-dim: rgba(245, 245, 243, 0.6);
  --text-muted: rgba(245, 245, 243, 0.3);
  --accent: #B8FF3D;
  --accent-dim: rgba(184, 255, 61, 0.15);
  --accent-glow: rgba(184, 255, 61, 0.25);
  --accent-dark: rgba(184, 255, 61, 0.06);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
  --max-w: 1200px;
  --pad: 64px;
  --section-pad: 160px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 8px;
  --radius-lg: 16px;
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html.lenis {
  scroll-behavior: initial;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, .hero__title, .section__title, .nav__logo {
  font-family: var(--font-display);
}

.noise-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

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

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

ul, ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  color: inherit;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.text-accent {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   3. Preloader
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s var(--ease-smooth), visibility 0.4s;
}

.preloader__bar {
  width: 200px;
  height: 2px;
  background: var(--bg-card);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.preloader__bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform-origin: left;
  animation: preloader-fill 1.2s var(--ease) forwards;
}

@keyframes preloader-fill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.preloader.done {
  opacity: 0;
  visibility: hidden;
}

/* --------------------------------------------------------------------------
   4. Custom Cursor (desktop only)
   -------------------------------------------------------------------------- */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: difference;
  will-change: transform;
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), opacity 0.3s;
  will-change: transform;
  opacity: 0.5;
}

.cursor-ring.active {
  width: 60px;
  height: 60px;
  opacity: 0.3;
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   5. Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  transition: padding 0.4s var(--ease), background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(13, 13, 13, 0.85);
  border-bottom-color: var(--border);
  padding: 16px 0;
}

.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.nav__logo {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav__links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav__link {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  transition: color 0.3s;
  position: relative;
  font-weight: 500;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}

.nav__link:hover {
  color: var(--text);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 10px 24px;
  border-radius: var(--radius);
  transition: background 0.3s, color 0.3s;
  background: transparent;
}

.nav__cta:hover {
  background: var(--accent);
  color: var(--bg);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s;
  transform-origin: center;
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. Mobile Menu
   -------------------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-smooth), visibility 0.4s;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-menu__link {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.3s;
}

.mobile-menu__link:hover {
  color: var(--accent);
}

.mobile-menu.open .mobile-menu__link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.open .mobile-menu__link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-menu__link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.open .mobile-menu__link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-menu__link:nth-child(4) { transition-delay: 0.25s; }

.mobile-menu__cta {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.mobile-menu.open .mobile-menu__cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}

/* --------------------------------------------------------------------------
   7. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 40px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 60%
  );
  transition: left 0.6s var(--ease);
}

.btn:hover::before {
  left: 100%;
}

.btn--primary {
  background: var(--accent);
  color: var(--bg);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(184, 255, 61, 0.25);
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--border-hover);
  color: var(--text-dim);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--accent);
  color: var(--text);
}

.btn--sm {
  padding: 10px 24px;
}

.btn--lg {
  padding: 22px 52px;
  font-size: 15px;
  font-weight: 700;
}

.btn--lg:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(184, 255, 61, 0.3);
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 60% at 50% 50%,
    transparent 0%,
    var(--bg) 100%
  );
  z-index: 1;
}

.hero__grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.4;
}

.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__particles span {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: dot-pulse 4s ease-in-out infinite;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  min-height: 100vh;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__tag {
  display: inline-block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 32px;
  font-weight: 600;
  font-family: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
}

.hero__title {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.hero__title .line {
  display: block;
  overflow: hidden;
}

.hero__title .accent {
  color: var(--accent);
}

.hero__line {
  width: 0;
  height: 2px;
  background: var(--accent);
  margin: 28px 0;
  transition: width 1s var(--ease);
}

.hero__line.visible {
  width: 120px;
}

.hero__subtitle {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 480px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  margin-top: 48px;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__glow {
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 255, 61, 0.3) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}

.hero__img {
  position: relative;
  z-index: 1;
  height: 110vh;
  max-height: none;
  width: auto;
  object-fit: contain;
  transform: scale(1.15) translateY(2%);
  transform-origin: bottom center;
  filter: drop-shadow(0 30px 80px rgba(0, 0, 0, 0.7));
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 95%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 95%, transparent 100%);
}

.hero__shadow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.6) 0%, transparent 70%);
  filter: blur(20px);
  z-index: 0;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  gap: 8px;
  font-weight: 500;
  animation: float 3s ease-in-out infinite;
  z-index: 3;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

/* --------------------------------------------------------------------------
   9. Marquee
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.marquee__track {
  display: flex;
  animation: marquee-scroll 30s linear infinite;
  will-change: transform;
}

.marquee__content {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 48px;
  align-items: center;
}

.marquee__item {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.marquee__dot {
  color: var(--accent);
  font-size: 10px;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   10. Section Base
   -------------------------------------------------------------------------- */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section--flush-bottom {
  padding-bottom: 0;
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
}

.section__title {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 32px;
}

.section__desc {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 20px;
}

.section__desc--highlight {
  color: var(--text);
  font-weight: 500;
  font-size: 19px;
}

/* --------------------------------------------------------------------------
   11. Split Layout
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center; /* keep text centered in available row space */
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

.split__image {
  position: relative;
  display: flex;
  align-items: center; /* Center the massive canvas */
  justify-content: center;
  align-self: center;
}

.split__image-wrapper {
  position: relative;
  display: flex;
  align-items: center; 
  justify-content: center;
  width: 100%;
}

.split__glow {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-dark) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.split__glow--burst {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(100px);
}

.split__img {
  height: 100vh;
  max-height: none;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transform: scale(1.15) translateY(4%);
  transform-origin: center;
  filter: drop-shadow(0 30px 80px rgba(0, 0, 0, 0.6));
  z-index: 1;
  position: relative;
}

.split__content {
  padding: 56px 48px;
  background: rgba(18, 18, 18, 0.65);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 5;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  margin-left: -100px;
}

.split--reverse .split__content {
  margin-left: 0;
  margin-right: -100px;
}

/* --------------------------------------------------------------------------
   12. Symptom Cards (Problema section)
   -------------------------------------------------------------------------- */
.symptom-tags {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 40px;
}

.symptom-card {
  padding: 18px 24px;
  background: rgba(184, 255, 61, 0.03);
  border: 1px solid rgba(184, 255, 61, 0.1);
  border-radius: var(--radius);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.4s var(--ease);
  position: relative;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.symptom-card:hover {
  border-color: rgba(184, 255, 61, 0.3);
  background: rgba(184, 255, 61, 0.08);
  color: var(--text);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(184, 255, 61, 0.1);
}

.symptom-card .iconify {
  color: var(--accent);
  font-size: 18px;
  flex-shrink: 0;
}

/* Desktop connecting lines */
@media (min-width: 769px) {
  .symptom-card::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 50%;
    width: 24px;
    height: 1px;
    background: var(--accent);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.8s var(--ease), opacity 0.5s;
  }
  .symptom-card.connected::before {
    transform: scaleX(1);
    opacity: 0.15;
  }
}

/* --------------------------------------------------------------------------
   13. Method Cards (Metodo section)
   -------------------------------------------------------------------------- */
.metodo__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.metodo__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 48px 36px;
  border-radius: var(--radius-lg);
  transition: transform 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s;
  position: relative;
  overflow: hidden;
}

.metodo__card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.metodo__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  display: block;
}

.metodo__num {
  font-size: 56px;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 20px;
  line-height: 1;
  display: block;
}

.metodo__card-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.metodo__card-desc {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* glass-card effect */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* --------------------------------------------------------------------------
   14. Course Section (Curso)
   -------------------------------------------------------------------------- */
.section--curso {
  background: var(--bg-alt);
}

.curso__pointer-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.scroll-canvas {
  height: 100vh;
  max-height: none;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transform: scale(1.15) translateY(4%);
  transform-origin: center;
  filter: drop-shadow(0 30px 80px rgba(0, 0, 0, 0.6));
  z-index: 1;
  position: relative;
}

.curso__pointer-path {
  opacity: 0;
}

.curso__pricing {
  margin: 40px 0 28px;
}

.curso__price-main {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.curso__currency {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.curso__value {
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
}

.curso__period {
  display: block;
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 4px;
}

.curso__installment {
  display: block;
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 8px;
}

.curso__guarantee {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid var(--accent-dim);
  border-radius: var(--radius);
  background: var(--accent-dark);
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 500;
  margin-bottom: 40px;
}

.curso__guarantee .iconify {
  color: var(--accent);
  font-size: 20px;
  flex-shrink: 0;
}

.curso__cta {
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   15. CTA Button Wrapper with Pulse Rings
   -------------------------------------------------------------------------- */
.cta__btn-wrapper {
  position: relative;
  display: inline-flex;
}

.cta__pulse-ring {
  position: absolute;
  inset: -4px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  animation: pulse 2.5s ease-out infinite;
  pointer-events: none;
}

.cta__pulse-ring--2 {
  animation-delay: 1.25s;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   16. Accordion (Servicos section)
   -------------------------------------------------------------------------- */
.accordion {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}

.accordion__item {
  border: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 8px;
  border-radius: var(--radius);
  padding: 0 24px;
  transition: background 0.3s, border-color 0.3s;
}

.accordion__item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.accordion__item--jesus {
  border: 1px solid var(--accent-dim);
  background: var(--accent-dark);
}

.accordion__glow {
  position: absolute;
  top: 0;
  left: -2px;
  width: 4px;
  height: 100%;
  background: var(--accent);
  filter: blur(8px);
  opacity: 0.3;
  pointer-events: none;
}

.accordion__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  transition: color 0.3s;
  gap: 16px;
  width: 100%;
}

.accordion__header:hover {
  color: var(--accent);
}

.accordion__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
  width: 24px;
}

.accordion__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  flex: 1;
}

.accordion__chevron {
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
  color: var(--text-muted);
}

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease), padding 0.5s var(--ease);
}

.accordion__body p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
}

.accordion__item--open .accordion__body {
  max-height: 200px;
  padding-bottom: 24px;
}

.accordion__item--open .accordion__chevron {
  transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   17. About Stats
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Sobre — Cinematic Film Section
   -------------------------------------------------------------------------- */
.section--sobre-cinematic {
  padding: 0;
  overflow: hidden;
}

.sobre-film {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  align-items: center;
}

.sobre-film__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  align-self: center;
}

.sobre-film__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.sobre-film__canvas {
  position: relative;
  z-index: 1;
  height: 100vh;
  max-height: none;
  width: auto;
  max-width: 100%;
  transform: scale(1.15);
  transform-origin: center;
  filter: drop-shadow(0 30px 80px rgba(0, 0, 0, 0.6));
}

.sobre-film__text {
  padding: 0 var(--pad);
  max-width: 560px;
}

.sobre-film__greeting {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 32px;
}

.sobre-film__line {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.about__stats {
  display: flex;
  gap: 56px;
  margin-top: 48px;
}

.about__stat {
  display: flex;
  flex-direction: column;
}

.about__stat-number {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.about__stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   18. Manifesto / Quote
   -------------------------------------------------------------------------- */
.section--manifesto {
  padding: 200px 0;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.manifesto__bg-img {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  height: 130%;
  width: auto;
  opacity: 0.08;
  filter: grayscale(1);
  pointer-events: none;
  object-fit: cover;
}

.manifesto__content {
  position: relative;
  z-index: 1;
}

.manifesto__mark {
  font-size: 120px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.15;
  line-height: 0.6;
  margin-bottom: 24px;
}

.manifesto__quote {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.manifesto__quote p {
  margin-bottom: 16px;
}

.manifesto__quote p:last-child {
  margin-bottom: 0;
}

.manifesto__quote .text-accent {
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   19. CTA Section (Final)
   -------------------------------------------------------------------------- */
.section--cta {
  padding: 160px 0;
}

.cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  min-height: 80vh;
}

.cta__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta__glow {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.cta__canvas {
  position: relative;
  z-index: 1;
  height: 100vh;
  max-height: none;
  width: auto;
  max-width: 100%;
  transform: scale(1.15);
  transform-origin: center;
  filter: drop-shadow(0 30px 80px rgba(0, 0, 0, 0.6));
}

.cta__content {
  position: relative;
  z-index: 1;
}

.cta__title {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 48px;
}

.cta__actions {
  margin-bottom: 32px;
}

.cta__whatsapp {
  margin-top: 16px;
}

.cta__whatsapp a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--text-dim);
  transition: color 0.3s;
  font-weight: 500;
}

.cta__whatsapp a:hover {
  color: var(--accent);
}

.cta__whatsapp .iconify {
  font-size: 20px;
}

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer__brand .nav__logo {
  display: inline-block;
  margin-bottom: 8px;
}

.footer__tagline {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.3s;
  font-weight: 500;
}

.footer__nav a:hover {
  color: var(--accent);
}

.footer__social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.3s;
  font-weight: 500;
}

.footer__social a:hover {
  color: var(--accent);
}

.footer__social .iconify {
  font-size: 18px;
}

.footer__bottom {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
   21. WhatsApp Float
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 24px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* --------------------------------------------------------------------------
   22. Animations
   -------------------------------------------------------------------------- */
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-6px); }
}

@keyframes shimmer {
  0%   { left: -100%; }
  100% { left: 100%; }
}

@keyframes dot-pulse {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50%      { opacity: 0.8; transform: scale(1); }
}

/* GSAP initial state */
.will-animate {
  opacity: 0;
}

/* --------------------------------------------------------------------------
   23. Responsive — Tablet (max-width: 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --pad: 40px;
    --section-pad: 120px;
  }

  .section {
    padding: var(--section-pad) 0;
  }

  .nav__links {
    display: none;
  }

  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  /* Hero: text centered, image above */
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 120px;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__ctas {
    justify-content: center;
  }

  .hero__visual {
    order: 2; /* Put image AFTER text so text isn't pushed off-screen */
    margin-top: 0;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
  }

  .hero__img {
    height: auto;
    max-height: none;
    width: 140%; /* Very wide to explode scale */
    max-width: none;
    margin: 0 -20%;
    object-fit: contain;
    transform: translateY(0%);
  }

  .hero__glow {
    width: 100%;
    height: 100%;
    max-width: 400px;
    max-height: 400px;
  }

  /* Split layouts: single column */
  .split {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .split--reverse {
    direction: ltr;
  }

  .split__content {
    order: 1;
    margin: 0 !important;
    padding: 40px 32px 80px 32px; /* Extra bottom padding for image overlap */
  }

  .split__image {
    order: 2;
    margin-top: -120px; /* Deep overlap to integrate figure with glass box */
    z-index: 10;
    align-items: center; /* center the GSAP canvas */
    opacity: 1;
  }

  .split__img, .scroll-canvas {
    height: auto;
    max-height: none;
    width: 130%; /* HUGE! make him pop out significantly */
    max-width: none;
    margin: 0 -15%; /* Center the 130% overflow */
    object-fit: contain;
    transform: translateY(-8%); /* Pull him slightly up into the sweet spot */
  }

  .sobre-film__canvas {
    height: auto;
    max-height: none;
    width: 140%;
    margin: 0 -20%;
    transform: translateY(0);
  }

  /* Method cards: keep 3 columns but tighter */
  .metodo__cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .metodo__card {
    padding: 32px 24px;
  }

  .metodo__num {
    font-size: 44px;
  }

  /* CTA grid */
  .cta__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta__visual {
    max-height: none; /* Reset hard locks */
    order: -1;
    display: flex;
    justify-content: center;
  }

  .cta__canvas {
    height: auto;
    max-height: none;
    width: 140%;
    margin: 0 -20%;
    transform: translateY(0);
  }

  .cta__title {
    margin-left: auto;
    margin-right: auto;
  }

  .cta__actions {
    display: flex;
    justify-content: center;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  /* Curso pointer line: hide */
  .curso__pointer-line {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   24. Responsive — Mobile (max-width: 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --pad: 24px;
    --section-pad: 80px;
  }

  .section {
    padding: var(--section-pad) 0;
  }

  .section--manifesto {
    padding: 100px 0;
  }

  .hero__grid {
    padding-top: 100px;
    gap: 24px;
  }

  .hero__title {
    font-size: clamp(36px, 9vw, 52px);
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__ctas .btn {
    width: 100%;
  }

  .hero__scroll {
    display: none;
  }

  .hero__tag {
    font-size: 11px;
  }

  /* Split */
  .split__content {
    padding: 32px 24px 70px 24px;
    border-radius: var(--radius);
  }

  /* Remove squashed canvas overrides for 768px - let 1024px handle it */
  .split__img, .scroll-canvas {
    max-height: none; /* explicitly unset any old 50vh */
  }

  .sobre-film {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .sobre-film__visual {
    min-height: auto;
  }

  /* Remove 50vh limits completely */

  /* Symptom cards: stack */
  .symptom-tags {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  /* Method cards: single column */
  .metodo__cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .metodo__card {
    padding: 32px 28px;
  }

  /* Stats: column */
  .about__stats {
    flex-direction: column;
    gap: 28px;
  }

  /* Manifesto */
  .manifesto__quote {
    font-size: clamp(22px, 5.5vw, 32px);
  }

  .manifesto__mark {
    font-size: 72px;
  }

  /* Pricing */
  .curso__value {
    font-size: clamp(48px, 12vw, 72px);
  }

  /* Buttons: full width in CTA contexts */
  .btn--lg {
    padding: 18px 36px;
    font-size: 14px;
    width: 100%;
  }

  .cta__btn-wrapper {
    width: 100%;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Section titles */
  .section__title {
    font-size: clamp(28px, 7vw, 42px);
  }

  .cta__title {
    font-size: clamp(28px, 7vw, 42px);
  }
}

/* --------------------------------------------------------------------------
   25. Small Mobile (max-width: 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .symptom-tags {
    grid-template-columns: 1fr;
  }

  .about__stats {
    gap: 24px;
  }
}

/* --------------------------------------------------------------------------
   26. Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
