/* ============================================
   DASHBOARD ISOLATION (Override Global Styles)
   ============================================ */

body.dashboard-mode {
  padding-top: 0 !important;
  background: var(--bg-dark, #0f172a) !important;
}

/* Global cleanup: scoped to dashboard-mode only */
.dashboard-mode * {
  text-shadow: none !important;
}

.dashboard-mode img,
.dashboard-mode picture img,
.dashboard-mode svg,
.dashboard-mode video {
  filter: none !important;
}

.dashboard-mode input,
.dashboard-mode textarea,
.dashboard-mode select {
  background: rgba(2, 11, 8, 0.45) !important;
  border: 1px solid var(--glass-border, rgba(255,255,255,0.12)) !important;
  color: #f8fafc !important;
  border-radius: 10px !important;
  padding: 10px !important;
  font-size: 14px !important;
  height: auto !important;
  box-shadow: none !important;
}

.dashboard-mode .btn {
  padding: 10px 13px !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  height: auto !important;
}

.dashboard-mode .sidebar {
  z-index: 50;
}

.dashboard-mode .main {
  overflow-y: auto !important;
  height: calc(100vh - 0px) !important;
}

/* ============================================
   VALORYS ALGO — CORRECTED DAY MODE
   ============================================ */

/* High-priority light mode normalization */
:root[data-theme="light"] {
  --bg: #ffffff;
  --bg-dark: #ffffff;
  --text: #111827;
  --card-bg: #ffffff;
  --glass-border: rgba(0, 0, 0, 0.08);
  --border: #e5e7eb;
  --text-muted: #4b5563;
  --text-dim: #6b7280;
  --muted: #6b7280;
  --neon-green: #047857;
  --neon-green-dark: #065f46;
  --neon-green-light: #059669;
  --neon-cyan: #0891b2;
  --neon-purple: #7c3aed;
  --neon-dim: rgba(4, 120, 87, 0.08);
  --neon-border: rgba(4, 120, 87, 0.2);
  --up-color: #10b981;
  --down-color: #ef4444;
  --danger: #ef4444;
  --red-accent: #ef4444;
  --card: #f9fafb;
  --header-bg: rgba(255, 255, 255, 0.92);
  --header-text: #111827;
  --header-border: rgba(0, 0, 0, 0.06);
  --c-bg: #ffffff;
  --c-surface: #ffffff;
  --c-surface-soft: #f9fafb;
  --c-text: #0f172a;
  --c-text-muted: #475569;
  --c-border: rgba(15, 23, 42, 0.12);
  --c-accent: #047857;
}

/* === LIGHT MODE: Body & Background === */
:root[data-theme="light"] body {
  background-color: #ffffff !important;
  color: #111827 !important;
}
:root[data-theme="light"] body::before {
  background-image: none !important;
}
:root[data-theme="light"] #noise,
:root[data-theme="light"] #scanlines,
:root[data-theme="light"] #vignette,
:root[data-theme="light"] #data-rain-canvas,
:root[data-theme="light"] #cursor-trail-canvas,
:root[data-theme="light"] .cursor-dot,
:root[data-theme="light"] .cursor-ring {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* === LIGHT MODE: Header === */
:root[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.92) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}
:root[data-theme="light"] .nav-pill {
  background: rgba(0, 0, 0, 0.03) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}
:root[data-theme="light"] .nav__link {
  color: #374151 !important;
}
:root[data-theme="light"] .nav__link:hover,
:root[data-theme="light"] .nav__link.active {
  color: #047857 !important;
  background: rgba(4, 120, 87, 0.06) !important;
}
:root[data-theme="light"] .btn-header {
  border-color: rgba(0, 0, 0, 0.15) !important;
  color: #374151 !important;
}
:root[data-theme="light"] .btn-primary-header {
  background: #047857 !important;
  color: #fff !important;
  border-color: #047857 !important;
}
:root[data-theme="light"] .hamburger span {
  background: #374151 !important;
}
:root[data-theme="light"] .user-name {
  color: #374151 !important;
}
:root[data-theme="light"] #notifBellBtn {
  background: rgba(0,0,0,0.04) !important;
  border-color: rgba(0,0,0,0.12) !important;
  color: #374151 !important;
}
:root[data-theme="light"] #notifBellBtn:hover {
  border-color: #047857 !important;
  color: #047857 !important;
}
:root[data-theme="light"] #notifMiniPanel {
  background: rgba(255,255,255,0.98) !important;
  border-color: rgba(0,0,0,0.1) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}
:root[data-theme="light"] .user-dropdown-menu {
  background: rgba(255, 255, 255, 0.98) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12) !important;
}
:root[data-theme="light"] .user-dropdown-menu a,
:root[data-theme="light"] .user-dropdown-menu button {
  color: #374151 !important;
}
:root[data-theme="light"] .user-dropdown-menu a:hover,
:root[data-theme="light"] .user-dropdown-menu button:hover {
  background: rgba(4, 120, 87, 0.06) !important;
  color: #047857 !important;
}

/* === LIGHT MODE: Mobile nav === */
:root[data-theme="light"] .mobile-nav-overlay {
  background: rgba(255, 255, 255, 0.98) !important;
}
:root[data-theme="light"] .mobile-nav-overlay a,
:root[data-theme="light"] .mobile-nav-link {
  color: #111827 !important;
}
:root[data-theme="light"] .mobile-nav-overlay a:hover {
  color: #047857 !important;
  background: rgba(4, 120, 87, 0.06) !important;
}

/* === LIGHT MODE: Typography === */
:root[data-theme="light"] h1,
:root[data-theme="light"] h2,
:root[data-theme="light"] h3,
:root[data-theme="light"] h4,
:root[data-theme="light"] strong {
  color: #0f172a !important;
  -webkit-text-fill-color: initial !important;
}
:root[data-theme="light"] p,
:root[data-theme="light"] li,
:root[data-theme="light"] .muted,
:root[data-theme="light"] .sub,
:root[data-theme="light"] .meta {
  color: #475569 !important;
}

/* === LIGHT MODE: Cards & Surfaces === */
:root[data-theme="light"] .card,
:root[data-theme="light"] .panel,
:root[data-theme="light"] .widget,
:root[data-theme="light"] .glass-card,
:root[data-theme="light"] .badge-card,
:root[data-theme="light"] .step-card,
:root[data-theme="light"] .perf-card,
:root[data-theme="light"] .prot-card,
:root[data-theme="light"] .contact-card,
:root[data-theme="light"] .chart-card,
:root[data-theme="light"] .stat-card,
:root[data-theme="light"] .blog-card,
:root[data-theme="light"] .price-card,
:root[data-theme="light"] .faq-item,
:root[data-theme="light"] .history-item,
:root[data-theme="light"] .mlm-cell,
:root[data-theme="light"] .art-row,
:root[data-theme="light"] .notif-item {
  background: #ffffff !important;
  color: #111827 !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

/* === LIGHT MODE: Inputs & Forms === */
:root[data-theme="light"] input,
:root[data-theme="light"] textarea,
:root[data-theme="light"] select {
  background: #ffffff !important;
  border: 1px solid #d1d5db !important;
  color: #111827 !important;
}
:root[data-theme="light"] input:focus,
:root[data-theme="light"] textarea:focus,
:root[data-theme="light"] select:focus {
  border-color: #047857 !important;
  box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.12) !important;
}
:root[data-theme="light"] ::placeholder {
  color: #9ca3af !important;
}

/* === LIGHT MODE: Buttons === */
:root[data-theme="light"] .btn-primary,
:root[data-theme="light"] .btn-success {
  background: #047857 !important;
  color: #fff !important;
  border-color: #047857 !important;
}
:root[data-theme="light"] .btn-ghost,
:root[data-theme="light"] .btn-secondary {
  background: #ffffff !important;
  color: #374151 !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
}

/* === LIGHT MODE: Sections & Hero === */
:root[data-theme="light"] .hero,
:root[data-theme="light"] .hero-security,
:root[data-theme="light"] .hero-section,
:root[data-theme="light"] .section,
:root[data-theme="light"] main,
:root[data-theme="light"] section,
:root[data-theme="light"] article {
  background: #ffffff !important;
  background-image: none !important;
}
:root[data-theme="light"] .section__head h2 {
  color: #0f172a !important;
}
:root[data-theme="light"] .section__head p.muted,
:root[data-theme="light"] .section__desc {
  color: #64748b !important;
}
:root[data-theme="light"] .kicker-pill,
:root[data-theme="light"] .section__kicker,
:root[data-theme="light"] .hero-badge,
:root[data-theme="light"] .security-badge,
:root[data-theme="light"] .symphony-badge {
  background: rgba(4, 120, 87, 0.06) !important;
  border-color: rgba(4, 120, 87, 0.15) !important;
  color: #047857 !important;
}

/* === LIGHT MODE: Footer === */
:root[data-theme="light"] .footer {
  background-color: #f8fafc !important;
  border-top: 1px solid #e5e7eb !important;
}
:root[data-theme="light"] .footer-col p,
:root[data-theme="light"] .footer-links a,
:root[data-theme="light"] .footer-bottom {
  color: #64748b !important;
}
:root[data-theme="light"] .footer-links a:hover {
  color: #047857 !important;
}
:root[data-theme="light"] .footer-bottom {
  border-top-color: #e5e7eb !important;
}
:root[data-theme="light"] .newsletter-box {
  background: #ffffff !important;
  border-color: #e5e7eb !important;
}
:root[data-theme="light"] .newsletter-box input {
  color: #111827 !important;
}
:root[data-theme="light"] .social-links a {
  background: rgba(0, 0, 0, 0.04) !important;
}
:root[data-theme="light"] .social-links svg {
  color: #475569 !important;
}

/* === LIGHT MODE: FAQ === */
:root[data-theme="light"] .faq-list {
  border-top-color: #e5e7eb !important;
}
:root[data-theme="light"] .faq-item {
  border-bottom-color: #e5e7eb !important;
}
:root[data-theme="light"] .faq-question {
  color: #1f2937 !important;
}
:root[data-theme="light"] .faq-answer {
  color: #6b7280 !important;
}
:root[data-theme="light"] .faq-number {
  color: #9ca3af !important;
}

/* === LIGHT MODE: Tables === */
:root[data-theme="light"] table,
:root[data-theme="light"] th,
:root[data-theme="light"] td {
  background: #ffffff !important;
  color: #111827 !important;
  border-color: #e5e7eb !important;
}

/* === LIGHT MODE: Modal === */
:root[data-theme="light"] .modal-box {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  color: #111827 !important;
}
:root[data-theme="light"] .modal-box h2 {
  color: #0f172a !important;
}
:root[data-theme="light"] .modal-box p {
  color: #6b7280 !important;
}

/* === LIGHT MODE: Canvas === */
:root[data-theme="light"] canvas {
  background: #ffffff !important;
}
:root[data-theme="light"] img {
  filter: none !important;
  opacity: 1 !important;
}

/* === LIGHT MODE: Remove ALL glow/neon effects === */
:root[data-theme="light"] * {
  text-shadow: none !important;
}
:root[data-theme="light"] .chromatic-text {
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: #0f172a !important;
  text-shadow: none !important;
}
:root[data-theme="light"] .highlight {
  color: #047857 !important;
  -webkit-text-fill-color: #047857 !important;
}
:root[data-theme="light"] [style*="color:var(--neon-green)"],
:root[data-theme="light"] [style*="color: var(--neon-green)"] {
  color: #047857 !important;
}

/* === LIGHT MODE: Notification bell alignment === */
:root[data-theme="light"] .notif-bell,
.notif-bell {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}
.user-section,
.header-right,
.site-header .user-section {
  display: flex;
  align-items: center;
  gap: 10px;
}
.notif-wrapper {
  display: inline-flex;
  align-items: center;
}

/* === LIGHT MODE: INDEX — Performance cards === */
:root[data-theme="light"] .perf-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
}
:root[data-theme="light"] .perf-card:hover {
  border-color: #047857 !important;
  box-shadow: 0 4px 12px rgba(4,120,87,0.1) !important;
}
:root[data-theme="light"] .perf-card h3,
:root[data-theme="light"] .perf-card h4 {
  color: #0f172a !important;
}
:root[data-theme="light"] .perf-card p,
:root[data-theme="light"] .perf-card .muted {
  color: #475569 !important;
}
:root[data-theme="light"] .perf-card .perf-bar {
  background: rgba(4,120,87,0.1) !important;
}

/* === LIGHT MODE: INDEX — Protection multicouche cards === */
:root[data-theme="light"] .prot-card,
:root[data-theme="light"] #protection-section .prot-card-item {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
  backdrop-filter: none !important;
}
:root[data-theme="light"] .prot-card h4,
:root[data-theme="light"] #protection-section .prot-card-item h4 {
  color: #0f172a !important;
}
:root[data-theme="light"] .prot-card p,
:root[data-theme="light"] #protection-section .prot-card-item p {
  color: #475569 !important;
}
:root[data-theme="light"] .prot-card:hover,
:root[data-theme="light"] #protection-section .prot-card-item:hover {
  border-color: #047857 !important;
  box-shadow: 0 4px 16px rgba(4,120,87,0.1) !important;
}

/* === LIGHT MODE: INDEX — Why cards === */
:root[data-theme="light"] .why-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
}
:root[data-theme="light"] .why-card:hover {
  border-color: #047857 !important;
  box-shadow: 0 4px 12px rgba(4,120,87,0.08) !important;
}
:root[data-theme="light"] .why-card h3 {
  color: #0f172a !important;
}
:root[data-theme="light"] .why-icon-box {
  background: rgba(4,120,87,0.06) !important;
  border-color: rgba(4,120,87,0.15) !important;
}

/* === LIGHT MODE: MARCHE — Analyse IA === */
:root[data-theme="light"] .ai-section,
:root[data-theme="light"] .analysis-card,
:root[data-theme="light"] .reco-card,
:root[data-theme="light"] .signal-card,
:root[data-theme="light"] .indicator-card,
:root[data-theme="light"] .market-card,
:root[data-theme="light"] .chart-container,
:root[data-theme="light"] .chart-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  color: #111827 !important;
}
:root[data-theme="light"] .ai-section h2,
:root[data-theme="light"] .ai-section h3,
:root[data-theme="light"] .analysis-card h3,
:root[data-theme="light"] .reco-card h3,
:root[data-theme="light"] .chart-card h3 {
  color: #0f172a !important;
}
:root[data-theme="light"] .ai-section p,
:root[data-theme="light"] .ai-section .muted,
:root[data-theme="light"] .analysis-card p {
  color: #475569 !important;
}
:root[data-theme="light"] .ai-status,
:root[data-theme="light"] .loading-text {
  color: #6b7280 !important;
}

/* === LIGHT MODE: SECURITE — Pillars, layers, bonnes pratiques === */
:root[data-theme="light"] .pillar-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
}
:root[data-theme="light"] .pillar-card:hover {
  border-color: #047857 !important;
  box-shadow: 0 4px 16px rgba(4,120,87,0.1) !important;
}
:root[data-theme="light"] .pillar-card h3 {
  color: #0f172a !important;
}
:root[data-theme="light"] .pillar-card p {
  color: #475569 !important;
}
:root[data-theme="light"] .pillar-number {
  color: rgba(0,0,0,0.04) !important;
}
:root[data-theme="light"] .pillar-icon {
  color: #047857 !important;
}
:root[data-theme="light"] .layer-card,
:root[data-theme="light"] .security-card,
:root[data-theme="light"] .best-practice-card,
:root[data-theme="light"] .defense-card,
:root[data-theme="light"] .couche-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  color: #111827 !important;
}
:root[data-theme="light"] .layer-card h4,
:root[data-theme="light"] .security-card h3,
:root[data-theme="light"] .defense-card h4,
:root[data-theme="light"] .couche-card h4 {
  color: #0f172a !important;
}
:root[data-theme="light"] .layer-card p,
:root[data-theme="light"] .security-card p,
:root[data-theme="light"] .defense-card p,
:root[data-theme="light"] .couche-card p {
  color: #475569 !important;
}
:root[data-theme="light"] .shield-orb {
  background: rgba(4,120,87,0.06) !important;
}
:root[data-theme="light"] .shield-lines {
  opacity: 0.15 !important;
}

/* === LIGHT MODE: MLM — Cards, tree, pool, examples === */
:root[data-theme="light"] .mlm-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
}
:root[data-theme="light"] .mlm-card h2 {
  color: #0f172a !important;
}
:root[data-theme="light"] .mlm-card p,
:root[data-theme="light"] .mlm-card li {
  color: #475569 !important;
}
:root[data-theme="light"] .mlm-tree-wrap {
  background: #f9fafb !important;
  border-color: #e5e7eb !important;
}
:root[data-theme="light"] .mlm-tree-wrap text {
  fill: #111827 !important;
}
:root[data-theme="light"] .mlm-tree-wrap text[fill="#e2e8f0"],
:root[data-theme="light"] .mlm-tree-wrap text[fill="#94a3b8"],
:root[data-theme="light"] .mlm-tree-wrap text[fill="#64748b"],
:root[data-theme="light"] .mlm-tree-wrap text[fill="#475569"] {
  fill: #374151 !important;
}
:root[data-theme="light"] .mlm-tree-wrap text[fill="#00ffa3"] {
  fill: #047857 !important;
}
:root[data-theme="light"] .mlm-tree-wrap rect[fill*="rgba(0,255,163"] {
  fill: rgba(4,120,87,0.08) !important;
  stroke: #047857 !important;
}
:root[data-theme="light"] .mlm-tree-wrap rect[fill*="rgba(255,255,255"] {
  fill: rgba(4,120,87,0.04) !important;
  stroke: rgba(4,120,87,0.2) !important;
}
:root[data-theme="light"] .mlm-tree-wrap line {
  stroke: rgba(4,120,87,0.25) !important;
}
:root[data-theme="light"] .pool-viz {
  background: #f9fafb !important;
  border-color: #e5e7eb !important;
}
:root[data-theme="light"] .pool-viz text {
  fill: #111827 !important;
}
:root[data-theme="light"] .pool-viz text[fill="#e2e8f0"] {
  fill: #0f172a !important;
}
:root[data-theme="light"] .pool-viz text[fill="#94a3b8"] {
  fill: #475569 !important;
}
:root[data-theme="light"] .pool-viz text[fill="#00ffa3"] {
  fill: #047857 !important;
}
:root[data-theme="light"] .pool-viz ellipse {
  fill: rgba(4,120,87,0.04) !important;
  stroke: #047857 !important;
}
:root[data-theme="light"] .pool-viz circle {
  fill: rgba(4,120,87,0.06) !important;
  stroke: #047857 !important;
}
:root[data-theme="light"] .example-box {
  background: #f9fafb !important;
  border: 1px solid #e5e7eb !important;
  color: #374151 !important;
}
:root[data-theme="light"] .disclaimer {
  background: rgba(250,204,21,0.06) !important;
  border-left-color: rgba(180,140,20,0.5) !important;
  color: #92400e !important;
}
:root[data-theme="light"] .mlm-cta {
  background: #047857 !important;
  color: #fff !important;
}
:root[data-theme="light"] .mlm-cta[style*="transparent"] {
  background: transparent !important;
  color: #047857 !important;
  border-color: #047857 !important;
}

/* === LIGHT MODE: ETAPES — Steps, cards, help === */
:root[data-theme="light"] .step-card,
:root[data-theme="light"] .step-content,
:root[data-theme="light"] .step-detail,
:root[data-theme="light"] .step-body {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  color: #111827 !important;
}
:root[data-theme="light"] .step-card h3,
:root[data-theme="light"] .step-detail h3 {
  color: #0f172a !important;
}
:root[data-theme="light"] .step-card p,
:root[data-theme="light"] .step-detail p,
:root[data-theme="light"] .step-card li {
  color: #475569 !important;
}
:root[data-theme="light"] .step-nav-item {
  background: #f9fafb !important;
  border: 1px solid #e5e7eb !important;
  color: #374151 !important;
}
:root[data-theme="light"] .step-nav-item.active {
  background: rgba(4,120,87,0.08) !important;
  border-color: #047857 !important;
  color: #047857 !important;
}
:root[data-theme="light"] .step-num {
  background: rgba(4,120,87,0.1) !important;
  color: #047857 !important;
}
:root[data-theme="light"] .step-nav-item.active .step-num {
  background: #047857 !important;
  color: #fff !important;
}
:root[data-theme="light"] .help-card,
:root[data-theme="light"] .support-card,
:root[data-theme="light"] .help-box {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  color: #111827 !important;
}
:root[data-theme="light"] .help-card h3,
:root[data-theme="light"] .support-card h3 {
  color: #0f172a !important;
}
:root[data-theme="light"] .help-card p,
:root[data-theme="light"] .support-card p {
  color: #475569 !important;
}

/* === LIGHT MODE: A-PROPOS — Symphony, architecture, results === */
:root[data-theme="light"] .symphony-card,
:root[data-theme="light"] .symphony-section {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
}
:root[data-theme="light"] .symphony-card h3,
:root[data-theme="light"] .symphony-title {
  color: #0f172a !important;
}
:root[data-theme="light"] .symphony-card p,
:root[data-theme="light"] .symphony-subtitle {
  color: #475569 !important;
}
:root[data-theme="light"] .symphony-card-icon {
  background: rgba(4,120,87,0.06) !important;
  border-color: rgba(4,120,87,0.15) !important;
  color: #047857 !important;
}
:root[data-theme="light"] .symphony-card-icon svg {
  stroke: #047857 !important;
  color: #047857 !important;
}
:root[data-theme="light"] .arch-card,
:root[data-theme="light"] .architecture-card,
:root[data-theme="light"] .tech-card,
:root[data-theme="light"] .module-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
}
:root[data-theme="light"] .arch-card h3,
:root[data-theme="light"] .architecture-card h3,
:root[data-theme="light"] .tech-card h3 {
  color: #0f172a !important;
}
:root[data-theme="light"] .arch-card p,
:root[data-theme="light"] .architecture-card p,
:root[data-theme="light"] .tech-card p {
  color: #475569 !important;
}
:root[data-theme="light"] .result-card,
:root[data-theme="light"] .stat-item,
:root[data-theme="light"] .stat-card,
:root[data-theme="light"] .metric-card,
:root[data-theme="light"] .kpi-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
}
:root[data-theme="light"] .result-card h3,
:root[data-theme="light"] .stat-item .value,
:root[data-theme="light"] .stat-card .value,
:root[data-theme="light"] .metric-card .metric-value {
  color: #047857 !important;
}
:root[data-theme="light"] .result-card p,
:root[data-theme="light"] .stat-item .label,
:root[data-theme="light"] .stat-card .label {
  color: #475569 !important;
}
:root[data-theme="light"] .mission-card,
:root[data-theme="light"] .vision-card,
:root[data-theme="light"] .value-card,
:root[data-theme="light"] .about-card,
:root[data-theme="light"] .team-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
}
:root[data-theme="light"] .mission-card h3,
:root[data-theme="light"] .vision-card h3,
:root[data-theme="light"] .about-card h3 {
  color: #0f172a !important;
}
:root[data-theme="light"] .mission-card p,
:root[data-theme="light"] .vision-card p,
:root[data-theme="light"] .about-card p {
  color: #475569 !important;
}

/* === LIGHT MODE: CONTACT — Cards & form === */
:root[data-theme="light"] .contact-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
}
:root[data-theme="light"] .contact-card h3 {
  color: #0f172a !important;
}
:root[data-theme="light"] .contact-card p {
  color: #475569 !important;
}
:root[data-theme="light"] .contact-card .icon-box {
  background: rgba(4,120,87,0.06) !important;
  border-color: rgba(4,120,87,0.15) !important;
}
:root[data-theme="light"] .contact-card:hover .icon-box {
  background: #047857 !important;
}
:root[data-theme="light"] .contact-card a {
  color: #047857 !important;
}
:root[data-theme="light"] .contact-hero h1 {
  color: #0f172a !important;
}
:root[data-theme="light"] .form-left h2 {
  color: #0f172a !important;
}
:root[data-theme="light"] .contact-video-wrapper {
  border-color: #e5e7eb !important;
  background: #f9fafb !important;
}
:root[data-theme="light"] .submit-btn {
  background: linear-gradient(135deg, #047857, #059669) !important;
}

/* === LIGHT MODE: BLOG — Cards === */
:root[data-theme="light"] .blog-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
}
:root[data-theme="light"] .blog-card h3 {
  color: #0f172a !important;
}
:root[data-theme="light"] .blog-card p,
:root[data-theme="light"] .blog-card .meta {
  color: #475569 !important;
}

/* === LIGHT MODE: DASHBOARD === */
:root[data-theme="light"] .dash-sidebar,
:root[data-theme="light"] .sidebar {
  background: #ffffff !important;
  border-right: 1px solid #e5e7eb !important;
}
:root[data-theme="light"] .dash-sidebar a,
:root[data-theme="light"] .sidebar a,
:root[data-theme="light"] .dash-sidebar button,
:root[data-theme="light"] .sidebar-link {
  color: #374151 !important;
}
:root[data-theme="light"] .dash-sidebar a:hover,
:root[data-theme="light"] .sidebar a:hover,
:root[data-theme="light"] .sidebar-link:hover {
  background: rgba(4,120,87,0.06) !important;
  color: #047857 !important;
}
:root[data-theme="light"] .dash-sidebar a.active,
:root[data-theme="light"] .sidebar-link.active {
  background: rgba(4,120,87,0.08) !important;
  color: #047857 !important;
}
:root[data-theme="light"] .dash-sidebar svg,
:root[data-theme="light"] .sidebar svg {
  stroke: #6b7280 !important;
}
:root[data-theme="light"] .dash-sidebar a:hover svg,
:root[data-theme="light"] .sidebar-link:hover svg,
:root[data-theme="light"] .dash-sidebar a.active svg,
:root[data-theme="light"] .sidebar-link.active svg {
  stroke: #047857 !important;
}
:root[data-theme="light"] .dash-card,
:root[data-theme="light"] .dash-panel,
:root[data-theme="light"] .dash-widget,
:root[data-theme="light"] .overview-card,
:root[data-theme="light"] .chart-panel,
:root[data-theme="light"] .activity-card,
:root[data-theme="light"] .info-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
  color: #111827 !important;
}
:root[data-theme="light"] .dash-card h3,
:root[data-theme="light"] .dash-panel h3,
:root[data-theme="light"] .overview-card h3 {
  color: #0f172a !important;
}
:root[data-theme="light"] .dash-card p,
:root[data-theme="light"] .dash-panel p {
  color: #475569 !important;
}
:root[data-theme="light"] .dash-main,
:root[data-theme="light"] .dashboard-content {
  background: #f8fafc !important;
}
:root[data-theme="light"] .dash-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e5e7eb !important;
}

/* === LIGHT MODE: Gold ticker === */
:root[data-theme="light"] #goldTicker {
  color: #374151 !important;
}

/* === LIGHT MODE: SVGs in general sections === */
:root[data-theme="light"] section svg text {
  fill: #374151 !important;
}
:root[data-theme="light"] section svg line,
:root[data-theme="light"] section svg path {
  stroke: rgba(4,120,87,0.3) !important;
}
:root[data-theme="light"] section svg rect[fill*="rgba(0,255,163"] {
  fill: rgba(4,120,87,0.06) !important;
}
:root[data-theme="light"] section svg circle[fill*="rgba(0,255,163"] {
  fill: rgba(4,120,87,0.06) !important;
}

/* === LIGHT MODE: Scrollbars === */
:root[data-theme="light"] ::-webkit-scrollbar-track {
  background: #f1f5f9 !important;
}
:root[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: #cbd5e1 !important;
}
:root[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
  background: #94a3b8 !important;
}

/* === LIGHT MODE: Generic catch-all for inline dark styles === */
:root[data-theme="light"] [style*="background: rgba(0,0,0"],
:root[data-theme="light"] [style*="background:rgba(0,0,0"],
:root[data-theme="light"] [style*="background: rgba(5,"],
:root[data-theme="light"] [style*="background:rgba(5,"],
:root[data-theme="light"] [style*="background: rgba(2,"],
:root[data-theme="light"] [style*="background:rgba(2,"] {
  background: #f9fafb !important;
  border-color: #e5e7eb !important;
}
:root[data-theme="light"] [style*="color: #fff"],
:root[data-theme="light"] [style*="color:#fff"],
:root[data-theme="light"] [style*="color: #e2e8f0"],
:root[data-theme="light"] [style*="color:#e2e8f0"] {
  color: #111827 !important;
}
:root[data-theme="light"] [style*="color: #94a3b8"],
:root[data-theme="light"] [style*="color:#94a3b8"] {
  color: #475569 !important;
}

/* === LIGHT MODE: ETAPES — Phase cards (inline <style> overrides) === */
:root[data-theme="light"] .phase-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  backdrop-filter: none !important;
}
:root[data-theme="light"] .phase-card:hover {
  border-color: #047857 !important;
  box-shadow: 0 4px 16px rgba(4,120,87,0.08) !important;
}
:root[data-theme="light"] .phase-header {
  border-bottom-color: #e5e7eb !important;
}
:root[data-theme="light"] .phase-header:hover {
  background: rgba(4,120,87,0.02) !important;
}
:root[data-theme="light"] .phase-title h3 {
  color: #0f172a !important;
}
:root[data-theme="light"] .phase-title p {
  color: #6b7280 !important;
}
:root[data-theme="light"] .phase-number {
  background: #047857 !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(4,120,87,0.2) !important;
}
:root[data-theme="light"] .phase-toggle {
  background: rgba(4,120,87,0.08) !important;
}
:root[data-theme="light"] .phase-toggle svg {
  color: #047857 !important;
}
:root[data-theme="light"] .phase-content {
  background: transparent !important;
}
:root[data-theme="light"] .phase-inner {
  background: transparent !important;
}
:root[data-theme="light"] .step-item {
  border-bottom-color: #e5e7eb !important;
}
:root[data-theme="light"] .step-marker {
  background: rgba(4,120,87,0.08) !important;
  border-color: rgba(4,120,87,0.25) !important;
  color: #047857 !important;
}
:root[data-theme="light"] .step-body h4 {
  color: #0f172a !important;
}
:root[data-theme="light"] .step-body p {
  color: #475569 !important;
}
:root[data-theme="light"] .copy-container {
  background: #f9fafb !important;
  border-color: #e5e7eb !important;
}
:root[data-theme="light"] .copy-value {
  color: #047857 !important;
}
:root[data-theme="light"] .copy-btn {
  background: rgba(4,120,87,0.08) !important;
  border-color: rgba(4,120,87,0.2) !important;
  color: #047857 !important;
}
:root[data-theme="light"] .copy-btn:hover {
  background: #047857 !important;
  color: #fff !important;
}
:root[data-theme="light"] .tab-btn {
  background: #f9fafb !important;
  border-color: #e5e7eb !important;
  color: #6b7280 !important;
}
:root[data-theme="light"] .tab-btn:hover {
  border-color: #047857 !important;
}
:root[data-theme="light"] .tab-btn.active {
  background: rgba(4,120,87,0.08) !important;
  border-color: #047857 !important;
  color: #047857 !important;
}
:root[data-theme="light"] .code-block {
  background: #f1f5f9 !important;
  border-color: #e5e7eb !important;
  color: #374151 !important;
}
:root[data-theme="light"] .code-block .path {
  color: #047857 !important;
}
:root[data-theme="light"] .warning-box {
  background: rgba(4,120,87,0.04) !important;
  border-color: rgba(4,120,87,0.15) !important;
}
:root[data-theme="light"] .warning-box p {
  color: #374151 !important;
}
:root[data-theme="light"] .warning-box strong {
  color: #047857 !important;
}
:root[data-theme="light"] .vps-highlight {
  background: rgba(4,120,87,0.04) !important;
  border-color: rgba(4,120,87,0.15) !important;
}
:root[data-theme="light"] .vps-icon {
  background: rgba(4,120,87,0.08) !important;
}
:root[data-theme="light"] .vps-icon svg {
  color: #047857 !important;
}
:root[data-theme="light"] .vps-content p {
  color: #475569 !important;
}
:root[data-theme="light"] .support-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  backdrop-filter: none !important;
}
:root[data-theme="light"] .support-card:hover {
  border-color: #047857 !important;
  box-shadow: 0 4px 16px rgba(4,120,87,0.08) !important;
}
:root[data-theme="light"] .support-icon {
  background: rgba(4,120,87,0.08) !important;
}
:root[data-theme="light"] .support-icon svg {
  color: #047857 !important;
}
:root[data-theme="light"] .support-card h3 {
  color: #0f172a !important;
}
:root[data-theme="light"] .support-card p {
  color: #475569 !important;
}
:root[data-theme="light"] .support-btn {
  background: #047857 !important;
  color: #fff !important;
  box-shadow: 0 2px 12px rgba(4,120,87,0.2) !important;
}
:root[data-theme="light"] .support-btn:hover {
  background: #059669 !important;
}
:root[data-theme="light"] .security-alert {
  background: rgba(220,50,50,0.06) !important;
  border-color: rgba(220,50,50,0.2) !important;
}
:root[data-theme="light"] .alert-content {
  color: #475569 !important;
}
:root[data-theme="light"] .confidential-badge {
  background: rgba(4,120,87,0.04) !important;
  border-color: rgba(4,120,87,0.15) !important;
  backdrop-filter: none !important;
}
:root[data-theme="light"] .confidential-text h4 {
  color: #047857 !important;
}
:root[data-theme="light"] .confidential-text p {
  color: #475569 !important;
}
:root[data-theme="light"] .funnel-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
}
:root[data-theme="light"] .funnel-card h4,
:root[data-theme="light"] .funnel-card h3 {
  color: #0f172a !important;
}
:root[data-theme="light"] .funnel-card p {
  color: #475569 !important;
}
:root[data-theme="light"] .lock-overlay-msg {
  background: rgba(255,255,255,0.95) !important;
  border-color: #047857 !important;
}
:root[data-theme="light"] .lock-overlay-msg h3 {
  color: #0f172a !important;
}
:root[data-theme="light"] .lock-overlay-msg p {
  color: #475569 !important;
}
:root[data-theme="light"] .lock-overlay-msg svg {
  color: #047857 !important;
}
:root[data-theme="light"] .lock-overlay-msg button {
  background: #047857 !important;
  color: #fff !important;
}
:root[data-theme="light"] .guide-subtitle {
  color: #6b7280 !important;
}
:root[data-theme="light"] .progress-bar {
  background: linear-gradient(90deg, #047857, #059669, #10b981) !important;
  box-shadow: none !important;
}

/* === LIGHT MODE: SECURITE — Page-specific inline styles === */
:root[data-theme="light"] .hero-security,
:root[data-theme="light"] .security-hero {
  background: #ffffff !important;
}
:root[data-theme="light"] .hero-security h1,
:root[data-theme="light"] .security-hero h1 {
  color: #0f172a !important;
}
:root[data-theme="light"] .shield-label {
  color: #047857 !important;
}

/* === LIGHT MODE: MARCHE — Page-specific === */
:root[data-theme="light"] .market-hero {
  background: #ffffff !important;
}
:root[data-theme="light"] .market-hero h1 {
  color: #0f172a !important;
}
:root[data-theme="light"] .reco-badge,
:root[data-theme="light"] .signal-badge {
  background: rgba(4,120,87,0.06) !important;
  border-color: rgba(4,120,87,0.15) !important;
  color: #047857 !important;
}

/* === LIGHT MODE: A-PROPOS — Page-specific inline styles === */
:root[data-theme="light"] .about-hero,
:root[data-theme="light"] .apropos-hero {
  background: #ffffff !important;
}
:root[data-theme="light"] .about-hero h1 {
  color: #0f172a !important;
}
:root[data-theme="light"] .timeline-item,
:root[data-theme="light"] .milestone-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
}
:root[data-theme="light"] .timeline-item h3,
:root[data-theme="light"] .milestone-card h3 {
  color: #0f172a !important;
}
:root[data-theme="light"] .timeline-item p,
:root[data-theme="light"] .milestone-card p {
  color: #475569 !important;
}
/* ============================================
   VALORYS ALGO — Shared Styles
   ============================================ */

/* ═══ VARIABLES & RESET — Single Source of Truth ═══ */
:root {
  --bg: #030a06;
  --bg-dark: #030a06;
  --text: #f8fafc;
  --card: #0d1a14;
  --border: rgba(255, 255, 255, 0.08);
  --primary: #00ffa3;

  --neon-green: #00ffa3;
  --neon-green-dark: #00cc82;
  --neon-green-light: #4dffc5;
  --neon-cyan: #22d3ee;
  --neon-purple: #a855f7;
  --neon-dim: rgba(0, 255, 163, 0.08);
  --neon-border: rgba(0, 255, 163, 0.22);
  --border-color: var(--border);
  --card-bg: rgba(8, 20, 14, 0.7);
  --glass-border: rgba(255, 255, 255, 0.06);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --red-accent: #ff4444;
  --up-color: #089981;
  --down-color: #f23645;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;
  --danger: #ff4757;
  --muted: #94a3b8;

  /* Light mode accent — darker green for WCAG on white */
  --accent-on-light: #047857;
}

.dark,
:root[data-theme="dark"] {
  --bg: #030a06;
  --bg-dark: #030a06;
  --text: #f8fafc;
  --card: #0d1a14;
  --border: rgba(255, 255, 255, 0.08);
  --primary: #00ffa3;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;
  --card-bg: rgba(8, 20, 14, 0.7);
  --glass-border: rgba(255, 255, 255, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  cursor: default;
}

body {
  background-color: var(--bg);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 100px;
  cursor: default;
}

/* Grid background */
body::before {
  content: "";
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background-image: 
    linear-gradient(rgba(0, 255, 163, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 163, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -1;
  pointer-events: none;
}

a, button, .btn, .nav__link, summary, input, .step-card, .prot-card {
  cursor: pointer !important;
}

/* ═══ SCROLLBAR ═══ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: var(--up-color); border-radius: 3px; }

/* ═══ OVERLAY FX ═══ */
#noise {
  position: fixed; inset: 0; z-index: 9997; pointer-events: none; opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 128px 128px;
  animation: noiseShift 0.5s steps(3) infinite;
}
@keyframes noiseShift {
  0% { transform: translate(0,0); }
  33% { transform: translate(-2px,1px); }
  66% { transform: translate(1px,-2px); }
  100% { transform: translate(2px,0); }
}

#scanlines {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0px, transparent 4px, rgba(0,255,163,0.003) 4px, rgba(0,255,163,0.003) 5px);
}

#vignette {
  position: fixed; inset: 0; z-index: 5; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, transparent 40%, rgba(0,0,0,0.6) 100%);
  animation: vignetteBreathe 6s ease-in-out infinite;
}
@keyframes vignetteBreathe { 0%,100%{opacity:0.3} 50%{opacity:0.55} }

#data-rain-canvas {
  position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0.03;
}

/* ═══ CURSOR FX ═══ */
.cursor-dot {
  position: fixed; width: 6px; height: 6px;
  background: var(--neon-green); border-radius: 50%;
  z-index: 10000; pointer-events: none;
  mix-blend-mode: difference;
  transition: transform 0.15s ease, opacity 0.15s ease;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  position: fixed; width: 40px; height: 40px;
  border: 1px solid rgba(0, 255, 163, 0.25); border-radius: 50%;
  z-index: 10000; pointer-events: none;
  transition: width 0.4s cubic-bezier(0.16,1,0.3,1), height 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.3s ease, opacity 0.3s ease;
  transform: translate(-50%, -50%);
}
.cursor-ring.hovering { width: 64px; height: 64px; border-color: rgba(0, 255, 163, 0.5); }
.cursor-ring.clicking { width: 30px; height: 30px; }

/* Curseur natif toujours visible : cursor:none retiré (cassait l’UX si halo absent, iframe, ou JS en retard). */
@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

#cursor-trail-canvas {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
}

.click-ripple {
  position: fixed; border-radius: 50%; pointer-events: none; z-index: 9996;
  border: 1px solid rgba(0, 255, 163, 0.35);
  animation: rippleOut 0.8s ease-out forwards;
}
@keyframes rippleOut {
  0% { width: 0; height: 0; opacity: 1; }
  100% { width: 120px; height: 120px; opacity: 0; }
}

/* ═══ HEADER ═══ */
.site-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  padding: 0 40px;
  height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-sizing: border-box;
  background: rgba(2, 11, 8, 0.95) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 255, 163, 0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  flex-wrap: nowrap;
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { height: 38px; width: auto; border-radius: 8px; transition: transform 0.2s; }
.brand-logo:hover { transform: scale(1.05); }

.nav-pill {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 30px;
  border-radius: 50px;
  display: flex; gap: 22px;
  align-items: center;
  flex-shrink: 0;
}
.nav__link { 
  text-decoration: none; 
  color: #fff; 
  font-size: 13px;
  font-weight: 500;
  opacity: 0.7; 
  transition: 0.3s;
  white-space: nowrap;
}
.nav__link:hover, .nav__link.active { 
  opacity: 1; 
  color: var(--neon-green); 
}

.header-status { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

#goldTicker {
  font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 600;
  color: var(--neon-green); background: var(--neon-dim);
  border: 1px solid var(--neon-border);
  padding: 5px 14px; border-radius: 50px;
  display: none; white-space: nowrap;
  transition: transform 0.2s ease, color 0.3s ease;
}

.user-section { display: flex; align-items: center; gap: 12px; position: relative; flex-shrink: 0; flex-wrap: nowrap; }

/* ═══ USER DROPDOWN ═══ */
.user-dropdown-toggle {
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; padding: 4px 8px; border-radius: 10px;
  transition: all 0.3s ease; border: 1px solid transparent;
  position: relative;
}
.user-dropdown-toggle:hover { background: rgba(0, 255, 163, 0.06); border-color: rgba(0, 255, 163, 0.15); }
.user-dropdown-arrow {
  width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid #94a3b8;
  transition: transform 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
}
.user-dropdown-toggle:hover .user-dropdown-arrow { border-top-color: var(--neon-green); }
.user-dropdown-toggle.active .user-dropdown-arrow { transform: rotate(180deg); border-top-color: var(--neon-green); }
.user-dropdown-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: rgba(5, 15, 12, 0.98); backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 255, 163, 0.2); border-radius: 14px;
  min-width: 200px; padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1100; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}
.user-dropdown-menu.show { opacity: 1; visibility: visible; transform: translateY(0); }
.user-dropdown-menu a, .user-dropdown-menu button {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 10px 14px; border-radius: 8px;
  background: transparent; border: none;
  color: #cbd5e1; font-size: 13px; font-weight: 500;
  font-family: 'DM Sans', sans-serif; text-decoration: none;
  transition: all 0.2s ease; cursor: pointer;
  text-align: left; white-space: nowrap;
}
.user-dropdown-menu a:hover, .user-dropdown-menu button:hover {
  background: rgba(0, 255, 163, 0.08); color: var(--neon-green);
}
.user-dropdown-menu svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; }
.user-dropdown-sep { height: 1px; background: rgba(255, 255, 255, 0.06); margin: 4px 8px; }

/* ═══ NOTIFICATION BELL ═══ */
#notifBellWrap { position: relative; display: inline-flex; align-items: center; flex-shrink: 0; }
#notifBellBtn { position: relative; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); color: #cbd5e1; font-size: 15px; cursor: pointer; transition: all 0.3s ease; flex-shrink: 0; }
#notifBellBtn:hover { border-color: rgba(0,255,163,0.4); color: var(--neon-green); box-shadow: 0 0 12px rgba(0,255,163,0.2); }
#notifBellCount { position: absolute; top: -2px; right: -2px; min-width: 16px; height: 16px; border-radius: 999px; background: #ef4444; color: #fff; font-size: 10px; line-height: 16px; text-align: center; padding: 0 4px; }
#notifMiniPanel { display: none; position: fixed; top: 72px; right: 16px; width: 340px; max-height: 380px; overflow: auto; background: rgba(5,15,12,.98); backdrop-filter: blur(20px); border: 1px solid rgba(0,255,163,.2); border-radius: 14px; padding: 12px; z-index: 1200; box-shadow: 0 15px 40px rgba(0,0,0,0.5); }
#notifMiniPanel a { display: block; text-decoration: none; cursor: pointer; }

.user-avatar {
  width: 34px; height: 34px; 
  background: linear-gradient(135deg, #005c3a 0%, var(--neon-green) 100%); 
  border-radius: 50%; display: flex; align-items: center; justify-content: center; 
  font-weight: 700; font-size: 12px; color: #000; 
  box-shadow: 0 0 15px rgba(0, 255, 163, 0.3);
  flex-shrink: 0;
}
.user-name { font-size: 13px; font-weight: 500; color: #fff; }

/* ═══ NOTIFICATION BELL (navbar) ═══ */
.btn-header {
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.2); color: #94a3b8;
  padding: 8px 16px; border-radius: 8px; font-size: 12px; font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.3s ease; display: flex; align-items: center; gap: 7px;
  text-decoration: none; white-space: nowrap;
}
.btn-header:hover { border-color: var(--neon-green); color: var(--neon-green); box-shadow: 0 0 15px rgba(0, 255, 163, 0.2); }
.btn-primary-header { background: var(--neon-green); color: #000; border: none; font-weight: 600; }
.btn-primary-header:hover { background: #4df9c5; color: #000; }

/* ═══ HAMBURGER MENU ═══ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer !important;
  z-index: 1010;
  transition: all 0.3s ease;
  padding: 0;
  gap: 5px;
}
.hamburger:hover {
  border-color: var(--neon-green);
  background: rgba(0, 255, 163, 0.08);
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--neon-green);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--neon-green);
}

/* Mobile navigation overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(2, 11, 8, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-nav-overlay .mobile-nav-link {
  text-decoration: none;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 16px 40px;
  border-radius: 12px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  width: 260px;
  text-align: center;
  border: 1px solid transparent;
}
.mobile-nav-overlay.active .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}
.mobile-nav-overlay.active .mobile-nav-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(4) { transition-delay: 0.2s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(5) { transition-delay: 0.25s; }
.mobile-nav-overlay.active .mobile-nav-link:nth-child(6) { transition-delay: 0.3s; }

.mobile-nav-overlay .mobile-nav-link:hover,
.mobile-nav-overlay .mobile-nav-link.active {
  color: var(--neon-green);
  background: rgba(0, 255, 163, 0.06);
  border-color: rgba(0, 255, 163, 0.15);
}
.mobile-nav-overlay .mobile-nav-brand {
  margin-bottom: 30px;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.4s ease 0s;
}
.mobile-nav-overlay.active .mobile-nav-brand {
  opacity: 1;
  transform: scale(1);
}
.mobile-nav-overlay .mobile-nav-brand img {
  height: 45px;
  border-radius: 10px;
}

/* ═══ MODAL ═══ */
.modal-overlay { 
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
  background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(5px); z-index: 2000; 
  display: flex; align-items: center; justify-content: center; 
  opacity: 0; visibility: hidden; transition: all 0.3s ease; 
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-box { 
  background: #050a08; border: 1px solid var(--neon-green); padding: 40px; 
  border-radius: 20px; text-align: center; max-width: 420px; width: 90%; 
  transform: scale(0.9); transition: transform 0.3s ease; position: relative;
}
.modal-overlay.active .modal-box { transform: scale(1); }
.modal-icon { width: 48px; height: 48px; color: var(--neon-green); margin-bottom: 20px; }
.modal-box h2 { font-size: 1.4rem; margin-bottom: 12px; color: #fff; font-weight: 700; }
.modal-box p { color: #94a3b8; margin-bottom: 28px; line-height: 1.6; font-size: 14px; }
.modal-btn {
  background: var(--neon-green); color: #000; border: none;
  padding: 12px 28px; border-radius: 8px; font-weight: 700; font-size: 14px;
  font-family: 'DM Sans', sans-serif; cursor: pointer; transition: all 0.2s;
}
.modal-btn:hover { background: #4df9c5; box-shadow: 0 0 20px rgba(0,255,163,0.4); }
.modal-close { 
  position: absolute; top: 15px; right: 18px; background: none; border: none; 
  color: #fff; cursor: pointer; font-size: 22px; opacity: 0.7; transition: 0.3s; line-height: 1;
}
.modal-close:hover { opacity: 1; color: var(--neon-green); }

/* ═══ REVEAL ON SCROLL ═══ */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
[data-reveal="up"] { transform: translateY(30px); }
[data-reveal="scale"] { transform: scale(0.95); }
[data-reveal].visible { opacity: 1; transform: none; }
[data-reveal-delay="1"], [data-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"], [data-reveal][data-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"], [data-reveal][data-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"], [data-reveal][data-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"], [data-reveal][data-delay="5"] { transition-delay: 0.5s; }

/* Legacy anim fallback */
.anim-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16,1,0.3,1); will-change: transform, opacity; }
.anim-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.anim-delay-1 { transition-delay: 0.1s; }
.anim-delay-2 { transition-delay: 0.2s; }
.anim-delay-3 { transition-delay: 0.3s; }
.anim-delay-4 { transition-delay: 0.4s; }
.anim-delay-5 { transition-delay: 0.5s; }

/* ═══ GLASS CARD ═══ */
.glass-card {
  background: var(--card-bg); backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border); border-radius: 20px;
  transition: all 0.3s ease, border-color 0.5s ease, box-shadow 0.5s ease;
  overflow: hidden;
}
.glass-card:hover {
  border-color: rgba(0, 255, 163, 0.3);
  box-shadow: 0 0 30px rgba(0, 255, 163, 0.05);
}

/* ═══ COMMON SECTION ═══ */
.section { padding: 100px 0; position: relative; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 50px; }
.section__head { text-align: center; margin-bottom: 60px; }
.section__head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700; margin-bottom: 16px; color: #fff; letter-spacing: -0.02em;
}
.section__head p.muted {
  color: #888; max-width: 550px; margin: 0 auto; line-height: 1.7; font-size: 0.95rem;
}
.kicker-pill {
  background: rgba(0, 255, 163, 0.06);
  border: 1px solid rgba(0, 255, 163, 0.12);
  padding: 8px 16px; border-radius: 50px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; margin-bottom: 20px;
  color: var(--neon-green); font-weight: 600; letter-spacing: 0.5px;
}

/* Section kicker (index style) */
.section__kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0, 255, 163, 0.1); border: 1px solid rgba(0, 255, 163, 0.2);
  color: var(--neon-green); padding: 8px 16px; border-radius: 50px;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 20px;
}
.section__kicker svg { width: 16px; height: 16px; }
.section__title {
  font-size: 2.8rem; font-weight: 700; color: #fff;
  margin: 0 0 20px 0; line-height: 1.1;
}
.section__desc {
  font-size: 1rem; color: #666; max-width: 700px; margin: 0 auto; line-height: 1.6;
}

/* ═══ FAQ SECTION ═══ */
.faq-container { padding: 80px 50px; }
.faq-header-compact {
  display: flex; justify-content: center; align-items: flex-start;
  position: relative; margin-bottom: 50px;
}
.faq-side-tag {
  position: absolute; left: 0; font-weight: 700; font-size: 1rem;
  letter-spacing: 2px; color: #fff;
}
.faq-center-title { text-align: center; max-width: 500px; }
.faq-center-title h2 { font-size: 1.8rem; margin-bottom: 12px; font-weight: 700; }
.faq-center-title p { color: #888; font-size: 0.9rem; }
.faq-list { border-top: 1px solid #111; max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #111; }
.faq-trigger {
  display: flex; align-items: center; padding: 24px 0;
  list-style: none; transition: var(--transition-smooth);
}
.faq-trigger:hover { color: var(--neon-green); }
.faq-trigger::-webkit-details-marker { display: none; }
.faq-number { font-size: 0.8rem; font-weight: 600; color: #555; margin-right: 40px; min-width: 25px; }
.faq-question { flex-grow: 1; font-size: 0.95rem; font-weight: 500; color: #ddd; transition: color 0.3s ease; }
.faq-plus { font-size: 1.6rem; font-weight: 300; color: #555; transition: transform 0.3s ease, color 0.3s ease; min-width: 30px; }
.faq-answer {
  padding: 0 65px 24px 65px; color: #888; line-height: 1.7; font-size: 0.85rem;
  animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
details[open] .faq-plus { transform: rotate(45deg); color: var(--neon-green); }
details[open] .faq-question { color: var(--neon-green); }

/* ═══ FOOTER ═══ */
.footer {
  background-color: #000; padding: 60px 0 30px 0;
  border-top: 1px solid #0a0a0a;
}
.footer-container {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 2fr;
  gap: 40px; padding: 0 50px;
}
.footer-col p { color: #777; font-size: 13px; line-height: 1.6; margin-bottom: 8px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { 
  text-decoration: none; color: #888; transition: all 0.3s ease;
  font-size: 13px; position: relative;
}
.footer-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: var(--neon-green);
  transition: width 0.3s ease;
}
.footer-links a:hover::after { width: 100%; }
.footer-links a:hover { color: var(--neon-green); }

.newsletter-box {
  display: flex; background: #0a0a0a; border-radius: 10px;
  padding: 4px; margin-bottom: 20px; max-width: 360px;
  margin-left: auto; border: 1px solid #111; transition: all 0.3s ease;
}
.newsletter-box:focus-within {
  border-color: rgba(0, 255, 163, 0.2);
  box-shadow: 0 0 20px rgba(0, 255, 163, 0.1);
}
.newsletter-box input {
  flex: 1; background: transparent; border: none;
  padding: 12px 14px; color: white; outline: none;
  font-size: 13px; font-family: 'DM Sans', sans-serif;
}
.newsletter-box input::placeholder { color: #555; }
.newsletter-box button {
  background: var(--neon-green); color: #000; border: none;
  padding: 0 18px; border-radius: 6px; font-weight: 600;
  font-size: 12px; font-family: 'DM Sans', sans-serif; transition: all 0.3s ease;
}
.newsletter-box button:hover { box-shadow: 0 0 15px rgba(0, 255, 163, 0.3); }

.social-links { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.social-links a {
  opacity: 0.8; transition: all 0.3s ease;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  height: 40px; padding: 0 14px; border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none; color: #cbd5e1; font-size: 12px; font-weight: 500;
}
.social-links a:hover { opacity: 1; background: rgba(0, 255, 163, 0.12); border-color: rgba(0, 255, 163, 0.25); color: #00ffa3; }
.social-links a:hover svg { color: #00ffa3; }
.social-links svg { width: 20px; height: 20px; color: #cbd5e1; flex-shrink: 0; transition: color 0.3s; }
.social-label { white-space: nowrap; }
@media (max-width: 600px) { .social-label { display: none; } .social-links a { padding: 0; width: 40px; } }

.footer-bottom {
  text-align: center; margin-top: 40px; padding-top: 20px;
  border-top: 1px solid #0a0a0a; font-size: 12px; color: #555;
}
.footer-bottom a { color: #555; text-decoration: none; transition: color 0.3s; }
.footer-bottom a:hover { color: var(--neon-green); }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1100px) {
  .footer-container { grid-template-columns: 1fr; text-align: center; }
  .newsletter-box, .social-links { margin: 0 auto 25px auto; justify-content: center; }
}

@media (max-width: 900px) {
  .nav-pill { display: none; }
  .hamburger { display: flex; }
  .user-name { display: none; }
  .site-header { height: 64px; padding: 0 20px; }
  .header-status { gap: 8px; }
  #goldTicker { font-size: 10px; padding: 4px 10px; }
  .container { padding: 0 25px; }
  .faq-container { padding: 50px 25px; }
  .faq-answer { padding: 0 20px 20px 40px; }
  .faq-number { margin-right: 15px; }
  .faq-side-tag { position: relative; margin-bottom: 15px; }
  .faq-header-compact { flex-direction: column; align-items: center; }
}

@media (max-width: 768px) {
  .section__head h2 { font-size: 1.6rem; }
  .section__title { font-size: 2rem; }
}

@media (max-width: 600px) {
  .faq-container { padding: 50px 15px; }
}

/* ═══ HERO SECTION (INDEX & SECURITE) ═══ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
  z-index: 10;
  position: relative;
}

.hero__copy {
  position: relative;
  z-index: 10;
}

.hero__copy h1 {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero__badges {
  display: flex;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.badge-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  border-radius: 16px;
  flex: 1;
  min-width: 200px;
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.badge-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 255, 163, 0.3);
  box-shadow: 0 10px 30px rgba(0, 255, 163, 0.1);
}

.badge-card h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.5px;
}

.badge-card p {
  color: #888;
  font-size: 13px;
  line-height: 1.6;
}

/* Double Button */
.valorys-double-btn {
  display: inline-flex;
  overflow: hidden;
  border-radius: 8px;
  text-decoration: none;
  background: var(--neon-green);
  color: #000;
  font-family: 'DM Sans', sans-serif;
  align-items: stretch;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 15px;
}

.valorys-double-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 255, 163, 0.4);
}

.cap-text {
  padding: 18px 28px;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
}

.cap-joint {
  width: 1px;
  background: rgba(0, 0, 0, 0.2);
}

.cap-icon {
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.05);
}

/* Responsive */
@media (max-width: 1100px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
  }
  .hero__badges {
    justify-content: center;
  }
}

/* ═══ HERO SECURITE ═══ */
.hero-security {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg .hex-grid {
  position: absolute;
  inset: 0;
  opacity: 0.05;
}

.shield-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,255,163,0.15) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  filter: blur(50px);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 0 40px;
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,255,163,0.1);
  border: 1px solid rgba(0,255,163,0.2);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px;
  color: var(--neon-green);
  margin-bottom: 24px;
}

.shield-icon-small {
  width: 16px;
  height: 16px;
  stroke: var(--neon-green);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title .accent {
  color: var(--neon-green);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #a1a1aa;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* ═══════════════════════════════════════════════════════════
   ═══ CHAT SIDEBAR — Iframe intégrée ═══
   ═══════════════════════════════════════════════════════════ */
.chat-edge-bar {
    position: fixed; top: 50%; right: 0; transform: translateY(-50%);
    width: 5px; height: 130px;
    background: linear-gradient(180deg, transparent 0%, var(--neon-green) 15%, var(--neon-green) 85%, transparent 100%);
    border-radius: 4px 0 0 4px; z-index: 20000; cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -2px 0 12px rgba(0, 255, 163, 0.25), 0 0 6px rgba(0, 255, 163, 0.15);
}
.chat-edge-bar:hover { width: 7px; height: 170px; box-shadow: -4px 0 22px rgba(0, 255, 163, 0.45); }
.chat-edge-bar.is-open { opacity: 0; width: 4px; pointer-events: none; }

.chat-edge-icon {
    position: fixed; top: 50%; right: 10px; transform: translateY(-50%);
    width: 40px; height: 40px;
    background: rgba(0, 15, 10, 0.92); border: 1px solid var(--neon-border);
    border-radius: 11px 0 0 11px;
    display: flex; align-items: center; justify-content: center;
    z-index: 20001; cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -3px 0 12px rgba(0, 0, 0, 0.3); backdrop-filter: blur(10px);
}
.chat-edge-icon:hover { right: 14px; background: rgba(0, 255, 163, 0.1); border-color: rgba(0, 255, 163, 0.35); }
.chat-edge-icon svg { width: 18px; height: 18px; fill: none; stroke: var(--neon-green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s ease; }
.chat-edge-icon:hover svg { transform: translateX(-2px); }
.chat-edge-icon.is-open { opacity: 0; pointer-events: none; transform: translateY(-50%) translateX(20px); }

.chat-overlay {
    position: fixed; inset: 0; background: rgba(0, 0, 0, 0.4);
    z-index: 19998; opacity: 0; visibility: hidden;
    transition: all 0.4s ease; backdrop-filter: blur(2px);
}
.chat-overlay.is-open { opacity: 1; visibility: visible; }

/* ═══ Panneau sidebar avec iframe ═══ */
.chat-sidebar {
    position: fixed; top: 0; right: 0; width: var(--sidebar-w);
    height: 100vh; height: 100dvh;
    background: #050a08; border-left: 1px solid rgba(0, 255, 163, 0.2);
    z-index: 19999; display: flex; flex-direction: column;
    min-height: 0;
    transform: translateX(100%);
    transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.45s ease;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
}
.chat-sidebar.is-open { transform: translateX(0); }
.chat-sidebar.is-fullscreen {
    width: 100vw; height: 100vh; height: 100dvh;
    border-left: none; box-shadow: none; z-index: 20002;
}

.chat-sidebar-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(0, 255, 163, 0.06) 0%, rgba(0, 255, 163, 0.02) 100%);
    border-bottom: 1px solid rgba(0, 255, 163, 0.15);
    flex-shrink: 0; min-height: 72px;
}
.chat-sidebar-header-left { display: flex; align-items: center; gap: 14px; }
.chat-sidebar-avatar {
    width: 44px; height: 44px; border-radius: 14px;
    background: linear-gradient(135deg, #005c3a, #00ffa3);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 18px rgba(0, 255, 163, 0.3); flex-shrink: 0;
}
.chat-sidebar-avatar svg { width: 22px; height: 22px; fill: none; stroke: #000; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chat-sidebar-info h3 { font-size: 15px; font-weight: 700; color: #fff; margin: 0; line-height: 1.2; }
.chat-sidebar-status { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--neon-green); margin-top: 2px; }
.chat-sidebar-status .status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--neon-green); animation: statusBlink 2s ease-in-out infinite; }
@keyframes statusBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.chat-sidebar-header-right { display: flex; align-items: center; gap: 6px; }
.chat-header-btn {
    background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8; padding: 7px 12px; border-radius: 8px;
    font-size: 11px; font-weight: 600; font-family: 'DM Sans', sans-serif;
    transition: all 0.25s ease;
    display: flex; align-items: center; gap: 5px; white-space: nowrap;
}
.chat-header-btn:hover { background: rgba(0, 255, 163, 0.08); border-color: rgba(0, 255, 163, 0.25); color: var(--neon-green); }
.chat-header-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chat-header-btn.fs-active { background: rgba(0, 255, 163, 0.12); border-color: rgba(0, 255, 163, 0.35); color: var(--neon-green); box-shadow: 0 0 10px rgba(0, 255, 163, 0.1); }
.chat-header-sep { width: 1px; height: 24px; background: rgba(255, 255, 255, 0.08); margin: 0 4px; flex-shrink: 0; }
.chat-close-btn {
    background: rgba(255, 71, 87, 0.08); border: 1px solid rgba(255, 71, 87, 0.15);
    color: #ff4757; width: 34px; height: 34px; padding: 0; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.25s ease; flex-shrink: 0;
}
.chat-close-btn:hover { background: rgba(255, 71, 87, 0.18); border-color: rgba(255, 71, 87, 0.35); }
.chat-close-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.fs-tooltip {
    position: absolute; bottom: calc(100% + 10px); right: 0;
    background: rgba(0, 15, 10, 0.95); border: 1px solid var(--neon-border);
    backdrop-filter: blur(12px); padding: 6px 12px; border-radius: 8px;
    font-size: 11px; font-weight: 600; color: #fff; white-space: nowrap;
    opacity: 0; visibility: hidden; transform: translateY(4px);
    transition: all 0.25s ease; pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
.fs-tooltip::after { content: ''; position: absolute; top: 100%; right: 10px; border: 5px solid transparent; border-top-color: rgba(0, 15, 10, 0.95); }
.chat-header-btn:hover .fs-tooltip { opacity: 1; visibility: visible; transform: translateY(0); }

/* ═══ Corps du sidebar — iframe ═══ */
.chat-sidebar-body {
    flex: 1 1 auto; min-height: 0; position: relative; overflow: hidden;
    display: flex; flex-direction: column;
    background: #0a0f0d;
}

/* Iframe du chatbot */
.chat-sidebar-body iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none; outline: none;
    background: #0a0f0d;
    display: block;
}

/* État de chargement */
.chat-loading-overlay {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 16px;
    background: #0a0f0d; z-index: 10;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.chat-loading-overlay.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.chat-loading-spinner {
    width: 40px; height: 40px;
    border: 3px solid rgba(0, 255, 163, 0.15);
    border-top-color: var(--neon-green);
    border-radius: 50%;
    animation: chatSpin 0.8s linear infinite;
}
@keyframes chatSpin { to { transform: rotate(360deg); } }
.chat-loading-overlay p { color: #666; font-size: 13px; }

/* État d'erreur */
.chat-error-overlay {
    position: absolute; inset: 0;
    display: none; flex-direction: column;
    align-items: center; justify-content: center; gap: 14px;
    background: #0a0f0d; z-index: 10;
    padding: 30px; text-align: center;
}
.chat-error-overlay.show { display: flex; }
.chat-error-overlay svg { width: 36px; height: 36px; stroke: #ff4757; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chat-error-overlay p { color: #ff8c8c; font-size: 13px; line-height: 1.5; }
.chat-error-overlay .error-url {
    display: inline-block; padding: 6px 14px;
    background: rgba(255, 71, 87, 0.06); border: 1px solid rgba(255, 71, 87, 0.15);
    border-radius: 8px; font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: #ff8c8c; word-break: break-all; max-width: 100%;
}
.chat-error-overlay .retry-btn {
    margin-top: 10px; padding: 10px 24px;
    background: rgba(0, 255, 163, 0.1); border: 1px solid rgba(0, 255, 163, 0.3);
    border-radius: 8px; color: var(--neon-green);
    font-size: 13px; font-weight: 600; font-family: 'DM Sans', sans-serif;
    cursor: pointer; transition: all 0.3s ease;
}
.chat-error-overlay .retry-btn:hover {
    background: rgba(0, 255, 163, 0.2); border-color: var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 255, 163, 0.15);
}

@media (max-width: 500px) {
    .chat-sidebar { width: 100%; }
    .chat-sidebar.is-fullscreen { width: 100vw; }
    .chat-edge-icon { width: 36px; height: 36px; right: 6px; }
    .chat-edge-bar { height: 100px; }
    .chat-header-btn span.btn-label { display: none; }
    .chat-header-sep { margin: 0 2px; height: 20px; }
}
@media (max-width: 400px) { .chat-header-btn { padding: 6px 8px; } }

/* ============================================
   SECURITY PAGE SECTIONS
   ============================================ */
   .problem-section {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(10,5,5,0.5) 100%);
  }
  .problem-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .problem-card {
    background: rgba(20, 10, 10, 0.4);
    border: 1px solid rgba(255, 68, 68, 0.12);
    border-radius: 16px;
    padding: 30px 24px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
  }
  .problem-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 68, 68, 0.5), transparent);
  }
  .problem-card:hover {
    border-color: rgba(255, 68, 68, 0.25);
    transform: translateY(-4px);
  }
  .problem-stat {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--danger);
    margin-bottom: 12px;
  }
  .problem-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
  }
  .problem-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
  }
  .problem-quote {
    margin-top: 50px;
    padding: 35px 40px;
    background: linear-gradient(135deg, rgba(0, 255, 163, 0.05), rgba(0, 255, 163, 0.02));
    border: 1px solid rgba(0, 255, 163, 0.12);
    border-radius: 16px;
    text-align: center;
  }
  .problem-quote p {
    font-size: 1.1rem;
    color: var(--text-dim);
    line-height: 1.8;
    font-style: italic;
  }
  .problem-quote strong { color: var(--neon-green); font-weight: 700; }
  
  .solution-section { background: rgba(0, 5, 3, 0.3); }
  .solution-table-wrapper {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(8, 15, 12, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.04);
  }
  .solution-table { width: 100%; border-collapse: collapse; }
  .solution-table thead { background: rgba(0, 255, 163, 0.05); }
  .solution-table th {
    padding: 18px 24px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--neon-green);
    border-bottom: 1px solid rgba(0, 255, 163, 0.1);
  }
  .solution-table td {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: top;
  }
  .solution-table tr:last-child td { border-bottom: none; }
  .solution-table tr:hover td { background: rgba(0, 255, 163, 0.02); }
  .aspect-name {
    font-weight: 600;
    color: #fff;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .aspect-icon {
    width: 32px; height: 32px;
    background: rgba(0, 255, 163, 0.08);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .aspect-icon svg { width: 16px; height: 16px; stroke: var(--neon-green); }
  .value-text {
    color: var(--text-dim);
    font-size: 0.88rem;
    line-height: 1.65;
  }
  .value-text strong { color: var(--neon-green); }
  
  .pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .pillar-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 28px 22px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
  }
  .pillar-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .pillar-card:hover::before { opacity: 1; }
  .pillar-card:hover {
    border-color: var(--glass-border);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 255, 163, 0.08);
  }
  .pillar-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--neon-green);
    margin-bottom: 14px;
    letter-spacing: 1px;
  }
  .pillar-card h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 10px; color: #fff; }
  .pillar-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.55; }
  
  .layers-section { background: linear-gradient(180deg, rgba(0,5,3,0.3) 0%, rgba(0,0,0,0) 100%); }
  .layers-visual { display: flex; flex-direction: column; gap: 0; position: relative; }
  .layer-item {
    display: flex; align-items: center; gap: 20px;
    padding: 18px 24px;
    background: rgba(8, 15, 12, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition-smooth);
    position: relative;
  }
  .layer-item:first-child { border-radius: 14px 14px 0 0; }
  .layer-item:last-child { border-radius: 0 0 14px 14px; }
  .layer-item:not(:last-child) { border-bottom: none; }
  .layer-item:hover {
    background: rgba(0, 255, 163, 0.04);
    z-index: 2;
    box-shadow: 0 0 30px rgba(0, 255, 163, 0.05);
  }
  .layer-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    color: #444;
    min-width: 24px;
  }
  .layer-icon {
    width: 36px; height: 36px;
    background: rgba(0, 255, 163, 0.08);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-smooth);
  }
  .layer-item:hover .layer-icon { background: rgba(0, 255, 163, 0.15); transform: scale(1.1); }
  .layer-icon svg { width: 18px; height: 18px; stroke: var(--neon-green); }
  .layer-content { flex: 1; }
  .layer-content h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; color: #fff; }
  .layer-content p { font-size: 0.8rem; color: var(--text-muted); }
  .layers-footer {
    margin-top: 40px;
    padding: 30px;
    background: rgba(0, 255, 163, 0.03);
    border: 1px solid rgba(0, 255, 163, 0.1);
    border-radius: 14px;
    text-align: center;
  }
  .layers-footer p { font-size: 0.95rem; color: var(--text-dim); line-height: 1.7; }
  
  .perf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
  .chart-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 28px;
  }
  .chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
  .chart-title { font-size: 1rem; font-weight: 600; color: #fff; }
  .chart-legend { display: flex; gap: 16px; }
  .legend-item { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; color: var(--text-muted); }
  .legend-dot { width: 8px; height: 8px; border-radius: 50%; }
  .legend-dot.drawdown { background: var(--danger); }
  .legend-dot.profit { background: var(--neon-green); }
  .chart-container { height: 220px; position: relative; }
  .bar-chart { display: flex; justify-content: center; gap: 60px; height: 100%; align-items: flex-end; }
  .bar-group { display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .bars { display: flex; gap: 12px; align-items: flex-end; height: 180px; }
  .bar {
    width: 45px; border-radius: 6px 6px 0 0;
    position: relative; transition: var(--transition-smooth);
  }
  .bar:hover { opacity: 0.85; }
  .bar.drawdown { background: linear-gradient(180deg, var(--danger), rgba(255,68,68,0.6)); }
  .bar.profit { background: linear-gradient(180deg, var(--neon-green), rgba(0,255,163,0.6)); }
  .bar-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }
  .bar-value {
    position: absolute; top: -24px; left: 50%; transform: translateX(-50%);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem; font-weight: 600; color: inherit;
  }
  .stress-test-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 28px;
  }
  .stress-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
  .stress-icon {
    width: 44px; height: 44px;
    background: rgba(255, 149, 0, 0.1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
  }
  .stress-icon svg { width: 22px; height: 22px; stroke: #ff9500; }
  .stress-title { font-size: 1rem; font-weight: 600; color: #fff; }
  .stress-date { font-size: 0.75rem; color: var(--text-muted); }
  .stress-details { display: flex; flex-direction: column; gap: 16px; }
  .stress-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }
  .stress-row:last-child { border-bottom: none; }
  .stress-label { font-size: 0.88rem; color: var(--text-muted); }
  .stress-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem; font-weight: 600; color: #fff;
  }
  .stress-value.success { color: var(--neon-green); }
  .stress-value.warning { color: #ff9500; }
  
  .faq-section {
    background: rgba(0,0,0,0.3);
    padding: 80px 50px;
  }
  .faq-q-icon {
    width: 32px; height: 32px;
    background: rgba(0, 255, 163, 0.08);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    margin-right: 16px; flex-shrink: 0;
    transition: var(--transition-smooth);
  }
  .faq-q-icon svg { width: 16px; height: 16px; stroke: var(--neon-green); }
  details[open] .faq-q-icon { background: rgba(0, 255, 163, 0.15); }
  
  .practices-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .practice-card {
    background: rgba(8, 15, 12, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 28px;
    display: flex; gap: 18px;
    transition: var(--transition-smooth);
  }
  .practice-card:hover { border-color: var(--glass-border); transform: translateX(5px); }
  .practice-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem; font-weight: 700;
    color: var(--neon-green); line-height: 1;
  }
  .practice-content h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; color: #fff; }
  .practice-content p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
  
  .red-warning { color: #ff4444; }
  .orange-alert { color: #ff9500; }
  
  .scan-line {
    position: absolute; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    opacity: 0.3; animation: scanDown 8s linear infinite;
  }
  .scan-line:nth-child(2) { animation-delay: -4s; }
  @keyframes scanDown { 0% { top: -10%; } 100% { top: 110%; } }
  .shield-lines { position: absolute; inset: 0; overflow: hidden; }
  
  /* ============================================
     CTA SECTION (shared)
     ============================================ */
  .cta-section {
    padding: 100px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .cta-bg { position: absolute; inset: 0; pointer-events: none; }
  .cta-bg::before {
    content: '';
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(0, 255, 163, 0.04), transparent 70%);
  }
  .cta-content { position: relative; z-index: 1; }
  .cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700; margin-bottom: 16px; letter-spacing: -0.02em;
  }
  .cta-desc {
    color: var(--text-muted); font-size: 1rem;
    max-width: 450px; margin: 0 auto 35px; line-height: 1.6;
  }
  .cta-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
  .btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px; background: var(--neon-green); color: #000;
    font-weight: 600; font-size: 14px; border-radius: 10px;
    text-decoration: none; transition: var(--transition-smooth);
    border: 2px solid var(--neon-green); position: relative; overflow: hidden;
  }
  .btn-primary::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(255,255,255,0.2); transform: scaleX(0);
    transform-origin: right; transition: transform 0.3s ease;
  }
  .btn-primary:hover::before { transform: scaleX(1); transform-origin: left; }
  .btn-primary:hover { box-shadow: 0 0 35px rgba(0,255,163,0.4); transform: translateY(-3px); }
  .btn-secondary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 28px; background: rgba(255,255,255,0.04);
    color: #fff; font-weight: 500; font-size: 14px;
    border: 1px solid rgba(255,255,255,0.1); border-radius: 10px;
    text-decoration: none; transition: var(--transition-smooth);
    position: relative; overflow: hidden;
  }
  .btn-secondary::before {
    content: ''; position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%;
    background: rgba(0,255,163,0.1); transition: left 0.3s ease;
  }
  .btn-secondary:hover::before { left: 0; }
  .btn-secondary:hover { border-color: var(--glass-border); background: rgba(0,255,163,0.06); color: var(--neon-green); }
  
  /* ============================================
     À PROPOS PAGE SECTIONS
     ============================================ */
  .hero-section {
    min-height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    padding: 140px 50px 80px;
  }
  .hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
  .hero-bg::before {
    content: '';
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(0,255,163,0.08) 0%, transparent 70%);
    pointer-events: none; animation: heroPulse 4s ease-in-out infinite;
  }
  @keyframes heroPulse {
    0%,100% { transform: translate(-50%,-50%) scale(1); }
    50% { transform: translate(-50%,-50%) scale(1.1); }
  }
  .hero-grid {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 20%, transparent 70%);
  }
  .hero-orb {
    position: absolute; border-radius: 50%;
    filter: blur(100px); pointer-events: none;
    animation: orbFloat 6s ease-in-out infinite;
  }
  @keyframes orbFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-30px); } }
  .hero-orb-1 { width: 400px; height: 400px; background: rgba(0,255,163,0.06); top: 15%; right: 15%; }
  .hero-orb-2 { width: 300px; height: 300px; background: rgba(34,211,238,0.04); bottom: 25%; left: 10%; animation-delay: -2s; }
  
  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; background: rgba(0,255,163,0.08);
    border: 1px solid rgba(0,255,163,0.15); border-radius: 50px;
    font-size: 11px; font-weight: 600; color: var(--neon-green);
    margin-bottom: 35px; letter-spacing: 0.8px; text-transform: uppercase;
  }
  .hero-badge-dot {
    width: 6px; height: 6px; background: var(--neon-green);
    border-radius: 50%; animation: dotPulse 2s infinite;
    box-shadow: 0 0 10px rgba(0,255,163,0.5);
  }
  @keyframes dotPulse { 0%,100% { opacity:1; box-shadow: 0 0 10px rgba(0,255,163,0.5); } 50% { opacity:0.4; box-shadow: 0 0 5px rgba(0,255,163,0.2); } }
  
  .hero-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700; line-height: 1.15; margin-bottom: 25px; letter-spacing: -0.02em; color: #fff;
  }
  .hero-title .highlight { color: var(--neon-green); text-shadow: 0 0 20px rgba(0,255,163,0.3); }
  .hero-desc { font-size: 1.05rem; color: #888; line-height: 1.75; margin-bottom: 45px; max-width: 550px; margin-left: auto; margin-right: auto; }
  .hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
  
  .hero-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 70px; max-width: 800px; width: 100%; }
  .hero-card {
    background: rgba(12,18,15,0.5); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.04); border-radius: 16px;
    padding: 32px 28px; transition: var(--transition-smooth);
    text-align: left; position: relative; overflow: hidden;
  }
  .hero-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    opacity: 0; transition: opacity 0.3s ease;
  }
  .hero-card:hover::before { opacity: 1; }
  .hero-card:hover {
    border-color: rgba(0,255,163,0.15); background: rgba(12,18,15,0.8);
    transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,255,163,0.1);
  }
  .hero-card-icon {
    width: 48px; height: 48px; background: rgba(0,255,163,0.1);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px; transition: var(--transition-smooth);
  }
  .hero-card:hover .hero-card-icon { background: rgba(0,255,163,0.15); transform: scale(1.1); }
  .hero-card-icon svg { width: 24px; height: 24px; stroke: var(--neon-green); }
  .hero-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; color: #fff; }
  .hero-card p { font-size: 0.9rem; color: #888; line-height: 1.6; }
  
  /* SYMPHONY */
  .symphony-section { padding: 100px 50px; position: relative; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,5,3,0.5) 100%); }
  .symphony-container { max-width: 1100px; margin: 0 auto; }
  .symphony-header { text-align: center; margin-bottom: 60px; }
  .symphony-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 18px; background: rgba(0,255,163,0.06);
    border: 1px solid rgba(0,255,163,0.1); border-radius: 50px;
    font-size: 11px; font-weight: 600; color: var(--neon-green);
    letter-spacing: 1px; text-transform: uppercase; margin-bottom: 25px;
  }
  .symphony-title { font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 700; line-height: 1.2; margin-bottom: 18px; letter-spacing: -0.02em; }
  .symphony-title .highlight { color: var(--neon-green); text-shadow: 0 0 20px rgba(0,255,163,0.3); }
  .symphony-subtitle { font-size: 1rem; color: #888; max-width: 500px; margin: 0 auto; line-height: 1.7; }
  .symphony-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .symphony-card {
    background: rgba(10,15,12,0.4); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.03); border-radius: 14px;
    padding: 26px 20px; transition: var(--transition-smooth);
    position: relative; overflow: hidden; text-align: center;
  }
  .symphony-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    opacity: 0; transition: opacity 0.3s ease;
  }
  .symphony-card:hover::before { opacity: 1; }
  .symphony-card:hover {
    border-color: rgba(0,255,163,0.12); transform: translateY(-6px);
    background: rgba(10,15,12,0.7); box-shadow: 0 15px 40px rgba(0,255,163,0.08);
  }
  .symphony-card-icon {
    width: 44px; height: 44px; background: rgba(0,255,163,0.08);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px auto; transition: var(--transition-smooth);
  }
  .symphony-card:hover .symphony-card-icon { background: rgba(0,255,163,0.15); transform: scale(1.15) rotate(5deg); }
  .symphony-card-icon svg { width: 22px; height: 22px; stroke: var(--neon-green); }
  .symphony-card h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; color: #fff; }
  .symphony-card p { font-size: 12px; color: #888; line-height: 1.5; }
  .symphony-quote {
    margin-top: 50px; padding: 40px; background: rgba(0,255,163,0.03);
    border: 1px solid rgba(0,255,163,0.1); border-radius: 16px;
    text-align: center; position: relative;
  }
  .symphony-quote::before {
    content: '"'; position: absolute; top: 10px; left: 50%;
    transform: translateX(-50%); font-size: 3rem; color: var(--neon-green);
    opacity: 0.1; line-height: 1; font-family: Georgia, serif;
  }
  .symphony-quote p { font-size: 1.05rem; color: #ddd; line-height: 1.8; max-width: 650px; margin: 0 auto 20px auto; font-style: italic; }
  .symphony-quote-author { display: flex; align-items: center; justify-content: center; gap: 12px; }
  .symphony-quote-avatar {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: #000; font-size: 16px;
  }
  .symphony-quote-info { display: flex; flex-direction: column; }
  .symphony-quote-info .name { font-weight: 600; font-size: 13px; color: #fff; }
  .symphony-quote-info .role { font-size: 11px; color: #888; }
  
  /* PROBLEM GRID (4-col red variant) */
  .problem-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px;
  }
  .problem-grid .problem-card {
    background: rgba(255,68,68,0.02); backdrop-filter: blur(15px);
    border: 1px solid rgba(255,68,68,0.15); border-radius: 14px; padding: 24px;
    transition: var(--transition-smooth); position: relative; overflow: hidden;
  }
  .problem-grid .problem-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, #ff4444, #ff6b6b);
  }
  .problem-grid .problem-card:hover {
    border-color: rgba(255,68,68,0.3); transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,68,68,0.1);
  }
  .problem-icon {
    width: 40px; height: 40px; background: rgba(255,68,68,0.1);
    border-radius: 8px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px; transition: var(--transition-smooth);
  }
  .problem-grid .problem-card:hover .problem-icon { background: rgba(255,68,68,0.15); transform: scale(1.1); }
  .problem-icon svg { width: 20px; height: 20px; stroke: #ff4444; }
  .problem-grid .problem-card h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; color: #fff; }
  .problem-grid .problem-card p { font-size: 12px; color: #888; line-height: 1.5; }
  .problem-conclusion {
    text-align: center; margin-top: 50px; padding: 40px;
    background: linear-gradient(135deg, rgba(0,255,163,0.06), rgba(0,255,163,0.02));
    border-radius: 16px; border: 1px solid rgba(0,255,163,0.1);
  }
  .problem-conclusion p { font-size: 1rem; color: #ddd; margin: 0; line-height: 1.7; }
  .problem-conclusion strong { color: var(--neon-green); font-weight: 700; }
  
  /* MISSION */
  .mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .mission-card {
    background: rgba(5,15,12,0.5); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.03); border-radius: 16px;
    padding: 32px 26px; text-align: center;
    transition: var(--transition-smooth); position: relative; overflow: hidden;
  }
  .mission-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,255,163,0.1), transparent);
    opacity: 0; transition: opacity 0.3s ease;
  }
  .mission-card:hover { border-color: rgba(0,255,163,0.15); transform: translateY(-4px); box-shadow: 0 15px 40px rgba(0,255,163,0.08); }
  .mission-card:hover::before { opacity: 1; }
  .mission-icon {
    width: 56px; height: 56px; background: rgba(0,255,163,0.08);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px auto; transition: var(--transition-smooth);
    position: relative; z-index: 1;
  }
  .mission-card:hover .mission-icon { background: rgba(0,255,163,0.15); transform: scale(1.15); }
  .mission-icon svg { width: 28px; height: 28px; stroke: var(--neon-green); }
  .mission-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 12px; color: #fff; position: relative; z-index: 1; }
  .mission-card p { font-size: 13px; color: #888; line-height: 1.6; position: relative; z-index: 1; }
  
  /* COMPARISON TABLE */
  .comparison-table-wrapper {
    overflow-x: auto; border-radius: 16px;
    background: rgba(5,12,9,0.6); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.04); box-shadow: 0 25px 80px rgba(0,0,0,0.5);
  }
  .comparison-table { width: 100%; border-collapse: collapse; min-width: 750px; }
  .comparison-table thead {
    background: linear-gradient(180deg, rgba(10,20,15,0.9) 0%, rgba(5,12,9,0.9) 100%);
    position: sticky; top: 0; z-index: 10;
  }
  .comparison-table th {
    padding: 20px 20px; text-align: left; font-weight: 600;
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .comparison-table th:first-child { color: #888; width: 20%; }
  .comparison-table th.classic-header { color: #ff6b6b; text-align: center; position: relative; }
  .comparison-table th.classic-header::after { content: ''; position: absolute; bottom: 0; left: 20%; right: 20%; height: 2px; background: linear-gradient(90deg, transparent, rgba(255,68,68,0.5), transparent); }
  .comparison-table th.valorys-header { color: var(--neon-green); text-align: center; position: relative; }
  .comparison-table th.valorys-header::after { content: ''; position: absolute; bottom: 0; left: 20%; right: 20%; height: 2px; background: linear-gradient(90deg, transparent, var(--neon-green), transparent); }
  .comparison-table tbody tr { transition: var(--transition-smooth); border-bottom: 1px solid rgba(255,255,255,0.02); }
  .comparison-table tbody tr:hover { background: rgba(255,255,255,0.02); }
  .comparison-table tbody tr:last-child { border-bottom: none; }
  .comparison-table td { padding: 16px 20px; vertical-align: top; font-size: 0.82rem; line-height: 1.55; }
  .comparison-table td:first-child { color: #bbb; font-weight: 500; border-right: 1px solid rgba(255,255,255,0.03); }
  .comparison-table td.classic-col { color: #999; text-align: left; border-right: 1px solid rgba(255,255,255,0.03); }
  .comparison-table td.valorys-col { color: #ccc; text-align: left; }
  .status-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 20px; height: 20px; border-radius: 50%; margin-right: 8px; vertical-align: middle;
  }
  .status-icon.cross { background: rgba(255,68,68,0.15); }
  .status-icon.cross svg { stroke: #ff4444; width: 11px; height: 11px; }
  .status-icon.check { background: rgba(0,255,163,0.15); }
  .status-icon.check svg { stroke: var(--neon-green); width: 11px; height: 11px; }
  .cell-content { display: inline-block; text-align: left; max-width: 260px; }
  .cell-content strong { display: block; margin-bottom: 3px; font-size: 0.82rem; }
  .classic-col .cell-content strong { color: #ff6b6b; }
  .valorys-col .cell-content strong { color: var(--neon-green); }
  .highlight-row { background: rgba(0,255,163,0.02); }
  .highlight-row:hover { background: rgba(0,255,163,0.04); }
  .result-row td { background: linear-gradient(180deg, rgba(10,20,15,0.8) 0%, rgba(5,12,9,0.8) 100%); padding: 20px; font-weight: 600; }
  .result-row td:first-child { color: #fff; }
  .result-row .classic-col { color: #ff6b6b; }
  .result-row .valorys-col { color: var(--neon-green); font-size: 0.88rem; }
  .result-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 6px; font-size: 0.75rem; }
  .result-badge.negative { background: rgba(255,68,68,0.1); border: 1px solid rgba(255,68,68,0.2); }
  .result-badge.positive { background: rgba(0,255,163,0.1); border: 1px solid rgba(0,255,163,0.2); }
  .comparison-footer { margin-top: 35px; text-align: center; }
  .comparison-footer-card {
    display: inline-flex; align-items: center; gap: 14px;
    padding: 20px 35px; background: linear-gradient(135deg, rgba(0,255,163,0.08), rgba(34,211,238,0.04));
    border: 1px solid rgba(0,255,163,0.15); border-radius: 14px;
    transition: var(--transition-smooth);
  }
  .comparison-footer-card:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(0,255,163,0.15); }
  .footer-card-icon {
    width: 46px; height: 46px; background: rgba(0,255,163,0.15);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
  }
  .footer-card-icon svg { width: 22px; height: 22px; stroke: var(--neon-green); }
  .footer-card-text h4 { font-size: 0.95rem; font-weight: 600; color: #fff; margin-bottom: 3px; }
  .footer-card-text p { font-size: 0.8rem; color: #888; margin: 0; }
  
  /* APPROACH */
  .approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
  .approach-steps { display: flex; flex-direction: column; gap: 16px; }
  .approach-step {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 24px; background: rgba(255,255,255,0.01);
    border-radius: 12px; border: 1px solid rgba(255,255,255,0.03);
    transition: var(--transition-smooth); position: relative; overflow: hidden;
  }
  .approach-step::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--neon-green); transform: scaleY(0); transform-origin: top; transition: transform 0.3s ease;
  }
  .approach-step:hover::before { transform: scaleY(1); }
  .approach-step:hover { border-color: rgba(0,255,163,0.15); background: rgba(0,255,163,0.03); transform: translateX(5px); }
  .step-number {
    background: var(--neon-green); color: #000; min-width: 44px; height: 44px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem; flex-shrink: 0;
    box-shadow: 0 0 20px rgba(0,255,163,0.3);
  }
  .step-content h3 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; color: #fff; }
  .step-content p { color: #888; font-size: 0.85rem; line-height: 1.6; margin: 0; }
  .approach-visual {
    background: rgba(5,15,12,0.5); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.03); border-radius: 16px; padding: 24px;
  }
  .approach-visual-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.04);
  }
  .approach-visual-title { font-weight: 600; font-size: 13px; color: #fff; }
  .approach-visual-status { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--neon-green); font-weight: 600; }
  .tech-block {
    display: flex; align-items: center; gap: 12px;
    padding: 14px; background: rgba(255,255,255,0.01);
    border: 1px solid rgba(255,255,255,0.03); border-radius: 10px;
    margin-bottom: 10px; transition: var(--transition-smooth);
  }
  .tech-block:hover { border-color: rgba(0,255,163,0.15); background: rgba(0,255,163,0.03); transform: translateX(4px); }
  .tech-block-icon {
    width: 36px; height: 36px; background: rgba(0,255,163,0.08);
    border-radius: 8px; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: var(--transition-smooth);
  }
  .tech-block:hover .tech-block-icon { background: rgba(0,255,163,0.15); transform: scale(1.1); }
  .tech-block-icon svg { width: 18px; height: 18px; stroke: var(--neon-green); }
  .tech-block-text h4 { font-size: 12px; font-weight: 600; margin: 0 0 3px 0; color: #fff; }
  .tech-block-text p { font-size: 10px; color: #888; margin: 0; }
  
  /* RESULTS */
  .results-simple {
    background: rgba(5,15,12,0.4); border: 1px solid rgba(255,255,255,0.03);
    border-radius: 16px; padding: 50px 40px; text-align: center;
  }
  .results-stats { display: flex; justify-content: center; gap: 80px; flex-wrap: wrap; }
  .result-stat { text-align: center; }
  .result-stat-value {
    font-size: 3rem; font-weight: 800; color: var(--neon-green);
    line-height: 1; margin-bottom: 8px; text-shadow: 0 0 30px rgba(0,255,163,0.3);
  }
  .result-stat-label { font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
  
  /* RESPONSIVE OVERRIDES FOR THESE SECTIONS */
  @media (max-width: 1100px) {
    .symphony-grid { grid-template-columns: repeat(3, 1fr); }
    .results-stats { gap: 50px; }
    .problem-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 900px) {
    .hero-cards, .approach-grid { grid-template-columns: 1fr; }
    .problem-cards { grid-template-columns: 1fr; }
    .mission-grid { grid-template-columns: 1fr; }
    .symphony-grid { grid-template-columns: repeat(2, 1fr); }
    .practices-grid { grid-template-columns: 1fr; }
    .perf-grid { grid-template-columns: 1fr; }
    .results-stats { gap: 40px; flex-direction: column; }
  }
  @media (max-width: 768px) {
    .section { padding: 60px 25px; }
    .hero-security { padding: 100px 25px 60px; }
    .faq-section { padding: 60px 25px; }
    .symphony-section { padding: 60px 25px; }
    .pillar-number { font-size: 0.7rem; }
    .pillars-grid { grid-template-columns: repeat(2, 1fr); }
    .solution-table th, .solution-table td { padding: 14px 16px; }
    .layer-item { padding: 14px 18px; }
    .cta-buttons { flex-direction: column; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  }
  @media (max-width: 600px) {
    .problem-grid { grid-template-columns: 1fr; }
    .symphony-grid { grid-template-columns: 1fr; }
    .pillars-grid { grid-template-columns: 1fr; }
    .result-stat-value { font-size: 2rem; }
    .approach-grid { gap: 30px; }
  }

  /* ============================================
   LOGIN MODAL (global — utilisé sur signup et potentiellement d'autres pages)
   ============================================ */
.login-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.login-overlay.active { opacity: 1; visibility: visible; }

.login-modal {
  background: linear-gradient(160deg, #001a12 0%, #002d1c 50%, #001a12 100%);
  border: 1px solid rgba(0, 255, 163, 0.3);
  border-radius: 24px;
  width: 100%;
  max-width: 440px;
  padding: 0;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s ease;
  position: relative;
}
.login-overlay.active .login-modal { transform: scale(1) translateY(0); }

.login-header {
  padding: 40px 40px 30px;
  text-align: center;
  position: relative;
}
.login-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 40px; right: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 163, 0.2), transparent);
}
.login-logo {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--neon-green) 0%, var(--neon-green-dark) 100%);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 30px rgba(0, 255, 163, 0.3);
}
.login-logo svg { width: 32px; height: 32px; }
.login-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.login-subtitle { color: var(--muted); font-size: 0.9rem; }

.login-close {
  position: absolute; top: 20px; right: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px;
  transition: all 0.3s ease;
}
.login-close:hover {
  background: rgba(0, 255, 163, 0.1);
  border-color: var(--neon-green);
  color: var(--neon-green);
}

.login-body { padding: 30px 40px 40px; }

.login-form .input-group { margin-bottom: 20px; }
.login-form .input-label {
  display: block; font-size: 12px; font-weight: 500;
  margin-bottom: 8px; color: rgba(255, 255, 255, 0.8);
}
.login-form .input-field {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 14px 16px;
  color: #fff; font-size: 14px; font-family: inherit;
  outline: none; transition: all 0.3s ease;
}
.login-form .input-field::placeholder { color: #555; }
.login-form .input-field:hover { border-color: rgba(0, 255, 163, 0.4); }
.login-form .input-field:focus {
  border-color: var(--neon-green);
  box-shadow: 0 0 0 3px rgba(0, 255, 163, 0.1);
}

.login-options {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 25px;
}
.remember-me { display: flex; align-items: center; gap: 8px; }
.remember-me input { display: none; }
.remember-checkbox {
  width: 18px; height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.remember-me input:checked + .remember-checkbox {
  background: var(--neon-green); border-color: var(--neon-green);
}
.remember-checkbox svg {
  width: 12px; height: 12px;
  stroke: #000; stroke-width: 3;
  opacity: 0; transition: opacity 0.3s ease;
}
.remember-me input:checked + .remember-checkbox svg { opacity: 1; }
.remember-me span { font-size: 13px; color: var(--muted); }

.forgot-password {
  font-size: 13px; color: var(--neon-green);
  text-decoration: none; transition: opacity 0.3s;
}
.forgot-password:hover { opacity: 0.8; }

.login-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--neon-green) 0%, var(--neon-green-light) 100%);
  color: #000; border: none; border-radius: 10px;
  padding: 15px; font-size: 15px; font-weight: 700;
  font-family: inherit; transition: all 0.4s ease;
  margin-bottom: 25px;
}
.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 255, 163, 0.4);
}

.login-divider {
  display: flex; align-items: center; gap: 15px; margin-bottom: 25px;
}
.login-divider::before,
.login-divider::after {
  content: ''; flex: 1; height: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.login-divider span { color: var(--muted); font-size: 12px; }

.social-login { display: flex; gap: 12px; }
.social-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px; padding: 12px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: #fff; font-size: 13px; font-family: inherit;
  transition: all 0.3s ease;
}
.social-btn:hover {
  border-color: rgba(0, 255, 163, 0.3);
  background: rgba(0, 255, 163, 0.05);
}
.social-btn svg { width: 18px; height: 18px; }

.login-footer {
  text-align: center; padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.login-footer p { color: var(--muted); font-size: 13px; }
.login-footer a {
  color: var(--neon-green); text-decoration: none;
  font-weight: 600; transition: opacity 0.3s;
}
.login-footer a:hover { opacity: 0.8; }

@media (max-width: 600px) {
  .login-modal { margin: 20px; }
  .login-header, .login-body { padding-left: 25px; padding-right: 25px; }
}

/* ─── VALIDATION INDICATORS ─── */
.signup-page .field-wrap {
  position: relative;
}
.signup-page .field-wrap .input-field {
  padding-right: 44px;
}
.signup-page .field-status {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.signup-page .field-status.show {
  opacity: 1;
}
.signup-page .field-status.valid svg {
  stroke: var(--neon-green);
}
.signup-page .field-status.invalid svg {
  stroke: #ef4444;
}
.signup-page .field-status svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.signup-page .field-status.valid {
  animation: fieldPop 0.3s ease;
}
@keyframes fieldPop {
  0% { transform: translateY(-50%) scale(0.5); }
  60% { transform: translateY(-50%) scale(1.15); }
  100% { transform: translateY(-50%) scale(1); }
}

/* Field border states */
.signup-page .input-field.is-valid {
  border-color: rgba(0, 255, 163, 0.4);
}
.signup-page .input-field.is-valid:focus {
  border-color: var(--neon-green);
  box-shadow: 0 0 0 3px rgba(0, 255, 163, 0.1);
}
.signup-page .input-field.is-invalid {
  border-color: rgba(239, 68, 68, 0.5);
}
.signup-page .input-field.is-invalid:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Field error message */
.signup-page .field-error {
  font-size: 11px;
  color: #f87171;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease, margin-top 0.3s ease;
}
.signup-page .field-error.show {
  opacity: 1;
  max-height: 30px;
  margin-top: 6px;
}
.signup-page .field-error svg {
  width: 12px;
  height: 12px;
  stroke: #f87171;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

/* ─── PASSWORD STRENGTH ─── */
.signup-page .password-strength {
  margin-top: 10px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease;
}
.signup-page .password-strength.show {
  opacity: 1;
  max-height: 50px;
}
.signup-page .strength-bars {
  display: flex;
  gap: 4px;
  margin-bottom: 6px;
}
.signup-page .strength-bar {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease;
}
.signup-page .strength-bar.active.weak { background: #ef4444; }
.signup-page .strength-bar.active.medium { background: #f59e0b; }
.signup-page .strength-bar.active.strong { background: var(--neon-green); }
.signup-page .strength-text {
  font-size: 11px;
  font-weight: 500;
  transition: color 0.3s ease;
}
.signup-page .strength-text.weak { color: #ef4444; }
.signup-page .strength-text.medium { color: #f59e0b; }
.signup-page .strength-text.strong { color: var(--neon-green); }

/* ─── CHECKBOX FIX ─── */
.signup-page .checkbox-wrapper input[type="checkbox"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
}
.signup-page .checkbox-wrapper {
  cursor: pointer !important;
  user-select: none;
  -webkit-user-select: none;
}
.signup-page .checkbox-wrapper.checked .checkbox-text {
  color: rgba(255, 255, 255, 0.9);
}
/* ============================================
   SIGNUP PAGE — scoped sous .signup-page
   ============================================ */

/* Override du padding-top du body (les autres pages ont 100px, signup en a besoin de 0) */
body.signup-page { padding-top: 0; }

/* ─── SPLIT LAYOUT ─── */
.signup-page .split-container {
  display: flex;
  min-height: 100vh;
  width: 100%;
  flex: 1;
}

/* LEFT PANEL */
.signup-page .left-panel {
  width: 50%;
  min-height: 100vh;
  background: linear-gradient(160deg, #001a12 0%, #002d1c 30%, #003d26 60%, #001a12 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 70px 60px 70px;
  overflow: hidden;
}
.signup-page .left-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(0, 255, 163, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0, 255, 163, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.signup-page .left-panel .grid-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image:
    linear-gradient(rgba(0, 255, 163, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 163, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.6;
  pointer-events: none;
}

/* Orbs */
.signup-page .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: orbFloat 15s ease-in-out infinite;
}
.signup-page .orb-1 { width: 300px; height: 300px; background: rgba(0, 255, 163, 0.2); top: 10%; left: -10%; }
.signup-page .orb-2 { width: 200px; height: 200px; background: rgba(0, 255, 163, 0.15); bottom: 20%; right: -5%; animation-delay: -5s; }
.signup-page .orb-3 { width: 150px; height: 150px; background: rgba(77, 249, 197, 0.1); top: 50%; left: 30%; animation-delay: -10s; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(20px, -30px) scale(1.1); }
  50% { transform: translate(-30px, 20px) scale(0.9); }
  75% { transform: translate(15px, 15px) scale(1.05); }
}

.signup-page .left-content { position: relative; z-index: 10; }

.signup-page .brand-logo-left {
  display: flex; align-items: center; gap: 12px; margin-bottom: 50px;
}
.signup-page .logo-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--neon-green) 0%, var(--neon-green-dark) 100%);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 30px rgba(0, 255, 163, 0.3);
  animation: logoFloat 6s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.signup-page .logo-icon svg { width: 28px; height: 28px; }
.signup-page .logo-text { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }

/* Hero title signup (différent du hero-title global) */
.signup-page .hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 25px;
  letter-spacing: -0.03em;
}
.signup-page .hero-title span { color: var(--neon-green); }

.signup-page .hero-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 50px;
  max-width: 480px;
}

/* Steps */
.signup-page .steps-container {
  display: flex; flex-direction: column; gap: 25px;
}
.signup-page .step-item {
  display: flex; align-items: flex-start; gap: 20px;
  opacity: 0; transform: translateX(-30px);
}
.signup-page .step-item.animated {
  animation: stepSlideIn 0.6s ease forwards;
}
@keyframes stepSlideIn {
  to { opacity: 1; transform: translateX(0); }
}

.signup-page .step-number {
  width: 40px; height: 40px; min-width: 40px;
  background: linear-gradient(135deg, var(--neon-green) 0%, var(--neon-green-light) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1rem; color: #000;
  box-shadow: 0 0 20px rgba(0, 255, 163, 0.4);
  animation: stepPulse 3s ease-in-out infinite;
}
.signup-page .step-item:nth-child(2) .step-number { animation-delay: 1s; }
.signup-page .step-item:nth-child(3) .step-number { animation-delay: 2s; }
@keyframes stepPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 163, 0.4); }
  50% { box-shadow: 0 0 30px rgba(0, 255, 163, 0.7); }
}

.signup-page .step-content h3 {
  font-size: 1rem; font-weight: 600;
  margin-bottom: 5px; color: #fff;
}
.signup-page .step-content p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.signup-page .deco-line {
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 60%;
  background: linear-gradient(180deg, transparent 0%, var(--neon-green) 50%, transparent 100%);
  opacity: 0.3;
}

/* Glow pulse on left panel border */
.signup-page .left-panel::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 1px; height: 100%;
  background: linear-gradient(180deg, transparent 0%, var(--neon-green) 30%, transparent 50%, var(--neon-green) 70%, transparent 100%);
  opacity: 0.2;
  animation: borderGlow 4s ease-in-out infinite;
}
@keyframes borderGlow {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 0.35; }
}

/* RIGHT PANEL */
.signup-page .right-panel {
  width: 50%;
  min-height: 100vh;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 60px 60px 60px;
  position: relative;
  overflow-y: auto;
}
.signup-page .right-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 1px; height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 255, 163, 0.3) 50%, transparent 100%);
}

.signup-page .form-container {
  width: 100%;
  max-width: 480px;
  position: relative;
  z-index: 10;
}
.signup-page .form-header { margin-bottom: 35px; }
.signup-page .form-title {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.signup-page .form-subtitle {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Form Card */
.signup-page .form-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
  transition: all 0.3s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}
.signup-page .form-card:hover {
  border-color: rgba(0, 255, 163, 0.3);
  box-shadow: 0 0 30px rgba(0, 255, 163, 0.05);
}

.signup-page .card-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.signup-page .card-icon {
  width: 36px; height: 36px;
  background: rgba(0, 255, 163, 0.1);
  border: 1px solid rgba(0, 255, 163, 0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.signup-page .card-icon svg {
  width: 18px; height: 18px;
  stroke: var(--neon-green);
}
.signup-page .card-title {
  font-size: 0.95rem; font-weight: 600;
}

/* Inputs (signup) */
.signup-page .input-group { margin-bottom: 16px; }
.signup-page .input-group:last-child { margin-bottom: 0; }

.signup-page .input-label {
  display: block;
  font-size: 12px; font-weight: 500;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.8);
}
.signup-page .input-label .required { color: var(--neon-green); }

.signup-page .input-field {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff; font-size: 14px; font-family: inherit;
  outline: none; transition: all 0.3s ease;
}
.signup-page .input-field::placeholder { color: #555; }
.signup-page .input-field:hover { border-color: rgba(0, 255, 163, 0.4); }
.signup-page .input-field:focus {
  border-color: var(--neon-green);
  box-shadow: 0 0 0 3px rgba(0, 255, 163, 0.1);
}

.signup-page .input-microcopy {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--muted); margin-top: 8px;
}
.signup-page .input-microcopy svg {
  width: 12px; height: 12px;
  stroke: var(--muted);
}

.signup-page .select-field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

/* Checkbox */
.signup-page .checkbox-wrapper {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}
.signup-page .checkbox-wrapper:hover { border-color: rgba(0, 255, 163, 0.3); }
.signup-page .checkbox-wrapper.checked {
  border-color: rgba(0, 255, 163, 0.3);
  background: rgba(0, 255, 163, 0.05);
}

.signup-page .custom-checkbox {
  width: 20px; height: 20px; min-width: 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.signup-page .checkbox-wrapper.checked .custom-checkbox {
  background: var(--neon-green);
  border-color: var(--neon-green);
}
.signup-page .custom-checkbox svg {
  width: 12px; height: 12px;
  stroke: var(--bg-dark); stroke-width: 3;
  opacity: 0; transform: scale(0.5);
  transition: all 0.3s ease;
}
.signup-page .checkbox-wrapper.checked .custom-checkbox svg {
  opacity: 1; transform: scale(1);
}

.signup-page .checkbox-text {
  font-size: 13px; color: var(--muted); line-height: 1.5;
}
.signup-page .checkbox-text .required { color: var(--neon-green); }

/* CTA Button (signup) */
.signup-page .cta-button {
  width: 100%;
  background: linear-gradient(135deg, var(--neon-green) 0%, var(--neon-green-light) 100%);
  color: #000; border: none; border-radius: 10px;
  padding: 15px 30px;
  font-size: 15px; font-weight: 700;
  font-family: inherit;
  position: relative; overflow: hidden;
  transition: all 0.4s ease;
}
.signup-page .cta-button::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}
.signup-page .cta-button:hover::before { left: 100%; }
.signup-page .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 255, 163, 0.4);
}
.signup-page .cta-button:active { transform: translateY(0); }

/* Secondary Button (signup) */
.signup-page .secondary-button {
  width: 100%;
  background: transparent;
  color: var(--neon-green);
  border: 1px solid rgba(0, 255, 163, 0.3);
  border-radius: 10px;
  padding: 14px 30px;
  font-size: 14px; font-weight: 600;
  font-family: inherit;
  transition: all 0.3s ease;
  margin-top: 12px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.signup-page .secondary-button:hover {
  background: rgba(0, 255, 163, 0.1);
  border-color: var(--neon-green);
  box-shadow: 0 0 20px rgba(0, 255, 163, 0.2);
}
.signup-page .secondary-button svg {
  width: 16px; height: 16px;
  stroke: var(--neon-green);
}

/* Trust indicators */
.signup-page .trust-indicators {
  display: flex; align-items: center; justify-content: center;
  gap: 25px; margin-top: 25px; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.signup-page .trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--muted);
}
.signup-page .trust-item svg {
  width: 12px; height: 12px;
  stroke: var(--neon-green);
}

.signup-page .form-footer-text {
  text-align: center; margin-top: 30px;
  font-size: 12px; color: #555;
}
.signup-page .form-footer-text a {
  color: var(--muted); text-decoration: none; transition: color 0.3s;
}
.signup-page .form-footer-text a:hover { color: var(--neon-green); }

/* Success Overlay */
.signup-page .success-overlay {
  position: fixed; inset: 0;
  background: rgba(2, 11, 8, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  z-index: 2000;
  opacity: 0; visibility: hidden;
  transition: all 0.5s ease;
}
.signup-page .success-overlay.show { opacity: 1; visibility: visible; }

.signup-page .success-content {
  text-align: center; padding: 40px;
  transform: scale(0.9);
  transition: transform 0.5s ease;
}
.signup-page .success-overlay.show .success-content { transform: scale(1); }

.signup-page .success-icon {
  width: 70px; height: 70px;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-green-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 25px;
  box-shadow: 0 0 50px rgba(0, 255, 163, 0.5);
  animation: successPulse 2s infinite;
}
@keyframes successPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(0, 255, 163, 0.4); }
  50% { box-shadow: 0 0 60px rgba(0, 255, 163, 0.7); }
}
.signup-page .success-icon svg {
  width: 35px; height: 35px;
  stroke: var(--bg-dark); stroke-width: 3;
}
.signup-page .success-title { font-size: 1.8rem; font-weight: 700; margin-bottom: 12px; }
.signup-page .success-message { color: var(--muted); font-size: 1rem; margin-bottom: 8px; }
.signup-page .success-submessage { color: #666; font-size: 13px; }

/* ─── SIGNUP RESPONSIVE ─── */
@media (max-width: 1100px) {
  .signup-page .split-container { flex-direction: column; }
  .signup-page .left-panel,
  .signup-page .right-panel { width: 100%; min-height: auto; }
  .signup-page .left-panel { padding: 120px 40px 60px; }
  .signup-page .right-panel { padding: 60px 30px; }
  .signup-page .hero-title { font-size: 2.2rem; }
  .signup-page .steps-container { margin-bottom: 30px; }
}

@media (max-width: 600px) {
  .signup-page .left-panel { padding: 90px 25px 50px; }
  .signup-page .right-panel { padding: 40px 20px; }
  .signup-page .hero-title { font-size: 1.8rem; }
  .signup-page .form-card { padding: 20px; }
  .signup-page .trust-indicators { flex-wrap: wrap; gap: 15px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .signup-page .step-item,
  .signup-page .orb,
  .signup-page .logo-icon,
  .signup-page .step-number,
  .signup-page .left-panel::after {
    animation: none !important;
  }
  .signup-page .step-item { opacity: 1; transform: none; }
}

/* (Consolidated: duplicate STYLES GLOBAUX block removed — see top of file) */

  /* ============================================
   FORGOT PASSWORD MODAL
   ============================================ */
.forgot-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all 0.35s ease;
}
.forgot-modal-overlay.show {
  opacity: 1; visibility: visible;
}

.forgot-modal {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 36px 32px;
  width: 100%; max-width: 420px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 255, 163, 0.05);
}
.forgot-modal-overlay.show .forgot-modal {
  transform: translateY(0) scale(1);
}

.forgot-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.3s ease; color: #94a3b8;
}
.forgot-modal-close:hover {
  background: rgba(255, 71, 87, 0.1);
  border-color: rgba(255, 71, 87, 0.25);
  color: #ff4757;
}
.forgot-modal-close svg {
  width: 15px; height: 15px;
  stroke: currentColor; stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round; fill: none;
}

.forgot-modal-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(0, 255, 163, 0.15), rgba(0, 255, 163, 0.05));
  border: 1px solid rgba(0, 255, 163, 0.2);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
}
.forgot-modal-icon svg {
  width: 26px; height: 26px;
  stroke: var(--neon-green); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; fill: none;
}

.forgot-modal h3 {
  font-size: 1.35rem; font-weight: 700;
  text-align: center; margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.forgot-modal p.desc {
  color: var(--muted); font-size: 0.88rem;
  text-align: center; line-height: 1.6;
  margin-bottom: 24px;
}

.forgot-modal .input-group { margin-bottom: 16px; }

.forgot-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--neon-green) 0%, var(--neon-green-light) 100%);
  color: #000; border: none; border-radius: 10px;
  padding: 14px 30px; font-size: 14px; font-weight: 700;
  font-family: inherit; cursor: pointer;
  position: relative; overflow: hidden;
  transition: all 0.4s ease;
  margin-top: 4px;
}
.forgot-submit-btn::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}
.forgot-submit-btn:hover::before { left: 100%; }
.forgot-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 255, 163, 0.4);
}
.forgot-submit-btn:active { transform: translateY(0); }
.forgot-submit-btn:disabled {
  opacity: 0.5; cursor: not-allowed;
  transform: none !important; box-shadow: none !important;
}

.forgot-error {
  background: rgba(255, 71, 87, 0.08);
  border: 1px solid rgba(255, 71, 87, 0.2);
  border-radius: 8px; padding: 10px 14px;
  margin-bottom: 16px; display: none;
  font-size: 13px; color: #ff8c8c;
  align-items: center; gap: 8px;
}
.forgot-error.show { display: flex; }
.forgot-error svg {
  width: 16px; height: 16px; stroke: #ff4757;
  fill: none; stroke-width: 2; flex-shrink: 0;
  stroke-linecap: round; stroke-linejoin: round;
}

/* État succès du modal */
.forgot-success-state {
  display: none; text-align: center; padding: 10px 0;
}
.forgot-success-state.show { display: block; }
.forgot-success-state .success-circle {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--neon-green), var(--neon-green-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 40px rgba(0, 255, 163, 0.4);
  animation: successPulse 2s infinite;
}
.forgot-success-state .success-circle svg {
  width: 30px; height: 30px; stroke: #000;
  stroke-width: 3; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.forgot-success-state h4 {
  font-size: 1.15rem; font-weight: 700; margin-bottom: 8px;
}
.forgot-success-state p {
  color: var(--muted); font-size: 0.88rem; line-height: 1.6;
  margin-bottom: 6px;
}
.forgot-success-state .email-highlight {
  color: var(--neon-green); font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
}
.forgot-success-state .resend-note {
  color: #666; font-size: 0.78rem; margin-top: 14px;
}
.forgot-success-state .resend-link {
  color: var(--neon-green); cursor: pointer;
  text-decoration: underline; text-underline-offset: 2px;
  transition: opacity 0.3s;
}
.forgot-success-state .resend-link:hover { opacity: 0.7; }

/* Spinner inline */
.btn-spinner {
  display: inline-block; width: 16px; height: 16px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #000;
  border-radius: 50%;
  animation: chatSpin 0.7s linear infinite;
  vertical-align: middle; margin-right: 6px;
}

@media (max-width: 600px) {
  .forgot-modal { margin: 16px; padding: 28px 22px; }
}

#googleBtnWrapper {
  display: flex;
  justify-content: center;
}

/* ═══ Google Button ═══ */
.google-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 14px 30px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.google-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  transition: left 0.5s ease;
}
.google-btn:hover::before {
  left: 100%;
}
.google-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  color: #fff;
}
.google-btn:active {
  transform: translateY(0);
}
.google-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
.google-btn:disabled::before {
  display: none;
}
.google-btn .google-logo {
  flex-shrink: 0;
  filter: drop-shadow(0 0 2px rgba(0,0,0,0.3));
}

/* Séparateur "ou" entre Google et le bouton principal */
.google-separator {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.google-separator::before,
.google-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.google-separator span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* ═══ Mobile / touch — zones confortables ═══ */
@media (max-width: 900px) {
  .btn-header, .btn-primary-header, .modal-btn, .support-btn, .newsletter-box button {
    min-height: 44px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .nav-pill {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
    padding: 10px 18px;
  }
}

@media (pointer: coarse) {
  .nav__link,
  .mobile-nav-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* Chat : au-dessus des canvas WebGL / effets plein écran */
body .chat-overlay { z-index: 999980 !important; }
body .chat-sidebar { z-index: 999981 !important; }
body .chat-edge-bar,
body .chat-edge-icon { z-index: 999982 !important; }
body .chat-sidebar.is-fullscreen { z-index: 999999 !important; }

/* ═══ UX/UI SYSTEM PASS (Premium Coherence) ═══ */
:root {
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --surface-1: rgba(9, 20, 16, 0.72);
  --surface-2: rgba(5, 15, 12, 0.92);
  --focus-ring: 0 0 0 3px rgba(0, 255, 163, 0.22);
  --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.22);
}

/* Readability and rhythm */
body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
p { max-width: 75ch; }

/* Global cards consistency */
.card,
.widget,
.faq-item,
.feature-card,
.start-cta-box,
.prot-card,
.step-card {
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-soft);
}

/* Stronger visual hierarchy for section headers */
.section__title,
.page-hero-heading,
h1, h2, h3 {
  letter-spacing: -0.01em;
}

/* Inputs & forms consistency */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
textarea,
select {
  border-radius: var(--radius-md) !important;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(0, 255, 163, 0.45) !important;
  box-shadow: var(--focus-ring) !important;
}

/* Buttons consistency and feedback states */
.btn,
.btn-header,
.btn-primary-header,
button {
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover,
.btn-header:hover,
.btn-primary-header:hover,
button:hover {
  transform: translateY(-1px);
}
.btn:active,
.btn-header:active,
.btn-primary-header:active,
button:active {
  transform: translateY(0);
}
.btn:focus-visible,
.btn-header:focus-visible,
.btn-primary-header:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Navigation clarity and hit area */
.nav__link,
.mobile-nav-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

/* Tables readability (admin/profile/blog tables) */
table th {
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 11px;
  color: #9fb5c6;
}
table td, table th {
  vertical-align: middle;
}

/* Motion accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  #noise, #scanlines, #vignette, #data-rain-canvas, #cursor-trail-canvas,
  .cursor-dot, .cursor-ring {
    display: none !important;
  }
}

/* Performance / cleanliness on mobile */
@media (max-width: 900px) {
  #noise, #scanlines, #vignette, #data-rain-canvas, #cursor-trail-canvas,
  .cursor-dot, .cursor-ring {
    display: none !important;
  }
  body::before {
    background-image: none !important;
  }
}

/* ═══ THEME TOKENS (single source of truth) ═══ */
:root,
:root[data-theme="dark"] {
  --c-bg: #020b08;
  --c-surface: rgba(7, 18, 14, 0.88);
  --c-surface-soft: rgba(10, 20, 16, 0.76);
  --c-text: #f8fafc;
  --c-text-muted: #cbd5e1;
  --c-border: rgba(0, 255, 163, 0.16);
  --c-accent: #00a96b;
}
:root[data-theme="light"] {
  --c-bg: #ffffff;
  --c-surface: #ffffff;
  --c-surface-soft: #ffffff;
  --c-text: #0f172a;
  --c-text-muted: #334155;
  --c-border: rgba(15, 23, 42, 0.14);
  --c-accent: #0d7a4f;
}

html, body { background: var(--c-bg); color: var(--c-text); }

/* Shared components auto-follow theme */
.card, .widget, .panel, .chart-card, .stat-card, .faq-item, .history-item, .art-row, .notif-item, .mlm-cell {
  background: var(--c-surface-soft);
  border-color: var(--c-border);
}
.muted, .sub, .meta, .card-meta, p, li {
  color: var(--c-text-muted);
}
h1, h2, h3, h4, strong, .title {
  color: var(--c-text);
}
input, select, textarea {
  color: var(--c-text);
  border-color: var(--c-border);
}
.btn-primary, .btn-primary-header, .pioneer-banner__cta {
  background: var(--c-accent);
  border-color: var(--c-accent);
}

/* ═══ SaaS UI System Upgrade (Stripe/Linear-inspired) ═══ */
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --font-h1: clamp(2rem, 3.6vw, 3.3rem);
  --font-h2: clamp(1.5rem, 2.4vw, 2.2rem);
  --font-h3: clamp(1.15rem, 1.7vw, 1.35rem);
  --font-body: 15px;
  --font-caption: 12px;
  --line-body: 1.65;
  --line-heading: 1.2;
}

html { font-size: 16px; }
body {
  font-size: var(--font-body);
  line-height: var(--line-body);
}
h1, .hero-title, .section__title { font-size: var(--font-h1); line-height: var(--line-heading); letter-spacing: -0.02em; }
h2 { font-size: var(--font-h2); line-height: 1.25; letter-spacing: -0.015em; }
h3 { font-size: var(--font-h3); line-height: 1.35; letter-spacing: -0.01em; }
p, li, label, input, textarea, select, button { font-size: var(--font-body); }
small, .meta, .muted, .sub, .faq-number, .pill { font-size: var(--font-caption) !important; }

.container, .wrap, .main-container {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--space-4) !important;
  padding-right: var(--space-4) !important;
}

section, .section {
  padding-top: var(--space-12) !important;
  padding-bottom: var(--space-12) !important;
}
.section__head, .page-hero { margin-bottom: var(--space-10) !important; }
.row2, .hero-cta-row, .mlm-switch, .blog-filters { gap: var(--space-3) !important; }

.site-header {
  height: 72px;
  padding: 0 var(--space-6) !important;
  align-items: center;
  flex-wrap: nowrap;
}
.nav-pill { padding: 10px var(--space-4) !important; gap: var(--space-4) !important; border-radius: 999px !important; }
.nav__link { font-weight: 600; }

.card,
.widget,
.panel,
.chart-card,
.stat-card,
.faq-item,
.history-item,
.art-row,
.notif-item,
.mlm-cell,
.glass-card,
.perf-card,
.prot-card,
.contact-card,
.why-card,
.badge-card,
.step-card,
.price-card {
  border-radius: var(--radius-lg) !important;
  padding: var(--space-6) !important;
}

.btn,
.btn-header,
.btn-primary-header,
.modal-btn,
.support-btn,
.google-btn,
.pioneer-banner__cta {
  min-height: 42px;
  border-radius: var(--radius-md) !important;
  padding: 10px 16px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0;
}

.btn:hover,
.btn-header:hover,
.btn-primary-header:hover,
.google-btn:hover,
.pioneer-banner__cta:hover {
  transform: translateY(-1px);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
textarea,
select {
  min-height: 42px;
  border-radius: var(--radius-md) !important;
  padding: 10px 12px !important;
}

.table, table, .mlm-table {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}
table th, table td {
  padding: 10px 12px !important;
}

.faq-trigger {
  min-height: 56px;
  padding-top: var(--space-4) !important;
  padding-bottom: var(--space-4) !important;
}
.faq-answer {
  padding-top: 0 !important;
  padding-bottom: var(--space-4) !important;
}

.hero__grid, .blog-grid-wrapper, .layout, .top-grid {
  align-items: start;
  gap: var(--space-8) !important;
}

@media (max-width: 1024px) {
  .site-header { height: 64px; padding: 0 var(--space-4) !important; }
  section, .section { padding-top: var(--space-10) !important; padding-bottom: var(--space-10) !important; }
}

@media (max-width: 768px) {
  :root { --font-body: 16px; }
  .container, .wrap, .main-container { padding-left: var(--space-3) !important; padding-right: var(--space-3) !important; }
  .card,
  .widget,
  .panel,
  .faq-item,
  .history-item,
  .art-row,
  .notif-item,
  .mlm-cell,
  .glass-card,
  .perf-card,
  .prot-card,
  .contact-card { padding: var(--space-4) !important; }
  .hero__grid, .blog-grid-wrapper, .layout, .top-grid { gap: var(--space-6) !important; }
  .btn,
  .btn-header,
  .btn-primary-header,
  .modal-btn,
  .support-btn,
  .google-btn,
  .pioneer-banner__cta { width: auto; min-height: 44px; }
}

