/* CleanMochi · site vitrine. DA validée le 24/09/2026, refonte v2 du 24/09/2026. */

@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/fredoka-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url(/assets/fonts/dm-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --mochi: #FFF7F3;
  --rose: #FFD9E2;
  --rose-pale: #FFEDF1;
  --sakura: #FF8FA8;
  --sakura-hover: #FF7A97;
  --framboise: #E24B6F;
  --framboise-texte: #C8325A; /* framboise assombrie pour le texte (AA) */
  --matcha: #6DBB7C;
  --encre: #2D2440;
  --encre-doux: #5A5068;
  --encre-trait: rgba(45, 36, 64, .12);
  --blanc: #FFFFFF;
  --app: #2D2440;
  --app-barre: #241D34;
  --titre: "Fredoka", "Arial Rounded MT Bold", ui-rounded, system-ui, sans-serif;
  --texte: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --largeur: 1180px;
  --gouttiere: 16px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .18 0 0 0 0 .14 0 0 0 0 .25 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  --trait: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 40' preserveAspectRatio='none'%3E%3Cpath d='M4 26C60 13 150 9 230 11s130 5 166 9c3 1 3 6 0 7-50 5-120 4-200 3S40 33 7 35c-5 0-7-7-3-9z' fill='%23FF8FA8'/%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--mochi);
  color: var(--encre);
  font: 400 17px/1.6 var(--texte);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--titre); font-weight: 600; line-height: 1.04; margin: 0; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 10.5vw, 6.1rem); }
h2 { font-size: clamp(2.3rem, 7.4vw, 4.4rem); }
h3 { font-size: clamp(1.85rem, 5.2vw, 2.7rem); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--framboise); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--encre); color: var(--blanc); padding: 10px 16px; border-radius: 10px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin: 0 auto; padding: 0 var(--gouttiere); }
@media (min-width: 768px) { :root { --gouttiere: 40px; } }

/* ---------- Trait de feutre sous le mot clé ---------- */
.feutre { position: relative; z-index: 0; white-space: nowrap; }
.feutre::after {
  content: ""; position: absolute; z-index: -1;
  left: -.06em; right: -.08em; bottom: .02em; height: .34em;
  background: var(--trait) center / 100% 100% no-repeat;
  clip-path: inset(0 0 0 0);
}
.js .feutre::after { clip-path: inset(0 100% 0 0); transition: clip-path .9s cubic-bezier(.65,.05,.25,1) .25s; }
.js .vu .feutre::after, .js .feutre.vu::after { clip-path: inset(0 0 0 0); }
.fond-encre .feutre::after { bottom: -.1em; height: .26em; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  font: 700 1.02rem/1 var(--texte); text-decoration: none; border: 0; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sakura { background: var(--sakura); color: var(--encre); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 12px 28px -12px rgba(226,75,111,.7); }
.btn-sakura:hover { background: var(--sakura-hover); transform: translateY(-1px); }
.btn-encre { background: var(--encre); color: var(--blanc); }
.btn-encre:hover { background: #3c3154; }
.btn-petit { min-height: 40px; padding: 0 18px; font-size: .94rem; }
.lien { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--sakura); }
.lien:hover { text-decoration-color: var(--framboise); }
.lien-video { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; color: var(--encre); padding: 8px 4px; }
.lien-video svg { width: 30px; height: 30px; flex: none; }
.lien-video:hover span { text-decoration: underline; text-decoration-color: var(--sakura); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(255,247,243,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.entete.defile { border-bottom-color: var(--encre-trait); }
.entete .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 600 1.4rem/1 var(--titre); letter-spacing: -.02em; }
.logo img { width: 34px; height: 34px; }
.logo-txt { color: var(--encre); white-space: nowrap; }
.logo .logo-txt span { color: var(--framboise); }
.nav { display: none; margin-left: auto; gap: 30px; font-size: .95rem; }
.nav a { text-decoration: none; font-weight: 500; color: var(--encre-doux); }
.nav a:hover { color: var(--encre); }
.entete-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.langue { display: inline-flex; font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.langue a, .langue span { padding: 6px 7px; text-decoration: none; line-height: 1; color: var(--encre-doux); border-radius: 6px; }
.langue a:hover { color: var(--encre); }
.langue [aria-current] { color: var(--encre); text-decoration: underline; text-decoration-color: var(--sakura); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.entete .btn { display: none; }
@media (min-width: 560px) { .entete .btn { display: inline-flex; } }
@media (min-width: 900px) { .nav { display: flex; } .entete-actions { margin-left: 30px; } }

/* ---------- Héros ---------- */
.heros { position: relative; padding: 48px 0 56px; text-align: center; overflow-x: clip; isolation: isolate; }
.heros::before {
  content: ""; position: absolute; z-index: -2; inset: -80px -20% auto; height: 820px;
  background:
    radial-gradient(38% 42% at 50% 30%, rgba(255,143,168,.42), transparent 70%),
    radial-gradient(34% 34% at 22% 18%, rgba(255,217,226,.95), transparent 72%),
    radial-gradient(30% 30% at 80% 22%, rgba(255,217,226,.9), transparent 72%);
  filter: blur(8px);
}
.heros::after { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--grain); opacity: .09; pointer-events: none; mask-image: linear-gradient(#000 40%, transparent); -webkit-mask-image: linear-gradient(#000 40%, transparent); }
.heros h1 { max-width: 11.5em; margin: 0 auto; }
.heros h1 .ligne { display: block; }
.chapo { font-size: clamp(1.08rem, 2.6vw, 1.3rem); line-height: 1.5; color: var(--encre-doux); max-width: 31em; margin: 22px auto 0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 26px; margin-top: 30px; }
.heros .ecran { margin: 56px auto 0; max-width: 1080px; position: relative; }
.preuves { list-style: none; padding: 0; margin: 30px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; font-size: .95rem; color: var(--encre-doux); font-weight: 500; }
.preuves li { padding: 0 14px; position: relative; }
.preuves li + li::before { content: ""; position: absolute; left: -2px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--sakura); }
@media (min-width: 768px) { .heros { padding: 80px 0 72px; } }

/* ---------- Fenêtre macOS ---------- */
.fenetre { position: relative; border-radius: 12px; overflow: hidden; background: var(--app); box-shadow: 0 0 0 1px rgba(45,36,64,.22), 0 2px 6px rgba(45,36,64,.1), 0 40px 80px -30px rgba(45,36,64,.5); text-align: left; }
.fenetre-barre { height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 13px; background: var(--app); }
.fenetre-barre i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.2); }
.fenetre-barre i:nth-child(2) { background: #FEBC2E; }
.fenetre-barre i:nth-child(3) { background: #28C840; }
.fenetre picture, .fenetre img { display: block; width: 100%; }
@media (min-width: 768px) {
  .fenetre-barre { height: 36px; padding: 0 16px; background: linear-gradient(90deg, var(--app-barre) 23.9%, var(--app) 23.9%); }
}
.mochi-coin { position: absolute; z-index: 2; width: 92px; top: -46px; right: -8px; filter: drop-shadow(0 10px 18px rgba(45,36,64,.22)); }
@media (min-width: 768px) { .mochi-coin { width: 150px; top: -78px; right: -54px; } }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
@media (min-width: 768px) { .section { padding: 136px 0; } }
.section-tete { text-align: center; max-width: 820px; margin: 0 auto; }
.section-tete p { font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: var(--encre-doux); margin: 20px auto 0; max-width: 32em; }

/* Bloc 2 : un clic, fond encre */
.fond-encre { background: var(--encre); color: var(--blanc); position: relative; overflow: hidden; isolation: isolate; }
.fond-encre::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 42%; width: 1100px; height: 700px; translate: -50% 0; background: radial-gradient(closest-side, rgba(255,143,168,.28), transparent); }
.fond-encre .section-tete p { color: rgba(255,255,255,.78); }
.fond-encre .ecran { margin: 56px auto 0; max-width: 1000px; }
.fond-encre .fenetre { box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 40px 90px -30px rgba(0,0,0,.6); }
.note-score { display: flex; align-items: baseline; justify-content: center; gap: 18px; margin: 44px 0 0; font: 600 clamp(3.2rem, 11vw, 6rem)/1 var(--titre); letter-spacing: -.03em; }
.note-score .avant { color: var(--sakura); }
.note-score .apres { color: var(--matcha); }
.note-score svg { width: .5em; height: .5em; color: rgba(255,255,255,.5); align-self: center; }
.note-demo { text-align: center; font-size: .92rem; color: rgba(255,255,255,.7); margin: 14px auto 0; max-width: 34em; }

/* Bloc 3 : trois fonctions */
.fonctions { display: grid; gap: 96px; margin-top: 72px; }
.fonction { display: grid; gap: 30px; align-items: center; }
.fonction-texte p { font-size: 1.12rem; color: var(--encre-doux); margin: 16px 0 0; max-width: 26em; }
.fonction .ecran { position: relative; }
.fonction .ecran::before { content: ""; position: absolute; z-index: -1; inset: 10% -6% -8% 8%; border-radius: 40px; background: var(--rose); }
.fonction:nth-child(even) .ecran::before { inset: 10% 8% -8% -6%; }
.fonction .ecran { isolation: isolate; }
.encart-menu { position: absolute; width: 46%; right: -3%; bottom: -9%; border-radius: 12px; box-shadow: 0 0 0 1px rgba(45,36,64,.25), 0 30px 60px -20px rgba(45,36,64,.55); }
@media (min-width: 900px) {
  .fonctions { gap: 150px; }
  .fonction { grid-template-columns: 5fr 7fr; gap: 72px; }
  .fonction:nth-child(even) .fonction-texte { order: 2; }
}

/* Bloc 4 : pourquoi */
.pourquoi { background: var(--rose); position: relative; overflow: hidden; isolation: isolate; }
.pourquoi::after { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--grain); opacity: .07; }
.affirmations { list-style: none; padding: 0; margin: 0; }
.affirmations li { font: 600 clamp(2.3rem, 8.6vw, 5.4rem)/1.02 var(--titre); letter-spacing: -.03em; padding: 30px 0; border-top: 1.5px solid rgba(45,36,64,.14); text-wrap: balance; }
.affirmations li:first-child { border-top: 0; padding-top: 0; }
.affirmations em { font-style: normal; color: var(--framboise-texte); }
.affirmations small { display: block; font: 500 clamp(1rem, 2.2vw, 1.15rem)/1.5 var(--texte); letter-spacing: 0; color: var(--encre); opacity: .8; margin-top: 12px; }
.frise { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 22px 28px; margin-top: 64px; padding-top: 34px; border-top: 1.5px solid rgba(45,36,64,.14); }
.frise p { margin: 0 auto 0 0; font-size: 1.05rem; max-width: 20em; flex: 1 1 260px; }
.frise ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }
.frise li { display: grid; justify-items: center; gap: 6px; font-size: .82rem; font-weight: 700; }
.frise img { width: 64px; height: 64px; transition: transform .3s ease; }
.frise li:hover img { transform: translateY(-4px) rotate(-4deg); }
@media (min-width: 768px) { .frise img { width: 84px; height: 84px; } .frise ul { gap: 26px; } }

/* Bloc 5 : appel final et questions */
.final { text-align: center; position: relative; isolation: isolate; }
.final::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 40px; width: 900px; height: 520px; translate: -50% 0; background: radial-gradient(closest-side, rgba(255,217,226,.95), transparent); }
.final .mochi-final { width: 124px; margin: 0 auto 26px; }
.final h2 { max-width: 12em; margin: 0 auto; }
.final .rassure { color: var(--encre-doux); font-size: .95rem; margin: 18px 0 0; }
.faq { max-width: 760px; margin: 110px auto 0; text-align: left; }
.faq h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin-bottom: 18px; }
details { border-top: 1px solid var(--encre-trait); }
details:last-of-type { border-bottom: 1px solid var(--encre-trait); }
summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-weight: 700; font-size: 1.1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--encre); border-bottom: 2px solid var(--encre); rotate: 45deg; transition: rotate .2s ease, margin .2s ease; }
details[open] summary::after { rotate: -135deg; margin-top: -2px; }
summary:hover { color: var(--framboise-texte); }
details p { color: var(--encre-doux); margin: 0 0 24px; max-width: 40em; }
.faq-plus { margin-top: 22px; color: var(--encre-doux); }

/* Vidéo en fenêtre */
.modale { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; overflow: hidden; }
.modale::backdrop { background: rgba(28, 22, 40, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modale[open] { display: grid; place-items: center; }
.modale-cadre { position: relative; width: min(92vw, calc((100dvh - 96px) * .5625)); }
.modale video { width: 100%; height: auto; border-radius: 18px; background: #000; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); }
.modale-fermer { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: var(--blanc); cursor: pointer; display: grid; place-items: center; }
.modale-fermer:hover { background: rgba(255,255,255,.26); }
.modale-fermer svg { width: 20px; height: 20px; }

/* ---------- Pied de page ---------- */
.pied { border-top: 1px solid var(--encre-trait); padding: 40px 0 36px; font-size: .92rem; color: var(--encre-doux); }
.pied-grille { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px 40px; }
.pied .logo { font-size: 1.2rem; color: var(--encre); }
.pied .logo img { width: 28px; height: 28px; }
.pied nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.pied nav a { text-decoration: none; }
.pied nav a:hover { color: var(--encre); text-decoration: underline; text-decoration-color: var(--sakura); text-underline-offset: 4px; }
.pied-bas { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; font-size: .84rem; }

/* ---------- Pages simples (téléchargement, légal, 404) ---------- */
.page { padding: 56px 0 96px; }
.page-etroite { max-width: 760px; }
.page-tete { display: grid; gap: 22px; align-items: center; margin-bottom: 36px; }
.page-tete img { width: 120px; }
.page-tete h1 { font-size: clamp(2.4rem, 7vw, 3.6rem); }
.page-tete p { color: var(--encre-doux); font-size: 1.12rem; margin: 16px 0 0; }
@media (min-width: 768px) { .page-tete { grid-template-columns: 1fr auto; } .page-tete img { width: 150px; } }
.encart { background: var(--blanc); border: 1px solid var(--encre-trait); border-radius: 20px; padding: 26px 24px; margin-top: 20px; }
.encart h2 { font-size: 1.45rem; letter-spacing: -.015em; margin-bottom: 12px; }
.encart ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.encart p:last-child { margin-bottom: 0; }
.encart-rose { background: var(--rose); border: 0; }
.encart-rose p { margin: 0 0 18px; }
.statut { display: inline-flex; align-items: center; gap: 8px; color: var(--framboise-texte); font-weight: 700; font-size: .92rem; margin-bottom: 16px; }
.statut::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--framboise); animation: pouls 1.8s ease-in-out infinite; }
@keyframes pouls { 50% { opacity: .35; } }
.rassure { margin-top: 28px; }

.legal h1 { font-size: clamp(2.3rem, 6.5vw, 3.4rem); margin-bottom: 10px; }
.legal .maj { color: var(--encre-doux); font-size: .95rem; margin-bottom: 32px; }
.legal h2 { font-size: 1.55rem; letter-spacing: -.015em; margin: 44px 0 12px; }
.legal h3 { font-size: 1.15rem; letter-spacing: -.01em; margin: 24px 0 8px; }
.legal p, .legal li { color: #3E3550; }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; margin: 0 0 1em; }
.legal address { font-style: normal; }
.legal .sommaire { background: var(--blanc); border: 1px solid var(--encre-trait); border-radius: 16px; padding: 18px 22px; }
.legal .sommaire ol { margin: 0; padding-left: 1.3em; display: grid; gap: 4px; }
.legal .sommaire a { text-decoration: none; }
.legal .sommaire a:hover { text-decoration: underline; }
.legal .important { background: var(--rose-pale); border-left: 4px solid var(--framboise); padding: 16px 18px; border-radius: 0 12px 12px 0; margin-bottom: 20px; }

.introuvable { text-align: center; padding: 72px 0 104px; }
.introuvable img { width: 160px; margin: 0 auto 24px; }
.introuvable h1 { font-size: clamp(2.6rem, 8vw, 4rem); }
.introuvable p { color: var(--encre-doux); max-width: 30em; margin: 16px auto 0; }
.introuvable .actions { margin-top: 30px; }

/* ---------- Apparition au défilement ---------- */
.js .apparait { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .apparait.vu { opacity: 1; transform: none; }
.mochi-flotte { animation: flotte 5s ease-in-out infinite; }
@keyframes flotte { 50% { translate: 0 -6px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .apparait { opacity: 1; transform: none; }
  .js .feutre::after { clip-path: inset(0 0 0 0); }
}

/* Les enfants de grille ne doivent jamais forcer une largeur. */
.fonction > *, .page-tete > *, .pied-grille > * { min-width: 0; }
.dispo { margin: 16px 0 0; font-size: .9rem; color: var(--encre-doux); }
.section { overflow-x: clip; }

/* Passe de corrections v2 */
h1 { font-size: clamp(2.35rem, 10.4vw, 6.1rem); }
.final .faq h2 { max-width: none; margin: 0 0 18px; }
@media (min-width: 768px) { .section { padding: 112px 0; } }
@media (min-width: 900px) {
  .fonctions { gap: 120px; margin-top: 0; }
  .fonction:nth-child(even) { grid-template-columns: 7fr 5fr; }
  .fonction .fenetre img { aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }
  .affirmations li { padding: 24px 0; }
  .frise { margin-top: 48px; }
  .faq { margin-top: 88px; }
}

/* ---------- Mochi animé (SVG en ligne, voir assets/js/mochi.js) ---------- */
svg.mochi { height: auto; aspect-ratio: 1; overflow: visible; -webkit-tap-highlight-color: transparent; }
.logo .mochi { width: 34px; height: 34px; }
.pied .logo .mochi { width: 28px; height: 28px; }
.frise .mochi { width: 64px; height: 64px; }
.page-tete .mochi { width: 120px; }
.introuvable .mochi { width: 160px; margin: 0 auto 24px; }
@media (min-width: 768px) { .frise .mochi { width: 84px; height: 84px; } .page-tete .mochi { width: 150px; } }
.mochi .m-h { opacity: 0; transition: opacity .28s ease; }
.mochi[data-humeur="content"] [data-h~="content"], .mochi[data-humeur="inquiet"] [data-h~="inquiet"],
.mochi[data-humeur="endormi"] [data-h~="endormi"], .mochi[data-humeur="fier"] [data-h~="fier"] { opacity: 1; }
.mochi g { transform-box: view-box; }
.mochi .m-saut { transform-origin: 100px 175px; }
.mochi .m-souffle { transform-origin: 100px 175px; }
.mochi .m-ombre { transform-box: view-box; transform-origin: 100px 182px; }
.mochi .m-feuille { transform-origin: 104px 50px; }
.mochi .m-yeux { transform-origin: 100px 114px; }
.mochi .m-etoile, .mochi .m-z { transform-box: fill-box; transform-origin: center; }
.mochi.anime .m-souffle { animation: m-souffle 3.8s ease-in-out var(--m-dec, 0s) infinite; }
.mochi.anime .m-feuille { animation: m-feuille 4.6s ease-in-out var(--m-dec, 0s) infinite alternate; }
.mochi.anime[data-humeur="inquiet"] .m-tremble { animation: m-tremble 3.4s linear infinite; }
.mochi.anime[data-humeur="inquiet"] .m-goutte { animation: m-goutte 2.9s ease-in infinite; }
.mochi.anime[data-humeur="endormi"] .m-z { animation: m-z 3s ease-out infinite; }
.mochi.anime[data-humeur="endormi"] .m-z + .m-z { animation-delay: -1.5s; }
.mochi.anime[data-humeur="fier"] .m-etoile { animation: m-scintille 1.8s ease-in-out infinite; }
.mochi.anime[data-humeur="fier"] .m-etoile:nth-child(2) { animation-delay: -.6s; }
.mochi.anime[data-humeur="fier"] .m-etoile:nth-child(3) { animation-delay: -1.2s; }
.mochi.cligne .m-yeux { animation: m-cligne .2s ease-in-out; }
.mochi.saute .m-saut { animation: m-saut .62s cubic-bezier(.3,.7,.4,1); }
.mochi.saute .m-ombre { animation: m-ombre .62s cubic-bezier(.3,.7,.4,1); }
.mochi.hors, .mochi.hors * { animation-play-state: paused !important; }
.mochi.anime:not(.hors) { will-change: translate; }
@keyframes m-souffle { 50% { transform: scale(1.025, .972); } }
@keyframes m-feuille { from { transform: rotate(-5deg); } to { transform: rotate(6deg); } }
@keyframes m-cligne { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.1); } }
@keyframes m-tremble { 0%, 78%, 100% { transform: none; } 81% { transform: translateX(-1.4px); } 84% { transform: translateX(1.4px); } 87% { transform: translateX(-1px); } 90% { transform: translateX(1px); } 93% { transform: none; } }
@keyframes m-goutte { 0% { transform: translate(0, -4px); opacity: 0; } 15% { opacity: 1; } 70% { opacity: 1; } 100% { transform: translate(2px, 16px); opacity: 0; } }
@keyframes m-z { 0% { transform: translate(-4px, 8px) scale(.7); opacity: 0; } 25% { opacity: 1; } 75% { opacity: .9; } 100% { transform: translate(8px, -16px) scale(1.1); opacity: 0; } }
@keyframes m-scintille { 0%, 100% { transform: scale(.8) rotate(0); opacity: .75; } 50% { transform: scale(1.12) rotate(18deg); opacity: 1; } }
@keyframes m-saut { 0% { transform: none; } 18% { transform: scale(1.08, .9); } 48% { transform: translateY(-18px) scale(.95, 1.06); } 76% { transform: scale(1.06, .93); } 100% { transform: none; } }
@keyframes m-ombre { 48% { transform: scale(.78); opacity: .6; } }
