@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ===== VARIABLES ===== */
:root {
  --bg: #0d0d0d;
  --bg-2: #141414;
  --bg-3: #1a1a1a;
  --bg-4: #222;
  --border: rgba(255,255,255,0.08);
  --text: #e8e8e8;
  --text-muted: #888;
  --text-dim: #555;
  --accent: #7c3aed;
  --accent-light: #a78bfa;
  --green: #22c55e;
  --green-dim: rgba(34,197,94,0.15);
  --yellow: #eab308;
  --red: #ef4444;
  --cyan: #06b6d4;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
  --sans: 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 6px;
}

/* ===== LIGHT THEME ===== */
[data-theme="light"] {
  --bg: #f5f5f5;
  --bg-2: #ebebeb;
  --bg-3: #e0e0e0;
  --bg-4: #cecece;
  --border: rgba(0,0,0,0.1);
  --text: #111;
  --text-muted: #555;
  --text-dim: #888;
  --green-dim: rgba(34,197,94,0.12);
}
[data-theme="light"] .navbar { background: rgba(245,245,245,0.92); }
[data-theme="light"] .hero-terminal { background: #1e1e1e; border-color: rgba(255,255,255,0.08); }
[data-theme="light"] .terminal-bar { background: #2a2a2a; border-color: rgba(255,255,255,0.06); }
[data-theme="light"] .code-block { background: #1e1e1e; }
[data-theme="light"] pre { color: #d4d4d4; }
[data-theme="light"] .hstat strong { color: #111; }
[data-theme="light"] .sub-title { color: #111; }
[data-theme="light"] .hero::before {
  background-image:
    linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px);
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
  background: var(--bg-4);
  border: 1px solid var(--border);
  color: var(--text-muted);
  height: 34px; padding: 0 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.78rem; font-weight: 600; font-family: var(--sans);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0; white-space: nowrap;
}
.theme-toggle:hover { border-color: var(--accent-light); color: var(--accent-light); background: var(--bg-3); }

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); min-height: 100vh; line-height: 1.6; }
a { color: var(--accent-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: white; }
ul { list-style: none; }
code { font-family: var(--mono); }
kbd { background: var(--bg-4); border: 1px solid var(--border); padding: 0.1rem 0.4rem; border-radius: 4px; font-size: 0.82em; font-family: var(--mono); color: var(--accent-light); }
::-webkit-scrollbar { width: 6px; } ::-webkit-scrollbar-track { background: var(--bg); } ::-webkit-scrollbar-thumb { background: var(--bg-4); border-radius: 99px; }

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ===== NAVBAR ===== */
.navbar {
  background: rgba(13,13,13,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 3rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar-logo { font-family: var(--mono); font-weight: 700; font-size: 1rem; color: white; text-decoration: none; }
.navbar-logo .prompt { color: var(--green); margin-right: 0.3rem; }
.navbar-links { display: flex; gap: 0.3rem; list-style: none; }
.navbar-links a { color: var(--text-muted); font-size: 0.85rem; font-weight: 500; padding: 0.4rem 0.8rem; border-radius: var(--radius-sm); transition: all 0.2s; }
.navbar-links a:hover { color: white; background: var(--bg-4); }
.navbar-right { display: flex; align-items: center; gap: 0.5rem; }
.btn-nav { background: var(--accent); color: white !important; font-size: 0.85rem; font-weight: 600; padding: 0.45rem 1rem; border-radius: var(--radius-sm); transition: background 0.2s; }
.btn-nav:hover { background: #6d28d9; }

/* ===== NAV DROPDOWN ===== */
.has-dropdown { position: relative; }
.has-dropdown > a { cursor: pointer; display: flex; align-items: center; gap: 0.3rem; }
.nav-arrow { font-size: 0.65rem; opacity: 0.5; transition: transform 0.2s; display: inline-block; }
.has-dropdown:hover .nav-arrow { transform: rotate(180deg); opacity: 1; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 190px;
  padding: 0.4rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted) !important;
  font-size: 0.82rem;
  font-family: var(--mono);
  white-space: nowrap;
  background: none !important;
}
.nav-dropdown a:hover { background: var(--bg-4) !important; color: white !important; }

/* ===== GUIDE HEADER ===== */
.guide-header {
  padding: 2.5rem 3rem 2rem;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse at 80% 0%, rgba(124,58,237,0.08) 0%, transparent 60%);
}
.guide-breadcrumb { font-size: 0.8rem; color: var(--text-dim); margin-bottom: 0.5rem; font-family: var(--mono); }
.guide-breadcrumb a { color: var(--text-muted); }
.guide-breadcrumb a:hover { color: var(--accent-light); }
.guide-title { font-size: 2rem; font-weight: 800; margin-bottom: 0.3rem; }
.guide-sub { color: var(--text-muted); font-size: 0.88rem; font-family: var(--mono); }

/* ===== LANDING FEATURES ===== */
.landing-features {
  padding: 4rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}
.landing-features-title { text-align: center; font-size: 1.4rem; font-weight: 700; margin-bottom: 2.5rem; color: var(--text-muted); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.feat-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
  display: block;
  color: var(--text);
}
.feat-card:hover { border-color: var(--accent); transform: translateY(-3px); color: var(--text); }
.feat-icon { font-size: 1.8rem; margin-bottom: 0.75rem; }
.feat-title { font-weight: 700; font-size: 1rem; margin-bottom: 0.6rem; color: var(--text); }
.feat-items { list-style: none; }
.feat-items li { color: var(--text-muted); font-size: 0.82rem; font-family: var(--mono); padding: 0.18rem 0; }
.feat-items li::before { content: '→ '; color: var(--accent-light); }

/* ===== COMPRENDRE CLAUDE CTA ===== */
.claude-cta-section { padding: 0 3rem 4rem; }
.claude-cta-card {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 2.5rem 3rem;
  border: 1px solid rgba(167,139,250,0.25);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(124,58,237,0.06) 0%, var(--bg-2) 60%);
  box-shadow: 0 0 50px rgba(124,58,237,0.07);
  position: relative;
  overflow: hidden;
}
.claude-cta-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent), var(--cyan));
}
.claude-cta-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}
.claude-cta-card h2 { font-size: 1.6rem; margin-bottom: 0.75rem; }
.claude-cta-card p { color: var(--text-muted); max-width: 520px; line-height: 1.65; font-size: 0.95rem; }
.claude-cta-meta {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}
.claude-cta-meta span::before { content: '· '; color: var(--accent-light); }
.claude-cta-meta span:first-child::before { content: ''; }
.claude-cta-right { flex-shrink: 0; }
@media (max-width: 800px) {
  .claude-cta-card { flex-direction: column; align-items: flex-start; padding: 2rem; }
  .claude-cta-section { padding: 0 1.5rem 3rem; }
}

/* ===== LANDING QUICK START ===== */
.landing-quickstart {
  padding: 4rem 3rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.quickstart-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: center; }
.quickstart-text h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 0.75rem; }
.quickstart-text p { color: var(--text-muted); line-height: 1.7; }

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .quickstart-inner { grid-template-columns: 1fr; }
}

/* ===== BOUTONS ===== */
.btn { display: inline-flex; align-items: center; padding: 0.75rem 1.5rem; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.95rem; font-family: var(--sans); cursor: pointer; transition: all 0.2s; border: none; }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: #6d28d9; color: white; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent-light); color: var(--accent-light); }

/* ===== HERO ===== */
.hero {
  padding: 5rem 3rem;
  background: radial-gradient(ellipse at 60% 0%, rgba(124,58,237,0.15) 0%, transparent 60%);
  border-bottom: 1px solid var(--border);
}
.hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.hero-terminal { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(124,58,237,0.1); }
.terminal-bar { background: var(--bg-4); padding: 0.7rem 1rem; display: flex; align-items: center; gap: 0.4rem; border-bottom: 1px solid var(--border); }
.dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.dot.red { background: #ef4444; } .dot.yellow { background: #eab308; } .dot.green { background: #22c55e; }
.terminal-title { font-family: var(--mono); font-size: 0.78rem; color: var(--text-dim); margin: 0 auto; }
.terminal-body { padding: 1.5rem; font-family: var(--mono); font-size: 0.9rem; min-height: 120px; line-height: 1.8; }
.t-prompt { color: var(--green); margin-right: 0.5rem; }
.t-cmd { color: white; }
.t-output { color: var(--green); margin-top: 0.3rem; }
.t-comment { color: var(--text-dim); }
.t-key { color: var(--accent-light); font-weight: 700; }
.cursor { display: inline-block; animation: blink 1s step-end infinite; color: var(--green); font-size: 0.8rem; }
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

.hero-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.hero-badge { display: inline-block; background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.3); color: var(--accent-light); font-size: 0.78rem; font-weight: 600; padding: 0.3rem 0.8rem; border-radius: 50px; font-family: var(--mono); }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1.15; margin-bottom: 1rem; letter-spacing: -1px; }
.accent { color: var(--accent-light); }
.hero p { color: var(--text-muted); font-size: 1rem; line-height: 1.7; margin-bottom: 2rem; max-width: 440px; }
.hero-actions { display: flex; gap: 0.8rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2rem; }
.hstat { display: flex; flex-direction: column; }
.hstat strong { font-size: 1.1rem; font-weight: 800; color: white; }
.hstat span { font-size: 0.78rem; color: var(--text-dim); }

/* ===== SOMMAIRE ===== */
.sommaire { background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 0.7rem 3rem; position: sticky; top: 60px; z-index: 50; overflow-x: auto; }
.sommaire-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 0.5rem; white-space: nowrap; }
.som-label { font-size: 0.75rem; color: var(--text-dim); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-right: 0.5rem; flex-shrink: 0; }
.som-link { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); padding: 0.25rem 0.6rem; border-radius: var(--radius-sm); transition: all 0.2s; font-family: var(--mono); white-space: nowrap; }
.som-link:hover, .som-link.active { color: var(--accent-light); background: rgba(124,58,237,0.1); }

/* ===== PAGE OVERVIEW (claude.html) ===== */
.page-overview { background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 1.75rem 3rem; }
.overview-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.overview-card { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.85rem 1rem; background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; transition: border-color 0.18s, background 0.18s, transform 0.18s; }
.overview-card:hover { border-color: var(--accent); background: var(--bg-4); transform: translateY(-2px); }
.overview-card.active { border-color: var(--accent); background: var(--bg-4); }
.overview-num { font-family: var(--mono); font-size: 0.7rem; color: var(--accent-light); font-weight: 700; letter-spacing: 0.03em; }
.overview-card.active .overview-num { color: var(--accent); }
.overview-title { font-size: 0.88rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.overview-desc { font-size: 0.72rem; color: var(--text-muted); font-family: var(--mono); margin-top: 0.15rem; }
.overview-grid-lg { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1100px) { .overview-grid-lg { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) { .overview-grid { grid-template-columns: repeat(2, 1fr); } .overview-grid-lg { grid-template-columns: repeat(3, 1fr); } .page-overview { padding: 1.25rem 1.5rem; } }
@media (max-width: 600px) { .overview-grid-lg { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .overview-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== SECTIONS ===== */
.section { padding: 4.5rem 3rem; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.container { max-width: 1100px; margin: 0 auto; }

/* Header de section unifié (plus de doublon label + titre) */
.section-header { margin-bottom: 2.5rem; }
.section-title { font-size: 1.9rem; font-weight: 900; margin-bottom: 0.4rem; letter-spacing: -0.5px; }
.section-num { color: var(--accent-light); font-family: var(--mono); font-size: 1.2rem; margin-right: 0.5rem; }
.section-sub { color: var(--text-muted); font-size: 0.95rem; }
.sub-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; color: white; }

/* Flash highlight quand scroll depuis terminal IA */
.section-highlight { animation: sectionFlash 1.5s ease; }
@keyframes sectionFlash { 0%,100% { background: inherit; } 30% { background: rgba(124,58,237,0.06); } }

/* ===== STEPS ===== */
.steps { display: flex; flex-direction: column; gap: 1.2rem; }
.step-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.5rem 1.2rem;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1.2rem;
  transition: border-color 0.2s;
}
.step-card:hover { border-color: rgba(124,58,237,0.25); }
.step-card.step-done { border-color: rgba(34,197,94,0.3); background: rgba(34,197,94,0.03); }
.step-card.step-done .step-num { border-color: var(--green); color: var(--green); }

.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(124,58,237,0.1); border: 2px solid rgba(124,58,237,0.3);
  color: var(--accent-light); font-weight: 900; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-family: var(--mono);
}
/* Checkboxes dans les steps */
.step-num input[type="checkbox"] {
  width: 20px; height: 20px; cursor: pointer; accent-color: var(--green);
}

.step-content h3 { font-weight: 800; font-size: 1rem; margin-bottom: 0.4rem; }
.step-content > p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 0.8rem; line-height: 1.6; }
.step-content > p:last-child { margin-bottom: 0; }

/* ===== CHECKLIST ===== */
.checklist-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
}
.checklist-header { display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.6rem; }
.checklist-bar { background: var(--bg-4); border-radius: 99px; height: 6px; overflow: hidden; }
.checklist-fill { height: 100%; background: linear-gradient(90deg, var(--green), #4ade80); border-radius: 99px; transition: width 0.4s ease; width: 0%; }

/* ===== CODE BLOCKS ===== */
.code-block { background: #0a0a0a; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; margin: 0.8rem 0; }
.code-tall pre { max-height: 400px; overflow-y: auto; }
.code-bar { background: var(--bg-4); padding: 0.45rem 1rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.code-lang { font-family: var(--mono); font-size: 0.7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }
.btn-copy { background: var(--bg-3); border: 1px solid var(--border); color: var(--text-muted); font-size: 0.72rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 4px; cursor: pointer; transition: all 0.2s; font-family: var(--sans); }
.btn-copy:hover { border-color: var(--accent-light); color: var(--accent-light); }
.btn-copy.copied { background: var(--green-dim); border-color: var(--green); color: var(--green); }
pre { padding: 1rem 1.2rem; font-family: var(--mono); font-size: 0.85rem; line-height: 1.7; overflow-x: auto; color: #d4d4d4; }
code:not(pre code) { background: var(--bg-4); border: 1px solid var(--border); padding: 0.1rem 0.4rem; border-radius: 4px; font-size: 0.85em; color: var(--accent-light); }

/* ===== BOÎTES INFO ===== */
.info-box { background: rgba(6,182,212,0.06); border: 1px solid rgba(6,182,212,0.2); border-radius: var(--radius-sm); padding: 0.75rem 1rem; font-size: 0.87rem; color: var(--text-muted); line-height: 1.6; }
.info-box strong { color: var(--cyan); } .info-box a { color: var(--cyan); }
.warn-box { background: rgba(234,179,8,0.06); border: 1px solid rgba(234,179,8,0.2); border-radius: var(--radius-sm); padding: 0.75rem 1rem; font-size: 0.87rem; color: var(--text-muted); line-height: 1.6; }
.warn-box strong { color: var(--yellow); }
.success-box { background: rgba(34,197,94,0.06); border: 1px solid rgba(34,197,94,0.2); border-radius: var(--radius-sm); padding: 0.75rem 1rem; font-size: 0.87rem; color: var(--text-muted); line-height: 1.6; }
.success-box code { color: var(--green); }

/* ===== FILE TREE ===== */
.file-tree { background: #0a0a0a; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem 1.2rem; font-family: var(--mono); font-size: 0.85rem; line-height: 2; }
.ft-folder { color: var(--yellow); font-weight: 600; } .ft-file { color: var(--text-muted); } .ft-indent { padding-left: 1.5rem; } .ft-highlight { color: var(--accent-light); }
.ft-badge { background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.3); color: var(--accent-light); font-size: 0.65rem; padding: 0.1rem 0.5rem; border-radius: 50px; margin-left: 0.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.ft-badge-global { background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.3); color: var(--green); }

/* ===== FEATURE LIST ===== */
.feature-list { display: flex; flex-direction: column; gap: 0.5rem; }
.feature-list li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; color: var(--text-muted); }
.check { color: var(--green); font-weight: 700; }

/* ===== TWO COL ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }

/* ===== TIPS GRID ===== */
.tips-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
.tip-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; transition: border-color 0.2s; }
.tip-card:hover { border-color: rgba(124,58,237,0.3); }
.tip-icon { font-size: 1.6rem; margin-bottom: 0.6rem; }
.tip-card h4 { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.3rem; }
.tip-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* ===== CMD TABLE (section 05) ===== */
.cmd-table-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cmd-table { width: 100%; border-collapse: collapse; }
.cmd-table th { background: var(--bg-4); padding: 0.75rem 1.2rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-dim); text-align: left; border-bottom: 1px solid var(--border); }
.cmd-table td { padding: 0.85rem 1.2rem; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 0.88rem; color: var(--text-muted); }
.cmd-table tr:last-child td { border-bottom: none; }
.cmd-table tr:hover td { background: rgba(255,255,255,0.02); }
.cmd-inline { background: var(--bg-4); border: 1px solid var(--border); padding: 0.2rem 0.6rem; border-radius: 4px; color: var(--green); font-family: var(--mono); font-size: 0.85rem; white-space: nowrap; }

/* ===== SKILLS TABLE (section 06) ===== */
.skills-table-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; }
.skills-table { width: 100%; border-collapse: collapse; }
.skills-table th { background: var(--bg-4); padding: 0.65rem 1.2rem; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-dim); text-align: left; border-bottom: 1px solid var(--border); }
.skills-table td { padding: 0.75rem 1.2rem; border-bottom: 1px solid rgba(255,255,255,0.04); vertical-align: middle; }
.skills-table tr:last-child td { border-bottom: none; }
.skills-table tr:hover td { background: rgba(255,255,255,0.02); }
.skill-td-cmd { font-family: var(--mono); font-weight: 700; color: var(--accent-light); font-size: 0.88rem; white-space: nowrap; width: 200px; }
.skill-td-desc { font-size: 0.85rem; color: var(--text-muted); }
.skill-td-copy { width: 90px; text-align: right; }

/* Legacy — gardé pour compatibilité */
.skills-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.skill-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; transition: border-color 0.2s; display: flex; flex-direction: column; gap: 0.6rem; }
.skill-card:hover { border-color: rgba(124,58,237,0.3); }
.skill-cmd { font-family: var(--mono); font-weight: 700; font-size: 1rem; color: var(--accent-light); }
.skill-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
.skill-usage .code-block { margin: 0; }

/* ===== CLAUDEMD DOWNLOAD CARD ===== */
.claudemd-dl-card {
  margin-top: 2.5rem;
  background: linear-gradient(135deg, rgba(124,58,237,0.08) 0%, var(--bg-3) 60%);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--radius);
  padding: 1.5rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.claudemd-dl-left { display: flex; align-items: flex-start; gap: 1.2rem; flex: 1; min-width: 0; }
.claudemd-dl-icon { font-size: 2.2rem; flex-shrink: 0; }
.claudemd-dl-title { font-weight: 800; font-size: 1rem; margin-bottom: 0.4rem; }
.claudemd-dl-desc { font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; }
.claudemd-dl-actions { display: flex; flex-direction: column; gap: 0.6rem; flex-shrink: 0; }
.claudemd-dl-actions .btn { justify-content: center; white-space: nowrap; }
@media (max-width: 700px) {
  .claudemd-dl-card { flex-direction: column; }
  .claudemd-dl-actions { flex-direction: row; flex-wrap: wrap; }
}

/* ===== BOUTON RETOUR ===== */
.btn-retour {
  display: block;
  text-align: center;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--mono);
  padding: 0.35rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.btn-retour:hover {
  color: var(--accent-light);
  background: rgba(124,58,237,0.08);
}

/* ===== DL EXTRA ROW ===== */
.dl-extra-row { margin-top: 1.5rem; }
.dl-card-small { max-width: 420px; }

/* ===== AGENTS GRID (section 07) ===== */
.agents-grid { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 1.5rem; }
.agent-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; display: flex; align-items: flex-start; gap: 1rem; transition: border-color 0.2s; }
.agent-card:hover { border-color: rgba(124,58,237,0.3); }
.agent-icon { font-size: 1.8rem; flex-shrink: 0; margin-top: 0.1rem; }
.agent-name { font-family: var(--mono); font-weight: 700; color: var(--accent-light); font-size: 0.95rem; margin-bottom: 0.3rem; }
.agent-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* ===== RACCOURCIS (section 08) ===== */
.raccourcis-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.raccourci-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; transition: border-color 0.2s; }
.raccourci-card:hover { border-color: rgba(124,58,237,0.25); }
.raccourci-card.raccourci-featured { border-color: rgba(124,58,237,0.35); background: rgba(124,58,237,0.05); }
.raccourci-key { font-family: var(--mono); font-size: 1rem; font-weight: 800; color: white; margin-bottom: 0.3rem; }
.r-times { font-size: 0.8rem; color: var(--accent-light); }
.raccourci-label { font-size: 0.8rem; font-weight: 700; color: var(--accent-light); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.5rem; }
.raccourci-desc { font-size: 0.83rem; color: var(--text-muted); line-height: 1.5; }

/* ===== WORKFLOW (section 09) ===== */
.workflow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.workflow-block { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.workflow-title { font-weight: 800; font-size: 1rem; margin-bottom: 1.2rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--border); }
.workflow-steps { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 0; }
.wf-step { display: flex; align-items: flex-start; gap: 0.8rem; font-size: 0.88rem; color: var(--text-muted); }
.wf-num { background: rgba(124,58,237,0.15); color: var(--accent-light); width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 800; flex-shrink: 0; font-family: var(--mono); margin-top: 0.1rem; }

/* ===== PROMPTS (section 10) ===== */
.prompts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.prompt-category h3 { font-weight: 700; font-size: 1rem; margin-bottom: 1rem; }
.prompt-examples { display: flex; flex-direction: column; gap: 0.6rem; }
.prompt-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.85rem 1.1rem; cursor: pointer; transition: all 0.2s; position: relative; }
.prompt-card:hover { border-color: rgba(124,58,237,0.4); background: rgba(124,58,237,0.05); }
.prompt-text { font-size: 0.87rem; color: var(--text-muted); line-height: 1.5; }
.prompt-text em { color: var(--accent-light); font-style: normal; }
.prompt-copy-hint { position: absolute; top: 0.4rem; right: 0.7rem; font-size: 0.65rem; color: var(--text-dim); font-family: var(--mono); opacity: 0; transition: opacity 0.2s; }
.prompt-card:hover .prompt-copy-hint { opacity: 1; }
.best-practices { margin-top: 3rem; }
.bp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1rem; }
.bp-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; }
.bp-good { border-top: 3px solid var(--green); } .bp-bad { border-top: 3px solid var(--red); }
.bp-header { font-weight: 800; font-size: 0.88rem; margin-bottom: 0.8rem; }
.bp-card ul { display: flex; flex-direction: column; gap: 0.4rem; }
.bp-card ul li { font-size: 0.83rem; color: var(--text-muted); padding-left: 1rem; position: relative; line-height: 1.5; }
.bp-card ul li::before { content: '·'; position: absolute; left: 0; color: var(--text-dim); }

/* ===== TÉLÉCHARGEMENTS (section 11) ===== */
.dl-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.5rem; }
.dl-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column; gap: 1rem; transition: border-color 0.2s; }
.dl-card:hover { border-color: rgba(124,58,237,0.3); }
.dl-card-featured { border-color: rgba(124,58,237,0.3); background: linear-gradient(135deg, rgba(124,58,237,0.05) 0%, var(--bg-3) 60%); }
.dl-card-header { display: flex; align-items: center; justify-content: space-between; }
.dl-icon { font-size: 2rem; }
.dl-badge { background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.3); color: var(--accent-light); font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.7rem; border-radius: 50px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.5px; }
.dl-card h3 { font-size: 1.2rem; font-weight: 800; }
.dl-card > p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }
.dl-contents { background: rgba(0,0,0,0.2); border-radius: var(--radius-sm); padding: 1rem; }
.dl-content-title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-dim); margin-bottom: 0.5rem; }
.dl-contents ul { display: flex; flex-direction: column; gap: 0.3rem; }
.dl-contents ul li { font-size: 0.83rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.5rem; font-family: var(--mono); }
.dl-file-icon { font-size: 0.85rem; }
.dl-install-title { font-size: 0.72rem; font-weight: 700; color: var(--text-dim); margin-bottom: 0.3rem; text-transform: uppercase; letter-spacing: 0.5px; }
.dl-btn { margin-top: auto; width: 100%; justify-content: center; padding: 0.85rem; border-radius: var(--radius-sm); }

/* ===== FOOTER ===== */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 3rem; }
.footer-inner { max-width: 1100px; margin: 0 auto 2rem; display: flex; justify-content: space-between; align-items: flex-start; gap: 3rem; flex-wrap: wrap; }
.footer-brand { font-family: var(--mono); font-size: 1rem; font-weight: 700; color: white; min-width: 180px; }
.footer-brand .prompt { color: var(--green); }
.footer-brand p { font-family: var(--sans); font-size: 0.85rem; color: var(--text-dim); margin-top: 0.5rem; font-weight: 400; }
.footer-credit { font-family: var(--sans); font-size: 0.82rem; color: var(--text-muted); margin-top: 1rem; font-weight: 400; }
.footer-credit strong { color: var(--text); }
.footer-nav-cols { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-nav-col { display: flex; flex-direction: column; gap: 0.35rem; }
.footer-nav-title { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); margin-bottom: 0.4rem; font-family: var(--mono); }
.footer-nav-col a { font-size: 0.82rem; color: var(--text-muted); font-family: var(--mono); }
.footer-nav-col a:hover { color: var(--accent-light); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.85rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--accent-light); }
.footer-bottom { text-align: center; font-size: 0.78rem; color: var(--text-dim); padding-top: 2rem; border-top: 1px solid var(--border); max-width: 1100px; margin: 0 auto; }

/* ===== TIMELINE DATES (claude.html) ===== */
#histoire .step-num {
  width: auto; min-width: 44px; height: 34px;
  border-radius: 20px; font-size: 0.78rem;
  padding: 0 0.75rem; white-space: nowrap;
  align-self: flex-start; margin-top: 4px;
}

/* ===== TOAST ===== */
.toast { position: fixed; bottom: 2rem; right: 5rem; background: var(--bg-3); border: 1px solid var(--green); color: var(--green); padding: 0.7rem 1.1rem; border-radius: var(--radius-sm); font-family: var(--mono); font-size: 0.82rem; z-index: 999; transform: translateY(100px); opacity: 0; transition: all 0.3s ease; pointer-events: none; }
.toast.show { transform: translateY(0); opacity: 1; }

/* ===== TERMINAL IA FLOTTANT ===== */
.ai-terminal-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.7rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--sans);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 20px rgba(124,58,237,0.4);
  transition: all 0.2s;
  z-index: 500;
}
.ai-terminal-btn:hover { background: #6d28d9; transform: translateY(-2px); }
.ai-terminal-btn.active { background: var(--bg-4); border: 1px solid var(--border); color: var(--text-muted); box-shadow: none; }

.ai-terminal-panel {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  width: 420px;
  height: 520px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  z-index: 499;
  transform: translateY(20px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}
.ai-terminal-panel.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: all; }

.ai-panel-header {
  background: var(--bg-4);
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.ai-panel-title { display: flex; align-items: center; gap: 0.5rem; font-family: var(--mono); font-size: 0.8rem; color: var(--text-muted); }
.ai-panel-actions { display: flex; gap: 0.3rem; }
.ai-panel-actions button { background: none; border: none; color: var(--text-dim); font-size: 0.9rem; cursor: pointer; padding: 0.2rem 0.4rem; border-radius: 4px; transition: all 0.2s; }
.ai-panel-actions button:hover { color: white; background: var(--bg-3); }

/* Écran clé API */
.ai-apikey-screen {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.apikey-content { width: 100%; text-align: center; }
.apikey-icon { font-size: 2.5rem; margin-bottom: 0.8rem; }
.apikey-content h3 { font-weight: 800; font-size: 1rem; margin-bottom: 0.5rem; }
.apikey-content p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }
.apikey-where { background: var(--bg-4); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.7rem 0.9rem; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1rem; text-align: left; }
.apikey-where strong { color: white; display: block; margin-bottom: 0.2rem; }
.ai-feature-item { background: var(--bg-4); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.5rem 0.75rem; font-size: 0.8rem; color: var(--text-muted); font-family: var(--mono); text-align: left; }
#apikey-input { width: 100%; padding: 0.65rem 0.9rem; background: var(--bg-4); border: 1px solid var(--border); border-radius: var(--radius-sm); color: white; font-family: var(--mono); font-size: 0.82rem; outline: none; transition: border-color 0.2s; }
#apikey-input:focus { border-color: var(--accent); }
.apikey-error { font-size: 0.78rem; margin-top: 0.5rem; min-height: 1.2rem; text-align: left; }

/* Corps terminal */
.ai-terminal-body { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.ai-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem; }
.ai-messages::-webkit-scrollbar { width: 4px; }
.ai-messages::-webkit-scrollbar-thumb { background: var(--bg-4); }

.ai-msg { font-family: var(--mono); font-size: 0.82rem; line-height: 1.6; }
.ai-msg-user { color: var(--text-muted); }
.ai-msg-prompt { color: var(--green); margin-right: 0.4rem; }
.ai-msg-assistant { color: var(--text); }
.ai-msg-error { color: var(--red); }
.ai-msg-typing { color: var(--text-dim); }

/* Animation dots frappe */
.typing-dots { display: inline-flex; gap: 3px; }
.typing-dots span { animation: dotPulse 1.2s ease-in-out infinite; opacity: 0; }
.typing-dots span:nth-child(1) { animation-delay: 0s; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotPulse { 0%,80%,100% { opacity: 0; } 40% { opacity: 1; } }

.ai-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.8rem;
  border-top: 1px solid var(--border);
  background: var(--bg-4);
  flex-shrink: 0;
}
.ai-prompt { font-family: var(--mono); font-size: 0.75rem; color: var(--green); white-space: nowrap; flex-shrink: 0; }
#ai-input { flex: 1; background: none; border: none; color: white; font-family: var(--mono); font-size: 0.82rem; outline: none; }
#ai-input::placeholder { color: var(--text-dim); }
#ai-input:disabled { opacity: 0.5; }
.ai-send-btn { background: none; border: none; color: var(--accent-light); font-size: 1rem; cursor: pointer; padding: 0 0.3rem; transition: color 0.2s; flex-shrink: 0; }
.ai-send-btn:hover { color: white; }

/* ===== ENTRANCE ANIMATIONS ===== */
.anim-hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.55s cubic-bezier(.22,1,.36,1), transform 0.55s cubic-bezier(.22,1,.36,1);
}
.anim-visible {
  opacity: 1;
  transform: translateY(0);
}
.anim-hidden.anim-d1 { transition-delay: 0.08s; }
.anim-hidden.anim-d2 { transition-delay: 0.16s; }
.anim-hidden.anim-d3 { transition-delay: 0.24s; }
.anim-hidden.anim-d4 { transition-delay: 0.32s; }
.anim-hidden.anim-d5 { transition-delay: 0.40s; }

/* ===== HERO GRID BACKGROUND ===== */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; }

/* ===== HERO TERMINAL FLOAT ===== */
@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
.hero-terminal { animation: heroFloat 5s ease-in-out infinite; }

/* ===== BUTTON SHIMMER ===== */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transition: left 0.5s ease;
}
.btn-primary:hover::after { left: 150%; }

/* ===== 3D TILT SUPPORT ===== */
.feat-card, .skill-card, .tip-card, .dl-card, .raccourci-card, .agent-card {
  will-change: transform;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .tips-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-grid { grid-template-columns: 1fr; }
  .raccourcis-grid { grid-template-columns: 1fr 1fr; }
}
/* ===== BURGER MENU ===== */
.navbar-burger {
  display: none;
  flex-direction: column; gap: 5px; justify-content: center;
  background: none; border: none; cursor: pointer;
  padding: 0.4rem; margin-right: 0.5rem;
}
.navbar-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-muted); border-radius: 2px;
  transition: background 0.2s;
}
.navbar-burger:hover span { background: var(--text); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-terminal { display: none; }
  .two-col, .workflow-grid, .dl-grid, .prompts-grid, .bp-grid { grid-template-columns: 1fr; }
  .raccourcis-grid { grid-template-columns: 1fr; }
  .navbar-burger { display: flex; }
  .navbar-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem;
    z-index: 200;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }
  .navbar-links.open { display: flex; }
  .navbar-links li { width: 100%; }
  .navbar-links > li > a {
    display: block; padding: 0.6rem 0.75rem;
    font-size: 0.9rem; color: var(--text) !important;
    background: none !important;
    border-bottom: 1px solid var(--border);
  }
  .has-dropdown > a { pointer-events: none; }
  .nav-arrow { display: none; }
  .nav-dropdown {
    display: block !important;
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    min-width: unset !important;
    padding: 0 0 0.5rem 1rem !important;
  }
  .nav-dropdown a {
    color: var(--text-muted) !important;
    padding: 0.35rem 0.75rem !important;
    font-size: 0.82rem !important;
  }
  .section { padding: 3rem 1.5rem; }
  .hero { padding: 3rem 1.5rem; }
  .sommaire { display: none; }
  .footer { padding: 2rem 1.5rem; }
  .footer-inner { flex-direction: column; }
  .footer-nav-cols { gap: 1.5rem; }
  .ai-terminal-panel { width: calc(100vw - 2rem); right: 1rem; left: 1rem; }
  .cheatsheet-btn, .wizard-btn { display: none; }
}

/* ===== SEARCH MODAL (Ctrl+K) ===== */
.search-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 10vh;
  opacity: 0; pointer-events: none;
  transition: opacity 0.15s;
}
.search-overlay.open { opacity: 1; pointer-events: all; }
.search-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%; max-width: 600px;
  margin: 0 1rem;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  transform: translateY(-10px);
  transition: transform 0.15s;
}
.search-overlay.open .search-box { transform: translateY(0); }
.search-input-wrap {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.search-icon { font-size: 1.1rem; color: var(--text-dim); flex-shrink: 0; }
#search-input {
  flex: 1; background: none; border: none; outline: none;
  font-family: var(--sans); font-size: 1rem; color: var(--text);
}
#search-input::placeholder { color: var(--text-dim); }
.search-esc {
  background: var(--bg-4); border: 1px solid var(--border);
  color: var(--text-dim); font-size: 0.72rem;
  padding: 0.1rem 0.45rem; border-radius: 4px;
  font-family: var(--mono); flex-shrink: 0;
}
.search-results { max-height: 340px; overflow-y: auto; padding: 0.4rem; }
.search-result-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.6rem 0.75rem; border-radius: var(--radius-sm);
  cursor: pointer; transition: background 0.1s;
  text-decoration: none; color: var(--text);
}
.search-result-item:hover, .search-result-item.active { background: var(--bg-4); }
.result-type {
  font-size: 0.68rem; font-family: var(--mono); font-weight: 700;
  padding: 0.1rem 0.45rem; border-radius: 4px;
  background: rgba(124,58,237,0.15); color: var(--accent-light);
  flex-shrink: 0; text-transform: uppercase; letter-spacing: 0.5px; min-width: 62px; text-align: center;
}
.result-type.page { background: rgba(6,182,212,0.12); color: var(--cyan); }
.result-type.commande { background: rgba(34,197,94,0.12); color: var(--green); }
.result-type.config { background: rgba(234,179,8,0.12); color: var(--yellow); }
.result-type.download { background: rgba(239,68,68,0.1); color: var(--red); }
.result-label { font-size: 0.88rem; font-family: var(--mono); }
.search-hint {
  padding: 0.5rem 1.25rem; font-size: 0.72rem; color: var(--text-dim);
  border-top: 1px solid var(--border); font-family: var(--mono);
}
.search-empty { padding: 2rem; text-align: center; color: var(--text-dim); font-size: 0.88rem; }
.search-kbd-hint {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: var(--bg-4); border: 1px solid var(--border);
  color: var(--text-dim); font-size: 0.72rem; font-family: var(--mono);
  padding: 0.15rem 0.5rem; border-radius: 4px;
}

/* ===== CHEAT SHEET ===== */
.cheatsheet-btn {
  position: fixed; bottom: 1.5rem; left: 1.5rem;
  background: var(--bg-3); border: 1px solid var(--border);
  color: var(--text-muted); border-radius: 50px;
  padding: 0.6rem 1rem; font-size: 0.82rem; font-weight: 600;
  font-family: var(--sans); cursor: pointer;
  display: flex; align-items: center; gap: 0.4rem;
  transition: all 0.2s; z-index: 500;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.cheatsheet-btn:hover { border-color: var(--accent-light); color: var(--accent-light); transform: translateY(-2px); }
.cheatsheet-panel {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: 380px; max-width: 100vw;
  background: var(--bg-2); border-right: 1px solid var(--border);
  transform: translateX(-100%); transition: transform 0.3s ease;
  z-index: 1500; overflow-y: auto;
  box-shadow: 4px 0 32px rgba(0,0,0,0.35);
}
.cheatsheet-panel.open { transform: translateX(0); }
.cheatsheet-panel-header {
  position: sticky; top: 0; background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; z-index: 1;
}
.cheatsheet-panel-header strong { font-weight: 700; font-size: 0.95rem; }
.cheatsheet-panel-header button {
  background: var(--bg-4); border: 1px solid var(--border);
  color: var(--text-muted); width: 28px; height: 28px;
  border-radius: 6px; cursor: pointer; font-size: 0.85rem;
  transition: color 0.2s;
}
.cheatsheet-panel-header button:hover { color: white; }
.cheatsheet-section { padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
.cheatsheet-section-title {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--accent-light); margin-bottom: 0.6rem; font-family: var(--mono);
}
.cheatsheet-row { display: flex; align-items: baseline; gap: 0.6rem; padding: 0.28rem 0; }
.cheatsheet-cmd { font-family: var(--mono); color: var(--text); font-size: 0.81rem; flex-shrink: 0; }
.cheatsheet-desc { color: var(--text-dim); font-size: 0.78rem; }

/* ===== WIZARD MODE ===== */
.wizard-btn {
  position: fixed; bottom: 5.2rem; left: 1.5rem;
  background: var(--accent); color: white; border: none;
  border-radius: 50px; padding: 0.6rem 1rem;
  font-size: 0.82rem; font-weight: 700; font-family: var(--sans);
  cursor: pointer; display: flex; align-items: center; gap: 0.4rem;
  transition: all 0.2s; z-index: 500;
  box-shadow: 0 4px 20px rgba(124,58,237,0.4);
}
.wizard-btn:hover { background: #6d28d9; transform: translateY(-2px); }
.wizard-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.wizard-overlay.open { opacity: 1; pointer-events: all; }
.wizard-modal {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius); width: 100%; max-width: 560px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5); overflow: hidden;
  transform: translateY(14px); transition: transform 0.2s;
}
.wizard-overlay.open .wizard-modal { transform: translateY(0); }
.wizard-modal-header {
  padding: 1.2rem 1.5rem; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.wizard-modal-header span { font-weight: 800; font-size: 1rem; }
.wizard-modal-header button {
  background: var(--bg-4); border: 1px solid var(--border);
  color: var(--text-muted); width: 30px; height: 30px;
  border-radius: 6px; cursor: pointer; font-size: 0.85rem; transition: color 0.2s;
}
.wizard-modal-header button:hover { color: white; }
.wizard-progress { height: 4px; background: var(--bg-4); }
.wizard-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-light)); transition: width 0.3s ease; }
.wizard-body { padding: 2rem 1.5rem; min-height: 210px; }
.wizard-step-num { font-family: var(--mono); color: var(--accent-light); font-size: 0.78rem; font-weight: 700; margin-bottom: 0.5rem; letter-spacing: 0.5px; }
.wizard-step-title { font-size: 1.3rem; font-weight: 900; margin-bottom: 1rem; }
.wizard-step-desc { color: var(--text-muted); line-height: 1.8; font-size: 0.9rem; margin-bottom: 1.2rem; }
.wizard-step-desc ul { list-style: none; }
.wizard-step-desc li::before { content: '→ '; color: var(--accent-light); }
.wizard-goto {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; color: var(--accent-light); font-family: var(--mono);
  padding: 0.35rem 0.75rem; border-radius: var(--radius-sm);
  border: 1px solid rgba(124,58,237,0.3); transition: all 0.2s;
  background: rgba(124,58,237,0.08); text-decoration: none;
}
.wizard-goto:hover { background: rgba(124,58,237,0.2); color: white; }
.wizard-nav {
  padding: 1rem 1.5rem; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.wizard-nav button:disabled { opacity: 0.35; cursor: not-allowed; }
.wizard-count { font-family: var(--mono); font-size: 0.8rem; color: var(--text-dim); }

/* ===== CURSEUR PERSONNALISE ===== */
@media (pointer: fine) {
  * { cursor: none !important; }
  .cursor-dot {
    position: fixed;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    pointer-events: none;
    z-index: 99999;
    left: -20px; top: -20px;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, background 0.15s;
    will-change: left, top;
  }
  .cursor-ring {
    position: fixed;
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    opacity: 0.35;
    pointer-events: none;
    z-index: 99998;
    left: -40px; top: -40px;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, opacity 0.2s;
    will-change: left, top;
  }
  .cursor-dot.grow { transform: translate(-50%, -50%) scale(2.5); background: var(--accent-light); }
  .cursor-ring.grow { width: 52px; height: 52px; opacity: 0.15; }
}

/* ===== SIDEBAR DROITE ===== */
.sidebar-right {
  position: fixed;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  z-index: 400;
}
.sidebar-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--text-dim);
  display: block;
  transition: all 0.2s;
  position: relative;
}
.sidebar-dot:hover { background: var(--accent); transform: scale(1.6); box-shadow: 0 0 8px rgba(124,58,237,0.4); }
.sidebar-dot.active { background: var(--accent-light); transform: scale(1.4); box-shadow: 0 0 10px rgba(167,139,250,0.4); }
.sidebar-dot::after {
  content: attr(title);
  position: absolute;
  right: calc(100% + 0.75rem);
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-3);
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem; font-family: var(--mono);
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.15s;
}
.sidebar-dot:hover::after { opacity: 1; }
@media (max-width: 1200px) { .sidebar-right { display: none; } }

/* ===== ANCHOR LINKS ===== */
.anchor-btn {
  display: inline-flex; align-items: center;
  background: none; border: none;
  color: var(--text-dim); font-family: var(--mono); font-size: 0.8em;
  cursor: pointer; opacity: 0; margin-left: 0.6rem;
  padding: 0.1rem 0.35rem; border-radius: 4px;
  transition: opacity 0.15s, color 0.15s, background 0.15s;
  vertical-align: middle; line-height: 1;
}
.section-header:hover .anchor-btn { opacity: 1; }
.anchor-btn:hover { color: var(--accent-light); background: rgba(124,58,237,0.1); }

/* ===== PS1 SYNTAX HIGHLIGHT ===== */
.ps1-comment { color: var(--text-dim); font-style: italic; }
.ps1-var { color: var(--yellow); }
.ps1-string { color: var(--green); }
.ps1-kw { color: var(--accent-light); font-weight: 700; }
.ps1-cmd { color: var(--cyan); }

/* ===== PRINT / PDF ===== */
@media print {
  .navbar, .sommaire, .scroll-progress,
  .ai-terminal-btn, .ai-terminal-panel,
  .cheatsheet-btn, .cheatsheet-panel,
  .wizard-btn, .wizard-overlay,
  .search-overlay, .toast,
  .navbar-burger, .btn-copy,
  .theme-toggle, .navbar-right { display: none !important; }

  body { background: white !important; color: #111 !important; font-size: 12pt; }
  .section { padding: 1.5rem 0 !important; break-inside: avoid; }
  .section-alt { background: #f8f8f8 !important; }
  .code-block { border: 1px solid #ccc !important; break-inside: avoid; }
  pre { background: #f5f5f5 !important; color: #222 !important; font-size: 9pt; }
  .step-card { break-inside: avoid; background: #fafafa !important; border: 1px solid #ddd !important; }
  .feat-card, .tip-card, .raccourci-card { break-inside: avoid; }
  a { color: #5b21b6 !important; text-decoration: underline; }
  .navbar-logo, .footer-brand { color: #111 !important; }
  .footer { background: white !important; border-top: 1px solid #ddd !important; }
  .guide-header { background: none !important; }
  @page { margin: 2cm; size: A4; }
}

/* ===== VERSION BADGE NAVBAR ===== */
.nav-version {
  background: rgba(124,58,237,0.15); border: 1px solid rgba(124,58,237,0.3);
  color: var(--accent-light); font-size: 0.68rem; font-weight: 700;
  padding: 0.18rem 0.55rem; border-radius: 99px; font-family: var(--mono);
  transition: all 0.2s; white-space: nowrap; text-decoration: none;
  flex-shrink: 0;
}
.nav-version:hover { background: rgba(124,58,237,0.3); color: #fff; }

/* ===== TESTIMONIALS ===== */
.testimonials-section { padding: 4rem 0 4.5rem; background: var(--bg); border-top: 1px solid var(--border); }
.testimonials-title { text-align: center; font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 700; margin-bottom: 2.5rem; }
.testimonials-head { text-align: center; margin-bottom: 2.5rem; }
.testimonials-head h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 700; margin-bottom: 0.35rem; }
.testimonials-head p { color: var(--text-muted); font-size: 0.9rem; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; max-width: 1000px; margin: 0 auto; padding: 0 1.5rem; }
@media (max-width: 800px) { .testimonials-grid { grid-template-columns: 1fr; max-width: 480px; } }
.testimonial-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.25rem 1rem; display: flex; flex-direction: column; gap: 0.9rem; transition: border-color 0.2s, transform 0.2s; }
.testimonial-card:hover { border-color: rgba(124,58,237,0.3); transform: translateY(-2px); }
.testimonial-quote { font-size: 0.875rem; line-height: 1.65; color: var(--text); position: relative; padding-left: 1rem; }
.testimonial-quote::before { content: '"'; position: absolute; left: 0; top: -0.1em; color: var(--accent-light); font-size: 1.6rem; line-height: 1; font-family: Georgia, serif; }
.testimonial-footer { display: flex; align-items: center; gap: 0.6rem; }
.testimonial-footer > div:last-child { display: flex; flex-direction: column; gap: 0.1rem; }
.testimonial-footer strong { font-size: 0.8rem; color: var(--text); }
.testimonial-footer span { font-size: 0.73rem; color: var(--text-muted); }
.testimonial-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--cyan)); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; color: #fff; flex-shrink: 0; }
.testimonial-info { display: flex; flex-direction: column; }
.testimonial-name { font-size: 0.8rem; font-weight: 600; color: var(--text); }
.testimonial-role { font-size: 0.73rem; color: var(--text-muted); }

/* ===== SHARE BUTTON ===== */
.btn-share {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: transparent; border: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.875rem; font-weight: 500;
  padding: 0.6rem 1.1rem; border-radius: var(--radius);
  cursor: pointer; transition: border-color 0.2s, color 0.2s, background 0.2s;
  font-family: inherit;
}
.btn-share:hover { border-color: rgba(124,58,237,0.5); color: var(--text); background: rgba(124,58,237,0.08); }
.btn-share::before { content: '↗'; font-size: 0.8em; }

/* ===== MOBILE TABLE SCROLL ===== */
@media (max-width: 700px) {
  .cmd-table-card, .skills-table-card { overflow-x: auto; }
  .cmd-table, .skills-table { min-width: 460px; }
}

/* ===== EXTRA MOBILE FIXES (< 480px) ===== */
@media (max-width: 480px) {
  .hero-stats { flex-wrap: wrap; gap: 0.8rem 1.5rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  .guide-sub { font-size: 0.82rem; }
  .section-title { font-size: 1.2rem; }
  .section-num { font-size: 0.85rem; }
  .step-card { gap: 0.8rem; }
  .step-num { min-width: 2rem; height: 2rem; font-size: 0.8rem; }
  .code-bar { flex-wrap: wrap; gap: 0.3rem; }
  .claudemd-dl-card { flex-direction: column; }
  .claudemd-dl-actions { flex-direction: column; }
  .navbar-logo { font-size: 0.95rem; }
  .nav-version { display: none; }
  .ex-grid { padding: 0 0.75rem; }
  .ex-body { padding: 0.9rem 1rem; }
  .ex-code { font-size: 0.7rem; }
  .footer-nav-cols { grid-template-columns: 1fr 1fr; }
  .claude-cta-card { gap: 1.5rem; }
  .claude-cta-meta { flex-wrap: wrap; gap: 0.3rem 0.8rem; }
}

/* ===== PAGE LOADER ===== */
#page-loader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1.2rem;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}
#page-loader.loader-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo-txt { font-family: var(--mono); font-size: 1.05rem; color: var(--text-muted); letter-spacing: 0.04em; }
.loader-logo-txt .prompt { color: var(--accent-light); margin-right: 0.4em; }
.loader-bar-wrap { width: 140px; height: 2px; background: var(--bg-4); border-radius: 99px; overflow: hidden; }
.loader-bar-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-light)); border-radius: 99px; animation: loaderFill 0.45s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes loaderFill { 0%{width:0} 70%{width:88%} 100%{width:100%} }

/* ===== EXAMPLES PAGE ===== */
.ex-page-header { background: var(--bg); border-bottom: 1px solid var(--border); padding: 3rem 0 2rem; text-align: center; }
.ex-page-title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: 0.5rem; }
.ex-page-sub { color: var(--text-muted); font-size: 1rem; max-width: 500px; margin: 0 auto 1.5rem; }
.ex-page-badges { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; }
.ex-page-badge { background: var(--bg-3); border: 1px solid var(--border); color: var(--text-muted); font-size: 0.78rem; padding: 0.25rem 0.75rem; border-radius: 99px; }

.ex-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; padding: 2rem 1rem 0.5rem; }
.ex-pill { background: var(--bg-3); border: 1px solid var(--border); color: var(--text-muted); padding: 0.4rem 1.1rem; border-radius: 99px; font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: all 0.18s; font-family: var(--sans); }
.ex-pill:hover { color: var(--text); border-color: var(--accent-light); }
.ex-pill.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.ex-section { padding: 2.5rem 0 5rem; }
.ex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(480px, 1fr)); gap: 1.5rem; max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
@media (max-width: 560px) { .ex-grid { grid-template-columns: 1fr; padding: 0 1rem; } }

.ex-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.ex-card:hover { border-color: rgba(124,58,237,0.4); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(124,58,237,0.08); }
.ex-card.ex-hidden { display: none; }

.ex-card-top { padding: 1rem 1.25rem 0.8rem; display: flex; align-items: center; gap: 0.7rem; border-bottom: 1px solid var(--border); background: var(--bg-3); }
.ex-badge { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; padding: 0.2rem 0.55rem; border-radius: 99px; flex-shrink: 0; }
.ex-badge-java { background: rgba(239,68,68,0.14); color: #f87171; }
.ex-badge-sql { background: rgba(6,182,212,0.12); color: var(--cyan); }
.ex-badge-mongo { background: rgba(34,197,94,0.12); color: var(--green); }
.ex-badge-revue { background: rgba(234,179,8,0.12); color: var(--yellow); }
.ex-badge-git { background: rgba(124,58,237,0.14); color: var(--accent-light); }
.ex-card-title { font-size: 0.88rem; font-weight: 600; color: var(--text); }

.ex-body { padding: 1.1rem 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.ex-msg { display: flex; flex-direction: column; gap: 0.3rem; }
.ex-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); padding-left: 0.1rem; }
.ex-label.lbl-claude { color: rgba(167,139,250,0.8); }
.ex-bubble { background: var(--bg-3); border: 1px solid var(--border); border-radius: 2px var(--radius) var(--radius) var(--radius); padding: 0.7rem 0.9rem; font-size: 0.86rem; line-height: 1.6; color: var(--text); }
.ex-bubble.claude-bubble { background: rgba(124,58,237,0.06); border-color: rgba(124,58,237,0.18); border-radius: var(--radius) var(--radius) var(--radius) 2px; }
.ex-code { font-family: var(--mono); font-size: 0.76rem; background: #0d0d0d; border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius-sm); padding: 0.65rem 0.85rem; overflow-x: auto; line-height: 1.65; white-space: pre; margin-top: 0.4rem; }
[data-theme="light"] .ex-code { background: #1a1a1a; }
.ex-code .hl-g { color: var(--green); }
.ex-code .hl-c { color: var(--cyan); }
.ex-code .hl-p { color: var(--accent-light); }
.ex-code .hl-y { color: var(--yellow); }
.ex-code .hl-r { color: #f87171; }
.ex-code .hl-d { color: var(--text-dim); }
.ex-code .hl-w { color: #e8e8e8; }
.ex-sep { height: 1px; background: var(--border); margin: 0 -1.25rem; }

/* Catégorie "capacités" — effet spécial */
.ex-badge-ia {
  background: linear-gradient(135deg, rgba(124,58,237,0.3), rgba(6,182,212,0.2));
  color: #fff;
  background-size: 200% 200%;
  animation: iaBadgePulse 3s ease infinite;
}
@keyframes iaBadgePulse {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.ex-pill.pill-ia { background: linear-gradient(135deg, var(--accent), var(--cyan)); color: #fff; border-color: transparent; }
.ex-pill.pill-ia:hover { opacity: 0.9; }
.ex-pill.pill-ia.active { box-shadow: 0 0 16px rgba(124,58,237,0.5); }
.ex-card.ex-card-ia { border-color: rgba(124,58,237,0.3); background: linear-gradient(160deg, var(--bg-2) 0%, rgba(124,58,237,0.04) 100%); }
.ex-card.ex-card-ia:hover { border-color: rgba(124,58,237,0.6); box-shadow: 0 8px 40px rgba(124,58,237,0.15); }
.ex-card.ex-card-ia .ex-card-top { background: linear-gradient(90deg, rgba(124,58,237,0.1), rgba(6,182,212,0.05)); }
.ex-card.ex-card-ia .claude-bubble { background: rgba(124,58,237,0.1); border-color: rgba(124,58,237,0.3); }
