:root {
  --navy: #263959;
  --orange: #f38d33;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray-dark: #333333;

  --navy-tint-1: #3a5079;
  --navy-tint-2: #4d6aa0;
  --orange-tint-1: #f7ac6a;

  --bg-deep: #0a0e1a;
  --bg-panel: #131a2c;
  --bg-panel-border: rgba(255, 255, 255, 0.08);
  --text-primary: #f4f6fb;
  --text-muted: rgba(244, 246, 251, 0.66);

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Lato', sans-serif;
  --font-hero: 'Montserrat', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background:
    radial-gradient(ellipse 900px 520px at 15% 10%, rgba(243, 141, 51, 0.10), transparent 60%),
    radial-gradient(ellipse 800px 600px at 85% 60%, rgba(77, 106, 160, 0.16), transparent 60%),
    var(--bg-deep);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== FAIXA: brand-strip (wayfinding de volta ao hub F3Exatas) ===== */
.brand-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 18px 24px 0;
  font-family: var(--font-heading);
  font-size: 13px;
}

.brand-strip-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.brand-strip-link:hover {
  color: var(--orange);
}

.brand-strip-current {
  color: var(--text-muted);
  font-weight: 600;
}

/* ===== HERO ===== */
.mentoria-hero {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-panel);
  border: 1px solid var(--bg-panel-border);
  border-radius: 28px;
  max-width: 1100px;
  margin: 20px auto 40px;
  padding: 90px 24px;
}

.mentoria-hero-glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 25%, rgba(243, 141, 51, 0.32), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(77, 106, 160, 0.5), transparent 50%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-tint-1) 55%, var(--navy) 100%);
  background-size: 200% 200%;
  animation: mentoria-glow-shift 16s ease-in-out infinite;
}

@keyframes mentoria-glow-shift {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

.mentoria-hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.mentoria-hero-logo {
  width: 128px;
  height: 128px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
}

.mentoria-wordmark {
  font-family: var(--font-hero);
  font-variant: small-caps;
  letter-spacing: 0.02em;
  font-weight: 800;
  font-size: 26px;
  color: var(--white);
  opacity: 0.85;
}

.mentoria-title {
  font-family: var(--font-hero);
  font-variant: small-caps;
  letter-spacing: 0.02em;
  font-weight: 800;
  font-size: 38px;
  line-height: 1.25;
  color: var(--white);
}

.mentoria-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 460px;
}

.mentoria-cta {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 30px;
  box-shadow: 0 10px 24px rgba(243, 141, 51, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mentoria-cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 30px rgba(243, 141, 51, 0.5);
}

/* ===== SEÇÃO: content-section / section-heading (compartilhado) ===== */
.content-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-kicker {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}

.section-title {
  font-family: var(--font-heading);
  font-variant: small-caps;
  letter-spacing: 0.02em;
  font-weight: 800;
  font-size: 32px;
  color: var(--text-primary);
  margin: 10px 0 12px;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-muted);
}

/* ===== SEÇÃO: perk-steps (o que o aluno recebe na mentoria) ===== */
.perk-steps {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  padding-top: 12px;
}

.perk-steps::before {
  content: "";
  position: absolute;
  top: 54px;
  left: 10%;
  right: 10%;
  height: 0;
  border-top: 2px dashed var(--orange-tint-1);
  z-index: 0;
}

.perk-step {
  flex: 1;
  min-width: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.perk-badge {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.perk-badge svg { width: 32px; height: 32px; }

.perk-badge-navy { background: var(--navy); }
.perk-badge-orange { background: var(--orange); }

.perk-step-link { text-decoration: none; cursor: pointer; }

.perk-step:hover .perk-badge {
  transform: translateY(-6px) scale(1.06);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.45);
}

.perk-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
  max-width: 190px;
}

.perk-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 210px;
}

/* ===== SEÇÃO: cta-final ===== */
.cta-final {
  text-align: center;
  background: var(--navy);
  padding: 90px 24px;
}

.cta-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 30px;
  color: var(--white);
  max-width: 640px;
  margin: 0 auto 16px;
}

.cta-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
  margin: 0 auto 32px;
}

.cta-button {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 24px rgba(243, 141, 51, 0.35);
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 30px rgba(243, 141, 51, 0.5);
}

.cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-button-ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  box-shadow: none;
}

.cta-button-ghost.is-disabled {
  color: rgba(255, 255, 255, 0.5);
  cursor: default;
  pointer-events: none;
}

/* ===== RODAPÉ ===== */
.site-footer {
  background: var(--navy);
  padding: 70px 24px 24px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 200px;
}

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: var(--orange);
  margin-bottom: 6px;
}

.footer-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer-social-btn {
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.footer-social-btn:hover {
  border-color: var(--orange);
  background: rgba(243, 141, 51, 0.15);
}

.footer-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  margin-bottom: 6px;
}

.footer-link {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--orange);
}

.footer-bottom {
  width: 100%;
  text-align: center;
  padding-top: 30px;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal-links {
  width: 100%;
  text-align: center;
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 12.5px;
}

.footer-legal-links a { color: rgba(255, 255, 255, 0.5); text-decoration: none; }
.footer-legal-links a:hover { color: var(--orange); }

/* ===== R.E.I. — Roteiro de Estudos Individualizado ===== */
.rei-form-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-panel);
  border: 1px solid var(--bg-panel-border);
  border-radius: 24px;
  padding: 36px 32px;
}

.rei-field { margin-bottom: 24px; }
.rei-field label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.rei-field-hint { display: block; font-family: var(--font-body); font-size: 12.5px; color: var(--text-muted); margin-top: 6px; }

.rei-field input[type="number"],
.rei-field input[type="date"] {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--bg-panel-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.25s ease;
  color-scheme: dark;
}
.rei-field input:focus { border-color: var(--orange); }

.rei-chip-group { display: flex; flex-wrap: wrap; gap: 10px; }
.rei-chip { position: relative; }
.rei-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rei-chip span {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 20px;
  border: 1.5px solid var(--bg-panel-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13.5px;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.rei-chip input:checked + span { border-color: var(--orange); background: rgba(243, 141, 51, 0.16); color: var(--white); }
.rei-chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }

.rei-error { font-family: var(--font-body); font-size: 13.5px; color: var(--orange); margin-bottom: 16px; min-height: 18px; }
.rei-loading-text { font-family: var(--font-heading); font-weight: 700; font-size: 15px; color: var(--text-primary); margin-bottom: 20px; }
.rei-submit { width: 100%; border: none; cursor: pointer; }

/* ----- plano gerado ----- */
.rei-plan-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.rei-plan-title { font-family: var(--font-heading); font-weight: 800; font-size: 22px; color: var(--text-primary); }
.rei-plan-meta { font-family: var(--font-body); font-size: 13.5px; color: var(--text-muted); margin-top: 4px; }
.rei-redo-btn {
  background: transparent; border: 1.5px solid rgba(255,255,255,0.3); color: var(--text-primary);
  font-family: var(--font-heading); font-weight: 700; font-size: 13px; padding: 10px 18px; border-radius: 20px;
  cursor: pointer; transition: border-color 0.25s ease, color 0.25s ease;
}
.rei-redo-btn:hover { border-color: var(--orange); color: var(--orange); }

.rei-progress-wrap { margin-bottom: 32px; }
.rei-progress-label { display: flex; justify-content: space-between; font-family: var(--font-heading); font-size: 12.5px; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; }
.rei-progress-bar { height: 10px; border-radius: 6px; background: rgba(255,255,255,0.08); overflow: hidden; }
.rei-progress-fill { height: 100%; background: linear-gradient(90deg, var(--orange), var(--orange-tint-1)); border-radius: 6px; transition: width 0.4s ease; }

.rei-week { margin-bottom: 28px; }
.rei-week-title { font-family: var(--font-heading); font-weight: 700; font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--orange); margin-bottom: 12px; }
.rei-day-row {
  display: flex; align-items: center; gap: 14px; background: var(--bg-panel); border: 1px solid var(--bg-panel-border);
  border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; transition: opacity 0.25s ease;
}
.rei-day-date { font-family: var(--font-heading); font-weight: 800; font-size: 13px; color: var(--text-primary); width: 62px; flex-shrink: 0; text-align: center; align-self: flex-start; padding-top: 2px; }
.rei-day-date small { display: block; font-weight: 600; font-size: 10.5px; color: var(--text-muted); text-transform: uppercase; }
.rei-pill { flex-shrink: 0; align-self: flex-start; margin-top: 2px; font-family: var(--font-heading); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.03em; padding: 5px 12px; border-radius: 12px; color: var(--white); }
.rei-pill.is-teoria { background: var(--navy-tint-2); }
.rei-pill.is-pratica { background: var(--orange); }
.rei-pill.is-revisao { background: #2f9d63; }
.rei-pill.is-simulado { background: #8b5cf6; }
.rei-pill.is-livre { background: #64748b; }
.rei-day-topic { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.rei-day-topic-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.rei-day-discipline { font-family: var(--font-heading); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-muted); }
.rei-day-topic-head strong { font-family: var(--font-body); font-weight: 700; font-size: 14.5px; color: var(--text-primary); }
.rei-day-instruction { font-family: var(--font-body); font-size: 12.5px; line-height: 1.5; color: var(--text-muted); margin: 0; max-width: 62ch; }
.rei-day-hours { flex-shrink: 0; align-self: flex-start; margin-top: 2px; width: 34px; text-align: right; font-family: var(--font-body); font-size: 12.5px; color: var(--text-muted); }
.rei-check-group { flex-shrink: 0; width: 210px; align-self: flex-start; display: flex; flex-direction: column; gap: 7px; margin-top: 1px; }
.rei-check-item { display: flex; align-items: flex-start; gap: 7px; font-family: var(--font-body); font-size: 11.5px; color: var(--text-muted); cursor: pointer; line-height: 1.35; }
.rei-check-item input { margin-top: 1px; }
.rei-day-check { flex-shrink: 0; width: 17px; height: 17px; border-radius: 5px; border: 1.5px solid rgba(255,255,255,0.3); background: transparent; cursor: pointer; accent-color: var(--orange); }
.rei-day-row { align-items: flex-start; }
.rei-day-row.is-done { opacity: 0.5; }
.rei-day-row.is-done .rei-day-topic-head strong { text-decoration: line-through; }

@media (max-width: 640px) {
  .rei-form-card { padding: 28px 20px; }
  .rei-day-row { flex-wrap: wrap; }
  .rei-day-topic { width: 100%; order: 10; }
  .rei-check-group { width: 100%; order: 11; flex-direction: row; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
}

@media (max-width: 900px) {
  .perk-steps { flex-direction: column; align-items: center; }
  .perk-steps::before { display: none; }
}

@media (max-width: 640px) {
  .mentoria-hero { margin: 10px auto 24px; padding: 60px 20px; border-radius: 20px; }
  .mentoria-title { font-size: 28px; }
  .mentoria-subtitle { font-size: 14px; }
  .mentoria-hero-logo { width: 70px; height: 70px; }
}
