/* ==========================================================================
   linkavista-plateforme.fr
   Feuille de style unique, ecrite a la main.
   Concept : page produit SaaS contemporaine, mode clair uniquement.
   Polices : Manrope (titres), Inter (texte).
   Palette : teal #0D9488, cyan #06B6D4, fond alternatif #F0FDFC.
   ========================================================================== */

/* === 1. Variables === */
:root {
  /* Couleurs de fond */
  --bg: #FFFFFF;
  --bg-alt: #F0FDFC;
  --bg-soft: #F7FDFC;
  --surface: #FFFFFF;
  --surface-tint: #ECFCFA;
  /* Texte */
  --ink: #0B2B2A;
  --ink-soft: #4B6B69;
  --ink-faint: #7C9895;
  --ink-invert: #FFFFFF;
  /* Accents */
  --teal: #0D9488;
  --teal-dark: #0A7A70;
  --teal-deep: #075E57;
  --cyan: #06B6D4;
  --cyan-dark: #0891B2;
  --grad: linear-gradient(120deg, #0D9488 0%, #06B6D4 100%);
  --grad-soft: linear-gradient(120deg, rgba(13, 148, 136, 0.10) 0%, rgba(6, 182, 212, 0.10) 100%);
  /* Bordures */
  --line: #D3EFEC;
  --line-strong: #B7E5E0;
  --line-faint: #E7F7F5;
  /* Statuts */
  --ok: #0F8A5F;
  --ok-bg: #E7F8F0;
  --warn: #A96A0C;
  --warn-bg: #FDF4E3;
  --info: #0B6FA4;
  --info-bg: #E6F3FA;
  /* Rayons */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;
  /* Ombres */
  --sh-xs: 0 1px 2px rgba(11, 43, 42, 0.05);
  --sh-sm: 0 2px 8px rgba(11, 43, 42, 0.06);
  --sh-md: 0 8px 24px rgba(11, 43, 42, 0.08);
  --sh-lg: 0 18px 44px rgba(11, 43, 42, 0.10);
  --sh-teal: 0 10px 28px rgba(13, 148, 136, 0.22);
  /* Espacements */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 88px;
  --sp-10: 120px;
  /* Structure */
  --wrap: 1180px;
  --wrap-narrow: 860px;
  --header-h: 72px;
  /* Transitions */
  --t-fast: 160ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-base: 260ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
  /* Typographie */
  --font-title: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, monospace;
}

/* === 2. Reset moderne === */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--sp-4);
  font-family: var(--font-title);
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}
p { margin: 0 0 var(--sp-4); }
ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.35em; }
li { margin-bottom: var(--sp-2); }
a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--t-fast); }
a:hover { color: var(--cyan-dark); }
img { max-width: 100%; height: auto; display: block; }
strong, b { font-weight: 600; color: var(--ink); }
small { font-size: 0.86em; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-7) 0; }
button { font: inherit; color: inherit; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: var(--r-xs); }
::selection { background: rgba(13, 148, 136, 0.20); color: var(--ink); }

/* === 3. Utilitaires de structure === */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--sp-5); }
.wrap-narrow { max-width: var(--wrap-narrow); }
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--teal);
  color: #fff;
  padding: 10px 20px;
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--t-fast);
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }
.section { padding-block: clamp(56px, 7vw, 96px); position: relative; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line-faint); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }

/* === 4. Typographie fluide === */
h1, .h1 { font-size: clamp(2.1rem, 1.35rem + 3.1vw, 3.65rem); font-weight: 800; letter-spacing: -0.032em; }
h2, .h2 { font-size: clamp(1.62rem, 1.2rem + 1.7vw, 2.45rem); font-weight: 800; letter-spacing: -0.028em; }
h3, .h3 { font-size: clamp(1.18rem, 1.04rem + 0.6vw, 1.42rem); font-weight: 700; }
h4 { font-size: 1.06rem; font-weight: 700; }
.lead { font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.24rem); color: var(--ink-soft); line-height: 1.68; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-title);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  flex: none;
}
.section-head { max-width: 780px; margin-bottom: var(--sp-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.muted { color: var(--ink-soft); }
.tiny { font-size: 0.85rem; color: var(--ink-faint); line-height: 1.6; }

/* === 5. Boutons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-family: var(--font-title);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  line-height: 1.2;
  transition: transform var(--t-fast), box-shadow var(--t-base), background var(--t-base), color var(--t-base), border-color var(--t-base);
}
.btn svg { flex: none; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: var(--sh-teal); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(13, 148, 136, 0.30); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { background: var(--surface); color: var(--teal-deep); border-color: var(--line-strong); box-shadow: var(--sh-xs); }
.btn--ghost:hover { color: var(--teal-deep); border-color: var(--teal); background: var(--surface-tint); transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: 0.9rem; border-radius: 12px; }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.btn-note { font-size: 0.86rem; color: var(--ink-faint); margin: var(--sp-3) 0 0; }

/* === 6. Header et navigation === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t-base), border-color var(--t-base), background var(--t-base);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(11, 43, 42, 0.06); background: rgba(255, 255, 255, 0.96); }
.header-inner { min-height: var(--header-h); display: flex; flex-wrap: nowrap; align-items: center; gap: var(--sp-5); transition: min-height var(--t-base); }
.site-header.is-stuck .header-inner { min-height: 62px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-title);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.02rem;
  flex: none;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  object-fit: contain;
  background: var(--surface-tint);
  padding: 3px;
  border: 1px solid var(--line);
}
.brand span small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.nav { margin-left: auto; display: flex; align-items: center; gap: var(--sp-2); }
.nav a {
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast);
}
.nav a:hover { background: var(--surface-tint); color: var(--teal-deep); }
.nav a.is-active { color: var(--teal-dark); background: var(--surface-tint); font-weight: 600; }
/* Ancres supplementaires : reservees au panneau mobile, masquees en desktop */
.nav-more { display: none; }
.header-cta { flex: none; }
/* Ligne d en-tete insecable : uniquement en desktop */
@media (min-width: 1121px) {
  .header-inner { flex-wrap: nowrap; }
  .nav { flex-wrap: nowrap; }
  .brand,
  .brand > span,
  .brand > span > small { white-space: nowrap; }
  .nav > a { white-space: nowrap; }
  .header-cta .btn { white-space: nowrap; }
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--teal-deep);
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  position: relative;
  transition: background var(--t-fast);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--t-base), top var(--t-base);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
/* Barre de progression de lecture */
.progress-bar {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 3px;
  width: 0;
  background: var(--grad);
  border-radius: 0 3px 3px 0;
  transition: width 90ms linear;
}

/* === 7. Hero === */
.hero {
  position: relative;
  padding-block: clamp(48px, 6vw, 84px) clamp(56px, 7vw, 96px);
  background:
    radial-gradient(900px 460px at 88% -8%, rgba(6, 182, 212, 0.13), transparent 62%),
    radial-gradient(760px 420px at 4% 6%, rgba(13, 148, 136, 0.11), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 148, 136, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 148, 136, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(760px 460px at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(760px 460px at 50% 30%, #000 20%, transparent 78%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(32px, 4vw, 56px); align-items: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 9px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--sh-xs);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--teal-deep);
  margin-bottom: var(--sp-5);
}
.hero-badge b {
  white-space: nowrap;
  background: var(--grad);
  color: #fff;
  border-radius: var(--r-pill);
  padding: 3px 10px;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  font-weight: 700;
}
.hero h1 { margin-bottom: var(--sp-5); }
.hero h1 .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.04rem, 0.98rem + 0.4vw, 1.2rem); color: var(--ink-soft); max-width: 60ch; margin-bottom: var(--sp-5); }
.hero-signature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--sh-xs);
  margin-bottom: var(--sp-5);
  max-width: 470px;
}
.hero-signature img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line-strong);
  flex: none;
}
.hero-signature .sig-text { font-size: 0.87rem; line-height: 1.5; color: var(--ink-soft); }
.hero-signature .sig-text strong { display: block; font-family: var(--font-title); font-size: 0.96rem; color: var(--ink); }
.rating-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--teal-dark);
  font-family: var(--font-title);
}
/* Chiffres cles */
.kpi-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-3); margin-top: var(--sp-6); }
.kpi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 14px;
  box-shadow: var(--sh-xs);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.kpi:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--line-strong); }
.kpi b {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.72rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--teal-dark);
  line-height: 1.1;
}
.kpi span { display: block; font-size: 0.79rem; color: var(--ink-soft); line-height: 1.35; margin-top: 4px; }

/* === 8. Maquette d'interface en CSS pur === */
.mockup-stage { perspective: 1400px; }
.mockup {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform var(--t-slow);
  will-change: transform;
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.mockup-dot:nth-child(1) { background: #F5B7B1; }
.mockup-dot:nth-child(2) { background: #F7DC9C; }
.mockup-dot:nth-child(3) { background: #A9E5C8; }
.mockup-url {
  margin-left: 8px;
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mockup-body { display: grid; grid-template-columns: 148px minmax(0, 1fr); min-height: 340px; }
.mockup-side { background: var(--bg-soft); border-right: 1px solid var(--line-faint); padding: 14px 12px; }
.mockup-side-title {
  font-family: var(--font-title);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 700;
  margin: 0 0 9px 4px;
}
.mockup-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: var(--r-sm);
  font-size: 0.76rem;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 2px;
}
.mockup-nav-item i { width: 7px; height: 7px; border-radius: 2px; background: var(--line-strong); flex: none; }
.mockup-nav-item.is-on { background: var(--surface-tint); color: var(--teal-deep); font-weight: 600; }
.mockup-nav-item.is-on i { background: var(--grad); }
.mockup-main { padding: 14px; }
.mockup-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 8px 11px;
  background: var(--surface);
  box-shadow: var(--sh-xs);
  margin-bottom: 10px;
}
.mockup-search .mock-magn {
  width: 13px;
  height: 13px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  flex: none;
  position: relative;
}
.mockup-search .mock-magn::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 6px;
  height: 2px;
  background: var(--teal);
  transform: rotate(45deg);
  border-radius: 2px;
}
.mockup-search span { font-size: 0.76rem; color: var(--ink-faint); }
.mockup-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.mock-chip {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  background: var(--surface-tint);
  color: var(--teal-deep);
  border: 1px solid var(--line);
}
.mock-chip.is-on { background: var(--grad); color: #fff; border-color: transparent; }
.mock-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 10px 12px;
  margin-bottom: 8px;
  background: var(--surface);
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.mock-card:hover { border-color: var(--line-strong); transform: translateX(2px); }
.mock-card-title {
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}
.mock-flag {
  font-size: 0.72rem;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 600;
}
.mock-metrics { display: flex; gap: 12px; margin-top: 5px; }
.mock-metric { font-size: 0.67rem; color: var(--ink-faint); line-height: 1.3; }
.mock-metric b { display: block; font-family: var(--font-title); font-size: 0.78rem; color: var(--ink-soft); font-weight: 700; }
.mock-price {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--teal-dark);
  text-align: right;
  white-space: nowrap;
}
.mock-price small { display: block; font-family: var(--font-body); font-size: 0.62rem; font-weight: 500; color: var(--ink-faint); }
.mockup-caption {
  margin-top: var(--sp-3);
  font-size: 0.78rem;
  color: var(--ink-faint);
  line-height: 1.55;
  text-align: center;
  max-width: 46ch;
  margin-inline: auto;
}

.hero-strip { margin: clamp(28px, 4vw, 46px) 0 0; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; background: var(--surface); box-shadow: var(--sh-md); }
.hero-strip img { width: 100%; height: auto; aspect-ratio: 21 / 8; object-fit: cover; }
.hero-strip figcaption { padding: 14px 20px; font-size: 0.86rem; color: var(--ink-faint); background: var(--bg-soft); border-top: 1px solid var(--line-faint); line-height: 1.6; }

@media (max-width: 760px) { .hero-strip img { aspect-ratio: 16 / 10; } }

/* === 9. Bandeau defilant des pays === */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 18px;
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; gap: 10px; animation: marquee-scroll 46s linear infinite; }
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  box-shadow: var(--sh-xs);
}
.marquee-item::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad);
  flex: none;
}
@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.marquee-legend { text-align: center; font-size: 0.83rem; color: var(--ink-faint); margin: 14px 0 0; }

/* === 10. Cartes generiques === */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: var(--sh-xs);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--line-strong); }
.grid { display: grid; gap: var(--sp-4); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* Grille de fonctionnalites */
.feature { position: relative; display: flex; flex-direction: column; }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.24);
  margin-bottom: var(--sp-4);
  flex: none;
}
.feature-icon svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature h3 { font-size: 1.06rem; margin-bottom: 8px; }
.feature p { font-size: 0.94rem; color: var(--ink-soft); margin-bottom: var(--sp-4); flex: 1; }
.who {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: var(--surface-tint);
  color: var(--teal-deep);
  border: 1px solid var(--line);
}
.who--editeur { background: var(--info-bg); color: var(--info); border-color: #CFE6F3; }
.who--deux { background: var(--ok-bg); color: var(--ok); border-color: #CBEBDC; }

/* === 11. Onglets === */
.tabs { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--sh-sm); overflow: hidden; }
.tablist {
  display: flex;
  gap: 4px;
  padding: 8px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: thin;
}
.tab {
  flex: 1 1 0;
  min-width: 150px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 12px;
  padding: 11px 16px;
  font-family: var(--font-title);
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.tab:hover { background: var(--surface); color: var(--teal-deep); }
.tab[aria-selected="true"] { background: var(--surface); color: var(--teal-deep); border-color: var(--line-strong); box-shadow: var(--sh-xs); }
.tab[aria-selected="true"]::after {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad);
  margin: 6px auto 0;
}
.tabpanel { padding: clamp(20px, 3vw, 34px); }
.tabpanel[hidden] { display: none; }
.tabpanel-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--sp-6); align-items: start; }
.tabpanel h3 { margin-bottom: var(--sp-3); }
.panel-list { list-style: none; padding: 0; margin: 0; }
.panel-list li { position: relative; padding-left: 30px; margin-bottom: 11px; font-size: 0.94rem; color: var(--ink-soft); }
.panel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--surface-tint);
  border: 1px solid var(--line-strong);
}
.panel-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  width: 5px;
  height: 8px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(42deg);
}
.panel-aside { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-5); }
.panel-aside h4 { font-family: var(--font-title); margin-bottom: 10px; color: var(--teal-deep); }
.panel-aside dl { margin: 0; }
.panel-aside dt {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--ink-faint);
  margin-top: 12px;
}
.panel-aside dd { margin: 2px 0 0; font-size: 0.94rem; font-weight: 600; color: var(--ink); }

/* === 12. Tableaux === */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--sh-xs);
  -webkit-overflow-scrolling: touch;
}
table { min-width: 620px; font-size: 0.93rem; }
caption {
  caption-side: top;
  text-align: left;
  padding: 16px 20px 12px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line-faint);
}
thead th {
  background: var(--bg-alt);
  text-align: left;
  font-family: var(--font-title);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-deep);
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  padding: 13px 16px;
  vertical-align: top;
  border-bottom: 1px solid var(--line-faint);
  background: var(--bg-soft);
}
tbody td { padding: 13px 16px; vertical-align: top; color: var(--ink-soft); border-bottom: 1px solid var(--line-faint); }
tbody tr:last-child th,
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover th,
tbody tr:hover td { background: var(--surface-tint); }
.table-note { font-size: 0.83rem; color: var(--ink-faint); margin-top: 10px; }
.sortable th[data-sort] { cursor: pointer; user-select: none; }
.sortable th[data-sort]::after { content: "\2195"; margin-left: 6px; opacity: 0.45; font-size: 0.9em; }
.sortable th[aria-sort="ascending"]::after { content: "\2191"; opacity: 1; }
.sortable th[aria-sort="descending"]::after { content: "\2193"; opacity: 1; }

/* === 13. Encadres === */
.callout {
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--r-md);
  background: var(--bg-alt);
  padding: var(--sp-5);
  margin-block: var(--sp-5);
}
.callout h3,
.callout h4 { margin-bottom: 10px; color: var(--teal-deep); }
.callout p:last-child,
.callout ul:last-child { margin-bottom: 0; }
.callout--info { border-left-color: var(--info); background: var(--info-bg); }
.callout--warn { border-left-color: var(--warn); background: var(--warn-bg); }
.callout--method { border-left-color: var(--cyan); background: linear-gradient(120deg, rgba(6, 182, 212, 0.07), rgba(13, 148, 136, 0.05)); }

/* === 14. Etapes numerotees === */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--sp-4);
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: var(--sp-5) var(--sp-5) var(--sp-5) 74px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.steps li:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 22px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.88rem;
  box-shadow: 0 6px 14px rgba(13, 148, 136, 0.22);
}
.steps h3 { font-size: 1.04rem; margin-bottom: 6px; }
.steps p:last-child { margin-bottom: 0; font-size: 0.94rem; color: var(--ink-soft); }

/* === 15. Tarification === */
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); align-items: stretch; }
.price-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--sp-5);
  box-shadow: var(--sh-xs);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.price-card--featured { border: 2px solid var(--teal); box-shadow: var(--sh-teal); position: relative; }
.price-flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 15px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(13, 148, 136, 0.26);
}
.price-card h3 { font-size: 1.12rem; margin-bottom: 4px; }
.price-card .price-sub { font-size: 0.86rem; color: var(--ink-faint); margin-bottom: var(--sp-4); }
.price-amount {
  font-family: var(--font-title);
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--teal-dark);
  line-height: 1.05;
}
.price-amount span { font-size: 0.88rem; font-weight: 600; color: var(--ink-faint); letter-spacing: 0; }
.price-body { flex: 1; margin-top: var(--sp-4); }
.includes { list-style: none; padding: 0; margin: 0 0 var(--sp-4); }
.includes li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 9px;
}
.tick {
  flex: none;
  width: 19px;
  height: 19px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--surface-tint);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
}
.tick svg {
  width: 11px;
  height: 11px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.badge-inc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 10px 3px 5px;
  border-radius: var(--r-pill);
  background: var(--ok-bg);
  color: var(--ok);
  border: 1px solid #CBEBDC;
}
.badge-inc svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* === 16. Profils === */
.profile {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: var(--sh-xs);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.profile:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.profile-num {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--surface-tint);
  border: 1px solid var(--line-strong);
  color: var(--teal-deep);
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.98rem;
}
.profile h3 { font-size: 1.03rem; margin-bottom: 6px; }
.profile p { font-size: 0.93rem; color: var(--ink-soft); margin-bottom: 0; }
.fit {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.79rem;
  font-weight: 700;
  color: var(--teal-deep);
  background: var(--surface-tint);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 3px 11px;
}

/* === 17. Checklist interactive === */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { margin: 0; }
.check-item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  width: 100%;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.check-item:hover { border-color: var(--line-strong); transform: translateX(3px); }
.check-box {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 7px;
  border: 2px solid var(--line-strong);
  background: var(--surface);
  display: grid;
  place-items: center;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.check-box svg {
  width: 12px;
  height: 12px;
  stroke: #fff;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity var(--t-fast);
}
.check-item[aria-pressed="true"] .check-box { background: var(--grad); border-color: transparent; }
.check-item[aria-pressed="true"] .check-box svg { opacity: 1; }
.check-item[aria-pressed="true"] .check-text strong { text-decoration: line-through; text-decoration-color: var(--line-strong); color: var(--ink-faint); }
.check-text strong {
  display: block;
  font-family: var(--font-title);
  font-size: 0.97rem;
  color: var(--ink);
  margin-bottom: 2px;
  transition: color var(--t-fast);
}
.check-text span { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; }
.check-meter {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: var(--sp-4);
  padding: 14px 18px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.check-meter-track {
  flex: 1;
  height: 9px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.check-meter-fill { height: 100%; width: 0; background: var(--grad); border-radius: var(--r-pill); transition: width var(--t-base); }
.check-meter-label { font-family: var(--font-title); font-weight: 700; font-size: 0.9rem; color: var(--teal-deep); white-space: nowrap; }

/* === 18. Glossaire === */
.glossary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); margin: 0; }
.gloss-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px 18px;
  transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.gloss-item:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.gloss-item dt { font-family: var(--font-title); font-weight: 700; font-size: 0.99rem; color: var(--teal-deep); margin-bottom: 5px; }
.gloss-item dd { margin: 0; font-size: 0.92rem; color: var(--ink-soft); line-height: 1.62; }
.gloss-filter { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: var(--sp-5); }
.gloss-filter input {
  flex: 1;
  min-width: 220px;
  font: inherit;
  font-size: 0.95rem;
  padding: 11px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.gloss-filter input::placeholder { color: var(--ink-faint); }
.gloss-filter input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.14); }
.gloss-count { font-size: 0.86rem; color: var(--ink-faint); font-weight: 600; }
.gloss-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--sp-6);
  color: var(--ink-faint);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
}

/* === 19. FAQ === */
.faq { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.faq-item:hover { border-color: var(--line-strong); }
.faq-item.is-open { border-color: var(--teal); box-shadow: var(--sh-sm); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 17px 20px;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;
  transition: background var(--t-fast), color var(--t-fast);
}
.faq-q:hover { background: var(--bg-alt); color: var(--teal-deep); }
.faq-sign {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 8px;
  background: var(--surface-tint);
  border: 1px solid var(--line-strong);
  position: relative;
  transition: background var(--t-base), border-color var(--t-base);
}
.faq-sign::before,
.faq-sign::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--teal-dark);
  border-radius: 2px;
  transition: transform var(--t-base), background var(--t-base);
}
.faq-sign::before { width: 11px; height: 2px; transform: translate(-50%, -50%); }
.faq-sign::after { width: 2px; height: 11px; transform: translate(-50%, -50%); }
.faq-item.is-open .faq-sign { background: var(--grad); border-color: transparent; }
.faq-item.is-open .faq-sign::before,
.faq-item.is-open .faq-sign::after { background: #fff; }
.faq-item.is-open .faq-sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-a { padding: 0 20px 18px 58px; color: var(--ink-soft); font-size: 0.95rem; }
.faq-a p:last-child,
.faq-a ul:last-child { margin-bottom: 0; }
.faq-a[hidden] { display: none; }
.faq-controls { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: var(--sp-4); }

/* === 20. Verdict et note === */
.verdict {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: var(--sp-6);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  box-shadow: var(--sh-md);
}
.score {
  text-align: center;
  background: var(--grad);
  color: #fff;
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-4);
  box-shadow: var(--sh-teal);
}
.score b {
  display: block;
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.score span { display: block; font-size: 0.84rem; opacity: 0.92; margin-top: 6px; }
.score-stars { margin-top: 10px; letter-spacing: 2px; font-size: 0.95rem; }
.score-bars { display: grid; gap: 12px; }
.score-line { display: grid; grid-template-columns: 190px minmax(0, 1fr) 46px; gap: 14px; align-items: center; font-size: 0.9rem; }
.score-line span:first-child { color: var(--ink-soft); font-weight: 600; }
.score-track { height: 9px; border-radius: var(--r-pill); background: var(--bg-alt); border: 1px solid var(--line); overflow: hidden; }
.score-fill {
  height: 100%;
  width: 0;
  border-radius: var(--r-pill);
  background: var(--grad);
  transition: width 900ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.score-line b { font-family: var(--font-title); color: var(--teal-dark); text-align: right; font-size: 0.92rem; }

/* === 21. Images de contenu === */
.figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--sh-sm);
}
.figure img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.figure figcaption {
  padding: 12px 16px;
  font-size: 0.84rem;
  color: var(--ink-faint);
  background: var(--bg-soft);
  border-top: 1px solid var(--line-faint);
  line-height: 1.55;
}
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 48px); align-items: center; }
.split--reverse .split-media { order: -1; }

/* === 22. Sources === */
.sources { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sources li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: var(--r-sm);
  padding: 13px 17px;
  font-size: 0.93rem;
  color: var(--ink-soft);
  margin: 0;
}
.sources li strong { font-family: var(--font-title); color: var(--ink); display: block; margin-bottom: 2px; }

/* === 23. Bloc auteur === */
.author-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: var(--sp-6);
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  box-shadow: var(--sh-md);
}
.author-card img {
  width: 170px;
  height: 170px;
  border-radius: var(--r-lg);
  object-fit: cover;
  border: 3px solid var(--surface-tint);
  box-shadow: var(--sh-sm);
}
.author-card h3 { margin-bottom: 2px; }
.author-role { font-size: 0.92rem; font-weight: 600; color: var(--teal-dark); margin-bottom: var(--sp-4); }
.author-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--sp-4); }
.author-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: var(--bg-alt);
  color: var(--teal-deep);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--t-fast), transform var(--t-fast), border-color var(--t-fast);
}
.author-links a:hover { background: var(--surface-tint); border-color: var(--teal); transform: translateY(-2px); color: var(--teal-deep); }
.author-links svg { width: 15px; height: 15px; fill: currentColor; }
.author-updated { margin-top: var(--sp-4); font-size: 0.85rem; color: var(--ink-faint); }

/* === 24. CTA final === */
.cta-final {
  background: var(--grad);
  border-radius: var(--r-xl);
  padding: clamp(32px, 5vw, 62px);
  color: #fff;
  text-align: center;
  box-shadow: var(--sh-teal);
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.6;
  pointer-events: none;
}
.cta-final > * { position: relative; }
.cta-final h2 { color: #fff; margin-bottom: var(--sp-4); }
.cta-final p { color: rgba(255, 255, 255, 0.94); max-width: 64ch; margin-inline: auto; margin-bottom: var(--sp-5); }
.cta-final .btn--primary { background: #fff; color: var(--teal-deep); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16); }
.cta-final .btn--primary:hover { background: #fff; color: var(--teal-deep); box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22); }
.cta-final .btn-row { justify-content: center; }
.cta-final .btn-note { color: rgba(255, 255, 255, 0.86); }
.cta-final .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.cta-final .btn--ghost:hover { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: #fff; }
/* Bande CTA intermediaire */
.cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  background: var(--bg-alt);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-6);
}
.cta-strip p { margin: 0; max-width: 62ch; font-size: 0.98rem; color: var(--ink-soft); }
.cta-strip strong { display: block; font-family: var(--font-title); font-size: 1.1rem; color: var(--ink); margin-bottom: 4px; }

/* === 25. Footer === */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding-block: clamp(44px, 5vw, 72px) var(--sp-6);
  margin-top: clamp(48px, 6vw, 88px);
}
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-6); }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: var(--sp-3);
}
.footer-brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 3px;
}
.site-footer h3 {
  font-size: 0.83rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: var(--sp-4);
  font-weight: 800;
}
.site-footer p { font-size: 0.92rem; color: var(--ink-soft); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--t-fast), transform var(--t-fast);
}
.footer-links a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  flex: none;
  opacity: 0.55;
  transition: opacity var(--t-fast);
}
.footer-links a:hover { color: var(--teal-dark); transform: translateX(3px); }
.footer-links a:hover::before { opacity: 1; }
.footer-bottom { margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.footer-bottom p { margin: 0; font-size: 0.85rem; color: var(--ink-faint); line-height: 1.65; }
.disclosure {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-size: 0.87rem;
  color: var(--ink-soft);
  margin-top: var(--sp-5);
}

/* === 26. Bouton retour en haut === */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--teal-deep);
  display: grid;
  place-items: center;
  box-shadow: var(--sh-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base), background var(--t-fast);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--surface-tint); border-color: var(--teal); }
.to-top svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* === 27. Animations de reveal === */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 520ms cubic-bezier(0.22, 0.61, 0.36, 1), transform 520ms cubic-bezier(0.22, 0.61, 0.36, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 70ms; }
.reveal[data-delay="2"] { transition-delay: 140ms; }
.reveal[data-delay="3"] { transition-delay: 210ms; }
.reveal[data-delay="4"] { transition-delay: 280ms; }
.reveal[data-delay="5"] { transition-delay: 350ms; }
.no-js .reveal { opacity: 1; transform: none; }

/* === 28. Page 404 === */
.error-page { min-height: 72vh; display: grid; place-items: center; text-align: center; padding-block: var(--sp-9); }
.error-code {
  font-family: var(--font-title);
  font-size: clamp(4rem, 3rem + 8vw, 8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: var(--sp-4);
}

/* === 29. Responsive : 1200px === */

@media (max-width: 1250px) {
  .nav a { padding: 8px 7px; font-size: 0.85rem; }
  .header-cta .btn { padding: 9px 13px; font-size: 0.86rem; }
  .brand { font-size: 0.96rem; }
  .verdict { grid-template-columns: 180px minmax(0, 1fr); gap: var(--sp-5); }
  .score-line { grid-template-columns: 160px minmax(0, 1fr) 44px; }
}

/* === 29b. Bascule du menu mobile === */

@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin-left: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-lg);
    padding: var(--sp-4) var(--sp-5) var(--sp-5);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--t-base), opacity var(--t-base), visibility 0s linear var(--t-base);
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; transition: transform var(--t-base), opacity var(--t-base), visibility 0s linear 0s; }
  .nav a { padding: 12px 14px; font-size: 0.98rem; border-radius: var(--r-md); }
  .nav-more {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--line-faint);
  }
  .header-cta { display: none; }
}

/* === 30. Responsive : 980px === */

@media (max-width: 980px) {
  body { font-size: 16.5px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-lg);
    padding: var(--sp-4) var(--sp-5) var(--sp-5);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--t-base), opacity var(--t-base), visibility 0s linear var(--t-base);
    margin-left: 0;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; transition: transform var(--t-base), opacity var(--t-base), visibility 0s linear 0s; }
  .nav a { padding: 12px 14px; font-size: 0.98rem; border-radius: var(--r-md); }
  .header-cta { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .mockup-stage { order: 2; }
  .split,
  .tabpanel-grid,
  .grid-3,
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .verdict { grid-template-columns: minmax(0, 1fr); }
  .author-card { grid-template-columns: 140px minmax(0, 1fr); gap: var(--sp-5); }
  .author-card img { width: 140px; height: 140px; }
  .split--reverse .split-media { order: 0; }
}

/* === 31. Responsive : 760px === */

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .wrap { padding-inline: var(--sp-4); }
  .kpi-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split,
  .tabpanel-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .glossary { grid-template-columns: minmax(0, 1fr); }
  .mockup-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .mockup-side {
    border-right: 0;
    border-bottom: 1px solid var(--line-faint);
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 10px;
  }
  .mockup-side-title { display: none; }
  .mockup-nav-item { white-space: nowrap; margin-bottom: 0; border: 1px solid var(--line); }
  .mockup { transform: none !important; }
  .tab { min-width: 130px; font-size: 0.87rem; padding: 10px 12px; }
  .steps li { padding: var(--sp-5) var(--sp-4) var(--sp-4) var(--sp-4); }
  .steps li::before { position: static; margin-bottom: 12px; }
  .score-line { grid-template-columns: minmax(0, 1fr) 44px; row-gap: 4px; }
  .score-line span:first-child { grid-column: 1 / -1; }
  .author-card { grid-template-columns: minmax(0, 1fr); text-align: left; padding: var(--sp-5); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-strip { flex-direction: column; align-items: flex-start; padding: var(--sp-5); }
  .faq-a { padding-left: 20px; }
  .verdict { padding: var(--sp-5); }
}

/* === 32. Responsive : 520px === */

@media (max-width: 520px) {
  body { font-size: 16px; }
  .brand span small { display: none; }
  .kpi-row { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; justify-content: center; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .cta-final .btn-row { align-items: stretch; }
  .hero-signature { flex-direction: column; align-items: flex-start; }
  .card,
  .price-card,
  .profile,
  .panel-aside { padding: var(--sp-4); }
  .to-top { right: 14px; bottom: 14px; width: 42px; height: 42px; }
  .tablist { padding: 6px; }
  .tab { min-width: 118px; font-size: 0.82rem; }
  .gloss-filter input { min-width: 0; }
}

/* === 33. Preferences de mouvement reduit === */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track { animation: none; transform: none; }
  .reveal { opacity: 1; transform: none; }
  .mockup { transform: none !important; }
}

/* === 34. Impression === */

@media print {
  .site-header,
  .to-top,
  .nav-toggle,
  .marquee,
  .cta-final,
  .cta-strip,
  .btn,
  .progress-bar,
  .faq-controls { display: none !important; }
  body { font-size: 11.5pt; color: #000; background: #fff; }
  .section { padding-block: 14pt; break-inside: avoid; }
  .card,
  .price-card,
  .profile,
  .faq-item,
  .table-wrap { border: 1px solid #999; box-shadow: none; break-inside: avoid; }
  .faq-a[hidden] { display: block !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Corrections de contraste
   Le degrade teal vers cyan clair ne donnait que 3,0:1 avec du texte blanc.
   Les surfaces qui portent du texte blanc utilisent un degrade plus profond. */
.btn--primary,
.btn--primary:focus-visible { background: linear-gradient(120deg, #0F766E 0%, #0E7490 100%); }
.btn--primary:hover { background: linear-gradient(120deg, #0C625B 0%, #0B6079 100%); }
.cta-final { background: linear-gradient(120deg, #0F766E 0%, #0E7490 100%); }
