/* ==========================================================================
   AdaptCV (édité par EVOLYS SASU) — Feuille de styles
   Palette EVOLYS : Bleu Nuit (#071122 / #0c1c36), Bleu Royal (#0f52ba),
   Cyan Tech (#06b6d4 / #22d3ee), Émeraude (#059669), Or (#d97706)
   ========================================================================== */

:root {
  --navy-950: #071122;
  --navy-900: #0c1c36;
  --navy-800: #132a4e;
  --navy-700: #1d3c6b;

  --blue-700: #0d4399;
  --blue-600: #0f52ba;
  --blue-500: #186be6;
  --blue-100: #e6f0ff;
  --blue-50: #f2f7ff;

  --cyan-600: #0891b2;
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --cyan-100: #e0f9fe;

  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-100: #d1fae5;
  --emerald-50: #ecfdf5;

  --amber-600: #d97706;
  --amber-100: #fef3c7;
  --amber-50: #fffbeb;

  --rose-600: #dc2626;
  --rose-100: #fee2e2;
  --rose-50: #fef2f2;

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 12px -2px rgba(7, 17, 34, 0.06), 0 1px 3px rgba(7, 17, 34, 0.04);
  --shadow-md: 0 14px 32px -8px rgba(7, 17, 34, 0.12), 0 4px 10px -2px rgba(7, 17, 34, 0.04);
  --shadow-lg: 0 28px 60px -16px rgba(7, 17, 34, 0.25);

  --container-max: 1220px;
  --header-h: 74px;
  --transition: 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--slate-700);
  background: var(--slate-50);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue-600);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--blue-500); }

h1, h2, h3, h4 {
  color: var(--navy-900);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-top: 0;
}

.mono { font-family: var(--font-mono); }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 22px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-900);
  color: #fff;
  padding: 10px 16px;
  z-index: 9999;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Bandeau Bêta */
.beta-banner {
  background: linear-gradient(90deg, #0c1c36 0%, #0f52ba 50%, #0891b2 100%);
  color: #ffffff;
  text-align: center;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.beta-banner strong { color: #fef08a; }
.beta-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 8px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(7, 17, 34, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.brand-sub {
  font-size: 12px;
  color: var(--slate-400);
  font-weight: 600;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 10px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 600;
}
.main-nav a:hover { color: var(--cyan-400); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  border-radius: var(--radius-xs);
  padding: 7px 9px;
  cursor: pointer;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14.5px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: var(--radius-md); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--cyan-600) 100%);
  color: #fff;
  box-shadow: 0 8px 22px -6px rgba(15, 82, 186, 0.45);
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -6px rgba(6, 182, 212, 0.5);
  color: #fff;
}

.btn-emerald {
  background: var(--emerald-600);
  color: #fff;
}
.btn-emerald:hover:not(:disabled) {
  background: var(--emerald-700);
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.btn-outline-light:hover {
  border-color: var(--cyan-400);
  color: var(--cyan-400);
}

.btn-outline {
  background: #fff;
  border-color: var(--slate-300);
  color: var(--navy-900);
}
.btn-outline:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
  background: var(--blue-50);
}

/* Hero + Atelier */
.hero {
  background: radial-gradient(circle at 18% 12%, rgba(24, 107, 230, 0.26) 0%, transparent 45%),
              radial-gradient(circle at 85% 20%, rgba(6, 182, 212, 0.2) 0%, transparent 40%),
              linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: #fff;
  padding: 54px 0 72px;
}

.hero-top {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 38px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(6, 182, 212, 0.14);
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: var(--cyan-400);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.25);
}

.hero h1 {
  color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.text-cyan { color: var(--cyan-400); }

.hero-lead {
  color: rgba(226, 232, 240, 0.88);
  font-size: 16.5px;
  margin: 0 auto 20px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  font-size: 13px;
  color: var(--slate-300);
}
.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Atelier 2 colonnes */
.studio-card {
  background: #ffffff;
  color: var(--slate-700);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.studio-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--slate-200);
}
.studio-toolbar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy-900);
  font-size: 16px;
}

.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.input-panel {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.panel-head h2 {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue-600);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Onglets */
.seg-tabs {
  display: inline-flex;
  background: var(--slate-200);
  padding: 3px;
  border-radius: var(--radius-sm);
  gap: 3px;
}
.seg-tab {
  border: none;
  background: transparent;
  color: var(--slate-600);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 7px;
  cursor: pointer;
  transition: all var(--transition);
}
.seg-tab.active {
  background: #fff;
  color: var(--navy-900);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.field-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.input-row {
  display: flex;
  gap: 8px;
}

input[type="url"],
input[type="text"],
textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--slate-800);
  background: #fff;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(15, 82, 186, 0.14);
}
textarea {
  resize: vertical;
  min-height: 175px;
  line-height: 1.5;
}

.hint-text {
  font-size: 12.5px;
  color: var(--slate-500);
  margin: 0;
}

/* Dropzone CV */
.dropzone {
  border: 2px dashed var(--slate-300);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 24px 18px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}
.dropzone:hover, .dropzone.dragover {
  border-color: var(--blue-600);
  background: var(--blue-50);
}
.dropzone-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dropzone strong {
  display: block;
  color: var(--navy-900);
  font-size: 14.5px;
  margin-bottom: 4px;
}
.dropzone span {
  font-size: 12.5px;
  color: var(--slate-500);
}

.file-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--emerald-50);
  border: 1px solid #a7f3d0;
  color: var(--emerald-700);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
}
.file-chip button {
  background: transparent;
  border: none;
  color: var(--emerald-700);
  font-weight: 800;
  cursor: pointer;
  font-size: 15px;
}

.studio-submit-bar {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--slate-200);
}
.privacy-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--slate-600);
}

.status-banner {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
}
.status-banner.error {
  background: var(--rose-50);
  border: 1px solid #fecaca;
  color: var(--rose-600);
}
.status-banner.info {
  background: var(--blue-50);
  border: 1px solid #bfdbfe;
  color: var(--blue-700);
}
.status-banner.success {
  background: var(--emerald-50);
  border: 1px solid #a7f3d0;
  color: var(--emerald-700);
}

/* Dashboard Résultats */
.results-section {
  padding: 56px 0;
}

.results-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.results-header h2 {
  margin: 0 0 4px;
  font-size: 1.65rem;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 26px;
}

.kpi-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 18px;
}

.gauge-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
}
.gauge-wrap svg {
  transform: rotate(-90deg);
  width: 88px;
  height: 88px;
}
.gauge-bg {
  fill: none;
  stroke: var(--slate-200);
  stroke-width: 8;
}
.gauge-fg {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.7s ease;
}
.gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 19px;
  color: var(--navy-900);
}
.gauge-center small {
  font-size: 10px;
  font-weight: 700;
  color: var(--slate-500);
}

.kpi-meta h3 {
  font-size: 15px;
  margin: 0 0 4px;
}
.kpi-delta {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background: var(--emerald-100);
  color: var(--emerald-700);
  margin-bottom: 6px;
}
.kpi-sub {
  font-size: 12.5px;
  color: var(--slate-500);
  margin: 0;
}

/* Tabs Résultats */
.result-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--slate-200);
  padding-bottom: 12px;
}
.result-tab-btn {
  background: #fff;
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
}
.result-tab-btn.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

.card-box {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.two-col-audit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Barres d'axes */
.axis-row {
  margin-bottom: 14px;
}
.axis-row-top {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--navy-900);
}
.axis-bar {
  height: 8px;
  background: var(--slate-200);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.axis-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-500));
}

/* Badges mots-clés & alertes */
.chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.skill-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
}
.skill-chip.ok {
  background: var(--emerald-100);
  color: var(--emerald-700);
}
.skill-chip.miss {
  background: var(--rose-100);
  color: var(--rose-600);
}
.skill-chip.pref {
  background: var(--amber-100);
  color: var(--amber-600);
}
.skill-chip.interactive {
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
}
.skill-chip.interactive.selected {
  background: var(--blue-600);
  color: #fff;
}

.audit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.audit-item {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  border-left: 4px solid var(--slate-400);
  background: var(--slate-50);
}
.audit-item.critical { border-left-color: var(--rose-600); background: var(--rose-50); }
.audit-item.warning  { border-left-color: var(--amber-600); background: var(--amber-50); }
.audit-item.info     { border-left-color: var(--blue-600); background: var(--blue-50); }
.audit-item.success  { border-left-color: var(--emerald-600); background: var(--emerald-50); }

/* Prévisualisation & Éditeur Markdown */
.md-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.md-preview {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  line-height: 1.65;
  color: var(--slate-800);
}
.md-preview h1 {
  font-size: 1.65rem;
  border-bottom: 2px solid var(--navy-900);
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.md-preview h2 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue-700);
  border-bottom: 1px solid var(--slate-200);
  padding-bottom: 4px;
  margin-top: 22px;
  margin-bottom: 10px;
}
.md-preview h3 {
  font-size: 1rem;
  color: var(--navy-900);
  margin: 14px 0 6px;
}
.md-preview ul {
  margin: 6px 0 12px;
  padding-left: 20px;
}
.md-raw-editor {
  width: 100%;
  min-height: 520px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.55;
  background: var(--navy-950);
  color: #e2e8f0;
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--navy-700);
}

/* Sections Méthodo, Tarifs, FAQ */
.section {
  padding: 64px 0;
}
.section-alt {
  background: #fff;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}
.section-head h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 24px;
}
.feature-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

  .pricing-card-wrap {
    max-width: 680px;
    margin: 0 auto;
    background: linear-gradient(145deg, var(--navy-950) 0%, var(--navy-800) 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(34, 211, 238, 0.35);
  }
  .pricing-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 980px;
    margin: 0 auto;
  }
  .pricing-card-light {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
  }
  .pricing-card-light h3 { font-size: 1.35rem; margin-bottom: 6px; }
  .pricing-card-light .pricing-list {
    grid-template-columns: 1fr;
    color: var(--slate-700);
    margin-top: 8px;
  }
  .pricing-card-pro {
    background: linear-gradient(145deg, var(--navy-950) 0%, var(--navy-800) 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(34, 211, 238, 0.4);
    display: flex;
    flex-direction: column;
  }
  .pricing-card-pro h3 { color: #fff; font-size: 1.35rem; margin-bottom: 6px; }
  .pricing-card-pro .pricing-list { grid-template-columns: 1fr; margin-top: 8px; }

  /* Barre compte dans le header */
  .account-bar {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .account-user-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
  }

  /* Option de sauvegarde dans l'atelier */
  .save-toggle-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--navy-900);
    cursor: pointer;
  }
  .save-toggle-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--blue-600);
    cursor: pointer;
  }

  /* Historique des 50 dernières demandes */
  .history-section {
    padding: 48px 0;
    background: #fff;
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
  }
  .history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .history-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 20px;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
  }
  .history-item-main h4 {
    margin: 0 0 4px;
    font-size: 15.5px;
  }
  .history-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    font-size: 12.5px;
    color: var(--slate-500);
  }
  .history-item-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Modale Auth / Suppression RGPD */
  .modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(7, 17, 34, 0.72);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  .modal-card {
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-lg);
    position: relative;
    max-height: 92vh;
    overflow-y: auto;
  }
  .modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--slate-200);
    background: #fff;
    color: var(--slate-600);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
  }
  .modal-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
  }
  .modal-form input[type="email"],
  .modal-form input[type="password"],
  .modal-form input[type="text"] {
    width: 100%;
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--slate-800);
    background: #fff;
    border: 1px solid var(--slate-300);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
  }
.pricing-card-wrap h3 { color: #fff; font-size: 1.4rem; }
.price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin: 14px 0 18px;
}
.price-old {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-400);
  text-decoration: line-through;
}
.price-now {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--cyan-400);
}
.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  font-size: 14px;
  color: var(--slate-200);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}
.faq-item summary {
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
}
.faq-item p {
  margin: 10px 0 0;
  font-size: 14.5px;
  color: var(--slate-600);
}

/* Pages légales */
.page-hero {
  background: linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: #fff;
  padding: 46px 0;
}
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero p { color: var(--slate-300); margin: 0; }

.legal-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 32px;
  margin: 34px 0;
  box-shadow: var(--shadow-sm);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.legal-table th, .legal-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--slate-200);
  text-align: left;
  font-size: 14px;
}
.legal-table th {
  background: var(--slate-50);
  color: var(--navy-900);
  width: 28%;
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: var(--slate-400);
  padding: 40px 0 28px;
  font-size: 13.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-links a { color: var(--slate-300); }
.footer-links a:hover { color: var(--cyan-400); }

.hidden { display: none !important; }

/* Responsive */
@media (max-width: 960px) {
  .studio-grid,
  .kpi-grid,
  .two-col-audit,
  .features-grid,
  .pricing-list,
  .pricing-grid-2 {
    grid-template-columns: 1fr;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--navy-950);
    flex-direction: column;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .header-actions { display: none; }
}
