/* Correção Red — Seção Professores — base compartilhada */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Lustria', Georgia, serif;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 900px 700px at 8% -12%, rgba(170,100,65,0.18), transparent 60%),
    radial-gradient(ellipse 800px 600px at 96% 8%, rgba(247,207,225,0.11), transparent 60%),
    radial-gradient(ellipse 700px 900px at 50% 100%, rgba(170,100,65,0.08), transparent 55%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  line-height: 1.6;
}
h1, h2, h3 { font-family: 'Lora', Georgia, serif; line-height: 1.2; margin: 0 0 0.5em; }
main h2, .category-title {
  position: relative;
  padding-top: 0.9rem;
}
main h2::before, .category-title::before {
  content: '';
  display: block;
  width: 46px;
  height: 4px;
  border-radius: 2px;
  margin-bottom: 0.85rem;
  background: linear-gradient(90deg, var(--accent), var(--highlight));
}
img { max-width: 100%; display: block; }
p { margin: 0 0 1em; }
a { color: inherit; }
section { padding: 4.5rem 1.5rem; }
.container { max-width: 920px; margin: 0 auto; }

.cta-button {
  display: inline-block;
  padding: 1rem 2.1rem;
  background: linear-gradient(135deg, var(--cta), var(--cta));
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.12);
}

.hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 3rem 1.5rem;
  background: var(--bg);
  color: var(--text);
}
.hero h1 { font-size: clamp(1.8rem, 4.5vw, 2.75rem); max-width: 760px; }
.hero p.subheadline { font-size: clamp(1rem, 2vw, 1.2rem); max-width: 640px; opacity: 0.9; }
.hero .cta-button { margin-top: 1.5rem; }
.hero-photo {
  width: 220px; height: 220px; border-radius: 50%; object-fit: cover;
  margin-bottom: 1.5rem; border: 4px solid var(--accent);
  box-shadow: 0 0 0 8px var(--highlight-dim, transparent);
}
.hero-photo-placeholder {
  width: 220px; height: 220px; border-radius: 50%;
  margin-bottom: 1.5rem; border: 4px solid var(--accent);
  box-shadow: 0 0 0 8px var(--highlight-dim, transparent);
  background: linear-gradient(135deg, var(--surface), var(--accent-dim));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Lora', serif; font-size: 0.85rem; opacity: 0.6; text-align: center; padding: 1rem;
}

.parallax-wrap { position: absolute; inset: 0; z-index: -1; opacity: 0.5; }
.parallax-img { width: 130%; height: 140%; margin-left: -15%; will-change: transform; }

.reveal { opacity: 0; transform: translateY(32px); }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.plan-card {
  background: linear-gradient(160deg, var(--surface), rgba(255,255,255,0.03));
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid var(--divider);
  border-top: 3px solid var(--accent);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.plan-card h3 { font-size: 1.3rem; }
.plan-card .price { font-size: 1.4rem; font-weight: 700; color: var(--accent); margin: 1rem 0; }
.plan-card .cta-button { width: 100%; text-align: center; }
.plan-card .price-sub { display: block; font-size: 0.85rem; color: var(--text-secondary); font-weight: 400; }

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  gap: 0.9rem;
}
.benefits-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: linear-gradient(160deg, var(--surface), rgba(255,255,255,0.03));
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.benefits-list li .check {
  color: #fff;
  background: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  width: 1.35rem; height: 1.35rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  margin-top: 0.1rem;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.module-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--surface), rgba(255,255,255,0.03));
  border-radius: 10px;
  padding: 1.1rem 1.3rem;
  border-left: 3px solid var(--accent);
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.module-card .num { font-family: 'Lora', serif; font-size: 0.8rem; color: var(--highlight); position: relative; z-index: 1; }
.module-card h3 { position: relative; z-index: 1; }
.module-card::after {
  content: attr(data-num);
  position: absolute;
  right: 0.4rem;
  top: -0.6rem;
  font-family: 'Lora', serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--highlight);
  opacity: 0.1;
  line-height: 1;
  pointer-events: none;
}

.testimonial-note {
  background: linear-gradient(160deg, var(--surface), rgba(255,255,255,0.03));
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 1px dashed var(--divider);
  opacity: 0.85;
}

.testimonials-grid {
  columns: 2 220px;
  column-gap: 1.75rem;
  margin-top: 2.5rem;
}
.testimonial-frame {
  position: relative;
  background: #fff;
  padding: 0.6rem 0.6rem 1.1rem;
  border-radius: 6px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
  transform: rotate(var(--tilt, 0deg));
  break-inside: avoid;
  margin-bottom: 1.75rem;
  display: inline-block;
  width: 100%;
}
.testimonial-frame:nth-child(odd) { --tilt: -2deg; }
.testimonial-frame:nth-child(even) { --tilt: 2deg; }
.testimonial-img {
  width: 100%;
  border-radius: 3px;
}
.testimonial-badge {
  position: absolute;
  top: -10px;
  right: -8px;
  background: var(--accent);
  color: #fff;
  font-family: 'Lora', serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 2;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  text-align: center;
}
.stat .counter {
  font-family: 'Lora', serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 160px;
  margin: 0.25rem auto 0;
}

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.bonus-card {
  background: linear-gradient(160deg, var(--surface), rgba(255,255,255,0.03));
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px dashed var(--highlight);
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}
.bonus-tag {
  display: inline-block;
  background: var(--highlight);
  color: var(--bg);
  font-family: 'Lora', serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.faq-item {
  border-bottom: 1px solid var(--divider);
  padding: 1.5rem 0;
}
.faq-item h3 { font-size: 1.05rem; color: var(--text); }
.faq-item p { color: var(--text-secondary); margin-bottom: 0; }

.about-block {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.about-block > * { flex: 1 1 320px; }

.price-box {
  position: relative;
  background: linear-gradient(160deg, var(--surface), rgba(255,255,255,0.04));
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  border: 2px solid var(--accent);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.price-box::before {
  content: 'OFERTA';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-family: 'Lora', serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}
.price-box .big-price { font-family: 'Lora', serif; font-size: 2.5rem; font-weight: 700; color: var(--accent); }
.price-box .old-price { text-decoration: line-through; color: var(--text-secondary); }

footer {
  text-align: center;
  padding: 2.5rem 1.5rem;
  font-size: 0.85rem;
  opacity: 0.7;
  background: var(--surface);
}
footer a { text-decoration: underline; }

@media (prefers-reduced-motion: no-preference) {
  .hero-item {
    opacity: 0;
    transform: translateY(24px);
    animation: hero-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .hero-item:nth-child(1) { animation-delay: 0.05s; }
  .hero-item:nth-child(2) { animation-delay: 0.2s; }
  .hero-item:nth-child(3) { animation-delay: 0.35s; }
  .hero-item:nth-child(4) { animation-delay: 0.5s; }
  @keyframes hero-in { to { opacity: 1; transform: translateY(0); } }

  .reveal { transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }

  .cta-button { transition: transform 0.2s ease-out, box-shadow 0.2s ease-out; }
  .cta-button:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 24px rgba(0,0,0,0.35); }
  .cta-button:active { transform: translateY(0) scale(0.98); }

  .plan-card, .module-card, .benefits-list li, .bonus-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease-out;
  }
  .plan-card:hover, .module-card:hover, .bonus-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  }

  .testimonial-frame {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease-out;
  }
  .testimonial-frame:hover {
    transform: rotate(0deg) scale(1.04);
    box-shadow: 0 20px 40px rgba(0,0,0,0.45);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-item, .reveal { opacity: 1 !important; transform: none !important; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

a.cta-button:focus-visible, a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
