/* ============================================================
   PDE Performance — Section-Specific Styles (glass-effect2)
   ============================================================ */

/* ── Section tag / label ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 6px;
  background: var(--glass);
  border-top: 1px solid var(--border-t);
  border-left: 1px solid var(--border-s);
  border-right: 1px solid var(--border-s);
  border-bottom: 1px solid var(--border-b);
  font-family: var(--ff-h);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ── Section heading ── */
.section-h {
  font-family: var(--ff-h);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 400;              /* thin */
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--t1);
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-h em {
  font-style: normal;
  background: linear-gradient(135deg, var(--red), var(--red-s));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Section subheading ── */
.section-sub {
  font-size: 1rem;
  color: var(--t2);
  line-height: 1.7;
  max-width: 480px;
}

/* ── Section header block ── */
.section-header {
  padding: 0 clamp(20px, 5vw, 64px);
  margin-bottom: 48px;
}

/* ── Hero badge ── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-top: 1px solid var(--border-t);
  border-left: 1px solid var(--border-s);
  border-right: 1px solid var(--border-s);
  border-bottom: 1px solid var(--border-b);
  border-radius: 9999px;
  font-family: var(--ff-h);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.80);
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* ── Hero H1 ── */
.hero-h1 {
  font-family: var(--ff-h);
  font-size: clamp(2.4rem, 5.5vw, 5rem);  /* menor, mais elegante */
  font-weight: 300;
  line-height: 1.05;                       /* espaço suficiente para acentos */
  letter-spacing: 0.04em;
  color: var(--t1);
  margin-bottom: 28px;
}
.hero-h1 .line-gradient {
  background: linear-gradient(135deg, var(--red), var(--red-s));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Hero subtext ── */
.hero-subtext {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  color: var(--t2);
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto 36px;
}

/* ── Hero CTAs ── */
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* ── Scroll indicator ── */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0 auto;
}
.scroll-indicator-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scroll-bounce 2s ease-in-out infinite;
}
.scroll-indicator-label {
  font-family: var(--ff-h);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  writing-mode: vertical-rl;
}

/* ── Course text elements ── */
.course-cat {
  display: inline-block;
  font-family: var(--ff-h);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.55);
}
.course-title {
  font-family: var(--ff-h);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--t1);
}
.course-featured-title {
  font-family: var(--ff-h);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--t1);
  margin: 10px 0;
}
.course-desc {
  font-size: 0.9rem;
  color: var(--t2);
  line-height: 1.65;
}
.course-link {
  font-family: var(--ff-h);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red-s);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  transition: color 0.3s, gap 0.3s;
}
.course-link:hover { color: var(--t1); gap: 10px; }

/* ── Software card ── */
.sw-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-h);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
}
.sw-badge-teal {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.55);
}
.sw-badge-amber {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.55);
}

.sw-name {
  font-family: var(--ff-h);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--t1);
  margin: 10px 0 6px;
}
.sw-desc {
  font-size: 0.95rem;
  color: var(--t2);
  line-height: 1.65;
  margin-bottom: 16px;
}

/* ── Ebooks ── */
.ebooks-section-tag { color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.08); }
.eb-list { display: flex; flex-direction: column; margin-top: 24px; }
.eb-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-b);
  color: var(--t1);
  text-decoration: none;
  transition: padding-left 0.3s var(--ease), color 0.3s;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 500;
}
.eb-item:first-child { border-top: 1px solid var(--border-b); }
.eb-item:hover { padding-left: 12px; color: var(--t1); }
.eb-arrow {
  font-size: 1.2rem;
  color: var(--red-s);
  transition: transform 0.3s var(--ease);
}
.eb-item:hover .eb-arrow { transform: translateX(6px); }

/* ── Support plans ── */
.plan-card {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-top: 1px solid var(--border-t);
  border-left: 1px solid var(--border-s);
  border-right: 1px solid var(--border-s);
  border-bottom: 1px solid var(--border-b);
  border-radius: 20px;
  padding: clamp(36px,5vw,56px) clamp(28px,3vw,40px) clamp(32px,4vw,48px);
  padding-top: 52px;            /* sempre espaço pro badge */
  position: relative;
  transition: all 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.plan-card::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  transition: 0.5s;
  pointer-events: none;
  z-index: 20;
}
.plan-card:hover {
  background: var(--glass-hover);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}
.plan-card:hover::before { left: 100%; transition: 0.7s ease-in-out; }

.plan-card.featured {
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1);
}
.plan-badge {
  position: absolute;
  top: 16px;                    /* dentro do card — sempre visível */
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  padding: 5px 18px;
  border-radius: 9999px;
  font-family: var(--ff-h);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 2;
}
.plan-num {
  font-family: var(--ff-h);
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--t1);
}
.plan-period {
  font-size: 1rem;
  color: var(--t2);
  margin-bottom: 4px;
}
.plan-desc {
  font-size: 0.9rem;
  color: var(--t3);
  line-height: 1.5;
  margin-bottom: 12px;
  min-height: 40px;
}

/* ── Instructor section ── */
.instructor-name {
  font-family: var(--ff-h);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--t1);
  line-height: 1.0;
}
.instructor-bio {
  font-size: 1rem;
  color: var(--t2);
  line-height: 1.7;
}
.instructor-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.instructor-stat {
  font-family: var(--ff-h);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--t1);
}
.instructor-stat span {
  display: block;
  color: var(--red-s);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.soc {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.soc a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-s);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t3);
  background: var(--glass);
  backdrop-filter: blur(8px);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.soc a:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-a10);
}

/* ── FAQ ── */
.faq-heading {
  font-family: var(--ff-h);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--t1);
  margin-bottom: 16px;
  line-height: 1.0;
}
.faq-item {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-top: 1px solid var(--border-t);
  border-left: 1px solid var(--border-s);
  border-right: 1px solid var(--border-s);
  border-bottom: 1px solid var(--border-b);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 8px;
  transition: background 0.4s var(--ease), box-shadow 0.4s;
}
.faq-item:hover { background: var(--glass-hover); }
.faq-item.open  { box-shadow: 0 8px 32px rgba(0,0,0,0.4); }

.faq-q {
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  font-family: var(--ff);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--t2);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.3s;
}
.faq-q:hover { color: var(--t1); }
.faq-item.open .faq-q { color: var(--t1); }

.faq-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--border-s);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--t3);
  transition: transform 0.4s var(--ease), border-color 0.3s, color 0.3s;
  font-size: 14px;
  line-height: 1;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--red);
  color: var(--red);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.faq-item.open .faq-a { max-height: 200px; }
.faq-answer {
  padding: 0 20px 20px;
  font-size: 0.9rem;
  color: var(--t3);
  line-height: 1.7;
}
.faq-answer strong { color: var(--t1); font-weight: 600; }

/* WhatsApp contact card */
.wa-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--glass);
  border-top: 1px solid var(--border-t);
  border-left: 1px solid var(--border-s);
  border-right: 1px solid var(--border-s);
  border-bottom: 1px solid var(--border-b);
  border-radius: 12px;
  text-decoration: none;
  color: var(--t1);
  backdrop-filter: blur(12px);
  transition: border-color 0.3s, background 0.3s;
  margin-top: 20px;
}
.wa-card:hover {
  border-top-color: rgba(255,255,255,0.25);
  background: var(--glass-hover);
}
.wa-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  flex-shrink: 0;
}
.wa-label { font-weight: 700; font-size: 0.9rem; }
.wa-sub   { font-size: 0.75rem; color: var(--t3); }

/* ── Final CTA section ── */
.cta-big-h {
  font-family: var(--ff-h);
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--t1);
  margin-bottom: 24px;
}
.cta-big-h span {
  background: linear-gradient(135deg, var(--red), var(--red-s));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-sub {
  font-size: 1.05rem;
  color: var(--t3);
  margin-bottom: 32px;
}

/* ── Footer ── */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img { height: 30px; }
.footer-brand span {
  font-family: var(--ff-h);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--t2);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 0.82rem;
  color: var(--t3);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--t1); }
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-s);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t3);
  background: var(--glass);
  transition: border-color 0.3s, color 0.3s;
}
.footer-social a:hover { border-color: var(--red); color: var(--red); }
.footer-copy {
  width: 100%;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-b);
  margin-top: 8px;
  font-family: var(--ff-h);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.18);
  text-transform: uppercase;
}

/* ── Responsive overrides ── */
@media (max-width: 834px) {
  .footer-inner { justify-content: center; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

/* ── Mobile: General ── */
@media (max-width: 768px) {
  /* Section headers */
  .section-header { margin-bottom: 32px; }

  /* Hero H1 */
  .hero-h1 {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
  }

  /* Hero subtext */
  .hero-subtext { font-size: 0.95rem; }

  /* Hero CTAs — stack vertically */
  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
  }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary { width: 100%; max-width: 320px; justify-content: center; }

  /* CTA big heading */
  .cta-big-h {
    font-size: clamp(2.4rem, 11vw, 4rem);
    line-height: 1.0;
  }

  /* Plan cards: ensure full width padding is readable */
  .plan-card {
    padding-top: 52px;
  }

  /* Instructor stats wrap nicely */
  .instructor-stats { gap: 12px; }

  /* FAQ touch targets — larger */
  .faq-q { padding: 20px; font-size: 1rem; }
  .faq-icon { width: 24px; height: 24px; }

  /* Footer column on mobile */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .footer-links { justify-content: center; }
  .footer-social { justify-content: center; }
}

/* ── Small phones ── */
@media (max-width: 480px) {
  .hero-h1 { font-size: clamp(1.7rem, 9vw, 2.4rem); }
  .cta-big-h { font-size: clamp(2rem, 12vw, 3rem); }
  .stat-num { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .section-h { font-size: clamp(1.4rem, 7vw, 2rem); }
  .plan-num { font-size: 2.8rem; }
}
