/* ══════════════════════════════════════════════════════════════════════════
   LA TOOLBOX DE WHILO — /app/outils (05/12/2026)
   La maquette validée, aux couleurs prune de Whilo. Les étiquettes d'accès
   gardent le code couleur commun aux trois sites (vert gratuit, ambre
   limité, violet crédits). Aucun style en ligne (CSP).
   ══════════════════════════════════════════════════════════════════════════ */

.wtb { display: flex; flex-direction: column; gap: 22px; min-width: 0; }

/* ── Héros ── */
.wtb-hero {
  border-radius: 26px; padding: 30px 34px; color: #fff;
  background: radial-gradient(circle at 80% 10%, #5A1F51 0, #3A1235 65%);
}
.wtb-hero__badge {
  display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.12);
  font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.wtb-hero h1 { background: none; box-shadow: none; text-decoration: none; padding: 0; margin: 12px 0 8px; font-size: 34px; line-height: 1.15; letter-spacing: -.02em; color: #fff; }
.wtb-hero p { margin: 0; max-width: 620px; color: #EDD5E9; font-size: 16px; line-height: 1.55; }

/* ── Bandeau « mis en avant » ── */
.wtb-avant {
  display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; padding: 18px 22px; border-radius: 20px;
  background: #fff; border: 2px solid #DBA8D4; text-decoration: none; color: #1E1530;
  transition: box-shadow .15s, transform .15s;
}
.wtb-avant:hover { box-shadow: 0 10px 28px rgba(46,26,71,.12); transform: translateY(-1px); color: #1E1530; }
.wtb-avant__ico { width: 46px; height: 46px; border-radius: 14px; background: #F9EEF7; color: #5E1F55; display: grid; place-items: center; flex: none; }
.wtb-avant__ico svg { width: 24px; height: 24px; }
.wtb-avant__txt { flex: 1 1 320px; min-width: 0; }
.wtb-avant__txt strong { display: block; font-size: 16px; }
.wtb-avant__txt small { color: #5C566B; font-size: 14px; }
.wtb-avant__reste { padding: 7px 12px; border-radius: 999px; background: #ECFDF5; color: #047857; font-size: 13px; font-weight: 800; }
.wtb-avant__reste--vide { background: #FFF4E5; color: #8A4B00; }
.wtb-avant__go { padding: 12px 18px; border-radius: 12px; background: #7A2C6E; color: #fff; font-weight: 800; font-size: 15px; }

/* ── Légende ── */
.wtb-legende { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; color: #5C566B; }

/* ── Étiquettes d'accès ── */
.wtb-et { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; }
.wtb-et::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.wtb-et--gratuit { color: #047857; } .wtb-et--gratuit::before { background: #10B981; }
.wtb-et--limite { color: #8A4B00; } .wtb-et--limite::before { background: #F59E0B; }
.wtb-et--credits { color: #6B46A8; } .wtb-et--credits::before { background: #8A63C0; }
.wtb-legende .wtb-et { font-size: 13.5px; }

/* ── Groupes et cards ── */
.wtb-groupe { display: flex; flex-direction: column; gap: 12px; }
.wtb-groupe__tete { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.wtb-groupe__tete h2 { margin: 0; font-size: 20px; color: #3A1235; }
.wtb-groupe__tete span { color: #6E6880; font-size: 14px; }
.wtb-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }

.wtb-card {
  display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 18px; background: #fff;
  border: 1px solid #F0E1EC; text-decoration: none; color: #1E1530; min-height: 132px;
  transition: box-shadow .15s, transform .15s;
}
a.wtb-card:hover { box-shadow: 0 10px 28px rgba(46,26,71,.12); transform: translateY(-2px); color: #1E1530; }
.wtb-card__titre { font-size: 16px; line-height: 1.3; }
.wtb-card__ets { display: flex; flex-direction: column; gap: 3px; margin-top: -4px; }
.wtb-card__trait { display: block; width: 40px; height: 3px; border-radius: 3px; background: #E4DEEC; }
.wtb-card__trait--gratuit { background: #A7F3D0; }
.wtb-card__trait--limite { background: #FCD34D; }
.wtb-card__trait--credits { background: #CDBAE8; }
.wtb-card__desc { color: #5C566B; font-size: 14px; line-height: 1.5; flex: 1; }
.wtb-card__cta {
  align-self: flex-start; padding: 9px 14px; border-radius: 10px; background: #F9EEF7; color: #5E1F55;
  font-size: 14px; font-weight: 700; transition: background .15s, color .15s, box-shadow .15s;
}
a.wtb-card:hover .wtb-card__cta, .wtb-card__cta:hover { background: #7A2C6E; color: #fff; box-shadow: 0 6px 16px rgba(46,26,71,.18); }

/* « Bientôt » : grisée, pas de lien. */
.wtb-card--bientot { background: #F6F5F8; border: 1px dashed #D9D4E0; color: #8C8698; cursor: default; }
.wtb-card--bientot .wtb-card__titre { color: #6E6880; }
.wtb-card--bientot .wtb-card__ets { opacity: .8; }
.wtb-card--bientot .wtb-card__trait { background: #DDD8E4; }
.wtb-card--bientot .wtb-card__desc { color: #8C8698; }
.wtb-card--bientot .wtb-card__cta, .wtb-card--bientot .wtb-card__cta:hover { background: #ECEAF0; color: #9A94A6; box-shadow: none; }
.wtb-card__tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wtb-bientot { flex: none; padding: 3px 9px; border-radius: 999px; background: #E9E6EE; color: #5C566B; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; }

.wtb-vide { padding: 26px; border-radius: 18px; background: #fff; border: 1px dashed #EDD5E9; color: #5C566B; text-align: center; }


/* ── Onglets « Recruter » / « Mon entreprise » ── */
.wtb-hero { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: flex-end; }
.wtb-hero__txt { flex: 1 1 420px; min-width: 0; }
.wtb-onglets { display: flex; gap: 6px; padding: 6px; border-radius: 16px; background: rgba(255,255,255,.1); }
.wtb-onglets a { padding: 11px 18px; border-radius: 12px; font-weight: 700; font-size: 15px; color: #EDD5E9; text-decoration: none; }
.wtb-onglets a:hover { color: #fff; background: rgba(255,255,255,.08); }
.wtb-onglets a[aria-current="page"] { background: #fff; color: #3A1235; }

/* Un outil « bientôt » mis en avant : le bandeau, grisé, sans lien. */
.wtb-avant--bientot { background: #F6F5F8; border: 2px dashed #D9D4E0; color: #6E6880; cursor: default; }
.wtb-avant--bientot:hover { box-shadow: none; transform: none; color: #6E6880; }
.wtb-avant--bientot .wtb-avant__ico { background: #ECEAF0; color: #9A94A6; }

/* ── La Toolbox publique (/toolbox) : appels dans le héros, cards « avec un compte » ── */
.wtb-hero__actions { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 18px; }
.wtb-hero__cta { padding: 12px 18px; border-radius: 12px; background: #fff; color: #3A1235; font-weight: 800; font-size: 15px; text-decoration: none; }
.wtb-hero__cta:hover { background: #F9EEF7; color: #3A1235; text-decoration: none; }
.wtb-hero__lien { color: #EDD5E9; font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.wtb-hero__lien:hover { color: #fff; }
.wtb-card__compte { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #6E6880; }
.wtb-card__compte svg { width: 13px; height: 13px; flex: none; }
