/* ═══════════════════════════════════════════════════════
   RH Senior Academy — Landing System
   Extends style.css  |  Páginas públicas e de vendas
   Não alterar: lógica, auth, checkout, banco de dados.
═══════════════════════════════════════════════════════ */

/* ─── Extended Design Tokens ────────────────────────── */
:root {
  /* Neutrals */
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Brand extended */
  --blue-dark:    #0f2247;
  --blue-50:      #eff6ff;
  --orange-dark:  #c44f00;
  --orange-50:    #fff7ed;

  /* Section backgrounds */
  --section-white: #ffffff;
  --section-light: #f8fafc;
  --section-dark:  #0f2247;

  /* Fluid type scale */
  --heading-xl: clamp(2rem,   5vw, 3.5rem);
  --heading-lg: clamp(1.5rem, 3.5vw, 2.5rem);
  --heading-md: clamp(1.2rem, 2.5vw, 1.75rem);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(30,60,114,.12);
  --shadow-lg: 0 12px 40px rgba(30,60,114,.18);
  --shadow-xl: 0 24px 64px rgba(30,60,114,.22);

  /* Spacing */
  --section-py:    5rem;
  --section-py-sm: 3rem;

  /* Transitions */
  --t: .2s ease;
  --t-slow: .4s ease;
}

/* ─── Section Layout ────────────────────────────────── */
.section    { padding: var(--section-py) 0; }
.section-sm { padding: var(--section-py-sm) 0; }
.section-white    { background: var(--section-white); }
.section-light    { background: var(--section-light); }
.section-dark     { background: var(--section-dark); color: #fff; }
.section-gradient {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  color: #fff;
}

/* ─── Section Typography ────────────────────────────── */
.section-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .75rem;
}
.section-title {
  font-size: var(--heading-lg);
  font-weight: 800;
  line-height: 1.15;
  color: var(--blue);
  margin-bottom: 1rem;
}
.section-title.light { color: #fff; }
.section-lead {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 0;
}
.section-lead.light { color: rgba(255,255,255,.78); }

/* ─── Hero ──────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 55%, var(--blue-mid) 100%);
  color: #fff;
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero-video { background: var(--blue-dark); }
.hero.hero-video::after { background: rgba(30, 60, 114, 0.1); }
.hero.hero-video.hero-course::after { background: rgba(15, 34, 71, 0.62); }
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 60, 114, 0.85);
  pointer-events: none;
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; }
.hero-wave { position: relative; z-index: 2; line-height: 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: .4rem 1.1rem;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.92);
  margin-bottom: 1.75rem;
  backdrop-filter: blur(4px);
}
.hero-badge i { color: var(--orange); }

.hero-title {
  font-size: var(--heading-xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-title .highlight { color: var(--orange); }

.hero-subtitle {
  font-size: 1.15rem;
  opacity: .85;
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
  flex-wrap: wrap;
}
.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.62);
  margin-top: .2rem;
}

/* ─── Buttons CTA ───────────────────────────────────── */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: linear-gradient(135deg, var(--orange) 0%, #f48c06 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: .85rem 2rem;
  border-radius: 10px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), opacity var(--t);
  box-shadow: 0 4px 20px rgba(232,93,4,.35);
  white-space: nowrap;
}
.btn-cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232,93,4,.45);
  opacity: .95;
}
.btn-cta:active { transform: translateY(0); }
.btn-cta.lg {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border-radius: 12px;
}
.btn-cta.xl {
  font-size: 1.15rem;
  padding: 1.1rem 3rem;
  border-radius: 12px;
  box-shadow: 0 6px 28px rgba(232,93,4,.4);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: .85rem 2rem;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,.38);
  text-decoration: none;
  transition: all var(--t);
  white-space: nowrap;
}
.btn-outline-white:hover {
  color: #fff;
  border-color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.1);
}

.btn-outline-blue {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: transparent;
  color: var(--blue);
  font-weight: 600;
  font-size: 1rem;
  padding: .85rem 2rem;
  border-radius: 10px;
  border: 2px solid var(--blue-mid);
  text-decoration: none;
  transition: all var(--t);
  white-space: nowrap;
}
.btn-outline-blue:hover {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

/* ─── Navbar Pública ────────────────────────────────── */
.navbar-public {
  background: rgba(10,24,58,.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 1030;
  border-bottom: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 4px 32px rgba(0,0,0,.35);
  padding: 0 1rem;
  min-height: 64px;
}
.navbar-public .navbar-brand img { height: 36px; width: auto; }
.navbar-public .navbar-nav { align-items: center; gap: .1rem; }
.navbar-public .nav-link {
  color: rgba(255,255,255,.65) !important;
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .55rem 1rem !important;
  border-radius: 8px;
  transition: background var(--t), color var(--t);
  position: relative;
}
.navbar-public .nav-link:hover {
  color: #fff !important;
  background: rgba(255,255,255,.09);
}
.navbar-public .nav-link.active {
  color: #fff !important;
  background: rgba(255,255,255,.12);
}
/* Divisores verticais entre itens */
.navbar-public .nav-sep {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,.16);
  flex-shrink: 0;
  margin: 0 .2rem;
}
.navbar-public .navbar-toggler { border: none; outline: none; box-shadow: none; }
.navbar-public .navbar-toggler-icon { filter: invert(1); }
.navbar-public .navbar-collapse { justify-content: flex-end; }
/* Entrar link */
.navbar-public .nav-login {
  color: rgba(255,255,255,.65) !important;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .5rem .85rem !important;
  border-radius: 8px;
  text-decoration: none;
  transition: background var(--t), color var(--t);
}
.navbar-public .nav-login:hover { color: #fff !important; background: rgba(255,255,255,.09); }

/* ─── Trust Bar ─────────────────────────────────────── */
.trust-bar {
  background: var(--gray-900);
  padding: .85rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.trust-bar-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-bar-item {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
  white-space: nowrap;
}
.trust-bar-item i { color: var(--orange); font-size: .8rem; }

/* ─── Cards de Curso (públicos) ─────────────────────── */
.course-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform var(--t), box-shadow var(--t);
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.course-card-cover {
  height: 190px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.course-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.course-card-cover .cover-icon {
  font-size: 3.5rem;
  color: rgba(255,255,255,.65);
}
.course-card-tag {
  position: absolute;
  top: .75rem;
  left: .75rem;
  background: var(--orange);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .28rem .7rem;
  border-radius: 50px;
}
.course-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.course-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: .5rem;
  line-height: 1.35;
}
.course-card-body p {
  font-size: .875rem;
  color: var(--gray-500);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}
.course-card-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.course-card-meta span {
  font-size: .78rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: .3rem;
}
.course-card-meta i { color: var(--orange); }

.course-card-price {
  margin-bottom: 1.25rem;
}
.course-card-price .price-from {
  font-size: .78rem;
  color: var(--gray-400);
  text-decoration: line-through;
  display: block;
  margin-bottom: .1rem;
}
.course-card-price .price-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.course-card-price .price-install {
  font-size: .78rem;
  color: var(--gray-500);
  margin-top: .2rem;
}

/* ─── Feature / Diferencial Card ───────────────────── */
.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-md);
  height: 100%;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  border-bottom: 3px solid transparent;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--orange);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.feature-icon.orange { background: linear-gradient(135deg, var(--orange), #f48c06); }
.feature-icon.teal   { background: linear-gradient(135deg, #0d9488, #0891b2); }
.feature-icon.violet { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.feature-icon.green  { background: linear-gradient(135deg, #059669, #10b981); }
.feature-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: .5rem;
  line-height: 1.3;
}
.feature-card p {
  font-size: .875rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin: 0;
}

/* ─── Checklist ─────────────────────────────────────── */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .5rem 0;
  font-size: .9rem;
  color: var(--gray-700);
  line-height: 1.5;
}
.checklist li i {
  color: var(--orange);
  font-size: .9rem;
  flex-shrink: 0;
  margin-top: .1rem;
}
.checklist.white li { color: rgba(255,255,255,.88); }
.checklist.white li i { color: #fbbf24; }

/* ─── Accordion FAQ ─────────────────────────────────── */
.accordion-landing .accordion-item {
  border: 1px solid var(--gray-200);
  border-radius: 12px !important;
  margin-bottom: .65rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.accordion-landing .accordion-button {
  font-weight: 600;
  font-size: .95rem;
  color: var(--gray-800);
  background: #fff;
  padding: 1.1rem 1.4rem;
  box-shadow: none;
}
.accordion-landing .accordion-button:not(.collapsed) {
  color: var(--blue);
  background: var(--blue-50);
  box-shadow: none;
}
.accordion-landing .accordion-button:focus { box-shadow: none; }
.accordion-landing .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231e3c72'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.accordion-landing .accordion-body {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.7;
  padding: 1rem 1.4rem 1.3rem;
  background: #fff;
}

/* ─── Accordion de Módulos (p/ curso individual) ────── */
.accordion-modules .accordion-item {
  border: none;
  border-radius: 12px !important;
  margin-bottom: .65rem;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.accordion-modules .accordion-button {
  font-weight: 700;
  font-size: .95rem;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  padding: 1.1rem 1.4rem;
  box-shadow: none;
}
.accordion-modules .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff;
  box-shadow: none;
}
.accordion-modules .accordion-button:focus { box-shadow: none; }
.accordion-modules .accordion-button::after {
  filter: brightness(0) invert(1);
}
.accordion-modules .accordion-body {
  padding: .75rem 1rem;
  background: #fff;
}
.module-lesson-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem .5rem;
  font-size: .875rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  line-height: 1.4;
}
.module-lesson-row:last-child { border-bottom: none; }
.module-lesson-row i {
  color: var(--orange);
  width: 16px;
  text-align: center;
  flex-shrink: 0;
  font-size: .85rem;
}
.module-lesson-duration {
  margin-left: auto;
  font-size: .75rem;
  color: var(--gray-400);
  flex-shrink: 0;
}

/* ─── Pricing Card ──────────────────────────────────── */
.pricing-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--gray-200);
  position: relative;
  transition: transform var(--t), border-color var(--t);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured {
  border-color: var(--orange);
  transform: scale(1.02);
}
.pricing-card.featured:hover { transform: scale(1.02) translateY(-4px); }

/* ─── Combo Pricing Card — estilo "Invista na sua carreira" ── */
.combo-pricing-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 2px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform var(--t), border-color var(--t);
}
.combo-pricing-card:hover { transform: translateY(-4px); }
.combo-pricing-card.featured { border-color: var(--orange); }
.combo-pricing-head {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 1.75rem 2rem;
  color: #fff;
}
.combo-pricing-eyebrow {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: .4rem;
}
.combo-pricing-title {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: .5rem;
}
.combo-pricing-desc {
  font-size: .83rem;
  color: rgba(255,255,255,.72);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.combo-pricing-body {
  padding: 1.75rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.combo-pricing-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .85rem;
}
.combo-pricing-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange), #f48c06);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .22rem .85rem;
  border-radius: 50px;
  white-space: nowrap;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--orange), #f48c06);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: .3rem 1.2rem;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(232,93,4,.35);
}
.pricing-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: .35rem;
}
.pricing-description {
  font-size: .82rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.pricing-price { margin: 1.25rem 0; }
.pricing-price .from {
  font-size: .78rem;
  color: var(--gray-400);
  text-decoration: line-through;
  display: block;
  margin-bottom: .15rem;
}
.pricing-price .value {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.pricing-price .period {
  font-size: .85rem;
  color: var(--gray-500);
  margin-left: .1rem;
}
.pricing-price .installments {
  font-size: .8rem;
  color: var(--gray-500);
  margin-top: .3rem;
}
.pricing-divider {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 1.5rem 0;
}
.pricing-card .btn-cta { width: 100%; justify-content: center; margin-top: auto; }

/* ─── Instructor Section ────────────────────────────── */
.section-instructor {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  overflow: hidden;
  color: #fff;
  position: relative;
}
.section-instructor .container { position: relative; }
.instructor-content {
  padding: var(--section-py) 3rem var(--section-py) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.instructor-name {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: .75rem;
  color: #fff;
}
.instructor-lead {
  font-size: 1rem;
  font-weight: 600;
  color: var(--orange);
  line-height: 1.5;
  margin-bottom: 1.75rem;
}
.instructor-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.instructor-list li {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  font-size: .92rem;
  color: rgba(255,255,255,.8);
  line-height: 1.55;
}
.instructor-list li i {
  color: var(--orange);
  margin-top: .18rem;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}
.instructor-list li strong { color: #fff; font-weight: 700; }
.instructor-list li em { color: rgba(255,255,255,.9); font-style: italic; }
.instructor-img-col {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.instructor-img {
  display: block;
  width: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: top center;
}
@media (max-width: 991.98px) {
  .instructor-content { padding: var(--section-py) 0 2rem; }
  .instructor-img-col { justify-content: center; padding-top: 0; }
  .instructor-img { max-width: 320px; }
}
@media (max-width: 575.98px) {
  .instructor-img { max-width: 260px; }
}

/* ─── Combo Card ────────────────────────────────────── */
.combo-card {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.combo-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  pointer-events: none;
}
.combo-card::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -20px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}
.combo-card .combo-tag {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .28rem .9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.combo-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: .6rem;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}
.combo-card .combo-desc {
  font-size: .875rem;
  opacity: .78;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}
.combo-saving {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  padding: .85rem 1rem;
  margin: 1rem 0 1.5rem;
  font-size: .875rem;
  position: relative;
  z-index: 1;
}
.combo-saving strong { color: #fbbf24; }
.combo-card .btn-cta { position: relative; z-index: 1; margin-top: auto; justify-content: center; }

/* ─── Tags / Badges ─────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 600;
  padding: .28rem .75rem;
  border-radius: 50px;
  line-height: 1.4;
}
.tag-blue   { background: var(--blue-50);   color: var(--blue); }
.tag-orange { background: var(--orange-50); color: var(--orange-dark); }
.tag-gray   { background: var(--gray-100);  color: var(--gray-600); }
.tag-green  { background: #f0fdf4;           color: #15803d; }
.tag-white  { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.25); }

/* ─── Stat Highlight (público) ──────────────────────── */
.stat-highlight { text-align: center; padding: 1.5rem 1rem; }
.stat-highlight .value {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: .25rem;
}
.stat-highlight .label {
  font-size: .78rem;
  color: var(--gray-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.stat-highlight.light .value { color: #fff; }
.stat-highlight.light .label { color: rgba(255,255,255,.6); }

/* ─── Testimonial ───────────────────────────────────── */
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  height: 100%;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-size: 5rem;
  color: var(--blue-light);
  position: absolute;
  top: .25rem; left: 1.2rem;
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-text {
  font-size: .875rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  padding-top: 1.5rem;
  position: relative;
}
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  flex-shrink: 0;
}
.testimonial-name { font-size: .875rem; font-weight: 700; color: var(--gray-800); }
.testimonial-role { font-size: .78rem; color: var(--gray-500); }

/* ─── CTA Section ───────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 55%, var(--blue-mid) 100%);
  color: #fff;
  padding: var(--section-py) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(232,93,4,.18) 0%, transparent 68%);
  pointer-events: none;
}
.cta-section > .container { position: relative; z-index: 1; }
.cta-section h2 {
  font-size: var(--heading-lg);
  font-weight: 800;
  margin-bottom: 1rem;
}
.cta-section p {
  font-size: 1.05rem;
  opacity: .82;
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}
.cta-guarantee {
  margin-top: 1.5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}
.cta-guarantee i { color: rgba(255,255,255,.45); }

/* ─── Sticky CTA Bar ────────────────────────────────── */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15,34,71,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: .9rem 1.5rem;
  z-index: 1020;
  transform: translateY(100%);
  transition: transform .3s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,.25);
}
.sticky-cta-bar.visible { transform: translateY(0); }
.sticky-cta-bar .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.sticky-cta-bar .cta-text {
  font-size: .9rem;
  font-weight: 600;
  color: #fff;
}
.sticky-cta-bar .cta-sub {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  font-weight: 400;
  margin-top: .1rem;
}

/* ─── Footer Público ────────────────────────────────── */
.footer-public {
  background: var(--gray-900);
  color: rgba(255,255,255,.58);
  padding: 3.5rem 0 0;
}
.footer-brand {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .35rem;
}
.footer-brand span { color: var(--orange); }
.footer-tagline {
  font-size: .82rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.footer-heading {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.32);
  margin-bottom: .9rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a {
  color: rgba(255,255,255,.52);
  text-decoration: none;
  font-size: .875rem;
  transition: color var(--t);
}
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  font-size: .78rem;
  text-align: center;
}
.footer-bottom strong { color: var(--orange); }

/* ─── Separador decorativo ──────────────────────────── */
.divider-text {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--gray-400);
  font-size: .78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.divider-text::before,
.divider-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

/* ─── Alert inline ──────────────────────────────────── */
.inline-alert {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-size: .875rem;
  line-height: 1.55;
}
.inline-alert.success {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}
.inline-alert.info {
  background: var(--blue-50);
  color: var(--blue);
  border: 1px solid #bfdbfe;
}
.inline-alert.warning {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}
.inline-alert i { flex-shrink: 0; margin-top: .1rem; }

/* ─── Responsividade ────────────────────────────────── */
@media (max-width: 991.98px) {
  :root {
    --section-py:    3.5rem;
    --section-py-sm: 2.5rem;
  }
  .hero { padding: 4rem 0 3.5rem; }
  .hero-stats { gap: 1.5rem; }
  .pricing-card.featured { transform: none; }
  .sticky-cta-bar .cta-text { display: none; }
  .trust-bar-items { gap: 1.25rem; }
}

@media (max-width: 767.98px) {
  :root { --section-py: 3rem; }
  .hero { padding: 3rem 0 2.5rem; }
  .hero-stats { gap: 1rem; }
  .hero-stat-value { font-size: 1.6rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn-cta,
  .hero-actions .btn-outline-white { width: 100%; justify-content: center; }
  .combo-card { padding: 1.75rem 1.5rem; }
  .pricing-card { padding: 1.75rem 1.5rem; }
  .feature-card { padding: 1.5rem 1.25rem; }
  .cta-section p { font-size: .95rem; }
  .sticky-cta-bar .inner { justify-content: center; }
  .trust-bar-items { gap: .75rem; }
  .trust-bar-item:nth-child(n+4) { display: none; }
}

@media (max-width: 575.98px) {
  .btn-cta.xl { padding: .9rem 1.75rem; font-size: 1rem; }
  .course-card-meta { gap: .6rem; }
  .hero-badge { font-size: .72rem; }
  .section-title { line-height: 1.2; }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE & UX IMPROVEMENTS
═══════════════════════════════════════════════════════ */

/* ─── Global: Previne overflow horizontal ──────────────── */
/* clip não cria scroll container — mantém position:sticky funcional em html e body */
html { overflow-x: clip; scroll-behavior: smooth; }
body { overflow-x: clip; }

/* ─── Touch targets mínimos (44px) ────────────────────── */
.btn-cta,
.btn-outline-white,
.btn-outline-blue { min-height: 44px; }

/* ─── Focus acessível ───────────────────────────────────── */
.btn-cta:focus-visible,
.btn-outline-white:focus-visible,
.btn-outline-blue:focus-visible {
  outline: 3px solid rgba(232,93,4,.75);
  outline-offset: 3px;
}
a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ─── Garantia de que textos longos não overflow ──────── */
.section-title,
.hero-title,
.cta-section h2,
.combo-card h3,
.section-lead {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ─── Trust bar: compacta em telas pequenas ────────────── */
@media (max-width: 639.98px) {
  .trust-bar-items {
    gap: .6rem;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 .5rem;
    scrollbar-width: none;
  }
  .trust-bar-items::-webkit-scrollbar { display: none; }
  .trust-bar-item:nth-child(n+4) { display: flex; } /* reativa todos */
  .trust-bar-item { font-size: .68rem; gap: .35rem; }
  .trust-bar-item i { font-size: .72rem; }
}

/* ─── Tablet (768px–991px) ──────────────────────────────── */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-subtitle { font-size: 1.05rem; }
  .section-lead  { font-size: 1rem; }
  .course-card-body h3 { font-size: 1rem; }
}

/* ─── Mobile (≤767px): geral ────────────────────────────── */
@media (max-width: 767.98px) {
  /* Botões touch-safe com largura total */
  .hero-actions .btn-cta,
  .hero-actions .btn-outline-white {
    min-height: 50px;
    width: 100%;
    justify-content: center;
  }

  /* Tipografia ajustada */
  .hero-subtitle { font-size: 1rem; margin-bottom: 2rem; }
  .section-lead  { font-size: .95rem; }

  /* Combo card  */
  .combo-card h3 { font-size: 1.25rem; }
  .combo-card .combo-desc { font-size: .85rem; }

  /* Checklist legível */
  .checklist li { font-size: .875rem; }

  /* CTA section: botões empilham */
  .cta-section .d-flex.flex-wrap {
    gap: .75rem;
  }

  /* Footer: colunas col-6 ficam compactas */
  .footer-heading { font-size: .65rem; letter-spacing: .08em; }
  .footer-links a { font-size: .82rem; }
  .footer-tagline { font-size: .8rem; }
}

/* ─── Mobile pequeno (≤575px) ───────────────────────────── */
@media (max-width: 575.98px) {
  /* Hero */
  .hero { padding: 2.5rem 0 2rem; }
  .hero-title {
    font-size: clamp(1.55rem, 8vw, 2.4rem);
    line-height: 1.15;
    margin-bottom: 1.1rem;
  }
  .hero-subtitle { font-size: .95rem; margin-bottom: 1.75rem; }
  .hero-stats { gap: .75rem; margin-top: 2rem; padding-top: 1.5rem; }
  .hero-stat-value { font-size: 1.4rem; }
  .hero-stat-label { font-size: .7rem; }

  /* Section headings */
  .section-title { font-size: clamp(1.15rem, 6vw, 1.7rem); line-height: 1.2; }
  .cta-section h2 { font-size: clamp(1.25rem, 7vw, 1.9rem); }
  .cta-section p  { font-size: .88rem; margin-bottom: 2rem; }

  /* CTA section: botões empilhados e 100% */
  .cta-section .d-flex.gap-3 {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-section .d-flex.gap-3 > a,
  .cta-section .d-flex.gap-3 > button {
    width: 100%;
    justify-content: center;
  }

  /* Preços */
  .pricing-price .value { font-size: 2.25rem; }
  .course-card-price .price-value { font-size: 1.4rem; }

  /* Combo card */
  .combo-card { padding: 1.5rem 1.1rem; }
  .combo-card h3 { font-size: 1.1rem; }

  /* Feature card */
  .feature-card { padding: 1.25rem 1rem; }
  .feature-icon  { width: 48px; height: 48px; font-size: 1.2rem; }

  /* Accordion */
  .accordion-landing .accordion-button { font-size: .88rem; padding: 1rem 1.1rem; }
  .accordion-modules .accordion-button { font-size: .88rem; padding: .95rem 1.1rem; }

  /* Footer bottom: empilha centralmente */
  .footer-bottom .d-flex.justify-content-between {
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    text-align: center;
  }

  /* Tags: reduz padding */
  .tag { font-size: .68rem; padding: .22rem .6rem; }

  /* Trust bar: não esconde itens em nenhum tamanho */
  .trust-bar-item:nth-child(n+4) { display: flex; }

  /* Combo hero badges: menor gap e divider oculto em telas muito pequenas */
  .combo-hero-badges { gap: 1rem !important; }
  .combo-hero-divider { display: none; }
  .combo-hero-pct { font-size: 1.4rem; }
  .combo-hero-label { font-size: .7rem; }
}

/* ─── Combo hero badges ─────────────────────────────────── */
.combo-hero-divider {
  width: 1px;
  background: rgba(255,255,255,.2);
  align-self: stretch;
}
.combo-hero-item { text-align: center; }
.combo-hero-pct {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  color: #fbbf24;
  line-height: 1;
}
.combo-hero-label {
  font-size: .78rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ─── Telas grandes (≥1400px) ──────────────────────────── */
@media (min-width: 1400px) {
  :root {
    --section-py:    6.5rem;
    --section-py-sm: 4rem;
  }
  .hero { padding: 8rem 0 6.5rem; }
  .hero-title { font-size: 3.9rem; }
  .section-lead { font-size: 1.1rem; max-width: 700px; }
  .course-card-body h3 { font-size: 1.1rem; }
}
