:root {
  --blue-dark: #143c7d;
  --blue-light: #5ea0bf;
  --bg: #ffffff;
  --text: #111111;
  --muted: #6d7280;
  --card-bg: #f5f7fb;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Botão padrão */
.button {
  display: inline-block;
  padding: 0.9rem 1.4rem;
  background: #143c7d; /* azul onco et al */
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.2s ease;
}

.button:hover {
  background: #0f2f63;
}

/* Botão outline */
.button--outline {
  background: transparent;
  color: #143c7d;
  border: 2px solid #143c7d;
}

.button--outline:hover {
  background: #e9f0ff;
}

/* Container centralizado */
.cta-container {
  text-align: center;
  margin: 2rem auto 0;
}

.cta-container .button {
  margin: 0.4rem 0.4rem;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* CONTAINERS & LAYOUT */

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section--alt {
  background-color: #f0f3fb;
}

h1, h2, h3 {
  color: var(--blue-dark);
  margin-top: 0;
}

/* Ajuste do título principal */
h1 {
  line-height: 1.2;
  max-width: 800px;
  margin: 1.5rem auto 1rem; /* centraliza e diminui espaço embaixo */
}

h1 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
}

h2 {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* TOP BANNER */

.top-banner {
  background-color: #263873;
  padding: 0.5rem 0;
  display: flex;
  justify-content: center;
}

.top-banner__image {
  width: 100%;
  height: auto;
  max-width: 600px; /* <-- controla o tamanho máximo */
  object-fit: contain;
}

/* BLACK FRIDAY BAR */

.black-friday-bar {
  background: linear-gradient(90deg, var(--blue-dark), #0b2b5a);
  color: #ffffff;
  padding: 1.5rem 0;
  text-align: center;
}

.black-friday-bar__title {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.5rem 0;
}

.black-friday-bar__text {
  margin: 0.25rem 0;
  font-size: 0.95rem;
}

.black-friday-bar__price {
  margin: 0.3rem 0 0;
  font-size: 0.95rem;
}

.badge {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  border: 1px solid #ffffff;
  font-weight: 600;
}

/* HERO */

.hero {
  padding: 3rem 0 2.5rem;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero__subtitle {
  font-size: 1rem;
  color: var(--muted);
}

/* Caixa de destaque no hero */
.hero-box {
  max-width: 860px;
  margin: 1.5rem auto 2rem;
  padding: 1.4rem 1.6rem;
  background: #f5f7ff;
  border-radius: 12px;
  border: 1px solid rgba(20, 60, 125, 0.16);
}

.hero-box p {
  margin: 0.3rem 0;
  text-align: left;
}

.hero__highlights {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}

.hero__highlights li::before {
  content: "• ";
  color: var(--blue-light);
  font-weight: 700;
}

.hero__highlights li {
  margin-bottom: 0.3rem;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.hero__coupon-note {
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
  margin: 1rem auto 0;
}
}


.features-box h3 {
  margin-top: 0;
  margin-bottom: 0.9rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #143c7d; /* azul escuro da Onco et al */
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.1s ease, background-color 0.1s ease, color 0.1s ease;
}

.btn--primary {
  background-color: var(--blue-dark);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 40, 85, 0.25);
}

.btn--primary:hover {
  background-color: #0f2f62;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 40, 85, 0.35);
}

.btn--secondary {
  background-color: transparent;
  color: var(--blue-dark);
  border-color: var(--blue-dark);
}

.btn--secondary:hover {
  background-color: var(--blue-dark);
  color: #ffffff;
}

.btn--large {
  padding: 1rem 2.4rem;
  font-size: 1rem;
}

/* GRID */

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* LIST & HIGHLIGHT BOX */

.list {
  margin: 0;
  padding-left: 1.1rem;
}

.highlight-box {
  background-color: var(--card-bg);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(20, 60, 125, 0.08);
}

/* CARDS */

.cards {
  margin-top: 1.5rem;
}

.card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(15, 40, 85, 0.06);
  border: 1px solid rgba(20, 60, 125, 0.08);
}

/* TIMELINE */

.timeline {
  margin-top: 1.5rem;
  border-left: 2px solid rgba(20, 60, 125, 0.25);
  padding-left: 1.5rem;
}

.timeline__item {
  position: relative;
  margin-bottom: 1.5rem;
}

.timeline__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background-color: var(--blue-dark);
  position: absolute;
  left: -7px;
  top: 4px;
}

.timeline__content h3 {
  margin-top: 0;
}

/* FAQ */

.faq {
  margin-top: 1.5rem;
}

.faq__item {
  border-radius: 0.75rem;
  border: 1px solid rgba(20, 60, 125, 0.16);
  background-color: #ffffff;
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.8rem;
}

.faq__item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  float: right;
  font-weight: 700;
  color: var(--blue-light);
}

.faq__item[open] summary::after {
  content: "–";
}

.faq__item p {
  margin-top: 0.6rem;
  font-size: 0.95rem;
}

/* CTA FINAL */

.section--cta {
  background: linear-gradient(135deg, var(--blue-dark), #0b2b5a);
  color: #ffffff;
  text-align: center;
}

.section--cta__content h2 {
  color: #ffffff;
}

.section--cta__content p {
  max-width: 640px;
  margin: 0.5rem auto 1.5rem;
}

.cta__note {
  font-size: 0.9rem;
  margin-top: 0.75rem;
  opacity: 0.9;
}

/* FOOTER */

.footer {
  background-color: #0b2148;
  color: #d6dde8;
  padding: 1.5rem 0;
  font-size: 0.85rem;
}

.footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer__logo {
  height: 32px;
  width: auto;
}

/* Ajuste de espaçamento nos passos ("Como funciona na prática") */
h2[id^="como-funciona"] {
  margin-bottom: 1rem;
}

h2[id^="como-funciona"] + h3 {
  margin-top: 0.5rem;
}

h2[id^="como-funciona"] ~ h3 {
  margin-top: 1rem;       /* espaço entre um passo e outro */
  margin-bottom: 0.2rem;  /* título mais colado na descrição */
}

h2[id^="como-funciona"] ~ h3 + p {
  margin-top: 0.1rem;
  margin-bottom: 0.6rem;
}

/* Caixa de features */
.features-box {
  max-width: 860px;
  margin: 1.2rem auto 2.2rem;
  padding: 1.4rem 1.6rem;
  background: #f8faff;
  border: 1px solid rgba(20, 60, 125, 0.14);
  border-radius: 12px;
}

.features-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-box li {
  margin: 0.45rem 0;
  font-size: 1rem;
  line-height: 1.35;
  padding-left: 1.2rem;
  position: relative;
}

/* Marcador estilizado (bolinha azul) */
.features-box li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #1f4fbf; /* azul onco et al */
  font-weight: bold;
}

/* RESPONSIVE */

@media (min-width: 768px) {
  .hero__content {
    flex-direction: row;
    align-items: center;
  }

  .hero__text {
    flex: 1;
  }
}

/* ===========================
   SEÇÃO: PROFESSORES
   =========================== */
#professores .card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

#professores h3 {
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
}
