/* ==========================================================================
   Les Bracelets de Nina — Feuille de style
   --------------------------------------------------------------------------
   1.  Variables
   2.  Base & utilitaires
   3.  Boutons & éléments communs
   4.  Header & navigation
   5.  Hero
   6.  Bandeau défilant
   7.  Notre histoire
   8.  Collection
   9.  Savoir-faire
   10. Pourquoi nous choisir
   11. Appel à l'action
   12. Footer
   13. Notifications & particules
   14. Animations d'apparition
   15. Keyframes
   16. Responsive
   17. Mouvements réduits
   ========================================================================== */

/* 1. VARIABLES ============================================================= */
:root {
  /* Couleurs */
  --c-bg: #fffafc;
  --c-surface: #ffffff;
  --c-ink: #34275a;          /* prune profond : texte principal */
  --c-ink-soft: #6b6088;
  --c-pink-50: #fff1f6;
  --c-pink: #f9c9dc;
  --c-powder: #f1b6cc;
  --c-rose: #e27aa3;
  --c-lilac-50: #f6f1ff;
  --c-lilac: #dccdf7;
  --c-violet: #8a6bd6;
  --c-violet-deep: #6547bd;
  --c-sky-50: #eef8ff;
  --c-sky: #bfe4fb;
  --c-sky-deep: #5aa9e6;
  --c-yellow-50: #fff9e6;
  --c-yellow: #ffe8a3;
  --c-yellow-deep: #f5c84c;
  --c-night: #2a2150;
  --c-line: rgba(52, 39, 90, .08);

  --grad-brand: linear-gradient(120deg, #f59fc4 0%, #b294f0 50%, #72bdf2 100%);

  /* Typographies */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-script: "Pacifico", "Brush Script MT", cursive;

  /* Formes & ombres */
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 34px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(72, 48, 120, .06);
  --shadow: 0 14px 34px -14px rgba(72, 48, 120, .22);
  --shadow-lg: 0 34px 70px -28px rgba(72, 48, 120, .34);

  /* Mouvement */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);

  /* Mise en page */
  --header-h: 78px;
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(84px, 11vw, 140px);
}

/* 2. BASE & UTILITAIRES ==================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) - 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.7;
  color: var(--c-ink);
  background: var(--c-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

/* Empêche tout débordement horizontal (bandeau incliné, décors) */
main {
  overflow-x: hidden;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100, "WONK" 0;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.01em;
}

:focus-visible {
  outline: 3px solid var(--c-violet);
  outline-offset: 3px;
  border-radius: 8px;
}

::selection { background: var(--c-pink); color: var(--c-ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--c-ink);
  color: #fff;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

/* 3. BOUTONS & ÉLÉMENTS COMMUNS =========================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  margin-bottom: 1rem;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-violet-deep);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}
.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: #fff; }

.hero__eyebrow::before { display: none; }
.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-rose);
  box-shadow: 0 0 0 0 rgba(226, 122, 163, .5);
  animation: pulse 2.4s infinite;
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}

.section-title {
  font-size: clamp(2rem, 1.4rem + 2.8vw, 3.4rem);
}
.section-title em,
.hero__title em {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-subtitle {
  margin-top: 1rem;
  font-size: 1.12rem;
  color: var(--c-ink-soft);
}

.btn {
  --btn-bg: var(--c-ink);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 54px;
  padding: .85em 1.7em;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  transition: transform .4s var(--ease-bounce), box-shadow .4s var(--ease), background-color .3s;
}
/* reflet brillant qui traverse le bouton au survol */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn:hover { transform: translateY(-3px); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.97); }

.btn__icon {
  width: 1.15em;
  height: 1.15em;
  transition: transform .4s var(--ease);
}
.btn:hover .btn__icon { transform: translateX(4px); }

.btn--primary {
  box-shadow: 0 14px 30px -12px rgba(52, 39, 90, .55);
}
.btn--primary:hover {
  --btn-bg: var(--c-violet-deep);
  box-shadow: 0 20px 36px -14px rgba(101, 71, 189, .6);
}

.btn--ghost {
  --btn-bg: rgba(255, 255, 255, .7);
  --btn-fg: var(--c-ink);
  box-shadow: inset 0 0 0 1.5px var(--c-line), var(--shadow-sm);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { --btn-bg: #fff; }

.btn--light { --btn-bg: #fff; --btn-fg: var(--c-ink); box-shadow: var(--shadow); }
.btn--outline-light {
  --btn-bg: transparent;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .75);
}
.btn--outline-light:hover { --btn-bg: rgba(255, 255, 255, .14); }

/* Mascotte (instances <use>) */
.mascot { display: block; width: 100%; height: 100%; overflow: visible; }

/* Éléments décoratifs génériques */
.deco { position: absolute; pointer-events: none; }

/* Calques de décor : hors du flux pour ne pas perturber les grilles */
.collection__deco,
.why__deco,
.cta__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.deco--sparkle { color: var(--c-yellow-deep); animation: twinkle 3.2s ease-in-out infinite; }
.deco--star { color: var(--c-lilac); animation: float 7s ease-in-out infinite; }
.deco--flower { color: var(--c-powder); animation: spin-slow 22s linear infinite; }
.deco--planet { color: var(--c-sky); animation: float 9s ease-in-out infinite; }
.deco--cloud { color: #fff; animation: drift 14s ease-in-out infinite; }
.deco--heart { color: var(--c-pink); animation: float 6s ease-in-out infinite; }

.blob {
  position: absolute;
  border-radius: 42% 58% 63% 37% / 45% 42% 58% 55%;
  filter: blur(8px);
  opacity: .75;
  animation: morph 18s ease-in-out infinite;
}
.blob--pink   { background: radial-gradient(circle at 30% 30%, #ffd9e8, #f9c1d8); }
.blob--lilac  { background: radial-gradient(circle at 30% 30%, #ece2ff, #d4c2f5); }
.blob--sky    { background: radial-gradient(circle at 30% 30%, #dcf1ff, #b5ddf8); }
.blob--yellow { background: radial-gradient(circle at 30% 30%, #fff5d3, #ffe6a0); }

/* Badge circulaire tournant */
.spin-badge { animation: spin-slow 18s linear infinite; }
.spin-badge__bg { fill: #fff; filter: drop-shadow(0 8px 16px rgba(72, 48, 120, .15)); }
.spin-badge__text {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1px;
  fill: var(--c-ink);
}
.spin-badge__heart { color: var(--c-rose); }

/* Bulle de dialogue */
.speech {
  position: absolute;
  padding: .35em .9em;
  border-radius: 16px 16px 16px 4px;
  background: #fff;
  box-shadow: var(--shadow);
  font-weight: 800;
  font-size: .9rem;
  white-space: nowrap;
  color: var(--c-violet-deep);
}

/* 4. HEADER & NAVIGATION =================================================== */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: height .4s var(--ease);
}
/* Le flou est appliqué sur un pseudo-élément pour ne pas casser
   le positionnement fixe du menu mobile */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 250, 252, .78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--c-line), 0 10px 30px -20px rgba(72, 48, 120, .3);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.header.is-scrolled { --header-h: 66px; }
.header.is-scrolled::before { opacity: 1; }

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}
.logo__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(138, 107, 214, .8);
  transition: transform .6s var(--ease-bounce);
}
.logo__mark svg { width: 20px; height: 20px; }
.logo:hover .logo__mark { transform: rotate(-12deg) scale(1.08); }

.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__small {
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}
.logo__name {
  margin-top: 2px;
  font-family: var(--font-script);
  font-size: 1.55rem;
  line-height: 1.15;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo--light .logo__small { color: rgba(255, 255, 255, .7); }

/* Liens */
.nav__list { display: flex; align-items: center; gap: .3rem; }

.nav__link {
  position: relative;
  display: inline-block;
  padding: .55em 1em;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  color: var(--c-ink);
  transition: color .3s, background-color .3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-rose);
  transform: translateX(-50%) scale(0);
  transition: transform .4s var(--ease-bounce);
}
.nav__link:hover { color: var(--c-violet-deep); }
.nav__link.is-active::after { transform: translateX(-50%) scale(1); }
.nav__link.is-tapped { animation: tap .45s var(--ease-bounce); }

.nav__link--cta {
  margin-left: .5rem;
  padding-inline: 1.3em;
  background: var(--c-ink);
  color: #fff;
}
.nav__link--cta:hover { background: var(--c-violet-deep); color: #fff; }
.nav__link--cta::after { display: none; }

.nav__mascot { display: none; }

/* Hamburger */
.burger {
  position: relative;
  z-index: 2;
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--c-line);
  cursor: pointer;
}
.burger__line {
  position: absolute;
  left: 14px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-ink);
  transition: transform .45s var(--ease), opacity .3s, width .3s;
}
.burger__line:nth-child(1) { top: 17px; }
.burger__line:nth-child(2) { top: 23px; width: 14px; }
.burger__line:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] .burger__line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { opacity: 0; transform: translateX(8px); }
.burger[aria-expanded="true"] .burger__line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 5. HERO ================================================================== */
.hero {
  --mx: 0;
  --my: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 90px;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% 10%, var(--c-sky-50), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, var(--c-pink-50), transparent 60%),
    var(--c-bg);
}

.hero__bg { position: absolute; inset: 0; pointer-events: none; }

/* Profondeur : chaque calque bouge selon data-depth (géré en JS via --depth) */
[data-depth] {
  translate: calc(var(--mx) * var(--depth, 0) * 1px) calc(var(--my) * var(--depth, 0) * 1px);
  transition: translate .8s var(--ease);
}

.hero .blob--pink   { width: 460px; height: 420px; top: -120px; left: -140px; }
.hero .blob--lilac  { width: 520px; height: 480px; top: 12%; right: -180px; animation-delay: -6s; }
.hero .blob--sky    { width: 380px; height: 360px; bottom: -140px; left: 30%; animation-delay: -12s; opacity: .6; }
.hero .blob--yellow { width: 180px; height: 170px; top: 22%; left: 42%; opacity: .5; animation-delay: -3s; }

.deco--s1 { width: 26px; height: 26px; top: 20%; left: 8%; }
.deco--s2 { width: 16px; height: 16px; top: 72%; left: 46%; animation-delay: -1.2s; color: var(--c-rose); }
.deco--s3 { width: 22px; height: 22px; top: 14%; right: 12%; animation-delay: -2s; color: var(--c-sky-deep); }
.deco--s4 { width: 22px; height: 22px; bottom: 16%; left: 6%; }
.deco--s5 { width: 16px; height: 16px; top: 30%; left: 50%; animation-delay: -3s; color: var(--c-yellow-deep); }
.deco--f1 { width: 38px; height: 38px; top: 58%; left: 3%; }
.deco--f2 { width: 28px; height: 28px; top: 12%; left: 38%; color: var(--c-lilac); animation-direction: reverse; }
.hero .deco--planet { width: 70px; height: 70px; bottom: 12%; right: 5%; color: #b5ddf8; }
.deco--c1 { width: 110px; height: 70px; top: 8%; left: 56%; opacity: .9; }
.deco--c2 { width: 80px; height: 50px; bottom: 22%; left: 36%; opacity: .8; animation-delay: -7s; }

.bubble {
  position: absolute;
  bottom: -40px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .95), rgba(191, 228, 251, .35) 60%, rgba(220, 205, 247, .2));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8);
  animation: rise 16s linear infinite;
}
.bubble--1 { width: 18px; height: 18px; left: 12%; animation-duration: 18s; }
.bubble--2 { width: 10px; height: 10px; left: 28%; animation-duration: 13s; animation-delay: -5s; }
.bubble--3 { width: 24px; height: 24px; left: 64%; animation-duration: 20s; animation-delay: -9s; }
.bubble--4 { width: 12px; height: 12px; left: 82%; animation-duration: 15s; animation-delay: -2s; }
.bubble--5 { width: 14px; height: 14px; left: 48%; animation-duration: 17s; animation-delay: -12s; }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

.hero__content > * {
  opacity: 0;
  animation: hero-in 1s var(--ease) forwards;
}
.hero__content > :nth-child(1) { animation-delay: .1s; }
.hero__content > :nth-child(2) { animation-delay: .22s; }
.hero__content > :nth-child(3) { animation-delay: .36s; }
.hero__content > :nth-child(4) { animation-delay: .5s; }
.hero__content > :nth-child(5) { animation-delay: .64s; }

.hero__eyebrow {
  padding: .5em 1.1em;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .8);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--c-line);
  letter-spacing: .12em;
}

.hero__title {
  font-size: clamp(3rem, 1.6rem + 6vw, 6rem);
  line-height: .98;
  letter-spacing: -.025em;
}
.hero__title-line { display: block; }
.hero__title-name {
  display: inline-block;
  padding: 0 .08em .12em;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: 0;
  background: var(--grad-brand);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}

.hero__subtitle {
  max-width: 30ch;
  margin-top: 1.4rem;
  font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem);
  line-height: 1.6;
  color: var(--c-ink-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2.2rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.6rem;
  margin-top: 2.2rem;
  font-size: .92rem;
  font-weight: 700;
  color: var(--c-ink-soft);
}

/* Collage de photos */
.hero__visual {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1 / 1.05;
  margin-inline: auto;
  opacity: 0;
  animation: hero-visual-in 1.2s var(--ease) .3s forwards;
}

.polaroid {
  --rot: 0deg;
  position: absolute;
  padding: 10px 10px 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: rotate(var(--rot));
  animation: bob 7s ease-in-out infinite;
}
.polaroid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}
.polaroid figcaption {
  padding: .45em 0 .55em;
  text-align: center;
  font-family: var(--font-script);
  font-size: .95rem;
  color: var(--c-violet);
}

.polaroid--main {
  --rot: -3deg;
  z-index: 2;
  width: 60%;
  top: 6%;
  left: 20%;
}
.polaroid--main img { aspect-ratio: 4 / 5; }
.polaroid--left {
  --rot: -9deg;
  z-index: 3;
  width: 38%;
  left: 0;
  bottom: 3%;
  animation-delay: -2.5s;
}
.polaroid--right {
  --rot: 8deg;
  z-index: 1;
  width: 38%;
  right: 0;
  top: 0;
  animation-delay: -4.5s;
}
.polaroid--right img { object-position: center 45%; }

.hero__badge {
  position: absolute;
  z-index: 4;
  width: 22%;
  right: 4%;
  bottom: 12%;
}

.hero__mascot {
  position: absolute;
  z-index: 5;
  width: 26%;
  aspect-ratio: 1;
  left: 40%;
  bottom: -6%;
  animation: bob 4s ease-in-out infinite;
}
.hero__mascot .speech {
  left: 78%;
  top: -8%;
  opacity: 0;
  transform: scale(.4) translateY(10px);
  transform-origin: bottom left;
  animation: pop-in .6s var(--ease-bounce) 1.8s forwards;
}

/* Indicateur de défilement */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border-radius: 14px;
  box-shadow: inset 0 0 0 2px rgba(52, 39, 90, .25);
  opacity: 0;
  animation: fade-in 1s 1.4s forwards;
}
.scroll-hint__wheel {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--c-violet);
  animation: wheel 1.8s var(--ease) infinite;
}

/* 6. BANDEAU DÉFILANT ====================================================== */
.ribbon {
  position: relative;
  z-index: 2;
  padding-block: 18px;
  overflow: hidden;
  background: var(--c-ink);
  color: #fff;
  transform: rotate(-1.2deg) scale(1.02);
}
.ribbon__track {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.ribbon__track span {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100;
  font-style: italic;
  font-size: clamp(1.05rem, .9rem + .6vw, 1.4rem);
  white-space: nowrap;
}
.ribbon__track i {
  font-style: normal;
  color: var(--c-yellow);
}

/* 7. NOTRE HISTOIRE ======================================================== */
.about { overflow: hidden; }

.about__inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.about__visual {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
}

.arch {
  aspect-ratio: 4 / 5.3;
  overflow: hidden;
  border: 10px solid #fff;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  background: var(--c-lilac-50);
  box-shadow: var(--shadow-lg);
}
.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 1.2s var(--ease);
}
.about__visual:hover .arch img { transform: scale(1.04); }

.about__round {
  position: absolute;
  right: -8%;
  bottom: -6%;
  width: 44%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  animation: bob 6s ease-in-out infinite;
}
.about__round img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
}

.beads--about {
  position: absolute;
  top: -5%;
  left: -12%;
  width: 62%;
  transform: rotate(-14deg);
  animation: sway 6s ease-in-out infinite;
}

.about__sparkle--1 { width: 28px; height: 28px; top: 8%; right: -4%; }
.about__sparkle--2 { width: 18px; height: 18px; top: 46%; left: -8%; color: var(--c-sky-deep); animation-delay: -1.5s; }

.about__mascot {
  position: absolute;
  left: -10%;
  bottom: 4%;
  width: 30%;
  aspect-ratio: 1;
  animation: wave 3.4s ease-in-out infinite;
  transform-origin: 50% 90%;
}

.lead {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100;
  font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem);
  line-height: 1.45;
  color: var(--c-ink);
}
.about__text { margin-top: 1.8rem; }
.about__text p + p { margin-top: 1rem; }
.about__text p:not(.lead) { color: var(--c-ink-soft); }

.signature {
  margin-top: 1.6rem;
  font-weight: 700;
  color: var(--c-ink-soft);
}
.signature span {
  margin-left: .2em;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--c-rose);
}

.values-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 2.2rem;
  padding: 10px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow), inset 0 0 0 1px var(--c-line);
}
.value {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  line-height: 1.35;
  transition: background-color .3s, transform .4s var(--ease);
}
.value:hover { background: var(--c-lilac-50); transform: translateY(-2px); }
.value strong { display: block; font-size: .98rem; }
.value small { display: block; margin-top: 2px; font-size: .84rem; color: var(--c-ink-soft); }
.value__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 1.3rem;
  transition: transform .5s var(--ease-bounce);
}
.value:hover .value__icon { transform: rotate(-10deg) scale(1.1); }
.value__icon--yellow { background: var(--c-yellow-50); }
.value__icon--sky    { background: var(--c-sky-50); }
.value__icon--pink   { background: var(--c-pink-50); }
.value__icon--lilac  { background: var(--c-lilac-50); }

/* 8. COLLECTION ============================================================ */
.collection {
  overflow: hidden;
  background: linear-gradient(180deg, var(--c-lilac-50) 0%, #fdf3fa 45%, var(--c-sky-50) 100%);
}

.wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: clamp(40px, 6vw, 80px);
  pointer-events: none;
}
.wave--top { top: -1px; }

.collection__flower--1 { width: 60px; height: 60px; top: 14%; left: 4%; opacity: .7; }
.collection__spark--1 { width: 26px; height: 26px; top: 20%; right: 10%; }
.collection__planet { width: 90px; height: 90px; bottom: 6%; right: 3%; opacity: .8; }

.status-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 1.8rem;
  padding: .75em 1.4em .75em 1.1em;
  border-radius: var(--radius-pill);
  background: #fff;
  box-shadow: var(--shadow), inset 0 0 0 1.5px var(--c-pink);
  font-size: .95rem;
  line-height: 1.4;
  color: var(--c-ink-soft);
  text-align: left;
}
.status-badge strong { margin-right: .35em; color: var(--c-rose); }
.status-badge__pulse {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-rose);
  animation: pulse 2s infinite;
}

/* Filtres */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(32px, 5vw, 52px);
}
.filter {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .65em 1.2em;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .85);
  box-shadow: inset 0 0 0 1.5px var(--c-line);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: background-color .3s, color .3s, box-shadow .3s, transform .4s var(--ease-bounce);
}
.filter:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--c-lilac), var(--shadow-sm); }
.filter:active { transform: scale(.95); }
.filter.is-active {
  background: var(--c-ink);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(52, 39, 90, .6);
}
.filter__count {
  min-width: 1.6em;
  padding: 0 .45em;
  border-radius: var(--radius-pill);
  background: var(--c-lilac-50);
  font-size: .75rem;
  line-height: 1.6;
  text-align: center;
  color: var(--c-violet-deep);
}
.filter__count:empty { display: none; }
.filter.is-active .filter__count { background: rgba(255, 255, 255, .18); color: #fff; }

/* Grille */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--c-line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .25s, scale .25s;
}
.product[hidden] { display: none; }
.product:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(138, 107, 214, .15);
}

/* État avant apparition / pendant le filtrage */
.js .product-grid:not(.is-visible) .product,
.product-grid.is-leaving .product {
  opacity: 0;
  scale: .96;
}
.product.is-entering {
  animation: card-in .7s var(--ease) calc(var(--i, 0) * 70ms) both;
}

.product__media {
  position: relative;
  margin: 10px 10px 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--c-pink-50), var(--c-sky-50));
}
.product__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), opacity .6s;
}
.product__img:not(.is-loaded) { opacity: 0; }
.product:hover .product__img { transform: scale(1.06); }

.product__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: .3em .8em;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
  font-size: .74rem;
  font-weight: 800;
  color: var(--c-violet-deep);
}

/* Petites fleurs qui éclosent autour de la carte au survol */
.product__bloom {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transform: scale(0) rotate(-90deg);
  transition: transform .6s var(--ease-bounce), opacity .3s;
}
.product__bloom--1 { width: 30px; height: 30px; top: -10px; right: -8px; color: var(--c-powder); }
.product__bloom--2 { width: 18px; height: 18px; top: 36%; left: -8px; color: var(--c-yellow-deep); transition-delay: .06s; }
.product__bloom--3 { width: 22px; height: 22px; bottom: 30%; right: -10px; color: var(--c-lilac); transition-delay: .12s; }
.product:hover .product__bloom { opacity: 1; transform: scale(1) rotate(0); }

.product__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 18px 18px;
}
.product__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: .6rem; }
.product__tags li {
  padding: .15em .65em;
  border-radius: var(--radius-pill);
  background: var(--c-lilac-50);
  font-size: .74rem;
  font-weight: 700;
  color: var(--c-ink-soft);
}
.product__name { font-size: 1.3rem; }
.product__desc {
  flex: 1;
  margin-top: .45rem;
  font-size: .92rem;
  line-height: 1.55;
  color: var(--c-ink-soft);
}
.product__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(52, 39, 90, .12);
}
/* Pas de prix affiché : le bouton occupe toute la largeur */
.product__footer .btn-order {
  width: 100%;
  justify-content: center;
}

/* Bouton « Commander » volontairement désactivé */
.btn-order {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .6em 1.1em;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--c-lilac-50);
  box-shadow: inset 0 0 0 1.5px rgba(138, 107, 214, .22);
  font-size: .88rem;
  font-weight: 800;
  color: #8277a0;
  cursor: not-allowed;
  transition: background-color .3s, color .3s, transform .4s var(--ease-bounce);
}
.btn-order svg { width: 15px; height: 15px; }
.btn-order:hover { background: var(--c-pink-50); color: var(--c-rose); }
.btn-order.is-wiggling { animation: wiggle .5s ease; }

.product-empty {
  padding: 40px 0;
  text-align: center;
  font-weight: 700;
  color: var(--c-ink-soft);
}

/* 9. SAVOIR-FAIRE ========================================================== */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
  counter-reset: step;
}
/* Fil de perles qui relie les étapes */
.steps::before {
  content: "";
  position: absolute;
  top: 74px;
  left: 12%;
  right: 12%;
  height: 12px;
  background:
    radial-gradient(circle, var(--c-powder) 4px, transparent 4.5px) 0 50% / 26px 12px repeat-x,
    linear-gradient(var(--c-lilac), var(--c-lilac)) 0 50% / 100% 2px no-repeat;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s var(--ease) .2s;
}
.steps.is-visible::before { transform: scaleX(1); }

.step {
  --tint: var(--c-pink-50);
  --accent: var(--c-rose);
  position: relative;
  padding: 36px 26px 30px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--c-line);
  text-align: center;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.step--lilac  { --tint: var(--c-lilac-50);  --accent: var(--c-violet); }
.step--sky    { --tint: var(--c-sky-50);    --accent: var(--c-sky-deep); }
.step--yellow { --tint: var(--c-yellow-50); --accent: #d9a520; }

.step__num {
  position: absolute;
  top: 14px;
  right: 20px;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .05em;
  color: var(--accent);
  opacity: .8;
}
.step__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 1.3rem;
  border-radius: 28px;
  background: var(--tint);
  color: var(--accent);
  box-shadow: 0 0 0 8px #fff;
  transition: transform .6s var(--ease-bounce), border-radius .6s var(--ease);
}
.step:hover .step__icon { transform: rotate(-8deg) scale(1.08); border-radius: 50%; }
.step__icon svg,
.feature__icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step__title { font-size: 1.45rem; margin-bottom: .5rem; }
.step p { font-size: .95rem; line-height: 1.6; color: var(--c-ink-soft); }

/* 10. POURQUOI NOUS CHOISIR ================================================ */
.why {
  overflow: hidden;
  background: linear-gradient(180deg, var(--c-bg), var(--c-pink-50) 60%, var(--c-bg));
}
.why__blob { width: 520px; height: 480px; top: 10%; left: -220px; opacity: .45; }
.why__star { width: 30px; height: 30px; top: 16%; right: 12%; }
.why__cloud { width: 140px; height: 90px; bottom: 18%; right: -30px; }

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}
.feature {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--c-line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s;
}
.feature:hover { transform: translateY(-6px); background: #fff; box-shadow: var(--shadow); }
.feature h3 { margin: 1.2rem 0 .5rem; font-size: 1.3rem; }
.feature p { font-size: .95rem; line-height: 1.6; color: var(--c-ink-soft); }

.feature__icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  transition: transform .6s var(--ease-bounce);
}
.feature__icon svg { width: 28px; height: 28px; }
.feature:hover .feature__icon { transform: translateY(-4px) rotate(8deg); }
.feature__icon--pink   { background: var(--c-pink-50);   color: var(--c-rose); }
.feature__icon--sky    { background: var(--c-sky-50);    color: var(--c-sky-deep); }
.feature__icon--lilac  { background: var(--c-lilac-50);  color: var(--c-violet); }
.feature__icon--yellow { background: var(--c-yellow-50); color: #d9a520; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(40px, 6vw, 70px);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.stats li {
  padding: 30px 20px;
  text-align: center;
}
.stats li + li { box-shadow: -1px 0 0 var(--c-line); }
.stats strong {
  display: block;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100;
  font-weight: 700;
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem);
  line-height: 1.1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats li > span {
  display: block;
  margin-top: .3rem;
  font-size: .9rem;
  font-weight: 700;
  color: var(--c-ink-soft);
}

/* 11. APPEL À L'ACTION ===================================================== */
.cta { padding-top: 0; }

.cta__card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 60px);
  padding: clamp(36px, 6vw, 72px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(500px 300px at 90% 0%, rgba(255, 255, 255, .25), transparent 60%),
    linear-gradient(125deg, #7f64cf 0%, #a37ee0 45%, #6fb0ea 100%);
  box-shadow: var(--shadow-lg);
  color: #fff;
}
.cta__spark--1 { width: 30px; height: 30px; top: 14%; right: 8%; color: var(--c-yellow); }
.cta__spark--2 { width: 18px; height: 18px; bottom: 16%; right: 32%; color: #fff; animation-delay: -1.6s; }
.cta__heart { width: 38px; height: 38px; bottom: 12%; right: 6%; color: rgba(255, 201, 220, .9); }
.cta__flower { width: 70px; height: 70px; top: -18px; left: 30%; color: rgba(255, 255, 255, .18); }

.cta__mascot {
  position: relative;
  width: clamp(130px, 18vw, 210px);
  aspect-ratio: 1;
  animation: bob 4.5s ease-in-out infinite;
  filter: drop-shadow(0 18px 24px rgba(42, 33, 80, .35));
}
.cta__content { position: relative; max-width: 620px; }
.cta__title { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); }
.cta__text {
  margin-top: 1rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, .9);
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2rem;
}

/* 12. FOOTER =============================================================== */
.footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(64px, 8vw, 96px);
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(138, 107, 214, .35), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(90, 169, 230, .2), transparent 60%),
    var(--c-night);
  color: rgba(255, 255, 255, .78);
}

.footer__star { position: absolute; color: var(--c-yellow); animation: twinkle 3s ease-in-out infinite; }
.footer__star--1 { width: 16px; height: 16px; top: 18%; left: 8%; }
.footer__star--2 { width: 10px; height: 10px; top: 40%; left: 44%; animation-delay: -1s; color: #fff; }
.footer__star--3 { width: 14px; height: 14px; top: 12%; left: 62%; animation-delay: -2s; color: var(--c-pink); }
.footer__star--4 { width: 12px; height: 12px; bottom: 26%; left: 22%; animation-delay: -.5s; color: var(--c-sky); }
.footer__star--5 { width: 18px; height: 18px; top: 22%; right: 6%; animation-delay: -1.8s; }
.footer__planet {
  position: absolute;
  width: 120px;
  height: 120px;
  bottom: -30px;
  right: 18%;
  color: rgba(191, 228, 251, .22);
  animation: float 10s ease-in-out infinite;
}

.footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer__tagline {
  max-width: 28ch;
  margin-top: 1.2rem;
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100;
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.4;
  color: #fff;
}
.footer__heading {
  margin-bottom: 1rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-pink);
}
.footer__nav li + li { margin-top: .5rem; }
.footer__nav a {
  position: relative;
  text-decoration: none;
  font-weight: 600;
  transition: color .3s;
}
.footer__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1.5px;
  background: var(--c-pink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.footer__nav a:hover { color: #fff; }
.footer__nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* Mascotte cliquable du footer */
.friend { display: flex; align-items: center; gap: 14px; }
.friend__btn {
  flex: none;
  width: 84px;
  height: 84px;
  padding: 6px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  cursor: pointer;
  transition: transform .5s var(--ease-bounce), background-color .3s;
}
.friend__btn:hover { transform: rotate(-8deg) scale(1.06); background: rgba(255, 255, 255, .12); }
.friend__btn.is-jumping { animation: jump .6s var(--ease-bounce); }
.friend__bubble {
  position: relative;
  padding: .6em 1em;
  border-radius: 16px 16px 16px 4px;
  background: rgba(255, 255, 255, .1);
  font-size: .9rem;
  line-height: 1.45;
  color: #fff;
  transition: opacity .3s, transform .3s var(--ease);
}
.friend__bubble.is-changing { opacity: 0; transform: translateY(6px); }

.footer__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(48px, 6vw, 72px);
  padding-block: 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .88rem;
}
.footer__secret {
  font-size: .8rem;
  color: rgba(255, 255, 255, .35);
  transition: color .4s;
}
.footer__secret:hover { color: rgba(255, 255, 255, .8); }

/* 13. NOTIFICATIONS & PARTICULES =========================================== */
.toast-region {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 300;
  display: grid;
  gap: 12px;
  width: min(400px, calc(100vw - 32px));
  pointer-events: none;
}
.toast {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 16px 20px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 30px 60px -20px rgba(52, 39, 90, .4), inset 0 0 0 1.5px var(--c-pink);
  pointer-events: auto;
  animation: toast-in .7s var(--ease-bounce) both;
}
.toast.is-leaving { animation: toast-out .45s var(--ease) both; }
.toast__mascot { width: 56px; height: 56px; animation: jump 1s var(--ease-bounce) .2s; }
.toast__title {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
}
.toast__text { margin-top: 2px; font-size: .9rem; line-height: 1.45; color: var(--c-ink-soft); }
.toast__close {
  align-self: start;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: var(--c-lilac-50);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color .3s, transform .3s var(--ease-bounce);
}
.toast__close:hover { background: var(--c-pink); transform: rotate(90deg); }
.toast__progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: var(--grad-brand);
  transform-origin: left;
  animation: progress var(--toast-duration, 4.5s) linear forwards;
}

.fx-layer {
  position: fixed;
  inset: 0;
  z-index: 250;
  overflow: hidden;
  pointer-events: none;
}
.particle {
  position: absolute;
  top: 0;
  left: 0;
  font-size: var(--size, 14px);
  line-height: 1;
  color: var(--color, var(--c-rose));
  animation: burst var(--dur, 900ms) var(--ease) forwards;
}
.particle--trail { animation: trail 900ms ease-out forwards; }

/* 14. ANIMATIONS D'APPARITION AU SCROLL ==================================== */
/* On anime `translate` / `scale` (et non `transform`) pour laisser
   les effets de survol des cartes fonctionner indépendamment. */
.js .reveal {
  opacity: 0;
  translate: 0 32px;
  transition:
    opacity .9s var(--ease) var(--d, 0ms),
    translate .9s var(--ease) var(--d, 0ms),
    scale .9s var(--ease) var(--d, 0ms),
    transform .5s var(--ease),
    box-shadow .5s var(--ease),
    background-color .3s;
}
.js .reveal[data-reveal="fade"]  { translate: none; }
.js .reveal[data-reveal="zoom"]  { translate: none; scale: .94; }
.js .reveal[data-reveal="right"] { translate: -40px 0; }
.js .reveal[data-reveal="left"]  { translate: 40px 0; }
.js .reveal.is-visible { opacity: 1; translate: none; scale: 1; }

/* 15. KEYFRAMES ============================================================ */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
@keyframes hero-visual-in {
  from { opacity: 0; transform: translateY(30px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
@keyframes fade-in { to { opacity: 1; } }
@keyframes pop-in { to { opacity: 1; transform: none; } }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-14px) rotate(6deg); }
}
@keyframes bob {
  0%, 100% { transform: rotate(var(--rot, 0deg)) translateY(0); }
  50%      { transform: rotate(var(--rot, 0deg)) translateY(-10px); }
}
@keyframes twinkle {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0); }
  50%      { opacity: .35; transform: scale(.7) rotate(20deg); }
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes drift {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(26px); }
}
@keyframes morph {
  0%, 100% { border-radius: 42% 58% 63% 37% / 45% 42% 58% 55%; transform: rotate(0); }
  50%      { border-radius: 58% 42% 38% 62% / 55% 60% 40% 45%; transform: rotate(12deg); }
}
@keyframes rise {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  50%  { transform: translateY(-50vh) translateX(20px); }
  90%  { opacity: .8; }
  100% { transform: translateY(-100vh) translateX(-10px); opacity: 0; }
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(226, 122, 163, .5); }
  70%  { box-shadow: 0 0 0 10px rgba(226, 122, 163, 0); }
  100% { box-shadow: 0 0 0 0 rgba(226, 122, 163, 0); }
}
@keyframes wheel {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes sway {
  0%, 100% { transform: rotate(-14deg); }
  50%      { transform: rotate(-8deg); }
}
@keyframes wave {
  0%, 60%, 100% { transform: rotate(0) translateY(0); }
  70%           { transform: rotate(-8deg) translateY(-6px); }
  80%           { transform: rotate(6deg) translateY(-6px); }
  90%           { transform: rotate(-4deg) translateY(-2px); }
}
@keyframes tap {
  0%   { transform: scale(1); }
  40%  { transform: scale(.9); }
  100% { transform: scale(1); }
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(30px); scale: .96; }
  to   { opacity: 1; transform: none; scale: 1; }
}
@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-6deg); }
  40% { transform: rotate(5deg); }
  60% { transform: rotate(-3deg); }
  80% { transform: rotate(2deg); }
}
@keyframes jump {
  0%, 100% { transform: translateY(0) scale(1); }
  40%      { transform: translateY(-14px) scale(1.05, .95); }
  70%      { transform: translateY(0) scale(.95, 1.05); }
}
@keyframes toast-in {
  from { opacity: 0; transform: translateY(30px) scale(.9); }
  to   { opacity: 1; transform: none; }
}
@keyframes toast-out {
  to { opacity: 0; transform: translateY(20px) scale(.95); }
}
@keyframes progress { to { transform: scaleX(0); } }
@keyframes burst {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(.3); }
  20%  { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(1) rotate(var(--rot, 90deg)); }
}
@keyframes trail {
  0%   { opacity: .9; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, calc(-50% + 24px)) scale(.3) rotate(80deg); }
}

/* 16. RESPONSIVE =========================================================== */

/* ≤ 1100px : grille produits sur 3 colonnes */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ≤ 960px : tablette */
@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .header.is-scrolled { --header-h: 64px; }

  /* Menu mobile */
  .burger { display: block; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px var(--gutter) 40px;
    background:
      radial-gradient(500px 400px at 100% 0%, var(--c-lilac-50), transparent 70%),
      radial-gradient(500px 400px at 0% 100%, var(--c-pink-50), transparent 70%),
      var(--c-bg);
    clip-path: circle(0 at calc(100% - var(--gutter) - 24px) calc(var(--header-h) / 2));
    visibility: hidden;
    transition: clip-path .7s var(--ease), visibility 0s .7s;
  }
  .nav.is-open {
    clip-path: circle(150% at calc(100% - var(--gutter) - 24px) calc(var(--header-h) / 2));
    visibility: visible;
    transition: clip-path .8s var(--ease), visibility 0s;
  }
  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: .2rem;
  }
  .nav__list li {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
  }
  .nav.is-open .nav__list li { opacity: 1; transform: none; }
  .nav.is-open .nav__list li:nth-child(1) { transition-delay: .15s; }
  .nav.is-open .nav__list li:nth-child(2) { transition-delay: .21s; }
  .nav.is-open .nav__list li:nth-child(3) { transition-delay: .27s; }
  .nav.is-open .nav__list li:nth-child(4) { transition-delay: .33s; }
  .nav.is-open .nav__list li:nth-child(5) { transition-delay: .39s; }

  .nav__link {
    padding: .25em 0;
    font-family: var(--font-display);
    font-variation-settings: "SOFT" 100;
    font-weight: 600;
    font-size: clamp(2rem, 7vw, 2.8rem);
  }
  .nav__link::after { left: auto; right: -18px; bottom: 50%; width: 8px; height: 8px; transform: translateY(50%) scale(0); }
  .nav__link.is-active::after { transform: translateY(50%) scale(1); }
  .nav__link--cta {
    margin: 1.2rem 0 0;
    padding: .35em 1em;
    font-size: 1.5rem;
  }

  .nav__mascot {
    position: absolute;
    display: block;
    right: var(--gutter);
    bottom: 40px;
    width: 120px;
    height: 120px;
    opacity: 0;
    transform: translateY(40px) rotate(-10deg);
    transition: opacity .5s, transform .7s var(--ease-bounce);
  }
  .nav.is-open .nav__mascot { opacity: 1; transform: none; transition-delay: .45s; }

  /* Hero */
  .hero { min-height: auto; padding-bottom: 110px; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content { display: flex; flex-direction: column; align-items: center; }
  .hero__subtitle { margin-inline: auto; }
  .hero__actions,
  .hero__trust { justify-content: center; }
  .hero__visual { max-width: 480px; margin-top: 20px; }

  /* Histoire */
  .about__inner { grid-template-columns: 1fr; }
  .about__visual { max-width: 400px; }
  .about__content { max-width: 680px; margin-inline: auto; }

  /* Collection */
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Savoir-faire : timeline verticale */
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps::before { display: none; }

  /* Stats */
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li:nth-child(3) { box-shadow: 0 -1px 0 var(--c-line); }
  .stats li:nth-child(4) { box-shadow: -1px 0 0 var(--c-line), 0 -1px 0 var(--c-line); }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ≤ 640px : téléphone */
@media (max-width: 640px) {
  .hero { padding-top: calc(var(--header-h) + 28px); }
  .hero__title { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .hero__actions { width: 100%; flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__trust { gap: .4rem 1rem; font-size: .85rem; }
  .hero__visual { width: 94%; }
  .hero__mascot .speech { font-size: .78rem; }
  .scroll-hint { display: none; }
  .hero .blob--lilac { width: 320px; height: 300px; }
  .deco--c1 { left: 60%; width: 80px; }

  .about__round { right: -2%; }
  .about__mascot { left: -2%; }
  .beads--about { left: -4%; }
  .values-card { grid-template-columns: 1fr; }

  .status-badge { border-radius: var(--radius); }

  .filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-inline: calc(var(--gutter) * -1);
    padding: 6px var(--gutter);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }

  .product-grid { grid-template-columns: minmax(0, 1fr); max-width: 420px; margin-inline: auto; }

  .steps { grid-template-columns: 1fr; gap: 16px; }
  /* Fil de perles vertical sur mobile */
  .steps::before {
    display: block;
    top: 40px;
    bottom: 40px;
    left: 58px;
    right: auto;
    width: 12px;
    height: auto;
    background:
      radial-gradient(circle, var(--c-powder) 4px, transparent 4.5px) 50% 0 / 12px 26px repeat-y,
      linear-gradient(var(--c-lilac), var(--c-lilac)) 50% 0 / 2px 100% no-repeat;
    transform: scaleY(0);
    transform-origin: top;
  }
  .steps.is-visible::before { transform: scaleY(1); }
  .step {
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 18px;
    padding: 22px 20px;
    text-align: left;
  }
  .step__icon {
    grid-row: span 2;
    width: 64px;
    height: 64px;
    margin: 0;
    border-radius: 22px;
  }
  .step__icon svg { width: 30px; height: 30px; }
  .step__title { align-self: end; font-size: 1.3rem; margin-bottom: .2rem; }
  .step__num { top: 16px; right: 18px; }

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

  .stats strong { font-size: 2rem; }
  .stats li { padding: 22px 12px; }

  .cta__card { grid-template-columns: 1fr; text-align: center; }
  .cta__mascot { margin-inline: auto; width: 130px; }
  .cta__content { margin-inline: auto; }
  .cta__actions { flex-direction: column; }
  .cta__actions .btn { width: 100%; }
  .cta .eyebrow { justify-content: center; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__planet { top: 24px; right: -36px; bottom: auto; width: 96px; height: 96px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .toast-region { right: 16px; bottom: 16px; }
  .toast { grid-template-columns: 46px 1fr auto; gap: 12px; }
  .toast__mascot { width: 46px; height: 46px; }
}

/* Écrans larges : un peu plus d'air */
@media (min-width: 1400px) {
  :root { --container: 1280px; }
}

/* 17. MOUVEMENTS RÉDUITS =================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }

  .js .reveal,
  .js .product-grid:not(.is-visible) .product { opacity: 1; translate: none; scale: 1; }
  .steps::before { transform: none !important; }
  [data-depth] { translate: none; }
  .ribbon__track { animation: none !important; }
}
