/* ===== PS SYSTEMS — THÈME CLAIR ===== */
/* Surcharge des variables uniquement — structure identique */

body.theme-light {
  --ink:        #F7F5F0;
  --ink2:       #EDEAE3;
  --ink3:       #E2DED6;
  --ink4:       #D6D1C8;
  --amber:      #C87800;
  --amber-lt:   #E08800;
  --amber-dk:   #A06000;
  --amber-dim:  rgba(200,120,0,0.08);
  --amber-glow: rgba(200,120,0,0.20);
  --amber-line: rgba(200,120,0,0.30);
  --green:      #16A34A;
  --red:        #DC2626;
  --cream:      #1A1816;
  --cream-dk:   #5A5650;
  --line:       rgba(0,0,0,0.08);
  --line-mid:   rgba(0,0,0,0.12);

  color: var(--cream);
  background: var(--ink);
}

/* Header clair */
body.theme-light #header {
  background: rgba(247,245,240,0.92);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
body.theme-light #header.scrolled {
  background: rgba(247,245,240,0.98);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
body.theme-light .header-line {
  background: linear-gradient(90deg, transparent, rgba(200,120,0,0.3) 30%, rgba(200,120,0,0.3) 70%, transparent);
}

/* Logo */
body.theme-light .logo-ps  { color: var(--cream); }
body.theme-light .logo-sys { color: var(--amber); }

/* Header contact widgets */
body.theme-light .hc-btn {
  background: rgba(200,120,0,0.07);
  border-color: rgba(200,120,0,0.3);
}
body.theme-light .hc-btn:hover {
  background: rgba(200,120,0,0.13);
  box-shadow: 0 4px 16px rgba(200,120,0,0.1);
}
body.theme-light .hc-icon { background: rgba(200,120,0,0.12); }
body.theme-light .hc-btn:hover .hc-icon { background: rgba(200,120,0,0.22); }

/* Nav */
body.theme-light .nav-link { color: #4A4640; }
body.theme-light .nav-link:hover { color: var(--cream); background: rgba(0,0,0,0.06); }
body.theme-light .btn-nav {
  background: var(--amber);
  color: #fff;
  border-color: var(--amber);
}

/* Hero */
body.theme-light .hero {
  background: linear-gradient(135deg, #F0EDE6 0%, #E8E3D8 50%, #F2EFE8 100%);
}
body.theme-light .hero-grid-overlay { opacity: 0.3; }
body.theme-light .hero-title .ht-line { color: var(--cream); }
body.theme-light .hero-sub { color: #5A5650; }
body.theme-light .stat-num, body.theme-light .stat strong { color: var(--cream); }
body.theme-light .stat span { color: #7A756E; }
body.theme-light .stat-sep { background: rgba(0,0,0,0.12); }
body.theme-light .hero-badge {
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.1);
  color: #5A5650;
}
body.theme-light .badge-mono { color: #5A5650; }

/* Ticker */
body.theme-light .ticker-wrap { background: var(--amber); }
body.theme-light .ticker-track span { color: #fff; }
body.theme-light .tick-sep { color: rgba(255,255,255,0.5); }

/* Sections */
body.theme-light .section-header .sh-num,
body.theme-light .section-header .sh-tag { color: var(--amber); }
body.theme-light .section-header h2 { color: var(--cream); }

/* Service cards */
body.theme-light .svc-card {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
body.theme-light .svc-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border-color: rgba(200,120,0,0.3);
}
body.theme-light .svc-body h3 { color: #1A1816; }
body.theme-light .svc-body p  { color: #5A5650; }
body.theme-light .svc-list li { color: #7A756E; }
body.theme-light .svc-list li::before { color: var(--amber); }
body.theme-light .svc-cta { color: var(--amber); border-color: var(--amber); }
body.theme-light .svc-cta:hover { background: var(--amber); color: #fff; }
body.theme-light .svc-cta-amber { background: var(--amber); color: #fff; }

/* Pourquoi nous */
body.theme-light .why { background: #EDEAE3; }
body.theme-light .why-big-card {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
}
body.theme-light .wbc-num { color: rgba(200,120,0,0.15); }
body.theme-light .wbc-title { color: #1A1816; }
body.theme-light .wbc-body  { color: #5A5650; }
body.theme-light .why-small-card {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
}
body.theme-light .wsc-label { color: #1A1816; }
body.theme-light .wsc-val   { color: #5A5650; }

/* Reviews */
body.theme-light .reviews { background: #F7F5F0; }
body.theme-light .review-card {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
body.theme-light .rc-text  { color: #3A3630; }
body.theme-light .rc-name  { color: #1A1816; }
body.theme-light .rc-place { color: #7A756E; }

/* Dashboard lockpanel */
body.theme-light .lp-body-wrap {
  background: rgba(255,255,255,0.97);
  border-color: rgba(200,120,0,0.25);
  box-shadow: 0 28px 70px rgba(0,0,0,0.12), 0 0 30px rgba(200,120,0,0.06);
}
body.theme-light .lp-wifi-arcs { border-bottom-color: rgba(200,120,0,0.15); }
body.theme-light .lp-head { border-bottom-color: rgba(0,0,0,0.08); }
body.theme-light .lp-title { color: var(--amber); }
body.theme-light .lp-time  { color: #9A978F; }
body.theme-light .vis-row  { border-color: rgba(0,0,0,0.06); }
body.theme-light .vis-row:hover { background: rgba(200,120,0,0.04); }
body.theme-light .vr-label { color: #2A2620; }
body.theme-light .vr-val   { color: #7A756E; }
body.theme-light .vr-icon  { color: var(--amber); background: rgba(200,120,0,0.08); border-color: rgba(200,120,0,0.2); }
body.theme-light .vis-bar  { background: rgba(0,0,0,0.08); }
body.theme-light .vf-label { color: #7A756E; }
body.theme-light .vf-pct   { color: var(--amber); }
body.theme-light .lp-footer { border-top-color: rgba(0,0,0,0.08); }

/* Contact form */
body.theme-light .contact { background: #EDEAE3; }
body.theme-light .form-glass {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}
body.theme-light .form-glass-header {
  background: linear-gradient(90deg, rgba(200,120,0,0.1), rgba(200,120,0,0.05));
  border-bottom-color: rgba(200,120,0,0.15);
}
body.theme-light .fgh-title { color: var(--amber); }
body.theme-light input, body.theme-light textarea, body.theme-light select {
  background: #F7F5F0;
  border-color: rgba(0,0,0,0.12);
  color: #1A1816;
}
body.theme-light label { color: #5A5650; }
body.theme-light .ci-item {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
}
body.theme-light .ci-icon { background: rgba(200,120,0,0.1); border-color: rgba(200,120,0,0.25); }
body.theme-light .ci-body strong { color: #1A1816; }
body.theme-light .ci-body span   { color: #7A756E; }

/* Footer */
body.theme-light .footer {
  background: #1A1816;
  color: #F0EDE6;
}
body.theme-light .footer-line { background: linear-gradient(90deg, transparent, rgba(200,120,0,0.4) 30%, rgba(200,120,0,0.4) 70%, transparent); }

/* Blog */
body.theme-light .blog-hero { background: #EDEAE3; }
body.theme-light .article-card { background: #fff; border-color: rgba(0,0,0,0.08); }
body.theme-light .article-body h2 { color: #1A1816; }
body.theme-light .article-body p  { color: #5A5650; }
body.theme-light .sidebar-widget  { background: #fff; border-color: rgba(0,0,0,0.08); }
body.theme-light .sw-title { color: #1A1816; }
body.theme-light .tag-chip { background: rgba(0,0,0,0.05); color: #5A5650; border-color: rgba(0,0,0,0.1); }
body.theme-light .newsletter-widget { background: var(--amber); }

/* SFX overlay */
body.theme-light .sfx-overlay { background: rgba(247,245,240,0.98); }
body.theme-light .sfx-link { color: rgba(26,24,22,0.2); }
body.theme-light .sfx-link:hover { color: #1A1816; }
body.theme-light .sfx-meta { color: #9A978F; border-top-color: rgba(0,0,0,0.08); }

/* Scanline — plus subtile en clair */
body.theme-light .scanline { opacity: 0.015; }

/* Toggle button — dans le header */
#theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: transparent;
  border: 1px solid var(--line-mid);
  border-radius: 40px;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .07em;
  color: var(--cream-dk);
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
#theme-toggle:hover { border-color: var(--amber); color: var(--amber); }
#theme-toggle .tt-icon { font-size: .9rem; }
body.theme-light #theme-toggle {
  border-color: rgba(0,0,0,0.15);
  color: #5A5650;
}
body.theme-light #theme-toggle:hover { border-color: var(--amber); color: var(--amber); }
