/* ==========================================================================
   SPTECH — Formação socioemocional
   Depende de styles.css, course.css e lideranca.css (depoimentos, cards, painel).
   ========================================================================== */

/* Hero: técnica é a base, socioemocional é o diferencial */
.layers { position: relative; display: grid; gap: 12px; max-width: 440px; width: 100%; justify-self: center; }
.layer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.layer__ico { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, 0.18); }
.layer__ico svg { width: 26px; height: 26px; }
.layer small { display: block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; }
.layer strong { display: block; margin-top: 2px; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.2; }
.layer--top { margin-inline: 0 8%; background: var(--pink); color: #fff; transform: rotate(-2deg); }
.layer--plus {
  justify-self: center;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin: -22px 0;
  z-index: 2;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  box-shadow: 0 0 0 6px #fff;
}
.layer--base { margin-inline: 8% 0; background: var(--navy); color: #fff; }
.layer--result { margin-top: 6px; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--teal), var(--shadow-sm); }
.layer--result .layer__ico { background: color-mix(in srgb, var(--teal) 14%, #fff); color: #00808a; }
.layer--result small { color: #00808a; opacity: 1; }
.layers::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -10%; top: -8%;
  width: 40%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: color-mix(in srgb, var(--yellow) 40%, #fff);
}

/* Base x diferencial */
.basics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.basic {
  padding: clamp(26px, 4vw, 38px);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}
.basic--diff { background: color-mix(in srgb, var(--pink) 8%, #fff); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--pink) 30%, #fff); }
.basic small { color: var(--muted); font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
.basic--diff small { color: var(--pink); }
.basic p { margin-top: 12px; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.35; }
@media (max-width: 860px) { .basics { grid-template-columns: 1fr; } }

/* Competências */
.skills-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.skills { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
.skills li {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 120px;
  padding: 18px;
  border-radius: 22px 22px 22px 4px;
  background: var(--c);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
}
.skills li:nth-child(1) { --c: var(--pink); }
.skills li:nth-child(2) { --c: var(--teal); }
.skills li:nth-child(3) { --c: var(--navy); }
.skills li:nth-child(4) { --c: var(--yellow); color: var(--navy); }
.skills-quote { margin: 0; }
.skills-quote blockquote {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.4;
}
.skills-quote blockquote::before { content: "“"; display: block; height: 0.55em; color: var(--pink); font-size: 3em; line-height: 1; }
.skills-quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 20px; color: var(--muted); font-size: 0.92rem; }
.skills-quote figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.skills-quote figcaption strong { display: block; color: var(--ink); font-family: var(--font-display); }
@media (max-width: 860px) { .skills-wrap { grid-template-columns: 1fr; } }

/* Do primeiro ao último dia */
.years-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.years-strip div {
  position: relative;
  padding: 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
}
.years-strip div span { display: block; margin-top: 10px; padding: 6px 10px; border-radius: 10px; background: var(--ink); color: #fff; font-family: var(--font-body); font-weight: 600; font-size: 0.82rem; }
.years-strip div span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 0 0 0 100%; background: var(--yellow); }
.support { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(28px, 4vw, 40px); }
.support article { padding: 26px; border-radius: var(--radius-lg); background: var(--bg-soft); }
.support b { display: block; color: var(--pink); font-family: var(--font-display); font-size: 0.85rem; }
.support h3 { margin-top: 10px; font-family: var(--font-display); font-size: 1.2rem; }
.support p { margin-top: 8px; }
.note-link { margin-top: 18px; color: var(--muted); font-size: 0.92rem; }
@media (max-width: 860px) { .support { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .years-strip { grid-template-columns: 1fr 1fr; } }

/* Equipe socioemocional (usa os cards de lideranca.css) */
.team-socio { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) { .team-socio { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .team-socio { grid-template-columns: 1fr 1fr; } }
