:root {
  --bg: #fff4c9;
  --bg-2: #ffe0ec;
  --bg-3: #d8f2ff;
  --bg-4: #e8f7c8;
  --ink: #151515;
  --green: #ef97dc;
  --green-2: #dd71c5;
  --green-dark: #9e2f84;
  --pink: #ff94b6;
  --blue: #8fd8ee;
  --cream: #fffaea;
  --yellow: #ffcc3d;
  --lilac: #caa8ff;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Fredoka", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle at 8% 12%, var(--green) 0 5px, transparent 6px),
    radial-gradient(circle at 92% 18%, var(--pink) 0 4px, transparent 5px),
    radial-gradient(circle at 18% 55%, var(--blue) 0 5px, transparent 6px),
    radial-gradient(circle at 80% 70%, var(--yellow) 0 5px, transparent 6px),
    radial-gradient(circle at 50% 38%, var(--lilac) 0 3px, transparent 4px);
  background-size: 800px 800px;
  opacity: 0.55;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
nav {
  padding: 14px 0;
  background: var(--cream);
  border-bottom: 3px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 4px 0 var(--ink);
}
nav .container { display: flex; justify-content: space-between; align-items: center; }
.brand-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand {
  font-family: "Sniglet", cursive;
  font-weight: 800;
  font-size: 26px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  line-height: 1;
}
.brand-avatar {
  height: 30px;
  width: auto;
  object-fit: contain;
  display: block;
  transform: translateY(-1px);
}
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--ink);
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn.pink { background: var(--pink); }
.btn.cream { background: var(--cream); }
.btn.dark { background: var(--ink); color: var(--cream); }
.btn.lg { padding: 17px 32px; font-size: 17px; box-shadow: 6px 6px 0 var(--ink); }

.hero {
  padding: 70px 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.pump-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #ffe8a3;
  padding: 9px 18px;
  border-radius: 999px;
  border: 3px solid var(--ink);
  font-weight: 700;
  font-size: 13px;
  box-shadow: 3px 3px 0 var(--green-2);
  text-decoration: none;
  margin-bottom: 24px;
  letter-spacing: 0.06em;
}
.pump-badge .dot {
  width: 9px; height: 9px; background: #ff77d7; border-radius: 50%; box-shadow: 0 0 10px #ff77d7;
}
h1 {
  font-family: "Sniglet", cursive;
  font-weight: 800;
  font-size: clamp(72px, 11vw, 160px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
h1 .green { color: var(--green-dark); }
.scribble { font-family: "Caveat", cursive; font-size: 28px; color: #ff6b95; transform: rotate(-4deg); display: inline-block; margin-left: 10px; }
.lede { font-size: 20px; color: #222; max-width: 520px; margin-bottom: 32px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.collage { position: relative; width: 100%; aspect-ratio: 1 / 1.02; max-width: 700px; margin: 0 auto; }
.polaroid {
  position: absolute;
  background: var(--cream);
  border: 4px solid var(--ink);
  border-radius: 18px;
  padding: 10px 10px 34px;
  box-shadow: var(--shadow-lg);
}
.polaroid img {
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  border: 3px solid var(--ink);
  display: block;
}
.polaroid .cap { position: absolute; bottom: 4px; left: 0; right: 0; text-align: center; font-family: "Caveat", cursive; font-weight: 700; font-size: 22px; }
.p1 { top: 50%; left: 50%; max-width: 98%; transform: translate(-50%, -50%) rotate(-3deg); z-index: 2; }

/* Petits avis négatifs autour de la photo hero (dans .collage) */
.review-badge {
  position: absolute;
  min-width: 110px;
  max-width: 42%;
  padding: 6px 9px;
  z-index: 4;
  border-radius: 10px;
  border: 2px solid #1f1f1f;
  background: #f7f7f7;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
  pointer-events: none;
  opacity: 0.95;
}
.review-badge.rb1 { top: 8%; left: -14%; animation: heroReviewDriftA 13s ease-in-out infinite; }
.review-badge.rb2 { bottom: -4%; left: 30%; animation: heroReviewDriftB 15s ease-in-out infinite; animation-delay: -4s; }
.review-badge.rb3 { top: 38%; right: -12%; animation: heroReviewDriftC 12s ease-in-out infinite; animation-delay: -7s; }
.review-badge .stars {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #e14a2f;
  line-height: 1;
}
.review-badge .review-text {
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  color: #202020;
  white-space: normal;
}
@keyframes heroReviewDriftA {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(6px, -5px) rotate(0.8deg); }
}
@keyframes heroReviewDriftB {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-5px, 6px) rotate(-0.7deg); }
}
@keyframes heroReviewDriftC {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(5px, 5px) rotate(0.6deg); }
}

.wave-top, .wave-bot { display: block; width: 100%; height: 40px; position: relative; z-index: 2; }
.wave-top { margin-bottom: -1px; }
.wave-bot { margin-top: -1px; }
.strip {
  background: var(--green-dark);
  color: var(--cream);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  padding: 18px 0;
  font-family: "Sniglet", cursive;
  font-weight: 800;
  font-size: 24px;
  overflow: hidden;
  white-space: nowrap;
  z-index: 2;
  transform: rotate(-1.2deg);
  margin: 40px -30px;
}
.strip-track { display: inline-block; animation: scroll 35s linear infinite; }
.strip-track span { margin: 0 26px; display: inline-flex; align-items: center; gap: 12px; }
.strip-track .dot { color: var(--yellow); font-size: 26px; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

section { padding: 90px 0; position: relative; }
.section-head { max-width: 740px; margin: 0 auto 60px; text-align: center; }
.eyebrow {
  display: inline-block;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 3px 3px 0 var(--ink);
}
h2 { font-family: "Sniglet", cursive; font-weight: 800; font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -0.02em; margin-bottom: 18px; }
h2 .green { color: var(--green-dark); }
h2 .hl { background: var(--yellow); padding: 0 12px; border: 3px solid var(--ink); border-radius: 12px; display: inline-block; transform: rotate(-2deg); }
.section-head p { color: #2a2a2a; font-size: 17px; }
.about-section { background: var(--bg-2); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.about-section .section-head h2 {
  font-size: clamp(24px, 4.2vw, 56px);
  line-height: 1.1;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  overflow-wrap: normal;
  word-break: normal;
  white-space: normal;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature {
  background: var(--cream);
  border: 4px solid var(--ink);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.feature:nth-child(2) { background: var(--blue); }
.feature:nth-child(3) { background: var(--pink); }
.feature .tag {
  position: absolute;
  top: -16px;
  right: 22px;
  background: var(--ink);
  color: var(--cream);
  font-family: "Sniglet", cursive;
  font-weight: 800;
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 999px;
}
.feature img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  border: 3px solid var(--ink);
  margin-bottom: 18px;
}
.feature h3 { font-family: "Sniglet", cursive; font-weight: 800; font-size: 26px; margin-bottom: 8px; }
.feature p { color: #222; font-size: 15px; }

.lore-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.lore-portrait {
  background: var(--cream);
  border: 5px solid var(--ink);
  border-radius: 28px;
  padding: 14px 14px 26px;
  box-shadow: var(--shadow-lg);
}
.lore-portrait img { width: 100%; height: auto; object-fit: contain; border-radius: 18px; border: 3px solid var(--ink); }
.lore-portrait .cap { text-align: center; font-family: "Caveat", cursive; font-weight: 700; font-size: 24px; margin-top: 10px; }
.lore-copy h3 { font-family: "Sniglet", cursive; font-weight: 800; font-size: 34px; margin-bottom: 16px; }
.lore-copy p { font-size: 17px; color: #1f1f1f; margin-bottom: 14px; max-width: 620px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; max-width: 560px; }
.fact { background: var(--cream); border: 3px solid var(--ink); border-radius: 14px; padding: 12px 16px; box-shadow: 3px 3px 0 var(--ink); }
.fact:nth-child(1) { background: var(--bg-4); }
.fact:nth-child(2) { background: var(--blue); }
.fact:nth-child(3) { background: var(--pink); }
.fact:nth-child(4) { background: var(--yellow); }
.fact .k { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: #333; margin-bottom: 2px; }
.fact .v { font-family: "Sniglet", cursive; font-weight: 800; font-size: 17px; }

.gallery-section { background: var(--bg-3); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.gallery {
  max-width: 1500px;
  margin: 0 auto;
  column-count: 2;
  column-gap: 36px;
  padding: 20px 0;
}
.gallery-item {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 36px;
  background: var(--cream);
  border: 4px solid var(--ink);
  border-radius: 14px;
  padding: 10px 10px 28px;
  box-shadow: var(--shadow);
  break-inside: avoid;
}
.gallery-item .img-wrap { width: 100%; height: auto; border-radius: 8px; border: 3px solid var(--ink); overflow: hidden; }
.gallery-item img { width: 100%; height: auto; object-fit: contain; display: block; }
.gallery-item .cap { position: absolute; bottom: 4px; left: 0; right: 0; text-align: center; font-family: "Caveat", cursive; font-weight: 700; font-size: 18px; }
.gallery-item .tape {
  position: absolute;
  width: 70px; height: 22px;
  background: rgba(255, 235, 130, 0.75);
  border: 1px dashed rgba(0,0,0,0.25);
  top: -10px; left: 50%;
  transform: translateX(-50%) rotate(-4deg);
}
.gallery-item .tape.right { left: auto; right: 16px; transform: rotate(12deg); }
.gallery-item .tape.left { left: 16px; transform: rotate(-14deg); }
.gallery-item .pin {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ff8aa8, #c11f4e);
  border: 2px solid var(--ink);
}
.gallery-item .pin.blue { background: radial-gradient(circle at 30% 30%, #7fd2f0, #1f7fa3); }
.gallery-item .pin.green { background: radial-gradient(circle at 30% 30%, #a8e389, #3a8721); }
.gallery-item .pin.yellow { background: radial-gradient(circle at 30% 30%, #ffe28a, #c19314); }
.g1, .g2, .g3, .g4, .g5, .g6 { grid-column: auto; grid-row: auto; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { background: var(--cream); border: 4px solid var(--ink); border-radius: 24px; padding: 28px 22px 26px; box-shadow: var(--shadow); text-align: center; }
.step .num {
  width: 64px; height: 64px;
  background: var(--green);
  border: 3px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -54px auto 16px;
  font-family: "Sniglet", cursive;
  font-weight: 800;
  font-size: 26px;
}
.step:nth-child(2) .num { background: var(--pink); }
.step:nth-child(3) .num { background: var(--blue); }
.step:nth-child(4) .num { background: var(--yellow); }
.step h4 { font-family: "Sniglet", cursive; font-weight: 800; font-size: 20px; margin-bottom: 8px; }
.step p { font-size: 14px; color: #2a2a2a; }
.steps-grid-wrap { padding-top: 36px; }

.contract {
  background: var(--cream);
  border: 4px solid var(--ink);
  border-radius: 28px;
  padding: 30px;
  margin-top: 48px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
}
.contract .label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: #555; margin-bottom: 10px; }
.contract code {
  font-family: "SF Mono", Menlo, monospace;
  font-size: 15px;
  color: var(--ink);
  word-break: break-all;
  font-weight: 600;
  background: var(--bg);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 12px 16px;
  display: block;
}
.contract-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 60px; padding: 50px 0 20px; text-align: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .collage { max-width: 640px; }
  .review-badge {
    min-width: 100px;
    max-width: 48%;
    padding: 5px 7px;
  }
  .review-badge.rb1 { left: -6%; }
  .review-badge.rb3 { right: -6%; }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .lore-grid { grid-template-columns: 1fr; gap: 40px; }
  .gallery { column-count: 1; column-gap: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 780px) {
  .brand-avatar { height: 24px; }
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 760px) {
  .contract { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; }
  .gallery { column-count: 1; }
  .steps { grid-template-columns: 1fr; }
}
