/* ==========================================================================
   SPTECH — História e missão
   Depende de styles.css e course.css (hero, breadcrumb).
   ========================================================================== */

.c-hero .video-card__wrap { width: 100%; }

/* --------------------------------------------------------------------------
   Linha do tempo
   -------------------------------------------------------------------------- */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.timeline::before {
  /* trilho */
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 31px;
  height: 6px;
  border-radius: 99px;
  background: var(--bg-soft);
}
.timeline::after {
  content: "";
  position: absolute;
  left: 0;
  top: 31px;
  height: 6px;
  width: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--teal), var(--pink) 36%, var(--yellow) 64%, var(--m-blue, #2e80ea));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s var(--ease);
}
.timeline.is-in::after { transform: none; }
.milestone { position: relative; --c: var(--teal); }
.milestone:nth-of-type(2) { --c: var(--pink); }
.milestone:nth-of-type(3) { --c: var(--yellow); --c-fg: var(--navy); }
.milestone:nth-of-type(4) { --c: #2e80ea; }
.milestone__dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--c);
  color: var(--c-fg, #fff);
  box-shadow: 0 0 0 6px #fff, 0 14px 28px -12px color-mix(in srgb, var(--c) 80%, transparent);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
}
.milestone__dot svg { width: 30px; height: 30px; }
.milestone__year {
  display: inline-block;
  margin-top: 22px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--c);
  color: var(--c-fg, #fff);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
}
.milestone h3 { margin-top: 12px; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.25; }
.milestone p { margin-top: 6px; font-size: 0.96rem; }
.milestone:last-child .milestone__card { box-shadow: inset 0 0 0 2px var(--c); }
.milestone__card { margin-top: 14px; padding: 18px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.milestone__card h3 { margin-top: 0; }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 22px; padding-left: 0; }
  .timeline::before, .timeline::after { left: 31px; right: auto; top: 0; bottom: 0; width: 6px; height: auto; }
  .timeline::after { background: linear-gradient(180deg, var(--teal), var(--pink) 36%, var(--yellow) 64%, #2e80ea); transform: scaleY(0); transform-origin: top; }
  .milestone { display: grid; grid-template-columns: 68px 1fr; gap: 18px; align-items: start; }
  .milestone__year { margin-top: 0; }
  .milestone__card { margin-top: 10px; }
}

/* --------------------------------------------------------------------------
   Missão e valores
   -------------------------------------------------------------------------- */
.mission {
  position: relative;
  padding: clamp(32px, 6vw, 72px);
  border-radius: 36px;
  background: var(--bg-soft);
  overflow: hidden;
  isolation: isolate;
}
.mission::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -60px; top: -60px;
  width: 240px; height: 240px;
  border-radius: 0 0 0 100%;
  background: var(--pink);
  opacity: 0.12;
}
.mission blockquote {
  margin: 18px 0 0;
  max-width: 28ch;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.mission blockquote mark { background: none; color: var(--pink); }

.values { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 16px; margin-top: 16px; }
.value-card {
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
}
.value-card h3 { font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.traits { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.traits li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
}
.traits li::before { content: ""; width: 10px; height: 10px; border-radius: 0 0 0 100%; background: var(--c, var(--yellow)); }
.traits li:nth-child(2) { --c: var(--pink); }
.traits li:nth-child(3) { --c: var(--teal); }
.traits li:nth-child(4) { --c: #2e80ea; }
.value-card--promise { background: var(--navy); color: rgba(255, 255, 255, 0.8); box-shadow: none; }
.value-card--promise h3 { color: var(--yellow); }
.value-card--promise p { margin-top: 18px; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.2; letter-spacing: -0.02em; }
.value-card--promise p span { color: var(--yellow); }
.promise-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.promise-pair a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.2s;
}
.promise-pair a:hover { background: rgba(255, 255, 255, 0.16); }
.promise-pair svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Conheça mais
   -------------------------------------------------------------------------- */
.more { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.more a {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.more a:hover { transform: translateY(-4px); background: var(--navy-700); }
.more img { width: 56px; height: 56px; object-fit: contain; }
.more strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1rem; text-transform: uppercase; }
@media (max-width: 960px) { .more { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .more { grid-template-columns: 1fr; } }
