:root {
  --bg: #0A0A0A;
  --surface-1: #151515;
  --surface-2: #1E1E1E;
  --text: #F5F5F7;
  --text-dim: #B3B3B3;

  --primary: #850AB2;      /* violet logo */
  --primary-700: #5F0780;  /* hover/ombre */
  --secondary: #2B1E5A;    /* lignes, tags, séparateurs */

  --accent: #B6FF00;       /* lime */
  --accent-2: #FF2ED1;     /* fuchsia – à petites doses */

  --border: #232323;
  --hero-gradient: linear-gradient(135deg,#0A0A0A 0%,#2B1E5A 55%,#850AB2 100%);
  --radius: 16px;
  --shadow-soft: 0 8px 24px rgba(0,0,0,.35), 0 0 24px rgba(133,10,178,.12);
}
html, body { background: var(--bg); color: var(--text); font-family: Manrope, system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }

/* Liens */
a { color: var(--text); text-decoration-color: transparent; text-underline-offset: 3px; transition: .18s ease; }
a:hover { text-decoration-color: var(--accent); }

/* Boutons génériques (pour blocks WP & HTML) */
.is-style-cta-primary a, .btn-primary {
  background: var(--primary); color: #fff; border: 1px solid transparent; border-radius: var(--radius); padding: .9rem 1.2rem; font-weight: 700; letter-spacing: .2px; transition: .18s ease;
}
.is-style-cta-primary a:hover, .btn-primary:hover { background: var(--primary-700); transform: translateY(-1px); }
.is-style-cta-primary a:focus-visible, .btn-primary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn-ghost { background: transparent; border:1px solid var(--border); color: var(--text); border-radius: var(--radius); padding: .9rem 1.2rem; }
.btn-ghost:hover { background: var(--surface-2); }

/* Cards */
.card { background: var(--surface-1); border:1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-soft); overflow: hidden; }
.card-header { padding: 1.1rem 1.2rem; border-bottom:1px solid var(--border); }
.card-body { padding: 1.2rem; }

/* Tags */
.tag { display:inline-flex; align-items:center; gap:.4rem; padding:.35rem .6rem; background: #101510; color:#DFFF75; border:1px solid #344D00; border-radius:999px; font-size:.82rem; }

/* Inputs */
.input, .select, .textarea { width:100%; background:#111; color:var(--text); border:1px solid var(--border); border-radius:12px; padding:.9rem 1rem; }
.input:focus, .select:focus, .textarea:focus { outline:2px solid var(--accent); outline-offset:2px; }

/* Hero */
.section-hero { background: var(--hero-gradient); border-bottom:1px solid var(--border); }

/* Duotone */
.duotone { position:relative; overflow:hidden; border-radius: var(--radius); }
.duotone img { display:block; width:100%; height:auto; filter: grayscale(15%) contrast(110%); }
.duotone::after { content:""; position:absolute; inset:0; background: linear-gradient(to bottom right, rgba(43,30,90,.55), rgba(133,10,178,.35)); mix-blend-mode: overlay; pointer-events:none; }

/* Toggle Haute Lisibilité */
.hc { --text: #FFFFFF; --text-dim: #E0E0E0; --border: #3A3A3A; }
.hc a { text-decoration-color: var(--accent); text-decoration-thickness: 3px; }
.hc .btn-primary { filter: saturate(1.1) brightness(1.05); }
.hc .input:focus, .hc .select:focus, .hc .textarea:focus { outline-width: 3px; }