/* ══════════════════════════════════════════════════════════════════════════
   LES WEBINAIRES GRATUITS (17/11/2026)
   views/pages/webinaires.ejs, webinaire.ejs, webinaire-partenaire.ejs
   Préfixe `wbn-`. Les couleurs et rayons viennent de wr.css (--wr-*).
   ══════════════════════════════════════════════════════════════════════════ */

/* `container-type` : la page se règle sur la place QU'ELLE A, pas sur
   l'écran — connecté, la colonne de l'espace et le rail de droite en
   prennent une bonne part. */
.wbn { --wbn-r: var(--wr-r-xl, 18px); color: var(--wr-ink, #1E1B2E); container-type: inline-size; }

/* ── En-tête de la liste ── */
.wbn-tete { max-width: 760px; margin: 0 0 28px; }
.wbn-sur { display: inline-block; margin-bottom: 10px; padding: 5px 12px; border-radius: var(--wr-r-pill, 100px); background: var(--wr-violet-soft, #F2EDFA); color: var(--wr-violet-dark, #6B47A6); font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.wbn-tete h1 { margin: 0 0 10px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }
.wbn-tete p { margin: 0 0 14px; font-size: 16.5px; line-height: 1.6; color: var(--wr-ink-2, #374151); }

/* ── Les pastilles ── */
.wbn-puces { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wbn-gratuit { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: var(--wr-r-pill, 100px); background: var(--wr-acc-green, #D1FAE5); color: var(--wr-acc-green-fg, #047857); font-size: 12.5px; font-weight: 800; letter-spacing: .02em; }
.wbn-gratuit::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.wbn-cat { display: inline-flex; padding: 5px 11px; border-radius: var(--wr-r-pill, 100px); background: var(--wr-violet-soft, #F2EDFA); color: var(--wr-violet-dark, #6B47A6); font-size: 12.5px; font-weight: 700; }
.wbn-cat--entreprises, .wbn-cat--recruteurs { background: var(--wr-acc-blue, #DBEAFE); color: var(--wr-acc-blue-fg, #1E40AF); }
.wbn-pastille { display: inline-flex; padding: 5px 11px; border-radius: var(--wr-r-pill, 100px); background: var(--wr-bg-2, #F4F6FB); color: var(--wr-ink-2, #374151); font-size: 12.5px; font-weight: 700; }
.wbn-complet { display: inline-flex; padding: 5px 11px; border-radius: var(--wr-r-pill, 100px); background: #FDECEC; color: #B42318; font-size: 12.5px; font-weight: 700; }

/* ── La liste ── */
.wbn-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.wbn-carte__lien { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 22px 22px 20px; border-radius: var(--wbn-r); border: 1px solid var(--wr-line, #EEF1F7); background: var(--wr-card, #fff); box-shadow: var(--wr-shadow); color: inherit; text-decoration: none; transition: box-shadow var(--wr-t, .15s), border-color var(--wr-t, .15s), transform var(--wr-t, .15s); }
.wbn-carte__lien:hover { border-color: var(--wr-violet-2, #A98AD3); box-shadow: var(--wr-shadow-hover); transform: translateY(-1px); }
.wbn-carte__lien:focus-visible { outline: 3px solid var(--wr-violet-2, #A98AD3); outline-offset: 2px; }
.wbn-carte h2 { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }
.wbn-carte p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--wr-ink-2, #374151); }
.wbn-carte__quand { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: 13.5px; }
.wbn-date { font-weight: 800; color: var(--wr-violet-dark, #6B47A6); }
.wbn-date--avenir { color: var(--wr-muted, #6B7280); }
.wbn-heure { color: var(--wr-muted, #6B7280); font-weight: 600; }
.wbn-carte__cta { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 700; color: var(--wr-violet, #8A63C1); }
.wbn-vide { padding: 32px; border-radius: var(--wbn-r); background: var(--wr-bg-2, #F4F6FB); text-align: center; color: var(--wr-ink-2, #374151); }
.wbn-vide p { margin: 0 0 12px; }

/* ── La page ── */
.wbn-fil { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 18px; font-size: 13.5px; color: var(--wr-muted, #6B7280); }
.wbn-fil a { color: inherit; font-weight: 600; text-decoration: none; }
.wbn-fil a:hover { color: var(--wr-violet-dark, #6B47A6); text-decoration: underline; }
.wbn-alerte { margin: 0 0 18px; padding: 12px 16px; border-radius: 12px; font-weight: 600; font-size: 14.5px; }
.wbn-alerte--apercu { background: #FFF7E0; color: #7A5200; }
.wbn-alerte--fin { background: #FDF2F2; color: #9B1C1C; }

/* Sur téléphone, la boîte d'inscription vient juste après l'en-tête. */
.wbn-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); grid-template-areas: "tete boite" "corps boite"; gap: 22px 28px; align-items: start; }
.wbn-entete { grid-area: tete; min-width: 0; }
.wbn-colonne { grid-area: boite; align-self: stretch; min-width: 0; }
.wbn-corps { grid-area: corps; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.wbn-bloc { padding: 24px 26px; border-radius: var(--wbn-r); border: 1px solid var(--wr-line, #EEF1F7); background: var(--wr-card, #fff); }
.wbn-bloc > h2 { margin: 0 0 14px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.wbn-titre { margin: 12px 0 8px; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
.wbn-accroche { margin: 0 0 16px; font-size: 17px; line-height: 1.55; color: var(--wr-ink-2, #374151); }
.wbn-infos { margin: 18px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.wbn-info { padding: 12px 14px; border-radius: 14px; background: var(--wr-bg-2, #F4F6FB); }
.wbn-info dt { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--wr-muted, #6B7280); }
.wbn-info dd { margin: 6px 0 0; font-size: 15px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.wbn-info dd span { display: block; font-weight: 500; color: var(--wr-muted, #6B7280); font-size: 13px; }
.wbn-texte { font-size: 15.5px; line-height: 1.7; color: var(--wr-ink-2, #374151); overflow-wrap: anywhere; }
.wbn-texte > :first-child { margin-top: 0; }
.wbn-texte > :last-child { margin-bottom: 0; }
.wbn-texte a { color: var(--wr-violet-dark, #6B47A6); }
/* Les listes de l'éditeur du back-office : le site retire les puces partout. */
.wbn-texte ul, .wbn-texte ol { margin: 0 0 1em; padding-left: 1.4em; }
.wbn-texte ul { list-style: disc; }
.wbn-texte ol { list-style: decimal; }
.wbn-texte li { display: list-item; margin: .2em 0; }
.wbn-texte li::marker { color: var(--wr-violet, #8A63C1); }
.wbn-texte p { margin: 0 0 1em; }
.wbn-texte h2, .wbn-texte h3 { margin: 1.2em 0 .5em; font-size: 17px; font-weight: 800; color: var(--wr-ink, #1E1B2E); }

/* Le programme */
.wbn-prog { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--wr-violet-soft, #F2EDFA); }
.wbn-prog li { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 0 0 18px 18px; }
.wbn-prog li::before { content: ""; position: absolute; left: -6px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: var(--wr-violet, #8A63C1); box-shadow: 0 0 0 3px #fff; }
.wbn-prog li:last-child { padding-bottom: 0; }
.wbn-prog__h { font-weight: 800; font-size: 14.5px; color: var(--wr-violet-dark, #6B47A6); font-variant-numeric: tabular-nums; }
.wbn-prog__t { margin: 0; font-size: 15.5px; font-weight: 700; }
.wbn-prog__q { margin: 3px 0 0; font-size: 13.5px; color: var(--wr-muted, #6B7280); }
.wbn-prog__d { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: var(--wr-ink-2, #374151); white-space: pre-line; }
.wbn-partenaire-puce { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; padding: 4px 10px 4px 4px; border-radius: var(--wr-r-pill, 100px); border: 1px solid var(--wr-line-2, #E5E9F0); font-size: 12.5px; font-weight: 700; color: var(--wr-ink, #1E1B2E); text-decoration: none; }
.wbn-partenaire-puce img { width: 22px; height: 22px; border-radius: 50%; object-fit: contain; background: #fff; }

/* Les partenaires */
.wbn-partenaires { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.wbn-partenaires li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 12px; border-radius: 14px; border: 1px solid var(--wr-line, #EEF1F7); text-align: center; }
.wbn-partenaires img { width: 72px; height: 72px; object-fit: contain; }
.wbn-partenaires__ini { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: var(--wr-violet-soft, #F2EDFA); color: var(--wr-violet-dark, #6B47A6); font-weight: 800; font-size: 20px; }
.wbn-partenaires strong { font-size: 14px; }
.wbn-partenaires a { font-size: 12.5px; color: var(--wr-violet-dark, #6B47A6); }
.wbn-partenaires span { font-size: 12.5px; color: var(--wr-muted, #6B7280); line-height: 1.4; }

/* La boîte d'inscription */
.wbn-boite { position: sticky; top: calc(var(--wr-header-h, 68px) + 18px); padding: 24px; border-radius: var(--wr-r-3xl, 24px); background: var(--wr-card, #fff); border: 1px solid var(--wr-line, #EEF1F7); box-shadow: var(--wr-shadow-hover); scroll-margin-top: 100px; }
.wbn-boite h2 { margin: 0 0 6px; font-size: 20px; font-weight: 800; }
.wbn-boite__gratuit { margin: 0 0 14px; font-size: 14.5px; line-height: 1.5; color: var(--wr-ink-2, #374151); }
.wbn-boite__gratuit strong { color: var(--wr-acc-green-fg, #047857); }
.wbn-boite__ligne { margin: 0 0 12px; font-size: 13.5px; line-height: 1.5; color: var(--wr-muted, #6B7280); }
.wbn-boite form { margin: 0; }
.wbn-boite .wbn-btn + form, .wbn-boite form + form, .wbn-boite form + .wbn-btn { margin-top: 10px; }
.wbn-ok { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; background: var(--wr-acc-green, #D1FAE5); color: var(--wr-acc-green-fg, #047857); font-weight: 700; font-size: 14.5px; }
.wbn-ok svg { flex: none; width: 20px; height: 20px; }
.wbn-refus { margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; background: #FFF7E0; color: #7A5200; font-size: 14px; line-height: 1.5; font-weight: 600; }
.wbn-agenda { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 12px; font-size: 13.5px; }
.wbn-agenda a { color: var(--wr-violet-dark, #6B47A6); font-weight: 600; }

.wbn-btn { display: flex; width: 100%; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 18px; border-radius: var(--wr-r-md, 12px); border: 1px solid transparent; background: var(--wr-violet, #8A63C1); color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none; transition: background var(--wr-t, .15s); }
.wbn-btn:hover { background: var(--wr-violet-dark, #6B47A6); color: #fff; }
.wbn-btn:focus-visible { outline: 3px solid var(--wr-violet-2, #A98AD3); outline-offset: 2px; }
.wbn-btn--2 { background: #fff; border-color: var(--wr-line-2, #E5E9F0); color: var(--wr-ink, #1E1B2E); }
.wbn-btn--2:hover { background: var(--wr-bg-2, #F4F6FB); color: var(--wr-ink, #1E1B2E); }
.wbn-btn--lien { min-height: 0; padding: 6px; background: none; color: var(--wr-muted, #6B7280); font-weight: 600; font-size: 13.5px; text-decoration: underline; }
.wbn-btn--lien:hover { background: none; color: var(--wr-ink, #1E1B2E); }
.wbn-btn--auto { display: inline-flex; width: auto; }

.wbn-part { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--wr-line, #EEF1F7); scroll-margin-top: 100px; }
.wbn-part h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; }
.wbn-part p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.55; color: var(--wr-ink-2, #374151); }
.wbn-part__statut { padding: 10px 12px; border-radius: 12px; background: var(--wr-bg-2, #F4F6FB); font-weight: 600; }
.wbn-part__statut--accepte { background: var(--wr-acc-green, #D1FAE5); color: var(--wr-acc-green-fg, #047857); }
.wbn-part__statut--refuse { background: #FDF2F2; color: #9B1C1C; }

.wbn-partage { display: flex; flex-wrap: wrap; gap: 8px; }
.wbn-partage a { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: var(--wr-r-pill, 100px); border: 1px solid var(--wr-line-2, #E5E9F0); color: var(--wr-ink, #1E1B2E); font-size: 13.5px; font-weight: 700; text-decoration: none; }
.wbn-partage a:hover { border-color: var(--wr-violet-2, #A98AD3); color: var(--wr-violet-dark, #6B47A6); }

/* ── Le dossier de partenaire ── */
.wbn-form { max-width: 760px; }
.wbn-champ { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; }
.wbn-champ > span { font-size: 14px; font-weight: 700; }
.wbn-champ small { font-size: 12.5px; color: var(--wr-muted, #6B7280); font-weight: 500; }
.wbn-champ input[type=text], .wbn-champ input[type=url], .wbn-champ input[type=tel], .wbn-champ textarea { width: 100%; min-height: 46px; padding: 11px 14px; border-radius: var(--wr-r-sm, 10px); border: 1px solid var(--wr-line-2, #E5E9F0); background: #fff; font: inherit; font-size: 15px; color: var(--wr-ink, #1E1B2E); }
.wbn-champ textarea { line-height: 1.55; resize: vertical; }
.wbn-champ input:focus, .wbn-champ textarea:focus { outline: none; border-color: var(--wr-violet, #8A63C1); box-shadow: 0 0 0 3px var(--wr-violet-soft, #F2EDFA); }
.wbn-champ.is-err input, .wbn-champ.is-err textarea { border-color: #E5484D; }
.wbn-err { font-size: 13px; font-weight: 600; color: #B42318; }
.wbn-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.wbn-types { display: grid; gap: 8px; }
.wbn-types label { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--wr-line-2, #E5E9F0); font-size: 14.5px; font-weight: 600; cursor: pointer; }
.wbn-types label:has(input:checked) { border-color: var(--wr-violet, #8A63C1); background: var(--wr-violet-softer, #F8F4FD); }
.wbn-types input { accent-color: var(--wr-violet, #8A63C1); width: 18px; height: 18px; margin: 0; }

@media (max-width: 960px) {
  .wbn-grille { grid-template-columns: 1fr; grid-template-areas: "tete" "boite" "corps"; }
  .wbn-boite { position: static; }
}
@container (max-width: 880px) {
  .wbn-grille { grid-template-columns: 1fr; grid-template-areas: "tete" "boite" "corps"; }
  .wbn-boite { position: static; }
}
@container (max-width: 520px) {
  .wbn-bloc { padding: 18px 16px; }
  .wbn-prog li { grid-template-columns: 1fr; gap: 4px; }
  .wbn-duo { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wbn-bloc { padding: 18px 16px; }
  .wbn-prog li { grid-template-columns: 1fr; gap: 4px; }
  .wbn-duo { grid-template-columns: 1fr; }
  .wbn-liste { grid-template-columns: 1fr; }
}
