/* ============================================================
   ProfilScore : design system v3 "LinkedIn premium"
   Les codes natifs de LinkedIn (fond feed, cartes blanches,
   pilules bleues, marine profond) avec une finition SaaS
   haut de gamme : hierarchie typographique stricte, ombres
   douces, motifs discrets, donnees chiffrees en mono.
   ============================================================ */

:root {
  --bg: #f4f2ee;
  --card: #ffffff;
  --ink: #1d2226;
  --muted: #5b6770;
  --faint: #8a949c;
  --border: #e2e0dc;
  --border-strong: #c6c3bd;
  --blue: #0a66c2;
  --blue-hover: #004182;
  --blue-wash: #ebf4fd;
  --blue-light: #70b5f9;
  --navy: #05263f;
  --navy-2: #0a3a5c;
  --green: #057642;
  --green-wash: #e6f4ec;
  --amber: #b15c00;
  --amber-wash: #fdf3e3;
  --red: #b24020;
  --red-wash: #fbede8;
  --radius: 14px;
  --radius-sm: 8px;
  --pill: 999px;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;
  --shadow-card: 0 1px 2px rgba(29, 34, 38, 0.06), 0 0 1px rgba(29, 34, 38, 0.08);
  --shadow-pop: 0 12px 32px rgba(29, 34, 38, 0.12), 0 2px 8px rgba(29, 34, 38, 0.06);
  --shadow-blue: 0 8px 24px rgba(10, 102, 194, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Barre de marque : signature electrique en haut de chaque page */
body::before {
  content: "";
  position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 300;
  background: linear-gradient(90deg, var(--blue), var(--blue-light), var(--blue));
  background-size: 200% 100%;
  animation: brandline 7s linear infinite;
  pointer-events: none;
}
@keyframes brandline { from { background-position: 0% 0; } to { background-position: 200% 0; } }

/* Barre de defilement personnalisee */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #c6c3bd; border-radius: 8px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

/* Apparition au scroll (activee par common.js, sans risque si JS coupe) */
.reveal-ready .reveal-item { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-ready .reveal-item.in-view { opacity: 1; transform: none; }

::selection { background: var(--blue); color: #fff; }

img { max-width: 100%; height: auto; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

.container { max-width: 1164px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 812px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.15;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.022em;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.012em; }
p { margin: 0 0 1em; }

/* Micro-label de section : trait bleu + capitales espacees */
.eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--blue);
  display: block;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px; height: 2px;
  background: var(--blue);
  vertical-align: middle;
  margin-right: 10px;
  border-radius: 2px;
}

.section-no {
  font-family: var(--display);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(10, 102, 194, 0.55);
  display: inline-block;
  margin-bottom: 12px;
  letter-spacing: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-weight: 800; font-size: 1.28rem; color: var(--ink);
  letter-spacing: -0.03em;
}
.logo:hover { text-decoration: none; }
.logo svg { width: 34px; height: 34px; flex-shrink: 0; border-radius: 8px; }
.logo .logo-score { color: var(--blue); }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  color: var(--muted); font-weight: 600; font-size: 0.93rem;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease;
}
.main-nav a:hover { text-decoration: none; color: var(--ink); }
.main-nav a.nav-active { color: var(--blue); border-bottom-color: var(--blue); }
.main-nav a.btn-primary,
.main-nav a.btn-primary:hover {
  color: #fff; border-bottom: none; padding: 10px 22px; font-size: 0.9rem;
}

.btn {
  display: inline-block; padding: 12px 26px;
  font-family: var(--display);
  font-weight: 700; font-size: 0.94rem; cursor: pointer;
  border: none;
  border-radius: var(--pill);
  text-align: center;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: linear-gradient(135deg, #0d78e0 0%, var(--blue) 45%, var(--blue-hover) 100%);
  background-size: 160% 160%;
  color: #fff;
  box-shadow: 0 10px 28px rgba(10, 102, 194, 0.4);
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 46px;
  left: -70px;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg);
  transition: left 0.5s ease;
}
.btn-primary:hover {
  background-position: 100% 100%;
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 36px rgba(10, 102, 194, 0.5);
}
.btn-primary:hover::after { left: calc(100% + 70px); }
.btn-primary:active { transform: translateY(0) scale(1); }
.btn-secondary {
  background: var(--card); color: var(--blue);
  border: 1.5px solid var(--blue);
  padding: 10.5px 24.5px;
}
.btn-secondary:hover { background: var(--blue-wash); color: var(--blue-hover); border-color: var(--blue-hover); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); color: #fff; }
.btn-ghost { background: none; color: var(--blue); padding-left: 0; padding-right: 0; }
.btn-ghost:hover { text-decoration: underline; }
.btn-lg { padding: 15px 34px; font-size: 1.03rem; }

.nav-toggle {
  display: none; background: none; border: 1.5px solid var(--border-strong);
  border-radius: 10px; cursor: pointer; width: 44px; height: 44px;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--ink);
  margin: 4px auto; border-radius: 2px; transition: 0.2s;
}

/* ---------- Bandeau defilant ---------- */
.ticker {
  background: var(--navy); color: rgba(255, 255, 255, 0.75);
  overflow: hidden; white-space: nowrap;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em;
  padding: 10px 0;
}
.ticker-track { display: inline-block; animation: ticker 44s linear infinite; }
.ticker-track span { margin: 0 20px; }
.ticker-track .tick-star { color: var(--blue-light); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 96px;
  background:
    radial-gradient(rgba(10, 102, 194, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  background-color: #fff;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute; border-radius: 50%;
  filter: blur(60px); pointer-events: none;
  transform: translateZ(0);
}
.hero::before {
  width: 560px; height: 560px; top: -260px; right: -140px;
  background: radial-gradient(circle, rgba(112, 181, 249, 0.4), transparent 65%);
}
.hero::after {
  width: 420px; height: 420px; bottom: -240px; left: -120px;
  background: radial-gradient(circle, rgba(10, 102, 194, 0.22), transparent 65%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1.12fr 0.88fr;
  gap: 64px; align-items: center;
}
.hero h1 { margin-bottom: 20px; letter-spacing: -0.035em; line-height: 1.06; }
.hero h1 .accent {
  background: linear-gradient(92deg, var(--blue) 20%, var(--blue-light) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .underline-mark {
  background-image: linear-gradient(transparent 70%, rgba(112, 181, 249, 0.4) 70%);
}
.hero p.lead { color: var(--muted); font-size: 1.14rem; max-width: 540px; margin-bottom: 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { font-family: var(--mono); font-size: 0.74rem; color: var(--faint); margin-top: 18px; letter-spacing: 0.02em; }

/* Carte specimen : rapport d'audit du hero */
.specimen {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(10, 102, 194, 0.22), 0 4px 12px rgba(29, 34, 38, 0.08);
  padding: 28px;
  max-width: 392px; margin-left: auto;
  position: relative;
  transform: rotate(-2deg);
  animation: specfloat 7s ease-in-out infinite;
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.specimen:hover { animation: none; transform: rotate(0deg) scale(1.02); }
@keyframes specfloat {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-14px); }
}
.specimen::before {
  content: "";
  position: absolute; top: 0; left: 28px; right: 28px; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  border-radius: 0 0 4px 4px;
}
.specimen-head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  border-bottom: 1px solid var(--border); padding-bottom: 14px; margin-bottom: 18px;
  font-family: var(--mono); font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--faint);
}
.specimen-score {
  font-family: var(--mono); font-weight: 600; font-size: 3.4rem;
  line-height: 1; color: var(--ink);
}
.specimen-score sub { font-size: 1rem; color: var(--faint); }

/* Regle graduee : version discrete */
.ruler {
  height: 10px; margin: 16px 0;
  background-image: repeating-linear-gradient(to right, var(--border-strong) 0 1px, transparent 1px 9px);
  background-size: 100% 7px;
  background-position: bottom;
  background-repeat: no-repeat;
}

/* ---------- Page hero ---------- */
.page-hero {
  padding: 56px 0 50px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 12px; max-width: 860px; }
.page-hero p { color: var(--muted); max-width: 720px; margin: 0; font-size: 1.07rem; }

.breadcrumb {
  font-size: 0.78rem; color: var(--faint);
  margin-bottom: 22px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.breadcrumb a { color: var(--faint); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .sep { margin: 0 8px; color: var(--border-strong); }
.breadcrumb span[aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 12px 0 0; }

/* ---------- Grilles et cartes ---------- */
.grid, .grid-2, .grid-3, .grid-tools { display: grid; }
.grid-tools { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); gap: 22px; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 26px;
  position: relative; display: block; color: inherit;
  overflow: hidden;
  transition: box-shadow 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease;
}
.card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
a.card:hover {
  text-decoration: none;
  border-color: rgba(10, 102, 194, 0.55);
  box-shadow: 0 20px 44px rgba(10, 102, 194, 0.16), 0 4px 12px rgba(29, 34, 38, 0.08);
  transform: translateY(-6px) rotate(-0.4deg);
}
a.card:hover::before { transform: scaleX(1); }
a.card:hover .card-arrow { transform: translate(3px, -3px); }
.card .card-no {
  font-family: var(--mono); font-size: 0.68rem; font-weight: 600;
  color: var(--faint); letter-spacing: 0.1em;
  display: block; margin-bottom: 14px;
}
.card h3 { margin-bottom: 8px; font-size: 1.06rem; }
.card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 0; line-height: 1.6; }
.card .card-arrow {
  position: absolute; top: 22px; right: 22px;
  color: var(--blue); font-size: 1rem; font-weight: 700;
  transition: transform 0.18s ease;
}
.card-tag {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--blue); background: var(--blue-wash);
  padding: 3px 11px; border-radius: var(--pill); margin-top: 14px;
}
.card-featured {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 45%, #0d5a94 80%, var(--navy-2) 100%);
  background-size: 220% 220%;
  animation: gradshift 9s ease infinite;
  border-color: var(--navy);
  color: #d7e5f2;
}
@keyframes gradshift {
  0%, 100% { background-position: 0% 30%; }
  50% { background-position: 100% 70%; }
}
.card-featured h3 { color: #fff; }
.card-featured .card-no { color: var(--blue-light); }
.card-featured p { color: #b6cadd; }
.card-featured .card-tag { background: rgba(112, 181, 249, 0.16); color: var(--blue-light); }
.card-featured .card-arrow { color: var(--blue-light); }
a.card-featured:hover { border-color: var(--blue); }

.panel-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-card);
  padding: 26px;
}
.panel-card.raised { box-shadow: var(--shadow-pop); }

/* ---------- Outils : layout deux colonnes ---------- */
.tool-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.tool-panel {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-card);
  padding: 28px;
}
.tool-panel > h2:first-child, .tool-panel > .panel-title {
  font-family: var(--mono);
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.15em; color: var(--faint);
  border-bottom: 1px solid var(--border); padding-bottom: 12px; margin-bottom: 20px;
}

label {
  display: block; font-weight: 600; font-size: 0.88rem; margin: 16px 0 6px;
  color: var(--ink);
}
input[type="text"], input[type="number"], input[type="url"], input[type="email"],
textarea, select {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--body); font-size: 0.95rem;
  color: var(--ink); background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.15);
}
textarea { resize: vertical; min-height: 110px; }
.hint { font-size: 0.8rem; color: var(--faint); margin-top: 5px; }

.result-box {
  background: #f8f7f4; border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 18px; margin-top: 16px;
  white-space: pre-wrap; word-wrap: break-word; font-size: 0.95rem;
}
.result-item {
  background: #f8f7f4; border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px; margin-bottom: 10px; display: flex;
  justify-content: space-between; align-items: flex-start; gap: 12px;
}
.copy-btn {
  background: #fff; color: var(--blue); border: 1.5px solid var(--blue);
  padding: 5px 14px; border-radius: var(--pill);
  font-family: var(--body); font-weight: 700; font-size: 0.76rem;
  cursor: pointer; flex-shrink: 0;
  transition: 0.15s;
}
.copy-btn:hover { background: var(--blue-wash); }
.copy-btn.copied { background: var(--green); color: #fff; border-color: var(--green); }

/* ---------- Visuels de score ---------- */
.score-chip {
  display: inline-flex; align-items: baseline; gap: 4px;
  font-family: var(--mono); font-weight: 600;
  border: 1px solid var(--border); background: var(--card);
  border-radius: 12px; box-shadow: var(--shadow-card);
  padding: 8px 16px; font-size: 1.4rem;
}
.score-chip small { font-size: 0.8rem; color: var(--faint); }

.score-ring-wrap { text-align: center; padding: 10px 0; }
.score-ring { width: 190px; height: 190px; margin: 0 auto; position: relative; }
.score-ring svg { transform: rotate(-90deg); }
.score-ring .score-value {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 600;
  font-size: 2.9rem; color: var(--ink); line-height: 1;
}
.score-ring .score-value small {
  font-size: 0.7rem; color: var(--faint); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em; margin-top: 6px;
}

.progress-row { margin-bottom: 16px; }
.progress-row .progress-label {
  display: flex; justify-content: space-between; font-size: 0.85rem;
  font-weight: 600; margin-bottom: 6px;
}
.progress-row .progress-label .pts { font-family: var(--mono); color: var(--faint); font-weight: 500; }
.progress-track {
  height: 9px; background: #e9e6e0;
  border-radius: var(--pill); overflow: hidden;
}
.progress-fill { height: 100%; border-radius: var(--pill); background: var(--blue); transition: width 0.6s ease; }
.progress-fill.good { background: var(--green); }
.progress-fill.mid { background: var(--amber); }
.progress-fill.bad { background: var(--red); }

.badge {
  display: inline-block; padding: 3px 12px;
  font-size: 0.73rem; font-weight: 700;
  border-radius: var(--pill);
  letter-spacing: 0.02em;
}
.badge-green { background: var(--green-wash); color: var(--green); }
.badge-amber { background: var(--amber-wash); color: var(--amber); }
.badge-red { background: var(--red-wash); color: var(--red); }
.badge-blue { background: var(--blue-wash); color: var(--blue); }

.verdict {
  background: var(--card);
  border: 1px solid var(--border);
  border-left-width: 6px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 16px 20px; margin: 12px 0;
}
.verdict.v-good { border-left-color: var(--green); }
.verdict.v-mid { border-left-color: var(--amber); }
.verdict.v-bad { border-left-color: var(--red); }
.verdict .v-title { font-weight: 700; display: block; margin-bottom: 2px; }
.verdict p { margin: 0; font-size: 0.92rem; color: var(--muted); }

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--card); box-shadow: var(--shadow-card);
}
table.data { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
table.data th, table.data td { padding: 13px 18px; border-bottom: 1px solid var(--border); text-align: left; }
table.data th {
  background: #f8f7f4; color: var(--muted);
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
}
table.data tr:last-child td { border-bottom: none; }
table.data td.num { font-family: var(--mono); }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  margin-bottom: 12px; box-shadow: var(--shadow-card);
  transition: border-color 0.15s ease;
}
.faq-item summary {
  padding: 18px 22px; font-weight: 700; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--mono); font-size: 1.2rem;
  color: var(--blue); flex-shrink: 0; line-height: 1;
}
.faq-item[open] { border-color: rgba(10, 102, 194, 0.45); }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item .faq-body { padding: 0 22px 18px; color: var(--muted); }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Prose ---------- */
.prose h2 { margin: 46px 0 16px; }
.prose h3 { margin: 30px 0 10px; }
.prose ul, .prose ol { margin: 0 0 1.2em 1.3em; }
.prose li { margin-bottom: 7px; }
.prose li::marker { color: var(--blue); font-weight: 700; }
.prose blockquote {
  border-left: 4px solid var(--blue);
  background: var(--card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow-card);
  padding: 16px 22px; margin: 0 0 1.2em; color: var(--muted);
}
.prose .tip {
  background: var(--blue-wash);
  border: 1px solid rgba(10, 102, 194, 0.25);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 18px 22px; margin: 0 0 1.4em;
}
.prose code {
  font-family: var(--mono); font-size: 0.88em;
  background: #edeae4; border-radius: 5px; padding: 1px 7px;
}

/* ---------- Auteur ---------- */
.author-box {
  display: flex; gap: 22px; align-items: center;
  background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 26px; margin-top: 56px;
}
.author-box img {
  width: 78px; height: 78px; border-radius: 50%; object-fit: cover;
  flex-shrink: 0; border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--blue);
}
.author-box .author-name { font-weight: 800; font-size: 1.05rem; }
.author-box .author-role {
  font-size: 0.74rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--blue); display: block; margin: 3px 0 7px;
}
.author-box p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.author-box .author-links { margin-top: 8px; font-size: 0.86rem; }
.author-box .author-links a { margin-right: 14px; font-weight: 700; }

/* ---------- Bande CTA ---------- */
.cta-band {
  background:
    radial-gradient(ellipse 600px 300px at 85% 20%, rgba(10, 102, 194, 0.5), transparent),
    radial-gradient(ellipse 400px 260px at 10% 110%, rgba(112, 181, 249, 0.25), transparent),
    linear-gradient(145deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius: 22px;
  color: #d7e5f2;
  padding: 56px 52px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  box-shadow: 0 24px 60px rgba(5, 38, 63, 0.35);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; right: -70px; top: -70px;
  width: 260px; height: 260px; border-radius: 50%;
  border: 2px dashed rgba(112, 181, 249, 0.35);
  animation: spin 40s linear infinite;
  pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #b6cadd; margin: 0; max-width: 520px; }
.cta-band .btn-primary { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); }

/* ---------- Footer ---------- */
.site-footer {
  background:
    radial-gradient(ellipse 700px 320px at 90% 0%, rgba(10, 102, 194, 0.25), transparent),
    var(--navy);
  color: #b6cadd; margin-top: 96px;
  border-top: 4px solid;
  border-image: linear-gradient(90deg, var(--blue), var(--blue-light), var(--blue)) 1;
}
.footer-rule {
  font-family: var(--mono); font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: #6f8aa3;
  padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.footer-main {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px; padding: 52px 0 44px;
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; font-size: 1.18rem; }
.footer-brand .logo .logo-score { color: var(--blue-light); }
.footer-brand p { font-size: 0.88rem; line-height: 1.65; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  min-width: 38px; height: 38px; padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--pill);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.76rem; font-weight: 700;
  transition: 0.15s;
}
.footer-social a:hover { background: var(--blue); border-color: var(--blue); text-decoration: none; }
.site-footer h4 {
  color: #fff; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  margin-bottom: 18px;
}
.site-footer h4::before {
  content: "";
  display: inline-block; width: 14px; height: 2px;
  background: var(--blue-light); border-radius: 2px;
  vertical-align: middle; margin-right: 8px;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { color: #b6cadd; font-size: 0.9rem; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  font-size: 0.78rem; color: #8ba4bb;
}
.footer-bottom a { color: #b6cadd; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Utilitaires ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 40px; }
.hidden { display: none !important; }
.mono { font-family: var(--mono); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid-tools { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .specimen { margin: 0 auto; }
}
@media (max-width: 760px) {
  .main-nav {
    position: fixed; top: 70px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: flex-start; padding: 22px 24px;
    border-bottom: 1px solid var(--border); display: none; gap: 18px;
    box-shadow: var(--shadow-pop);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .tool-wrap { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-tools { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .hero { padding: 56px 0; }
  .author-box { flex-direction: column; text-align: center; }
  .author-box .author-links a { margin: 0 7px; }
  .cta-band { padding: 36px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track, .specimen, .card-featured, body::before, .cta-band::before { animation: none; }
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
  .reveal-ready .reveal-item { opacity: 1; transform: none; transition: none; }
}
