/* ==========================================================================
   Hero institucional compartilhado (padrão COP30)
   Usado em: isp.html, isr.html, traducao.html, cursos-formativos.html
   ========================================================================== */

.phero {
  --phero-blue: #00aeef;
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(320px, 42vw, 420px);
  overflow: hidden;
  isolation: isolate;
  font-family: "Montserrat", "Open Sans", Arial, sans-serif;
}

.phero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  filter: blur(14px) saturate(1.05);
}

.phero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(11, 31, 53, 0.88) 0%,
    rgba(11, 31, 53, 0.72) 48%,
    rgba(11, 31, 53, 0.45) 100%
  );
}

.phero__wrap {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(96px, 12vw, 112px) 0 clamp(32px, 4vw, 40px);
}

.phero__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.phero__breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.phero__breadcrumb a:hover {
  color: #fff;
}

.phero__category {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--phero-blue);
}

.phero__title {
  margin: 0;
  max-width: 16em;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  line-height: 1.22;
  color: #fff;
}

.phero__intro {
  margin: 12px 0 0;
  max-width: 36em;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
}

.phero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.phero__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.phero__btn--primary {
  background: var(--phero-blue);
  border: 1.5px solid var(--phero-blue);
  color: #fff;
}

.phero__btn--primary:hover {
  background: #0095cc;
  border-color: #0095cc;
  color: #fff;
  transform: translateY(-1px);
}

.phero__btn--ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.72);
  color: #fff;
}

.phero__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

@media (max-width: 767px) {
  .phero__wrap {
    width: min(1080px, calc(100% - 32px));
    padding-top: 88px;
  }

  .phero__btn {
    width: 100%;
    justify-content: center;
  }
}
