:root {
  --cream: #FFF7EE;
  --peach: #FFD8C2;
  --coral: #FF8A65;
  --berry: #C2185B;
  --mint: #BFE9DC;
  --ink: #3B2A34;
  --muted: rgba(59, 42, 52, .66);
  --line: rgba(59, 42, 52, .12);
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.19, 1, .22, 1);
  --display: 'Fredoka', system-ui, sans-serif;
  --body: 'Nunito', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--cream); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; background: none; border: 0; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--mint); font-family: var(--display); font-weight: 500; font-size: 14px; }
.title { font-family: var(--display); font-weight: 600; font-size: clamp(40px, 5.6vw, 88px); line-height: 1; letter-spacing: -.02em; margin-top: 14px; }
.title em { font-style: normal; color: var(--coral); }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
[data-split] .w > span { display: inline-block; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 28px; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 600; font-size: 17px; transition: background .3s, transform .3s; }
.btn:hover { background: var(--berry); transform: rotate(-2deg) scale(1.04); }
.btn-small { padding: 10px 20px; font-size: 15px; }

.header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gutter); background: rgba(255, 247, 238, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.logo { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 24px; }
.nav { display: flex; gap: 28px; font-family: var(--display); font-weight: 500; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 4vw; padding: 100px var(--gutter) 60px; overflow: hidden; }
.paws { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.paw { position: absolute; font-size: 26px; opacity: 0; }
.hero-text, .hero-visual { position: relative; z-index: 1; }
.hero-title { font-family: var(--display); font-weight: 700; font-size: clamp(60px, 8.4vw, 140px); line-height: .92; letter-spacing: -.03em; margin-top: 18px; }
.wavy { display: inline-block; color: var(--coral); }
.wavy span { display: inline-block; }
.hero-lead { max-width: 40ch; margin-top: 20px; font-size: 19px; line-height: 1.6; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 30px; }
.rating { color: #F2A000; font-size: 15px; }
.rating b { color: var(--ink); }
.hero-visual { justify-self: center; width: min(100%, 520px); }
.blob { aspect-ratio: 1; overflow: hidden; border-radius: 58% 42% 53% 47% / 46% 56% 44% 54%; box-shadow: 0 30px 60px -30px rgba(194, 24, 91, .5); animation: morph 10s ease-in-out infinite; }
@keyframes morph { 50% { border-radius: 42% 58% 41% 59% / 58% 40% 60% 42%; } }
.blob img { width: 100%; height: 100%; object-fit: cover; }
.sticker { position: absolute; padding: 10px 18px; border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: 16px; box-shadow: 0 10px 20px -10px rgba(59, 42, 52, .4); }
.s1 { left: -10px; top: 14%; background: var(--peach); transform: rotate(-8deg); }
.s2 { right: -10px; bottom: 12%; background: var(--mint); transform: rotate(6deg); }

/* Simulateur */
.sim { padding: clamp(90px, 11vw, 150px) var(--gutter); background: #fff; border-radius: 48px 48px 0 0; }
.sim-head { text-align: center; margin-bottom: 50px; }
.sim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 70px); align-items: start; max-width: 1180px; margin: 0 auto; }
.sim-form { display: grid; gap: 30px; }
.lbl { display: block; margin-bottom: 12px; font-family: var(--display); font-weight: 600; font-size: 18px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 18px; background: var(--cream); font-family: var(--display); font-weight: 500; font-size: 16px; transition: background .3s, transform .3s; }
.choice span { font-size: 24px; }
.choice.is-on { background: var(--peach); transform: translateY(-3px); box-shadow: 0 8px 16px -10px rgba(194, 24, 91, .5); }
.sizes { display: flex; gap: 10px; align-items: flex-end; }
.size { display: grid; justify-items: center; gap: 6px; padding: 12px 10px; flex: 1; border-radius: 18px; background: var(--cream); font-family: var(--display); font-weight: 500; transition: background .3s; }
.size i { font-style: normal; line-height: 1; }
.size.is-on { background: var(--peach); }
.pet-name { width: 100%; padding: 14px 18px; border-radius: 18px; background: var(--cream); font-family: var(--display); font-size: 18px; outline: none; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .3s; }
.pet-name:focus { box-shadow: inset 0 0 0 2px var(--coral); }
.sim-result { position: sticky; top: 100px; padding: 26px; border-radius: 32px; background: linear-gradient(160deg, var(--peach), #FFE9DC); }
.pet { position: relative; height: 200px; display: grid; place-items: center; }
.pet-svg { width: 240px; height: 200px; overflow: visible; }
.foam { position: absolute; inset: 0; pointer-events: none; }
.foam i { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, rgba(255, 255, 255, .5)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8); }
.res-title { margin-top: 10px; font-family: var(--display); font-size: 18px; color: var(--muted); }
.res-name { color: var(--berry); font-weight: 600; }
.res-formula { margin-top: 4px; font-family: var(--display); font-weight: 700; font-size: 36px; line-height: 1.05; }
.res-list { list-style: none; display: grid; gap: 8px; margin: 16px 0 20px; }
.res-list li::before { content: '🫧  '; }
.res-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; border-top: 2px dashed rgba(59, 42, 52, .15); }
.res-price { font-family: var(--display); font-size: 34px; }

/* Avant / après */
.flip-sec { padding: clamp(90px, 11vw, 150px) var(--gutter); }
.flip-head { text-align: center; margin-bottom: 44px; }
.flip-head > p:last-child { margin-top: 12px; color: var(--muted); }
.flips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; perspective: 1400px; max-width: 1180px; margin: 0 auto; }
.flip { position: relative; aspect-ratio: 3 / 4; transform-style: preserve-3d; transition: transform .9s var(--ease); cursor: pointer; }
.flip.is-flipped { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 28px; overflow: hidden; }
.face img { width: 100%; height: 100%; object-fit: cover; }
.face.front img { filter: saturate(.35) sepia(.35) brightness(.8) contrast(.85) blur(1.2px); transform: scale(1.04); }
.face.front::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(35deg, rgba(120, 90, 60, .12) 0 2px, transparent 2px 7px); }
.face.back { transform: rotateY(180deg); }
.face span { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: #fff; font-family: var(--display); font-weight: 600; font-size: 14px; }
.face.back span { background: var(--coral); color: #fff; }
.face b { position: absolute; left: 16px; bottom: 14px; color: #fff; font-family: var(--display); font-size: 22px; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }

/* RDV */
.booking { padding: 0 var(--gutter) clamp(90px, 11vw, 150px); }
.booking-card { max-width: 900px; margin: 0 auto; padding: clamp(28px, 5vw, 56px); border-radius: 40px; background: var(--ink); color: #fff; text-align: center; }
.booking-card .title em { color: var(--peach); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-top: 30px; }
.slot { padding: 14px 10px; border-radius: 18px; background: rgba(255, 255, 255, .08); font-family: var(--display); transition: background .3s, transform .3s; }
.slot b { display: block; font-size: 22px; }
.slot small { opacity: .7; }
.slot:hover { background: rgba(255, 255, 255, .16); }
.slot.is-on { background: var(--coral); transform: scale(1.04); }
.book-msg { margin-top: 20px; min-height: 1.4em; font-family: var(--display); font-size: 22px; color: var(--peach); }
.addr { margin-top: 14px; font-size: 14px; opacity: .65; }

.pbc-loyalty { --pbc-bg: #fff; --pbc-fg: var(--ink); --pbc-muted: var(--muted); --pbc-line: var(--line); --pbc-title-font: var(--display); --pbc-body-font: var(--body); --pbc-accent: var(--ink); --pbc-accent-fg: #fff; }
.pbc-loyalty .pbc-title { font-weight: 700; }

.footer { padding: 60px var(--gutter) 24px; overflow: hidden; }
.footer-word { font-family: var(--display); font-weight: 700; font-size: 14vw; line-height: .9; text-align: center; color: var(--peach); white-space: nowrap; }
.footer-bottom { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; font-size: 13px; color: var(--muted); }

@media (max-width: 900px) {
  .nav { display: none; }
  .hero, .sim-grid { grid-template-columns: 1fr; }
  .hero-visual { width: min(84%, 380px); }
  .sim-result { position: static; }
  .flips { grid-template-columns: 1fr 1fr; }
  .flip:nth-child(3) { display: none; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
