/* ==========================================================================
   Importação de Fontes Premium do Google Fonts
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:wght@400;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   Design Tokens & Configurações de Variáveis
   ========================================================================== */
:root {
  --font-title: 'Fredoka', 'Quicksand', 'Segoe UI', sans-serif;
  --font-body: 'Outfit', 'Nunito', 'Segoe UI', sans-serif;

  /* Paleta de Cores HSL Harmoniosa (Educação Infantil Premium) */
  --primary: hsl(243, 75%, 59%); /* Indigo Royal */
  --primary-light: hsl(243, 100%, 96%);
  --primary-dark: hsl(243, 75%, 45%);
  --primary-glow: rgba(99, 102, 241, 0.15);
  
  --secondary: hsl(14, 100%, 57%); /* Coral de Destaque */
  --secondary-light: hsl(14, 100%, 96%);
  --secondary-dark: hsl(14, 100%, 45%);
  --secondary-glow: rgba(249, 115, 22, 0.25);

  --teal: hsl(172, 66%, 50%); /* Destaques lúdicos */
  --teal-light: hsl(172, 66%, 95%);
  --teal-dark: hsl(172, 66%, 35%);

  --success: hsl(142, 71%, 45%); /* Verde Yampi / Conversão */
  --success-light: hsl(142, 71%, 95%);

  --dark: hsl(222, 47%, 11%); /* Slate / Azul Profundo */
  --dark-light: hsl(215, 25%, 35%);
  --light: hsl(210, 40%, 98%); /* Soft background cool */
  --light-border: hsl(214, 32%, 91%);
  --white: #ffffff;

  /* Gradientes Dinâmicos */
  --gradient-primary: linear-gradient(135deg, hsl(243, 75%, 59%) 0%, hsl(262, 83%, 58%) 100%);
  --gradient-secondary: linear-gradient(135deg, hsl(14, 100%, 57%) 0%, hsl(352, 100%, 61%) 100%);
  --gradient-teal: linear-gradient(135deg, hsl(172, 66%, 50%) 0%, hsl(187, 85%, 45%) 100%);
  --gradient-bg: linear-gradient(180deg, hsl(243, 100%, 98%) 0%, hsl(210, 40%, 98%) 100%);
  --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
  --gradient-card-hover: linear-gradient(135deg, rgba(99, 102, 241, 0.04) 0%, rgba(172, 66, 250, 0.04) 100%);

  /* Sombras Modernas */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 16px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.12), 0 15px 25px -10px rgba(15, 23, 42, 0.06);
  --shadow-glow-primary: 0 0 20px rgba(99, 102, 241, 0.2);
  --shadow-glow-secondary: 0 10px 25px rgba(249, 115, 22, 0.35);

  /* Arredondamento */
  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  
  /* Transições suaves */
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset e Configurações Gerais
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--light);
  color: var(--dark-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Decorativo de Fundo Dot Grid */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--primary-light) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  opacity: 0.45;
  z-index: -2;
  pointer-events: none;
}

/* ==========================================================================
   Tipografia
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.25rem, 5vw + 1rem, 3.5rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw + 0.8rem, 2.5rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw + 0.6rem, 1.6rem);
}

p {
  font-size: 1.05rem;
  color: var(--dark-light);
}

strong {
  color: var(--dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* ==========================================================================
   Layout & Estruturas de Grid
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 90px 0;
  position: relative;
}

/* ==========================================================================
   Efeito Revelação no Scroll (Scroll Reveal)
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Barra de Anúncios Dinâmica
   ========================================================================== */
.announcement-bar {
  background: var(--gradient-secondary);
  color: var(--white);
  padding: 12px 0;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
  z-index: 1001;
  position: relative;
}

.announcement-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.announcement-bar .badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   Header Fixo & Inteligente
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 20px 0;
  transition: padding 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

header.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.logo span {
  color: var(--secondary);
}

.logo-icon {
  font-size: 1.75rem;
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
  transform: rotate(-10deg) scale(1.1);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.support-badge {
  background: var(--primary-light);
  color: var(--primary);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: var(--transition);
}

.support-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  background: var(--white);
  border-color: var(--primary-light);
}

.support-icon {
  animation: pulse-ring 2s infinite;
  fill: var(--primary);
}

.btn-header-cta {
  display: inline-flex;
  padding: 10px 24px;
  font-size: 0.95rem;
  font-family: var(--font-title);
  font-weight: 600;
  border-radius: 50px;
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-header-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  background: var(--gradient-bg);
  padding: 100px 0 80px;
  overflow: hidden;
  position: relative;
}

/* Bolhas abstratas de fundo */
.hero-decorative-circles .circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

.hero-decorative-circles .circle-1 {
  width: 350px;
  height: 350px;
  background: rgba(99, 102, 241, 0.08);
  top: -100px;
  right: -50px;
}

.hero-decorative-circles .circle-2 {
  width: 400px;
  height: 400px;
  background: rgba(249, 115, 22, 0.06);
  bottom: -150px;
  left: -100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 24px;
  border: 1px solid rgba(99, 102, 241, 0.1);
  box-shadow: var(--shadow-sm);
}

.hero-title {
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-title span.accent-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--dark-light);
  margin-bottom: 36px;
  max-width: 600px;
}

/* Lista de Benefícios */
.benefits-list {
  list-style: none;
  margin-bottom: 40px;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.benefit-icon-wrapper {
  width: 26px;
  height: 26px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.benefit-icon {
  width: 16px;
  height: 16px;
  fill: var(--primary);
}

/* Botões Globais */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 40px;
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-secondary);
  color: var(--white);
  box-shadow: var(--shadow-glow-secondary);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: all 0.6s ease;
}

.btn-primary:hover::after {
  left: 100%;
  transition: all 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 30px rgba(249, 115, 22, 0.45);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(6px);
}

.hero-cta-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta-subtitle {
  font-size: 0.85rem;
  color: var(--dark-light);
  opacity: 0.7;
  padding-left: 20px;
}

/* Hero Image Mockup */
.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
  padding: 16px;
  border: 1px solid var(--light-border);
  transition: var(--transition);
  max-width: 420px;
}

.hero-image-wrapper:hover {
  transform: translateY(-8px) rotate(1.5deg);
  box-shadow: var(--shadow-lg);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}

.blob-bg {
  position: absolute;
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, var(--primary-glow) 0%, rgba(99, 102, 241, 0.01) 70%);
  border-radius: 50%;
  z-index: 1;
  filter: blur(30px);
}

/* ==========================================================================
   Barra de Estatísticas
   ========================================================================== */
.stats-bar {
  background: var(--white);
  padding: 40px 0;
  box-shadow: var(--shadow-sm);
  border-top: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.stat-item:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
}

.stat-icon {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  border: 1px solid var(--light-border);
  transition: var(--transition);
}

.stat-item:hover .stat-icon {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1) rotate(-8deg);
}

.stat-info h4 {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.stat-info p {
  font-size: 0.9rem;
  color: var(--dark-light);
  font-weight: 500;
}

/* ==========================================================================
   Seção Por Que Treinar Cursiva (Benefícios)
   ========================================================================== */
.why-cursive {
  background: var(--white);
}

.section-header {
  max-width: 700px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-tag {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: inline-block;
  background: var(--primary-light);
  padding: 4px 16px;
  border-radius: 50px;
}

.section-title {
  color: var(--dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--dark-light);
}

.why-cursive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-cursive-card {
  background: var(--light);
  padding: 48px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-cursive-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 0;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.why-cursive-card:hover {
  transform: translateY(-8px);
  background: var(--white);
  border-color: rgba(99, 102, 241, 0.15);
  box-shadow: var(--shadow-lg);
}

.why-cursive-card:hover::before {
  height: 100%;
}

.card-num {
  font-size: 3.5rem;
  font-family: var(--font-title);
  color: var(--primary-light);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 20px;
  transition: var(--transition);
}

.why-cursive-card:hover .card-num {
  color: var(--primary);
  transform: translateY(-2px);
}

.why-cursive-card h3 {
  font-size: 1.4rem;
  color: var(--dark);
  margin-bottom: 14px;
}

.why-cursive-card p {
  font-size: 0.98rem;
  color: var(--dark-light);
}

/* ==========================================================================
   Seção Exemplos (Carrossel)
   ========================================================================== */
.examples {
  background: var(--light);
}

.carousel-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: visible; /* Permitir sombras saírem discretamente */
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  border: 1px solid var(--light-border);
}

.carousel-track-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
  cursor: grab;
}

.carousel-track:active {
  cursor: grabbing;
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.carousel-slide img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  max-height: 480px;
  object-fit: contain;
  border: 1px solid var(--light-border);
  pointer-events: none; /* Evitar que o browser capture drag nativo */
}

/* Botões do Carrossel */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: 1px solid var(--light-border);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  color: var(--primary);
}

.carousel-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
  left: -26px;
}

.carousel-btn-next {
  right: -26px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--light-border);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--primary);
  transform: scale(1.1);
  width: 28px;
  border-radius: 6px;
}

/* ==========================================================================
   Seção Módulos (Bento Grid)
   ========================================================================== */
.modules {
  background: var(--white);
}

.modules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.module-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-border);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.module-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: var(--shadow-lg);
  background: var(--gradient-card-hover);
}

.module-img-wrapper {
  background: var(--light);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  aspect-ratio: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 1px solid var(--light-border);
  transition: var(--transition);
}

.module-card:hover .module-img-wrapper {
  background: var(--white);
  transform: scale(1.02);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.module-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: var(--transition);
}

.module-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(99, 102, 241, 0.05);
}

.module-info h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.module-info p {
  font-size: 0.95rem;
  color: var(--dark-light);
}

/* Bento Grid Desktop Layout */
@media (min-width: 1025px) {
  .modules-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .modules-grid .module-card:nth-child(1) {
    grid-column: span 1;
  }
  
  .modules-grid .module-card:nth-child(2) {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    text-align: left;
  }
  .modules-grid .module-card:nth-child(2) .module-img-wrapper {
    width: 220px;
    height: 220px;
    flex-shrink: 0;
    margin-bottom: 0;
  }
  
  .modules-grid .module-card:nth-child(3) {
    grid-column: span 2;
    flex-direction: row-reverse;
    align-items: center;
    gap: 30px;
    text-align: left;
  }
  .modules-grid .module-card:nth-child(3) .module-img-wrapper {
    width: 220px;
    height: 220px;
    flex-shrink: 0;
    margin-bottom: 0;
  }
  
  .modules-grid .module-card:nth-child(4) {
    grid-column: span 1;
  }
  
  .modules-grid .module-card:nth-child(5) {
    grid-column: span 3;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    text-align: left;
    padding: 40px 60px;
  }
  .modules-grid .module-card:nth-child(5) .module-img-wrapper {
    width: 240px;
    height: 240px;
    flex-shrink: 0;
    margin-bottom: 0;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .modules-grid .module-card:nth-child(5) {
    grid-column: span 2;
  }
}

/* ==========================================================================
   Seção Como Funciona (Timeline)
   ========================================================================== */
.how-it-works {
  background: var(--light);
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

/* Linha pontilhada conectando os passos */
.how-it-works-grid::before {
  content: '';
  position: absolute;
  top: 90px;
  left: 15%;
  right: 15%;
  height: 4px;
  background-image: linear-gradient(90deg, var(--primary-light) 60%, transparent 60%);
  background-size: 20px 4px;
  z-index: 1;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 2;
  background: var(--white);
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 102, 241, 0.2);
}

.step-img-wrapper {
  width: 110px;
  height: 110px;
  background: var(--primary-light);
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.step-card:hover .step-img-wrapper {
  background: var(--white);
  border-color: var(--primary);
  transform: rotate(-6deg) scale(1.05);
}

.step-img-wrapper img {
  width: 68%;
  height: auto;
}

.step-number {
  position: absolute;
  top: -16px;
  left: calc(50% - 18px);
  background: var(--gradient-secondary);
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: var(--shadow-glow-secondary);
}

.step-card h3 {
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.95rem;
  max-width: 280px;
  margin: 0 auto;
}

/* ==========================================================================
   Seção Oferta Especial (Checkout Box)
   ========================================================================== */
.offer-section {
  background: var(--gradient-bg);
  padding: 100px 0;
  position: relative;
}

.offer-card-wrapper {
  max-width: 960px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--primary-light);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}

.offer-card-wrapper:hover {
  box-shadow: 0 30px 60px -15px rgba(99, 102, 241, 0.15);
  border-color: var(--primary);
}

.offer-ribbon {
  background: var(--gradient-secondary);
  color: var(--white);
  position: absolute;
  top: 30px;
  right: -55px;
  transform: rotate(45deg);
  padding: 8px 60px;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: var(--shadow-sm);
  z-index: 5;
}

.offer-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.offer-left {
  background: var(--light);
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-right: 1px solid var(--light-border);
}

.offer-image-shadow {
  position: relative;
  margin-bottom: 24px;
}

.offer-image-shadow::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 10%;
  width: 80%;
  height: 16px;
  background: rgba(0, 0, 0, 0.1);
  filter: blur(8px);
  border-radius: 50%;
  z-index: 1;
}

.offer-left img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.offer-card-wrapper:hover .offer-left img {
  transform: translateY(-5px);
}

.countdown-box {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-border);
  width: 100%;
  text-align: center;
}

.countdown-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--secondary-dark);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.timer-part {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timer-number {
  font-family: var(--font-title);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark);
  background: var(--light);
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  min-width: 52px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.timer-label {
  font-size: 0.7rem;
  color: var(--dark-light);
  margin-top: 4px;
  font-weight: 600;
}

.timer-divider {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-light);
  margin-top: -16px;
}

.offer-right {
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
}

.offer-tag {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.offer-title {
  font-size: 2.25rem;
  color: var(--dark);
  margin-bottom: 24px;
}

.included-list {
  list-style: none;
  margin-bottom: 30px;
}

.included-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark-light);
}

.check-icon-wrapper {
  width: 22px;
  height: 22px;
  background: var(--success-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-icon-wrapper svg {
  width: 14px;
  height: 14px;
  fill: var(--success);
}

.check-icon-wrapper.extra-icon {
  background: var(--primary-light);
}

.check-icon-wrapper.extra-icon svg {
  fill: var(--primary);
}

.included-list li.extra {
  color: var(--primary-dark);
}

.divider {
  height: 1px;
  background: var(--light-border);
  margin: 24px 0;
}

.price-box {
  margin-bottom: 24px;
}

.price-old {
  font-size: 1.15rem;
  color: var(--dark-light);
  text-decoration: line-through;
  opacity: 0.7;
  margin-bottom: 4px;
}

.price-new {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--success);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-type {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--dark-light);
  font-family: var(--font-body);
}

.btn-checkout {
  width: 100%;
  background: var(--gradient-secondary);
  color: var(--white);
  font-weight: 700;
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glow-secondary);
  margin-bottom: 24px;
}

.payment-badge-wrapper {
  display: flex;
  justify-content: center;
}

.payment-badge-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  opacity: 0.9;
}

/* ==========================================================================
   Seção Garantia
   ========================================================================== */
.guarantee {
  background: var(--white);
  position: relative;
  z-index: 2;
}

.guarantee-box {
  max-width: 850px;
  margin: 0 auto;
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--light-border);
  display: flex;
  align-items: center;
  gap: 40px;
}

.guarantee-img {
  width: 160px;
  height: 160px;
  flex-shrink: 0;
}

.guarantee-info h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.guarantee-info p {
  font-size: 1rem;
  color: var(--dark-light);
}

/* ==========================================================================
   Seção FAQ (Dúvidas com Acordeão CSS Grid)
   ========================================================================== */
.faq {
  background: var(--light);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto 56px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

/* Ícone de Mais (+) Animado em CSS */
.faq-icon-wrapper {
  position: relative;
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
}

.faq-icon-line {
  position: absolute;
  background-color: var(--primary);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.35s ease;
}

.faq-icon-line.line-1 {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

.faq-icon-line.line-2 {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}

/* Animação do FAQ ativo */
.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-icon-line.line-2 {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item.active .faq-icon-line.line-1 {
  transform: rotate(180deg);
}

/* CSS Grid Height Transition */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.25, 1, 0.5, 1), padding 0.35s ease;
  padding: 0 24px;
}

.faq-answer-inner {
  overflow: hidden;
  padding-bottom: 0;
  transition: padding 0.35s ease;
}

.faq-answer-inner p {
  color: var(--dark-light);
  font-size: 0.98rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
  padding: 0 24px 24px;
  border-top: 1px solid var(--light-border);
}

.faq-item.active .faq-answer-inner {
  padding-top: 16px;
}

/* Bloco de Suporte */
.support-block {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-border);
}

.support-avatar-group {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.support-avatar {
  background: var(--primary-light);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--white);
}

.support-block h3 {
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.support-block p {
  font-size: 0.98rem;
  margin-bottom: 24px;
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 10px 20px -3px rgba(37, 211, 102, 0.3);
  font-weight: 700;
  padding: 16px 36px;
}

.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 24px -5px rgba(37, 211, 102, 0.45);
}

.whatsapp-btn-icon {
  margin-top: 1px;
}

/* ==========================================================================
   Rodapé (Footer)
   ========================================================================== */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 70px 0 30px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  margin-bottom: 48px;
  justify-items: center;
}

.footer-about h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.footer-about {
  text-align: center;
  width: 100%;
  max-width: 800px;
}

.footer-about p {
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 550px;
  margin-bottom: 20px;
}

.footer-copyright {
  font-size: 0.8rem !important;
  color: #64748b !important;
  text-align: center !important;
  margin: 0 !important;
}

.footer-nav h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 20px;
}

.footer-contact-list {
  list-style: none;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: #94a3b8;
}

.footer-contact-icon {
  width: 18px;
  height: 18px;
  fill: #64748b;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: #94a3b8;
}

.footer-images {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-images img {
  height: 36px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-images img:hover {
  opacity: 1;
}

/* ==========================================================================
   Botão Flutuante Móvel (Floating CTA)
   ========================================================================== */
.floating-cta-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--light-border);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
  z-index: 999;
  display: flex;
  justify-content: center;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-cta-container.visible {
  transform: translateY(0);
}

.btn-floating-cta {
  width: 100%;
  max-width: 480px;
  background: var(--gradient-secondary);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-glow-secondary);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  animation: floating-bounce 2s infinite;
}

/* ==========================================================================
   Animações Keyframes
   ========================================================================== */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.5);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
  }
}

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

/* ==========================================================================
   Responsividade & Ajustes Mobile
   ========================================================================== */
@media (max-width: 1024px) {
  section {
    padding: 70px 0;
  }

  .hero {
    padding: 60px 0 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-tagline {
    justify-content: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .benefits-list {
    max-width: 520px;
    margin: 0 auto 36px;
    text-align: left;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .why-cursive-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .how-it-works-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .how-it-works-grid::before {
    display: none;
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }

  .offer-left {
    border-right: none;
    border-bottom: 1px solid var(--light-border);
    padding: 50px 30px;
  }

  .offer-right {
    padding: 50px 30px;
  }

  .guarantee-box {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Esconder botões redundantes na navegação desktop */
  .btn-header-cta {
    display: none;
  }
}

@media (max-width: 768px) {
  .floating-cta-container {
    display: flex;
  }

  body {
    padding-bottom: 80px; /* Evitar que o Floating CTA cubra conteúdo do rodapé */
  }
}

@media (max-width: 640px) {
  section {
    padding: 50px 0;
  }

  .logo {
    font-size: 1.4rem;
  }

  .support-badge {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-item {
    background: var(--light);
    border: 1px solid var(--light-border);
  }

  .carousel-btn {
    width: 44px;
    height: 44px;
  }

  .carousel-btn-prev {
    left: -15px;
  }

  .carousel-btn-next {
    right: -15px;
  }

  .faq-question {
    padding: 20px;
    font-size: 1rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 20px;
  }

  .support-block {
    padding: 30px 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-images {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Suporte para telas ultra-pequenas */
@media (max-width: 360px) {
  .logo {
    font-size: 1.25rem;
  }
  
  .support-badge {
    display: none; /* Sem espaço na barra superior */
  }
}
