@import url('https://fonts.googleapis.com/css2?family=Sora:wght@100;200;300;400;500;600;700;800&display=swap');

/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (:root)
   ========================================================================== */
:root {
  /* Brand Colors */
  --color-primary: #FF5500;       /* Laranja Terracota */
  --color-primary-rgb: 255, 85, 0;
  --color-secondary: #003E77;     /* Azul Marinho Profundo */
  --color-secondary-rgb: 0, 62, 119;
  --color-cream: #FFFFF3;         /* Off-White / Branco */
  
  /* Theme Dark Base (Apple/Stripe Deep Blue-Navy) */
  --bg-dark: #001B33;             /* Azul Marinho Profundo Dark */
  --bg-dark-card: rgba(255, 255, 255, 0.02);
  --border-glass: rgba(255, 255, 255, 0.07);
  --border-glass-hover: rgba(255, 255, 255, 0.15);
  --text-light: #fafafa;
  --text-muted: #a1a1aa;
  
  /* Theme Light Base (Branco & Creme) */
  --bg-light: #ffffff;
  --bg-light-cream: #F7F6F2;
  --bg-light-card: #ffffff;
  --border-light: rgba(0, 62, 119, 0.08);
  --border-light-hover: rgba(0, 62, 119, 0.18);
  --text-dark-navy: #003E77;
  --text-dark-body: #27272a;      /* Zinc 800 */
  --text-dark-muted: #71717a;     /* Zinc 500 */
  
  /* Gradients */
  --gradient-brand: linear-gradient(135deg, var(--color-primary) 0%, #ff803b 100%);
  --gradient-glow: radial-gradient(circle, rgba(255, 85, 0, 0.15) 0%, rgba(0, 62, 119, 0.25) 55%, rgba(0, 27, 51, 0) 100%);
  --gradient-border: linear-gradient(90deg, var(--border-glass) 0%, rgba(255, 85, 0, 0.25) 50%, var(--border-glass) 100%);

  /* Typography */
  --font-title: 'Sora', sans-serif;
  --font-body: 'Sora', sans-serif;
  
  /* Transitions */
  --transition-premium: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;
  
  /* Spacings */
  --gap-fluid: clamp(20px, 3vw, 40px);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-body);
  font-size: 1.6rem;
  color: var(--text-light);
  background-color: var(--bg-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* ==========================================================================
   THEME SECTIONS (ALTERNATED LIGHT/DARK)
   ========================================================================== */
.section--dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section--light {
  background-color: var(--bg-light);
  color: var(--text-dark-body);
}

.section--light-cream {
  background-color: var(--bg-light-cream);
  color: var(--text-dark-body);
}

/* Dynamic titles inside theme sections */
.section--dark .section-title {
  color: var(--text-light);
}
.section--light .section-title,
.section--light-cream .section-title,
.modules-scroll-wrapper .section-title {
  color: var(--text-dark-navy);
}

.section--dark .section-subtitle {
  color: var(--text-muted);
}
.section--light .section-subtitle,
.section--light-cream .section-subtitle,
.modules-scroll-wrapper .section-subtitle {
  color: var(--text-dark-muted);
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-dark);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

@keyframes pulse-logo {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.08); opacity: 1; }
}

.preloader-logo {
  width: 180px;
  max-width: 80%;
  animation: pulse-logo 1.2s infinite alternate ease-in-out;
}

/* ==========================================================================
   TYPOGRAPHY RULES & REVEALS
   ========================================================================== */
.hero__title,
.section-title {
  font-family: var(--font-title);
  text-wrap: balance;
  font-weight: 800;
}

p, .card__desc, .professor__bio {
  text-wrap: pretty;
}

/* Title Font Sizes */
.hero__title {
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: clamp(1.6rem, 2.5vw, 2.0rem);
  font-weight: 400;
  max-width: 750px;
  margin: 0 auto;
}

/* Scroll Reveal & Animations */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-blur {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.8s cubic-bezier(0.25, 1, 0.5, 1),
              filter 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity, filter;
}

.reveal {
  transform: translateY(30px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-scale {
  transform: scale(0.95);
}

.reveal-blur {
  filter: blur(8px);
}

/* Active States */
.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-scale.active,
.reveal-blur.active {
  opacity: 1;
  transform: translate(0) scale(1);
  filter: blur(0);
}

/* Staggered Delay Utilities */
.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }
.delay-3 { transition-delay: 300ms; }
.delay-4 { transition-delay: 400ms; }
.delay-5 { transition-delay: 500ms; }

/* ==========================================================================
   LAYOUT STRUCTURE & CONTAINER
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.4rem;
  position: relative;
  z-index: 2;
}

section {
  padding: clamp(6rem, 10vw, 12rem) 0;
  position: relative;
  overflow: hidden;
}

/* Glow Background Effects */
.glow-bg {
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: var(--gradient-glow);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}

.glow-top-right {
  top: -10vw;
  right: -10vw;
}

.glow-bottom-left {
  bottom: -10vw;
  left: -10vw;
}

.glow-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.glow-blue {
  background: radial-gradient(circle, rgba(0, 62, 119, 0.35) 0%, rgba(0, 62, 119, 0.08) 60%, transparent 100%) !important;
}

.glow-bottom-right {
  bottom: -15vw;
  right: -10vw;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2.4rem 0;
  z-index: 10;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-light);
}

.logo-text span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-img {
  height: clamp(35px, 5vw, 44px);
  width: auto;
  display: block;
}

.btn-nav {
  display: inline-block;
  padding: 1.0rem 2.2rem;
  font-size: 1.4rem;
  font-weight: 600;
  font-family: var(--font-title);
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: var(--transition-premium);
}

.btn-nav:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 14rem;
  padding-bottom: 8rem;
}

.hero-content {
  text-align: center;
  max-width: 950px;
  margin: 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.6rem;
  border-radius: 100px;
  background: rgba(226, 86, 16, 0.08);
  border: 1px solid rgba(226, 86, 16, 0.2);
  color: #ff9d6e;
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 3.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
  box-shadow: 0 0 8px var(--color-primary);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.hero__title span {
  background: linear-gradient(to right, #ffffff, #e4e4e7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero__title .highlight {
  background: linear-gradient(90deg, #ff8c52 0%, var(--color-primary) 50%, #ff523b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: textShine 6s linear infinite;
  background-size: 200% auto;
}

.hero__desc {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  color: var(--text-muted);
  max-width: 750px;
  margin: 2.4rem auto 4.0rem auto;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 6rem;
}

/* PREMIUM MAGNET BUTTONS */
.btn-magnetic-wrapper {
  display: inline-block;
  perspective: 1000px;
}

.btn-primary,
.btn-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.8rem 3.6rem;
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: var(--transition-premium);
  will-change: transform;
}

.btn-primary {
  background: var(--gradient-brand);
  color: var(--text-light);
  box-shadow: 0 4px 20px rgba(226, 86, 16, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(226, 86, 16, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  color: var(--text-light);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-glass-hover);
  transform: translateY(-2px);
}

/* Hero Video Mockup Frame */
.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 20px;
  padding: 6px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(226, 86, 16, 0.15) 50%, rgba(255,255,255,0.01) 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 2px rgba(255,255,255,0.1);
  overflow: hidden;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  border-radius: 16px;
  overflow: hidden;
  background-color: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   SPLIT SECTIONS (LIGHT SYSTEM) & DORES (PROBLEMS)
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 6rem auto;
}

.split-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--gap-fluid);
  align-items: center;
}

/* Light Card Style */
.light-card-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.light-card {
  background: var(--bg-light-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 3.2rem;
  box-shadow: 0 4px 15px rgba(20, 64, 116, 0.02);
  transition: var(--transition-premium);
  display: flex;
  gap: 2.4rem;
}

.light-card:hover {
  transform: translateX(6px);
  border-color: rgba(226, 86, 16, 0.25);
  box-shadow: 0 10px 25px rgba(20, 64, 116, 0.05);
}

.light-card .card__icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(226, 86, 16, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  border: 1px solid rgba(226, 86, 16, 0.15);
  flex-shrink: 0;
  transition: var(--transition-premium);
}

.light-card:hover .card__icon {
  background: var(--color-primary);
  color: var(--text-light);
  box-shadow: 0 6px 15px rgba(226, 86, 16, 0.2);
}

.light-card .card__icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.8;
}

.light-card .card__title {
  color: var(--text-dark-navy);
  font-family: var(--font-title);
  font-size: 2.0rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.light-card .card__desc {
  color: var(--text-dark-body);
  font-size: 1.5rem;
  line-height: 1.6;
}

/* Image Visual Frame */
.image-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding: 6px;
  background: linear-gradient(135deg, rgba(20, 64, 116, 0.08) 0%, rgba(226, 86, 16, 0.15) 100%);
  box-shadow: 0 15px 35px rgba(20, 64, 116, 0.1);
}

.image-frame img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
  object-fit: cover;
  transition: var(--transition-premium);
}

.image-frame:hover img {
  transform: scale(1.02);
}

/* Dores Section specific layout (stretches image to match text column height on desktop) */
@media (min-width: 1025px) {
  #dores .split-layout {
    align-items: stretch;
  }
  #dores .split-layout > div:last-child {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  #dores .image-frame {
    height: 100%;
    display: flex;
    flex-grow: 1;
  }
  #dores .image-frame img {
    height: 100%;
    width: 100%;
  }
}

/* ==========================================================================
   PROPOSTA ÚNICA DE VALOR & PILARES (PROFESSORES)
   ========================================================================== */
.puv {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #060a18 50%, var(--bg-dark) 100%);
}

.professors-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-fluid);
  margin-top: 8rem;
  align-items: stretch;
}

.professor-card {
  position: relative;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-premium);
}

.professor-card:hover {
  border-color: rgba(20, 64, 116, 0.4);
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.02);
}

.professor-img-container {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: radial-gradient(circle at center, #111b2b 0%, #060a18 100%);
}

.professor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  transition: var(--transition-premium);
  transform-origin: bottom center;
  opacity: 0.85;
}

.professor-card:hover .professor-img {
  transform: scale(1.03);
  opacity: 1;
}

.professor-overlay {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(0deg, #060a18 0%, transparent 100%);
  pointer-events: none;
}

.professor-tag {
  position: absolute;
  top: 2rem;
  left: 2rem;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  background-color: var(--color-primary);
  color: #ffffff;
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 15px rgba(255, 85, 0, 0.4);
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: var(--transition-premium);
}

.professor-tag.blue {
  background-color: #0056b3;
  box-shadow: 0 4px 15px rgba(0, 86, 179, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.professor-card:hover .professor-tag {
  transform: scale(1.05);
}

.professor-info {
  padding: 4.0rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.professor__name {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.professor__role {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 2.4rem;
  letter-spacing: 0.08em;
}

.professor-tag.blue + .professor-info .professor__role {
  color: #559aff;
}

.professor__bio {
  font-size: 1.6rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Diferencial Único no Mercado */
.diferencial-block {
  background: var(--color-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 32px;
  padding: 5rem 6rem;
  margin-top: 6rem;
  text-align: center;
  width: 100%;
  max-width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  transition: var(--transition-premium);
  position: relative;
  overflow: hidden;
}

.diferencial-block::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 85, 0, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.diferencial-block:hover {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45), 0 0 30px rgba(255, 85, 0, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.diferencial-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.diferencial-text {
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  max-width: 850px;
  margin: 0 auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .diferencial-block {
    padding: 3.5rem 2.5rem;
    margin-top: 4rem;
    border-radius: 24px;
  }
}

/* ==========================================================================
   SEÇÃO AUTORIDADE & STATS (CONTADORES)
   ========================================================================== */
.stats {
  background-color: #050a18;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 8rem 0;
}

  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.stat-label span {
  color: var(--color-primary);
}

/* ==========================================================================
   STICKY SCROLL MODULES (VERTICAL TO HORIZONTAL CAROUSEL)
   ========================================================================== */
.modules-scroll-wrapper {
  height: 300vh; /* Scroll track length (extended for 8 cards) */
  position: relative;
  background-color: var(--bg-light-cream);
}

.modules-sticky-container {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg-light-cream);
}

.modules-section-header {
  margin-bottom: 4rem;
  text-align: center;
}

.scroll-helper-text {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  background: rgba(0, 62, 119, 0.06);
  border: 1px solid rgba(0, 62, 119, 0.15);
  padding: 0.8rem 2rem;
  border-radius: 100px;
  box-shadow: 0 4px 15px rgba(0, 62, 119, 0.04);
  margin-top: 1.5rem;
  letter-spacing: 0.02em;
  animation: floatUpDown 3s ease-in-out infinite;
}

.scroll-helper-icon {
  stroke: var(--color-secondary);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

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

@keyframes scrollPulse {
  0% { transform: translateY(-2px); opacity: 0.5; }
  50% { transform: translateY(2px); opacity: 1; }
  100% { transform: translateY(-2px); opacity: 0.5; }
}

/* Modules Slider Container */
.modules-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1rem 0;
}

.modules-slider {
  display: flex;
  flex-wrap: nowrap;
  gap: 3rem;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 1rem 2.4rem 3rem 2.4rem;
}

/* Module Card Style */
.module-card {
  flex: 0 0 400px; /* Slightly wider to accommodate longer text strings cleanly */
  background: var(--bg-light-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 3rem 2.8rem; /* More compact padding for safety in vertical height */
  box-shadow: 0 6px 20px rgba(20, 64, 116, 0.03);
  transition: var(--transition-premium);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.module-card:hover {
  transform: translateY(-8px);
}

/* Blue variant hover (Prof. Alisson - Estrutura) */
.module-card--blue:hover {
  border-color: rgba(0, 86, 179, 0.45);
  box-shadow: 0 15px 35px rgba(0, 62, 119, 0.12), 0 0 0 1px rgba(0, 86, 179, 0.08);
  background: linear-gradient(180deg, rgba(0, 62, 119, 0.04) 0%, var(--bg-light-card) 100%);
}

/* Orange variant hover (Prof. André Rosa - Repertório) */
.module-card--orange:hover {
  border-color: rgba(255, 85, 0, 0.45);
  box-shadow: 0 15px 35px rgba(255, 85, 0, 0.1), 0 0 0 1px rgba(255, 85, 0, 0.08);
  background: linear-gradient(180deg, rgba(255, 85, 0, 0.04) 0%, var(--bg-light-card) 100%);
}

.module-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.4rem;
  width: 100%;
}

.module-badge {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  background: rgba(20, 64, 116, 0.05);
  border: 1px solid rgba(20, 64, 116, 0.1);
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark-navy);
  margin-bottom: 0;
  transition: var(--transition-fast);
}

.module-teacher-tag {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  background: rgba(226, 86, 16, 0.06);
  border: 1px solid rgba(226, 86, 16, 0.15);
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: var(--transition-fast);
}

.module-teacher-tag.blue {
  background: rgba(0, 62, 119, 0.06);
  border: 1px solid rgba(0, 62, 119, 0.15);
  color: var(--color-secondary);
}

/* Blue card hover: badge and tag fill blue */
.module-card--blue:hover .module-badge {
  background: var(--color-secondary);
  color: var(--text-light);
  border-color: var(--color-secondary);
}

.module-card--blue:hover .module-teacher-tag {
  background: var(--color-secondary);
  color: var(--text-light);
  border-color: var(--color-secondary);
}

/* Orange card hover: badge and tag fill orange */
.module-card--orange:hover .module-badge {
  background: var(--color-primary);
  color: var(--text-light);
  border-color: var(--color-primary);
}

.module-card--orange:hover .module-teacher-tag {
  background: var(--color-primary);
  color: var(--text-light);
  border-color: var(--color-primary);
}

.module-title {
  font-family: var(--font-title);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-dark-navy);
  margin-bottom: 1.6rem;
  line-height: 1.3;
}

.module-desc {
  font-size: 1.45rem;
  color: var(--text-dark-body);
  line-height: 1.6;
  margin-bottom: 2.8rem;
  flex-grow: 1;
}

.module-lessons {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
}

.module-lessons-title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark-muted);
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
}

.module-lessons-list {
  list-style: none;
}

.module-lesson-item {
  position: relative;
  padding-left: 2.0rem;
  font-size: 1.25rem; /* Slightly smaller for density */
  color: var(--text-dark-body);
  margin-bottom: 0.6rem; /* Tighter layout to prevent vertical clipping */
  font-weight: 500;
  line-height: 1.4;
}

.module-lesson-item::before {
  content: '→';
  position: absolute;
  left: 0;
  top: -0.1rem;
  color: var(--color-primary);
  font-weight: 700;
  transition: var(--transition-fast);
}

/* Arrow color on hover follows card variant */
.module-card--blue:hover .module-lesson-item::before {
  color: var(--color-secondary);
}

.module-card--blue:hover .module-lessons {
  border-top-color: rgba(0, 62, 119, 0.15);
}

.module-card--orange:hover .module-lessons {
  border-top-color: rgba(255, 85, 0, 0.15);
}

/* Scroll progress track */
.slider-progress-track {
  width: 100%;
  max-width: 400px;
  height: 3px;
  background: var(--border-light);
  margin: 2rem auto 0 auto;
  border-radius: 100px;
  position: relative;
  overflow: hidden;
}

.slider-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 10%; /* Dynamically controlled by JS scroll percent */
  background: var(--color-primary);
  border-radius: 100px;
  transition: width 0.1s ease-out;
}

/* ==========================================================================
   SEÇÃO OFERTA (PREÇO / CHECKOUT & GARANTIA) — CENTERED LAYOUT
   ========================================================================== */
.offer {
  position: relative;
}

.offer-card {
  max-width: 900px;
  margin: 0 auto;
  background: radial-gradient(100% 100% at 50% 0%, rgba(0, 62, 119, 0.4) 0%, rgba(5, 15, 35, 0.6) 100%);
  border: 1px solid rgba(0, 62, 119, 0.3);
  border-radius: 28px;
  padding: 6rem 5rem;
  backdrop-filter: blur(30px);
  position: relative;
  z-index: 2;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(0, 120, 255, 0.15);
  text-align: center;
}

.offer-card::after {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(0, 100, 255, 0.3) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: -1;
  pointer-events: none;
}

/* Centered header area */
.offer-center {
  margin-bottom: 1rem;
}

.offer-center .offer-tag {
  margin-bottom: 2rem;
}

/* Price block — centered */
.offer-price-block {
  margin-bottom: 3.6rem;
}

.offer-price-block .price-box {
  text-align: center;
  margin: 2rem 0 0 0;
}

.offer-price-block .price-main {
  justify-content: center;
}

.offer-tag {
  display: inline-block;
  padding: 0.6rem 1.6rem;
  background: rgba(226, 86, 16, 0.1);
  border: 1px solid rgba(226, 86, 16, 0.2);
  color: var(--color-primary);
  border-radius: 100px;
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2.4rem;
  letter-spacing: 0.05em;
}

.price-box {
  margin: 2.8rem 0;
}

.price-old {
  font-size: 1.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 0.8rem;
}

@keyframes price-pulse-glow {
  0% { text-shadow: 0 0 10px rgba(255, 255, 255, 0.1); transform: scale(1); }
  50% { text-shadow: 0 0 30px rgba(255, 255, 255, 0.5), 0 0 50px rgba(255, 255, 255, 0.3); transform: scale(1.02); }
  100% { text-shadow: 0 0 10px rgba(255, 255, 255, 0.1); transform: scale(1); }
}

.price-main {
  font-family: var(--font-title);
  font-size: clamp(5.6rem, 10vw, 10.0rem);
  font-weight: 900;
  line-height: 1;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.price-currency {
  font-size: 3.2rem;
  font-weight: 700;
  align-self: flex-start;
  margin-top: 1rem;
  color: var(--color-cream);
}

.price-period {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 0.5rem;
}

.price-installments {
  font-family: var(--font-title);
  font-size: 2.0rem;
  font-weight: 600;
  color: var(--color-cream);
  margin-top: 0.8rem;
}

/* Benefits grid — 3 stat cards */
.offer-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  transition: var(--transition-premium);
}

.benefit-card:hover {
  border-color: rgba(226, 86, 16, 0.3);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.benefit-card-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 1.6rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  background: rgba(226, 86, 16, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(226, 86, 16, 0.15);
}

.benefit-card-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}

.benefit-card-number {
  font-family: var(--font-title);
  font-size: clamp(3.2rem, 5vw, 4.4rem);
  font-weight: 900;
  line-height: 1;
  color: var(--text-light);
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--color-cream) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.benefit-card-label {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.benefit-card-label span {
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
}

/* CTA area — centered */
.offer-cta-area {
  text-align: center;
}

.offer-cta-area .btn-magnetic-wrapper {
  max-width: 500px;
  margin: 0 auto;
}

.offer-card .btn-primary {
  width: 100%;
  font-size: 1.8rem;
  padding: 2.0rem 4rem;
}

.payment-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.4rem;
  margin-top: 2.4rem;
  opacity: 0.6;
}

/* 7 DAYS GUARANTEE BLOCK */
.guarantee-box {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  padding: 2.4rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  text-align: left;
  margin-top: 3.6rem;
  backdrop-filter: blur(10px);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.guarantee-icon {
  color: var(--color-primary);
  flex-shrink: 0;
}

.guarantee-icon svg {
  width: 48px;
  height: 48px;
  stroke-width: 1.5;
}

.guarantee-title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-cream);
  margin-bottom: 0.4rem;
}

.guarantee-desc {
  font-size: 1.35rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .offer-card {
    padding: 4rem 2.5rem;
  }
  .offer-benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .benefit-card {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    text-align: left;
    padding: 2rem;
  }
  .benefit-card-icon {
    margin: 0;
  }
  .benefit-card-number {
    font-size: 2.8rem;
  }
  .guarantee-box {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   SEÇÃO FAQ (ACORDEÃO SANFONA - LIGHT THEME)
   ========================================================================== */
.faq-wrapper {
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-light-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  margin-bottom: 1.6rem;
  overflow: hidden;
  transition: var(--transition-premium);
  box-shadow: 0 4px 10px rgba(20, 64, 116, 0.01);
}

.faq-item:hover {
  background: var(--bg-light-cream);
  border-color: rgba(20, 64, 116, 0.15);
}

.faq-header {
  width: 100%;
  padding: 2.4rem 3.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  color: var(--text-dark-navy);
}

.faq-question {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  padding-right: 2rem;
}

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--text-dark-navy);
  transition: var(--transition-fast);
}

.faq-icon::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

.faq-icon::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

.faq-item.open .faq-icon {
  transform: rotate(135deg);
}

.faq-item.open .faq-icon::after,
.faq-item.open .faq-icon::before {
  background-color: var(--color-primary);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content {
  padding: 0 3.2rem 3.2rem 3.2rem;
  color: var(--text-dark-body);
  font-size: 1.55rem;
  line-height: 1.7;
}



/* ==========================================================================
   FOOTER (DARK THEME)
   ========================================================================== */
footer {
  border-top: 1px solid var(--border-glass);
  padding: 6rem 0;
  background-color: #030611;
  color: var(--text-muted);
  font-size: 1.4rem;
}

.footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-credits {
  font-family: var(--font-title);
  font-weight: 500;
}

.footer-links {
  display: flex;
  gap: 2.4rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   RESPONSIVIDADE & MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .professors-wrapper {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 6rem auto 0 auto;
  }
  
  .split-layout {
    grid-template-columns: 1fr;
    gap: 6rem;
  }

  .offer-split {
    grid-template-columns: 1fr;
    gap: 6rem;
  }
  
  .offer-right {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  /* Scroll Reveal Mobile Performance Optimizations */
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .reveal-blur {
    transition-duration: 0.6s !important;
  }
  
  .reveal {
    transform: translateY(15px);
  }
  
  .reveal-left {
    transform: translateX(-20px);
  }
  
  .reveal-right {
    transform: translateX(20px);
  }
  
  .reveal-scale {
    transform: scale(0.97);
  }

  html {
    font-size: 56.25%; /* 1rem = 9px */
  }
  
  section {
    padding: clamp(5rem, 8vw, 8rem) 0;
  }
  
  .professor-img-container {
    height: 380px;
  }
  
  /* Disable sticky scroll on mobile, let it scroll naturally horizontal */
  .modules-scroll-wrapper {
    height: auto !important;
  }
  .modules-sticky-container {
    position: relative !important;
    height: auto !important;
    padding: 6rem 0 !important;
  }
  .modules-slider-container {
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .modules-slider {
    transform: none !important;
    overflow-x: visible !important;
    padding-left: 2.4rem !important;
    padding-right: 2.4rem !important;
  }
  .module-card {
    flex: 0 0 82vw !important; /* Almost full screen card on mobile */
    scroll-snap-align: start;
  }
  .slider-progress-track {
    display: none !important; /* Hide track on mobile scroll */
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .btn-magnetic-wrapper {
    display: block;
    width: 100%;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
  }
  
  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 4rem;
  }
  
  .stat-item:not(:last-child)::after {
    display: none;
  }
  
  .stat-item {
    border-bottom: 1px dashed var(--border-glass);
    padding-bottom: 3rem;
  }
  
  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .professor-img-container {
    height: 320px;
  }
  
  .professor-info {
    padding: 3rem;
  }
  
  .offer-card {
    padding: 4rem 2.4rem;
  }
  
  .footer-wrapper {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}

/* ==========================================================================
   DELIVERABLES GRID ("O QUE O ALUNO RECEBE")
   ========================================================================== */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.deliverable-card {
  background: var(--color-primary);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  color: #fff;
  transition: var(--transition-premium);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.deliverable-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(226, 86, 16, 0.35);
  border-color: rgba(255, 255, 255, 0.25);
}

.deliverable-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.deliverable-title {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.8rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.deliverable-desc {
  font-size: 1.5rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .deliverables-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .deliverables-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Centralização das informações na versão mobile */
  .hero-content {
    align-items: center;
    text-align: center;
  }
  .hero__title, .hero__desc, .dores-header, .modules-section-header, .faq-header {
    text-align: center;
  }
  .professor-card {
    flex-direction: column;
    text-align: center;
  }
  .professor-info {
    align-items: center;
  }
  .deliverable-card {
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
  }
  .module-card {
    text-align: center;
  }
  .module-header-meta {
    justify-content: center;
  }
  .footer-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }
  .footer-right, .footer-links {
    align-items: center !important;
    justify-content: center;
    flex-direction: column;
  }
  .footer-socials {
    border-left: none !important;
    padding-left: 0 !important;
    justify-content: center;
    margin-top: 1rem;
  }
  .agency-signature {
    justify-content: center !important;
  }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes pulse-orange {
  0% { box-shadow: 0 0 15px rgba(226, 86, 16, 0.4); transform: scale(1); }
  50% { box-shadow: 0 0 40px rgba(226, 86, 16, 0.8), 0 0 80px rgba(226, 86, 16, 0.4); transform: scale(1.03); }
  100% { box-shadow: 0 0 15px rgba(226, 86, 16, 0.4); transform: scale(1); }
}

.pulse-anim {
  animation: pulse-orange 2s infinite;
}
