/* ==========================================================
   M'T Cookies : page publique
   ========================================================== */

:root {
  --cream: #fff7f2;
  --blush: #ffe3ec;
  --blush-2: #ffd0de;
  --rose: #e0457b;
  --rose-deep: #b8325f;
  --cocoa: #2b1a1f;
  --cocoa-2: #5b3a40;
  --muted: #8a6d74;
  --butter: #ffd36e;
  --line: rgba(43, 26, 31, .09);
  --radius: 28px;
  --display: "Fraunces", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow-sm: 0 2px 8px rgba(43, 26, 31, .06);
  --shadow: 0 18px 50px -18px rgba(120, 30, 60, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--cocoa);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 650; letter-spacing: -.02em; line-height: 1.05; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; color: var(--rose); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 8px; }

.container { width: min(1160px, 100% - 40px); margin: 0 auto; }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 700 16px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn-primary { background: var(--rose); color: #fff; box-shadow: 0 10px 24px -8px rgba(224, 69, 123, .7); }
.btn-primary:hover { background: var(--rose-deep); }
.btn-dark { background: var(--cocoa); color: #fff; }
.btn-ghost { border-color: rgba(43, 26, 31, .18); color: var(--cocoa); background: rgba(255, 255, 255, .5); }
.btn-ghost:hover { background: #fff; }
.btn-light { background: #fff; color: var(--cocoa); }
.btn-icon svg, .mini-icon svg, .platform-icon svg, .footer-social svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
svg .fill { fill: currentColor; stroke: none; }

/* ---------- Navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 247, 242, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.02em; }
.nav-brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-sm); }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--cocoa-2); }
.nav-links a:hover { color: var(--rose); }

/* ---------- Hero ---------- */

.hero { position: relative; padding: 48px 0 72px; }
.hero::before {
  content: "";
  position: absolute;
  inset: -200px -10% auto auto;
  width: 70vw;
  height: 900px;
  background: radial-gradient(closest-side, var(--blush) 0, rgba(255, 227, 236, 0) 100%);
  z-index: -1;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--rose-deep);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 4px rgba(224, 69, 123, .18); }

.hero h1 { font-size: clamp(44px, 6.6vw, 84px); margin: 22px 0 22px; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--cocoa-2); max-width: 520px; margin: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-platforms { display: flex; align-items: center; gap: 10px; margin-top: 30px; color: var(--muted); font-size: 14px; font-weight: 600; }
.mini-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; transition: transform .2s; }
.mini-icon:hover { transform: translateY(-2px) rotate(-4deg); }
.mini-icon svg { width: 20px; height: 20px; }
.mini-instagram, .platform-instagram .platform-icon { background: linear-gradient(45deg, #feda75, #fa7e1e 25%, #d62976 55%, #962fbf 80%, #4f5bd5); }
.mini-snapchat, .platform-snapchat .platform-icon { background: #fffc00; color: #1d1d1b; }
.mini-tiktok, .platform-tiktok .platform-icon { background: #111; box-shadow: inset -2px -2px 0 #25f4ee, inset 2px 2px 0 #fe2c55; }
.mini-sms, .platform-sms .platform-icon { background: #34c759; }
.mini-whatsapp, .platform-whatsapp .platform-icon { background: #25d366; }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; justify-self: center; }
.hero-blob {
  position: absolute;
  inset: 8%;
  border-radius: 46% 54% 58% 42% / 48% 42% 58% 52%;
  background: linear-gradient(140deg, var(--blush-2), #ffb8cd 60%, #ff9fbd);
  animation: morph 14s ease-in-out infinite;
}
.hero-cookie {
  position: absolute;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #fff;
  box-shadow: var(--shadow);
  animation: float 7s ease-in-out infinite, spin 40s linear infinite;
}
.hc-main { width: 58%; left: 21%; top: 21%; border-width: 8px; animation-duration: 9s, 60s; }
.hc-1 { width: 30%; left: 2%; top: 8%; animation-delay: -2s, 0s; animation-direction: normal, reverse; }
.hc-2 { width: 26%; right: 1%; top: 14%; animation-delay: -4s, -10s; animation-duration: 7s, 30s; }
.hc-3 { width: 28%; right: 8%; bottom: 2%; animation-delay: -1s, -5s; animation-direction: normal, reverse; animation-duration: 7s, 34s; }
.hero-visual:hover .hero-cookie { animation-duration: 7s, 8s; }
.sticker {
  position: absolute;
  left: 6%;
  bottom: 10%;
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--butter);
  color: var(--cocoa);
  font: italic 700 17px/1.05 var(--display);
  text-align: center;
  transform: rotate(-12deg);
  box-shadow: var(--shadow-sm);
  animation: spin-wobble 6s ease-in-out infinite;
}
.price-pop {
  position: absolute;
  right: 0;
  top: 52%;
  padding: 10px 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.price-pop b { font-family: var(--display); font-size: 22px; color: var(--cocoa); margin-left: 2px; }

@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes morph {
  0%, 100% { border-radius: 46% 54% 58% 42% / 48% 42% 58% 52%; transform: rotate(0deg); }
  50% { border-radius: 58% 42% 44% 56% / 42% 58% 42% 58%; transform: rotate(8deg); }
}
@keyframes spin-wobble { 0%, 100% { transform: rotate(-12deg); } 50% { transform: rotate(-4deg) scale(1.04); } }

/* ---------- Bandeau défilant ---------- */

/* Deux bandeaux croisés qui défilent en sens inverse, cookies qui tournent */
.marquees { position: relative; height: 190px; margin: 10px 0 0; overflow: hidden; }
.marquee {
  position: absolute;
  left: -5%;
  width: 110%;
  overflow: hidden;
  padding: 14px 0;
  box-shadow: 0 12px 30px -14px rgba(43, 26, 31, .45);
}
.marquee-a { top: 30px; background: var(--cocoa); color: var(--cream); transform: rotate(-3deg); z-index: 2; }
.marquee-b { top: 78px; background: var(--rose); color: #fff; transform: rotate(2.5deg); z-index: 1; }
.marquee-track { display: flex; align-items: center; gap: 46px; width: max-content; padding-left: 46px; animation: scroll 38s linear infinite; }
.marquee-b .marquee-track { animation-direction: reverse; animation-duration: 44s; }
.marquees:hover .marquee-track { animation-play-state: paused; }
.mq-item { display: inline-flex; align-items: center; gap: 14px; font: italic 600 28px/1 var(--display); white-space: nowrap; }
.mq-cookie {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, .85);
  animation: spin 6s linear infinite;
}
.mq-item:nth-child(even) .mq-cookie { animation-direction: reverse; animation-duration: 8s; }
.marquee-b .mq-cookie { border-color: rgba(255, 255, 255, .6); }
@keyframes scroll { to { transform: translateX(-50%); } }
@keyframes spin { to { rotate: 360deg; } }

/* ---------- Sections ---------- */

.section { padding: 110px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(36px, 5vw, 60px); margin: 18px 0 14px; }
.section-head p { margin: 0; color: var(--cocoa-2); font-size: 17px; }

/* Carte */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative;
  padding: 26px 22px 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-img {
  position: relative;
  width: 80%;
  margin: 0 auto 18px;
  aspect-ratio: 1;
}
/* ombre douce posée sous le cookie */
.card-img::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: -4%;
  height: 12%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(90, 40, 20, .28), transparent);
  z-index: 0;
  transition: transform .5s ease, opacity .5s ease;
}
.card-img img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(90, 40, 20, .22));
  transition: transform 1.1s cubic-bezier(.2, .8, .2, 1);
}
.card:hover .card-img img { transform: rotate(360deg) translateY(-8px) scale(1.04); }
.card:hover .card-img::after { transform: scale(.85); opacity: .7; }
.card h3 { font-size: 26px; }
.card-desc { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.prices { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.price {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 96px;
  padding: 8px 14px;
  border-radius: 16px;
  background: var(--cream);
  font: 700 20px/1.1 var(--display);
}
.price small { font: 700 11px/1.4 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.price-mini { background: var(--blush); }

.sub-title { text-align: center; font-size: clamp(28px, 3.4vw, 40px); margin: 80px 0 30px; }
.sub-title span { display: block; font: 500 16px/1.6 var(--sans); letter-spacing: 0; color: var(--muted); margin-top: 6px; }

.big-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.big-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  gap: 26px;
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff 0%, var(--blush) 100%);
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.big-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.big-card > img { width: 200px; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 16px 22px rgba(90, 40, 20, .3)); animation: spin 36s linear infinite; }
.big-card:hover > img { animation-duration: 6s; }
.choices { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.choices li { display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 700; }
.choices img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.big-card h3 { font-size: 32px; margin-top: 10px; }
.big-card p { margin: 6px 0 0; color: var(--cocoa-2); }
.tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--cocoa); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.big-price { display: inline-block; margin-top: 14px; font: 700 40px/1 var(--display); color: var(--rose-deep); }

/* Commander */
.section-order { background: #fff; border-radius: 48px 48px 0 0; }
.platforms { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.platform {
  display: grid;
  gap: 4px;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.platform:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: #fff; }
.platform-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; color: #fff; margin-bottom: 14px; }
.platform-icon svg { width: 28px; height: 28px; }
.platform-name { font: 700 26px/1.1 var(--display); letter-spacing: -.02em; }
.platform-handle { color: var(--muted); font-weight: 600; font-size: 15px; }
.platform-action { margin-top: 18px; font-weight: 700; color: var(--rose-deep); }
.platform:hover .platform-action span { display: inline-block; transform: translateX(4px); transition: transform .2s; }

.steps { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { padding: 28px; border-radius: var(--radius); border: 1.5px dashed rgba(43, 26, 31, .14); }
.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  font: 700 20px/1 var(--display);
  margin-bottom: 16px;
}
.step h3 { font-size: 24px; }
.step p { margin: 8px 0 0; color: var(--cocoa-2); }

/* Conditions d'achat */
.conditions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cond { padding: 26px 22px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.cond-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--blush); color: var(--rose-deep); margin-bottom: 14px; }
.cond-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cond h4 { margin: 0 0 6px; font: 700 22px/1.1 var(--display); letter-spacing: -.02em; }
.cond p { margin: 0; color: var(--cocoa-2); font-size: 15px; }
.cond strong { color: var(--cocoa); }
.thanks { text-align: center; margin: 36px 0 0; font: italic 600 26px/1.2 var(--display); color: var(--rose); }

/* Appel final */
.cta-band { background: #fff; padding: 0 0 100px; }
.cta-inner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding: 96px 28px;
  border-radius: 40px;
  background:
    radial-gradient(70% 90% at 50% 130%, rgba(224, 69, 123, .45) 0, transparent 70%),
    radial-gradient(40% 60% at 50% -20%, rgba(255, 211, 110, .12) 0, transparent 70%),
    var(--cocoa);
  color: var(--cream);
}
.cta-inner h2 { position: relative; font-size: clamp(36px, 5.4vw, 64px); }
.cta-inner h2 em { color: #ff8fb4; }
.cta-inner p { position: relative; margin: 14px 0 34px; font-size: 18px; color: rgba(255, 247, 242, .75); }
.cta-cookie {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 24px 50px -12px rgba(0, 0, 0, .6);
  animation: spin 50s linear infinite;
}
.cc-1 { width: 210px; height: 210px; left: -60px; top: -50px; }
.cc-2 { width: 280px; height: 280px; right: -80px; bottom: -90px; animation-direction: reverse; animation-duration: 70s; }
.cc-3 { width: 120px; height: 120px; left: 9%; bottom: -36px; animation-duration: 34s; }
.cta-inner:hover .cta-cookie { animation-duration: 10s; }
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Pied de page */
.footer { background: var(--cocoa); color: rgba(255, 247, 242, .7); padding: 34px 0 40px; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font: 700 19px/1 var(--display); }
.footer-brand img { width: 36px; height: 36px; border-radius: 50%; }
.footer p { margin: 0; }
.footer .credits { flex-basis: 100%; font-size: 11.5px; color: rgba(255, 247, 242, .45); }
.footer .credits a { color: inherit; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; }
.footer-social a:hover { background: var(--rose); }
.footer-social svg { width: 18px; height: 18px; }

.mobile-cta { display: none; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease var(--d, 0ms), transform .7s ease var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text { order: 2; }
  .lead { margin: 0 auto; }
  .hero-cta, .hero-platforms { justify-content: center; }
  .hero-visual { max-width: 440px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .big-cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .conditions { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .nav-links { display: none; }
  .nav-inner { height: 64px; justify-content: space-between; }
  .nav .btn { display: none; }
  .hero { padding: 20px 0 56px; }
  .hero h1 { margin: 18px 0 16px; }
  .sticker { width: 84px; height: 84px; font-size: 14px; }
  .marquees { height: 150px; }
  .marquee-a { top: 22px; }
  .marquee-b { top: 62px; }
  .mq-item { font-size: 22px; gap: 10px; }
  .mq-cookie { width: 38px; height: 38px; }
  .marquee-track { gap: 32px; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 36px; }
  .cards { gap: 12px; }
  .conditions { grid-template-columns: 1fr; }
  .card { padding: 18px 10px 14px; border-radius: 22px; }
  .card h3 { font-size: 19px; }
  .prices { flex-direction: column; align-items: stretch; gap: 6px; }
  .price { min-width: 0; flex-direction: row; justify-content: space-between; padding: 7px 12px; font-size: 16px; }
  .big-card { grid-template-columns: 120px 1fr; gap: 16px; padding: 18px; }
  .big-card > img { width: 120px; }
  .choices li { font-size: 13px; }
  .big-card h3 { font-size: 24px; }
  .big-price { font-size: 30px; }
  .section-order { border-radius: 32px 32px 0 0; }
  .cta-inner { border-radius: 28px; padding: 120px 20px 130px; }
  .cc-1 { width: 130px; height: 130px; left: -40px; top: -40px; }
  .cc-2 { width: 170px; height: 170px; right: -60px; bottom: -70px; }
  .cc-3 { width: 80px; height: 80px; left: 6%; bottom: -24px; }
  .cta-band { padding-bottom: 90px; }
  .footer { padding-bottom: 96px; }
  .mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 60;
    min-height: 56px;
    border-radius: 999px;
    background: var(--cocoa);
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    text-decoration: none;
    box-shadow: 0 14px 30px -8px rgba(43, 26, 31, .55);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
