/* ==========================================================================
   mimopet.fr — feuille de style
   Marque : Fredoka, crème, bleu / rose / jaune / menthe. Mouvement : transform
   et opacity uniquement, courbes « expo out », tout coupé en reduced motion.
   ========================================================================== */

@font-face {
  font-family: "Fredoka";
  src: url("fonts/Fredoka_500Medium.ttf") format("truetype");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fredoka";
  src: url("fonts/Fredoka_600SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fredoka";
  src: url("fonts/Fredoka_700Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fredoka Logo";
  src: url("fonts/Fredoka_700Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

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

:root {
  --blue: #4a84e0;
  --blue-deep: #3a6fcb;
  --blue-ink: #1f3f7a;
  --pink: #e193c6;
  --pink-deep: #c2559b;
  --yellow: #ffdb8d;
  --mint: #93c36d;
  --mint-deep: #5f9b3a;
  --cream: #fffdf7;
  --cream-deep: #f5efe3;
  --ink: #18181b;
  --ink-soft: #52525b;
  --muted: #6b665c;
  --hairline: #ede7dc;
  --surface: #ffffff;
  --glass: rgba(255, 255, 255, 0.72);
  --maxw: 1120px;
  --gutter: clamp(20px, 5vw, 40px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 6px 18px rgba(16, 32, 72, 0.08);
  --shadow-md: 0 18px 44px rgba(16, 32, 72, 0.1);
  --shadow-lg: 0 34px 70px rgba(16, 32, 72, 0.16);
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 30px;
  --r-xl: 36px;
  interpolate-size: allow-keywords;
}

/* Transitions de page (navigation même origine), progressive. */
@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: 200ms ease both vt-out;
}

::view-transition-new(root) {
  animation: 340ms var(--ease) both vt-in;
}

@keyframes vt-out {
  to {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@keyframes vt-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

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

main {
  overflow-x: clip;
}

body {
  position: relative;
  font-family: "Fredoka", "Avenir Next", "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cg fill='%234A84E0' fill-opacity='0.035'%3E%3Cpath d='M36 22c2.2 0 4-1.8 4-4s-1.8-4-4-4-4 1.8-4 4 1.8 4 4 4zm-10 8c2.2 0 4-1.8 4-4s-1.8-4-4-4-4 1.8-4 4 1.8 4 4 4zm20 0c2.2 0 4-1.8 4-4s-1.8-4-4-4-4 1.8-4 4 1.8 4 4 4z'/%3E%3C/g%3E%3C/svg%3E");
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(110% 58% at 82% 0%, rgba(255, 219, 141, 0.5), rgba(255, 253, 247, 0) 64%),
    radial-gradient(80% 44% at 4% 8%, rgba(74, 132, 224, 0.14), rgba(255, 253, 247, 0) 62%),
    radial-gradient(50% 36% at 90% 40%, rgba(225, 147, 198, 0.14), rgba(255, 253, 247, 0) 70%),
    linear-gradient(180deg, rgba(255, 253, 247, 0) 26%, rgba(255, 253, 247, 0.92) 62%, #fffdf7 88%);
}

::selection {
  background: rgba(74, 132, 224, 0.24);
}

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

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

:focus-visible {
  outline: 3px solid rgba(74, 132, 224, 0.55);
  outline-offset: 3px;
  border-radius: 10px;
}

/* --------------------------------------------------------------------------
   Apparition au défilement
   `[data-reveal]` démarre invisible ; `.is-in` (posé par site.js) joue une
   animation en « backwards » : une fois finie, l'élément retrouve ses styles
   normaux, donc ses transformations au survol fonctionnent.
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
}

[data-reveal].is-in {
  opacity: 1;
  animation: rise 0.9s var(--ease) backwards;
  animation-delay: calc(var(--i, 0) * 80ms);
}

[data-reveal="pop"].is-in {
  animation-name: pop;
}

[data-reveal="left"].is-in {
  animation-name: slide-left;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes slide-left {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Utilitaires
   -------------------------------------------------------------------------- */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.grad {
  background: linear-gradient(92deg, var(--blue) 0%, #7a63d6 55%, var(--pink-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-deep);
  padding: 7px 13px;
  border: 1px solid #d7e4f8;
  background: rgba(74, 132, 224, 0.08);
  border-radius: 999px;
}

.eyebrow a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint-deep);
  box-shadow: 0 0 0 0 rgba(95, 155, 58, 0.5);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(95, 155, 58, 0.45);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(95, 155, 58, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(95, 155, 58, 0);
  }
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-deep);
  background: #e9f0fc;
  white-space: nowrap;
}

.chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.chip--cat {
  color: #b84a8f;
  background: #fbe9f4;
}

.chip--breed {
  color: #4f8a2c;
  background: #eaf4e2;
}

.chip--mimo {
  color: #9a6b00;
  background: #fff3d6;
}

.chip--both {
  color: #6b4bd6;
  background: #eee9fb;
}

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: clamp(38px, 6vw, 72px);
  letter-spacing: -0.04em;
  line-height: 1.0;
}

.lede {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--ink-soft);
  font-weight: 500;
  max-width: 38ch;
  text-wrap: pretty;
}

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

.btn,
.store {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--r-sm);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background 0.25s,
    color 0.25s;
}

.btn::after,
.store::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 32%, rgba(255, 255, 255, 0.2) 50%, transparent 68%);
  transform: translateX(-130%);
  transition: transform 0.9s var(--ease);
}

.btn:hover::after,
.store:hover::after {
  transform: translateX(130%);
}

.btn {
  padding: 12px 20px;
  font-size: 16px;
}

.btn--sm {
  padding: 9px 15px;
  font-size: 14px;
  border-radius: 11px;
}

.btn--ink,
.store {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px rgba(24, 24, 27, 0.16);
}

.btn--ink:hover,
.store:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(24, 24, 27, 0.22);
}

.btn--ghost {
  background: var(--glass);
  border: 1px solid var(--hairline);
  color: var(--ink);
}

.btn--ghost:hover {
  background: #fff;
  border-color: #d7e4f8;
  transform: translateY(-2px);
}

.btn:active,
.store:active {
  transform: translateY(0) scale(0.98);
}

.btn--arrow svg {
  transition: transform 0.35s var(--ease);
}

.btn--arrow:hover svg {
  transform: translateX(3px);
}

.store {
  padding: 9px 16px 9px 12px;
}

.store svg {
  width: 20px;
  height: 22px;
  flex: none;
}

.store small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.78;
}

.store strong {
  display: block;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.storeButtons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   En-tête
   -------------------------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px var(--gutter);
  background: rgba(255, 253, 247, 0.74);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition:
    padding 0.4s var(--ease),
    border-color 0.4s,
    background 0.4s;
  view-transition-name: site-header;
}

.header.is-scrolled {
  padding-block: 8px;
  border-color: var(--hairline);
  background: rgba(255, 253, 247, 0.88);
}

.headerBar {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: flex-end;
  overflow: visible;
  flex: none;
}

.logo {
  --logo: 36px;
  display: inline-flex;
  align-items: flex-end;
  font-family: "Fredoka Logo", "Fredoka", sans-serif;
  font-weight: 700;
  font-size: var(--logo);
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: lowercase;
  color: #18181b;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  transition: font-size 0.4s var(--ease);
}

.header.is-scrolled .logo {
  --logo: 30px;
}

.logo--sm {
  --logo: 30px;
}

.logo-i {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 2;
  padding-top: calc(var(--logo) * 0.5 * 577 / 762 + var(--logo) * 0.04 - var(--logo) * 0.12);
}

.logo-snout {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(var(--logo) * 0.5);
  height: calc(var(--logo) * 0.5 * 577 / 762);
  background: #18181b;
  -webkit-mask: url("img/logo-mark.png") center / contain no-repeat;
  mask: url("img/logo-mark.png") center / contain no-repeat;
}

.nav {
  display: flex;
  gap: 2px;
}

.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-soft);
  transition:
    background 0.25s,
    color 0.25s;
}

.nav a:hover,
.nav a[aria-current] {
  color: var(--ink);
  background: var(--cream-deep);
}

.headerRight {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang {
  display: flex;
  gap: 2px;
}

.lang a {
  font-size: 13px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted);
  transition:
    background 0.25s,
    color 0.25s;
}

.lang a:hover {
  color: var(--ink);
}

.lang a[aria-current] {
  color: var(--ink);
  background: var(--cream-deep);
}

.safariHint {
  display: none;
  max-width: var(--maxw);
  margin: 10px auto 0;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.safariHint.is-on {
  display: block;
}

.safariHint.is-pulse {
  animation: hintPulse 0.7s ease;
}

.openBrowser {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  width: 56px;
  height: 88px;
  color: var(--ink);
  pointer-events: none;
}

.openBrowser.is-on {
  display: block;
}

.openBrowser svg {
  position: absolute;
  top: -2px;
  right: 8px;
  width: 52px;
  height: auto;
  overflow: visible;
  transform-origin: 92% 6%;
  animation: arrowNudge 1.1s ease-in-out infinite;
}

@keyframes hintPulse {
  0%,
  100% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.04);
  }
}

@keyframes arrowNudge {
  0%,
  100% {
    transform: translate(0, 3px);
  }
  50% {
    transform: translate(2px, -4px);
  }
}

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

.hero {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(24px, 4vh, 56px) var(--gutter) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
}

.heroBlob {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(46px);
  pointer-events: none;
  opacity: 0.8;
}

.heroBlob--a {
  width: 38vw;
  height: 38vw;
  max-width: 520px;
  max-height: 520px;
  left: -10%;
  top: -10%;
  background: radial-gradient(circle, rgba(74, 132, 224, 0.22), transparent 70%);
  animation: blob 18s ease-in-out infinite;
}

.heroBlob--b {
  width: 30vw;
  height: 30vw;
  max-width: 420px;
  max-height: 420px;
  right: -6%;
  bottom: -20%;
  background: radial-gradient(circle, rgba(225, 147, 198, 0.22), transparent 70%);
  animation: blob 22s ease-in-out infinite reverse;
}

@keyframes blob {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  33% {
    transform: translate3d(4%, -6%, 0) scale(1.08);
  }
  66% {
    transform: translate3d(-3%, 4%, 0) scale(0.96);
  }
}

.heroCopy .eyebrow {
  margin-bottom: 22px;
}

.heroCopy h1 {
  margin-bottom: 18px;
}

.heroCopy .lede {
  margin-bottom: 24px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}

.trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.6;
}

.theater {
  position: relative;
  isolation: isolate;
  min-height: clamp(400px, 54vh, 540px);
  overflow: visible;
}

.theaterGlow {
  position: absolute;
  inset: 6% 8% 10%;
  background:
    radial-gradient(circle at 58% 42%, rgba(74, 132, 224, 0.22), transparent 62%),
    radial-gradient(circle at 30% 70%, rgba(255, 219, 141, 0.28), transparent 58%);
  pointer-events: none;
}

.scene {
  --tiltX: 0deg;
  --tiltY: 0deg;
  position: relative;
  z-index: 1;
  height: clamp(400px, 54vh, 540px);
  perspective: 1400px;
  perspective-origin: 50% 46%;
  transform-style: preserve-3d;
  transform: rotateX(var(--tiltX)) rotateY(var(--tiltY));
}

.scene > * {
  position: absolute;
}

.rig {
  left: 50%;
  top: 50%;
  transform-style: preserve-3d;
  will-change: transform;
}

.rig--hero {
  width: clamp(148px, 17.5vw, 200px);
  z-index: 4;
  animation: floatHero 6.2s ease-in-out infinite;
}

.rig--sat {
  width: clamp(118px, 14vw, 164px);
  z-index: 2;
  animation: floatSat 7.4s ease-in-out infinite;
}

.rig--right {
  width: clamp(118px, 14vw, 164px);
  z-index: 3;
  animation: floatRight 6.8s ease-in-out infinite;
}

.phone {
  position: relative;
  border-radius: 13.4% / 6.2%;
  padding: 2%;
  background: linear-gradient(148deg, #54585f 0%, #191a1d 16%, #141518 50%, #191a1d 84%, #5a5e66 100%);
  box-shadow: 0 34px 70px rgba(74, 132, 224, 0.22), 0 4px 14px rgba(0, 0, 0, 0.1);
}

.phone img {
  border-radius: 11.6% / 5.4%;
  width: 100%;
}

.phone::after {
  content: "";
  position: absolute;
  top: 3.05%;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 3.1%;
  background: #08090a;
  border-radius: 999px;
  z-index: 2;
}

.phone .btns::before,
.phone .btns::after,
.phone .btns i {
  content: "";
  position: absolute;
  background: linear-gradient(90deg, #2b2e33, #5b6069);
  border-radius: 2px 0 0 2px;
}

.phone .btns::before {
  left: -1.2%;
  top: 19.5%;
  width: 1.4%;
  height: 4.2%;
}

.phone .btns::after {
  left: -1.2%;
  top: 26.5%;
  width: 1.4%;
  height: 8.4%;
}

.phone .btns i {
  right: -1.2%;
  top: 29%;
  width: 1.4%;
  height: 7.4%;
  background: linear-gradient(270deg, #2b2e33, #5b6069);
  border-radius: 0 2px 2px 0;
}

.phone--3d {
  transform-style: preserve-3d;
  box-shadow:
    0 40px 80px rgba(16, 32, 72, 0.28),
    0 12px 24px rgba(16, 32, 72, 0.16);
}

.phone--3d .glass {
  position: absolute;
  inset: 2%;
  border-radius: 11.6% / 5.4%;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 36%, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, 0.08) 100%);
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}

.phone--3d .glass::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.32) 48%, transparent 58%);
  transform: translateX(-140%);
  animation: shine 5.6s ease-in-out 1.2s infinite;
}

.shadow {
  left: 42%;
  bottom: 8%;
  width: min(280px, 42vw);
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(24, 24, 27, 0.16), transparent 70%);
  transform: translateX(-50%);
  filter: blur(6px);
  animation: breathe 6.2s ease-in-out infinite;
}

.orb {
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}

.orb--yellow {
  width: 140px;
  height: 140px;
  left: 8%;
  top: 16%;
  background: rgba(255, 219, 141, 0.45);
  animation: drift 10s ease-in-out infinite;
}

.orb--pink {
  width: 110px;
  height: 110px;
  right: 6%;
  top: 20%;
  background: rgba(225, 147, 198, 0.32);
  animation: drift 12s ease-in-out infinite reverse;
}

/* Puces de lecture : ce que Mimo « voit » sur la vidéo. */
.readChip {
  --c: var(--blue);
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 28px rgba(16, 32, 72, 0.14);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  opacity: 0;
  animation:
    chipIn 0.9s var(--ease) both,
    chipFloat 6s ease-in-out infinite;
  animation-delay: var(--d, 0s), calc(var(--d, 0s) + 0.9s);
  animation-fill-mode: both, none;
}

.readChip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent);
}

.readChip--1 {
  left: 0;
  top: 12%;
  --d: 0.9s;
}

.readChip--2 {
  right: -2%;
  top: 28%;
  --d: 1.25s;
  --c: var(--pink-deep);
}

.readChip--3 {
  left: 4%;
  bottom: 24%;
  --d: 1.6s;
  --c: var(--mint-deep);
}

.readChip--4 {
  right: 2%;
  bottom: 13%;
  --d: 1.95s;
  --c: #d19a00;
}

@keyframes chipIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes chipFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes floatHero {
  0%,
  100% {
    transform: translate3d(-42%, -54%, 70px) rotateX(14deg) rotateY(-18deg);
  }
  50% {
    transform: translate3d(-40%, -60%, 70px) rotateX(10deg) rotateY(-12deg);
  }
}

@keyframes floatSat {
  0%,
  100% {
    transform: translate3d(-118%, -48%, -80px) rotateX(10deg) rotateY(26deg) rotateZ(-5deg);
  }
  50% {
    transform: translate3d(-114%, -54%, -80px) rotateX(8deg) rotateY(22deg) rotateZ(-3deg);
  }
}

@keyframes floatRight {
  0%,
  100% {
    transform: translate3d(28%, -50%, -30px) rotateX(12deg) rotateY(-30deg) rotateZ(5deg);
  }
  50% {
    transform: translate3d(32%, -56%, -30px) rotateX(9deg) rotateY(-26deg) rotateZ(3deg);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -22px, 0) scale(1.08);
  }
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.7;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 0.4;
    transform: translateX(-50%) scale(0.86);
  }
}

@keyframes shine {
  0%,
  58% {
    transform: translateX(-140%);
  }
  78%,
  100% {
    transform: translateX(140%);
  }
}

/* --------------------------------------------------------------------------
   Bandeau défilant de questions
   -------------------------------------------------------------------------- */

.marquee {
  position: relative;
  margin: clamp(40px, 6vw, 72px) 0 0;
  padding: 4px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee + .marquee {
  margin-top: 10px;
}

.marqueeTrack {
  display: flex;
  width: max-content;
  animation: marquee 56s linear infinite;
}

.marquee--reverse .marqueeTrack {
  animation-direction: reverse;
}

.marquee:hover .marqueeTrack,
.marquee:focus-within .marqueeTrack {
  animation-play-state: paused;
}

.marqueeTrack a {
  --c: var(--blue);
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--hairline);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition:
    border-color 0.25s,
    background 0.25s,
    transform 0.35s var(--ease);
}

.marqueeTrack a.is-cat {
  --c: var(--pink-deep);
}

.marqueeTrack a::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
}

.marqueeTrack a:hover {
  border-color: #cfe0fb;
  background: #fff;
  transform: translateY(-2px);
}

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

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  max-width: var(--maxw);
  margin: clamp(56px, 8vw, 112px) auto 0;
  padding: 0 var(--gutter);
}

.sectionHead {
  max-width: 680px;
  margin-bottom: clamp(22px, 3vw, 36px);
}

.sectionHead .eyebrow {
  margin-bottom: 16px;
}

.sectionHead h2 {
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.sectionHead p {
  margin-top: 12px;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--ink-soft);
  font-weight: 500;
  text-wrap: pretty;
}

.sectionHead--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.sectionHead--row > div {
  max-width: 680px;
}

/* Comment ça marche */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.stepsLine {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 48px;
  height: 2px;
  z-index: 0;
  pointer-events: none;
}

.stepsLine path {
  stroke: #cfdcf3;
  stroke-width: 2;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  vector-effect: non-scaling-stroke;
}

.steps.is-in .stepsLine path {
  animation: draw 1.6s var(--ease) 0.35s forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.step {
  --c: var(--blue);
  position: relative;
  z-index: 1;
  padding: 26px 26px 28px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--hairline);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step--2 {
  --c: var(--pink-deep);
}

.step--3 {
  --c: var(--mint-deep);
}

.stepNum {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  background: var(--c);
  box-shadow: 0 10px 20px color-mix(in srgb, var(--c) 32%, transparent);
  margin-bottom: 18px;
}

.step h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.step p {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 16px;
  text-wrap: pretty;
}

/* Bento des fonctionnalités */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(22px, 3vw, 36px);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--hairline);
  transition:
    transform 0.55s var(--ease),
    box-shadow 0.55s var(--ease),
    border-color 0.3s;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #e3ebf8;
}

.tile--6 {
  grid-column: span 6;
}

.tile--3 {
  grid-column: span 3;
}

.tile--2 {
  grid-column: span 2;
}

.tile--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}

.tile--row.flip .tileArt {
  order: -1;
}

.tileText h3 {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 12px;
}

.tileText p {
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 500;
  color: var(--ink-soft);
  max-width: 44ch;
  text-wrap: pretty;
}

.tileArt {
  width: 100%;
  max-width: clamp(200px, 24vw, 300px);
  margin: 0 auto;
  transition: transform 0.7s var(--ease);
}

.tile:hover .tileArt {
  transform: translateY(-6px) rotate(-1deg);
}

.tileArt--pair {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  max-width: min(420px, 100%);
}

.tileArt--pair .phone {
  flex: 1;
}

.tile:not(.tile--row) .tileArt {
  margin-top: auto;
}

.tile--mini {
  gap: 12px;
  padding: 24px;
}

.tile--mini .ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: var(--c-bg, #e9f0fc);
  transition: transform 0.5s var(--ease);
}

.tile--mini:hover .ico {
  transform: rotate(-6deg) scale(1.06);
}

.tile--mini h3 {
  font-size: 19px;
}

.tile--mini p {
  font-size: 15px;
  color: var(--ink-soft);
  font-weight: 500;
  text-wrap: pretty;
}

/* Lueur qui suit le curseur */
.glow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(74, 132, 224, 0.1), transparent 62%);
  opacity: 0;
  transition: opacity 0.45s;
  pointer-events: none;
}

.glow:hover::before {
  opacity: 1;
}

.glow > * {
  position: relative;
  z-index: 1;
}

/* Chiffres */
.numbers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.num {
  padding: 26px 28px;
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.62));
  border: 1px solid var(--hairline);
}

.num strong {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 700;
  color: var(--ink);
}

.num strong small {
  font-size: 0.42em;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
}

.num > span {
  display: block;
  margin-top: 10px;
  font-weight: 600;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* Citations */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.quote {
  position: relative;
  min-height: 230px;
  padding: 26px;
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  color: var(--q-ink, var(--ink));
  background: var(--q-bg, #f8e4f1);
  overflow: hidden;
  transition: transform 0.55s var(--ease);
}

.quote:hover {
  transform: translateY(-4px);
}

.quote::before {
  content: "“";
  position: absolute;
  top: 2px;
  left: 18px;
  font-size: 140px;
  line-height: 1;
  font-weight: 700;
  opacity: 0.16;
}

.quote q {
  quotes: none;
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: pretty;
}

.quote span {
  font-size: 14px;
  font-weight: 600;
  opacity: 0.72;
}

.quote--pink {
  --q-bg: linear-gradient(180deg, #f8e4f1 0%, #f3d4e8 100%);
}

.quote--mint {
  --q-bg: linear-gradient(180deg, #e8f3dc 0%, #d8eac4 100%);
}

.quote--blue {
  --q-bg: linear-gradient(180deg, #e3edfc 0%, #d2e1f8 100%);
}

.quote--yellow {
  --q-bg: linear-gradient(180deg, #fff2d4 0%, #ffe6b3 100%);
}

/* --------------------------------------------------------------------------
   Cartes
   -------------------------------------------------------------------------- */

.cardGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

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

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 20px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--hairline);
  overflow: hidden;
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    border-color 0.3s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #dbe6f8;
}

.card .chip {
  align-self: flex-start;
}

.card strong {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  text-wrap: balance;
  padding-right: 28px;
}

.card .desc {
  font-size: 15px;
  color: var(--ink-soft);
  font-weight: 500;
  text-wrap: pretty;
}

.card .arrow {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cream-deep);
  color: var(--ink);
  transform: translate(6px, -6px);
  opacity: 0;
  transition:
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.card:hover .arrow {
  opacity: 1;
  transform: none;
}

.card .ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 22px;
  background: var(--c-bg, #e9f0fc);
}

.card .links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
}

.card .links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  transition:
    color 0.2s,
    transform 0.3s var(--ease);
}

.card .links a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.6;
  flex: none;
}

.card .links a:hover {
  color: var(--ink);
  transform: translateX(3px);
}

.card .more {
  margin-top: 4px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--blue-deep);
}

.postMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

/* Couverture d'article : dégradé + pictogramme */
.cover {
  --c1: #4a84e0;
  --c2: #e193c6;
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--c1), var(--c2));
  display: grid;
  place-items: center;
  overflow: hidden;
}

.cover::before,
.cover::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  aspect-ratio: 1;
}

.cover::before {
  width: 62%;
  left: -16%;
  top: -34%;
}

.cover::after {
  width: 74%;
  right: -22%;
  bottom: -46%;
}

.cover em {
  font-style: normal;
  font-size: clamp(52px, 7vw, 88px);
  line-height: 1;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.2));
  transition: transform 0.7s var(--ease);
}

.card:hover .cover em,
.featured:hover .cover em {
  transform: translateY(-6px) scale(1.06) rotate(-5deg);
}

.card .cover {
  margin: -22px -22px 6px;
  border-radius: 0;
}

.featured {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--surface);
  margin-bottom: 18px;
  transition:
    transform 0.55s var(--ease),
    box-shadow 0.55s var(--ease);
}

.featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.featured .cover {
  aspect-ratio: auto;
  min-height: 300px;
  border-radius: 0;
}

.featured .body {
  padding: clamp(22px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.featured h2 {
  font-size: clamp(26px, 3.4vw, 40px);
}

.featured p {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 16.5px;
  text-wrap: pretty;
}

.featured .more {
  font-weight: 700;
  color: var(--blue-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   FAQ (accordéon natif, animé quand le navigateur le permet)
   -------------------------------------------------------------------------- */

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

.section > .faq {
  max-width: 820px;
}

.faqItem {
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faqItem[open] {
  border-color: #dbe6f8;
}

.faqItem summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.faqItem summary::-webkit-details-marker {
  display: none;
}

.faqItem summary .plus {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cream-deep);
  color: var(--ink);
  transition:
    transform 0.45s var(--ease),
    background 0.3s,
    color 0.3s;
}

.faqItem[open] summary .plus {
  transform: rotate(45deg);
  background: var(--ink);
  color: #fff;
}

.faqBody p {
  margin: 0;
  font-size: inherit;
  color: inherit;
}

.faqBody {
  padding: 0 20px 20px;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.58;
  text-wrap: pretty;
}

@supports (interpolate-size: allow-keywords) {
  .faqItem::details-content {
    height: 0;
    overflow: clip;
    transition:
      height 0.45s var(--ease),
      content-visibility 0.45s allow-discrete;
  }

  .faqItem[open]::details-content {
    height: auto;
  }
}

/* --------------------------------------------------------------------------
   Pages « guide » : questions, races, articles
   -------------------------------------------------------------------------- */

.guide {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) var(--gutter) 0;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 18px;
}

.crumbs a:hover {
  color: var(--ink);
}

.crumbs i {
  font-style: normal;
  opacity: 0.45;
}

.crumbs span {
  color: var(--ink-soft);
}

.guide .eyebrow {
  margin-bottom: 16px;
}

.guide h1 {
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 16px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 26px;
}

.meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.answer {
  position: relative;
  padding: 22px 24px 22px 30px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(74, 132, 224, 0.1), rgba(225, 147, 198, 0.1));
  border: 1px solid #e6eaf5;
  font-size: clamp(18px, 2.3vw, 21px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
  text-wrap: pretty;
}

.answer::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(var(--blue), var(--pink));
}

.answerLabel {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 8px;
  font-weight: 700;
}

.guide .lede {
  max-width: 48ch;
  margin-bottom: 8px;
}

.guide h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin: 40px 0 14px;
  scroll-margin-top: 96px;
}

.guide h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
}

.guide p {
  font-size: 17px;
  font-weight: 500;
  color: #34343a;
  margin-bottom: 12px;
  text-wrap: pretty;
}

.guide .shot {
  width: min(220px, 46%);
  margin: 28px auto;
}

.signs {
  display: grid;
  gap: 12px;
  margin: 26px 0 8px;
}

.sign {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 22px 24px;
  transition:
    border-color 0.3s,
    box-shadow 0.45s var(--ease);
}

.sign:hover {
  border-color: #e3ebf8;
  box-shadow: var(--shadow-sm);
}

.sign h2,
.sign h3 {
  font-size: 20px;
  margin: 0 0 10px;
}

.sign p {
  margin: 0;
  color: var(--ink-soft);
}

.sign ul,
.prose ul,
.takeaways ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 9px;
}

.sign li,
.prose li,
.takeaways li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 16.5px;
  line-height: 1.5;
  text-wrap: pretty;
}

.sign li::before,
.prose li::before,
.takeaways li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.58em;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  transform: rotate(45deg);
}

.compare {
  margin: 24px 0 8px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
}

.compare div {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 12px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
}

.compare div:first-child {
  background: var(--cream-deep);
  font-weight: 700;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.compare div + div {
  border-top: 1px solid var(--hairline);
}

.cluster {
  display: grid;
  gap: 10px;
  margin: 36px 0 0;
}

.cluster a {
  position: relative;
  display: block;
  padding: 16px 44px 16px 18px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition:
    border-color 0.3s,
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.cluster a::after {
  content: "→";
  position: absolute;
  right: 18px;
  top: 16px;
  color: var(--muted);
  transition: transform 0.35s var(--ease);
}

.cluster a:hover {
  border-color: #dbe6f8;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.cluster a:hover::after {
  transform: translateX(4px);
}

.cluster a span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}

.related {
  margin-top: 40px;
}

.related h2 {
  margin-top: 0;
}

.guide .cardGrid {
  margin-top: 14px;
}

.guide .disclaimer {
  text-align: left;
  margin: 28px 0 0;
}

/* Article de blog */
.postCover {
  aspect-ratio: 21 / 9;
  margin-bottom: 28px;
}

.toc {
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--cream-deep);
  margin-bottom: 28px;
}

.toc strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.toc ol {
  margin: 10px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink-soft);
}

.toc a:hover {
  color: var(--blue-deep);
}

.prose p {
  font-size: 17.5px;
  line-height: 1.62;
  margin-bottom: 14px;
}

.prose ul {
  margin: 0 0 18px;
}

.prose a {
  color: var(--blue-deep);
  font-weight: 600;
  border-bottom: 1px solid #c9dbf7;
  transition: border-color 0.2s;
}

.prose a:hover {
  border-color: var(--blue-deep);
}

.prose .intro {
  font-size: clamp(18px, 2.2vw, 20px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.55;
}

.takeaways {
  position: relative;
  overflow: hidden;
  padding: 24px 26px;
  border-radius: var(--r-md);
  background: var(--ink);
  color: #fff;
  margin: 26px 0 30px;
}

.takeaways::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 132, 224, 0.45), transparent 70%);
  pointer-events: none;
}

.takeaways strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 12px;
}

.takeaways li {
  color: rgba(255, 255, 255, 0.92);
}

.takeaways li::before {
  background: var(--yellow);
}

.author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--hairline);
  background: var(--surface);
}

.author .avatar {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--ink);
  display: grid;
  place-items: center;
}

.author .avatar i {
  width: 24px;
  height: 18px;
  background: #fff;
  -webkit-mask: url("img/logo-mark.png") center / contain no-repeat;
  mask: url("img/logo-mark.png") center / contain no-repeat;
}

.author strong {
  display: block;
  font-size: 15px;
}

.author p {
  margin: 2px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* Hubs */
.hub {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) var(--gutter) 0;
}

.hubHead {
  max-width: 760px;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.hubHead h1 {
  font-size: clamp(34px, 5.4vw, 62px);
  margin: 16px 0;
}

.hubHead .lede {
  max-width: 60ch;
}

.hub h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin: 40px 0 14px;
}

.hubHead .meta {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Closer (appel au téléchargement)
   -------------------------------------------------------------------------- */

.closer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: calc(min(var(--maxw), 100%) - 2 * var(--gutter));
  max-width: var(--maxw);
  margin: clamp(64px, 9vw, 120px) auto 0;
  padding: clamp(30px, 5vw, 56px);
  border-radius: var(--r-xl);
  background: var(--ink);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(22px, 4vw, 56px);
}

.guide + .closer {
  width: calc(min(760px, 100%) - 2 * var(--gutter));
  max-width: 760px;
}

.closerOrb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.closerOrb--a {
  width: 360px;
  height: 360px;
  right: -80px;
  top: -140px;
  background: radial-gradient(circle, rgba(74, 132, 224, 0.75), transparent 70%);
  animation: drift 14s ease-in-out infinite;
}

.closerOrb--b {
  width: 300px;
  height: 300px;
  left: -60px;
  bottom: -160px;
  background: radial-gradient(circle, rgba(225, 147, 198, 0.6), transparent 70%);
  animation: drift 18s ease-in-out infinite reverse;
}

.closer h2 {
  font-size: clamp(30px, 4.6vw, 54px);
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 12px;
}

.closer .lede {
  color: rgba(255, 255, 255, 0.72);
}

.closerCta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.closer .store {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.closer .store::after {
  background: linear-gradient(110deg, transparent 32%, rgba(74, 132, 224, 0.14) 50%, transparent 68%);
}

/* --------------------------------------------------------------------------
   Pages légales et support
   -------------------------------------------------------------------------- */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 72px) var(--gutter) 0;
}

.legal h1 {
  font-size: clamp(32px, 5.6vw, 52px);
  margin-bottom: 8px;
}

.legal .updated {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 30px;
}

.legal h2 {
  font-size: clamp(21px, 3vw, 27px);
  margin: 40px 0 12px;
}

.legal p {
  font-size: 16px;
  font-weight: 500;
  color: #3a3a3a;
  margin-bottom: 12px;
  text-wrap: pretty;
}

.legal a {
  font-weight: 600;
  color: var(--blue-deep);
}

.legal .mail {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  margin: 8px 0 18px;
  transition: transform 0.35s var(--ease);
}

.legal .mail:hover {
  transform: translateY(-2px);
}

nav.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 760px;
  margin: 0 auto;
  padding: 22px var(--gutter) 0;
}

nav.tabs a {
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--muted);
}

nav.tabs a:hover,
nav.tabs a[aria-current] {
  color: var(--ink);
  background: var(--cream-deep);
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */

.footer {
  max-width: var(--maxw);
  margin: clamp(48px, 7vw, 88px) auto 0;
  padding: 0 var(--gutter) 40px;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
}

.footerGrid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 34px 0;
  border-top: 1px solid var(--hairline);
}

.footerBrand p {
  margin: 12px 0 14px;
  max-width: 30ch;
  color: var(--ink-soft);
  font-weight: 500;
  text-wrap: pretty;
}

.footerCol strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}

.footerCol a {
  display: block;
  padding: 5px 0;
  color: var(--ink-soft);
  font-weight: 600;
  transition:
    color 0.2s,
    transform 0.3s var(--ease);
}

.footerCol a:hover {
  color: var(--ink);
  transform: translateX(3px);
}

.footerBottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 20px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
}

.footerMeta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footerDot {
  opacity: 0.5;
}

.disclaimer {
  max-width: 60ch;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Réactif
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tile--6,
  .tile--3,
  .tile--2 {
    grid-column: span 2;
  }

  .tile--mini {
    grid-column: span 1;
  }

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

@media (max-width: 860px) {
  .headerBar {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }

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

  .nav a {
    flex: none;
  }

  .header .btn--dl {
    display: none;
  }

  html {
    scroll-padding-top: 120px;
  }

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

  .theater,
  .scene {
    width: 100%;
    min-height: 400px;
    height: 400px;
  }

  .rig--hero {
    width: clamp(132px, 30vw, 176px);
  }

  .rig--sat,
  .rig--right {
    width: clamp(108px, 24vw, 142px);
  }

  .readChip {
    font-size: 12.5px;
    padding: 8px 11px;
  }

  .readChip--2,
  .readChip--4 {
    right: 0;
  }

  .heroBlob {
    display: none;
  }

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

  .stepsLine {
    display: none;
  }

  .numbers,
  .quotes,
  .cardGrid--3 {
    grid-template-columns: 1fr;
  }

  .numbers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .num {
    padding: 18px 16px;
  }

  .num strong {
    font-size: clamp(30px, 8vw, 44px);
  }

  .num > span {
    font-size: 13.5px;
  }

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

  .featured .cover {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .sectionHead--row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .bento {
    grid-template-columns: 1fr;
  }

  .tile--6,
  .tile--3,
  .tile--2,
  .tile--mini {
    grid-column: auto;
  }

  .tile--row {
    display: flex;
    flex-direction: column;
  }

  .tile--row.flip .tileArt {
    order: 0;
  }

  .tileArt {
    max-width: 220px;
  }

  .compare div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .closer .lede {
    margin-left: auto;
    margin-right: auto;
  }

  .closerCta {
    justify-content: center;
  }

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

  .footerBrand {
    grid-column: 1 / -1;
  }

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

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

  .num {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
  }

  .num > span {
    margin: 0;
    text-align: right;
  }
}

/* --------------------------------------------------------------------------
   Mouvement réduit : tout en place, rien ne bouge.
   -------------------------------------------------------------------------- */

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

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
  }

  [data-reveal].is-in {
    animation: none;
  }

  .readChip {
    opacity: 1;
    animation: none;
  }

  .dot,
  .heroBlob,
  .rig--hero,
  .rig--sat,
  .rig--right,
  .orb,
  .shadow,
  .phone--3d .glass::after,
  .openBrowser svg,
  .marqueeTrack,
  .closerOrb {
    animation: none;
  }

  .steps .stepsLine path {
    stroke-dashoffset: 0;
  }

  .rig--hero {
    transform: translate3d(-42%, -54%, 0) rotateX(12deg) rotateY(-16deg);
  }

  .rig--right {
    transform: translate3d(28%, -50%, 0) rotateY(-28deg);
  }

  .rig--sat {
    transform: translate3d(-92%, -46%, 0) rotateY(24deg);
  }

  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .marqueeTrack {
    flex-wrap: wrap;
    width: auto;
    gap: 10px;
    padding: 0 var(--gutter);
  }

  .marqueeTrack a {
    margin-right: 0;
  }

  .marqueeTrack a[aria-hidden] {
    display: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
