/* Thème clair / sombre — ARIS CONCEPT */

.theme-toggle {
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.theme-toggle i {
  font-size: 1rem;
  color: var(--primary);
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(47, 178, 255, 0.45);
}

[data-theme="light"] {
  --bg: #f3f6fc;
  --text: #0f172a;
  --muted: #475569;
  --text-soft: #334155;
  --text-chip: #1e293b;
  --text-cv-tag: #1d4ed8;
  --text-cv-list: #334155;
  --line: rgba(15, 23, 42, 0.12);
  --card: #ffffff;
  --glass: rgba(255, 255, 255, 0.92);
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  --glow-cyan: 0 0 40px rgba(27, 127, 212, 0.12);
  --glow-pink: 0 0 40px rgba(233, 30, 140, 0.08);
  --surface-alt: linear-gradient(180deg, #eef3fb 0%, #e8eef8 100%);
  --surface-kpi: #ffffff;
  --surface-chip: #f1f5f9;
  --surface-stack: #eef2f8;
  --surface-form-tab: #e8eef8;
  --surface-footer: linear-gradient(180deg, #e8eef8 0%, #dfe8f5 100%);
  --surface-pill: rgba(27, 127, 212, 0.08);
  --surface-ghost: rgba(255, 255, 255, 0.85);
  --text-ghost: #0f172a;
  --surface-strip: linear-gradient(90deg, rgba(47, 178, 255, 0.08), rgba(233, 30, 140, 0.05)), linear-gradient(180deg, #eef3fb, #e8eef8);
  --surface-trust: #ffffff;
  --surface-stack-bar: linear-gradient(135deg, #eef3fb, #e8eef8);
  --surface-cta: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(47, 178, 255, 0.08), transparent), radial-gradient(ellipse 50% 60% at 0% 100%, rgba(233, 30, 140, 0.05), transparent), linear-gradient(180deg, #eef3fb, #e8eef8);
  --surface-contact: #f8fafc;
  --input-surface: #ffffff;
  --gradient-title: linear-gradient(96deg, #0f172a 5%, #1780be 48%, #c02685 92%);
  --kpi-number: linear-gradient(135deg, #0f172a 10%, #1780be 55%, #db2777 100%);
  color-scheme: light;
}

[data-theme="dark"] {
  color-scheme: dark;
}

[data-theme="light"] body {
  color: var(--text);
}

[data-theme="light"] body::before {
  background:
    radial-gradient(circle at 15% 20%, rgba(47, 178, 255, 0.06), transparent 28%),
    radial-gradient(circle at 85% 75%, rgba(255, 79, 170, 0.05), transparent 30%);
}

[data-theme="light"] .orb-a {
  background: rgba(47, 178, 255, 0.08);
}

[data-theme="light"] .orb-b {
  background: rgba(233, 30, 140, 0.06);
}

[data-theme="light"] .orb-c {
  background: rgba(47, 178, 255, 0.05);
}

[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

[data-theme="light"] .site-header.is-over-video {
  background: rgba(255, 255, 255, 0.62);
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .site-header:not(.is-over-video) {
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .site-nav a {
  color: #334155;
}

[data-theme="light"] .site-nav a:hover,
[data-theme="light"] .site-nav a.active {
  color: #0f172a;
}

[data-theme="light"] .menu-toggle {
  background: #fff;
  color: #0f172a;
  border-color: var(--line);
}

[data-theme="light"] .section h2,
[data-theme="light"] .section h3,
[data-theme="light"] .section h4,
[data-theme="light"] .section p,
[data-theme="light"] .card,
[data-theme="light"] .glass-card,
[data-theme="light"] .timeline li strong,
[data-theme="light"] .advantage-card h3,
[data-theme="light"] .advantage-card p,
[data-theme="light"] .domain-card h3,
[data-theme="light"] .proof-card h3,
[data-theme="light"] .model-pill strong,
[data-theme="light"] .cv-card-head h3,
[data-theme="light"] .trust-pill strong,
[data-theme="light"] .trust-pill span,
[data-theme="light"] .footer-contact a,
[data-theme="light"] .footer-bottom p,
[data-theme="light"] .service-card h3,
[data-theme="light"] .service-card p,
[data-theme="light"] .faq summary,
[data-theme="light"] .faq p,
[data-theme="light"] .subsection-title,
[data-theme="light"] .section-head h2 {
  color: var(--text);
}

[data-theme="light"] .site-nav a.active {
  color: #0f172a;
  background: linear-gradient(135deg, rgba(47, 178, 255, 0.18), rgba(233, 30, 140, 0.12));
}

[data-theme="light"] .contact-form input,
[data-theme="light"] .contact-form textarea {
  background: var(--input-surface);
  color: var(--text);
  border-color: var(--line);
}

[data-theme="light"] .glass-card {
  border-color: var(--line);
  box-shadow: var(--shadow);
}

[data-theme="light"] .story-ring {
  color: var(--muted);
}

[data-theme="light"] .lead,
[data-theme="light"] .footer-tagline,
[data-theme="light"] .footer-nav a,
[data-theme="light"] .model-pill span,
[data-theme="light"] .timeline li p,
[data-theme="light"] .cv-about,
[data-theme="light"] .kpi-grid span,
[data-theme="light"] .form-note,
[data-theme="light"] .highlight,
[data-theme="light"] .ebook-card p {
  color: var(--muted);
}

[data-theme="light"] .hero-strip,
[data-theme="light"] .section.alt,
[data-theme="light"] .kpi-card,
[data-theme="light"] .model-pill,
[data-theme="light"] .service-card,
[data-theme="light"] .contact-card,
[data-theme="light"] .footer-main,
[data-theme="light"] .timeline li,
[data-theme="light"] .domain-card,
[data-theme="light"] .cv-card,
[data-theme="light"] .trust-pill,
[data-theme="light"] .advantage-card {
  background: var(--card);
  border-color: var(--line);
  color: var(--text);
}

[data-theme="light"] .gradient-title,
[data-theme="light"] .strip-title {
  color: transparent;
}

[data-theme="light"] .hero-proof span {
  background: var(--surface-pill);
  color: #1e3a5f;
  border-color: rgba(27, 127, 212, 0.18);
}

[data-theme="light"] .btn-ghost {
  color: #0f172a;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
}

[data-theme="light"] .hero-strip,
[data-theme="light"] .cta-section,
[data-theme="light"] .stack-strip {
  color: var(--text);
}

[data-theme="light"] .audio-toggle i {
  color: #1780be;
  -webkit-text-fill-color: #1780be;
}

[data-theme="light"] .audio-toggle {
  background: #fff;
  color: #0f172a;
  -webkit-text-fill-color: #0f172a;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12), 0 0 18px rgba(27, 127, 212, 0.15);
  border-color: rgba(27, 127, 212, 0.65);
}

[data-theme="light"] .audio-toggle span {
  color: #0f172a;
  -webkit-text-fill-color: #0f172a;
}

[data-theme="light"] .audio-caption {
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  -webkit-text-fill-color: #0f172a;
  border-color: rgba(27, 127, 212, 0.45);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12), 0 0 28px rgba(27, 127, 212, 0.12);
}

[data-theme="light"] .audio-hint {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 243, 251, 0.98));
  color: #0f172a;
  border-color: rgba(233, 30, 140, 0.35);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .audio-hint strong {
  color: #1780be;
}

[data-theme="light"] .audio-hint-cta {
  color: #c02685;
}

[data-theme="light"] .btn-audio-hero {
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  border-color: rgba(233, 30, 140, 0.45);
}

[data-theme="light"] .story-ring.is-active {
  color: #0f172a;
}

[data-theme="light"] .story-ring-avatar img {
  border-color: #f3f6fc;
  background: #f3f6fc;
}

[data-theme="light"] .story-phone {
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .expertise-nav {
  background: #ffffff;
  color: #0f172a;
}

[data-theme="light"] .pro-footer {
  background: #e8eef8;
}

[data-theme="light"] .site-footer {
  background: var(--surface-footer);
}

[data-theme="light"] .footer-bottom {
  border-top-color: var(--line);
}

[data-theme="light"] .chip {
  color: #1e3a5f;
  background: #eef4ff;
  border-color: rgba(27, 127, 212, 0.2);
}

[data-theme="light"] .chip.active {
  color: #fff;
}

[data-theme="light"] .cv-dl {
  color: #be185d;
  background: rgba(219, 39, 119, 0.08);
  border-color: rgba(219, 39, 119, 0.25);
}

[data-theme="light"] .cv-tags span {
  color: #1d4ed8;
  background: rgba(27, 127, 212, 0.08);
}

[data-theme="light"] .form-tab {
  color: var(--muted);
}

[data-theme="light"] .form-tab.active {
  color: var(--primary);
  background: var(--surface-form-tab);
}

[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select {
  color: var(--text);
  background: #fff;
  border-color: var(--line);
}

[data-theme="light"] .service-hero .lead,
[data-theme="light"] .service-card li,
[data-theme="light"] .service-form-panel label,
[data-theme="light"] .service-trust span,
[data-theme="light"] .service-nav-links a {
  color: var(--muted);
}

[data-theme="light"] .service-hero h1,
[data-theme="light"] .service-card h3,
[data-theme="light"] .service-section h2 {
  color: var(--text);
}

[data-theme="light"] .service-kpi {
  color: #0f766e;
  background: rgba(13, 148, 136, 0.1);
  border-color: rgba(13, 148, 136, 0.25);
}

[data-theme="light"] .service-card {
  background: #fff;
  border-color: var(--line);
}

[data-theme="light"] .service-section.alt {
  background: #eef3fb;
}

[data-theme="light"] .service-pill {
  color: #0f766e;
  background: rgba(13, 148, 136, 0.08);
  border-color: rgba(13, 148, 136, 0.2);
}

[data-theme="light"] .service-form-panel input,
[data-theme="light"] .service-form-panel textarea {
  color: var(--text);
  background: #fff;
  border-color: var(--line);
}

[data-theme="light"] .service-nav-links a {
  background: #eef2f8;
  color: #334155;
}

[data-theme="light"] .service-nav-links a:hover {
  background: rgba(13, 148, 136, 0.12);
  color: #0f766e;
}

[data-theme="light"] .service-card li i,
[data-theme="light"] .service-trust i {
  color: #0d9488;
}

/* Hero vidéo : texte blanc conservé sur fond sombre */
[data-theme="light"] .hero-video .hero-kicker,
[data-theme="light"] .hero-video .hero-brand,
[data-theme="light"] .hero-video .hero-tagline,
[data-theme="light"] .hero-video .hero-sub {
  color: #fff;
  -webkit-text-fill-color: #fff;
}

[data-theme="light"] .hero-video .brand-aris {
  color: #2fb2ff;
  -webkit-text-fill-color: #2fb2ff;
}

[data-theme="light"] .hero-video .brand-concept {
  color: #e91e8c;
  -webkit-text-fill-color: #e91e8c;
}
