/* =====================================================================
   NETWORK CG · Espace Formations (welcome.html)
   Reprend le vocabulaire de la page d'accueil (index.html) :
   héros photo voilé de bleu nuit, surtitres bleus, titres marine,
   cartes blanches à ombre légère, onglets façon « services », or en accent.
   Version allégée : pas d'icônes décoratives, couleurs mesurées.
   ===================================================================== */
.wl {
    --blue: #0066cc;
    --blue-dark: #005073;
    --blue-soft: #eef4fb;
    --sky: #7fd3f7;
    --navy: #0b1e3f;
    --ink: #1a1a1a;
    --text: #333a45;
    --muted: #6b7487;
    --line: #e5e8ee;
    --bg: #fafafa;
    --white: #ffffff;
    --gold: #F59E0B;
    --gold-dark: #D97706;
    --gold-soft: #fff6e5;
    --shadow-sm: 0 1px 3px rgba(15, 32, 60, .06);
    --shadow: 0 12px 30px rgba(15, 32, 60, .09);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}
/* :where() = priorité nulle, pour ne jamais écraser les styles de l'en-tête et du pied de page du site */
:where(.wl main, .wl .ng-modal) a { color: var(--blue); text-decoration: none; }
:where(.wl main, .wl .ng-modal) a:hover { color: var(--blue-dark); }
.wl-wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
@media (max-width: 640px) { .wl-wrap { padding: 0 1.15rem; } }
.wl-muted { color: var(--muted); }

/* ---------- Typographie (comme index) ---------- */
.wl-kicker { margin: 0 0 .6rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.wl-h2 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; color: var(--navy); }
.wl-h2 span, .wl-title span { color: var(--blue); }
.wl-note { margin: .75rem 0 0; max-width: 64ch; font-size: 1.02rem; color: var(--muted); }
.wl-head { margin-bottom: 2.25rem; }
.wl-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }

/* ---------- Boutons (style btn-cisco) ---------- */
.wl-btn { display: inline-flex; align-items: center; justify-content: center; padding: .8rem 1.5rem; border: 2px solid var(--blue); border-radius: 6px; background: var(--blue); color: #fff !important; font: 600 .86rem/1.2 'Inter', sans-serif; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; text-decoration: none !important; white-space: nowrap; transition: background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.wl-btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0, 80, 115, .2); }
.wl-btn:focus-visible, .wl-link-btn:focus-visible, .wl-tab:focus-visible, .wl-row:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.wl-btn:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.wl-btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); border-color: transparent; }
.wl-btn-gold:hover { background: linear-gradient(135deg, var(--gold-dark), #b45309); border-color: transparent; box-shadow: 0 6px 18px rgba(217, 119, 6, .28); }
.wl-btn-light { background: transparent; border-color: rgba(255, 255, 255, .7); }
.wl-btn-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; box-shadow: none; }
.wl-btn-ghost { background: #fff; color: var(--navy) !important; border-color: #d6dde6; }
.wl-btn-ghost:hover { background: #fff; color: var(--blue) !important; border-color: var(--blue); box-shadow: none; }
.wl-btn-block { width: 100%; }
.wl-btn-sm { padding: .5rem .9rem; font-size: .78rem; }
.wl-link-btn { border: 0; background: none; padding: 0; font: 600 .9rem 'Inter', sans-serif; color: var(--blue); cursor: pointer; }
.wl-link-btn:hover { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.wl-link { font-weight: 600; }
.wl-actions { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; margin-top: 2rem; }

/* ---------- Mentions ---------- */
/* Étiquette Premium : petit cadenas doré + mot en clair, sur fond gris très léger */
.wl-premium { display: inline-flex; align-items: center; gap: .3rem; padding: .12rem .55rem; border-radius: 999px; background: #f3f4f6; color: var(--navy); font-size: .74rem; font-weight: 600; line-height: 1.45; white-space: nowrap; vertical-align: .05em; }
.wl-premium i { color: #b7791f; font-size: .7rem; }
/* Ressource Premium dans les listes : un simple cadenas */
.wl-lock { display: inline-flex; align-items: center; color: #b7791f; font-size: .95rem; line-height: 1; }
.wl-tag { display: inline-block; padding: .12rem .55rem; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: .74rem; font-weight: 600; line-height: 1.45; white-space: nowrap; }
.wl-tag-gray { background: #f1f3f6; color: var(--muted); }
.wl-tag-ok { background: #e9f7ef; color: #047857; }

/* ---------- Héros (comme index) ---------- */
.wl-hero { position: relative; overflow: hidden; color: #fff;
    background: linear-gradient(135deg, rgba(0, 80, 115, .05), rgba(0, 102, 204, .08)), url('/premium/assets/img/bienvenue2.jpg') center 30% / cover no-repeat; }
.wl-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 40, 62, .9) 0%, rgba(0, 51, 73, .78) 50%, rgba(0, 51, 73, .45) 100%); }
.wl-hero .wl-wrap { position: relative; z-index: 1; padding-top: 5.5rem; padding-bottom: 4.5rem; }
.wl-hero-text { max-width: 720px; }
.wl-hero .wl-kicker { color: var(--sky); }
.wl-title { margin: 0 0 1.25rem; font-size: clamp(2.1rem, 4.4vw, 3.2rem); font-weight: 700; line-height: 1.12; letter-spacing: -.015em; color: #fff; }
.wl-title span { color: var(--sky); }
.wl-lead { margin: 0; max-width: 60ch; font-size: 1.12rem; color: rgba(255, 255, 255, .88); }
.wl-figures { display: flex; gap: 3rem; flex-wrap: wrap; margin: 2.75rem 0 0; padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .22); }
.wl-figures div { margin: 0; }
.wl-figures dd { margin: 0; font-size: 2rem; font-weight: 700; line-height: 1; color: var(--sky); font-variant-numeric: tabular-nums; }
.wl-figures dt { margin-top: .45rem; font-size: .88rem; color: rgba(255, 255, 255, .78); }
@media (max-width: 640px) { .wl-hero .wl-wrap { padding-top: 3.5rem; padding-bottom: 3rem; } .wl-figures { gap: 1.75rem; } .wl-figures dd { font-size: 1.6rem; } .wl-hero .wl-actions .wl-btn { flex: 1 1 100%; } }

/* ---------- Sections ---------- */
.wl-section { padding: 5rem 0; }
.wl-section-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 640px) { .wl-section { padding: 3.5rem 0; } }

/* ---------- Par où commencer ---------- */

/* ---------- Annonces ---------- */
.wl-ann { display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; margin-top: 2rem; padding: 1rem 1.25rem; border: 1px solid var(--line); background: var(--white); border-radius: 8px; box-shadow: var(--shadow-sm); }
.wl-ann + .wl-ann { margin-top: .6rem; }
.wl-ann b { color: var(--navy); }
.wl-ann p { margin: .15rem 0 0; font-size: .95rem; }
.wl-ann button { border: 0; background: none; color: var(--muted); font: 600 .84rem 'Inter', sans-serif; cursor: pointer; white-space: nowrap; }
.wl-ann button:hover { color: var(--navy); }

/* ---------- Mon espace ---------- */
.wl-me { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 960px) { .wl-me { grid-template-columns: 1fr; } }
.wl-me > div { padding: 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-sm); }
.wl-me h3, .wl-subhead h3 { margin: 0 0 .8rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.wl-me .big { margin: 0; font-size: 1.35rem; font-weight: 700; color: var(--navy); }
.wl-me p { margin: .35rem 0 0; font-size: .95rem; }
.wl-me .wl-actions { margin-top: 1.25rem; gap: 1.25rem; }
.wl-meter { height: 6px; margin-top: 1.1rem; background: #edf1f6; border-radius: 6px; overflow: hidden; }
.wl-meter i { display: block; height: 100%; border-radius: 6px; background: var(--blue); }
.wl-mini { list-style: none; margin: 0; padding: 0; }
.wl-mini li { padding: .75rem 0; border-top: 1px solid var(--line); }
.wl-mini li:first-child { border-top: 0; padding-top: 0; }
.wl-mini b { display: block; color: var(--navy); font-weight: 600; line-height: 1.4; }
.wl-mini small { display: block; color: var(--muted); font-size: .85rem; margin-top: .1rem; }
.wl-mini .links { display: flex; gap: 1rem; margin-top: .35rem; font-size: .9rem; font-weight: 600; }
.wl-steps { margin: .75rem 0 0; padding-left: 1.2rem; font-size: .93rem; }
.wl-steps li { margin-bottom: .35rem; }
.wl-pay { margin-top: 1.75rem; padding: 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-sm); }
.wl-subhead { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.wl-subhead span { color: var(--muted); font-size: .9rem; }

/* ---------- Tableaux ---------- */
.wl-table-wrap { overflow-x: auto; }
.wl-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.wl-table th { text-align: left; padding: .7rem .75rem .7rem 0; font-size: .78rem; font-weight: 600; color: var(--muted); border-bottom: 2px solid var(--line); white-space: nowrap; }
.wl-table td { padding: .85rem .75rem .85rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.wl-table tr:last-child td { border-bottom: 0; }
.wl-table .num { text-align: right; padding-right: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wl-table td b { color: var(--navy); font-weight: 600; }
.wl-table .pay-inst { display: block; margin-top: .15rem; font-size: .85rem; color: var(--muted); }
.wl-table .pay-mode-sm { display: none; }

/* Paiements sur mobile : une ligne lisible par paiement plutôt qu'un tableau serré */
@media (max-width: 640px) {
    .wl-pay .wl-table thead { display: none; }
    .wl-pay .wl-table, .wl-pay .wl-table tbody { display: block; }
    .wl-pay .wl-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "what amt" "date rcpt"; gap: .3rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
    .wl-pay .wl-table tr:first-child { padding-top: .25rem; }
    .wl-pay .wl-table tr:last-child { border-bottom: 0; padding-bottom: 0; }
    .wl-pay .wl-table td { padding: 0; border: 0; }
    .wl-pay .wl-table .pay-what { grid-area: what; }
    .wl-pay .wl-table .pay-amt { grid-area: amt; font-weight: 600; color: var(--navy); }
    .wl-pay .wl-table .pay-date { grid-area: date; font-size: .86rem; color: var(--muted); }
    .wl-pay .wl-table .pay-rcpt { grid-area: rcpt; align-self: center; }
    .wl-pay .wl-table .pay-mode { display: none; }
    .wl-pay .wl-table .pay-mode-sm { display: inline; }
    .wl-pay .wl-table .pay-rcpt .wl-link-btn { padding: .35rem .7rem; border: 1px solid var(--line); border-radius: 6px; font-size: .82rem; }
    .wl-pay .wl-subhead { margin-bottom: .5rem; }
    .wl-pay .wl-subhead h3 { margin-bottom: 0; }
}

/* ---------- Bibliothèque : filtres ---------- */
.wl-filters { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.1rem; }
.wl-search { flex: 1 1 340px; }
.wl-search input { width: 100%; padding: .85rem 1rem; border: 2px solid #e5e5e5; border-radius: 8px; background: var(--white); font: 400 .97rem 'Inter', sans-serif; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease; }
.wl-search input::placeholder { color: #9aa3b2; }
.wl-search input:focus { outline: none; border-color: var(--blue-2, #0088ce); box-shadow: 0 0 0 4px rgba(0, 102, 204, .12); }
.wl-check { display: inline-flex; align-items: center; gap: .55rem; font-size: .93rem; font-weight: 500; color: var(--text); cursor: pointer; user-select: none; }
.wl-check input { width: 17px; height: 17px; accent-color: var(--blue); }
/* Onglets façon « services » de l'accueil */
.wl-tabs { display: flex; gap: .4rem; padding: .4rem; margin-bottom: 1.75rem; overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); scrollbar-width: none; }
.wl-tabs::-webkit-scrollbar { display: none; }
.wl-tab { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .75rem 1rem; border: 0; border-radius: 8px; background: transparent; font: 600 .92rem 'Inter', sans-serif; color: #333; cursor: pointer; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.wl-tab:hover { background: var(--bg); }
.wl-tab small { font-size: .76rem; font-weight: 600; color: #9aa3b2; font-variant-numeric: tabular-nums; }
.wl-tab.is-on { background: var(--blue); color: #fff; }
.wl-tab.is-on small { color: rgba(255, 255, 255, .72); }

/* ---------- Bibliothèque : listes en cartes ---------- */
.wl-group { margin-top: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); overflow: hidden; }
.wl-group:first-child { margin-top: 0; }
.wl-group-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; border-bottom: 1px solid var(--line); }
.wl-group-head h3 { margin: 0; font-size: 1.08rem; font-weight: 700; color: var(--navy); }
.wl-group-head button { border: 0; background: none; padding: 0; font: 600 .88rem 'Inter', sans-serif; color: var(--blue); cursor: pointer; }
.wl-group-head button:hover { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.wl-list { list-style: none; margin: 0; padding: 0; }
.wl-list li + li { border-top: 1px solid var(--line); }
.wl-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .35rem 2rem; align-items: center; padding: 1rem 1.4rem; color: inherit !important; transition: background-color .15s ease; }
.wl-row:hover { background: #f7fafd; }
.wl-row:hover .wl-row-title { color: var(--blue); }
.wl-row-title { margin: 0; font-size: 1rem; font-weight: 600; color: var(--navy); line-height: 1.4; transition: color .15s ease; }
.wl-row-desc { margin: .2rem 0 0; font-size: .9rem; color: var(--muted); max-width: 72ch; }
.wl-row-meta { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; justify-content: flex-end; }
/* Collections : fond bleu très pâle et étiquette marine, pour les repérer d'un coup d'œil */
.wl-row.is-hub { background: #f7f9fc; }
.wl-row.is-hub:hover { background: #f1f5fa; }
.wl-row.is-hub:hover .wl-row-title { color: var(--navy); }
.wl-hub-ico { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; margin-right: .6rem; border-radius: 50%; background: var(--navy); color: #fff; font-size: .75rem; vertical-align: -.35rem; }
.wl-hub-go { display: inline-flex; align-items: center; gap: .35rem; color: var(--navy); font-size: .86rem; font-weight: 600; white-space: nowrap; }
.wl-hub-go i { font-size: .82rem; transition: transform .15s; }
.wl-row.is-hub:hover .wl-hub-go i { transform: translateX(3px); }
.wl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 640px) { .wl-row { grid-template-columns: 1fr; padding: 1rem 1.1rem; } .wl-row-meta { justify-content: flex-start; } .wl-group-head { padding: 1rem 1.1rem; } }
.wl-list-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); overflow: hidden; }
.wl-count { margin: 0 0 .9rem; font-size: .9rem; color: var(--muted); }
.wl-more { margin-top: 1.5rem; text-align: center; }
.wl-empty { padding: 3rem 1rem; text-align: center; color: var(--muted); background: var(--white); border: 1px dashed #d6dde6; border-radius: 12px; }

/* ---------- Formations (cartes comme index) ---------- */
.wl-courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 1000px) { .wl-courses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .wl-courses { grid-template-columns: 1fr; } }
.wl-course { display: flex; flex-direction: column; padding: 1.75rem; background: var(--white); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.wl-course:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #b9d3ee; }
.wl-course .num { font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--blue); }
.wl-course .num span { color: #9aa3b2; }
.wl-course h3 { margin: .6rem 0 .6rem; font-size: 1.18rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.wl-course p { margin: 0 0 1.25rem; font-size: .93rem; color: var(--muted); }
.wl-course dl { margin: auto 0 0; padding-top: 1.1rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; font-size: .9rem; }
.wl-course dt { color: var(--muted); }
.wl-course dd { margin: 0; color: var(--ink); font-weight: 500; }
.wl-course-foot { margin-top: 1.4rem; display: grid; gap: .6rem; }
.wl-course-foot .state { font-size: .88rem; color: var(--muted); }
/* Boutons des cartes de formation : action principale marine, action secondaire discrète */
.wl-course-foot .wl-btn { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .7rem 1rem; border-radius: 9px; font: 600 .92rem/1.2 'Inter', sans-serif; letter-spacing: 0; text-transform: none; box-shadow: none; transform: none; }
.wl-course-foot .wl-btn:not(.wl-btn-ghost) { background: var(--navy); border: 1px solid var(--navy); color: #fff !important; }
.wl-course-foot .wl-btn:not(.wl-btn-ghost):hover { background: #16305c; border-color: #16305c; }
.wl-course-foot .wl-btn:not(.wl-btn-ghost)::after { content: '→'; font-weight: 500; transition: transform .15s ease; }
.wl-course-foot .wl-btn:not(.wl-btn-ghost):hover::after { transform: translateX(3px); }
.wl-course-foot .wl-btn-ghost { background: #fff; border: 1px solid #d6dde6; color: var(--navy) !important; }
.wl-course-foot .wl-btn-ghost[data-formation]::before { content: '\f67a'; font-family: 'bootstrap-icons'; font-weight: 400; font-size: 1rem; color: #6b7487; }
.wl-course-foot .wl-btn-ghost:hover { background: #f6f8fb; border-color: #b9c2ce; }
.wl-course-foot .wl-btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
/* Membre accompagné : même place et même forme que le bouton, mais c'est un état */
.wl-course-foot .wl-btn.is-coached, .wl-course-foot .wl-btn.is-coached:hover { background: #f3f6fa; border-color: #d6dde6; color: var(--navy) !important; cursor: default; }
.wl-course-foot .wl-btn.is-coached i { color: #2f6b4f; font-size: 1.05rem; }
.wl-course-links { display: grid; gap: .1rem; }
.wl-course-links a { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; font-weight: 600; }
.wl-course-links a:last-child { border-bottom: 0; }
.wl-course-links a::after { content: '→'; color: #9aa3b2; }

/* ---------- Adhésion : bandeau comme le CTA de l'accueil ---------- */
.wl-cta { position: relative; overflow: hidden; padding: 4.5rem 0; color: #fff; background: linear-gradient(135deg, var(--blue-dark), var(--blue)); }
.wl-cta::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M20 0H0v20' fill='none' stroke='white' stroke-opacity='.1' stroke-width='.5'/%3E%3C/svg%3E"); }
.wl-cta .wl-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3.5rem; align-items: center; }
@media (max-width: 900px) { .wl-cta .wl-wrap { grid-template-columns: 1fr; gap: 2rem; } }
.wl-cta .wl-kicker { color: var(--sky); }
.wl-cta .wl-h2 { color: #fff; }
.wl-cta p { color: rgba(255, 255, 255, .88); }
.wl-plain { margin: 1.1rem 0 0; padding-left: 1.15rem; color: rgba(255, 255, 255, .9); }
.wl-plain li { margin-bottom: .45rem; }
.wl-price { padding: 2rem; border-radius: 12px; background: #fff; color: var(--text); text-align: center; box-shadow: 0 20px 50px rgba(0, 0, 0, .18); }
.wl-cta .wl-price-amount { margin: 0; font-size: 2.4rem; font-weight: 800; color: var(--navy); line-height: 1.1; font-variant-numeric: tabular-nums; }
.wl-cta .wl-price-period { margin: .25rem 0 1.5rem; color: var(--muted); }
.wl-cta .wl-price-foot { margin: 1rem 0 0; font-size: .85rem; color: var(--muted); }

/* ---------- Fenêtres ---------- */
.wl-modal .ng-modal-box { border-radius: 12px; }
.wl-modal .ng-modal-head h3 { color: var(--navy); font-weight: 700; }
.wl-x { flex: none; border: 0; background: none; font: 600 .86rem 'Inter', sans-serif; color: var(--muted); cursor: pointer; padding: .2rem 0; }
.wl-x:hover { color: var(--navy); }
.wl-facts { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1.5rem; margin: 0 0 1.1rem; padding: 1rem 1.1rem; background: var(--bg); border-radius: 8px; font-size: .95rem; }
.wl-facts dt { color: var(--muted); }
.wl-facts dd { margin: 0; color: var(--navy); font-weight: 600; }
.wl-modal h4 { margin: 1.25rem 0 .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.wl-modal .wl-plain { color: var(--text); margin: 0; }
.wl-callout { margin: 1rem 0 0; padding: .9rem 1rem; background: var(--gold-soft); border: 1px solid #fbdca4; border-radius: 8px; font-size: .93rem; color: #7c3d06; }

/* ---------- Bandeau d'annonce (sous l'en-tête) ---------- */
.wl-notice { background: var(--navy); color: rgba(255, 255, 255, .9); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.wl-notice-in { display: flex; align-items: center; gap: 1.25rem; padding-top: .85rem; padding-bottom: .85rem; }
.wl-notice-label { flex: none; padding-right: 1.25rem; border-right: 1px solid rgba(255, 255, 255, .18); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); }
.wl-notice-text { flex: 1; margin: 0; font-size: .93rem; line-height: 1.5; }
.wl-notice-text b { color: #fff; font-weight: 600; margin-right: .25rem; }
.wl-notice-text a { color: var(--sky) !important; font-weight: 600; white-space: nowrap; }
.wl-notice-ctrl { flex: none; display: flex; align-items: center; gap: 1rem; }
.wl-notice-count { font-size: .8rem; color: rgba(255, 255, 255, .55); font-variant-numeric: tabular-nums; }
.wl-notice-ctrl button { border: 0; background: none; padding: .25rem 0; font: 600 .84rem 'Inter', sans-serif; color: rgba(255, 255, 255, .75); cursor: pointer; }
.wl-notice-ctrl button:hover { color: #fff; }
@media (max-width: 760px) {
    .wl-notice-in { flex-wrap: wrap; gap: .4rem 1rem; padding-top: .8rem; padding-bottom: .8rem; }
    .wl-notice-label { border: 0; padding: 0; }
    .wl-notice-text { flex-basis: 100%; order: 2; font-size: .9rem; }
    .wl-notice-ctrl { margin-left: auto; }
}

/* ---------- Onglets de la bibliothèque toujours accessibles ---------- */
.wl-tabs { position: sticky; top: 72px; z-index: 30; }
.wl-tab { min-height: 44px; }

/* ---------- Mobile ---------- */
.wl { -webkit-tap-highlight-color: transparent; }
@media (max-width: 1199px) { .wl-tabs { top: 68px; } }
@media (max-width: 640px) {
    .wl-section { padding: 2.75rem 0; }
    .wl-head { margin-bottom: 1.5rem; }
    .wl-h2 { font-size: 1.45rem; }
    .wl-note { font-size: .95rem; }
    .wl-title { font-size: 2rem; }
    .wl-lead { font-size: 1rem; }
    .wl-hero .wl-wrap { padding-top: 2.75rem; padding-bottom: 2.5rem; }
    .wl-figures { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1rem; margin-top: 2rem; padding-top: 1.4rem; }
    .wl-figures dd { font-size: 1.5rem; }
    .wl-figures dt { font-size: .82rem; margin-top: .3rem; }
    /* Cartes « Par où commencer » et formations : défilement horizontal */
    .wl-courses { display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -1.15rem; padding: .25rem 1.15rem 1rem; scrollbar-width: none; }
    .wl-courses > .wl-course { flex: 0 0 86%; scroll-snap-align: start; padding: 1.4rem; }
    .wl-course:hover { transform: none; }
    /* Recherche : 16 px pour éviter le zoom automatique sur iPhone */
    .wl-search input { font-size: 16px; padding: .8rem .9rem; }
    .wl-filters { gap: .75rem; }
    .wl-tabs { margin-left: -1.15rem; margin-right: -1.15rem; border-radius: 0; border-left: 0; border-right: 0; padding: .35rem .6rem; }
    .wl-tab { flex: 0 0 auto; padding: .6rem .85rem; font-size: .88rem; }
    .wl-row-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .wl-group { border-radius: 10px; }
    .wl-me > div, .wl-pay { padding: 1.25rem; }
    .wl-head.row { align-items: flex-start; }
    .hide-sm { display: none; }
    .wl-cta { padding: 3rem 0; }
    .wl-price { padding: 1.5rem; }
    .ng-modal-foot { padding-bottom: calc(1.25rem + env(safe-area-inset-bottom)); }
    .ng-modal-foot .wl-btn { flex: 1; }
}

/* ---------- Attente de la première réponse (aucune donnée inventée) ---------- */
.wl-skel { display: block; border-radius: 6px; background: linear-gradient(90deg, #eef1f5 25%, #f6f8fb 37%, #eef1f5 63%); background-size: 400% 100%; animation: wl-skel 1.2s ease infinite; }
.wl-skel-card { min-height: 150px; background: linear-gradient(90deg, #eef1f5 25%, #f6f8fb 37%, #eef1f5 63%) !important; background-size: 400% 100% !important; animation: wl-skel 1.2s ease infinite; border-color: transparent !important; box-shadow: none !important; }
.wl-courses .wl-skel-card { min-height: 360px; }
@keyframes wl-skel { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.wl-wait-catalog #offerPrice, .wl-wait-catalog #offerPeriod { visibility: hidden; }
.wl-wait-me #introKicker, .wl-wait-me #introTitle, .wl-wait-me #introLead, .wl-wait-me #introActions, .wl-wait-me #offre { visibility: hidden; }

@media (prefers-reduced-motion: reduce) { .wl * { transition: none !important; } .wl-skel, .wl-skel-card { animation: none; } }
