/* Site WiseTrade (CMS wdgo + nc), 14/11/2026 — couleurs du logo : orange → rose → violet sur fond sombre */
:root {
  --wt-fond: #0d1017; --wt-panneau: #151a24; --wt-bord: rgba(255,255,255,.08); --wt-texte: #e7eaf0; --wt-discret: #8e97a9;
  --wt-orange: #ff7a00; --wt-rose: #ff1f8f; --wt-violet: #7b2ff7;
  --wt-degrade: linear-gradient(120deg, var(--wt-orange), var(--wt-rose) 50%, var(--wt-violet));
  --wt-vert: #39b981; --wt-jaune: #dfbf33; --wt-rouge: #e75961; --wt-gris: #788594;
}
body.wt-site { margin: 0; background: var(--wt-fond); color: var(--wt-texte); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.55; }
.wt-site a { color: #c9a6ff; }
.wt-haut { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding: .7rem clamp(1rem, 4vw, 3rem); background: rgba(13,16,23,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--wt-bord); }
.wt-logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 700; font-size: 1.2rem; }
.wt-logo span { background: var(--wt-degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wt-menu { display: flex; gap: .3rem; flex-wrap: wrap; }
.wt-menu a { color: var(--wt-discret); text-decoration: none; padding: .4rem .8rem; border-radius: 999px; font-weight: 500; }
.wt-menu a:hover { color: var(--wt-texte); background: rgba(255,255,255,.05); }
.wt-menu a.wt-actif { color: #fff; background: rgba(123,47,247,.35); }
.wt-page { max-width: 1180px; margin: 0 auto; padding: 2rem clamp(1rem, 4vw, 2rem) 4rem; }
.wt-bloc { margin-bottom: 2.5rem; }
.wt-bloc h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 1rem; }
.wt-contenu { font-size: 1.05rem; color: #cfd5e0; }
.wt-contenu table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-variant-numeric: tabular-nums; font-size: .95rem; }
.wt-contenu th, .wt-contenu td { padding: .45rem .6rem; border-bottom: 1px solid var(--wt-bord); text-align: left; }
.wt-contenu th { color: var(--wt-discret); font-weight: 500; }
.wt-contenu .wt-neg { color: var(--wt-rouge); } .wt-contenu .wt-pos { color: var(--wt-vert); }
.wt-filtres { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.2rem; }
.wt-filtres a { text-decoration: none; color: var(--wt-discret); border: 1px solid var(--wt-bord); padding: .3rem .75rem; border-radius: 999px; font-size: .9rem; }
.wt-filtres a.wt-actif { color: #fff; border-color: transparent; background: var(--wt-degrade); }
.wt-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.wt-carte { position: relative; display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1rem 1rem 1.2rem; background: var(--wt-panneau); border: 1px solid var(--wt-bord); border-radius: 12px; text-decoration: none; color: var(--wt-texte) !important; transition: transform .15s, border-color .15s; }
.wt-carte:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.2); }
.wt-pastille { position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px; border-radius: 0 4px 4px 0; background: var(--wt-gris); }
.wt-green .wt-pastille { background: var(--wt-vert); } .wt-yellow .wt-pastille { background: var(--wt-jaune); }
.wt-orange .wt-pastille { background: var(--wt-orange); } .wt-red .wt-pastille { background: var(--wt-rouge); }
.wt-meta { font-size: .8rem; color: var(--wt-discret); }
.wt-titre { font-size: 1rem; line-height: 1.35; }
.wt-verdict { font-size: .85rem; color: #cfd5e0; }
.wt-rapport-tete { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: .6rem; }
.wt-rapport-tete h2 { margin: 0; font-size: 1.3rem; }
.wt-analyste { color: var(--wt-discret); font-size: .9rem; }
.wt-lien { margin-left: auto; font-size: .9rem; }
.wt-cadre { width: 100%; height: 80vh; min-height: 520px; border: 1px solid var(--wt-bord); border-radius: 12px; background: #fff; }
.wt-discret { color: var(--wt-discret); }
.wt-bas { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.5rem clamp(1rem, 4vw, 3rem); border-top: 1px solid var(--wt-bord); color: var(--wt-discret); font-size: .85rem; }
@media (max-width: 640px) { .wt-cadre { height: 70vh; min-height: 0; } .wt-lien { margin-left: 0; } }
/* Connexion au front (14/11) */
body.wt-connexion { min-height: 100vh; display: grid; place-items: center; padding: 1rem; background: radial-gradient(circle at 30% 20%, rgba(123,47,247,.25), transparent 50%), var(--wt-fond); }
.wt-boite { width: min(380px, 100%); display: flex; flex-direction: column; gap: .9rem; padding: 2rem; background: var(--wt-panneau); border: 1px solid var(--wt-bord); border-radius: 16px; }
.wt-boite .wt-logo { justify-content: center; font-size: 1.4rem; }
.wt-boite label { display: flex; flex-direction: column; gap: .3rem; font-size: .9rem; color: var(--wt-discret); }
.wt-boite input[type=text], .wt-boite input[type=password] { padding: .65rem .8rem; border-radius: 8px; border: 1px solid var(--wt-bord); background: #0f131b; color: var(--wt-texte); font-size: 1rem; }
.wt-boite .wt-case { flex-direction: row; align-items: center; gap: .5rem; }
.wt-boite button { padding: .7rem; border: 0; border-radius: 8px; background: var(--wt-degrade); color: #fff; font-weight: 600; font-size: 1rem; cursor: pointer; }
.wt-boite button:disabled { opacity: .6; }
.wt-erreur { color: var(--wt-rouge); margin: 0; font-size: .9rem; }
.wt-boite .wt-discret { text-align: center; margin: 0; }

/* 14/11 : rapports affichés directement dans la page (plus de cadre) — bloc .wt-rapport-corps, styles du rapport restreints */
.wt-rapport-contenu { border-radius: 10px; overflow: visible; }
.wt-rapport-corps { max-width: none !important; margin: 0 !important; padding: 18px 20px !important; border-radius: 10px; }
.wt-rapport-corps img { max-width: 100%; height: auto; }
.wt-rapport-corps table { max-width: 100%; display: block; overflow-x: auto; }
