/* ==========================================================================
   Lise — feuille de styles du site
   Couleurs et polices : tokens.css. Formes organiques, vagues, bandeau,
   taches flottantes, coches et logo : générés par js/site.js.
   ========================================================================== */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--fond-pierre);
  color: var(--encre);
  font-family: var(--font-texte);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Grain fin sur tout le site : voile de bruit fixe, au-dessus de tout, sans bloquer les clics */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.11 0 0 0 0 0.16 0 0 0 0 0.2 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.09;
}

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

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

h1, h2, h3, .num, .serif {
  font-family: var(--font-titre);
  font-weight: 400;
  font-synthesis: none;
}

:focus-visible {
  outline: 3px solid var(--ardoise);
  outline-offset: 4px;
  border-radius: 6px;
}
.on-dark :focus-visible { outline-color: var(--bleu-clair); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--bouton);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

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

/* ---------- Mise en page ---------- */
.page { position: relative; overflow: hidden; }

.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 56px);
}

.section { padding-block: clamp(80px, 10vw, 128px); }

/* Bande de couleur entre deux vagues */
.band { position: relative; z-index: 1; }
.band__body { background: var(--band); }
.band__body > .wrap { padding-block: clamp(48px, 6vw, 80px) clamp(80px, 10vw, 128px); }
.band--bleu { --band: var(--aplat-bleu-pale); }
.band--vert { --band: var(--aplat-vert-pale); }

.stack { display: flex; flex-direction: column; gap: var(--gap, 48px); }

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

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

/* ---------- Typographie ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.h1 {
  font-size: clamp(46px, 6.2vw, 84px);
  line-height: 1.03;
  letter-spacing: -0.02em;
}

.h2 {
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.h2--big { font-size: clamp(40px, 5vw, 68px); }

.h3 { font-size: 26px; line-height: 1.2; }

.lead { font-size: 20px; }
.text { font-size: 17px; max-width: 60ch; }
.intro p { max-width: 60ch; }
/* Titre qui doit tenir sur une ligne quand la place le permet */
.intro.intro--wide { max-width: none; }

.intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 760px;
}

/* ---------- Couleur des textes ----------
   Écrans tactiles : couleurs directement.
   Avec survol : gris au repos, ardoise au survol (texte par texte).
   Ne changent jamais : boutons, logo, textes sur les visuels,
   autocollant, numéros d'étapes. */
.tint :is(h1, h2, h3, p, li, summary, .num, .tx, .eyebrow, a):not(.btn, .logo, .num--accent):not(:is(.btn, .logo, .frame, .sticker, .step-num) *) {
  transition: color 0.35s ease;
}

.tint :is(h1, h2, h3, summary, .num, .eyebrow, a):not(.btn, .logo, .num--accent):not(:is(.btn, .logo, .frame, .sticker, .step-num) *) { color: var(--texte-survol); }
.tint :is(p, li, .tx):not(:is(.btn, .logo, .frame, .sticker, .step-num) *) { color: var(--encre); }

/* Contact : vert au survol (titres en lichen, petits textes et liens en vert clair, contraste AAA) */
.tint .on-dark :is(h1, h2, h3):not(.btn):not(:is(.btn, .logo) *) { color: var(--contact-titre-survol); }
.tint .on-dark :is(p, li, .tx, a):not(.btn):not(:is(.btn, .logo) *) { color: var(--contact-texte-survol); }
.tint .on-dark .eyebrow { color: var(--contact-etiquette-survol); }

@media (hover: hover) {
  .tint :is(h1, h2, h3, p, li, summary, .num, .tx, .eyebrow, a):not(.btn, .logo, .num--accent):not(:is(.btn, .logo, .frame, .sticker, .step-num) *):not(:hover) {
    color: var(--texte-repos-gris);
  }
  .tint :is(h1, h2, h3, p, li, summary, .num, .tx, .eyebrow, a):not(.btn, .logo, .num--accent):not(:is(.btn, .logo, .frame, .sticker, .step-num, .on-dark) *):hover {
    color: var(--texte-survol);
  }
  .tint .on-dark :is(h1, h2, h3, p, li, .tx, .eyebrow, a):not(.btn):not(:is(.btn, .logo) *):not(:hover) {
    color: var(--contact-texte-repos);
  }
}

/* ---------- En-tête ---------- */
.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  padding-block: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--encre);
  text-decoration: none;
}
.logo__text { display: flex; flex-direction: column; }
.logo__name {
  font-family: var(--font-titre);
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.logo__city {
  margin-top: -1px;
  padding-left: 2px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--bleu-clair);
}
.logo-mark { display: block; flex: none; width: 59px; height: 54px; }
.logo-mark svg { display: block; width: 100%; height: 100%; overflow: visible; }
.logo-mark path {
  transform-box: fill-box;
  transform-origin: center;
  animation: breathe 5s ease-in-out infinite;
}
.logo-mark path:nth-child(2n) { animation-delay: -1.3s; animation-duration: 6s; }
.logo-mark path:nth-child(3n) { animation-delay: -2.6s; animation-duration: 7s; }

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
}
.nav__link {
  padding: 6px 2px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}
.nav__link:hover,
.nav__link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--lichen); }
.nav__link[aria-current="page"] { font-weight: 600; }

.nav__links { display: contents; }

/* Téléphone : liens sur une ligne, bouton pleine largeur dessous */
@media (max-width: 720px) {
  .site-header { padding-block: 18px 8px; }
  .nav { width: 100%; gap: 12px; }
  .nav__links { display: flex; justify-content: space-between; gap: 8px; width: 100%; }
  .nav__link { font-size: 15px; }
  .sticker { top: -44px; right: -8px; width: 108px; height: 108px; font-size: 13px; }
  .nav .btn { width: 100%; justify-content: center; }
}

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--bouton);
  --btn-fg: #fff;
  --blob: var(--encre);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-texte);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(.2, 1.6, .4, 1), background-color 0.25s, box-shadow 0.25s;
}
.btn--small { padding: 12px 22px; font-size: 16px; }
.btn--lichen { --btn-bg: var(--lichen); --btn-fg: var(--encre); --blob: var(--bleu-clair); }
.btn--clair { --btn-bg: var(--bleu-clair); --btn-fg: var(--encre); --blob: var(--lichen); }
.btn--contour {
  --btn-bg: transparent;
  --btn-fg: var(--fond-pierre);
  --blob: rgba(220, 230, 236, .18);
  box-shadow: inset 0 0 0 1.5px var(--texte-sur-fonce);
}

.btn__blob {
  position: absolute;
  left: -6px;
  top: -6px;
  z-index: -1;
  width: calc(100% + 12px);
  height: calc(100% + 12px);
  overflow: visible;
  fill: var(--blob);
  opacity: 0;
  transform: scale(.85);
  transition: opacity .25s ease, transform .5s cubic-bezier(.2, 1.5, .3, 1);
  pointer-events: none;
}
.btn__arrow { flex: none; transition: transform .25s; }

@media (hover: hover) {
  .btn:hover {
    background-color: transparent;
    box-shadow: none;
    transform: translateY(-3px);
    animation: jelly .6s ease;
  }
  .btn:hover .btn__blob { opacity: 1; transform: scale(1); }
  .btn:hover .btn__arrow { transform: translateX(4px); }
}

/* ---------- Formes organiques (fond SVG généré) ---------- */
.shape { position: relative; isolation: isolate; }
.shape__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

/* ---------- Cadres photo / vidéo ---------- */
.frame {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  aspect-ratio: var(--ratio, 4 / 5);
  color: var(--encre);
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.frame:hover { transform: scale(1.04) rotate(-1deg); }
.frame--9x16 { --ratio: 9 / 16; }
.frame--16x9 { --ratio: 16 / 9; }
.frame--4x5 { --ratio: 4 / 5; }
.frame--1x1 { --ratio: 1 / 1; }

.frame__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}
.frame__label svg { width: 26px; height: 26px; }

/* Vraie photo ou vidéo : découpée par la forme (clip-path posé par site.js) */
.frame__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Coches de liste ---------- */
.checks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  line-height: 1.5;
  text-align: left;
}
.check {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}
.check__spot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: var(--bleu-clair);
  transition: transform .5s cubic-bezier(.2, 1.6, .4, 1);
}
.check__tick {
  position: relative;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--encre);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.check__tick path { stroke-dasharray: 1; stroke-dashoffset: 0; }

.checks li:hover .check__spot,
.card:hover .check__spot { transform: scale(1.3) rotate(25deg); }
.checks li:hover .check__tick path,
.card:hover .check__tick path { animation: draw .6s ease-out both; }
.card:hover li:nth-child(2) .check__spot { transition-delay: .08s; }
.card:hover li:nth-child(3) .check__spot { transition-delay: .16s; }
.card:hover li:nth-child(2) .check__tick path { animation-delay: .08s; }
.card:hover li:nth-child(3) .check__tick path { animation-delay: .16s; }

/* ---------- Cartes ---------- */
.card { transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.card:hover { transform: translateY(-8px); }

/* ---------- Vagues ---------- */
.wave {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: clamp(36px, 5vw, 70px);
  background: var(--wave-bg, transparent);
}
.wave svg { display: block; width: 100%; height: 100%; }
.wave g { animation: wave var(--wave-speed, 19s) linear infinite; }
.wave--reverse g { animation-direction: reverse; }

/* ---------- Bandeau défilant ---------- */
.marquee {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 84px;
  overflow: hidden;
  background: var(--bleu-clair);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  padding-inline: 20px;
  animation: marquee 38s linear infinite;
}
.marquee__item { flex: none; animation: bob 5s ease-in-out infinite alternate; }
.marquee__item svg { display: block; width: 100%; height: auto; }

/* ---------- Taches flottantes ---------- */
.floaters {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.floater {
  position: absolute;
  top: 100%;
  animation: rise-page var(--d, 100s) linear infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform;
}
.floater__avoid { transition: translate .7s cubic-bezier(.2, .8, .2, 1); }
.floater__sway { animation: sway 8s ease-in-out infinite alternate; }
.floater svg { display: block; width: 100%; height: auto; opacity: .8; }

/* ==========================================================================
   Sections
   ========================================================================== */

/* ---------- Accroche ---------- */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  padding-block: clamp(32px, 5vw, 64px) clamp(72px, 9vw, 112px);
}
.hero__text { display: flex; flex-direction: column; gap: 28px; }
.hero__text .lead { max-width: 34ch; }
.hero--createurs .hero__text .lead { max-width: 38ch; }

.buttons { display: flex; flex-wrap: wrap; gap: 14px; }

.collage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}
.collage > * { animation: pop 1.1s cubic-bezier(.2, 1.4, .3, 1) both; }
.collage > :nth-child(1) { animation-delay: .3s; }
.collage > :nth-child(2) { animation-delay: .45s; }
.collage > :nth-child(3) { animation-delay: .6s; }
.collage > :nth-child(4) { animation-delay: .75s; }
.collage > :nth-child(5) { animation-delay: .9s; }
.collage > :nth-child(6) { animation-delay: 1.05s; }

.collage--home > :nth-child(1) { grid-column: 1 / 9; }
.collage--home > :nth-child(2) { grid-column: 9 / 13; grid-row: 1 / 3; align-self: center; }
.collage--home > :nth-child(3) { grid-column: 1 / 5; }
.collage--home > :nth-child(4) { grid-column: 5 / 9; align-self: start; }
.collage--home > :nth-child(5) { grid-column: 1 / 4; }
.collage--home > :nth-child(6) { grid-column: 4 / 13; align-self: center; }

.collage--createurs { align-items: center; }
.collage--createurs > :nth-child(1) { grid-column: 1 / 6; }
.collage--createurs > :nth-child(2) { grid-column: 6 / 13; }
.collage--createurs > :nth-child(3) { grid-column: 3 / 9; }

.rise { animation: rise 1s cubic-bezier(.2, .8, .2, 1) both; }
.rise:nth-child(1) { animation-delay: .05s; }
.rise:nth-child(2) { animation-delay: .15s; }
.rise:nth-child(3) { animation-delay: .3s; }
.rise:nth-child(4) { animation-delay: .45s; }

/* ---------- Étapes ---------- */
.step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 40px 36px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 46% 54% 50% 50%;
  background: var(--bleu-clair);
  color: var(--encre);
  font-family: var(--font-titre);
  font-size: 24px;
  /* La tache du numéro se déforme et flotte en continu */
  animation: morph 6s ease-in-out infinite alternate, num-float 4s ease-in-out infinite alternate;
  transition: scale .5s cubic-bezier(.2, 1.6, .4, 1), rotate .5s cubic-bezier(.2, 1.6, .4, 1);
}
.step:nth-child(2) .step-num { animation-delay: -2s, -1.3s; }
.step:nth-child(3) .step-num { animation-delay: -4s, -2.6s; }
.step:hover .step-num { scale: 1.18; rotate: -12deg; }

/* Le fond de chaque carte respire doucement */
.step > .shape__bg { animation: breathe-card 9s ease-in-out infinite alternate; }
.step:nth-child(2) > .shape__bg { animation-delay: -3s; animation-duration: 10s; }
.step:nth-child(3) > .shape__bg { animation-delay: -6s; animation-duration: 11s; }

/* ---------- Ce que tu reçois ---------- */
.deliv { align-items: start; }
.deliv__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.deliv__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(260px, 24vw, 340px);
}
.deliv__visual .frame { height: 100%; width: auto; }
.deliv__count {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.deliv__count .num { font-size: 64px; line-height: 1; }
/* Grands chiffres : toujours en couleur, jamais gris */
.num--accent { color: var(--ardoise); }
.deliv__count .tx { font-size: 20px; font-weight: 700; }

/* ---------- Formules ---------- */
.offers { --min: 320px; align-items: stretch; }
.offer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 44px 38px;
  text-align: center;
}
.offer__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-height: 96px;
}
.offer__head .h3 { font-size: 30px; }
.offer__head .tx { max-width: 24ch; font-size: 16px; font-weight: 600; line-height: 1.5; }
.offer .checks { flex-grow: 1; align-self: center; }
.offer__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  padding-top: 8px;
}
.offer__foot .num { font-size: 40px; line-height: 1; }

.sticker {
  position: absolute;
  top: -50px;
  right: -28px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 124px;
  height: 124px;
  color: var(--encre);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.15;
  text-align: center;
  transform: rotate(12deg);
  animation: sticker 4s ease-in-out infinite alternate;
}

.included { display: flex; flex-direction: column; gap: 20px; }
.included .h3 { text-align: center; }
.included__box { padding: clamp(28px, 4vw, 40px) clamp(24px, 4vw, 44px); }
.included__box .checks {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 56px;
}

/* ---------- Réalisations ---------- */
.works-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.works { --min: 160px; gap: 40px 24px; align-items: start; }
.work { display: flex; flex-direction: column; gap: 14px; }
.work__meta { display: flex; flex-direction: column; gap: 2px; }
.work__meta .tx:first-child { font-size: 16px; font-weight: 700; }
.work__meta .tx + .tx { font-size: 15px; }

/* ---------- Pour qui ---------- */
.audience { --gap: 40px; }
.audience__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.audience__item .frame { width: 100%; max-width: 300px; margin-bottom: 12px; }

/* ---------- Questions ---------- */
.faq { align-items: start; }
.faq__list { display: flex; flex-direction: column; gap: 14px; }
.faq__item { padding: 26px 30px; }
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-titre);
  font-size: 22px;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item p { margin-top: 14px; }
.faq__plus {
  flex: none;
  stroke: var(--ardoise);
  stroke-width: 2.4;
  stroke-linecap: round;
  transition: transform .3s;
}
.faq__item details[open] .faq__plus { transform: rotate(45deg); }

/* ---------- Équipe ---------- */
.team { --min: 240px; --gap: clamp(28px, 3vw, 40px); }
.member { display: flex; flex-direction: column; gap: 18px; }
.member__id { display: flex; flex-direction: column; gap: 6px; }
.member__id .tx { font-size: 16px; font-weight: 700; }
.member a { font-size: 16px; font-weight: 600; }

/* ---------- Contact et pied de page ---------- */
.on-dark {
  position: relative;
  z-index: 1;
  background: var(--ardoise);
  color: var(--texte-sur-fonce);
}
.contact { display: flex; flex-direction: column; gap: 24px; max-width: 640px; }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 28px 40px;
  border-top: 1px solid rgba(220, 230, 236, .25);
}
.site-footer__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.site-footer__brand .logo-mark { width: 34px; height: 34px; }
.site-footer__brand .logo__name { font-size: 28px; color: var(--fond-pierre); }
.site-footer__brand .tx { margin-left: 6px; font-size: 15px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 15px; }

/* Repère visuel pour les contenus à remplacer */
.todo { white-space: nowrap; }

/* ==========================================================================
   Apparition au défilement
   ========================================================================== */
@supports (animation-timeline: view()) {
  .reveal {
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 5% entry 70%;
  }
  /* Dans une grille, les blocs apparaissent l'un après l'autre */
  .grid > .reveal:nth-child(3n+2) { animation-range: entry 15% entry 85%; }
  .grid > .reveal:nth-child(3n) { animation-range: entry 25% entry 100%; }
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes breathe { 0%, 100% { transform: scale(1) translate(0, 0); } 50% { transform: scale(1.14) translate(2px, -3px); } }
/* translate (et non transform) pour laisser fonctionner le survol des cartes */
@keyframes rise { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.6) rotate(-6deg); } to { opacity: 1; transform: none; } }
@keyframes jelly { 0% { scale: 1 1; } 30% { scale: 1.06 .94; } 55% { scale: .97 1.04; } 80% { scale: 1.01 .99; } 100% { scale: 1 1; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes wave { from { transform: translateX(0); } to { transform: translateX(-1440px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes bob { 0% { transform: translateY(-9px) rotate(-8deg); } 100% { transform: translateY(9px) rotate(10deg); } }
@keyframes sway { 0% { transform: translateX(-22px) rotate(-12deg); } 100% { transform: translateX(22px) rotate(14deg); } }
@keyframes rise-page { to { transform: translateY(calc(-1 * var(--page-h, 3000px) - 110%)); } }
@keyframes morph {
  0% { border-radius: 58% 42% 47% 53% / 46% 55% 45% 54%; }
  33% { border-radius: 40% 60% 62% 38% / 58% 40% 60% 42%; }
  66% { border-radius: 55% 45% 36% 64% / 40% 62% 38% 60%; }
  100% { border-radius: 46% 54% 55% 45% / 60% 44% 56% 40%; }
}
@keyframes num-float { from { transform: translateY(-4px) rotate(-6deg); } to { transform: translateY(4px) rotate(6deg); } }
@keyframes breathe-card { from { transform: rotate(-1.2deg) scale(.985); } to { transform: rotate(1.2deg) scale(1.015); } }
@keyframes sticker { from { transform: rotate(9deg) scale(1); } to { transform: rotate(15deg) scale(1.05); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .floaters { display: none; }
}
