/* =========================================
   Landing Page — "Destrava o Corpo, Acende o Desejo"
   Complete Stylesheet
   ========================================= */

/* --- Google Fonts --- */
/* Fonts are now loaded via <link> tags in index.html for better performance */

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --clr-primary: #8B2252;
  --clr-primary-light: #C4607A;
  --clr-primary-dark: #6B1A3F;
  --clr-secondary: #D4A76A;
  --clr-secondary-light: #E8CFA0;
  --clr-bg: #FFF8F5;
  --clr-bg-alt: #FFF0EB;
  --clr-bg-dark: #8B2252;
  --clr-text: #2D2D2D;
  --clr-text-light: #5A5A5A;
  --clr-text-muted: #8A8A8A;
  --clr-white: #FFFFFF;
  --clr-cta: #C0392B;
  --clr-cta-hover: #A93226;
  --clr-cta-active: #922B21;
  --clr-success: #B8860B;
  --clr-error: #D35400;
  --clr-error-light: #E74C3C;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Sizing */
  --max-width: 1200px;
  --section-padding: 100px 24px;
  --section-padding-mobile: 60px 16px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(139, 34, 82, 0.08);
  --shadow-md: 0 4px 20px rgba(139, 34, 82, 0.12);
  --shadow-lg: 0 8px 40px rgba(139, 34, 82, 0.16);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--clr-text);
  background-color: var(--clr-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--clr-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--clr-primary-light);
}

/* --- Utility Classes --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  padding: 16px 40px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.btn:active::after {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--clr-cta), var(--clr-primary));
  color: var(--clr-white);
  box-shadow: 0 4px 15px rgba(192, 57, 43, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--clr-cta-hover), var(--clr-primary-dark));
  box-shadow: 0 6px 25px rgba(192, 57, 43, 0.45);
  transform: translateY(-2px);
  color: var(--clr-white);
}

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

.btn-primary:focus-visible {
  outline: 3px solid var(--clr-secondary);
  outline-offset: 3px;
}

.btn-gold {
  background: linear-gradient(135deg, var(--clr-secondary), #c4935a);
  color: var(--clr-white);
  box-shadow: 0 4px 20px rgba(212, 167, 106, 0.4);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #c4935a, var(--clr-secondary));
  box-shadow: 0 6px 30px rgba(212, 167, 106, 0.5);
  transform: translateY(-2px);
  color: var(--clr-white);
}

.btn-gold:active {
  transform: translateY(0);
}

.btn-gold:focus-visible {
  outline: 3px solid var(--clr-secondary);
  outline-offset: 3px;
}

.btn-topbar {
  padding: 10px 24px;
  font-size: 0.85rem;
  border-radius: 6px;
}

.btn-large {
  padding: 18px 48px;
  font-size: 1.1rem;
}

/* --- Section Headings --- */
.section-heading {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--clr-primary);
  line-height: 1.3;
  margin-bottom: 40px;
}

.section-heading--white {
  color: var(--clr-white);
}

/* ====================================
   SECTION 0 — STICKY TOP BAR
   ==================================== */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(139, 34, 82, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 24px;
  height: 56px;
}

.top-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.top-bar__date {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.top-bar__date span {
  color: var(--clr-secondary);
  font-weight: 600;
}

/* ====================================
   SECTION 1 — HERO
   ==================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  background: linear-gradient(135deg, #1a0a10 0%, #3d1229 30%, #5c1a3a 60%, #8B2252 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(212, 167, 106, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(196, 96, 122, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  text-align: left;
}

.hero__kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-secondary);
  margin-bottom: 20px;
  padding: 6px 16px;
  border: 1px solid rgba(212, 167, 106, 0.4);
  border-radius: 4px;
}

.hero__headline {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero__headline em {
  color: var(--clr-secondary);
  font-style: italic;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__meta-item .icon {
  font-size: 1.2rem;
}

.hero__meta-separator {
  color: var(--clr-secondary);
  opacity: 0.5;
}

.hero__cta {
  margin-bottom: 40px;
}

.hero__image {
  position: relative;
}

.hero__image img,
.hero__image video {
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  object-fit: cover;
  aspect-ratio: 9 / 16;
}

.hero__image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(212, 167, 106, 0.3);
  border-radius: 16px;
  pointer-events: none;
}

.hero__image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  background: rgba(212, 167, 106, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

/* ====================================
   COUNTDOWN TIMER
   ==================================== */
.countdown {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.countdown--center {
  justify-content: center;
}

.countdown__block {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 16px 20px;
  text-align: center;
  min-width: 80px;
}

.countdown__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1;
  margin-bottom: 4px;
}

.countdown__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-secondary);
}

.countdown__live {
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clr-white);
  animation: pulse 2s ease-in-out infinite;
}

.countdown__live.active {
  display: flex;
}

.countdown.ended .countdown__block {
  display: none;
}

.countdown.ended .countdown__live {
  display: flex;
}

/* Dark variant for form section */
.countdown--dark .countdown__block {
  background: rgba(139, 34, 82, 0.1);
  border-color: rgba(139, 34, 82, 0.2);
}

.countdown--dark .countdown__number {
  color: var(--clr-primary);
}

.countdown--dark .countdown__label {
  color: var(--clr-text-light);
}

.countdown--dark .countdown__live {
  color: var(--clr-primary);
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

/* ====================================
   SECTION 2 — PAIN / IDENTIFICATION
   ==================================== */
.pain {
  padding: var(--section-padding);
  background-color: var(--clr-bg);
}

.pain__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.pain__intro {
  font-size: 1.15rem;
  color: var(--clr-text-light);
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.pain__list {
  list-style: none;
  text-align: left;
  max-width: 600px;
  margin: 0 auto 48px;
}

.pain__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(139, 34, 82, 0.08);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--clr-text);
}

.pain__item:last-child {
  border-bottom: none;
}

.pain__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(211, 84, 0, 0.1);
  color: var(--clr-error);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 2px;
}

.pain__closing {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--clr-primary);
  line-height: 1.6;
  max-width: 550px;
  margin: 0 auto;
}

/* ====================================
   SECTION 3 — WHAT YOU'LL LEARN
   ==================================== */
.learn {
  padding: var(--section-padding);
  background-color: var(--clr-bg-alt);
}

.learn__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.learn__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.learn__card {
  background: var(--clr-white);
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-medium);
  border: 1px solid rgba(139, 34, 82, 0.06);
  position: relative;
  overflow: hidden;
}

.learn__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.learn__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.learn__card:hover::before {
  opacity: 1;
}

.learn__card-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--clr-secondary);
  opacity: 0.7;
  line-height: 1;
  margin-bottom: 16px;
}

.learn__card-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--clr-text);
}

.learn__live {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}

.learn__live-heading {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--clr-primary);
  margin-bottom: 32px;
}

.learn__checklist {
  list-style: none;
  text-align: left;
  max-width: 550px;
  margin: 0 auto;
}

.learn__check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--clr-text);
}

.learn__check-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(184, 134, 11, 0.12);
  color: var(--clr-success);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 2px;
}

.learn__cta {
  text-align: center;
  margin-top: 48px;
}

/* ====================================
   SECTION 4 — TESTIMONIALS
   ==================================== */
.testimonials {
  padding: var(--section-padding);
  background-color: var(--clr-bg);
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 167, 106, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.testimonials__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--clr-white);
  border-radius: 20px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-medium);
  border: 1px solid rgba(139, 34, 82, 0.06);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-card img {
  border-radius: 14px;
  width: 100%;
  height: auto;
}

.testimonial-card__caption {
  padding: 12px 8px 4px;
  font-size: 0.9rem;
  color: var(--clr-text-light);
  text-align: center;
  font-style: italic;
}

/* ====================================
   SECTION 5 — WHO IS THIS FOR
   ==================================== */
.for-you {
  padding: var(--section-padding);
  background-color: var(--clr-bg-alt);
}

.for-you__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.for-you__list {
  list-style: none;
  text-align: left;
  max-width: 600px;
  margin: 0 auto 48px;
}

.for-you__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(139, 34, 82, 0.08);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--clr-text);
}

.for-you__item:last-child {
  border-bottom: none;
}

.for-you__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-light));
  color: var(--clr-white);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 2px;
}

.for-you__closing {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--clr-primary);
  line-height: 1.6;
  max-width: 550px;
  margin: 0 auto;
}

/* ====================================
   SECTION 6 — MID-PAGE CTA
   ==================================== */
.mid-cta {
  padding: 80px 24px;
  background: linear-gradient(135deg, #5c1a3a, #8B2252, #a82c66);
  position: relative;
  overflow: hidden;
}

.mid-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 167, 106, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.mid-cta::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.mid-cta__inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.mid-cta__heading {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--clr-white);
  margin-bottom: 20px;
}

.mid-cta__text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 36px;
}

.mid-cta .btn-primary {
  background: linear-gradient(135deg, var(--clr-secondary), #c4935a);
  box-shadow: 0 4px 20px rgba(212, 167, 106, 0.4);
}

.mid-cta .btn-primary:hover {
  background: linear-gradient(135deg, #c4935a, var(--clr-secondary));
  box-shadow: 0 6px 30px rgba(212, 167, 106, 0.5);
}

/* ====================================
   SECTION 7 — ABOUT PAULA
   ==================================== */
.about {
  padding: var(--section-padding);
  background-color: var(--clr-bg);
}

.about__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 60px;
  align-items: center;
}

.about__image-wrapper {
  position: relative;
}

.about__image-wrapper img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.about__image-wrapper::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border: 2px solid var(--clr-secondary);
  border-radius: 20px;
  opacity: 0.3;
  pointer-events: none;
  z-index: -1;
}

.about__content {
  text-align: left;
}

.about__bio {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--clr-text-light);
  margin-bottom: 24px;
}

.about__credibility {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--clr-primary);
  line-height: 1.6;
  padding-left: 20px;
  border-left: 3px solid var(--clr-secondary);
}

/* ====================================
   SECTION 8 — FINAL CTA / FORM
   ==================================== */
.final-cta {
  padding: var(--section-padding);
  background: linear-gradient(180deg, var(--clr-bg-alt), var(--clr-bg));
}

.final-cta__inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.final-cta__heading {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--clr-primary);
  margin-bottom: 16px;
}

.final-cta__text {
  font-size: 1.1rem;
  color: var(--clr-text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.final-cta__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--clr-text);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.final-cta__meta-separator {
  color: var(--clr-secondary);
  opacity: 0.5;
}

/* --- Registration Form --- */
.form-card {
  background: var(--clr-white);
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(139, 34, 82, 0.06);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--clr-text);
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--clr-text);
  background: var(--clr-bg);
  border: 2px solid rgba(139, 34, 82, 0.12);
  border-radius: 10px;
  transition: all var(--transition-fast);
}

.form-group input::placeholder {
  color: var(--clr-text-muted);
}

.form-group input:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 4px rgba(139, 34, 82, 0.1);
}

.form-group input.error {
  border-color: var(--clr-error-light);
  box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
}

.form-error {
  display: none;
  font-size: 0.85rem;
  color: var(--clr-error-light);
  margin-top: 6px;
}

.form-group input.error+.form-error {
  display: block;
}

/* GDPR checkbox */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  text-align: left;
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--clr-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.form-checkbox label {
  font-size: 0.85rem;
  color: var(--clr-text-light);
  line-height: 1.5;
  cursor: pointer;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-reassurance {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  margin-top: 20px;
}

/* Loading spinner */
.btn-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-right: 10px;
}

.btn.loading .btn-spinner {
  display: inline-block;
}

.btn.loading {
  pointer-events: none;
  opacity: 0.8;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 24px 16px;
}

.form-success.active {
  display: block;
  animation: fadeIn 0.5s ease forwards;
}

.form-success__heading {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--clr-primary);
  margin-bottom: 24px;
}

.success-step {
  margin-top: 24px;
  text-align: left;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(139, 34, 82, 0.1);
  background: var(--clr-white);
}

.success-step--highlight {
  background: rgba(139, 34, 82, 0.04);
}

.success-step__number {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--clr-primary);
  font-family: var(--font-heading);
  font-weight: 700;
}

.success-step__title {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1.05rem;
  color: var(--clr-text);
  text-transform: uppercase;
}

.success-step__desc {
  color: var(--clr-text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.success-step__footer {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  margin-top: 16px;
  line-height: 1.5;
}

.btn-whatsapp {
  background: #25D366;
  color: var(--clr-white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  display: block;
  width: 100%;
}

.btn-whatsapp:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
  color: var(--clr-white);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.calendar-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.btn-calendar {
  width: 100%;
  font-size: 0.95rem;
  padding: 14px 20px;
  background: var(--clr-text);
  color: var(--clr-white);
  box-shadow: 0 4px 15px rgba(45, 45, 45, 0.2);
}

.btn-calendar:hover {
  background: #1a1a1a;
  color: var(--clr-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 45, 45, 0.3);
}

.btn-calendar--outline {
  background: transparent;
  color: var(--clr-text);
  border: 2px solid var(--clr-text);
  box-shadow: none;
}

.btn-calendar--outline:hover {
  background: rgba(45, 45, 45, 0.05);
  color: var(--clr-text);
  box-shadow: none;
}

/* ====================================
   FOOTER
   ==================================== */
.footer {
  padding: 30px 24px;
  background: var(--clr-text);
  text-align: center;
}

.footer__text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__text a {
  color: rgba(255, 255, 255, 0.8);
}

.footer__text a:hover {
  color: var(--clr-secondary);
}

/* ====================================
   RESPONSIVE — TABLET (≤ 1024px)
   ==================================== */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero__content {
    text-align: center;
  }

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

  .hero__meta {
    justify-content: center;
  }

  .hero__cta {
    text-align: center;
  }

  .countdown {
    justify-content: center;
  }

  .hero__image img,
  .hero__image video {
    margin: 0 auto;
    max-width: 400px;
  }

  .hero__image::before,
  .hero__image::after {
    display: none;
  }

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

  .about__image-wrapper {
    max-width: 360px;
    margin: 0 auto;
  }

  .about__content {
    text-align: center;
  }

  .about__credibility {
    border-left: none;
    padding-left: 0;
    border-top: 3px solid var(--clr-secondary);
    padding-top: 20px;
  }
}

/* ====================================
   RESPONSIVE — MOBILE (≤ 768px)
   ==================================== */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 16px;
  }

  html {
    scroll-padding-top: 50px;
  }

  /* Top bar */
  .top-bar {
    height: auto;
    padding: 8px 16px;
  }

  .top-bar__inner {
    flex-direction: column;
    gap: 6px;
    padding: 4px 0;
  }

  .top-bar__date {
    font-size: 0.75rem;
  }

  .btn-topbar {
    padding: 8px 18px;
    font-size: 0.78rem;
    width: 100%;
  }

  /* Hero */
  .hero {
    padding: 100px 16px 60px;
    min-height: auto;
  }

  .hero__headline {
    font-size: 2.2rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__meta {
    font-size: 0.9rem;
    gap: 8px;
  }

  .hero__meta-separator {
    display: none;
  }

  .hero__meta-item {
    width: 100%;
    justify-content: center;
  }

  .btn-large {
    padding: 16px 32px;
    font-size: 1rem;
    width: 100%;
    display: block;
  }

  /* Countdown */
  .countdown__block {
    padding: 12px 14px;
    min-width: 65px;
  }

  .countdown__number {
    font-size: 1.5rem;
  }

  .countdown__label {
    font-size: 0.6rem;
  }

  /* Section headings */
  .section-heading {
    font-size: 1.7rem;
    margin-bottom: 28px;
  }

  /* Learn cards */
  .learn__cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .learn__card {
    padding: 28px 20px;
  }

  /* Testimonials */
  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* For you section */
  .for-you__item {
    font-size: 1rem;
  }

  /* Mid CTA */
  .mid-cta {
    padding: 60px 16px;
  }

  .mid-cta__heading {
    font-size: 1.7rem;
  }

  /* About */
  .about__image-wrapper {
    max-width: 280px;
  }

  /* Form */
  .form-card {
    padding: 32px 20px;
    border-radius: 16px;
  }

  .form-group input {
    padding: 14px 16px;
  }

  /* Final CTA */
  .final-cta__heading {
    font-size: 1.7rem;
  }

  .final-cta__meta {
    font-size: 0.9rem;
    gap: 10px;
  }

  .final-cta__meta-separator {
    display: none;
  }
}

/* ====================================
   FOCUS & ACCESSIBILITY
   ==================================== */
*:focus-visible {
  outline: 3px solid var(--clr-secondary);
  outline-offset: 3px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--clr-secondary);
  outline-offset: 3px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn::after {
    display: none;
  }

  .countdown__live {
    animation: none;
  }

  .btn-spinner {
    animation-duration: 1.5s;
  }
}