/* ═══════════════════════════════════════
   OSINT Lookup — Design System
   ═══════════════════════════════════════ */

:root {
  --bg:           #050d1a;
  --bg-alt:       #091426;
  --bg-card:      #0d1f35;
  --bg-card-h:    #0f2540;
  --border:       #1a3050;
  --border-l:     #243d58;
  --accent:       #00b4d8;
  --accent-dim:   rgba(0, 180, 216, 0.12);
  --accent-glow:  0 0 24px rgba(0, 180, 216, 0.18);
  --green:        #00c896;
  --green-dim:    rgba(0, 200, 150, 0.12);
  --text:         #e2eeff;
  --text-2:       #8faabf;
  --text-3:       #3d5a73;
  --danger:       #ff5568;
  --warning:      #f0a500;
  --info:         #3b82f6;
  --r:            8px;
  --r-lg:         14px;
  --r-xl:         20px;
  --font:         system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono:         'Consolas', 'Monaco', 'Courier New', monospace;
  --ease:         cubic-bezier(.4, 0, .2, 1);
  --trans:        .2s var(--ease);
  --shadow:       0 4px 32px rgba(0, 0, 0, .45);
  --shadow-lg:    0 8px 48px rgba(0, 0, 0, .6);
}

/* ─── Reset ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
a { color: var(--accent); text-decoration: none; transition: color var(--trans); }
a:hover { color: #fff; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; letter-spacing: -.02em; }
ul { list-style: none; }
code { font-family: var(--mono); font-size: .9em; background: var(--bg-card); padding: .1em .35em; border-radius: 4px; }

/* ─── Accessibilité ──────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── Layout ─────────────────────────── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Navigation ─────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 13, 26, .85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -.03em;
}
.nav-logo svg { color: var(--accent); flex-shrink: 0; }
.nav-logo strong { color: var(--accent); }
.nav-logo:hover { color: #fff; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  color: var(--text-2);
  font-size: .9rem;
  padding: 6px 12px;
  border-radius: var(--r);
  transition: color var(--trans), background var(--trans);
}
.nav-link:hover { color: var(--text); background: var(--accent-dim); }

/* ─── Buttons ────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--r);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform var(--trans), box-shadow var(--trans), background var(--trans);
  background: var(--accent);
  color: #050d1a;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}
.btn:hover { color: #050d1a; background: #00caf0; transform: translateY(-1px); box-shadow: var(--accent-glow); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 7px 16px; font-size: .82rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border-l);
  color: var(--text-2);
}
.btn-outline:hover { background: var(--bg-card); color: var(--text); border-color: var(--accent); }

/* ─── Badges ─────────────────────────── */
.badge {
  display: inline-block;
  padding: 5px 12px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 180, 216, .3);
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ─── Alerts ─────────────────────────── */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--r);
  font-size: .9rem;
  border-left: 3px solid;
}
.alert svg { flex-shrink: 0; margin-top: 2px; }
.alert-error { background: rgba(255, 85, 104, .1); border-color: var(--danger); color: #ffa0ac; }
.alert-error svg { color: var(--danger); }
.alert-info { background: rgba(59, 130, 246, .08); border-color: var(--info); color: #93c5fd; margin-bottom: 20px }
.alert-info svg { color: var(--info); }
.alert-warn { background: rgba(245, 158, 11, .1); border-color: #f59e0b; color: #fcd34d; }
.alert-warn svg { color: #f59e0b; }
.alert-lg { padding: 20px 24px; gap: 16px; }
.alert strong { display: block; margin-bottom: 4px; }

/* ═══════════════════════════════════════
   HOME PAGE
   ═══════════════════════════════════════ */

/* ─── Hero ───────────────────────────── */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(0, 180, 216, .08) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 200, 150, .05) 0%, transparent 55%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: start;
}
.hero-content { max-width: 640px; }
.hero h1 {
  margin: 16px 0 20px;
  font-size: clamp(2rem, 5vw, 3rem);
  background: linear-gradient(135deg, #fff 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-2);
  margin-bottom: 36px;
  max-width: 540px;
}
.hero-subtitle strong, .hero-subtitle abbr { color: var(--text); text-decoration: none; }

/* ─── Search Form ─────────────────────── */
.search-form { margin-bottom: 20px; }
.search-box {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-card);
  border: 1.5px solid var(--border-l);
  border-radius: var(--r-lg);
  padding: 6px 6px 6px 16px;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.search-box:focus-within {
  border-color: var(--accent);
  box-shadow: var(--accent-glow);
}
.search-icon { color: var(--text-3); flex-shrink: 0; }
.search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 1rem;
  font-family: var(--font);
  padding: 10px 14px;
  min-width: 0;
}
.search-input::placeholder { color: var(--text-3); }
.btn-search {
  padding: 11px 24px;
  border-radius: 10px;
  font-size: .95rem;
  flex-shrink: 0;
}
.btn-loading .spinner {
  animation: spin .8s linear infinite;
}
.search-disclaimer {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: .78rem;
  color: var(--text-3);
}
.search-disclaimer svg { color: var(--green); flex-shrink: 0; }

/* ─── Tools row ──────────────────────── */
.tools-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  align-items: center;
}
.tool-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .8rem;
  color: var(--text-2);
}
.tool-tag svg { color: var(--green); }

/* ─── Hero Stats ──────────────────────── */
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
}
.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 28px;
  min-width: 120px;
  text-align: center;
  transition: border-color var(--trans), transform var(--trans);
}
.stat-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -.03em;
  line-height: 1;
}
.stat-label {
  margin-top: 6px;
  font-size: .78rem;
  color: var(--text-3);
  font-weight: 500;
}

/* ─── Sections ───────────────────────── */
.section { padding: 80px 0; }
.section-dark { background: var(--bg-alt); }
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  margin-bottom: 12px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 12px;
}
.section-header p { color: var(--text-2); font-size: 1rem; max-width: 540px; margin: 0 auto; }

/* ─── Steps ──────────────────────────── */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.step-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: border-color var(--trans), transform var(--trans);
}
.step-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.step-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  opacity: .25;
  line-height: 1;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.step-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.step-card p { color: var(--text-2); font-size: .9rem; line-height: 1.6; }
.step-arrow {
  color: var(--text-3);
  padding-top: 52px;
  flex-shrink: 0;
}

/* ─── Platforms grid ──────────────────── */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.platform-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: border-color var(--trans);
}
.platform-category:hover { border-color: var(--accent); }
.platform-category h3 { font-size: .95rem; margin-bottom: 10px; }
.platform-category p { color: var(--text-2); font-size: .85rem; line-height: 1.6; }

/* ─── FAQ ────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--trans);
}
.faq-item[open] { border-color: var(--accent); }
.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: .95rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color var(--trans);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
  transition: transform var(--trans);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--accent); }
.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-2);
  font-size: .9rem;
  line-height: 1.7;
}
.faq-answer p + p { margin-top: 8px; }
.faq-answer ul { padding-left: 20px; list-style: disc; display: flex; flex-direction: column; gap: 4px; }
.faq-answer strong { color: var(--text); }

/* ─── CTA section ─────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--bg-alt) 0%, rgba(0, 180, 216, .06) 100%);
  border-top: 1px solid var(--border);
}
.cta-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.cta-inner h2 { font-size: 2rem; margin-bottom: 12px; }
.cta-inner p { color: var(--text-2); margin-bottom: 32px; }

/* ═══════════════════════════════════════
   SEARCH RESULTS PAGE
   ═══════════════════════════════════════ */

.results-page { padding: 40px 0 80px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  font-size: .85rem;
  color: var(--text-3);
}
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--accent); }

.results-header { margin-bottom: 32px; }
.results-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.results-title-row h1 { font-size: clamp(1.4rem, 3vw, 2rem); }
.username-highlight { color: var(--accent); }

/* Tools status badges */
.tools-status { display: flex; gap: 10px; flex-wrap: wrap; }
.tool-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  border: 1px solid;
  transition: all var(--trans);
}
.tool-indicator.done {
  background: var(--green-dim);
  border-color: rgba(0, 200, 150, .3);
  color: var(--green);
}
.tool-indicator.running {
  background: var(--accent-dim);
  border-color: rgba(0, 180, 216, .3);
  color: var(--accent);
}
.spinner-sm { animation: spin .8s linear infinite; }

/* Icônes dans les tool-indicators : CSS contrôle laquelle est visible */
.tool-indicator .icon-check { display: none; }
.tool-indicator.done  .icon-check { display: block; }
.tool-indicator.done  .icon-spin  { display: none; }

/* ─── Loading animation ───────────────── */
.loading-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 60px 40px;
  text-align: center;
  max-width: 540px;
  margin: 0 auto 40px;
}
.loading-animation {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

/* Radar animation */
.radar {
  position: relative;
  width: 100px;
  height: 100px;
}
.radar-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  animation: radar-pulse 2s ease-out infinite;
}
.radar-circle:nth-child(2) { animation-delay: .67s; }
.radar-circle:nth-child(3) { animation-delay: 1.33s; }
.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 80%,
    rgba(0, 180, 216, .25) 90%,
    rgba(0, 180, 216, .5) 100%
  );
  animation: spin 2.5s linear infinite;
}
@keyframes radar-pulse {
  0% { transform: scale(.3); opacity: .9; }
  100% { transform: scale(1.5); opacity: 0; }
}

.loading-card h2 { font-size: 1.3rem; margin-bottom: 10px; }
.loading-card > p { color: var(--text-2); font-size: .9rem; margin-bottom: 32px; }

.progress-steps { display: flex; gap: 24px; justify-content: center; }
.progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--text-3);
}
.progress-step.active { color: var(--accent); }
.progress-step.completed { color: var(--green); }
.ps-check { display: none; }
.progress-step.completed .ps-check { display: inline; }
.ps-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.progress-step.active .ps-dot { animation: dot-pulse 1s ease-in-out infinite; }
@keyframes dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: .6; }
}

/* ─── Summary cards ────────────────────── */
.results-summary {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.summary-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 28px;
  min-width: 130px;
}
.summary-total { border-color: rgba(0, 180, 216, .3); background: var(--accent-dim); }
.summary-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -.03em;
}
.summary-total .summary-number { color: var(--accent); }
.summary-label { margin-top: 4px; font-size: .78rem; color: var(--text-3); }

/* ─── Category blocks ──────────────────── */
.categories { display: flex; flex-direction: column; gap: 36px; margin-top: 32px; }
.category-block {}
.category-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.category-count { color: var(--text-3); font-weight: 400; font-size: .9rem; }

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 10px;
}
.result-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 12px 16px;
  transition: border-color var(--trans), background var(--trans), transform var(--trans);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
}
.result-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-h);
  transform: translateY(-1px);
  color: var(--text);
}
.result-site {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 110px;
  flex-shrink: 0;
}
.site-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.site-name { font-size: .88rem; font-weight: 600; white-space: nowrap; }
.result-url {
  flex: 1;
  font-size: .78rem;
  color: var(--text-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  font-family: var(--mono);
}
.result-arrow { color: var(--text-3); flex-shrink: 0; transition: color var(--trans); }
.result-card:hover .result-arrow { color: var(--accent); }

/* ─── Empty state ──────────────────────── */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-2);
}
.empty-state svg { margin: 0 auto 24px; color: var(--text-3); }
.empty-state h2 { font-size: 1.5rem; margin-bottom: 12px; color: var(--text); }
.empty-state p { max-width: 460px; margin: 0 auto 32px; font-size: .95rem; }

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 60px 0 32px;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  display: inline-flex;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -.02em;
}
.footer-logo strong { color: var(--accent); }
.footer-brand p { font-size: .88rem; color: var(--text-2); line-height: 1.6; }
.footer-legal-note {
  margin-top: 12px !important;
  font-size: .78rem !important;
  color: var(--text-3) !important;
}
.footer-col h3 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .88rem; color: var(--text-2); transition: color var(--trans); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  font-size: .8rem;
  color: var(--text-3);
}
.bmc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px 16px;
  background: #ffdd00;
  color: #1a1a1a;
  font-size: .82rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background var(--trans), transform var(--trans);
}
.bmc-btn:hover { background: #ffc500; transform: translateY(-1px); }

/* ═══════════════════════════════════════
   PROFILS ENRICHIS
   ═══════════════════════════════════════ */

.enriched-section {
  margin-bottom: 40px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -.01em;
}
.section-title svg { color: var(--accent); flex-shrink: 0; }

.enriched-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.profile-card:hover {
  border-color: var(--accent);
  box-shadow: var(--accent-glow);
}

.profile-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--border);
}

.profile-avatar-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 2px solid var(--border-l);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  overflow: hidden;
}
.profile-avatar-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.profile-avatar-icon { flex-shrink: 0; }

.profile-card-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  width: fit-content;
}

.profile-display-name {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-card-body {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.profile-field {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: .82rem;
  color: var(--text-2);
  min-width: 0;
}
.pf-icon {
  color: var(--text-3);
  flex-shrink: 0;
  margin-top: 1px;
}
.profile-field span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-bio {
  font-size: .82rem;
  color: var(--text-2);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.profile-stats-row {
  display: flex;
  gap: 16px;
  margin-top: 2px;
}
.profile-stat {
  font-size: .8rem;
  color: var(--text-2);
}
.profile-stat strong {
  color: var(--accent);
  font-weight: 700;
  margin-right: 3px;
}

.profile-card-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--border);
}

.btn-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  cursor: pointer;
  transition: color var(--trans);
}
.btn-profile-link:hover { color: #fff; text-decoration: underline; }
.btn-profile-link svg { flex-shrink: 0; }

/* ═══════════════════════════════════════
   SYNTHESIS CARD
   ═══════════════════════════════════════ */

.synthesis-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.synthesis-card.confidence-high   { border-left-color: #22c55e; }
.synthesis-card.confidence-medium { border-left-color: #f59e0b; }
.synthesis-card.confidence-low    { border-left-color: var(--border); }

.synthesis-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.synthesis-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  flex-shrink: 0;
}
.synthesis-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
}
.confidence-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: 100px;
  background: var(--accent-dim);
  color: var(--accent);
}
.confidence-high  .confidence-badge { background: rgba(34,197,94,.15);  color: #22c55e; }
.confidence-medium .confidence-badge { background: rgba(245,158,11,.15); color: #f59e0b; }

.synthesis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.synthesis-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.synthesis-field-wide { grid-column: 1 / -1; }
.syn-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.syn-label svg { flex-shrink: 0; }
.syn-value {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
}
.syn-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.syn-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 500;
  background: var(--bg-card-h);
  color: var(--text);
  border: 1px solid var(--border);
}
.syn-tag-email {
  background: rgba(34,197,94,.1);
  color: #22c55e;
  border-color: rgba(34,197,94,.25);
  font-family: monospace;
}
.syn-tag-linked {
  background: var(--accent-dim);
  color: var(--text-muted);
  border-color: transparent;
}
.syn-tag-link {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--trans);
}
.syn-tag-link:hover { background: rgba(99,102,241,.25); }

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */

@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fade-in .4s var(--ease) both; }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; }
  .stat-card { flex: 1; min-width: 100px; }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero { padding: 64px 0 56px; }
  .nav-links .nav-link { display: none; }
  .steps { flex-direction: column; }
  .step-arrow { display: none; }
  .results-title-row { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .platforms-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .search-box { padding: 4px 4px 4px 12px; }
  .hero h1 { font-size: 1.75rem; }
  .hero-stats { display: none; }
  .results-grid { grid-template-columns: 1fr; }
  .enriched-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════
   RÉSUMÉ DE VALIDATION (card synthèse)
═══════════════════════════════════════ */
.validation-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  margin-top: .5rem;
}
.vsummary-tag {
  font-size: .72rem;
  font-weight: 600;
  padding: .18rem .55rem;
  border-radius: 999px;
}
.vsummary-ok    { background: rgba(34,197,94,.15);  color: #22c55e; }
.vsummary-doubt { background: rgba(234,179,8,.12);  color: #eab308; }
.vsummary-no    { background: rgba(239,68,68,.12);  color: #ef4444; }
.vsummary-hint {
  font-size: .72rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ═══════════════════════════════════════
   CENTRES D'INTÉRÊT
═══════════════════════════════════════ */
.interest-section {
  margin-bottom: 2rem;
}
.interest-bars {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}
.interest-bar-row {
  display: grid;
  grid-template-columns: 1.5rem 10rem 1fr 2rem;
  align-items: center;
  gap: .75rem;
}
.interest-icon { font-size: 1rem; }
.interest-label { font-size: .85rem; color: var(--text-muted); white-space: nowrap; }
.interest-bar-wrap {
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
}
.interest-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  transition: width .4s ease;
}
.interest-count {
  font-size: .8rem;
  color: var(--text-muted);
  text-align: right;
}

/* ═══════════════════════════════════════
   TIMELINE
═══════════════════════════════════════ */
.timeline-section { margin-bottom: 2rem; }
.timeline-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
  min-width: 80px;
}
.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 7px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--border);
}
.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  position: relative;
  z-index: 1;
}
.timeline-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: .5rem;
  gap: .2rem;
}
.timeline-platform {
  font-size: .7rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .04em;
}
.timeline-date {
  font-size: .68rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════
   VALIDATION DE PROFILS
═══════════════════════════════════════ */
.profile-card-footer {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: .75rem 1rem;
  border-top: 1px solid var(--border);
}
.val-actions {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
}
.val-btn {
  font-size: .72rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.val-btn:hover { border-color: var(--text-muted); color: var(--text); }
.val-btn-ok.active  { background: rgba(34,197,94,.15); border-color: #22c55e; color: #22c55e; }
.val-btn-doubt.active { background: rgba(234,179,8,.12); border-color: #eab308; color: #eab308; }
.val-btn-no.active  { background: rgba(239,68,68,.12); border-color: #ef4444; color: #ef4444; }

.profile-card.val-confirmed { border-color: rgba(34,197,94,.4); }
.profile-card.val-doubtful  { border-color: rgba(234,179,8,.4); }
.profile-card.val-rejected  { opacity: .5; border-color: rgba(239,68,68,.3); }

/* ═══════════════════════════════════════
   PASTEBIN MENTIONS
═══════════════════════════════════════ */
.paste-section { margin-bottom: 2rem; }
.paste-list { display: flex; flex-direction: column; gap: 0.5rem; }
.paste-link {
  display: block;
  padding: 0.6rem 0.9rem;
  background: var(--surface);
  border: 1px solid rgba(245, 158, 11, .3);
  border-radius: 8px;
  color: #fcd34d;
  font-size: 0.82rem;
  font-family: monospace;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: border-color .15s;
}
.paste-link:hover { border-color: #f59e0b; }

/* ═══════════════════════════════════════
   VARIATIONS DE PSEUDO
═══════════════════════════════════════ */
.variations-section {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.variations-hint {
  font-size: .85rem;
  color: var(--text-muted);
  margin: .25rem 0 1rem;
}
.variations-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.variation-tag {
  font-size: .82rem;
  padding: .3rem .8rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
  transition: all .15s;
  font-family: monospace;
  appearance: none;
  -webkit-appearance: none;
}
.variation-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(99,102,241,.08);
}
