/* ==========================================================================
   linkavista-avis.com
   Feuille de style unique, ecrite a la main.
   Concept : interface communautaire moderne, cartes arrondies, badges pilules,
   notation en etoiles, mosaique de temoignages, respiration genereuse.
   Mode clair uniquement.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variables
   -------------------------------------------------------------------------- */

:root {
  /* Couleurs de fond */
  --bg: #FFFFFF;
  --bg-alt: #F6F5FF;
  --surface: #FDFDFF;
  --surface-2: #F1EFFE;

  /* Textes */
  --text: #1B1830;
  --text-soft: #585274;
  --text-faint: #8C86A6;

  /* Accents */
  --indigo: #4F46E5;
  --indigo-dark: #3B32C4;
  --indigo-light: #EEECFF;
  --rose: #DB2777;
  --rose-light: #FDECF5;
  --green: #059669;
  --green-light: #E4F6F0;
  --amber: #B45309;
  --amber-light: #FDF3E2;

  /* Bordures */
  --border: #E7E5F5;
  --border-strong: #D5D1F0;

  /* Degrades */
  --grad: linear-gradient(96deg, #4F46E5 0%, #7C3AED 46%, #DB2777 100%);
  --grad-soft: linear-gradient(140deg, #F6F5FF 0%, #FDECF5 100%);

  /* Rayons */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Ombres douces a deux couches */
  --sh-1: 0 1px 2px rgba(27, 24, 48, .05), 0 6px 18px rgba(79, 70, 229, .06);
  --sh-2: 0 2px 6px rgba(27, 24, 48, .06), 0 14px 38px rgba(79, 70, 229, .10);
  --sh-3: 0 4px 10px rgba(27, 24, 48, .07), 0 26px 60px rgba(79, 70, 229, .16);
  --sh-rose: 0 4px 10px rgba(219, 39, 119, .10), 0 20px 44px rgba(219, 39, 119, .16);

  /* Espacements */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 44px;
  --sp-8: 64px;
  --sp-9: 88px;

  /* Transitions */
  --t-fast: 160ms cubic-bezier(.32, .72, .32, 1);
  --t: 260ms cubic-bezier(.32, .72, .32, 1);
  --t-slow: 440ms cubic-bezier(.22, .68, .28, 1);

  /* Structure */
  --wrap: 1180px;
  --wrap-narrow: 880px;
  --header-h: 74px;
}

/* --------------------------------------------------------------------------
   2. Reset moderne
   -------------------------------------------------------------------------- */

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  padding-left: 1.25em;
}

a {
  color: var(--indigo);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--rose);
}

:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--indigo-light);
  color: var(--indigo-dark);
}

/* --------------------------------------------------------------------------
   3. Typographie
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4 {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  color: var(--text);
  line-height: 1.16;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 1.35rem + 3.2vw, 3.55rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 1.16rem + 1.85vw, 2.4rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.16rem, 1.02rem + 0.6vw, 1.4rem);
  font-weight: 700;
  line-height: 1.3;
}

h4 {
  font-size: 1.03rem;
  font-weight: 700;
  line-height: 1.4;
}

p {
  text-wrap: pretty;
}

p + p {
  margin-top: 1.05em;
}

strong {
  font-weight: 650;
  color: var(--text);
}

em {
  font-style: italic;
}

.lead {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.22rem);
  color: var(--text-soft);
  line-height: 1.68;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   4. Structure et utilitaires
   -------------------------------------------------------------------------- */

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

.wrap-narrow {
  max-width: var(--wrap-narrow);
}

.section {
  padding-block: clamp(48px, 5.4vw, 86px);
  position: relative;
}

.section--alt {
  background: var(--bg-alt);
}

.section--tint {
  background: var(--grad-soft);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 200;
  background: var(--indigo);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: top var(--t-fast);
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--rose);
  background: var(--rose-light);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 16px;
}

.eyebrow--indigo {
  color: var(--indigo-dark);
  background: var(--indigo-light);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(28px, 3vw, 44px);
}

.section-head p {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

/* --------------------------------------------------------------------------
   5. Header et navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}

.site-header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px rgba(79, 70, 229, .07);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transition: height var(--t);
}

.site-header.is-stuck .header-inner {
  height: 62px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  letter-spacing: -.02em;
  font-size: 1.06rem;
  flex-shrink: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--indigo-light);
  padding: 3px;
}

.brand span small {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: .68rem;
  font-weight: 500;
  color: var(--text-faint);
  letter-spacing: .02em;
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: .91rem;
  font-weight: 550;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}

.nav a:hover,
.nav a.is-active {
  color: var(--indigo-dark);
  background: var(--indigo-light);
}

.header-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform var(--t), opacity var(--t-fast);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. Boutons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: .96rem;
  line-height: 1.2;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t), color var(--t-fast), border-color var(--t-fast);
  text-align: center;
}

.btn svg {
  flex-shrink: 0;
}

.btn--primary {
  background: var(--grad);
  background-size: 160% 100%;
  color: #fff;
  box-shadow: var(--sh-2);
}

.btn--primary:hover {
  color: #fff;
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: var(--sh-rose);
}

.btn--ghost {
  background: #fff;
  color: var(--indigo-dark);
  border-color: var(--border-strong);
  box-shadow: var(--sh-1);
}

.btn--ghost:hover {
  color: var(--indigo-dark);
  border-color: var(--indigo);
  transform: translateY(-2px);
  box-shadow: var(--sh-2);
}

.btn--sm {
  padding: 9px 18px;
  font-size: .86rem;
}

.btn--wide {
  padding-inline: 34px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn-note {
  margin-top: 14px;
  font-size: .84rem;
  color: var(--text-faint);
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: clamp(38px, 4.5vw, 66px);
  padding-bottom: clamp(90px, 9vw, 132px);
  background: var(--grad-soft);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -12% -46% 46%;
  height: 420px;
  background: radial-gradient(closest-side, rgba(219, 39, 119, .16), transparent 72%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -18% 52% auto -14%;
  height: 380px;
  background: radial-gradient(closest-side, rgba(79, 70, 229, .14), transparent 72%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero h1 .grad-text {
  display: inline;
}

.hero-signature {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 10px 16px 10px 10px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  width: fit-content;
  max-width: 100%;
  box-shadow: var(--sh-1);
}

.hero-signature img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.hero-signature b {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: .93rem;
  display: block;
  line-height: 1.3;
}

.hero-signature small {
  color: var(--text-faint);
  font-size: .8rem;
  display: block;
  line-height: 1.35;
}

/* Bloc de note */
.rating-block {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  margin-bottom: 26px;
  width: fit-content;
  max-width: 100%;
}

.rating-score {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rating-score sup {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-faint);
  -webkit-text-fill-color: var(--text-faint);
  margin-left: 2px;
}

.rating-meta small {
  display: block;
  color: var(--text-soft);
  font-size: .84rem;
  margin-top: 4px;
  line-height: 1.4;
}

/* Etoiles SVG */
.stars {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}

.stars svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.stars--sm svg {
  width: 15px;
  height: 15px;
}

.stars--lg svg {
  width: 26px;
  height: 26px;
}

.star-full {
  fill: #F59E0B;
}

.star-empty {
  fill: #E4E1F3;
}

.star-half-a {
  fill: #F59E0B;
}

.star-half-b {
  fill: #E4E1F3;
}

/* Media du hero */
.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-3);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.hero-float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--sh-2);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: .85rem;
  font-weight: 550;
  max-width: 230px;
}

.hero-float--a {
  left: -26px;
  top: 18%;
}

.hero-float--b {
  right: -18px;
  bottom: 12%;
}

.hero-float .dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--green-light);
  color: var(--green);
}

.hero-float--b .dot {
  background: var(--indigo-light);
  color: var(--indigo);
}

/* Cartes statistiques flottantes qui chevauchent le hero */
.stat-float {
  position: relative;
  z-index: 3;
  margin-top: clamp(-78px, -6vw, -58px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  box-shadow: var(--sh-2);
  transition: transform var(--t), box-shadow var(--t);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-3);
}

.stat-num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.65rem, 1.3rem + 1.3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
  color: var(--indigo);
}

.stat-card:nth-child(2) .stat-num {
  color: var(--rose);
}

.stat-card:nth-child(3) .stat-num {
  color: var(--green);
}

.stat-card:nth-child(4) .stat-num {
  color: #7C3AED;
}

.stat-label {
  margin-top: 6px;
  font-size: .87rem;
  color: var(--text-soft);
  line-height: 1.45;
}

.stat-src {
  margin-top: 8px;
  font-size: .74rem;
  color: var(--text-faint);
}

/* --------------------------------------------------------------------------
   8. Cartes generiques
   -------------------------------------------------------------------------- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--sh-1);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-2);
  border-color: var(--border-strong);
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--text-soft);
  font-size: .97rem;
}

.card-num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--indigo-light);
  color: var(--indigo-dark);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.02rem;
  margin-bottom: 14px;
}

.card:nth-child(2n) .card-num {
  background: var(--rose-light);
  color: var(--rose);
}

.card:nth-child(3n) .card-num {
  background: var(--green-light);
  color: var(--green);
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* --------------------------------------------------------------------------
   9. Badges pilules
   -------------------------------------------------------------------------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
}

.pill--annonceur {
  background: var(--indigo-light);
  color: var(--indigo-dark);
}

.pill--editeur {
  background: var(--green-light);
  color: var(--green);
}

.pill--agence {
  background: var(--rose-light);
  color: var(--rose);
}

.pill--freelance {
  background: var(--amber-light);
  color: var(--amber);
}

.pill--ecommerce {
  background: #E3F1FD;
  color: #1D4ED8;
}

.pill--media {
  background: #F0EAFE;
  color: #6D28D9;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   10. Avatars CSS a initiales
   -------------------------------------------------------------------------- */

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .01em;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(27, 24, 48, .12);
}

.avatar--sm {
  width: 42px;
  height: 42px;
  font-size: .85rem;
}

.av-1 { background: linear-gradient(140deg, #4F46E5, #7C3AED); }
.av-2 { background: linear-gradient(140deg, #DB2777, #F472B6); }
.av-3 { background: linear-gradient(140deg, #059669, #34D399); }
.av-4 { background: linear-gradient(140deg, #B45309, #F59E0B); }
.av-5 { background: linear-gradient(140deg, #1D4ED8, #38BDF8); }
.av-6 { background: linear-gradient(140deg, #6D28D9, #C084FC); }

/* --------------------------------------------------------------------------
   11. Profils
   -------------------------------------------------------------------------- */

.profile-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--sh-1);
  transition: transform var(--t), box-shadow var(--t);
  display: flex;
  flex-direction: column;
}

.profile-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-2);
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.profile-head h3 {
  font-size: 1.08rem;
  margin: 0;
}

.profile-head small {
  color: var(--text-faint);
  font-size: .81rem;
}

.profile-card dl {
  margin-top: 14px;
  display: grid;
  gap: 10px;
  font-size: .92rem;
}

.profile-card dt {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-faint);
}

.profile-card dd {
  margin: 2px 0 0;
  color: var(--text-soft);
}

/* --------------------------------------------------------------------------
   12. Temoignages : mosaique et carrousel
   -------------------------------------------------------------------------- */

.masonry {
  columns: 3;
  column-gap: 20px;
}

.masonry > * {
  break-inside: avoid;
  margin-bottom: 20px;
  display: inline-block;
  width: 100%;
}

.quote-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--sh-1);
  transition: transform var(--t), box-shadow var(--t);
}

.quote-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-2);
}

.quote-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}

.quote-head .who {
  min-width: 0;
}

.quote-head b {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: .96rem;
  font-weight: 700;
  line-height: 1.3;
}

.quote-head small {
  display: block;
  color: var(--text-faint);
  font-size: .8rem;
  line-height: 1.4;
}

.quote-card blockquote {
  margin: 0;
  padding-left: 16px;
  border-left: 3px solid var(--indigo-light);
  color: var(--text);
  font-size: .99rem;
  line-height: 1.66;
}

.quote-card blockquote p::before {
  content: "\201C";
  color: var(--rose);
  font-weight: 700;
}

.quote-card blockquote p::after {
  content: "\201D";
  color: var(--rose);
  font-weight: 700;
}

.quote-analysis {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--bg-alt);
  border-radius: var(--r-md);
  font-size: .92rem;
  color: var(--text-soft);
}

.quote-analysis b {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--indigo-dark);
  margin-bottom: 5px;
}

/* Carrousel */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
}

.carousel-track {
  display: flex;
  transition: transform var(--t-slow);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  padding: 6px;
}

.carousel-inner {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  padding: clamp(24px, 3vw, 38px);
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.carousel-inner blockquote {
  margin: 0;
  font-size: clamp(1rem, .96rem + .3vw, 1.14rem);
  line-height: 1.66;
  color: var(--text);
}

.carousel-inner .who b {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
}

.carousel-inner .who small {
  display: block;
  color: var(--text-faint);
  font-size: .83rem;
}

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: background var(--t), transform var(--t), width var(--t);
  padding: 0;
}

.carousel-dot[aria-selected="true"] {
  background: var(--grad);
  width: 30px;
  border-radius: var(--r-pill);
}

.carousel-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--indigo-dark);
  transition: background var(--t-fast), transform var(--t-fast), border-color var(--t-fast);
}

.carousel-arrow:hover {
  background: var(--indigo-light);
  border-color: var(--indigo);
  transform: scale(1.06);
}

/* --------------------------------------------------------------------------
   13. Listes decoratives
   -------------------------------------------------------------------------- */

.check-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 13px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--text-soft);
  font-size: .98rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px 13px no-repeat;
}

.check-list li strong {
  color: var(--text);
}

.arrow-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

.arrow-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-soft);
  font-size: .98rem;
}

.arrow-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--grad);
  transform: rotate(45deg);
}

/* Liste de controle interactive */
.todo-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
  counter-reset: todo;
}

.todo-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 15px 18px;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t);
}

.todo-item:hover {
  border-color: var(--border-strong);
  box-shadow: var(--sh-1);
}

.todo-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--indigo);
  flex-shrink: 0;
  cursor: pointer;
}

.todo-item label {
  cursor: pointer;
  font-size: .97rem;
  color: var(--text-soft);
}

.todo-item label b {
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
  font-size: .98rem;
}

.todo-item.is-done {
  background: var(--green-light);
  border-color: #B8E6D6;
}

.todo-item.is-done label b {
  text-decoration: line-through;
  color: var(--green);
}

.todo-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: .9rem;
  color: var(--text-soft);
  font-weight: 550;
}

.todo-bar {
  flex: 1;
  height: 9px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  overflow: hidden;
  min-width: 120px;
}

.todo-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: var(--r-pill);
  background: var(--grad);
  transition: width var(--t);
}

/* --------------------------------------------------------------------------
   14. Tableaux
   -------------------------------------------------------------------------- */

.table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: .93rem;
  min-width: 640px;
}

caption {
  caption-side: top;
  text-align: left;
  padding: 20px 24px 4px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

caption span {
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: .84rem;
  color: var(--text-faint);
  margin-top: 4px;
}

thead th {
  background: var(--bg-alt);
  text-align: left;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: .79rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--indigo-dark);
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

tbody th,
tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--text-soft);
}

tbody th {
  text-align: left;
  font-weight: 650;
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr {
  transition: background var(--t-fast);
}

tbody tr:hover {
  background: var(--surface-2);
}

.table-sortable thead th[data-sort] {
  cursor: pointer;
  user-select: none;
  position: relative;
  padding-right: 30px;
}

.table-sortable thead th[data-sort]::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-faint);
  border-bottom: 2px solid var(--text-faint);
  rotate: 45deg;
  opacity: .45;
  transition: opacity var(--t-fast), rotate var(--t-fast);
}

.table-sortable thead th[aria-sort="ascending"]::after {
  rotate: 225deg;
  opacity: 1;
}

.table-sortable thead th[aria-sort="descending"]::after {
  rotate: 45deg;
  opacity: 1;
}

.tag-yes {
  color: var(--green);
  font-weight: 600;
}

.tag-info {
  color: var(--indigo-dark);
  font-weight: 600;
}

.table-note {
  margin-top: 12px;
  font-size: .84rem;
  color: var(--text-faint);
}

/* --------------------------------------------------------------------------
   15. Onglets
   -------------------------------------------------------------------------- */

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 7px;
  background: var(--surface-2);
  border-radius: var(--r-pill);
  width: fit-content;
  max-width: 100%;
  margin-bottom: 26px;
}

.tab {
  padding: 9px 20px;
  border-radius: var(--r-pill);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 650;
  font-size: .9rem;
  color: var(--text-soft);
  transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
}

.tab:hover {
  color: var(--indigo-dark);
}

.tab[aria-selected="true"] {
  background: #fff;
  color: var(--indigo-dark);
  box-shadow: var(--sh-1);
}

.tab-panel[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   16. Encadres
   -------------------------------------------------------------------------- */

.callout {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--indigo);
  border-radius: var(--r-md);
  padding: 22px 26px;
  box-shadow: var(--sh-1);
}

.callout h3 {
  margin-bottom: 8px;
  font-size: 1.06rem;
}

.callout p {
  color: var(--text-soft);
  font-size: .97rem;
}

.callout--rose {
  border-left-color: var(--rose);
}

.callout--green {
  border-left-color: var(--green);
}

.method-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 38px);
  box-shadow: var(--sh-2);
  position: relative;
  overflow: hidden;
}

.method-box::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--grad);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.method-step h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
}

.method-step h4 span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: var(--indigo-light);
  color: var(--indigo-dark);
  font-size: .8rem;
  font-weight: 800;
  flex-shrink: 0;
}

.method-step p {
  color: var(--text-soft);
  font-size: .94rem;
}

/* Objections */
.objection {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--sh-1);
  transition: transform var(--t), box-shadow var(--t);
}

.objection:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-2);
}

.objection h3 {
  font-size: 1.04rem;
  margin-bottom: 12px;
  padding-left: 34px;
  position: relative;
}

.objection h3::before {
  content: "?";
  position: absolute;
  left: 0;
  top: -2px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--rose-light);
  color: var(--rose);
  display: grid;
  place-items: center;
  font-size: .84rem;
  font-weight: 800;
}

.objection p {
  color: var(--text-soft);
  font-size: .96rem;
}

/* Glossaire */
.glossary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.glossary-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 18px 20px;
  transition: border-color var(--t-fast), transform var(--t), box-shadow var(--t);
}

.glossary-item:hover {
  border-color: var(--indigo);
  transform: translateY(-4px);
  box-shadow: var(--sh-1);
}

.glossary-item dt {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  color: var(--indigo-dark);
  font-size: .97rem;
  margin-bottom: 5px;
}

.glossary-item dd {
  margin: 0;
  color: var(--text-soft);
  font-size: .92rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   17. FAQ
   -------------------------------------------------------------------------- */

.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t);
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-item.is-open {
  border-color: var(--indigo);
  box-shadow: var(--sh-1);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 18px 22px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 650;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.45;
}

.faq-q:hover {
  color: var(--indigo-dark);
}

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--indigo-light);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  margin-top: 2px;
  transition: background var(--t-fast);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--indigo-dark);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t-fast);
}

.faq-icon::before {
  width: 11px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 11px;
}

.faq-item.is-open .faq-icon {
  background: var(--grad);
}

.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after {
  background: #fff;
}

.faq-item.is-open .faq-icon::after {
  transform: scaleY(0);
  opacity: 0;
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t);
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a > div {
  overflow: hidden;
}

.faq-a p {
  padding: 0 22px 20px;
  color: var(--text-soft);
  font-size: .97rem;
}

.faq-a p + p {
  padding-top: 0;
  margin-top: -8px;
}

/* --------------------------------------------------------------------------
   18. Sources
   -------------------------------------------------------------------------- */

.sources {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 14px;
}

.sources li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: .95rem;
  color: var(--text-soft);
}

.sources li b {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  margin-bottom: 3px;
}

.src-badge {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--indigo-light);
  color: var(--indigo-dark);
  display: grid;
  place-items: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: .78rem;
}

/* --------------------------------------------------------------------------
   19. Bloc auteur
   -------------------------------------------------------------------------- */

.author-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(26px, 3vw, 40px);
  box-shadow: var(--sh-2);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(22px, 3vw, 34px);
  align-items: start;
}

.author-box img {
  width: 150px;
  height: 150px;
  border-radius: var(--r-lg);
  object-fit: cover;
  box-shadow: var(--sh-2);
}

.author-name {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

.author-role {
  color: var(--rose);
  font-weight: 600;
  font-size: .94rem;
  margin-top: 2px;
  margin-bottom: 14px;
}

.author-box p {
  color: var(--text-soft);
  font-size: .99rem;
}

.author-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.author-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--indigo-dark);
  text-decoration: none;
  font-size: .87rem;
  font-weight: 600;
  transition: transform var(--t-fast), border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}

.author-links a:hover {
  transform: translateY(-2px);
  border-color: var(--rose);
  background: var(--rose-light);
  color: var(--rose);
}

.author-updated {
  margin-top: 16px;
  font-size: .84rem;
  color: var(--text-faint);
}

/* --------------------------------------------------------------------------
   20. CTA final
   -------------------------------------------------------------------------- */

.cta-final {
  background: var(--grad);
  border-radius: var(--r-xl);
  padding: clamp(34px, 4.5vw, 60px);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh-3);
}

.cta-final::before {
  content: "";
  position: absolute;
  inset: -60% 40% 30% -20%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .22), transparent 70%);
  pointer-events: none;
}

.cta-final h2 {
  color: #fff;
  position: relative;
  margin-bottom: 14px;
}

.cta-final p {
  color: rgba(255, 255, 255, .92);
  max-width: 640px;
  margin-inline: auto;
  position: relative;
  font-size: 1.05rem;
}

.cta-final .btn-row {
  justify-content: center;
  position: relative;
}

.cta-final .btn--primary {
  background: #fff;
  color: var(--indigo-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}

.cta-final .btn--primary:hover {
  color: var(--rose);
  transform: translateY(-2px);
}

.cta-final .btn--ghost {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
  box-shadow: none;
}

.cta-final .btn--ghost:hover {
  background: rgba(255, 255, 255, .22);
  color: #fff;
  border-color: #fff;
}

.cta-final small {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, .78);
  font-size: .83rem;
  position: relative;
}

/* Bandeau CTA intermediaire */
.cta-band {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 32px);
  box-shadow: var(--sh-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-band h3 {
  margin-bottom: 5px;
}

.cta-band p {
  color: var(--text-soft);
  font-size: .95rem;
  max-width: 620px;
}

.cta-band .btn-row {
  margin-top: 0;
}

/* --------------------------------------------------------------------------
   21. Figures
   -------------------------------------------------------------------------- */

figure {
  margin: 0;
}

.figure img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  object-fit: cover;
}

.figure figcaption {
  margin-top: 12px;
  font-size: .85rem;
  color: var(--text-faint);
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 3.5vw, 48px);
  align-items: center;
}

/* --------------------------------------------------------------------------
   22. Barre de progression de lecture
   -------------------------------------------------------------------------- */

.read-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--grad);
  z-index: 120;
  transition: width 90ms linear;
  border-radius: 0 3px 3px 0;
}

/* Retour en haut */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--sh-2);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  transform: translateY(-3px) scale(1.05);
}

/* --------------------------------------------------------------------------
   23. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding-block: clamp(44px, 4.5vw, 68px) 28px;
  margin-top: clamp(44px, 5vw, 74px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(26px, 3.5vw, 52px);
}

.footer-grid h3 {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--indigo-dark);
  margin-bottom: 15px;
}

.footer-about p {
  color: var(--text-soft);
  font-size: .93rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 12px;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  object-fit: contain;
  background: #fff;
  padding: 3px;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: .92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--t-fast), transform var(--t-fast);
}

.footer-links a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--rose);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: background var(--t-fast);
}

.footer-links a:hover {
  color: var(--indigo-dark);
  transform: translateX(3px);
}

.footer-links a:hover::before {
  background: var(--indigo);
}

.footer-bottom {
  margin-top: clamp(30px, 3.5vw, 46px);
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 12px;
  font-size: .85rem;
  color: var(--text-faint);
}

.footer-bottom p {
  max-width: 100%;
}

.transparency {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 15px 18px;
  font-size: .87rem;
  color: var(--text-soft);
  margin-top: 6px;
}

.transparency b {
  color: var(--text);
}

/* --------------------------------------------------------------------------
   24. Reveal au scroll
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   25. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
  :root {
    --wrap: 1040px;
  }

  .nav a {
    padding: 8px 9px;
    font-size: .87rem;
  }

  .hero-float--a {
    left: -10px;
  }

  .hero-float--b {
    right: -6px;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--sh-2);
    padding: 16px 22px 24px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--t), opacity var(--t), visibility var(--t);
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    padding: 12px 14px;
    font-size: .97rem;
    border-radius: var(--r-sm);
  }

  .header-cta {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
  }

  .hero-float {
    display: none;
  }

  .stat-float {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -50px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .masonry {
    columns: 2;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16.5px;
  }

  .wrap {
    padding-inline: 18px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .masonry {
    columns: 1;
  }

  .glossary {
    grid-template-columns: 1fr;
  }

  .author-box {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .author-box img {
    width: 128px;
    height: 128px;
  }

  .author-links {
    justify-content: center;
  }

  .carousel-inner {
    flex-direction: column;
    gap: 16px;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .rating-block {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .btn-row {
    flex-direction: column;
  }

  .hero-signature {
    width: 100%;
  }
}

@media (max-width: 520px) {
  :root {
    --header-h: 64px;
  }

  .stat-float {
    grid-template-columns: 1fr;
    margin-top: -40px;
  }

  .card,
  .quote-card,
  .profile-card,
  .objection {
    padding: 20px;
  }

  .brand span small {
    display: none;
  }

  .rating-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }

  .tabs {
    width: 100%;
    justify-content: stretch;
  }

  .tab {
    flex: 1;
    text-align: center;
    padding-inline: 12px;
  }
}

/* --------------------------------------------------------------------------
   26. Preferences de mouvement reduit
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .card:hover,
  .quote-card:hover,
  .profile-card:hover,
  .stat-card:hover,
  .objection:hover,
  .btn:hover,
  .to-top:hover {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   27. Page 404
   -------------------------------------------------------------------------- */

.error-page {
  min-height: 74vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: clamp(48px, 8vw, 110px);
  background: var(--grad-soft);
}

.error-code {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(4.5rem, 3rem + 9vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.error-page p {
  color: var(--text-soft);
  max-width: 540px;
  margin-inline: auto;
  margin-top: 14px;
}

.error-page .btn-row {
  justify-content: center;
}

/* --------------------------------------------------------------------------
   28. Impression
   -------------------------------------------------------------------------- */

@media print {
  .site-header,
  .to-top,
  .read-bar,
  .nav-toggle,
  .carousel-nav,
  .cta-band,
  .cta-final,
  .btn-row {
    display: none !important;
  }

  body {
    font-size: 11pt;
    color: #000;
    background: #fff;
  }

  .section {
    padding-block: 14pt;
    break-inside: avoid;
  }

  .card,
  .quote-card,
  .profile-card,
  .table-wrap,
  .method-box,
  .author-box {
    box-shadow: none;
    border: 1px solid #bbb;
    break-inside: avoid;
  }

  .hero {
    background: #fff;
  }

  .masonry {
    columns: 1;
  }

  .faq-a {
    grid-template-rows: 1fr;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 8pt;
    color: #555;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
