.formation-auth-page {
  align-items: center;
  background: linear-gradient(155deg, #02040b 0%, #061445 48%, #02040b 100%);
  color: var(--white);
  display: flex;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  padding: 120px 48px 64px;
  position: relative;
}
.formation-auth-page::before {
  background-image:
    radial-gradient(ellipse 90% 72% at 74% 30%, rgba(0, 71, 255, 0.58) 0%, transparent 70%),
    radial-gradient(ellipse 58% 46% at 18% 82%, rgba(212, 245, 60, 0.08) 0%, transparent 64%);
  content: '';
  filter: saturate(1.35);
  inset: 0;
  position: absolute;
  z-index: -2;
}
.formation-auth-page::after {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.72'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
  content: '';
  filter: contrast(1.6);
  inset: 0;
  mix-blend-mode: screen;
  opacity: 0.14;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}
.formation-auth-logo {
  left: 48px;
  position: absolute;
  top: 46px;
  width: 180px;
  z-index: 1;
}
.formation-auth-logo img {
  filter: brightness(0) invert(1);
  width: 100%;
}
.formation-auth-shell {
  align-items: center;
  display: grid;
  gap: clamp(56px, 9vw, 150px);
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  margin: 0 auto;
  max-width: 1220px;
  position: relative;
  width: 100%;
  z-index: 1;
}
.formation-auth-copy {
  max-width: 620px;
}
.formation-auth-eyebrow,
.formation-auth-heading p {
  color: var(--yellow);
  font-family: var(--font-hw);
  font-size: 1.6rem;
  font-weight: normal;
  line-height: 1;
  margin-bottom: 14px;
}
.formation-auth-copy h1 {
  font-size: clamp(2.5rem, 5.4vw, 5.2rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.formation-auth-copy > p:last-child {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 540px;
}
.formation-auth-card {
  background: rgba(3, 5, 12, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  padding: clamp(28px, 4vw, 52px);
}
.formation-auth-heading {
  margin-bottom: 34px;
}
.formation-auth-heading h2 {
  color: var(--white);
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}
.formation-auth-card label {
  color: rgba(255, 255, 255, 0.66);
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.formation-auth-card input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 0;
  color: var(--white);
  font: inherit;
  font-size: 1.08rem;
  outline: 0;
  padding: 8px 0 13px;
  width: 100%;
}
.formation-auth-card input:focus {
  border-bottom-color: var(--yellow);
}
.formation-auth-card input::placeholder {
  color: rgba(255, 255, 255, 0.32);
}
.formation-auth-submit {
  background: var(--yellow);
  border: 1px solid var(--yellow);
  color: var(--black);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  margin-top: 32px;
  min-height: 48px;
  padding: 12px 22px;
  width: 100%;
}
.formation-auth-submit:disabled,
.formation-auth-secondary-actions button:disabled {
  cursor: wait;
  opacity: 0.58;
}
.formation-auth-instructions,
.formation-auth-message {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.55;
}
.formation-auth-instructions {
  margin-bottom: 28px;
}
.formation-auth-message {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 28px;
  padding-top: 20px;
}
.formation-auth-dev-code {
  background: rgba(212, 245, 60, 0.1);
  border: 1px solid rgba(212, 245, 60, 0.34);
  color: var(--yellow);
  font-size: 0.86rem;
  margin-top: 20px;
  padding: 12px 14px;
}
.formation-auth-secondary-actions {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-top: 22px;
}
.formation-auth-secondary-actions button {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.64);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.formations-page {
  background: radial-gradient(circle at 70% 20%, #07133c 0, #020817 42%, #02040b 100%);
  color: var(--white);
  min-height: 100vh;
  overflow: hidden;
  padding: 54px 48px 64px;
}
.formations-logo {
  display: inline-block;
  margin-bottom: 66px;
  width: 180px;
}
.formations-logo img {
  filter: brightness(0) invert(1);
  width: 100%;
}
.formations-account {
  align-items: center;
  display: flex;
  gap: 18px;
  position: absolute;
  right: 48px;
  top: 48px;
}
.formations-account span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.76rem;
}
.formations-account button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  min-height: 34px;
  padding: 7px 12px;
}
.formations-account button:disabled {
  cursor: wait;
  opacity: 0.56;
}
.formations-menu-backdrop,
.formations-menu-toggle {
  display: none;
}
.formations-shell {
  align-items: start;
  display: grid;
  gap: clamp(52px, 7vw, 142px);
  grid-template-columns: minmax(288px, 390px) minmax(0, 1fr);
}
.formations-sidebar {
  align-self: start;
}
.formations-menu {
  background: #03050c;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  max-height: calc(100vh - 170px);
  overflow: auto;
}
.formations-menu-group {
  display: flex;
  flex-direction: column;
}
.formations-menu-children {
  display: flex;
  flex-direction: column;
}
.formations-menu-button {
  align-items: center;
  background: #05070f;
  border: 0;
  color: var(--white);
  cursor: pointer;
  display: flex;
  font: inherit;
  gap: 16px;
  justify-content: space-between;
  line-height: 1.06;
  min-height: 54px;
  padding: 14px 20px;
  position: relative;
  text-align: left;
  width: 100%;
}
.formations-menu-button:hover {
  background: #10131c;
}
.formations-menu-button.is-active {
  background: #525c6e;
}
.formations-menu-button span {
  display: block;
}
.formations-menu-chevron {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  display: block;
  flex: 0 0 auto;
  height: 10px;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  width: 10px;
}
.formations-menu-button[aria-expanded='true'] .formations-menu-chevron {
  transform: rotate(-135deg);
}
.formations-menu-group--depth-0 > .formations-menu-button {
  background: linear-gradient(90deg, #02040a 0%, #070a16 100%);
  font-size: 0.88rem;
  font-weight: 900;
  min-height: 70px;
}
.formations-menu-group--depth-0 > .formations-menu-button.has-active-child,
.formations-menu-group--depth-0 > .formations-menu-button.is-selected {
  background: linear-gradient(90deg, #030610 0%, #0a0e1e 100%);
}
.formations-menu > .formations-menu-group:first-child > .formations-menu-button {
  border-radius: 18px 18px 0 0;
}
.formations-menu-group--depth-1 > .formations-menu-button {
  background: #0d111a;
  font-size: 0.92rem;
  font-weight: 900;
  min-height: 78px;
  text-transform: uppercase;
}
.formations-menu-group--depth-1 > .formations-menu-button.has-active-child,
.formations-menu-group--depth-1 > .formations-menu-button.is-selected {
  background: #151b26;
}
.formations-menu-group--depth-2 > .formations-menu-button {
  background: #10151f;
  border-bottom: 0;
  color: #f5f5f5;
  font-size: 0.86rem;
  font-weight: 800;
  min-height: 64px;
  padding: 18px 22px 22px;
  text-transform: uppercase;
}
.formations-menu-group--depth-2 > .formations-menu-button::after {
  background: rgba(255, 255, 255, 0.34);
  bottom: 0;
  content: '';
  height: 2px;
  left: 22px;
  position: absolute;
  right: 22px;
}
.formations-menu-group--depth-2:last-child > .formations-menu-button::after {
  display: none;
}
.formations-menu-group--depth-2 > .formations-menu-button:hover {
  background: #1a202c;
}
.formations-menu-group--depth-2 > .formations-menu-button.is-active {
  background: #515c70;
}
.formations-menu-group--depth-2 > .formations-menu-button.is-active::after {
  background: rgba(255, 255, 255, 0.72);
}
.formations-content {
  padding-top: 24px;
}
.formations-content-eyebrow {
  display: none;
}
.formations-content h1 {
  color: var(--white);
  font-size: clamp(1.55rem, 2.6vw, 2.45rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
  margin-bottom: 48px;
  max-width: 760px;
  text-transform: uppercase;
}
.formations-content-stage {
  align-items: center;
  display: grid;
  gap: clamp(44px, 7vw, 104px);
  grid-template-columns: minmax(220px, 300px) minmax(240px, 430px);
}
.formations-content:not(.formations-content--video) .formations-content-stage {
  display: block;
  max-width: 720px;
}
.formations-video-frame {
  aspect-ratio: 9 / 16;
  border-radius: 30px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
  overflow: hidden;
  position: relative;
  width: min(300px, 24vw);
}
.formations-video-frame img,
.formations-video-frame iframe,
.formations-video-frame video {
  border: 0;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.formations-video-frame video {
  background: #000;
  display: block;
}
.formations-video-frame--poster::after {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  color: #020817;
  content: '';
  display: flex;
  height: 54px;
  justify-content: center;
  left: 50%;
  opacity: 0.92;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
}
.formations-video-frame--poster::before {
  border-bottom: 12px solid transparent;
  border-left: 18px solid #020817;
  border-top: 12px solid transparent;
  content: '';
  left: calc(50% - 6px);
  position: absolute;
  top: calc(50% - 12px);
  z-index: 1;
}
.formations-content-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: 420px;
}
.formations-cta {
  border-color: var(--white);
  color: var(--white);
  display: inline-block;
  margin-top: 46px;
}

@media (max-width: 1000px) {
  .formation-auth-page {
    align-items: flex-start;
    padding: 116px 28px 56px;
  }
  .formation-auth-logo {
    left: 28px;
    top: 34px;
    width: 150px;
  }
  .formation-auth-shell {
    gap: 48px;
    grid-template-columns: 1fr;
    max-width: 620px;
  }
  .formation-auth-copy h1 {
    font-size: clamp(2.4rem, 10vw, 4.5rem);
  }
  .formations-page {
    min-height: 100vh;
    overflow-x: hidden;
    padding: 34px 28px 56px;
  }
  .formations-logo {
    margin-bottom: 44px;
    width: 150px;
  }
  .formations-account {
    right: 80px;
    top: 25px;
  }
  .formations-account span {
    display: none;
  }
  .formations-menu-toggle {
    align-items: center;
    background: #05070f;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: 48px;
    justify-content: center;
    position: fixed;
    right: 18px;
    top: 18px;
    width: 48px;
    z-index: 120;
  }
  .formations-menu-toggle span {
    background: var(--white);
    border-radius: 999px;
    display: block;
    height: 2px;
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
    width: 20px;
  }
  .formations-menu-toggle.is-open span:first-child {
    transform: translateY(7px) rotate(45deg);
  }
  .formations-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }
  .formations-menu-toggle.is-open span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }
  .formations-menu-backdrop {
    background: rgba(0, 0, 0, 0.48);
    border: 0;
    display: block;
    inset: 0;
    padding: 0;
    position: fixed;
    z-index: 90;
  }
  .formations-shell {
    display: block;
  }
  .formations-sidebar {
    background: linear-gradient(180deg, #03050c 0%, #070b15 100%);
    bottom: auto;
    box-shadow: -28px 0 70px rgba(0, 0, 0, 0.44);
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    max-width: 420px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 92px 18px 24px;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    -webkit-overflow-scrolling: touch;
    width: min(88vw, 420px);
    z-index: 100;
  }
  .formations-sidebar.is-open {
    transform: translateX(0);
  }
  .formations-content-stage {
    grid-template-columns: 1fr;
  }
  .formations-menu {
    border-radius: 18px 0 0 18px;
    max-height: none;
  }
  .formations-content {
    padding-top: 0;
  }
  .formations-content-text {
    order: 1;
  }
  .formations-video-frame {
    justify-self: center;
    order: 2;
    width: 80vw;
  }
}
@media (min-width: 1001px) and (max-height: 760px) {
  .formations-page {
    padding-bottom: 44px;
    padding-top: 44px;
  }
  .formations-logo {
    margin-bottom: 48px;
    width: 160px;
  }
  .formations-menu {
    max-height: calc(100vh - 140px);
  }
  .formations-content h1 {
    margin-bottom: 38px;
  }
  .formations-video-frame {
    width: min(260px, 22vw);
  }
}
@media (max-width: 560px) {
  .formation-auth-page {
    padding: 104px 18px 40px;
  }
  .formation-auth-logo {
    left: 18px;
    top: 28px;
  }
  .formation-auth-copy h1 {
    font-size: 2.55rem;
  }
  .formation-auth-copy > p:last-child {
    font-size: 0.92rem;
  }
  .formation-auth-card {
    padding: 28px 20px;
  }
  .formation-auth-secondary-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .formations-page {
    padding: 28px 18px 48px;
  }
  .formations-shell {
    gap: 42px;
  }
  .formations-menu-button {
    padding-left: 16px;
    padding-right: 16px;
  }
  .formations-menu-group--depth-2 > .formations-menu-button::after {
    left: 16px;
    right: 16px;
  }
}
