/* Bubble Pop — design system PARTAGÉ du site (landing, boutique, merci, légales).
   Verre dépoli moderne, dégradés « aurore » doux, jamais d'aplat blanc. */

:root {
  --rose: #ffeef5;
  --rose2: #ffd9e8;
  --mauve: #c9a0e0;
  --pink: #ff8fb8;
  --pink-deep: #e0568f;
  --violet: #a86fd0;
  --violet-deep: #7d4fb3;
  --sky: #9fd4ee;
  --ink: #4a2e44;
  --ink-soft: #876a80;
  --card: rgba(255, 255, 255, 0.55);
  --card-strong: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.7);
  --shadow-s: 0 6px 18px rgba(180, 110, 150, 0.16);
  --shadow: 0 18px 44px rgba(170, 95, 150, 0.2);
  --shadow-l: 0 34px 80px rgba(150, 80, 140, 0.26);
  --glow: 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  --radius: 26px;
  --sab: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Fredoka", ui-rounded, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: linear-gradient(165deg, #fff0f6 0%, #fde3f0 30%, #efe4ff 65%, #e4f1ff 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- fond « aurore » animé (blobs flous derrière tout) ---- */
body::before {
  content: "";
  position: fixed;
  inset: -25% -15% auto -15%;
  height: 95vh;
  z-index: -2;
  background:
    radial-gradient(38% 48% at 18% 22%, rgba(255, 150, 200, 0.5), transparent 70%),
    radial-gradient(42% 52% at 84% 12%, rgba(170, 130, 240, 0.45), transparent 72%),
    radial-gradient(40% 50% at 62% 58%, rgba(140, 200, 255, 0.4), transparent 72%);
  filter: blur(46px);
  animation: aurora 20s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes aurora {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-3%, 2.5%, 0) scale(1.1);
  }
}

a {
  color: var(--pink-deep);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.narrow {
  max-width: 760px;
}
.wrap,
.topbar,
.site-header,
footer,
main,
section {
  position: relative;
  z-index: 1;
}

/* ---- en-tête collant en verre (landing) ---- */
.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  margin-top: 14px;
  padding: 0 14px; /* détache des bords latéraux */
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 14px 10px 20px;
  /* îlot flottant en verre, arrondi */
  background: rgba(255, 245, 250, 0.62);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-header nav a:not(.btn) {
  font-weight: 500;
  color: var(--ink-soft);
}
.site-header nav a:not(.btn):hover {
  color: var(--pink-deep);
  text-decoration: none;
}

/* ---- barre simple (boutique / merci / légales) ---- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
}
.brand:hover {
  text-decoration: none;
}
.brand .dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff, var(--pink) 62%, var(--pink-deep));
  box-shadow:
    var(--shadow-s),
    0 0 0 3px rgba(255, 255, 255, 0.5) inset;
}
.topbar nav a,
.back {
  margin-left: 18px;
  font-weight: 500;
  color: var(--ink-soft);
}
.topbar nav a:hover,
.back:hover {
  color: var(--pink-deep);
  text-decoration: none;
}

/* ---- cartes verre ---- */
.card {
  background: var(--card);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 28px;
}

/* ---- typographie ---- */
h1 {
  font-size: clamp(30px, 5.4vw, 44px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.5px;
  margin: 6px 0 6px;
}
h2 {
  color: var(--violet-deep);
  font-size: 21px;
  font-weight: 600;
  margin-top: 30px;
}
h3 {
  margin: 14px 0 6px;
  font-size: 20px;
  font-weight: 600;
}
.grad {
  background: linear-gradient(95deg, var(--pink-deep), var(--violet) 55%, var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.title {
  text-align: center;
  font-size: clamp(28px, 4.4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0 0 10px;
}
.sub {
  text-align: center;
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 auto 40px;
  font-size: 17px;
}
.lead {
  color: var(--ink-soft);
}
.date {
  color: var(--ink-soft);
  font-size: 14px;
}
.eyebrow {
  display: inline-block;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--violet-deep);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
}

/* ---- boutons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 17px;
  border: 0;
  cursor: pointer;
  box-shadow: var(--shadow-s);
  transition:
    transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.18s ease;
}
.btn:hover {
  transform: translateY(-3px);
  text-decoration: none;
  box-shadow: var(--shadow);
}
.btn-primary {
  background: linear-gradient(180deg, #ff9ec0, var(--pink-deep));
  color: #fff;
}
.btn-ghost {
  background: var(--card-strong);
  color: var(--ink);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
}
.badge-play {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: linear-gradient(180deg, #2a1f36, #1a1226);
  color: #fff;
  padding: 11px 22px;
  border-radius: 16px;
  box-shadow: var(--shadow-s);
  font-weight: 500;
}
.badge-play small {
  display: block;
  font-size: 11px;
  opacity: 0.8;
  line-height: 1;
}
.badge-play b {
  font-size: 19px;
}
.badge-play:hover {
  text-decoration: none;
  transform: translateY(-3px);
}

/* ---- pastilles d'arguments ---- */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.pill svg {
  width: 16px;
  height: 16px;
}

/* ---- hero ---- */
.hero {
  text-align: center;
  padding: 64px 0 36px;
}
.hero h1 {
  font-size: clamp(42px, 8.4vw, 84px);
  letter-spacing: -1.5px;
  margin: 16px 0 12px;
}
.hero .lead {
  font-size: clamp(17px, 2.4vw, 22px);
  max-width: 640px;
  margin: 0 auto 28px;
}
.cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

/* ---- mockup « écran » flottant ---- */
.device {
  width: min(300px, 78vw);
  margin: 46px auto 0;
  border-radius: 40px;
  padding: 12px;
  background: linear-gradient(160deg, #3a2b40, #241a2c);
  box-shadow: var(--shadow-l);
  transform: rotate(-3deg);
  animation: float 6s ease-in-out infinite;
}
.device img {
  width: 100%;
  display: block;
  border-radius: 30px;
}
@keyframes float {
  0%,
  100% {
    transform: rotate(-3deg) translateY(0);
  }
  50% {
    transform: rotate(-2deg) translateY(-12px);
  }
}

/* ---- sections ---- */
section {
  padding: 64px 0;
}

/* ---- grille de features ---- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 20px;
}
.feature {
  background: var(--card);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow-s);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.feature .chip {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.85), rgba(255, 220, 235, 0.6));
  box-shadow: var(--shadow-s);
  margin-bottom: 6px;
}
.feature h3 {
  margin: 14px 0 6px;
}
.feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ---- vitrine des mondes ---- */
.showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 18px;
}
.shot {
  position: relative;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #2a1f2e;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.shot img {
  width: 100%;
  display: block;
}
.shot .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 30px 14px 12px;
  background: linear-gradient(transparent, rgba(45, 25, 45, 0.72));
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}
.shot:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: var(--shadow-l);
}

/* ---- bande d'appel à l'action ---- */
.cta-band {
  text-align: center;
  border-radius: 34px;
  padding: 56px 28px;
  background: linear-gradient(150deg, rgba(255, 175, 205, 0.5), rgba(180, 150, 245, 0.45));
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

/* ---- pages légales / texte au long ---- */
.legal {
  margin: 8px auto 40px;
}
.legal h1 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--pink-deep);
}
.legal .en {
  border-top: 1px dashed var(--rose2);
  margin-top: 40px;
  padding-top: 22px;
}
.note {
  background: rgba(255, 243, 214, 0.7);
  border: 1px solid rgba(232, 184, 74, 0.55);
  border-left: 4px solid #e8b84a;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 14px;
}

/* ---- pied de page simple (boutique / légales) ---- */
footer {
  text-align: center;
  padding: 48px 0 calc(54px + var(--sab));
  color: var(--ink-soft);
  font-size: 14px;
}
footer a {
  margin: 0 10px;
}

/* ---- pied de page riche (landing) ---- */
.site-footer {
  margin-top: 48px;
  padding: 54px 0 calc(34px + var(--sab));
  text-align: left;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.site-footer a {
  margin: 0;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
  gap: 30px;
}
.foot-brand .brand {
  font-size: 20px;
  margin-bottom: 12px;
}
.foot-brand p {
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 320px;
  margin: 6px 0;
}
.foot-mini {
  font-weight: 500;
}
.foot-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot-col h4 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.foot-col a {
  color: var(--ink-soft);
  font-size: 14px;
}
.foot-col a:hover {
  color: var(--pink-deep);
  text-decoration: none;
}
.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 13px;
  color: var(--ink-soft);
}
.foot-made {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
@media (max-width: 720px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
}

/* ---- bulles flottantes décoratives ---- */
.bubbles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bub {
  position: absolute;
  bottom: -140px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 32% 28%,
    rgba(255, 255, 255, 0.95),
    rgba(255, 170, 205, 0.5) 60%,
    rgba(255, 140, 185, 0.22)
  );
  box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.65);
  animation: rise linear infinite;
}
@keyframes rise {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.85;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-118vh) translateX(40px);
    opacity: 0;
  }
}

/* ---- révélations au scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  .device,
  .bub {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
