/* ==========================================================================
   YouTube Scale — Landing page
   Reprise fidèle de l'export Claude Design « YouTube Scale.dc.html »
   ========================================================================== */

/* ---------- Tokens ---------- */

:root {
  --bg: #FAF8F7;
  --surface: #FFFFFF;
  --ink: #141110;
  --night: #0A0808;
  --night-soft: #1C1716;

  --red: #F00000;
  --red-dark: #C40000;
  --red-bright: #FF1A1A;
  --red-light: #FF5C5C;
  --red-pale: #F5B3B3;
  --red-tint: #FFEDED;

  --text: #5E5552;
  --text-soft: #7A716E;
  --text-faint: #8A817E;
  --text-muted: #A39A97;

  --line: #E7E1DE;
  --line-soft: #F0EBE9;
  --chip: #F4EFED;

  --font-sans: 'Geist', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', serif;
  --font-mono: 'Geist Mono', monospace;

  --shadow-tag: 0 1px 2px rgba(20, 17, 16, .08), 0 0 0 1px rgba(20, 17, 16, .06);
  --shadow-card: 0 1px 2px rgba(20, 17, 16, .05), 0 0 0 1px rgba(20, 17, 16, .06);

  --container: 1180px;
  --section-space: clamp(80px, 10vw, 140px);
  --hover-transition: transform .2s ease, background .2s ease;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, ol {
  margin: 0;
}

h1, h2, h3 {
  font-size: inherit;
  font-weight: inherit;
}

ul, ol {
  padding: 0;
  list-style: none;
}

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

button {
  font: inherit;
}

[hidden] {
  display: none !important;
}

:where(a) {
  color: var(--red);
  text-decoration: none;
}

:where(a:hover) {
  color: var(--red-dark);
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 500;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* « clip » plutôt que « hidden » : évite le défilement horizontal sans casser position: sticky */
.page {
  min-height: 100vh;
  background: var(--bg);
  overflow-x: hidden;
  overflow-x: clip;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
}

/* ---------- Typographie partagée ---------- */

.title {
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.04em;
}

.accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--red);
}

.text-red {
  color: var(--red);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow-tag);
  font-size: 14px;
}

.tag::before {
  content: "";
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.tag--dark {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: none;
  box-shadow: none;
  color: #fff;
}

.tag--dark::before {
  width: 6px;
  height: 6px;
  background: var(--red-bright);
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-block;
  border-radius: 999px;
  font-size: 17px;
  transition: var(--hover-transition);
}

.btn--light {
  padding: 19px 32px;
  background: #fff;
  color: var(--night);
  font-weight: 500;
}

.btn--ghost {
  padding: 19px 30px;
  border: 1px solid rgba(240, 0, 0, .55);
  background: var(--night-soft);
  color: #fff;
}

.btn--ink {
  padding: 19px 32px;
  background: var(--ink);
  color: #fff;
  font-weight: 500;
}

.btn--lg {
  padding: 21px 36px;
  font-size: 18px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 14px;
  background: var(--bg);
}

.hero__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: min(900px, 100vh);
  padding: 22px clamp(16px, 4vw, 40px) 56px;
  border-radius: 28px;
  background: var(--night);
  overflow: hidden;
}

.hero__stripes {
  position: absolute;
  height: 85%;
  filter: blur(8px);
  opacity: .95;
  pointer-events: none;
}

.hero__stripes--left {
  top: 0;
  left: 0;
  width: 55%;
  background: repeating-linear-gradient(90deg, #FF1A1A 0px, #8A0000 22px, #FF3030 40px, #B00000 58px, #F00000 74px);
  -webkit-mask-image: radial-gradient(ellipse 85% 100% at 0% 0%, #000 40%, transparent 80%);
  mask-image: radial-gradient(ellipse 85% 100% at 0% 0%, #000 40%, transparent 80%);
}

.hero__stripes--right {
  right: 0;
  bottom: 0;
  width: 60%;
  background: repeating-linear-gradient(90deg, #F00000 0px, #6E0000 26px, #FF2020 44px, #A80000 64px, #FF1A1A 80px);
  -webkit-mask-image: radial-gradient(ellipse 85% 100% at 100% 100%, #000 40%, transparent 80%);
  mask-image: radial-gradient(ellipse 85% 100% at 100% 100%, #000 40%, transparent 80%);
}

.hero__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 38% 34% at 50% 48%, rgba(10, 8, 8, .75), transparent);
  pointer-events: none;
}

.hero__spacer {
  flex-shrink: 0;
  height: 56px;
}

.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 90px 0 40px;
  text-align: center;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(10, 8, 8, .6);
  color: #fff;
  font-size: 14px;
}

.hero__badge::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-bright);
}

.hero__title {
  margin-top: 28px;
}

.hero__title-main {
  display: block;
  max-width: 1100px;
  margin: 0 auto;
  color: var(--red);
  font-size: clamp(40px, 6.4vw, 100px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.045em;
}

.hero__title-accent {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(46px, 7.6vw, 120px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.02em;
}

.hero__lead {
  max-width: 640px;
  margin-top: 30px;
  color: rgba(255, 255, 255, .62);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  text-wrap: pretty;
}

.hero__hl {
  color: #fff;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}

.hero__note {
  margin-top: 22px;
  color: rgba(255, 255, 255, .5);
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .02em;
}

.hero__stats {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(24px, 6vw, 80px);
  padding-top: 20px;
}

.hero__stat {
  text-align: center;
}

.hero__stat-value {
  display: block;
  color: #fff;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -.03em;
}

.hero__stat-label {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, .55);
  font-size: 14px;
}

/* ---------- Navigation (fixe) ---------- */

.nav {
  position: fixed;
  z-index: 60;
  top: 36px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: calc(100% - 2 * clamp(16px, 4vw, 40px) - 28px);
  max-width: 1040px;
  padding: 10px 10px 10px 14px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 999px;
  background: rgba(20, 16, 15, .72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}

/* Une fois la page défilée : fond plus dense pour rester lisible sur les sections claires */
.nav.is-scrolled {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(20, 16, 15, .86);
  box-shadow: 0 12px 32px rgba(10, 8, 8, .18);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.nav__logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
}

.nav__name {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.nav__links {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.nav__link {
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  transition: color .2s ease;
}

.nav__cta {
  padding: 11px 20px;
  border: 1px solid rgba(240, 0, 0, .6);
  border-radius: 999px;
  background: var(--night-soft);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--hover-transition);
}

/* ---------- Bandeaux défilants ---------- */

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
}

.marquee__track.is-running {
  animation: marquee var(--duration) linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Confiance ---------- */

.trust {
  padding: 44px 0 20px;
  text-align: center;
}

.trust__title {
  padding: 0 20px;
  color: var(--text-soft);
  font-size: 15px;
}

.marquee--trust {
  --fade: 8%;
  --duration: 45s;
  margin-top: 24px;
}

/* Logos des chaînes accompagnées, recadrés en rond */
.trust-logo {
  flex-shrink: 0;
  padding-right: 28px;
}

.trust-logo img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--line);
  box-shadow: 0 0 0 1px rgba(20, 17, 16, .06);
  object-fit: cover;
  transition: transform .35s var(--ease-out);
}

/* ---------- Problème ---------- */

.problem {
  padding: var(--section-space) 20px;
}

.problem__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  align-items: start;
  gap: clamp(40px, 6vw, 96px);
  max-width: var(--container);
  margin: 0 auto;
}

/* Colonne collante sous la nav fixe, seulement quand le texte et la liste sont côte à côte
   (2 colonnes à partir d'environ 940 px) : empilés, le texte passerait par-dessus la liste. */
@media (min-width: 960px) {
  .problem__intro {
    position: sticky;
    top: 120px;
  }
}

.problem__title {
  margin-top: 22px;
  font-size: clamp(38px, 4.6vw, 64px);
}

.problem__title-muted {
  color: var(--text-muted);
}

.problem__text {
  max-width: 460px;
  margin-top: 24px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
  text-wrap: pretty;
}

/* Liste numérotée — aussi utilisée par la page mentions légales (.legal-*) */
.problem__list,
.legal__list {
  display: flex;
  flex-direction: column;
}

.problem-item,
.legal-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.problem-item__num,
.legal-item__num {
  padding-top: 6px;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 14px;
}

.problem-item__title,
.legal-item__title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.problem-item__text,
.legal-item__text {
  margin-top: 8px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  text-wrap: pretty;
}

/* ---------- Solution ---------- */

.solution {
  padding: 0 14px;
}

.solution__card {
  position: relative;
  padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 64px);
  border-radius: 28px;
  background: var(--night);
  overflow: hidden;
}

.solution__glow {
  position: absolute;
  top: -40%;
  right: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(240, 0, 0, .35), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}

.solution__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
}

.solution__title {
  max-width: 900px;
  margin-top: 22px;
  color: #fff;
  font-size: clamp(38px, 4.8vw, 68px);
}

.solution__text {
  max-width: 620px;
  margin-top: 22px;
  color: rgba(255, 255, 255, .6);
  font-size: 18px;
  line-height: 1.6;
  text-wrap: pretty;
}

.compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 16px;
  margin-top: 56px;
}

.compare__card {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
}

.compare__card--scale {
  border-color: rgba(240, 0, 0, .45);
  background: linear-gradient(160deg, #2A0606, #140909 60%);
}

.compare__label {
  color: rgba(255, 255, 255, .5);
  font-family: var(--font-mono);
  font-size: 15px;
}

.compare__card--scale .compare__label {
  color: var(--red-light);
}

.compare__title {
  margin-top: 10px;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.compare__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 26px;
}

.compare__item {
  display: flex;
  gap: 12px;
  color: rgba(255, 255, 255, .6);
  font-size: 16px;
  line-height: 1.5;
}

.compare__mark {
  color: rgba(255, 255, 255, .3);
}

.compare__card--scale .compare__item {
  color: #fff;
}

.compare__card--scale .compare__mark {
  color: var(--red);
  font-weight: 600;
}

.services__title {
  margin-top: 64px;
  color: rgba(255, 255, 255, .5);
  font-size: 15px;
}

.marquee--services {
  --fade: 6%;
  --duration: 40s;
  margin-top: 18px;
}

.service {
  flex-shrink: 0;
  padding-right: 10px;
}

.service__pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  color: #fff;
  font-size: 16px;
  white-space: nowrap;
}

.service__num {
  color: var(--red-light);
  font-family: var(--font-mono);
  font-size: 12px;
}

/* ---------- Avantages ---------- */

.benefits {
  padding: var(--section-space) 20px;
}

.benefits__title {
  max-width: 760px;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.04;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px;
  margin-top: 56px;
}

.benefit {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
  padding: 34px;
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}

.benefit__num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--red-tint);
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
}

.benefit__title {
  margin-top: 22px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.025em;
}

.benefit__text {
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  text-wrap: pretty;
}

/* ---------- Méthode (timeline) ---------- */

.method {
  padding: 0 20px var(--section-space);
}

.method__head {
  text-align: center;
}

.method__title {
  max-width: 820px;
  margin: 22px auto 0;
  font-size: clamp(36px, 4.6vw, 64px);
}

.timeline {
  --line-x: 50%;
  --progress: 100%;
  position: relative;
  margin-top: 80px;
}

.timeline__track,
.timeline__bar,
.timeline__dot {
  position: absolute;
  left: var(--line-x);
}

.timeline__track {
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
  transform: translateX(-1px);
}

.timeline__bar {
  top: 0;
  width: 2px;
  height: var(--progress);
  background: var(--red);
  transform: translateX(-1px);
  transition: height .15s linear;
}

.timeline__dot {
  top: var(--progress);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(240, 0, 0, .15);
  transform: translate(-8px, -8px);
  transition: top .15s linear;
}

.timeline__steps {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 72px);
}

.step {
  display: flex;
  justify-content: flex-end;
}

.step:nth-child(even) {
  justify-content: flex-start;
}

.step__inner {
  width: calc(50% - 56px);
  transition: opacity .4s ease;
}

.step__head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.step:nth-child(even) .step__head {
  justify-content: flex-end;
}

.step__num {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
}

.step__title {
  color: var(--red);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: -.035em;
}

.step__card {
  margin-top: 20px;
  padding: 30px 32px;
  border-radius: 16px;
  background: var(--red);
  color: #fff;
  transition: background .4s ease;
}

.step__text {
  font-size: 18px;
  line-height: 1.55;
  text-wrap: pretty;
}

.step__keys {
  margin-top: 16px;
  color: rgba(255, 255, 255, .75);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .02em;
}

/* Étapes pas encore atteintes au scroll (classe ajoutée par le JS) */
.timeline.is-animated .step:not(.is-active) .step__inner {
  opacity: .35;
}

.timeline.is-animated .step:not(.is-active) .step__card {
  background: var(--red-pale);
}

@media (max-width: 819.98px) {
  .timeline {
    --line-x: 12px;
  }

  .step,
  .step:nth-child(even) {
    justify-content: flex-start;
    padding-left: 36px;
  }

  .step__inner {
    width: 100%;
  }

  .step:nth-child(even) .step__head {
    justify-content: flex-start;
  }
}

/* ---------- Résultats ---------- */

.results {
  padding: 0 20px var(--section-space);
}

.results__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.results__title {
  margin-top: 22px;
  font-size: clamp(36px, 4.6vw, 64px);
}

.tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 0 0 1px rgba(20, 17, 16, .08);
}

.tabs__tab {
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: transform .2s ease;
}

.tabs__tab[aria-selected="true"] {
  background: var(--ink);
  color: #fff;
}

.case {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(24px, 4vw, 56px);
  margin-top: 40px;
  padding: clamp(16px, 2.5vw, 28px);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.case__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  background: repeating-linear-gradient(135deg, #F1ECEA 0 12px, #E9E2DF 12px 24px);
  overflow: hidden;
  isolation: isolate;
}

/* Miniature cliquable : lance la vidéo dans la carte (lien YouTube sans JS) */
.case__video {
  position: absolute;
  inset: 0;
  display: block;
}

.case__video:focus-visible {
  outline-offset: -4px;
}

.case__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}

.case__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.case__play {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  transition: transform .3s var(--ease-out);
}

.case__play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid #fff;
}

.case__body {
  display: flex;
  flex-direction: column;
  padding: clamp(4px, 1.5vw, 16px) clamp(4px, 1.5vw, 16px) 8px 0;
}

.case__tag {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
}

/* Logo rond de la chaîne à côté de son nom */
.case__identity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
}

.case__logo {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--line);
  box-shadow: 0 0 0 1px rgba(20, 17, 16, .06);
  object-fit: cover;
}

.case__name {
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -.035em;
}

.case__niche {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 17px;
}

.case__kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.kpi {
  padding: 20px;
  border-radius: 16px;
  background: var(--bg);
}

.kpi__value {
  display: block;
  color: var(--red);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 600;
  letter-spacing: -.04em;
}

.kpi__label {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 15px;
}

.case__action {
  margin-top: auto;
  padding-top: 28px;
}

.case__cta {
  display: block;
  padding: 18px;
  border-radius: 14px;
  background: var(--red);
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  text-align: center;
  transition: var(--hover-transition);
}

/* ---------- Chiffres ---------- */

.figures {
  padding: 0 20px var(--section-space);
}

.figures__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  max-width: var(--container);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.figure {
  padding: 40px 24px 0 0;
}

.figure__value {
  display: block;
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.05em;
}

.figure__value--accent {
  color: var(--red);
}

.figure__label {
  display: block;
  margin-top: 12px;
  color: var(--text);
  font-size: 17px;
}

/* ---------- Audit offert ---------- */

.audit {
  padding: 0 20px var(--section-space);
}

.audit__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  max-width: var(--container);
  margin: 0 auto;
}

.audit__title {
  margin-top: 22px;
  font-size: clamp(36px, 4.4vw, 60px);
}

.audit__text {
  max-width: 500px;
  margin-top: 22px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
  text-wrap: pretty;
}

.audit__cta {
  margin-top: 34px;
}

.audit__list {
  padding: 12px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.audit-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 22px 20px;
  border-bottom: 1px solid var(--line-soft);
}

.audit-item:last-child {
  border-bottom: 0;
}

.audit-item__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--red-tint);
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 14px;
}

.audit-item__title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.015em;
}

.audit-item__text {
  margin-top: 4px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- FAQ ---------- */

.faq {
  padding: 0 20px var(--section-space);
}

.faq__inner {
  max-width: 880px;
  margin: 0 auto;
}

.faq__title {
  font-size: clamp(36px, 4.4vw, 60px);
  text-align: center;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 48px;
}

.faq-item {
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 0 0 1px rgba(20, 17, 16, .07);
  transition: box-shadow .2s;
}

.faq-item[open] {
  box-shadow: 0 0 0 1px rgba(240, 0, 0, .35);
}

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
  border-radius: 18px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.01em;
  list-style: none;
  cursor: pointer;
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--chip);
  color: var(--ink);
  font-size: 20px;
  font-weight: 400;
  transition: transform .25s, background .2s;
}

.faq-item[open] .faq-item__icon {
  background: var(--red);
  color: #fff;
  transform: rotate(45deg);
}

.faq-item__a {
  max-width: 720px;
  padding: 0 26px 26px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  text-wrap: pretty;
}

/* ---------- CTA final ---------- */

.final-cta {
  padding: 0 14px;
}

.final-cta__card {
  position: relative;
  padding: clamp(90px, 12vw, 160px) 20px;
  border-radius: 28px;
  background: var(--night);
  text-align: center;
  overflow: hidden;
}

.final-cta__stripes {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 70%;
  background: repeating-linear-gradient(90deg, #FF1A1A 0px, #8A0000 24px, #FF3030 42px, #A80000 62px, #F00000 78px);
  filter: blur(8px);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 100%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 90% at 50% 100%, #000 30%, transparent 78%);
  pointer-events: none;
}

.final-cta__inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.final-cta__title,
.legal-hero__title {
  color: #fff;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -.045em;
}

.final-cta__text {
  max-width: 560px;
  margin: 26px auto 0;
  color: rgba(255, 255, 255, .65);
  font-size: 18px;
  line-height: 1.6;
}

.final-cta__btn {
  margin-top: 40px;
}

.final-cta__note {
  margin-top: 20px;
  color: rgba(255, 255, 255, .55);
  font-size: 14px;
}

/* ---------- Contact ---------- */

.contact {
  padding: clamp(80px, 10vw, 120px) 20px;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  align-items: start;
  gap: 40px;
  max-width: var(--container);
  margin: 0 auto;
}

.contact__title {
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.contact__links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 12px;
}

.contact-card {
  display: block;
  height: 100%;
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 0 0 1px rgba(20, 17, 16, .07);
  color: var(--ink);
  transition: box-shadow .25s ease, transform .35s var(--ease-out);
}

.contact-card__label {
  display: block;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
}

.contact-card__value {
  display: block;
  margin-top: 8px;
  font-size: 17px;
  font-weight: 500;
}

/* ---------- Footer ---------- */

.footer {
  padding: 32px 20px;
  border-top: 1px solid var(--line);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--container);
  margin: 0 auto;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.footer__logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
}

.footer__name {
  font-weight: 600;
  letter-spacing: -.02em;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
}

.footer__link {
  color: var(--text);
  transition: color .2s ease;
}

.footer__copy {
  color: var(--text-faint);
  font-size: 14px;
}

/* ---------- CTA flottant ---------- */

.sticky-cta {
  position: fixed;
  z-index: 50;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 10px 30px rgba(240, 0, 0, .35);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
  translate: 0 12px;
  transition: var(--hover-transition), opacity .3s ease, visibility .3s, translate .45s var(--ease-out);
}

.sticky-cta.is-visible {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
}

.sticky-cta__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}

/* ---------- Page mentions légales ----------
   Mêmes composants que la landing : hero sombre (version compacte), liste numérotée
   du « Constat », cartes de contact. */

.hero--compact .hero__card {
  min-height: 0;
}

.hero--compact .hero__content {
  padding: 64px 0 8px;
}

.legal-hero__title {
  margin-top: 28px;
}

.legal {
  padding: var(--section-space) 20px;
}

.legal__inner {
  max-width: 880px;
  margin: 0 auto;
}

.legal-item__text {
  max-width: 680px;
}

.legal-item__text + .legal-item__text {
  margin-top: 12px;
}

.legal-item__text strong {
  color: var(--ink);
  font-weight: 500;
}

.legal__contact {
  margin-top: 20px;
}

/* ---------- Animations & micro-interactions ----------
   Volontairement discrètes : fondu + léger déplacement (opacity / translate, fluides
   car gérés par le GPU). Toutes coupées si l'utilisateur demande moins d'animations. */

@keyframes rise {
  from {
    opacity: 0;
    translate: 0 14px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes drop {
  from {
    opacity: 0;
    translate: 0 -10px;
  }
}

@keyframes settle {
  from {
    opacity: 0;
    translate: 0 8px;
  }
}

@keyframes unfold {
  from {
    opacity: 0;
    translate: 0 -6px;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, .55);
  }

  70%,
  100% {
    box-shadow: 0 0 0 7px rgba(255, 255, 255, 0);
  }
}

/* Entrée du hero au chargement, en cascade */
.hero__stripes {
  animation: fade 1.6s ease both;
}

.nav {
  animation: drop .8s var(--ease-out) .05s both;
}

.hero__badge,
.hero__title-main,
.hero__title-accent,
.legal-hero__title,
.hero__lead,
.hero__actions,
.hero__note,
.hero__stats {
  animation: rise .9s var(--ease-out) both;
}

.hero__title-main {
  animation-delay: .08s;
}

.hero__title-accent,
.legal-hero__title {
  animation-delay: .16s;
}

.hero__lead {
  animation-delay: .26s;
}

.hero__actions {
  animation-delay: .34s;
}

.hero__note {
  animation-delay: .42s;
}

.hero__stats {
  animation-delay: .5s;
}

/* Apparition au scroll des blocs [data-reveal] : la classe .js est posée dans le <head>,
   .is-revealed par main.js quand le bloc entre à l'écran */
.js [data-reveal] {
  opacity: 0;
}

.js [data-reveal].is-revealed {
  animation: rise .8s var(--ease-out) var(--reveal-delay, 0s) both;
}

/* Changement d'étude de cas */
.case {
  animation: settle .5s var(--ease-out) both;
}

/* Réponse de FAQ qui se déplie */
.faq-item[open] .faq-item__a {
  animation: unfold .45s var(--ease-out);
}

/* Point du CTA flottant : pulsation douce, seulement quand il est affiché */
.sticky-cta.is-visible .sticky-cta__dot {
  animation: ping 2.4s ease-out 1s infinite;
}

/* Pas de surbrillance grise au tap sur les éléments qui ont leur propre retour visuel */
.btn,
.nav__cta,
.tabs__tab,
.case__cta,
.case__video,
.sticky-cta,
.contact-card,
.faq-item__q {
  -webkit-tap-highlight-color: transparent;
}

@media (prefers-reduced-motion: no-preference) {
  /* Fondu enchaîné entre la landing et les mentions légales (navigateurs compatibles) */
  @view-transition {
    navigation: auto;
  }

  /* Ouverture / fermeture en douceur de la FAQ (navigateurs compatibles) */
  @supports (interpolate-size: allow-keywords) and selector(::details-content) {
    :root {
      interpolate-size: allow-keywords;
    }

    .faq-item::details-content {
      block-size: 0;
      overflow-y: clip;
      transition: block-size .4s var(--ease-out), content-visibility .4s allow-discrete;
    }

    .faq-item[open]::details-content {
      block-size: auto;
    }
  }
}

/* ---------- Survols (appareils avec souris uniquement) ---------- */

@media (hover: hover) {
  .nav__link:hover {
    color: #fff;
  }

  .nav__cta:hover,
  .btn--ink:hover {
    background: var(--red);
    color: #fff;
    transform: scale(1.1);
  }

  .btn--light:hover {
    background: var(--red-tint);
    color: var(--night);
    transform: scale(1.1);
  }

  .btn--ghost:hover {
    border-color: var(--red);
    color: #fff;
    transform: scale(1.1);
  }

  .tabs__tab:hover {
    transform: scale(1.1);
  }

  .case__cta:hover,
  .sticky-cta:hover {
    background: var(--red-dark);
    color: #fff;
    transform: scale(1.1);
  }

  .contact-card:hover {
    box-shadow: 0 0 0 1px var(--red);
    color: var(--ink);
    transform: translateY(-2px);
  }

  .footer__link:hover {
    color: var(--red-dark);
  }

  .benefit:hover {
    box-shadow: 0 18px 36px -18px rgba(20, 17, 16, .22), 0 0 0 1px rgba(20, 17, 16, .06);
    transform: translateY(-4px);
  }

  .faq-item:not([open]):hover {
    box-shadow: 0 0 0 1px rgba(20, 17, 16, .14);
  }

  .faq-item:not([open]) .faq-item__q:hover .faq-item__icon {
    background: var(--line);
  }

  /* Bandeaux en pause au survol, pour prendre le temps de regarder */
  .marquee:hover .marquee__track {
    animation-play-state: paused;
  }

  .trust-logo:hover img {
    transform: scale(1.08);
  }

  .case__video:hover .case__img {
    transform: scale(1.03);
  }

  .case__video:hover .case__play {
    transform: scale(1.1);
  }

  /* Pression au clic (après les règles de survol pour les surcharger) */
  .nav__cta:active,
  .btn:active,
  .tabs__tab:active,
  .case__cta:active,
  .sticky-cta:active {
    transform: scale(1.05);
  }
}

/* Pression au tap sur écrans tactiles */
@media (hover: none) {
  .nav__cta:active,
  .btn:active,
  .tabs__tab:active,
  .case__cta:active,
  .sticky-cta:active {
    transform: scale(.97);
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 859.98px) {
  .nav__links {
    display: none;
  }
}

/* Onglets : une seule ligne qui défile horizontalement quand la place manque */
@media (max-width: 479.98px) {
  .tabs {
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .tabs__tab {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .trust-logo {
    padding-right: 20px;
  }

  .trust-logo img {
    width: 52px;
    height: 52px;
  }

  .case__identity {
    gap: 14px;
  }

  .case__logo {
    width: 52px;
    height: 52px;
  }
}

/* Petits téléphones : nav compacte pour que le CTA reste dans la barre */
@media (max-width: 389.98px) {
  .nav {
    gap: 10px;
  }

  .nav__brand {
    gap: 8px;
  }

  .nav__name {
    font-size: 16px;
  }

  .nav__cta {
    padding: 10px 14px;
  }
}

/* Très petits écrans : nom masqué visuellement (le lien garde son nom accessible),
   badge et boutons resserrés pour tenir sur une ligne */
@media (max-width: 359.98px) {
  .nav__name {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .hero__badge {
    gap: 8px;
    padding: 8px 14px;
    font-size: 13px;
  }

  .btn,
  .btn--lg {
    padding: 19px 24px;
    font-size: 17px;
  }
}

/* ---------- Mouvements réduits ---------- */

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0s !important;
  }

  .js [data-reveal] {
    opacity: 1;
  }
}

/* À l'impression, tout le contenu est visible même s'il n'a pas encore été révélé */
@media print {
  .js [data-reveal] {
    opacity: 1;
    animation: none;
  }
}
