/* Webinar "Du clic au code": the hero, the programme, and the pieces the form adds to the summit form styles. */
.wb-hero {
  background: linear-gradient(180deg, #33003b 0%, #4a0955 100%);
  padding: 76px 24px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.wb-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 70% at 85% 10%, rgba(251, 215, 19, 0.13) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 50% 120%, rgba(251, 215, 19, 0.08) 0%, transparent 70%);
}
.wb-hero h1 { font-size: clamp(34px, 6.5vw, 62px); font-weight: 800; color: #fff; margin: 0 0 14px; letter-spacing: -0.025em; line-height: 1.08; }
.wb-hero p { font-size: 17px; color: rgba(255, 255, 255, 0.72); max-width: 600px; margin: 0 auto; line-height: 1.65; }
.wb-when {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 10px 20px;
  border-radius: 999px; background: #fbd713; color: #33003b; font-weight: 700; font-size: 15px;
}

.wb-countdown { display: flex; justify-content: center; gap: 14px; margin: 30px 0 6px; }
.wb-countdown div {
  min-width: 78px; padding: 12px 8px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
}
.wb-countdown b { display: block; font-size: 32px; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.wb-countdown span { display: block; margin-top: 2px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.6); }

.wb-hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.wb-btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 26px; border-radius: 12px;
  font-weight: 700; font-size: 15px; text-decoration: none; transition: transform 0.12s, background 0.12s;
}
.wb-btn:hover { transform: translateY(-1px); text-decoration: none; }
.wb-btn--primary { background: #fbd713; color: #33003b; }
.wb-btn--primary:hover { background: #ffe44d; color: #33003b; }
.wb-btn--ghost { border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; }
.wb-btn--ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.wb-body { max-width: 820px; margin: 0 auto; padding: 56px 24px 80px; }
.wb-anchor { scroll-margin-top: 80px; }
.wb-section { margin-bottom: 44px; }
.wb-section h2 { font-size: 24px; font-weight: 800; color: #33003b; margin: 0 0 18px; letter-spacing: -0.01em; }

.wb-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.wb-step {
  position: relative; background: #fff; border-radius: 14px; padding: 22px 22px 20px;
  box-shadow: 0 2px 16px rgba(51, 0, 59, 0.07); border: 1px solid #f0e6f3;
}
.wb-step-n {
  position: absolute; top: 14px; right: 16px; font-size: 13px; font-weight: 800; color: #4a0955; opacity: 0.35;
}
.wb-step i { font-size: 22px; color: #4a0955; margin-bottom: 10px; display: block; }
.wb-step p { margin: 0; font-size: 15.5px; font-weight: 600; color: #0f1f38; line-height: 1.45; }

.wb-takeaways { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.wb-takeaways li {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #fff; border-radius: 12px;
  border: 1px solid #f0e6f3; font-weight: 600; color: #0f1f38; font-size: 15px;
}
.wb-takeaways i { color: #16a34a; font-size: 18px; }

.wb-for p { margin: 0 0 10px; font-size: 16px; color: #3b4a63; line-height: 1.6; }
.wb-sovereign { color: #33003b !important; font-weight: 700; }
.wb-sovereign i { color: #4a0955; margin-right: 6px; }

/* the form: skill levels as four pills each */
.wb-levels { display: grid; gap: 14px; }
.wb-level { border: 0; padding: 0; margin: 0; }
.wb-level legend { font-size: 13px; font-weight: 700; color: #33003b; margin-bottom: 7px; padding: 0; }
.wb-level-pills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.wb-level-pills label { position: relative; margin: 0; cursor: pointer; }
.wb-level-pills input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.wb-level-pills span {
  display: block; text-align: center; padding: 10px 6px; border-radius: 10px; font-size: 13px; font-weight: 600;
  color: #5a6b84; background: #fff; border: 1.5px solid #e1e6ef; transition: all 0.12s;
}
.wb-level-pills label:hover span { border-color: #b9a3c2; }
.wb-level-pills input:checked + span { background: #33003b; border-color: #33003b; color: #fbd713; }
.wb-level-pills input:focus-visible + span { outline: 2px solid #fbd713; outline-offset: 2px; }

.wb-textarea { resize: vertical; min-height: 110px; font-family: inherit; line-height: 1.5; }
.wb-count { align-self: flex-end; font-size: 11.5px; color: #8a97ab; margin-top: 4px; }
.wb-replay { margin-top: 20px; }

@media (max-width: 640px) {
  .wb-steps { grid-template-columns: 1fr; }
  .wb-level-pills { grid-template-columns: repeat(2, 1fr); }
  .wb-countdown { gap: 8px; }
  .wb-countdown div { min-width: 64px; }
  .wb-countdown b { font-size: 26px; }
}
