/* ============================================================
   COMPOSANTS STATIQUES — placeholders, survols, reveal
   (le gros du style reste inline, identique au prototype)
   ============================================================ */

/* placeholder image rayé */
.ph {
  border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, var(--surface-2), var(--surface-2) 11px,
    color-mix(in srgb, var(--surface-2) 60%, var(--line)) 11px,
    color-mix(in srgb, var(--surface-2) 60%, var(--line)) 22px);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-family: ui-monospace, monospace; font-size: 12px;
  letter-spacing: .5px; text-align: center; padding: 16px;
}
.ph span {
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  padding: 5px 11px; border-radius: 5px; border: 1px solid var(--line);
}
.ph.flush { border-radius: 0; border-left: none; border-right: none; border-top: none; }

/* lignes documents / listes survolables */
.row-hover { transition: border-color .15s, background .15s; }
.row-hover:hover { border-color: var(--accent) !important; }

/* reveal progressif (JS ajoute .is-pre puis .is-in ; sans JS tout reste visible) */
.reveal.is-pre { opacity: 0; transform: translateY(22px); }
.reveal.is-in  { opacity: 1; transform: translateY(0);
  transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); }

/* drawer mobile */
.drawer-overlay { position: fixed; inset: 0; z-index: 200; display: none; }
.drawer-overlay.open { display: block; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(10,18,28,.5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 86vw);
  background: var(--surface); box-shadow: -20px 0 60px -20px rgba(0,0,0,.4);
  padding: 22px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
  animation: fadeUp .3s both;
}
.drawer-panel a.dlink {
  padding: 13px 12px; border-radius: var(--radius-sm); font-weight: 500; font-size: 16px;
  color: var(--ink); cursor: pointer; border-bottom: 1px solid var(--line-soft);
}
.drawer-panel a.dlink:hover { background: var(--surface-2); }

/* utilitaires hover offres / boutons légers */
.lift { transition: transform .22s ease, box-shadow .22s, border-color .22s; }

/* options de filtre (bourse d'emploi) */
.fopt.on { color: var(--accent-2) !important; }
.fopt.on .fbox { border-color: var(--accent) !important; background: var(--accent) !important; color: var(--accent-ink); }
.fopt.on .fcheck { opacity: 1 !important; }
.fopt:hover .fbox { border-color: var(--accent); }

/* statut & paiement sélectionnés (adhésion) */
.statut-opt, .pay-opt { transition: all .15s; }
.statut-opt.on { border-color: var(--accent) !important; background: var(--accent-tint) !important; }
.statut-opt.on .radio-dot { border-color: var(--accent) !important; background: var(--accent) !important; }
.statut-opt.on .radio-dot i { opacity: 1 !important; }
.pay-opt.on { border-color: var(--accent) !important; background: var(--accent-tint) !important; }

/* onglets espace adhérent */
.esp-link { transition: all .15s; }
.esp-link.on { background: var(--accent) !important; color: var(--accent-ink) !important; }

@media (max-width: 920px) {
  .split-2 { grid-template-columns: 1fr !important; gap: 36px !important; }
  .detail-grid { grid-template-columns: 1fr !important; }
  .detail-grid .sticky { position: static !important; }
}
@media (max-width: 720px) {
  .stat4 { grid-template-columns: 1fr 1fr !important; }
  .num3  { grid-template-columns: 1fr !important; }
}
