/* =========================================
   Sessão Individual — Checkout Pages
   Shared Stylesheet
   ========================================= */

/* --- Google Fonts loaded via <link> in HTML --- */

/* --- CSS Custom Properties --- */
:root {
  /* Colors — same palette as webinar page */
  --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;
}

body.modal-open {
  overflow: 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 --- */
.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;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--clr-primary);
  color: var(--clr-white);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 0 0 8px 8px;
  transition: top var(--transition-fast);
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
  color: var(--clr-white);
}

/* --- 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-large {
  padding: 20px 56px;
  font-size: 1.15rem;
}

/* ====================================
   STICKY TOP BAR (branding only)
   ==================================== */
.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: 10px 24px;
}

.top-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 56px;
}

.top-bar__brand {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-decoration: none;
  white-space: nowrap;
}

.top-bar__brand:hover {
  color: var(--clr-secondary);
}

.btn-topbar {
  padding: 10px 22px;
  font-size: 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* ====================================
   HERO SECTION — INFO PAGE
   ==================================== */
.hero {
  position: relative;
  min-height: min(100vh, 920px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 112px 24px 56px;
  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.2rem;
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1.2;
  margin-bottom: 28px;
}

.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.8;
  margin-bottom: 36px;
  max-width: 540px;
}

.limit-alert {
  border-radius: 18px;
  border: 1px solid rgba(212, 167, 106, 0.32);
  box-shadow: var(--shadow-md);
}

.limit-alert__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.limit-alert__text {
  font-size: 1rem;
  line-height: 1.65;
}

.limit-alert__text strong {
  white-space: nowrap;
}

.limit-alert--checkout {
  margin: 0 auto 28px;
  padding: 18px 22px;
  max-width: 560px;
  background: linear-gradient(135deg, rgba(212, 167, 106, 0.18), rgba(139, 34, 82, 0.08));
  color: var(--clr-text);
  text-align: center;
}

.limit-alert--checkout .limit-alert__eyebrow {
  color: var(--clr-primary);
}

.limit-alert--checkout .limit-alert__text {
  color: var(--clr-text);
}

/* Benefit bullets */
.hero__benefits {
  list-style: none;
  margin-bottom: 40px;
}

.hero__benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.hero__benefit-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 167, 106, 0.2);
  color: var(--clr-secondary);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 2px;
}

/* Details line */
.hero__details {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero__detail-badge {
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Price block */
.hero__price {
  margin-bottom: 20px;
}

.hero__cta {
  margin-bottom: 28px;
}

.hero__price-label {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--clr-secondary);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hero__price-availability {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(212, 167, 106, 0.16);
  border: 1px solid rgba(212, 167, 106, 0.28);
  color: var(--clr-white);
  font-size: 0.72rem;
  letter-spacing: 1.4px;
  box-shadow: 0 0 0 rgba(212, 167, 106, 0);
  animation: heroAvailabilityPulse 2.6s ease-in-out infinite;
}

@keyframes heroAvailabilityPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 0 0 rgba(212, 167, 106, 0);
    background: rgba(212, 167, 106, 0.16);
  }

  50% {
    transform: translateY(-1px);
    box-shadow: 0 0 0 8px rgba(212, 167, 106, 0.08);
    background: rgba(212, 167, 106, 0.24);
  }
}

.hero__price-value {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1;
}

.hero__price-original {
  font-family: var(--font-body);
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: line-through;
  margin-left: 12px;
  font-weight: 400;
}

/* Hero image */
.hero__image {
  position: relative;
}

.hero__image img {
  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;
  object-position: center top;
  aspect-ratio: 4 / 5;
}

.thank-you-hero {
  min-height: auto;
  padding-bottom: 72px;
}

.thank-you-hero__inner {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 44px;
}

.thank-you-hero__subtitle {
  max-width: 620px;
}

.thank-you-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.thank-you-card {
  padding: 34px 30px;
  background: rgba(255, 248, 245, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(19, 6, 12, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.thank-you-card__eyebrow {
  margin-bottom: 18px;
  color: var(--clr-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.thank-you-card__list {
  display: grid;
  gap: 18px;
}

.thank-you-card__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.thank-you-card__item:first-child {
  padding-top: 0;
  border-top: 0;
}

.thank-you-card__number {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(212, 167, 106, 0.16);
  border: 1px solid rgba(212, 167, 106, 0.28);
  color: var(--clr-secondary);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.thank-you-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--clr-white);
  margin-bottom: 6px;
}

.thank-you-card__text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.7;
}

.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;
}

.mobile-promo-bar {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 1200;
  display: block;
  width: min(720px, calc(100vw - 32px));
  padding: 10px 14px 12px;
  border-radius: 18px;
  background: rgba(61, 18, 41, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.cookie-banner-visible .mobile-promo-bar {
  bottom: 116px;
}

.mobile-promo-bar__eyebrow {
  margin-bottom: 8px;
  color: var(--clr-secondary-light);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-align: center;
  text-transform: uppercase;
}

.mobile-promo-bar__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.mobile-promo-bar__block {
  padding: 8px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
}

.mobile-promo-bar__number {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--clr-white);
  margin-bottom: 3px;
}

.mobile-promo-bar__label {
  color: var(--clr-secondary);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.mobile-promo-bar__ended {
  display: none;
  margin-top: 8px;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--clr-secondary-light);
  font-weight: 600;
}

.mobile-promo-bar.is-ended .mobile-promo-bar__row {
  display: none;
}

.mobile-promo-bar.is-ended .mobile-promo-bar__ended {
  display: block;
}

/* ====================================
   CLOSING LINE + CTA SECTION
   ==================================== */
.closing {
  padding: 48px 24px 56px;
  background: linear-gradient(180deg, var(--clr-bg-alt), var(--clr-bg));
  text-align: center;
}

.closing__inner {
  max-width: 700px;
  margin: 0 auto;
}

.closing__text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--clr-primary);
  line-height: 1.6;
  margin-bottom: 48px;
}

/* ====================================
   CHECKOUT PAGE — MAIN SECTION
   ==================================== */
.checkout {
  padding: 100px 24px 100px;
  background: linear-gradient(180deg, var(--clr-bg-alt), var(--clr-bg));
}

.checkout__inner {
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.checkout__heading {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--clr-primary);
  margin-bottom: 12px;
  text-align: center;
}

.checkout__subtext {
  font-size: 1.05rem;
  color: var(--clr-text-light);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* Order summary card */
.checkout-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;
}

.checkout-card__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(139, 34, 82, 0.08);
}

.checkout-card__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--clr-text);
  line-height: 1.4;
}

.checkout-card__details {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  margin-top: 4px;
}

.checkout-card__price {
  text-align: right;
  flex-shrink: 0;
  margin-left: 24px;
}

.checkout-card__price-current {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--clr-primary);
  line-height: 1;
}

.checkout-card__price-original {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  text-decoration: line-through;
  margin-top: 4px;
}

.checkout-card__btn {
  width: 100%;
  margin-bottom: 20px;
}

.checkout-card__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  margin-bottom: 20px;
}

.checkout-card__secure-icon {
  font-size: 1rem;
}

/* Form Styles */
.checkout-card__form {
  text-align: left;
}

.thank-you-details {
  padding: 96px 24px 110px;
  background: linear-gradient(180deg, var(--clr-bg-alt), var(--clr-bg));
}

.thank-you-details__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.thank-you-details__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.thank-you-step {
  padding: 30px 26px;
  background: var(--clr-white);
  border-radius: 22px;
  border: 1px solid rgba(139, 34, 82, 0.08);
  box-shadow: var(--shadow-md);
}

.thank-you-step__number {
  margin-bottom: 16px;
  color: var(--clr-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.thank-you-step__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--clr-primary);
  margin-bottom: 12px;
}

.thank-you-step__text {
  color: var(--clr-text-light);
  font-size: 1rem;
  line-height: 1.75;
}

.thank-you-note {
  margin: 30px auto 0;
  padding: 20px 24px;
  max-width: 700px;
  text-align: center;
  background: linear-gradient(135deg, rgba(212, 167, 106, 0.18), rgba(139, 34, 82, 0.08));
}

/* ====================================
   FAQ
   ==================================== */
.faq {
  margin-top: 36px;
}

.faq__header {
  max-width: 680px;
  margin: 0 auto 24px;
  text-align: center;
}

.faq__heading {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--clr-primary);
  margin-bottom: 10px;
}

.faq__intro {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--clr-text-light);
}

.faq__list {
  display: grid;
  gap: 14px;
}

.faq__item {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(139, 34, 82, 0.1);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq__question {
  position: relative;
  display: block;
  padding: 22px 56px 22px 24px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--clr-text);
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: '+';
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--clr-primary);
  transition: transform var(--transition-fast);
}

.faq__item[open] .faq__question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq__answer {
  padding: 0 24px 22px;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--clr-text-light);
}

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

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

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

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

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

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--clr-text-muted);
  cursor: pointer;
}

.form-checkbox.form-checkbox--error {
  color: var(--clr-text);
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--clr-primary);
  flex-shrink: 0;
}

.form-checkbox input.error {
  outline: 2px solid rgba(231, 76, 60, 0.45);
  outline-offset: 2px;
}

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

.form-error.visible {
  display: block;
}

.form-meta-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-checkbox__text a {
  color: var(--clr-primary);
  text-decoration: underline;
  text-decoration-color: rgba(139, 34, 82, 0.3);
  text-underline-offset: 2px;
}

.form-checkbox__text a:hover {
  text-decoration-color: var(--clr-primary);
}

.terms-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  color: var(--clr-primary);
  text-decoration: underline;
  text-decoration-color: rgba(139, 34, 82, 0.3);
  text-underline-offset: 2px;
  cursor: pointer;
}

.terms-trigger:hover {
  text-decoration-color: var(--clr-primary);
}

/* ====================================
   TERMS MODAL
   ==================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(26, 10, 16, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal {
  width: min(960px, 100%);
  height: min(86vh, 900px);
  display: flex;
  flex-direction: column;
  background: var(--clr-white);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: rgba(139, 34, 82, 0.04);
  border-bottom: 1px solid rgba(139, 34, 82, 0.1);
}

.modal__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--clr-primary);
}

.modal__close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(139, 34, 82, 0.08);
  color: var(--clr-primary);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.modal__body {
  flex: 1;
  min-height: 0;
}

.modal__iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--clr-white);
}

/* ====================================
   TERMS PAGE
   ==================================== */
.terms {
  padding: 120px 24px 80px;
}

.terms__inner {
  max-width: 800px;
  margin: 0 auto;
}

.terms__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: 48px;
  text-align: center;
}

.terms__section-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--clr-primary);
  margin-top: 56px;
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(212, 167, 106, 0.3);
}

.terms__clause {
  margin-bottom: 32px;
}

.terms__clause-heading {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 8px;
}

.terms__clause-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--clr-text-light);
}

.terms__clause-text a {
  color: var(--clr-primary);
  text-decoration: underline;
}

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

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}

.footer__logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer__logo {
  width: min(220px, 58vw);
  height: auto;
  display: block;
}

.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);
}

.footer__social-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer__social-link:hover,
.footer__social-link:focus-visible {
  color: var(--clr-secondary);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.footer__social-icon {
  width: 20px;
  height: 20px;
}

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

  .hero__content {
    text-align: center;
  }

  .thank-you-hero__actions {
    justify-content: center;
  }

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

  .hero__benefits {
    text-align: left;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
  }

  .hero__details {
    justify-content: center;
  }

  .hero__price {
    text-align: center;
  }

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

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

  .thank-you-hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .mobile-promo-bar {
    width: min(640px, calc(100vw - 32px));
  }

}

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

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

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

  .top-bar__inner {
    flex-direction: row;
    justify-content: center;
  }

  .top-bar__brand {
    display: none;
  }

  .mobile-promo-bar {
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    transform: none;
    width: auto;
    padding: 8px 10px 10px;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  }

  body.cookie-banner-visible .mobile-promo-bar {
    bottom: calc(206px + env(safe-area-inset-bottom, 0px));
  }

  .footer {
    padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-promo-bar__eyebrow {
    margin-bottom: 6px;
    font-size: 0.58rem;
    letter-spacing: 1.2px;
  }

  .mobile-promo-bar__row {
    gap: 6px;
  }

  .mobile-promo-bar__block {
    padding: 7px 4px;
    border-radius: 9px;
  }

  .mobile-promo-bar__number {
    font-size: 0.98rem;
    margin-bottom: 2px;
  }

  .mobile-promo-bar__label {
    font-size: 0.52rem;
  }

  .mobile-promo-bar__ended {
    font-size: 0.68rem;
    line-height: 1.35;
  }

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

  .hero__headline {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .limit-alert {
    border-radius: 16px;
  }

  .limit-alert__eyebrow {
    margin-bottom: 8px;
    font-size: 0.66rem;
    letter-spacing: 1.5px;
  }

  .limit-alert__text {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .limit-alert--hero,
  .limit-alert--checkout {
    padding: 16px 16px;
  }

  .hero__price-label {
    justify-content: center;
  }

  .hero__price-availability {
    font-size: 0.68rem;
    letter-spacing: 1.2px;
  }

  .hero__price-value {
    font-size: 2.8rem;
  }

  .hero__price-original {
    font-size: 1.1rem;
  }

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

  .thank-you-hero__actions {
    width: 100%;
  }

  .thank-you-card {
    padding: 26px 20px;
    border-radius: 18px;
  }

  .thank-you-card__item {
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }

  .thank-you-card__number {
    width: 40px;
    height: 40px;
    font-size: 1.05rem;
  }

  .thank-you-card__title {
    font-size: 1.08rem;
  }

  /* Closing */
  .closing {
    padding: 40px 16px 44px;
  }

  .closing__text {
    font-size: 1.25rem;
  }

  /* Checkout */
  .checkout {
    padding: 90px 16px 60px;
  }

  .checkout__heading {
    font-size: 1.6rem;
  }

  .checkout-card {
    padding: 32px 20px;
    border-radius: 16px;
  }

  .thank-you-details {
    padding: 72px 16px 80px;
  }

  .thank-you-details__grid {
    grid-template-columns: 1fr;
  }

  .thank-you-step {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .faq {
    margin-top: 28px;
  }

  .faq__heading {
    font-size: 1.55rem;
  }

  .faq__question {
    padding: 18px 48px 18px 18px;
    font-size: 0.96rem;
  }

  .faq__question::after {
    right: 18px;
  }

  .faq__answer {
    padding: 0 18px 18px;
    font-size: 0.94rem;
  }

  .checkout-card__summary {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .checkout-card__price {
    text-align: center;
    margin-left: 0;
  }

  /* Terms */
  .terms {
    padding: 90px 16px 60px;
  }

  .modal-backdrop {
    padding: 12px;
  }

  .modal {
    height: min(88vh, 900px);
    border-radius: 16px;
  }

  .modal__header {
    padding: 14px 16px;
  }

  .modal__title {
    font-size: 1.2rem;
  }

  .terms__title {
    font-size: 1.8rem;
  }

  .terms__section-title {
    font-size: 1.4rem;
  }
}

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

/* ====================================
   COOKIE CONSENT BANNER
   ==================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2100;
  padding: 20px 24px;
  background: rgba(26, 10, 16, 0.95);
  border-top: 1px solid rgba(212, 167, 106, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(100%);
  animation: cookieSlideUp 0.5s ease 0.5s forwards;
}

.cookie-banner.hidden {
  display: none;
}

@keyframes cookieSlideUp {
  to {
    transform: translateY(0);
  }
}

.cookie-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner__text {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.cookie-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  padding: 12px 28px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.cookie-banner__btn--reject {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: none;
}

.cookie-banner__btn--reject:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.95);
  box-shadow: none;
}

@media (max-width: 768px) {
  .cookie-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner__actions {
    width: 100%;
    justify-content: center;
  }

  .cookie-banner__btn {
    flex: 1;
    max-width: 180px;
  }
}

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

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

  .btn::after {
    display: none;
  }

  .cookie-banner {
    animation: none;
    transform: translateY(0);
  }

  .hero__price-availability {
    animation: none;
  }
}
