.nf-formations-hero {
  width: 100%;
  padding: 0;
}

.nf-formations-hero * {
  box-sizing: border-box;
}

.nf-formations-hero .nf-formations-hero-box {
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(255,255,255,.070), transparent 62%),
    radial-gradient(720px 380px at 88% 20%, rgba(255,255,255,.045), transparent 64%),
    radial-gradient(620px 320px at 8% 92%, rgba(255,255,255,.035), transparent 66%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  padding: 68px 5%;
}

.nf-formations-hero .nf-formations-hero-box:before {
  content: "";
  position: absolute;
  inset: -70px -80px auto -80px;
  height: 280px;
  background:
    radial-gradient(closest-side at 20% 45%, rgba(255,255,255,.11), transparent 62%),
    radial-gradient(closest-side at 52% 10%, rgba(255,255,255,.08), transparent 60%),
    radial-gradient(closest-side at 88% 62%, rgba(255,255,255,.09), transparent 64%);
  opacity: .58;
  filter: blur(14px);
  pointer-events: none;
}

.nf-formations-hero .nf-formations-hero-box:after {
  content: "Formations";
  position: absolute;
  right: -18px;
  bottom: -32px;
  color: rgba(255,255,255,.035);
  font-size: 122px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.07em;
  pointer-events: none;
  white-space: nowrap;
}

.nf-formations-hero .nf-formations-inner {
  position: relative;
  z-index: 2;
  max-width: 1040px;
}

.nf-formations-hero .nf-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.20);
  color: #cfcfcf;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.nf-formations-hero .nf-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.62);
  box-shadow: 0 0 0 4px rgba(255,255,255,.10);
  flex: 0 0 auto;
}

.nf-formations-hero h1 {
  margin: 18px 0 14px;
  max-width: 960px;
  color: #f2f2f2;
  font-size: 52px;
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 850;
}

.nf-formations-hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: #a7a7a7;
}

.nf-formations-hero .nf-description p {
  margin: 0;
  max-width: 900px;
  color: #d0d0d0;
  font-size: 15px;
  line-height: 1.78;
}

.nf-formations-hero .nf-description p strong {
  color: #f1f1f1;
  font-weight: 750;
}

.nf-formations-hero .nf-hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nf-formations-hero .nf-hero-btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  transition: all .22s ease;
  white-space: nowrap;
}

.nf-formations-hero .nf-hero-btn.primary {
  color: #101010;
  background: #f2f2f2;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
}

.nf-formations-hero .nf-hero-btn.secondary {
  color: #e8e8e8;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.12);
}

.nf-formations-hero .nf-hero-btn:hover {
  transform: translateY(-1px);
}

.nf-formations-hero .nf-hero-btn.primary:hover {
  background: #fff;
  box-shadow: 0 18px 42px rgba(0,0,0,.42);
}

.nf-formations-hero .nf-hero-btn.secondary:hover {
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.07);
  color: #fff;
}

@media (max-width: 900px){
  .nf-formations-hero .nf-formations-hero-box {
    padding: 54px 6%;
  }

  .nf-formations-hero .nf-formations-hero-box:after {
    font-size: 86px;
    right: -14px;
    bottom: -22px;
  }

  .nf-formations-hero h1 {
    font-size: 41px;
  }
}

@media (max-width: 600px){
  .nf-formations-hero .nf-formations-hero-box {
    padding: 42px 20px;
    border-radius: 20px;
  }

  .nf-formations-hero .nf-formations-hero-box:after {
    display: none;
  }

  .nf-formations-hero .nf-badge {
    font-size: 10px;
    letter-spacing: .12em;
    padding: 7px 12px;
  }

  .nf-formations-hero h1 {
    font-size: 34px;
    letter-spacing: -.035em;
  }

  .nf-formations-hero .nf-description p {
    font-size: 14px;
  }

  .nf-formations-hero .nf-hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .nf-formations-hero .nf-hero-btn {
    width: 100%;
  }
}