/* ═══════════════════════════════════════════════════════════
   play.contentwatch.io
   Design system : Thibaut Loubère (teal profond × accents acidulés)
   Vanilla CSS, aucune dépendance, polices auto-hébergées.
   ═══════════════════════════════════════════════════════════ */

/* ───────────── Fonts (variables, sous-ensembles latin) ───────────── */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/bricolage-grotesque-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 800;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/bricolage-grotesque-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-var-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ───────────── Tokens ───────────── */
:root {
  /* Palette */
  --tl-teal: #0F3B40;
  --tl-teal-deep: #0B2E32;
  --tl-cream: #F5F1E8;
  --tl-cream-bright: #FFFDF7;
  --tl-white: #FFFFFF;
  --tl-lime: #D9F26A;
  --tl-mint: #3DE0B4;
  --tl-pink: #F5B6CC;
  --tl-pink-strong: #F58FB0;
  --tl-ink: #0F3B40;
  --tl-ink-soft: #4B6266;

  --tl-border: rgba(15, 59, 64, .10);
  --tl-border-strong: rgba(15, 59, 64, .18);
  --tl-border-light: rgba(245, 241, 232, .12);
  --on-dark-70: rgba(245, 241, 232, .70);
  --on-dark-55: rgba(245, 241, 232, .55);

  /* Type */
  --font-title: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 780px;
  --gutter: clamp(20px, 5vw, 40px);
  --space-section: clamp(80px, 12vw, 160px);

  /* Radii */
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --transition: 250ms var(--ease-out);
  --transition-slow: 400ms var(--ease-out);

  /* Shadows */
  --shadow-card: 0 20px 60px rgba(15, 59, 64, .10), 0 0 0 1px rgba(15, 59, 64, .06);
  --shadow-soft: 0 16px 40px rgba(15, 59, 64, .08);
  --shadow-mint: 0 12px 32px rgba(61, 224, 180, .30);
  --shadow-dark: 0 40px 80px rgba(0, 0, 0, .40), 0 0 0 1px rgba(245, 241, 232, .06);

  --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  /* clip plutôt que hidden : n'introduit pas de conteneur de défilement */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--tl-teal);
  color: var(--tl-ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1, h2, h3 {
  font-family: var(--font-title);
  font-optical-sizing: auto;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

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

::selection { background: var(--tl-lime); color: var(--tl-teal); }

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--gutter);
  z-index: 200;
  padding: 12px 20px;
  background: var(--tl-lime);
  color: var(--tl-teal);
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: top var(--transition);
}
.skip-link:focus { top: 16px; }

/* ───────────── Layout helpers ───────────── */
.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--max-width-narrow); }

.section {
  position: relative;
  padding-block: var(--space-section);
  overflow: hidden;
}
.section--cream { background: var(--tl-cream); }
.section--bright { background: var(--tl-cream-bright); }
.section--dark { background: var(--tl-teal); color: var(--tl-cream); }
.section--cta { background: var(--tl-teal-deep); color: var(--tl-cream); }

/* ───────────── Typographie partagée ───────────── */
.kicker {
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tl-lime);
}
.kicker--ink { color: var(--tl-ink-soft); }

.sec-head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 80px); }

.sec-title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--tl-ink);
}
.sec-title--on-dark { color: var(--tl-cream); }

.sec-lead {
  margin-top: 20px;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--tl-ink-soft);
}
.sec-lead--on-dark { color: var(--on-dark-70); }

.arrow {
  display: inline-block;
  transition: transform var(--transition) var(--ease-spring);
}
a:hover .arrow { transform: translateX(4px); }

.hl {
  color: var(--tl-lime);
}

/* ───────────── Boutons ───────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
}
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 20px 34px; font-size: 17px; }

.btn--accent {
  background: var(--tl-mint);
  color: var(--tl-teal);
  box-shadow: var(--shadow-mint);
}
.btn--accent:hover {
  background: var(--tl-lime);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(217, 242, 106, .30);
}

.btn--ghost {
  background: transparent;
  color: var(--tl-cream);
  border-color: var(--tl-border-light);
}
.btn--ghost:hover {
  background: rgba(245, 241, 232, .08);
  border-color: rgba(245, 241, 232, .32);
  transform: translateY(-2px);
}

/* ───────────── Navigation ───────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(15, 59, 64, .88);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background var(--transition);
}
.nav.is-scrolled { border-bottom-color: var(--tl-border-light); }

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 14px var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--tl-cream);
  white-space: nowrap;
}
.brand__mark { display: flex; }
.brand__dim { color: var(--on-dark-55); font-weight: 500; }

.nav__links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav__links a {
  position: relative;
  padding: 8px 14px;
  font-size: 15px;
  color: var(--on-dark-70);
  border-radius: var(--radius-pill);
  transition: color var(--transition), background var(--transition);
}
.nav__links a:hover { color: var(--tl-cream); background: rgba(245, 241, 232, .07); }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 1px solid var(--tl-border-light);
  border-radius: 12px;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--tl-cream);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.nav__mobile {
  display: flex;
  flex-direction: column;
  padding: 8px var(--gutter) 24px;
  border-top: 1px solid var(--tl-border-light);
}
.nav__mobile[hidden] { display: none; }
.nav__mobile a {
  padding: 14px 0;
  font-size: 17px;
  color: var(--tl-cream);
  border-bottom: 1px solid var(--tl-border-light);
}
.nav__mobile-cta {
  margin-top: 16px;
  color: var(--tl-lime) !important;
  font-weight: 600;
  border-bottom: 0 !important;
}

/* ───────────── Hero ───────────── */
.hero {
  position: relative;
  padding-top: clamp(120px, 18vw, 180px);
  padding-bottom: clamp(60px, 9vw, 100px);
  background: var(--tl-teal);
  color: var(--tl-cream);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 120%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 10% 30%, rgba(61, 224, 180, .14), transparent),
    radial-gradient(ellipse 60% 50% at 82% 68%, rgba(217, 242, 106, .10), transparent),
    radial-gradient(ellipse 45% 45% at 50% 45%, rgba(245, 182, 204, .06), transparent);
}
.hero__noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: var(--noise);
  background-size: 256px;
  opacity: .35;
  mix-blend-mode: overlay;
}
.hero__inner { position: relative; }

.hero__title {
  max-width: 15ch;
  font-size: clamp(42px, 8.5vw, 108px);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.04em;
  color: var(--tl-cream);
}

.hero__hl {
  color: var(--tl-lime);
  font-style: normal;
}

.scribble {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.scribble svg {
  position: absolute;
  left: -1.5%;
  bottom: .01em;
  width: 103%;
  height: .27em;
  overflow: visible;
  pointer-events: none;
}
/* État de base = trait visible ; l'animation ne fait que le révéler,
   pour que le scribble reste dessiné si les animations sont bloquées. */
.scribble path {
  stroke-dasharray: 400;
  stroke-dashoffset: 0;
  animation: draw 1.1s var(--ease-out) .45s backwards;
}
@keyframes draw { from { stroke-dashoffset: 400; } }

.hero__lead {
  max-width: 56ch;
  margin-top: clamp(24px, 3.5vw, 36px);
  font-size: clamp(17px, 2.1vw, 21px);
  color: var(--on-dark-70);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(32px, 4vw, 44px);
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 28px;
  border-top: 1px solid var(--tl-border-light);
  font-size: 15px;
  color: var(--on-dark-55);
}
.hero__proof strong {
  display: block;
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--tl-lime);
}

/* ───────────── Emplacement démo (vidéo) ─────────────
   Le cadre est en 4:3, ratio d'un iPad. Si la vidéo est tournée
   dans un autre ratio, changer --demo-ratio plutôt que le CSS. */
.demo {
  margin: clamp(56px, 8vw, 88px) auto 0;
  max-width: 860px;
}
.demo__device {
  position: relative;
  padding: 14px;
  background: linear-gradient(160deg, #17494f, #0B2E32);
  border: 1px solid var(--tl-border-light);
  border-radius: 28px;
  box-shadow: var(--shadow-dark);
}
.demo__screen {
  position: relative;
  aspect-ratio: var(--demo-ratio, 4 / 3);
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 70% at 30% 20%, rgba(61, 224, 180, .16), transparent),
    radial-gradient(ellipse 60% 60% at 78% 82%, rgba(217, 242, 106, .12), transparent),
    #0B2E32;
}
.demo__media { width: 100%; height: 100%; object-fit: cover; }

.demo__caption {
  margin-top: 16px;
  font-size: 14px;
  text-align: center;
  color: var(--on-dark-55);
}

/* ───────────── Marquee ───────────── */
/* Le wrapper absorbe le débord dû à l'inclinaison de la bande. */
.marquee-wrap {
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.marquee {
  position: relative;
  padding: 16px 0;
  background: var(--tl-lime);
  transform: rotate(-.8deg) scale(1.03);
  overflow: hidden;
  user-select: none;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: scroll 34s linear infinite;
}
.marquee__track span {
  display: flex;
  align-items: center;
  padding-right: 0;
  font-family: var(--font-title);
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--tl-teal);
  white-space: nowrap;
}
.marquee i { padding: 0 22px; font-style: normal; opacity: .5; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ───────────── Avant / Après ───────────── */
.ba {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
}
.ba__card {
  padding: clamp(28px, 3.5vw, 40px);
  background: var(--tl-white);
  border: 1px solid var(--tl-border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}
.ba__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.ba__card--before { background: rgba(15, 59, 64, .04); border-style: dashed; }
.ba__card--after { box-shadow: var(--shadow-soft); }

.ba__tag {
  display: inline-block;
  margin-bottom: 24px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tl-ink-soft);
  background: rgba(15, 59, 64, .07);
  border-radius: var(--radius-pill);
}
.ba__tag--after { color: var(--tl-teal); background: var(--tl-lime); }

.ba__list li {
  position: relative;
  padding: 0 0 14px 30px;
  color: var(--tl-ink-soft);
}
.ba__list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--tl-border-strong);
}
.ba__card--after .ba__list li { color: var(--tl-ink); }
.ba__card--after .ba__list li::before { content: "→"; color: var(--tl-mint); font-weight: 600; }

.ba__arrow {
  font-size: 28px;
  color: var(--tl-border-strong);
}

/* ───────────── Steps (comment ça marche) ───────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
  counter-reset: step;
}
.step {
  position: relative;
  padding: clamp(28px, 3.5vw, 40px);
  background: rgba(245, 241, 232, .04);
  border: 1px solid var(--tl-border-light);
  border-radius: var(--radius-lg);
  transition: background var(--transition-slow), transform var(--transition-slow);
}
.step:hover { background: rgba(245, 241, 232, .07); transform: translateY(-4px); }
.step__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  color: var(--tl-teal);
  background: var(--tl-lime);
  border-radius: 50%;
}
.step__title {
  margin-bottom: 12px;
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--tl-cream);
}
.step p { color: var(--on-dark-70); font-size: 16px; }

.handoff {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 28px;
  margin-top: clamp(24px, 3vw, 32px);
  padding: clamp(24px, 3vw, 34px) clamp(28px, 3.5vw, 40px);
  background: var(--tl-mint);
  color: var(--tl-teal);
  border-radius: var(--radius-lg);
}
.handoff__label {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .7;
}
.handoff__text {
  flex: 1 1 420px;
  font-family: var(--font-title);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.02em;
}
.handoff__text em { font-style: normal; opacity: .62; }

/* ───────────── Les jeux ───────────── */
.games {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
/* 3 colonnes : 4 jeux + la carte « votre idée » qui occupe 2 cellules */
@media (min-width: 900px) {
  .games { grid-template-columns: repeat(3, 1fr); }
  .game--custom { grid-column: span 2; }
  .game--custom p { max-width: 46ch; }
}
.game {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 34px);
  background: var(--tl-white);
  border: 1px solid var(--tl-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}
.game::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--tl-mint);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}
.game:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.game:hover::before { transform: scaleX(1); }

.game__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: var(--tl-teal);
  background: var(--tl-lime);
  border-radius: 14px;
}
.game__title {
  margin-bottom: 10px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.game p { font-size: 16px; color: var(--tl-ink-soft); }

.game--custom {
  background: var(--tl-teal);
  border-color: transparent;
  color: var(--tl-cream);
}
.game--custom .game__icon { background: var(--tl-pink); }
.game--custom p { color: var(--on-dark-70); }
.game__link {
  margin-top: 18px;
  font-weight: 600;
  color: var(--tl-lime);
}

/* ───────────── Timeline (processus) ───────────── */
.timeline {
  position: relative;
  display: grid;
  gap: 0;
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: clamp(16px, 3vw, 32px);
  padding-bottom: clamp(32px, 4vw, 44px);
}
.timeline__item::before {
  content: "";
  position: absolute;
  top: 56px;
  bottom: -4px;
  left: 27px;
  width: 2px;
  background: linear-gradient(var(--tl-border-strong), var(--tl-border));
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item:last-child::before { display: none; }

.timeline__num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: var(--tl-cream);
  background: var(--tl-teal);
  border-radius: 50%;
}
.timeline__body { padding-top: 8px; }
.timeline__body h3 {
  margin-bottom: 8px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -.02em;
}
.timeline__body p { color: var(--tl-ink-soft); max-width: 62ch; }

/* ───────────── Atouts ───────────── */
.perks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(4px, 1vw, 8px);
}
.perk {
  padding: clamp(26px, 3vw, 34px);
  border: 1px solid var(--tl-border-light);
  border-radius: var(--radius);
  transition: background var(--transition-slow);
}
.perk:hover { background: rgba(245, 241, 232, .05); }
.perk h3 {
  position: relative;
  margin-bottom: 12px;
  padding-left: 22px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--tl-cream);
}
.perk h3::before {
  content: "";
  position: absolute;
  top: .5em;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--tl-lime);
  border-radius: 50%;
}
.perk p { font-size: 16px; color: var(--on-dark-70); }

/* ───────────── Cas d'usage ───────────── */
.uses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
/* 5 cartes : 3 en haut, 2 centrées en dessous (grille de 6 colonnes) */
@media (min-width: 900px) {
  .uses { grid-template-columns: repeat(6, 1fr); }
  .use { grid-column: span 2; }
  .use:nth-child(4) { grid-column: 2 / span 2; }
  .use:nth-child(5) { grid-column: 4 / span 2; }
}
.use {
  padding: clamp(24px, 3vw, 32px);
  background: var(--tl-cream-bright);
  border: 1px solid var(--tl-border);
  border-radius: var(--radius);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}
.use:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.use h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.use p { font-size: 15px; color: var(--tl-ink-soft); }

/* ───────────── FAQ ───────────── */
.faq__item {
  border-bottom: 1px solid var(--tl-border);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  font-family: var(--font-title);
  font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 600;
  letter-spacing: -.02em;
  cursor: pointer;
  list-style: none;
  transition: color var(--transition);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  border-right: 2px solid var(--tl-ink-soft);
  border-bottom: 2px solid var(--tl-ink-soft);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform var(--transition);
}
.faq__item[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq__item summary:hover { color: var(--tl-ink-soft); }
.faq__body {
  padding-bottom: 26px;
  max-width: 66ch;
  color: var(--tl-ink-soft);
  animation: fade-in 300ms var(--ease-out);
}
@keyframes fade-in { from { opacity: 0; transform: translateY(-6px); } }

/* ───────────── CTA final ───────────── */
.final { position: relative; text-align: center; }
.final__title {
  font-size: clamp(34px, 6vw, 68px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.035em;
  color: var(--tl-cream);
}
.final__lead {
  max-width: 52ch;
  margin: 24px auto 0;
  font-size: clamp(17px, 2vw, 19px);
  color: var(--on-dark-70);
}
.final__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}
.final__note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--on-dark-55);
}

/* ───────────── Footer ───────────── */
.footer {
  padding-top: clamp(56px, 8vw, 80px);
  padding-bottom: 32px;
  background: var(--tl-teal-deep);
  color: var(--tl-cream);
  border-top: 1px solid var(--tl-border-light);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 4vw, 48px);
  padding-bottom: clamp(40px, 5vw, 56px);
}
.footer__brand p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--on-dark-55);
}
.footer__label {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--on-dark-55);
}
.footer__links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer__links a,
.footer__contact a {
  font-size: 15px;
  color: var(--on-dark-70);
  transition: color var(--transition);
}
.footer__links a:hover,
.footer__contact a:hover { color: var(--tl-lime); }
.footer__contact a { font-weight: 600; }

.footer__legal {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 24px var(--gutter) 0;
  border-top: 1px solid var(--tl-border-light);
  font-size: 13px;
  color: rgba(245, 241, 232, .35);
}

/* ───────────── Reveal au scroll ───────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ───────────── Responsive ───────────── */
@media (max-width: 940px) {
  .steps { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .ba { grid-template-columns: 1fr; }
  .ba__arrow { transform: rotate(90deg); justify-self: center; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 76px; }
  body { font-size: 16px; }

  .hero__title { max-width: none; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__proof { gap: 20px 28px; }
  .hero__proof li { flex: 1 1 40%; }

  .demo__device { padding: 10px; border-radius: 22px; }

  .timeline__item { grid-template-columns: 44px 1fr; gap: 16px; }
  .timeline__item::before { top: 46px; left: 21px; }
  .timeline__num { width: 44px; height: 44px; font-size: 18px; }
  .timeline__body { padding-top: 4px; }

  .handoff { flex-direction: column; gap: 12px; }
  .handoff__text { flex: 0 0 auto; }

  .final__cta .btn { flex: 1 1 100%; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ───────────── Accessibilité : mouvement réduit ───────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .scribble path { stroke-dashoffset: 0; }
}

/* ───────────── Impression ───────────── */
@media print {
  .nav, .marquee, .demo__device, .hero__glow, .hero__noise { display: none; }
  body { background: #fff; color: #000; }
  .section, .hero, .footer { background: #fff !important; color: #000 !important; }
  .reveal { opacity: 1; transform: none; }
}
