/*
 * tryfrench.app : direction « polish » de l'app (DESIGN.md) : toile crème, bleu / corail / menthe / beurre,
 * Bricolage Grotesque + Nunito, reliefs, mascotte Bulle. Clair et sombre.
 *
 * Sommaire
 *   1. Tokens          5. Étapes, cartes
 *   2. Base, boutons   6. Écrans de l'app
 *   3. Mascotte        7. Voix, tarifs, FAQ
 *   4. Haut de page    8. Final, pied de page, mouvement
 */

/* ---------- 1. Tokens ---------- */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/BricolageGrotesque_700Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/BricolageGrotesque_800ExtraBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Nunito';
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/Nunito_700Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'Nunito';
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/Nunito_800ExtraBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Nunito';
  font-weight: 900;
  font-display: swap;
  src: url('/fonts/Nunito_900Black.ttf') format('truetype');
}

:root {
  --canvas: #f7f3ec;
  --wash: #efe9dd;
  --surface: #ffffff;
  --ink: #1d2230;
  --muted: #6b6f7c;
  --line: #ebe4d8;
  --blue: #1667f2;
  --blue-deep: #0b4cc0;
  --blue-soft: #dfe9ff;
  --blue-wash: #edf3ff;
  --blue-edge: #c3d5ff;
  --coral: #ff6b57;
  --coral-deep: #e2503d;
  --coral-soft: #ffe3dc;
  --coral-edge: #ffc6ba;
  --mint: #22c47e;
  --mint-soft: #d9f6e8;
  --mint-edge: #aee8cd;
  --mint-ink: #12895a;
  --butter: #ffcf4a;
  --butter-soft: #fff1c4;
  --butter-edge: #f2d98c;
  --on-blue: #ffffff;
  --shadow: 0 1px 0 rgba(29, 34, 48, 0.04), 0 10px 24px -14px rgba(29, 34, 48, 0.28);
  --shadow-lift: 0 1px 0 rgba(29, 34, 48, 0.05), 0 24px 48px -22px rgba(29, 34, 48, 0.42);
  --phone: #1d2230;

  /* Décor du café (héros) */
  --sc-wall: #dfe9ff;
  --sc-floor: #c9d9ff;
  --sc-floor-line: #b4c9fb;
  --sc-glass: #f3f7ff;
  --sc-sill: #ffffff;
  --sc-arch: #ffffff;
  --sc-table: #ffffff;
  --sc-table-edge: #e4d9c6;
  --sc-leg: #d8cdb9;
  --sc-paper: #ffffff;

  --display: 'Bricolage Grotesque', 'Nunito', ui-sans-serif, system-ui, sans-serif;
  --ui: 'Nunito', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #15171e;
    --wash: #1a1d27;
    --surface: #1f2330;
    --ink: #f4f0e8;
    --muted: #a6abb8;
    --line: #2d3241;
    --blue: #7ea6ff;
    --blue-deep: #4d78d6;
    --blue-soft: #24324f;
    --blue-wash: #1c2539;
    --blue-edge: #18233a;
    --coral: #ff8a78;
    --coral-deep: #d9604f;
    --coral-soft: #3b2622;
    --coral-edge: #2a1a17;
    --mint: #5fdca5;
    --mint-soft: #183b2d;
    --mint-edge: #10291f;
    --mint-ink: #5fdca5;
    --butter: #ffd96e;
    --butter-soft: #3a3219;
    --butter-edge: #29230f;
    --on-blue: #0f1a33;
    --shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 10px 24px -14px rgba(0, 0, 0, 0.6);
    --shadow-lift: 0 1px 0 rgba(0, 0, 0, 0.25), 0 24px 48px -22px rgba(0, 0, 0, 0.75);
    --phone: #0b0d12;
    --sc-wall: #1b2740;
    --sc-floor: #131c30;
    --sc-floor-line: #24324f;
    --sc-glass: #2a3a5c;
    --sc-sill: #31415f;
    --sc-arch: #31415f;
    --sc-table: #3a4459;
    --sc-table-edge: #2a3245;
    --sc-leg: #2a3245;
    --sc-paper: #f4f0e8;
    color-scheme: dark;
  }
}

/* ---------- 2. Base, boutons ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--ui);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection {
  background: var(--butter);
  color: #1d2230;
}
img,
svg {
  max-width: 100%;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
}
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 8px;
}
.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--canvas);
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.wrap {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}
.wrap--narrow {
  width: min(820px, 100% - 48px);
}
.ico {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}
.lead {
  font-size: clamp(17px, 1.9vw, 20px);
  color: var(--muted);
  max-width: 34em;
}

/* Mot clé surligné au feutre beurre */
mark {
  background: none;
  color: inherit;
  position: relative;
  white-space: nowrap;
  z-index: 0;
}
mark::after {
  content: '';
  position: absolute;
  left: -0.08em;
  right: -0.1em;
  bottom: 0.04em;
  height: 0.42em;
  background: var(--butter);
  border-radius: 0.2em 0.35em 0.25em 0.4em;
  transform: rotate(-1.2deg);
  z-index: -1;
}
@media (prefers-color-scheme: dark) {
  mark {
    color: #1d2230;
  }
  mark::after {
    left: -0.14em;
    right: -0.16em;
    bottom: -0.02em;
    height: 0.98em;
    border-radius: 0.3em;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pill--butter {
  background: var(--butter-soft);
  color: var(--ink);
  box-shadow: 0 3px 0 var(--butter-edge);
}
.pill--blue {
  background: var(--blue-soft);
  color: var(--blue-deep);
  box-shadow: 0 3px 0 var(--blue-edge);
}
.pill--coral {
  background: var(--coral-soft);
  color: var(--coral-deep);
  box-shadow: 0 3px 0 var(--coral-edge);
}
.pill--mint {
  background: var(--mint-soft);
  color: var(--mint-ink);
  box-shadow: 0 3px 0 var(--mint-edge);
}
.pill--mint-solid {
  background: var(--surface);
  color: var(--mint-ink);
  box-shadow: 0 3px 0 var(--mint-edge);
}
@media (prefers-color-scheme: dark) {
  .pill--blue {
    color: var(--blue);
  }
  .pill--coral {
    color: var(--coral);
  }
}

/* Bouton en relief : il s'enfonce à l'appui */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  padding: 0 30px;
  border-radius: 20px;
  background: var(--blue);
  color: var(--on-blue);
  font-family: var(--display);
  font-weight: 800;
  font-size: 19px;
  text-decoration: none;
  box-shadow: 0 6px 0 var(--blue-deep);
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--blue-deep);
}
.btn:active {
  transform: translateY(5px);
  box-shadow: 0 1px 0 var(--blue-deep);
}
.btn--sm {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 16px;
  font-size: 16px;
  box-shadow: 0 4px 0 var(--blue-deep);
}
.btn--sm:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--blue-deep);
}

/* Boutons des stores (liens à brancher à la sortie) */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.stores--center {
  justify-content: center;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 8px 24px 8px 18px;
  border-radius: 20px;
  background: var(--ink);
  color: var(--canvas);
  text-decoration: none;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.35);
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}
.store:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.35);
}
.store:active {
  transform: translateY(5px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}
.store__glyph .ico {
  width: 30px;
  height: 30px;
}
.store__text {
  display: grid;
  line-height: 1.1;
}
.store__text small {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}
.store__text strong {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ---------- 3. Mascotte Bulle ---------- */
.bulle {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  transform-origin: 50% 92%;
  animation: breathe 4.2s ease-in-out infinite;
  --b-ink: #1d2230;
  --b-shine: #ffffff;
  --b-cheek: rgba(196, 42, 28, 0.25);
  --b-tongue: #ff9d8f;
  --b-hat: #1d2230;
  --b-scarf: #e8323c;
  --b-scarf-shade: #c4202a;
}
@media (prefers-color-scheme: dark) {
  .bulle {
    --b-ink: #121520;
    --b-cheek: rgba(196, 42, 28, 0.35);
    --b-hat: #55648f;
    --b-scarf: #f0505a;
    --b-scarf-shade: #c4303a;
  }
}
.bulle--tutor {
  --b-body: var(--blue);
  --b-sprout: var(--blue);
}
.bulle--learner {
  --b-body: var(--coral);
  --b-sprout: var(--mint);
}
.b-body {
  fill: var(--b-body);
}
.b-sprout {
  fill: var(--b-sprout);
}
.b-ink {
  fill: var(--b-ink);
}
.b-shine {
  fill: var(--b-shine);
}
.b-cheek {
  fill: var(--b-cheek);
}
.b-tongue {
  fill: var(--b-tongue);
}
.b-hat {
  fill: var(--b-hat);
}
.b-scarf {
  fill: var(--b-scarf);
}
.b-scarf-shade {
  fill: var(--b-scarf-shade);
}
.b-flag {
  fill: var(--blue);
}
.b-line {
  fill: none;
  stroke: var(--b-ink);
  stroke-linecap: round;
}
.b-shine-line {
  stroke: var(--b-shine);
}
.b-shade-line {
  stroke: var(--b-scarf-shade);
}
.b-hat-line {
  stroke: var(--b-hat);
}
.b-eyes {
  transform-box: fill-box;
  transform-origin: center;
  animation: blink 5.5s infinite;
}
.b-talk {
  transform-box: fill-box;
  transform-origin: center;
  animation: talk 0.46s ease-in-out infinite alternate;
}
.hop {
  transform-origin: 50% 100%;
  animation: hop 3.4s var(--ease) infinite;
}
.sway {
  transform-origin: 50% 100%;
  animation: sway 4.6s ease-in-out infinite;
}
@keyframes breathe {
  50% {
    transform: scale(1.015, 0.985);
  }
}
@keyframes blink {
  0%,
  91%,
  100% {
    transform: scaleY(1);
  }
  95% {
    transform: scaleY(0.1);
  }
}
@keyframes talk {
  to {
    transform: scaleY(0.55);
  }
}
@keyframes hop {
  0%,
  55%,
  100% {
    transform: translateY(0) scale(1, 1);
  }
  62% {
    transform: translateY(0) scale(1.06, 0.92);
  }
  74% {
    transform: translateY(-12%) scale(0.97, 1.05);
  }
  86% {
    transform: translateY(0) scale(1.04, 0.95);
  }
}
@keyframes sway {
  0%,
  100% {
    transform: rotate(0deg);
  }
  35% {
    transform: rotate(-3deg);
  }
  70% {
    transform: rotate(2.5deg);
  }
}

/* ---------- 4. Haut de page ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--canvas) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  transition: box-shadow 0.25s var(--ease);
}
.nav.is-stuck {
  box-shadow: 0 1px 0 var(--line);
}
.nav__bar {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand__bulle {
  width: 40px;
  animation: none;
}
.brand__word {
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.03em;
}
.nav__links {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.nav__links a {
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  color: var(--muted);
  transition:
    background 0.2s,
    color 0.2s;
}
.nav__links a:hover {
  background: var(--surface);
  color: var(--ink);
}
.nav__end {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lang {
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 999px;
  border: 2px solid var(--line);
}
.lang:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(28px, 5vw, 64px) clamp(56px, 8vw, 112px);
}
.hero h1 {
  font-size: clamp(46px, 7.2vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 22px 0 22px;
  text-wrap: balance;
}
.hero .lead {
  margin-bottom: 32px;
}
.perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  font-size: 15px;
  font-weight: 800;
  color: var(--muted);
}
.perks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.perks .ico {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--mint-ink);
}

/* Scène du café */
.scene {
  position: relative;
  aspect-ratio: 14 / 15;
  width: 100%;
  max-width: 580px;
  margin-inline: auto;
  border-radius: 44px;
  box-shadow:
    0 8px 0 var(--blue-edge),
    var(--shadow-lift);
}
.scene-back,
.scene-front {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 round 44px);
  pointer-events: none;
}
.sc-wall {
  fill: var(--sc-wall);
}
.sc-floor {
  fill: var(--sc-floor);
}
.sc-floor-line {
  stroke: var(--sc-floor-line);
  stroke-width: 3;
}
.sc-tile {
  stroke: var(--sc-floor-line);
  stroke-width: 2;
  fill: none;
  opacity: 0.7;
}
.sc-glass {
  fill: var(--sc-glass);
}
.sc-gleam {
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 10;
  stroke-linecap: round;
}
.sc-sill {
  fill: var(--sc-sill);
}
.sc-stripe-a {
  fill: var(--coral);
}
.sc-stripe-b {
  fill: var(--sc-arch);
}
.sc-sign rect {
  fill: var(--butter);
}
.sc-sign text {
  fill: #1d2230;
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 4px;
}
.sc-lights path {
  stroke: var(--muted);
  stroke-width: 2;
  fill: none;
  opacity: 0.5;
}
.sc-lights circle {
  fill: var(--butter);
  animation: twinkle 2.6s ease-in-out infinite;
}
.sc-lights circle:nth-child(odd) {
  animation-delay: 1.1s;
}
.sc-leaf {
  fill: #22c47e;
}
.sc-leaf-2 {
  fill: #12895a;
}
.sc-pot {
  fill: var(--coral-deep);
}
.sc-shadow {
  fill: rgba(0, 0, 0, 0.1);
}
.sc-leg {
  fill: var(--sc-leg);
}
.sc-table-edge {
  fill: var(--sc-table-edge);
}
.sc-table {
  fill: var(--sc-table);
}
.sc-crois {
  fill: #f4b95a;
}
.sc-crois-line {
  stroke: #c98a2a;
  stroke-width: 2.4;
  stroke-linecap: round;
  fill: none;
}
.sc-mug {
  fill: var(--sc-paper);
}
.sc-mug-line {
  stroke: var(--sc-paper);
  stroke-width: 5;
  fill: none;
  stroke-linecap: round;
}
.sc-coffee {
  fill: #7a4a2b;
}
.sc-steam {
  stroke: var(--sc-paper);
  stroke-width: 3;
  stroke-linecap: round;
  fill: none;
  opacity: 0.8;
  animation: steam 3s ease-in-out infinite;
}
@keyframes twinkle {
  50% {
    opacity: 0.35;
  }
}
@keyframes steam {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.2;
  }
  50% {
    transform: translateY(-5px);
    opacity: 0.85;
  }
}

.scene__who {
  position: absolute;
}
.scene__who--tutor {
  left: 4%;
  bottom: 13%;
  width: 45%;
}
.scene__who--you {
  right: 3%;
  bottom: 10%;
  width: 39%;
}
.say {
  position: absolute;
  max-width: 52%;
  padding: 11px 16px 12px;
  border-radius: 22px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  font-size: clamp(14px, 1.7vw, 17px);
  line-height: 1.25;
  box-shadow: var(--shadow-lift);
  animation: pop 0.6s var(--spring) both;
}
.say small {
  display: block;
  margin-top: 3px;
  font-size: 0.78em;
  font-weight: 700;
  color: var(--muted);
}
.say::after {
  content: '';
  position: absolute;
  bottom: -7px;
  width: 16px;
  height: 16px;
  background: inherit;
  border-radius: 3px;
  transform: rotate(45deg);
}
.say--tutor {
  left: 6%;
  top: 26%;
  animation-delay: 0.7s;
}
.say--tutor::after {
  left: 26px;
}
.say--you {
  right: 4%;
  top: 41%;
  animation-delay: 1.1s;
}
.say--you::after {
  right: 34px;
}

.sticker {
  position: absolute;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--butter);
  color: #1d2230;
  box-shadow:
    0 4px 0 var(--butter-edge),
    var(--shadow);
  transform: rotate(-8deg);
}
.sticker strong {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1;
}
.sticker--hero {
  right: -14px;
  top: -18px;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  padding: 12px;
  animation: stick 0.7s var(--spring) 1.4s both;
}
.sticker--hero strong {
  font-size: 26px;
}
.sticker--hero span {
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  margin-top: 4px;
}
@keyframes stick {
  from {
    transform: rotate(10deg) scale(0);
    opacity: 0;
  }
  to {
    transform: rotate(-8deg) scale(1);
    opacity: 1;
  }
}
@keyframes pop {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ---------- 5. Étapes, cartes ---------- */
.section {
  padding-block: clamp(64px, 9vw, 120px);
}
.section--wash {
  background: var(--wash);
}
.section__head {
  display: grid;
  justify-items: start;
  gap: 16px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section__head h2,
.showcase__copy h2,
.voice__copy h2 {
  font-size: clamp(34px, 5vw, 56px);
  text-wrap: balance;
  max-width: 16em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step {
  position: relative;
  padding: 30px 28px 34px;
  border-radius: 32px;
  overflow: hidden;
  transition: transform 0.3s var(--spring);
}
.step:hover {
  transform: translateY(-5px) rotate(-0.6deg);
}
.step--butter {
  background: var(--butter-soft);
  box-shadow: 0 7px 0 var(--butter-edge);
}
.step--blue {
  background: var(--blue-soft);
  box-shadow: 0 7px 0 var(--blue-edge);
}
.step--coral {
  background: var(--coral-soft);
  box-shadow: 0 7px 0 var(--coral-edge);
}
.step__n {
  position: absolute;
  right: 18px;
  top: -8px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 150px;
  line-height: 1;
  letter-spacing: -0.06em;
  opacity: 0.16;
  pointer-events: none;
}
.step__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 20px;
  margin-bottom: 22px;
  color: #fff;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.18);
  transform: rotate(-5deg);
}
.step__icon .ico {
  width: 28px;
  height: 28px;
}
.step--butter .step__icon {
  background: #e0a716;
}
.step--blue .step__icon {
  background: var(--blue);
  color: var(--on-blue);
}
.step--coral .step__icon {
  background: var(--coral);
}
.step h3 {
  font-size: 26px;
  margin-bottom: 10px;
}
.step p {
  color: var(--muted);
  font-size: 16px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  padding: 30px;
  border-radius: 34px;
  overflow: hidden;
  transition: transform 0.3s var(--spring);
}
.card:hover {
  transform: translateY(-4px);
}
.card h3 {
  font-size: 27px;
  margin-bottom: 10px;
  text-wrap: balance;
}
.card p {
  font-size: 16px;
}
.card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.08);
}
.card--blue {
  background: var(--blue);
  color: var(--on-blue);
  box-shadow: 0 8px 0 var(--blue-deep);
}
.card--blue .card__icon {
  background: rgba(255, 255, 255, 0.22);
  color: var(--on-blue);
}
.card--blue p {
  opacity: 0.9;
}
.card--butter {
  background: var(--butter-soft);
  box-shadow: 0 8px 0 var(--butter-edge);
}
.card--coral {
  background: var(--coral-soft);
  box-shadow: 0 8px 0 var(--coral-edge);
}
.card--mint {
  background: var(--mint-soft);
  box-shadow: 0 8px 0 var(--mint-edge);
}
.card--blue-soft {
  background: var(--blue-soft);
  box-shadow: 0 8px 0 var(--blue-edge);
}
.card--paper {
  background: var(--surface);
  box-shadow:
    0 8px 0 var(--line),
    var(--shadow);
}
.card--butter p,
.card--coral p,
.card--mint p,
.card--blue-soft p,
.card--paper p {
  color: var(--muted);
}
.card--talk {
  grid-column: span 4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.card--plan {
  grid-column: span 2;
}
.card--roles,
.card--feedback,
.card--review {
  grid-column: span 2;
}
.card--level {
  grid-column: span 6;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: center;
}

/* Conversation (carte bleue) */
.talk {
  display: grid;
  gap: 12px;
}
.talk__row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.talk__row--you {
  justify-content: flex-end;
}
.talk__av {
  flex: none;
  width: 56px;
}
.talk__msg {
  padding: 11px 16px;
  border-radius: 20px 20px 20px 6px;
  background: #fff;
  color: #1d2230;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.3;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.14);
}
.talk__msg--you {
  background: var(--coral);
  color: #1d2230;
  border-radius: 20px 20px 6px 20px;
}
.talk__mic {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 6px;
}
.talk__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--coral);
  color: #1d2230;
  box-shadow: 0 5px 0 var(--coral-deep);
}
.talk__btn .ico {
  width: 26px;
  height: 26px;
}
.talk__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid var(--coral);
  animation: ring 2.4s ease-out infinite;
}
.waves {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 36px;
}
.waves i {
  width: 5px;
  height: 100%;
  border-radius: 3px;
  background: currentColor;
  opacity: 0.85;
  transform-origin: center;
  animation: wave 1.1s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.12s);
}
@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.25);
  }
  50% {
    transform: scaleY(1);
  }
}
@keyframes ring {
  from {
    transform: scale(0.9);
    opacity: 0.8;
  }
  to {
    transform: scale(1.9);
    opacity: 0;
  }
}

/* Parcours */
.route {
  position: relative;
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding-left: 4px;
}
.route::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 18px;
  bottom: 18px;
  border-left: 3px dashed var(--butter-edge);
}
.route__stop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 900;
  font-size: 15px;
}
.route__stop > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
  box-shadow: 0 3px 0 var(--butter-edge);
}
.route__stop .ico {
  width: 18px;
  height: 18px;
}
.route__stop.is-done > span {
  background: var(--mint);
  color: #fff;
  box-shadow: 0 3px 0 var(--mint-ink);
}
.route__stop.is-here > span {
  background: var(--blue);
  box-shadow: 0 3px 0 var(--blue-deep);
  animation: here 2s ease-in-out infinite;
}
.route__stop.is-here {
  color: var(--blue-deep);
}
@media (prefers-color-scheme: dark) {
  .route__stop.is-here {
    color: var(--blue);
  }
}
@keyframes here {
  50% {
    box-shadow:
      0 3px 0 var(--blue-deep),
      0 0 0 8px color-mix(in srgb, var(--blue) 25%, transparent);
  }
}

/* Jeux de rôle */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.chip {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 3px 0 var(--coral-edge);
  transition: transform 0.3s var(--spring);
}
.chip--0 {
  transform: rotate(-3deg);
}
.chip--1 {
  transform: rotate(2deg);
}
.chip--2 {
  transform: rotate(-1.5deg);
}
.chip--3 {
  transform: rotate(3deg);
  background: var(--coral);
  color: #1d2230;
}
.card:hover .chip {
  transform: rotate(0deg) translateY(-2px);
}

/* Correction */
.fix {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.fix__wrong {
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--surface);
  color: var(--muted);
  font-size: 15px;
  text-decoration: underline wavy var(--coral);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.card .fix__right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  padding: 10px 16px;
  border-radius: 16px;
  background: var(--mint);
  color: #0b2e20;
  font-weight: 900;
  font-size: 15px;
  box-shadow: 0 3px 0 var(--mint-ink);
}
.fix__right .ico {
  width: 18px;
  height: 18px;
}

/* Fiche de mot */
.word {
  margin-top: 20px;
  padding: 16px;
  border-radius: 20px;
  background: var(--surface);
}
.word__w {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  color: var(--ink) !important;
}
.word__w span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--on-blue);
}
.word__w .ico {
  width: 18px;
  height: 18px;
}
.word__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 16px;
  font-size: 11.5px;
  font-weight: 900;
  text-align: center;
  color: var(--muted);
}
.word__steps::before {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  top: 8px;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
}
.word__steps li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
}
.word__steps i {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface);
  border: 4px solid var(--line);
}
.word__steps .is-past i {
  background: var(--mint);
  border-color: var(--mint);
}
.word__steps .is-now i {
  background: var(--surface);
  border-color: var(--blue);
}
.word__steps .is-now {
  color: var(--blue-deep);
}
@media (prefers-color-scheme: dark) {
  .word__steps .is-now {
    color: var(--blue);
  }
}

/* Niveau : l'escalier A1 → C1 */
.stair {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 230px;
  padding-top: 70px;
}
.stair__step {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
  padding-top: 12px;
  border-radius: 16px 16px 6px 6px;
  background: var(--blue-soft);
  box-shadow: 0 4px 0 var(--blue-edge);
  color: var(--blue-deep);
}
.stair__label {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
}
.stair__step--0 {
  height: 52px;
}
.stair__step--1 {
  height: 84px;
}
.stair__step--2 {
  height: 116px;
  background: var(--blue);
  color: var(--on-blue);
  box-shadow: 0 4px 0 var(--blue-deep);
}
.stair__step--3 {
  height: 148px;
}
.stair__step--4 {
  height: 180px;
}
@media (prefers-color-scheme: dark) {
  .stair__step {
    color: var(--blue);
  }
  .stair__step--2 {
    color: var(--on-blue);
  }
}
.stair__who {
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  width: 62px;
  margin-left: -31px;
  color: var(--ink);
  text-align: center;
}
.stair__who em,
.stair__flag em {
  display: block;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
  margin-top: 2px;
}
.stair__bulle {
  animation: hop 3.6s var(--ease) infinite;
}
.stair__flag {
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  width: 64px;
  height: 62px;
  margin-left: -20px;
  color: var(--ink);
}
.stair__flag i {
  position: absolute;
  left: 8px;
  bottom: 22px;
  width: 4px;
  height: 38px;
  border-radius: 2px;
  background: var(--ink);
}
.stair__flag i::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 0;
  width: 26px;
  height: 18px;
  background: var(--butter);
  clip-path: polygon(0 0, 100% 25%, 0 100%);
  transform-origin: left center;
  animation: flag 2.2s ease-in-out infinite;
}
.stair__flag em {
  position: absolute;
  bottom: 0;
  left: -6px;
  width: 40px;
  text-align: center;
}
@keyframes flag {
  50% {
    transform: skewY(8deg) scaleX(0.9);
  }
}

/* ---------- 6. Écrans de l'app ---------- */
.showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.showcase__copy {
  display: grid;
  justify-items: start;
  gap: 20px;
}
.ticks {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}
.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 17px;
}
.ticks .ico {
  margin-top: 2px;
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: var(--mint);
  color: #fff;
}
.ticks--sm li {
  font-size: 15px;
}
.ticks--sm .ico {
  width: 24px;
  height: 24px;
}

.phones {
  position: relative;
  height: 680px;
}
.phone {
  position: absolute;
  isolation: isolate;
  width: 292px;
  height: 610px;
  padding: 10px;
  border-radius: 46px;
  background: var(--phone);
  box-shadow: var(--shadow-lift);
}
.phone::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  width: 78px;
  height: 22px;
  margin-left: -39px;
  border-radius: 12px;
  background: var(--phone);
  z-index: 2;
}
.phone--conv {
  left: 4%;
  top: 0;
  z-index: 2;
  transform: rotate(-3deg);
}
.phone--recap {
  right: 0;
  top: 62px;
  z-index: 1;
  transform: rotate(3.5deg);
}
.phone__screen {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 46px 16px 16px;
  border-radius: 38px;
  background: var(--canvas);
  overflow: hidden;
}
.app-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.round {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.round .ico {
  width: 18px;
  height: 18px;
}
.app-top strong {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.1;
}
.app-top small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
}
.app-scene {
  display: grid;
  place-items: end center;
  height: 126px;
  padding: 0 0 10px;
  border-radius: 22px;
  background: var(--sc-wall);
  position: relative;
  overflow: hidden;
}
.app-scene::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 36px;
  background: var(--sc-floor);
}
.app-scene .bulle {
  position: relative;
  width: 86px;
}
.app-chat {
  display: grid;
  gap: 10px;
}
.msg {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.msg__av {
  flex: none;
  width: 28px;
}
.msg p {
  padding: 9px 13px;
  border-radius: 16px 16px 16px 5px;
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 13.5px;
  line-height: 1.3;
  font-weight: 800;
}
.msg--you {
  justify-content: flex-end;
}
.msg--you p {
  background: var(--coral);
  color: #1d2230;
  border-radius: 16px 16px 5px 16px;
  max-width: 82%;
}
.app-hint {
  align-self: flex-start;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--mint-ink);
  font-size: 12.5px;
  font-weight: 900;
}
.app-mic {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-top: auto;
}
.app-mic__btn {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  box-shadow: 0 5px 0 var(--coral-deep);
}
.app-mic__btn .ico {
  width: 28px;
  height: 28px;
}
.app-mic__rings {
  position: absolute;
  top: 0;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 3px solid var(--coral);
  animation: ring 2.4s ease-out infinite;
}
.app-mic small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
}

.recap-hero {
  position: relative;
  display: grid;
  place-items: end center;
  height: 132px;
  border-radius: 22px;
  background: var(--butter-soft);
  overflow: hidden;
}
.recap-hero .bulle {
  width: 90px;
  margin-bottom: 8px;
}
.confetti {
  position: absolute;
  width: 10px;
  height: 14px;
  border-radius: 3px;
  animation: fall 3.2s ease-in infinite;
}
.confetti--1 {
  left: 16%;
  top: -14px;
  background: var(--coral);
}
.confetti--2 {
  left: 38%;
  top: -14px;
  background: var(--blue);
  animation-delay: 0.9s;
}
.confetti--3 {
  left: 66%;
  top: -14px;
  background: var(--mint);
  animation-delay: 1.8s;
}
.confetti--4 {
  left: 84%;
  top: -14px;
  background: var(--butter);
  animation-delay: 0.4s;
}
@keyframes fall {
  to {
    transform: translateY(150px) rotate(240deg);
    opacity: 0;
  }
}
.phone--recap h4 {
  font-size: 26px;
  margin-top: 2px;
}
.recap-sub {
  margin-top: -8px;
  font-size: 13px;
  color: var(--muted);
}
.recap-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.recap-stats div {
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.recap-stats strong {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
}
.recap-stats small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
}
.recap-skills {
  display: grid;
  gap: 9px;
}
.recap-skills li {
  display: grid;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 900;
}
.recap-skills b {
  display: block;
  height: 10px;
  border-radius: 6px;
  background: var(--line);
  overflow: hidden;
}
.recap-skills i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 6px;
  background: var(--mint);
  transform-origin: left;
}
.js .phone--recap:not(.is-in) .recap-skills i {
  transform: scaleX(0);
}
.recap-skills i {
  transition: transform 1.1s var(--ease) 0.5s;
}
.recap-words__t {
  font-size: 12.5px;
  font-weight: 900;
  color: var(--muted);
  margin-bottom: -4px;
}
.recap-words {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.recap-words li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 12.5px;
  font-weight: 900;
}
.recap-words .ico {
  width: 14px;
  height: 14px;
}
@media (prefers-color-scheme: dark) {
  .recap-words li {
    color: var(--blue);
  }
}

/* ---------- 7. Voix, tarifs, FAQ ---------- */
.section--mint {
  background: var(--mint-soft);
}
.voice {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.voice__copy {
  display: grid;
  justify-items: start;
  gap: 18px;
}
.voice__points {
  display: grid;
  gap: 22px;
  margin-top: 14px;
}
.voice__points li {
  display: flex;
  gap: 16px;
}
.voice__ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: var(--surface);
  color: var(--mint-ink);
  box-shadow: 0 4px 0 var(--mint-edge);
  transform: rotate(-4deg);
}
.voice__points li:nth-child(2) .voice__ico {
  transform: rotate(3deg);
}
.voice__points h3 {
  font-size: 21px;
  margin-bottom: 4px;
}
.voice__points p {
  color: var(--muted);
  font-size: 16px;
}
.rec {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 44px 24px 36px;
  border-radius: 40px;
  background: var(--surface);
  box-shadow:
    0 8px 0 var(--mint-edge),
    var(--shadow-lift);
  overflow: hidden;
}
.rec__badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--coral-soft);
  color: var(--coral-deep);
  font-family: var(--display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.06em;
}
.rec__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--coral);
  animation: rec 1.6s ease-in-out infinite;
}
.rec__badge i {
  position: absolute;
  left: -6px;
  right: -6px;
  top: 50%;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 3px;
  background: var(--ink);
  transform: rotate(-9deg);
}
@keyframes rec {
  50% {
    opacity: 0.3;
  }
}
.rec__n {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(120px, 16vw, 190px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  color: var(--mint-ink);
  margin-top: 8px;
}
.rec__l {
  font-size: 18px;
  font-weight: 900;
  color: var(--muted);
}
.rec__who {
  position: absolute;
  right: 18px;
  bottom: -6px;
  width: 92px;
  animation: sway 4.6s ease-in-out infinite;
  transform-origin: 50% 100%;
}

.plans {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 36px 32px 34px;
  border-radius: 36px;
  background: var(--surface);
  box-shadow:
    0 8px 0 var(--line),
    var(--shadow);
}
.plan--annual {
  box-shadow:
    0 0 0 3px var(--blue),
    0 11px 0 var(--blue-deep),
    var(--shadow-lift);
}
.plan__best {
  justify-self: start;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (prefers-color-scheme: dark) {
  .plan__best {
    color: var(--blue);
  }
}
.plan__best--ghost {
  visibility: hidden;
}
.plan h3 {
  font-size: 28px;
  margin-top: 8px;
}
.plan__price strong {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 6vw, 62px);
  letter-spacing: -0.04em;
}
.plan__price span {
  font-weight: 900;
  color: var(--muted);
}
.plan__sub {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 18px;
}
.sticker--plan {
  right: 22px;
  top: -26px;
  min-width: 118px;
  padding: 12px 18px;
  border-radius: 18px;
}
.sticker--plan strong {
  font-size: 19px;
  white-space: nowrap;
}
.fine {
  max-width: 62ch;
  margin: 30px auto 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.faq {
  display: grid;
  gap: 12px;
}
.qa {
  border-radius: 24px;
  background: var(--surface);
  box-shadow:
    0 4px 0 var(--line),
    var(--shadow);
}
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.015em;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary i {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-deep);
  transition:
    transform 0.3s var(--spring),
    background 0.2s;
}
@media (prefers-color-scheme: dark) {
  .qa summary i {
    color: var(--blue);
  }
}
.qa[open] summary i {
  transform: rotate(135deg);
  background: var(--butter);
  color: #1d2230;
}
.qa p {
  padding: 0 24px 22px;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- 8. Final, pied de page, mouvement ---------- */
.section--cta {
  padding-top: clamp(40px, 6vw, 72px);
}
.final {
  display: grid;
  grid-template-columns: 0.7fr 1.6fr 0.7fr;
  align-items: end;
  gap: 8px;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 48px) 0;
  border-radius: 48px;
  background: var(--butter-soft);
  box-shadow: 0 10px 0 var(--butter-edge);
  overflow: hidden;
}
.final__copy {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding-bottom: clamp(40px, 6vw, 72px);
  text-align: center;
}
.final__copy h2 {
  font-size: clamp(38px, 6vw, 68px);
  text-wrap: balance;
}
.final__copy .lead {
  margin-bottom: 8px;
}
.final__who {
  align-self: end;
  width: min(100%, 200px);
  margin-inline: auto;
}
.final__who--tutor {
  margin-bottom: -4px;
}

.footer {
  padding-block: 56px 48px;
}
.footer__bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px 40px;
  align-items: center;
}
.footer__brand {
  display: grid;
  gap: 4px;
}
.footer__brand p {
  color: var(--muted);
  font-size: 15px;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-weight: 900;
  font-size: 15px;
}
.footer__links a {
  text-decoration: none;
  color: var(--muted);
}
.footer__links a:hover,
.footer__rights a:hover {
  color: var(--ink);
}
.footer__rights {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 2px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.footer__rights a {
  text-decoration: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 200;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--canvas);
  font-weight: 900;
  font-size: 15px;
  box-shadow: var(--shadow-lift);
  transform: translate(-50%, 24px);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.35s var(--spring),
    opacity 0.25s;
}
.toast.is-on {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* Page introuvable */
.lost {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  text-align: center;
}
.lost__box {
  display: grid;
  justify-items: center;
  gap: 18px;
}
.lost__bulle {
  width: 150px;
}
.lost h1 {
  font-size: clamp(48px, 9vw, 84px);
}

/* Entrée en cascade (au chargement) et au défilement */
.rise {
  animation: rise 0.8s var(--ease) both;
  animation-delay: calc(var(--d, 0) * 90ms);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
/* La carte garde son effet de survol une fois révélée */
.js .card.reveal.is-in,
.js .step.reveal.is-in {
  transition:
    opacity 0.7s var(--ease),
    transform 0.3s var(--spring);
  transition-delay: calc(var(--d, 0) * 110ms), 0s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .js .phone--recap:not(.is-in) .recap-skills i {
    transform: none;
  }
}

/* ---------- Adaptation ---------- */
@media (max-width: 1000px) {
  .nav__links {
    display: none;
  }
  .nav__end {
    margin-left: auto;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero__copy {
    display: grid;
    justify-items: start;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .card--talk,
  .card--level {
    grid-column: span 2;
  }
  .card--plan,
  .card--roles,
  .card--feedback,
  .card--review {
    grid-column: span 1;
  }
  .card--talk,
  .card--level {
    grid-template-columns: 1fr;
  }
  .showcase,
  .voice {
    grid-template-columns: 1fr;
  }
  .phones {
    height: 660px;
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }
  .plans {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
  .plan__best--ghost {
    display: none;
  }
}
@media (max-width: 700px) {
  body {
    font-size: 16px;
  }
  .wrap,
  .wrap--narrow {
    width: calc(100% - 40px);
  }
  .nav__bar {
    min-height: 64px;
    gap: 12px;
  }
  .lang {
    display: none;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .card--talk,
  .card--level,
  .card--plan,
  .card--roles,
  .card--feedback,
  .card--review {
    grid-column: span 1;
  }
  .card {
    padding: 24px;
  }
  .hero .stores,
  .stores {
    width: 100%;
  }
  .store {
    flex: 1 1 200px;
  }
  .sticker--hero {
    right: -6px;
    top: -26px;
    width: 104px;
    height: 104px;
  }
  .sticker--hero strong {
    font-size: 22px;
  }
  .phones {
    height: 640px;
  }
  .phone--conv {
    left: 50%;
    margin-left: -146px;
    transform: rotate(-2deg);
  }
  .phone--recap {
    display: none;
  }
  .say {
    max-width: 60%;
    font-size: 14px;
  }
  .rec {
    padding-bottom: 96px;
  }
  .rec__who {
    right: 50%;
    margin-right: -42px;
    width: 84px;
  }
  .final {
    grid-template-columns: 1fr;
    padding-inline: 20px;
  }
  .final__copy {
    order: 1;
    padding-bottom: 20px;
  }
  .final__who--tutor {
    order: 2;
    width: 120px;
    justify-self: start;
    margin-left: 4%;
  }
  .final__who--you {
    order: 3;
    display: none;
  }
  .footer__bar {
    grid-template-columns: 1fr;
  }
  .qa summary {
    font-size: 18px;
    padding: 18px;
  }
  .qa p {
    padding: 0 18px 20px;
  }
}
