/* ═════════════════════════════════════════════════════════════════
   seo_technique.css — composants visuels uniques à /seo-technique/
   Thème : audit SEO en direct · SERP Google · Lighthouse · Search Console
   ─────────────────────────────────────────────────────────────────
   Esthétique : un outil d'audit pro plutôt qu'une page marketing.
   Données brutes, gauges circulaires, rapports d'erreurs, terminal
   de crawl, validateur schema.org, keyword tracker, sparklines.
═════════════════════════════════════════════════════════════════ */


/* ─────────────────────────────────────────────────────────────────
   GOOGLE PALETTE (locale, n'écrase rien de la palette projet)
───────────────────────────────────────────────────────────────── */
:root {
  --g-blue:    #1a73e8;
  --g-blue-d:  #1558b8;
  --g-green:   #006621;
  --g-yellow:  #f4b400;
  --g-red:     #b00020;
  --g-grey-1:  #70757a;
  --g-grey-2:  #5f6368;
  --g-grey-3:  #dadce0;
  --g-bg:      #ffffff;
  --g-bg-2:    #f8f9fa;
}


/* ─────────────────────────────────────────────────────────────────
   1 · SERP HEADER — barre haut Google (logo + search input)
───────────────────────────────────────────────────────────────── */
.serp-header {
  background: var(--g-bg);
  border: 1px solid var(--g-grey-3);
  border-radius: 14px;
  padding: 1.1rem 1.4rem 1.3rem;
  box-shadow: 0 14px 32px -20px rgba(12, 15, 26, 0.18);
  position: relative;
  overflow: hidden;
}
.serp-header::before {
  /* Onglet "Tous" surligné bleu en bas — comme le vrai Google */
  content: "";
  position: absolute;
  bottom: 0; left: 1.4rem;
  width: 38px;
  height: 3px;
  background: var(--g-blue);
}

.serp-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.serp-logo span:nth-child(1) { color: #4285f4; }
.serp-logo span:nth-child(2) { color: #ea4335; }
.serp-logo span:nth-child(3) { color: #fbbc05; }
.serp-logo span:nth-child(4) { color: #4285f4; }
.serp-logo span:nth-child(5) { color: #34a853; }
.serp-logo span:nth-child(6) { color: #ea4335; }

.serp-search-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--g-grey-3);
  border-radius: 999px;
  background: var(--g-bg);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.95rem;
  color: #202124;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.serp-search-bar:hover,
.serp-search-bar:focus-within {
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.18);
  border-color: rgba(223, 225, 229, 0);
}
.serp-search-bar .search-q {
  flex: 1;
  font-family: "Inter", sans-serif;
  color: #202124;
}
.serp-search-bar .search-cursor {
  display: inline-block;
  width: 1px;
  background: var(--g-blue);
  height: 1.15em;
  vertical-align: middle;
  margin-left: 1px;
  animation: g-cursor 1s steps(2) infinite;
}
@keyframes g-cursor {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}
.serp-search-bar .search-mic {
  color: var(--g-blue);
  font-size: 1rem;
}
.serp-search-bar .search-loupe {
  color: var(--g-blue);
  font-size: 1rem;
}

.serp-tabs {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.95rem;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  color: var(--g-grey-2);
}
.serp-tabs .tab {
  padding-bottom: 0.7rem;
  cursor: pointer;
}
.serp-tabs .tab.is-active {
  color: var(--g-blue);
  font-weight: 500;
}
.serp-tabs .tab i { margin-right: 0.35rem; opacity: 0.7; }

.serp-stats {
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  color: var(--g-grey-1);
  margin: 0.75rem 0 1.1rem;
  letter-spacing: 0;
  text-transform: none;
}


/* ─────────────────────────────────────────────────────────────────
   2 · SERP RESULT — un bloc résultat (premier = nous, autres = concurrents)
───────────────────────────────────────────────────────────────── */
.serp-result {
  background: var(--g-bg);
  padding: 0.65rem 0 1.1rem;
  font-family: "Inter", sans-serif;
  position: relative;
  border-radius: 8px;
}
.serp-result.is-featured {
  background: linear-gradient(180deg, rgba(26, 115, 232, 0.04), transparent);
  padding: 0.9rem 1rem 1.1rem;
  border: 1px solid rgba(26, 115, 232, 0.15);
  margin-bottom: 0.6rem;
}
.serp-result.is-faded {
  opacity: 0.6;
  filter: grayscale(0.25);
}
.serp-result + .serp-result { border-top: 1px solid rgba(218, 220, 224, 0.5); padding-top: 1rem; }
.serp-result.is-featured + .serp-result { border-top: none; }

.serp-result-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.15rem;
}
.serp-result-favicon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5a1224, #3a0a17);
  color: #f5ecd9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 0.78rem;
  font-weight: 500;
  flex: none;
}
.serp-result-favicon.is-concurrent {
  background: var(--g-grey-3);
  color: var(--g-grey-2);
}
.serp-result-domain {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.serp-result-domain .name {
  font-size: 0.78rem;
  color: #202124;
  line-height: 1.1;
}
.serp-result-breadcrumb {
  font-size: 0.7rem;
  color: var(--g-grey-2);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  line-height: 1;
}
.serp-result-breadcrumb .sep {
  opacity: 0.55;
  font-size: 0.65rem;
}
.serp-result-title {
  font-family: "Inter", sans-serif;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--g-blue);
  margin-top: 0.25rem;
  font-weight: 400;
  cursor: pointer;
}
.serp-result-title:hover { text-decoration: underline; }
.serp-result-title.is-purple { color: #681da8; }

.serp-result-desc {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #4d5156;
  margin-top: 0.3rem;
}
.serp-result-desc strong { color: #202124; font-weight: 600; }
.serp-result-desc .hl {
  font-weight: 700;
  color: #202124;
}

/* Rich snippet (étoiles + avis + prix) */
.serp-result-rich {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.4rem;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  color: #4d5156;
}
.serp-result-rich .rich-stars { color: #faab00; letter-spacing: 0.05em; }
.serp-result-rich .rich-sep { color: var(--g-grey-1); }
.serp-result-rich .rich-num { color: #202124; font-weight: 500; }
.serp-result-rich .rich-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  background: rgba(0, 102, 33, 0.12);
  color: var(--g-green);
}

/* Sitelinks 2×2 sous le résultat featured */
.serp-result-sitelinks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.4rem;
  margin-top: 0.85rem;
  padding-top: 0.4rem;
}
.serp-result-sitelinks .sl {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
}
.serp-result-sitelinks .sl-title {
  color: var(--g-blue);
  line-height: 1.2;
  display: block;
  cursor: pointer;
}
.serp-result-sitelinks .sl-title:hover { text-decoration: underline; }
.serp-result-sitelinks .sl-desc {
  font-size: 0.72rem;
  color: #4d5156;
  line-height: 1.4;
  margin-top: 1px;
}

/* Petite badge "AD" pour les résultats sponso concurrents */
.serp-ad-pill {
  display: inline-flex;
  align-items: center;
  font-family: "Inter", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border: 1.2px solid #202124;
  color: #202124;
  border-radius: 3px;
  margin-right: 0.5rem;
  letter-spacing: 0.04em;
}


/* ─────────────────────────────────────────────────────────────────
   3 · LIGHTHOUSE GAUGES — anneaux circulaires SVG
───────────────────────────────────────────────────────────────── */
.lighthouse-panel {
  background: #fdf6e3;
  border: 1px solid rgba(12, 15, 26, 0.1);
  border-radius: 14px;
  padding: 1.5rem 1.4rem 1.4rem;
  box-shadow: 0 14px 32px -20px rgba(12, 15, 26, 0.2);
  position: relative;
}
.lighthouse-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px dashed rgba(12, 15, 26, 0.15);
  margin-bottom: 1.1rem;
}
.lighthouse-panel-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b6557;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.lighthouse-panel-title strong { color: #0c0f1a; font-weight: 700; }
.lighthouse-panel-url {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  color: #6b6557;
  letter-spacing: 0.04em;
  background: rgba(12, 15, 26, 0.05);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.lighthouse-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
@media (max-width: 480px) { .lighthouse-grid { grid-template-columns: repeat(2, 1fr); } }

.lighthouse-gauge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.3rem;
}
.lighthouse-gauge-ring {
  position: relative;
  width: 76px;
  height: 76px;
}
.lighthouse-gauge-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.lighthouse-gauge-ring .bg {
  fill: none;
  stroke: rgba(12, 15, 26, 0.08);
  stroke-width: 6;
}
.lighthouse-gauge-ring .fg {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.lighthouse-gauge.is-good .lighthouse-gauge-ring .fg  { stroke: #0cce6b; }
.lighthouse-gauge.is-okay .lighthouse-gauge-ring .fg  { stroke: var(--g-yellow); }
.lighthouse-gauge.is-fail .lighthouse-gauge-ring .fg  { stroke: var(--g-red); }
.lighthouse-gauge-score {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.45rem;
  font-weight: 500;
  color: #0c0f1a;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.lighthouse-gauge.is-good .lighthouse-gauge-score { color: #0a9c52; }
.lighthouse-gauge.is-okay .lighthouse-gauge-score { color: #b88500; }
.lighthouse-gauge.is-fail .lighthouse-gauge-score { color: var(--g-red); }
.lighthouse-gauge-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6557;
  text-align: center;
  line-height: 1.25;
}


/* ─────────────────────────────────────────────────────────────────
   4 · CWV — Core Web Vitals (LCP, CLS, INP, FCP) en lignes barres
───────────────────────────────────────────────────────────────── */
.cwv-stack {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(12, 15, 26, 0.12);
}
.cwv-row {
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  align-items: center;
  gap: 0.7rem;
}
.cwv-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6557;
  font-weight: 600;
}
.cwv-bar {
  position: relative;
  height: 8px;
  background: rgba(12, 15, 26, 0.06);
  border-radius: 999px;
  overflow: hidden;
}
.cwv-bar-fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  border-radius: 999px;
  transition: width 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.cwv-row.is-good .cwv-bar-fill { background: linear-gradient(90deg, #0cce6b, #34a853); }
.cwv-row.is-okay .cwv-bar-fill { background: linear-gradient(90deg, var(--g-yellow), #f0a500); }
.cwv-row.is-fail .cwv-bar-fill { background: linear-gradient(90deg, #e04a2a, var(--g-red)); }

.cwv-bar-marker {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 2px;
  background: rgba(12, 15, 26, 0.5);
  border-radius: 1px;
}
.cwv-bar-marker::after {
  content: "▼";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.55rem;
  color: rgba(12, 15, 26, 0.5);
}
.cwv-value {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #0c0f1a;
}
.cwv-row.is-good .cwv-value { color: #0a9c52; }
.cwv-row.is-okay .cwv-value { color: #b88500; }
.cwv-row.is-fail .cwv-value { color: var(--g-red); }


/* ─────────────────────────────────────────────────────────────────
   5 · AUDIT TERMINAL — bloc "console" qui scrolle un faux crawl
───────────────────────────────────────────────────────────────── */
.audit-terminal {
  background: #0c0f1a;
  border: 1px solid rgba(245, 236, 217, 0.1);
  border-radius: 10px;
  overflow: hidden;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  position: relative;
  box-shadow: 0 22px 50px -22px rgba(12, 15, 26, 0.7);
}
.audit-terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  background: #1a1a26;
  border-bottom: 1px solid rgba(245, 236, 217, 0.08);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: rgba(245, 236, 217, 0.55);
}
.audit-terminal-dots {
  display: inline-flex;
  gap: 0.3rem;
  margin-right: 0.4rem;
}
.audit-terminal-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.audit-terminal-dots span:nth-child(1) { background: #ff5f57; }
.audit-terminal-dots span:nth-child(2) { background: #febc2e; }
.audit-terminal-dots span:nth-child(3) { background: #28c840; }
.audit-terminal-title {
  flex: 1;
  text-align: center;
  text-transform: uppercase;
  color: rgba(245, 236, 217, 0.55);
}
.audit-terminal-refresh {
  background: transparent;
  border: 1px solid rgba(245, 236, 217, 0.2);
  color: rgba(245, 236, 217, 0.75);
  font-family: inherit;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.audit-terminal-refresh:hover {
  background: #e2a8a0;
  color: #0c0f1a;
  border-color: #e2a8a0;
}
.audit-terminal-body {
  padding: 1rem 1.1rem 1.2rem;
  font-size: 0.78rem;
  line-height: 1.65;
  color: #d8dee9;
  min-height: 16rem;
  max-height: 22rem;
  overflow: hidden;
  position: relative;
}
.audit-terminal-line {
  display: flex;
  gap: 0.55rem;
  white-space: pre-wrap;
}
.audit-terminal-line .ts { color: rgba(245, 236, 217, 0.4); flex: none; }
.audit-terminal-line .ok { color: #0cce6b; }
.audit-terminal-line .warn { color: var(--g-yellow); }
.audit-terminal-line .err { color: #ff6e6e; }
.audit-terminal-line .info { color: #88c0d0; }
.audit-terminal-line .dim { color: rgba(245, 236, 217, 0.55); }
.audit-terminal-line .accent { color: #e2a8a0; }
.audit-terminal-cursor {
  display: inline-block;
  width: 8px;
  height: 1em;
  background: #e2a8a0;
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: g-cursor 0.85s steps(2) infinite;
}


/* ─────────────────────────────────────────────────────────────────
   6 · AUDIT FINDING — ligne de rapport (severity P0/P1/P2 + count)
───────────────────────────────────────────────────────────────── */
.audit-findings {
  background: #fdf6e3;
  border: 1px solid rgba(12, 15, 26, 0.1);
  border-radius: 12px;
  overflow: hidden;
}
.audit-findings-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.8rem 1.1rem;
  background: linear-gradient(180deg, #1a1a26, #0c0f1a);
  color: #f5ecd9;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.audit-findings-head .counts {
  display: inline-flex;
  gap: 0.5rem;
  font-size: 0.6rem;
}
.audit-findings-head .counts span {
  padding: 0.1rem 0.45rem;
  border-radius: 3px;
}
.audit-findings-head .c-p0 { background: rgba(176, 0, 32, 0.85); color: #fff; }
.audit-findings-head .c-p1 { background: rgba(244, 180, 0, 0.85); color: #1a1a26; }
.audit-findings-head .c-p2 { background: rgba(13, 153, 102, 0.8); color: #fff; }

.audit-finding {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(12, 15, 26, 0.06);
  transition: background 0.2s;
}
.audit-finding:last-child { border-bottom: none; }
.audit-finding:hover { background: rgba(245, 236, 217, 0.5); }

.audit-finding-severity {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  text-align: center;
  text-transform: uppercase;
}
.audit-finding-severity.is-p0 { background: var(--g-red); color: #fff; }
.audit-finding-severity.is-p1 { background: var(--g-yellow); color: #2a1500; }
.audit-finding-severity.is-p2 { background: rgba(12, 15, 26, 0.78); color: #f5ecd9; }

.audit-finding-body { min-width: 0; }
.audit-finding-title {
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
  color: #0c0f1a;
  line-height: 1.25;
  font-weight: 500;
}
.audit-finding-title em { color: #5a1224; font-style: italic; }
.audit-finding-desc {
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  color: rgba(12, 15, 26, 0.75);
  margin-top: 0.25rem;
  line-height: 1.5;
}
.audit-finding-count {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.6rem;
  color: #5a1224;
  line-height: 1;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.audit-finding-count small {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.55rem;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6557;
  margin-top: 0.15rem;
}


/* ─────────────────────────────────────────────────────────────────
   7 · CHECKLIST QUALITÉ — items style "✓ checked" éditorial
───────────────────────────────────────────────────────────────── */
.qa-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.qa-check {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.1rem;
  background: #fdf6e3;
  border: 1px solid rgba(12, 15, 26, 0.08);
  border-left: 3px solid #6b8169;
  border-radius: 8px;
  transition: border-left-color 0.3s, transform 0.3s;
}
.qa-check:hover { transform: translateX(3px); }
.qa-check-box {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(107, 129, 105, 0.15);
  color: #4d5e4b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.qa-check-title {
  font-family: "Fraunces", serif;
  font-size: 1rem;
  color: #0c0f1a;
  line-height: 1.25;
}
.qa-check-title em { color: #5a1224; font-style: italic; }
.qa-check-desc {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  color: rgba(12, 15, 26, 0.7);
  line-height: 1.5;
  margin-top: 0.2rem;
}
.qa-check-status {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4d5e4b;
  background: rgba(107, 129, 105, 0.1);
  padding: 0.25rem 0.55rem;
  border-radius: 3px;
  white-space: nowrap;
}


/* ─────────────────────────────────────────────────────────────────
   8 · SCHEMA VALIDATOR — mockup validateur schema.org JSON-LD
───────────────────────────────────────────────────────────────── */
.schema-validator {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
  background: #fdf6e3;
  border: 1px solid rgba(12, 15, 26, 0.12);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 22px 48px -24px rgba(12, 15, 26, 0.28);
}
@media (max-width: 900px) { .schema-validator { grid-template-columns: 1fr; } }

.schema-jsonld {
  background: #0c0f1a;
  color: #d8dee9;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  line-height: 1.7;
  padding: 1.25rem 1.4rem;
  overflow: auto;
  max-height: 26rem;
}
.schema-jsonld-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed rgba(245, 236, 217, 0.15);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 236, 217, 0.55);
}
.schema-jsonld-head .lang-pill {
  background: rgba(226, 168, 160, 0.15);
  color: #e2a8a0;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
}
.schema-jsonld pre {
  margin: 0;
  white-space: pre;
  word-wrap: normal;
}
.schema-jsonld .k { color: #88c0d0; }  /* key */
.schema-jsonld .s { color: #a3be8c; }  /* string */
.schema-jsonld .n { color: #d08770; }  /* number */
.schema-jsonld .b { color: #b48ead; }  /* boolean */
.schema-jsonld .p { color: rgba(245, 236, 217, 0.45); } /* punctuation */
.schema-jsonld .c { color: rgba(245, 236, 217, 0.35); font-style: italic; } /* comment */
.schema-jsonld .t { color: #e2a8a0; }  /* @type */

.schema-result {
  padding: 1.25rem 1.4rem 1.4rem;
  background: rgba(245, 236, 217, 0.5);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.schema-result-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  background: rgba(13, 153, 102, 0.1);
  border: 1px solid rgba(13, 153, 102, 0.3);
  border-radius: 6px;
  color: #0a9c52;
}
.schema-result-status .ok-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0cce6b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}
.schema-result-status .label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.schema-result-status .meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: #4d5e4b;
  margin-left: auto;
}
.schema-result-field {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(12, 15, 26, 0.08);
}
.schema-result-field:last-of-type { border-bottom: none; }
.schema-result-field .icon { color: #0a9c52; flex: none; margin-top: 0.15rem; }
.schema-result-field .name { color: #0c0f1a; font-weight: 600; min-width: 110px; }
.schema-result-field .value { color: #6b6557; word-break: break-word; }
.schema-result-field.is-warn .icon { color: var(--g-yellow); }
.schema-result-field.is-warn .name { color: #b88500; }


/* ─────────────────────────────────────────────────────────────────
   9 · CRAWL PROGRESS — barre d'audit "100% complete"
───────────────────────────────────────────────────────────────── */
.audit-progress-stack {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.audit-progress {
  display: grid;
  grid-template-columns: 130px 1fr 48px;
  align-items: center;
  gap: 0.85rem;
}
.audit-progress-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6557;
}
.audit-progress-bar {
  position: relative;
  height: 6px;
  background: rgba(12, 15, 26, 0.06);
  border-radius: 999px;
  overflow: hidden;
}
.audit-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #6b8169, #4d5e4b);
  border-radius: 999px;
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.audit-progress-value {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: #4d5e4b;
}


/* ─────────────────────────────────────────────────────────────────
   10 · KEYWORD TRACKER — table mots-clés (position, volume, delta)
───────────────────────────────────────────────────────────────── */
.kw-tracker {
  background: #fdf6e3;
  border: 1px solid rgba(12, 15, 26, 0.1);
  border-radius: 12px;
  overflow: hidden;
}
.kw-tracker-head {
  display: grid;
  grid-template-columns: 1fr 80px 80px 60px;
  gap: 0.85rem;
  padding: 0.7rem 1.1rem;
  background: rgba(12, 15, 26, 0.05);
  border-bottom: 1px solid rgba(12, 15, 26, 0.08);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6557;
}
.kw-tracker-head .ta-r { text-align: right; }
.kw-row {
  display: grid;
  grid-template-columns: 1fr 80px 80px 60px;
  gap: 0.85rem;
  padding: 0.7rem 1.1rem;
  border-bottom: 1px dashed rgba(12, 15, 26, 0.06);
  align-items: center;
  transition: background 0.2s;
}
.kw-row:last-child { border-bottom: none; }
.kw-row:hover { background: rgba(245, 236, 217, 0.5); }
.kw-keyword {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}
.kw-keyword-text {
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  color: #0c0f1a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.kw-keyword-intent {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  background: rgba(26, 115, 232, 0.1);
  color: var(--g-blue);
  flex: none;
}
.kw-keyword-intent.is-commercial { background: rgba(90, 18, 36, 0.1); color: #5a1224; }
.kw-keyword-intent.is-info { background: rgba(107, 129, 105, 0.15); color: #4d5e4b; }
.kw-volume {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: #4d5156;
  text-align: right;
}
.kw-position {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.1rem;
  color: #0c0f1a;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.kw-position.is-top { color: #0a9c52; }
.kw-delta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.kw-delta.is-up { color: #0a9c52; }
.kw-delta.is-down { color: var(--g-red); }
.kw-delta.is-stable { color: #6b6557; }


/* ─────────────────────────────────────────────────────────────────
   11 · REPORT CARD — carte rapport mensuel avec sparkline
───────────────────────────────────────────────────────────────── */
.report-card {
  position: relative;
  background: #fdf6e3;
  border: 1px solid rgba(12, 15, 26, 0.1);
  border-radius: 12px;
  padding: 1.2rem 1.3rem 1.3rem;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.report-card:hover {
  border-color: rgba(90, 18, 36, 0.4);
  transform: translateY(-3px);
}
.report-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #5a1224, #e2a8a0);
}
.report-card-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b6557;
  margin-bottom: 0.5rem;
}
.report-card-value {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 2.4rem;
  font-weight: 500;
  color: #5a1224;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.report-card-value sup {
  font-size: 0.85rem;
  vertical-align: top;
  font-style: normal;
  color: #6b6557;
}
.report-card-trend {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.report-card-trend.is-up { color: #0a9c52; }
.report-card-trend.is-down { color: var(--g-red); }
.report-card-sparkline {
  margin-top: 0.85rem;
  height: 38px;
}
.report-card-sparkline svg { width: 100%; height: 100%; overflow: visible; }
.report-card-sparkline path.line {
  fill: none;
  stroke: #5a1224;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.report-card-sparkline path.area {
  fill: rgba(90, 18, 36, 0.08);
  stroke: none;
}
.report-card-sparkline circle { fill: #5a1224; }


/* ─────────────────────────────────────────────────────────────────
   12 · SERP SNIPPET PREVIEW — comment apparaîtrait dans Google
───────────────────────────────────────────────────────────────── */
.snippet-preview {
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 8px;
  padding: 0.95rem 1.1rem 1.05rem;
  box-shadow: 0 6px 18px -12px rgba(12, 15, 26, 0.15);
  position: relative;
}
.snippet-preview-tag {
  position: absolute;
  top: -10px;
  left: 0.95rem;
  background: #5a1224;
  color: #f5ecd9;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}
.snippet-preview .url {
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  color: var(--g-grey-2);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.snippet-preview .title {
  font-family: "Inter", sans-serif;
  font-size: 1.15rem;
  color: var(--g-blue);
  line-height: 1.3;
  margin-top: 0.25rem;
  cursor: pointer;
}
.snippet-preview .title:hover { text-decoration: underline; }
.snippet-preview .desc {
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  color: #4d5156;
  line-height: 1.45;
  margin-top: 0.3rem;
}


/* ─────────────────────────────────────────────────────────────────
   13 · COVERAGE DONUT — chart de couverture index (mini SVG)
───────────────────────────────────────────────────────────────── */
.coverage-donut {
  position: relative;
  width: 130px;
  height: 130px;
  flex: none;
}
.coverage-donut svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.coverage-donut circle.bg { fill: none; stroke: rgba(12, 15, 26, 0.08); stroke-width: 14; }
.coverage-donut circle.fg {
  fill: none;
  stroke: #0cce6b;
  stroke-width: 14;
  stroke-linecap: butt;
  transition: stroke-dashoffset 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.coverage-donut circle.fg.is-warn { stroke: var(--g-yellow); }
.coverage-donut circle.fg.is-err { stroke: var(--g-red); }
.coverage-donut-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-style: italic;
  color: #0c0f1a;
}
.coverage-donut-label .num {
  font-size: 1.85rem;
  line-height: 1;
  font-weight: 500;
}
.coverage-donut-label .unit {
  font-family: "JetBrains Mono", monospace;
  font-style: normal;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b6557;
  margin-top: 0.3rem;
}


/* ─────────────────────────────────────────────────────────────────
   14 · KW CLOUD — nuage de mots-clés (sized by volume)
───────────────────────────────────────────────────────────────── */
.kw-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  padding: 1.2rem;
  background: rgba(245, 236, 217, 0.55);
  border: 1px dashed rgba(12, 15, 26, 0.18);
  border-radius: 10px;
}
.kw-cloud-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  font-family: "Fraunces", serif;
  font-style: italic;
  color: #0c0f1a;
  padding: 0.15rem 0.3rem;
  transition: color 0.2s;
  cursor: default;
  line-height: 1.1;
}
.kw-cloud-item:hover { color: #5a1224; }
.kw-cloud-item small {
  font-family: "JetBrains Mono", monospace;
  font-style: normal;
  font-size: 0.55rem;
  color: #6b6557;
  letter-spacing: 0.08em;
}
.kw-cloud-item.s-1 { font-size: 0.85rem; }
.kw-cloud-item.s-2 { font-size: 1rem; }
.kw-cloud-item.s-3 { font-size: 1.25rem; color: #5a1224; }
.kw-cloud-item.s-4 { font-size: 1.55rem; color: #5a1224; }
.kw-cloud-item.s-5 { font-size: 1.95rem; color: #3a0a17; }


/* ─────────────────────────────────────────────────────────────────
   15 · METHOD PIPELINE — étapes pipeline audit/exécution
───────────────────────────────────────────────────────────────── */
.method-pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.4rem;
}
@media (max-width: 900px) { .method-pipeline { grid-template-columns: 1fr 1fr; gap: 0.8rem; } }
@media (max-width: 540px) { .method-pipeline { grid-template-columns: 1fr; } }

.method-pipeline-step {
  position: relative;
  background: #fdf6e3;
  border: 1px solid rgba(12, 15, 26, 0.1);
  border-radius: 10px;
  padding: 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.method-pipeline-step:hover {
  border-color: rgba(90, 18, 36, 0.4);
  transform: translateY(-3px);
}
.method-pipeline-step::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #5a1224, #3a0a17);
}
.method-pipeline-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5a1224;
  font-weight: 700;
}
.method-pipeline-title {
  font-family: "Fraunces", serif;
  font-size: 0.98rem;
  color: #0c0f1a;
  line-height: 1.25;
  font-weight: 500;
}
.method-pipeline-title em { color: #5a1224; font-style: italic; }
.method-pipeline-desc {
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  color: rgba(12, 15, 26, 0.7);
  line-height: 1.5;
}
.method-pipeline-step .pipe-arrow {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fdf6e3;
  border: 1px solid rgba(12, 15, 26, 0.15);
  color: #5a1224;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}
.method-pipeline-step:last-child .pipe-arrow { display: none; }
@media (max-width: 900px) { .method-pipeline-step .pipe-arrow { display: none; } }


/* ─────────────────────────────────────────────────────────────────
   16 · BANNED TAG — pratiques bannies (style "audit warning")
───────────────────────────────────────────────────────────────── */
.banned-tag {
  display: flex;
  gap: 0.85rem;
  padding: 0.95rem 1.1rem;
  background: #fdf6e3;
  border: 1px solid rgba(12, 15, 26, 0.08);
  border-left: 3px solid var(--g-red);
  border-radius: 8px;
  align-items: flex-start;
}
.banned-tag-icon {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: rgba(176, 0, 32, 0.1);
  color: var(--g-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.banned-tag-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--g-red);
  font-weight: 700;
  margin-bottom: 0.15rem;
}
.banned-tag-title {
  font-family: "Fraunces", serif;
  font-size: 1rem;
  color: #0c0f1a;
  line-height: 1.25;
  font-weight: 500;
}
.banned-tag-desc {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  color: rgba(12, 15, 26, 0.7);
  margin-top: 0.3rem;
  line-height: 1.5;
}


/* ─────────────────────────────────────────────────────────────────
   17 · MISSION TYPE — card "profil de mission" pour /pour-qui/
───────────────────────────────────────────────────────────────── */
.mission-card {
  position: relative;
  background: #fdf6e3;
  border: 1px solid rgba(12, 15, 26, 0.1);
  border-radius: 12px;
  padding: 1.4rem 1.4rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.mission-card:hover {
  border-color: rgba(90, 18, 36, 0.45);
  transform: translateY(-3px);
}
.mission-card-glyph {
  position: absolute;
  top: -20px;
  right: -10px;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 7rem;
  color: rgba(90, 18, 36, 0.06);
  line-height: 0.85;
  pointer-events: none;
  user-select: none;
}
.mission-card-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b6557;
}
.mission-card-tag::before {
  content: "▮ ";
  color: #5a1224;
}
.mission-card-title {
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
  color: #0c0f1a;
  line-height: 1.2;
  font-weight: 500;
}
.mission-card-title em { color: #5a1224; font-style: italic; }
.mission-card-desc {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  color: rgba(12, 15, 26, 0.78);
  line-height: 1.55;
}
.mission-card-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4d5e4b;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(12, 15, 26, 0.1);
}
.mission-card-meta strong {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 0.9rem;
  color: #0c0f1a;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}


/* ─────────────────────────────────────────────────────────────────
   18 · TOOL TILE — module d'audit (anatomie)
───────────────────────────────────────────────────────────────── */
.tool-tile {
  position: relative;
  background: #fdf6e3;
  border: 1px solid rgba(12, 15, 26, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.tool-tile:hover {
  border-color: rgba(90, 18, 36, 0.4);
  transform: translateY(-3px);
}
.tool-tile-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  background: linear-gradient(180deg, #0c0f1a, #1a1a26);
  color: rgba(245, 236, 217, 0.7);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tool-tile-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0cce6b;
  box-shadow: 0 0 0 0 rgba(12, 206, 107, 0.6);
  animation: pulse-dot 1.6s ease-in-out infinite;
  flex: none;
}
.tool-tile-header .num {
  margin-left: auto;
  color: #e2a8a0;
}
.tool-tile-body {
  padding: 1.1rem 1.25rem 1.3rem;
}
.tool-tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(90, 18, 36, 0.08);
  color: #5a1224;
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
}
.tool-tile-title {
  font-family: "Fraunces", serif;
  font-size: 1.15rem;
  color: #0c0f1a;
  line-height: 1.25;
  font-weight: 500;
  margin-bottom: 0.45rem;
}
.tool-tile-title em { color: #5a1224; font-style: italic; }
.tool-tile-desc {
  font-family: "Inter", sans-serif;
  font-size: 0.83rem;
  color: rgba(12, 15, 26, 0.75);
  line-height: 1.55;
}
.tool-tile-features {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.tool-tile-features li {
  display: flex;
  gap: 0.45rem;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  color: rgba(12, 15, 26, 0.78);
}
.tool-tile-features li::before {
  content: "✓";
  color: #4d5e4b;
  font-weight: 700;
  flex: none;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(12, 206, 107, 0.6); }
  50%      { box-shadow: 0 0 0 6px rgba(12, 206, 107, 0); }
}


/* ─────────────────────────────────────────────────────────────────
   19 · CASE STUDY — bloc client avec KPI avant/après
───────────────────────────────────────────────────────────────── */
.case-study {
  background: #fdf6e3;
  border: 1px solid rgba(12, 15, 26, 0.1);
  border-radius: 12px;
  padding: 1.4rem 1.5rem 1.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.3s, transform 0.3s;
}
.case-study:hover {
  border-color: rgba(90, 18, 36, 0.4);
  transform: translateY(-3px);
}
.case-study::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #5a1224, #e2a8a0);
}
.case-study-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.case-study-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5a1224, #3a0a17);
  color: #f5ecd9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.1rem;
  flex: none;
}
.case-study-avatar.is-marine { background: linear-gradient(135deg, #13234f, #0a1538); }
.case-study-avatar.is-accent { background: linear-gradient(135deg, #6b8169, #4d5e4b); }
.case-study-name {
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
  color: #0c0f1a;
  line-height: 1.2;
  font-weight: 500;
}
.case-study-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6557;
  margin-top: 0.2rem;
}
.case-study-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
  padding: 0.85rem;
  background: rgba(245, 236, 217, 0.6);
  border-radius: 8px;
}
.case-study-kpi {
  text-align: center;
  border-right: 1px dashed rgba(12, 15, 26, 0.1);
  padding: 0 0.3rem;
}
.case-study-kpi:last-child { border-right: none; }
.case-study-kpi-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6557;
  margin-bottom: 0.2rem;
}
.case-study-kpi-value {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.45rem;
  color: #5a1224;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.case-study-quote {
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  color: rgba(12, 15, 26, 0.82);
  line-height: 1.6;
}
.case-study-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(12, 15, 26, 0.1);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* ─────────────────────────────────────────────────────────────────
   20 · GSC-CHAT — mockup chat "live audit" pour service client
───────────────────────────────────────────────────────────────── */
.gsc-chat {
  background: #fdf6e3;
  border: 1px solid rgba(12, 15, 26, 0.12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 44px -22px rgba(12, 15, 26, 0.3);
}
.gsc-chat-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.1rem;
  background: linear-gradient(135deg, #0c0f1a, #1a1a26);
  color: #f5ecd9;
}
.gsc-chat-avatar {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #5a1224;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-style: italic;
  color: #f5ecd9;
  font-size: 1rem;
  flex: none;
}
.gsc-chat-avatar::after {
  content: "";
  position: absolute;
  bottom: -1px; right: -1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #0cce6b;
  border: 2px solid #0c0f1a;
}
.gsc-chat-name {
  font-family: "Fraunces", serif;
  font-size: 1rem;
  line-height: 1.2;
}
.gsc-chat-status {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: rgba(245, 236, 217, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.2rem;
}
.gsc-chat-status .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0cce6b;
}
.gsc-chat-tag {
  margin-left: auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(226, 168, 160, 0.15);
  color: #e2a8a0;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
}
.gsc-chat-body {
  padding: 1.2rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: rgba(245, 236, 217, 0.4);
}
.gsc-bubble {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  max-width: 86%;
}
.gsc-bubble.is-them {
  align-self: flex-start;
}
.gsc-bubble.is-me {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.gsc-bubble-mini {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #5a1224;
  color: #f5ecd9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 0.7rem;
  flex: none;
}
.gsc-bubble.is-me .gsc-bubble-mini { background: #13234f; }
.gsc-bubble-body {
  background: #fff;
  border: 1px solid rgba(12, 15, 26, 0.08);
  border-radius: 12px 12px 12px 4px;
  padding: 0.65rem 0.85rem;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  color: #0c0f1a;
  line-height: 1.4;
}
.gsc-bubble.is-me .gsc-bubble-body {
  background: #5a1224;
  color: #f5ecd9;
  border-color: rgba(90, 18, 36, 0.3);
  border-radius: 12px 12px 4px 12px;
}
.gsc-bubble-body .ts {
  display: block;
  margin-top: 0.3rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  opacity: 0.6;
}
.gsc-bubble-attached {
  margin-top: 0.45rem;
  padding: 0.5rem 0.65rem;
  background: rgba(12, 15, 26, 0.05);
  border-radius: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.gsc-bubble.is-me .gsc-bubble-attached {
  background: rgba(245, 236, 217, 0.18);
  color: #f5ecd9;
}
.gsc-bubble-attached i { color: #6b8169; }
.gsc-bubble.is-me .gsc-bubble-attached i { color: #e2a8a0; }
.gsc-typing {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0.55rem 0.75rem;
  background: #fff;
  border: 1px solid rgba(12, 15, 26, 0.08);
  border-radius: 12px 12px 12px 4px;
}
.gsc-typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(12, 15, 26, 0.35);
  animation: gsc-blink 1.2s ease-in-out infinite;
}
.gsc-typing span:nth-child(2) { animation-delay: 0.15s; }
.gsc-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes gsc-blink {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50%      { opacity: 1; transform: translateY(-2px); }
}


/* ─────────────────────────────────────────────────────────────────
   21 · AUDIT INVOICE — récap audit gratuit (CTA final)
───────────────────────────────────────────────────────────────── */
.audit-invoice {
  background: #fdf6e3;
  border: 1px solid rgba(12, 15, 26, 0.12);
  border-radius: 14px;
  padding: 1.7rem 1.8rem;
  position: relative;
  overflow: hidden;
}
.audit-invoice::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    #5a1224 0, #5a1224 12px,
    #f5ecd9 12px, #f5ecd9 24px
  );
}
.audit-invoice-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed rgba(12, 15, 26, 0.18);
  margin-bottom: 0.95rem;
}
.audit-invoice-head .num {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b6557;
}
.audit-invoice-head .num strong { color: #0c0f1a; }
.audit-invoice-head .date {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: #6b6557;
}

.audit-invoice-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 0.85rem;
  padding: 0.7rem 0;
  align-items: center;
  border-bottom: 1px dashed rgba(12, 15, 26, 0.08);
}
.audit-invoice-row:last-of-type { border-bottom: none; }
.audit-invoice-row-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(90, 18, 36, 0.1);
  color: #5a1224;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.audit-invoice-row-name {
  font-family: "Fraunces", serif;
  font-size: 0.95rem;
  color: #0c0f1a;
  line-height: 1.2;
}
.audit-invoice-row-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6557;
  margin-top: 0.2rem;
}
.audit-invoice-row-price {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.05rem;
  color: #6b8169;
  white-space: nowrap;
}

.audit-invoice-total {
  margin-top: 1rem;
  padding-top: 1.1rem;
  border-top: 2px solid rgba(12, 15, 26, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.audit-invoice-total .label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #0c0f1a;
}
.audit-invoice-total .val {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 2.2rem;
  color: #5a1224;
  line-height: 1;
}


/* ─────────────────────────────────────────────────────────────────
   22 · TOOLBAR AUDIT — barre d'outils style "Search Console toolbar"
───────────────────────────────────────────────────────────────── */
.audit-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0.65rem 1.1rem;
  background: linear-gradient(180deg, #0c0f1a, #1a1a26);
  color: rgba(245, 236, 217, 0.85);
  border-radius: 10px 10px 0 0;
  border-bottom: 1px solid rgba(245, 236, 217, 0.1);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.audit-toolbar .live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.5rem;
  background: rgba(12, 206, 107, 0.15);
  color: #0cce6b;
  border: 1px solid rgba(12, 206, 107, 0.4);
  border-radius: 999px;
  font-weight: 600;
}
.audit-toolbar .live-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0cce6b;
  animation: pulse-dot 1.6s ease-in-out infinite;
}
.audit-toolbar .domain {
  color: #e2a8a0;
  font-weight: 600;
}
.audit-toolbar .sep { color: rgba(245, 236, 217, 0.3); }
.audit-toolbar .right {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}


/* ─────────────────────────────────────────────────────────────────
   23 · STACK PILL — outils utilisés (specs sheet stack)
───────────────────────────────────────────────────────────────── */
.stack-pill {
  display: flex;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: #fdf6e3;
  border: 1px solid rgba(12, 15, 26, 0.1);
  border-radius: 10px;
  align-items: flex-start;
  transition: border-color 0.3s, transform 0.3s;
}
.stack-pill:hover { border-color: rgba(90, 18, 36, 0.4); transform: translateY(-2px); }
.stack-pill-logo {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0c0f1a, #1a1a26);
  color: #e2a8a0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 500;
}
.stack-pill-logo.is-bordeaux { background: linear-gradient(135deg, #5a1224, #3a0a17); color: #f5ecd9; }
.stack-pill-logo.is-marine { background: linear-gradient(135deg, #13234f, #0a1538); color: #e2a8a0; }
.stack-pill-logo.is-accent { background: linear-gradient(135deg, #6b8169, #4d5e4b); color: #f5ecd9; }
.stack-pill-name {
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
  color: #0c0f1a;
  font-weight: 500;
  line-height: 1.2;
}
.stack-pill-role {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6557;
  margin-top: 0.2rem;
}
.stack-pill-desc {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  color: rgba(12, 15, 26, 0.75);
  margin-top: 0.45rem;
  line-height: 1.5;
}


/* ─────────────────────────────────────────────────────────────────
   24 · LANG PILL — pill langage (en-tête JSON-LD)
───────────────────────────────────────────────────────────────── */
.lang-pill-static {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  background: rgba(90, 18, 36, 0.1);
  color: #5a1224;
}


/* ─────────────────────────────────────────────────────────────────
   25 · CTA AUDIT — gros bouton final "réserver mon audit"
───────────────────────────────────────────────────────────────── */
.cta-audit-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  width: 100%;
  padding: 1.4rem 1.6rem;
  background: linear-gradient(135deg, #5a1224, #3a0a17);
  color: #f5ecd9;
  border-radius: 14px;
  border: 1px solid rgba(226, 168, 160, 0.3);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 18px 44px -22px rgba(90, 18, 36, 0.7);
}
.cta-audit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px -22px rgba(90, 18, 36, 0.85);
}
.cta-audit-btn::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 140px;
  height: 100%;
  background: repeating-linear-gradient(45deg, transparent 0 10px, rgba(245, 236, 217, 0.05) 10px 20px);
  pointer-events: none;
}
.cta-audit-btn-text {
  position: relative;
  z-index: 1;
}
.cta-audit-btn-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e2a8a0;
  margin-bottom: 0.3rem;
}
.cta-audit-btn-title {
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
  line-height: 1.1;
  color: #f5ecd9;
}
.cta-audit-btn-title em { color: #e2a8a0; font-style: italic; }
.cta-audit-btn-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 236, 217, 0.6);
  margin-top: 0.45rem;
}
.cta-audit-btn-arrow {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(245, 236, 217, 0.1);
  border: 1px solid rgba(226, 168, 160, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #e2a8a0;
  transition: transform 0.3s, background 0.3s;
  flex: none;
}
.cta-audit-btn:hover .cta-audit-btn-arrow {
  background: #e2a8a0;
  color: #5a1224;
  transform: rotate(-12deg) scale(1.08);
}


/* ─────────────────────────────────────────────────────────────────
   26 · REDUCED MOTION
───────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .audit-toolbar .live-pill .dot,
  .tool-tile-header .dot,
  .search-cursor,
  .audit-terminal-cursor,
  .gsc-typing span {
    animation: none !important;
  }
  .lighthouse-gauge-ring .fg,
  .cwv-bar-fill,
  .audit-progress-bar-fill,
  .coverage-donut circle.fg {
    transition: none !important;
  }
}
