/* Thème clair optionnel : s'active quand html[data-theme='light'] est défini (voir theme.js). */
:root[data-theme='light'] {
  --bg: #f4f6ff;
  --bg-2: #e9edff;
  --card: #ffffff;
  --text: #161e3d;
  --muted: #55608a;
  --cyan: #0e7490;
  --violet: #6d28d9;
  --shadow: 0 6px 18px rgba(30, 40, 90, 0.08);
  color-scheme: light;
}

:root[data-theme='light'] body {
  background: radial-gradient(1200px 600px at 10% -10%, #dfe6ff 0%, transparent 60%), var(--bg);
}

:root[data-theme='light'] .site-header { background: rgba(244, 246, 255, 0.9); }
:root[data-theme='light'] .card { border-color: rgba(20, 30, 80, 0.1); }
:root[data-theme='light'] .btn,
:root[data-theme='light'] .avatar,
:root[data-theme='light'] .demo-banner { color: #ffffff; }
:root[data-theme='light'] .icon-btn,
:root[data-theme='light'] .icon-link { border-color: rgba(20, 30, 80, 0.15); }
:root[data-theme='light'] input[type='search'],
:root[data-theme='light'] input[type='text'],
:root[data-theme='light'] input[type='password'],
:root[data-theme='light'] input:not([type]),
:root[data-theme='light'] textarea { border-color: rgba(20, 30, 80, 0.2); }
:root[data-theme='light'] .btn-ghost { border-color: rgba(20, 30, 80, 0.3); }
