/* ==========================================================================
   Jibbitz.ma — feuille de style boutique
   ========================================================================== */

:root {
  --bg: #FFF8F1;
  --surface: #FFFFFF;
  --ink: #1F1534;
  --ink-2: #3D3352;
  --muted: #6E6585;
  --line: #EFE4D7;
  --line-2: #F6EEE4;

  --pink: #FF4F8B;
  --pink-d: #E0326F;
  --violet: #7C5CFF;
  --yellow: #FFC83D;
  --mint: #16C2A3;
  --sky: #3BB4FF;
  --orange: #FF8A3D;
  --red: #E5484D;

  --display: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;
  --shadow-sm: 0 1px 0 rgba(31, 21, 52, .05), 0 6px 18px -10px rgba(31, 21, 52, .25);
  --shadow: 0 2px 0 rgba(31, 21, 52, .04), 0 18px 40px -18px rgba(31, 21, 52, .35);
  --shadow-lg: 0 30px 60px -24px rgba(31, 21, 52, .45);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 72px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 500 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--yellow); color: var(--ink); }
[hidden] { display: none !important; }
@view-transition { navigation: auto; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .container { padding-inline: 28px; } }
.narrow { max-width: 860px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; }
.skip:focus { top: 12px; }
.hp { position: absolute; left: -9999px; }
.center { text-align: center; margin-top: 28px; }
.muted { color: var(--muted); }
.link { color: var(--pink-d); font-weight: 800; text-decoration: none; }
.link:hover { text-decoration: underline; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--pink)); flex: none; display: inline-block; }

/* ---------- Typo utilitaires ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 900; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--pink-d);
}
.eyebrow--light { color: var(--yellow); }
.hl { --hl: var(--yellow); background: linear-gradient(transparent 60%, var(--hl) 60%, var(--hl) 92%, transparent 92%); padding: 0 .08em; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hl--pink { --hl: #FFC2D7; }
.hl--yellow { --hl: #FFE08A; }
.hl--mint { --hl: #A8F0E1; }
.promo .hl { --hl: rgba(255, 200, 61, .45); }

/* ---------- Boutons ---------- */
.btn {
  --b: var(--ink); --t: #fff; --s: rgba(31, 21, 52, .35);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--b); color: var(--t); font-weight: 800; font-size: .98rem; text-decoration: none; white-space: nowrap;
  box-shadow: 0 4px 0 var(--s); transform: translateY(0);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--s); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--s); }
.btn:disabled { opacity: .5; pointer-events: none; }
.btn--primary { --b: var(--pink); --s: #C2215B; }
.btn--primary:hover { --b: #FF6299; }
.btn--dark { --b: var(--ink); --s: #000; }
.btn--light { --b: #fff; --t: var(--ink); --s: rgba(31, 21, 52, .14); }
.btn--yellow { --b: var(--yellow); --t: var(--ink); --s: #D9A11C; }
.btn--wa { --b: #25D366; --t: #fff; --s: #169C4A; }
.btn--ghost { --b: transparent; --t: var(--ink-2); --s: transparent; box-shadow: none; }
.btn--ghost:hover { box-shadow: none; text-decoration: underline; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.06rem; }
.btn--block { width: 100%; white-space: normal; text-align: center; line-height: 1.25; padding-block: 8px; }
.btn--grow { flex: 1; }
.btn.is-loading { position: relative; color: transparent; }
.btn.is-loading::after { content: ''; position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(255,255,255,.5); border-top-color: #fff; animation: spin .7s linear infinite; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: transparent; color: var(--ink); text-decoration: none; transition: background .2s;
}
.icon-btn:hover { background: var(--line-2); }
.icon-btn--light { color: #fff; background: rgba(255, 255, 255, .1); }
.icon-btn--light:hover { background: rgba(255, 255, 255, .2); }

/* ---------- Bandeau annonces ---------- */
.announce { background: var(--ink); color: #fff; overflow: hidden; font-size: .86rem; font-weight: 700; }
.announce__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.announce__item { display: inline-flex; align-items: center; gap: 8px; padding: 9px 28px; white-space: nowrap; }
.announce__item svg { color: var(--yellow); }
.announce:hover .announce__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- En-tête ---------- */
.header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  background: rgba(255, 248, 241, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -20px rgba(31, 21, 52, .5); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 12px; }
.header__burger { margin-left: -8px; }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }

.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.logo__mark { flex: none; transition: transform .4s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-12deg) scale(1.06); }
.logo__word { font-family: var(--display); font-weight: 700; font-size: 1.55rem; letter-spacing: -.02em; line-height: 1; }
.logo__tld { color: var(--pink); }
.logo--light { color: #fff; }
.logo--sm .logo__word { font-size: 1.3rem; }

.nav { display: none; }
@media (min-width: 1024px) {
  .header__burger { display: none; }
  .nav { display: flex; align-items: center; gap: 2px; margin-left: 22px; }
}
.nav__link {
  display: inline-flex; align-items: center; gap: 4px; padding: 9px 13px; border-radius: 999px; border: 0; background: none;
  font-weight: 800; font-size: .95rem; color: var(--ink-2); text-decoration: none; transition: background .2s, color .2s;
}
.nav__link:hover, .nav__link.is-active { background: #fff; color: var(--ink); }
.nav__drop { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px; padding: 8px;
  background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s var(--ease);
}
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu, .nav__drop.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__theme { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 800; }
.nav__theme small { margin-left: auto; color: var(--muted); font-weight: 700; }
.nav__theme:hover { background: color-mix(in srgb, var(--c) 12%, #fff); }

.cart-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px 0 12px; margin-left: 4px;
  border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 900; transition: transform .2s, background .2s;
}
.cart-btn:hover { background: var(--pink); }
.cart-btn__icon { position: relative; display: inline-grid; }
.cart-btn__count {
  position: absolute; top: -8px; right: -10px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--yellow); color: var(--ink); font-size: .72rem; line-height: 20px; text-align: center; box-shadow: 0 0 0 2px var(--ink);
}
.cart-btn.is-bump { animation: bump .5s var(--ease); }
@media (max-width: 420px) { .cart-btn__total { display: none; } .cart-btn { padding: 0 14px; } }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.15) rotate(-4deg); } 60% { transform: scale(.96); } 100% { transform: scale(1); } }

/* ---------- Menu mobile ---------- */
.menu { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.menu.is-open { visibility: visible; }
.menu__backdrop { position: absolute; inset: 0; background: rgba(31, 21, 52, .45); opacity: 0; transition: opacity .3s; }
.menu.is-open .menu__backdrop { opacity: 1; }
.menu__panel {
  position: absolute; inset: 0 auto 0 0; width: min(86vw, 360px); background: var(--bg); padding: 14px 18px 30px; overflow-y: auto;
  transform: translateX(-100%); transition: transform .35s var(--ease); display: flex; flex-direction: column; gap: 2px;
}
.menu.is-open .menu__panel { transform: none; }
.menu__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.menu__all { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--r-md); background: var(--ink); color: #fff; font-weight: 900; text-decoration: none; }
.menu__all svg { color: var(--yellow); }
.menu__label { margin: 18px 4px 6px; font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.menu__theme, .menu__link { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 14px; text-decoration: none; font-weight: 800; font-size: 1.05rem; }
.menu__theme { background: #fff; margin-bottom: 6px; border: 1px solid var(--line); }
.menu__theme .dot { width: 12px; height: 12px; }
.menu__theme small { margin-left: auto; color: var(--muted); }
.menu__link:hover { background: #fff; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
@media (min-width: 768px) { .section { padding: 80px 0; } }
.section--tint { background: #FFF0E4; background: linear-gradient(180deg, #FFF1E6, #FFF6EE); }
.section__head { max-width: 720px; margin-bottom: 30px; display: grid; gap: 10px; }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.section__head--row > div { display: grid; gap: 10px; }
.section__title { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.section__lead { color: var(--ink-2); font-size: 1.08rem; }
.section__lead a { color: var(--pink-d); font-weight: 800; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 28px 0 56px; }
@media (min-width: 960px) { .hero { padding: 48px 0 84px; } }
.hero__bg { position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(31, 21, 52, .07) 1.4px, transparent 1.6px); background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 30%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.blob--1 { width: 420px; height: 420px; background: #FFB3CF; top: -140px; right: 8%; }
.blob--2 { width: 360px; height: 360px; background: #CBBBFF; bottom: -120px; right: -80px; }
.blob--3 { width: 300px; height: 300px; background: #FFE29A; top: 30%; left: -140px; }
.hero__inner { position: relative; display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .hero__inner { grid-template-columns: 1.08fr .92fr; gap: 48px; } }
.hero__text { display: grid; gap: 18px; justify-items: start; }
.hero__title { font-size: clamp(2.5rem, 7vw, 4.6rem); line-height: 1; letter-spacing: -.025em; }
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--ink-2); max-width: 540px; }
.hero__lead b { color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero__badges { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-2); font-weight: 800; font-size: .92rem; }
.hero__badges li { display: inline-flex; align-items: center; gap: 7px; }
.hero__badges svg { color: var(--mint); }

.hero__visual { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1; margin-inline: auto; }
@media (max-width: 959px) { .hero__visual { max-width: 420px; } }
.hero__photo {
  position: absolute; inset: 10%; border-radius: 50%; overflow: hidden; background: #fff;
  border: 10px solid #fff; box-shadow: var(--shadow-lg);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.sticker {
  --r: 0deg; position: absolute; width: 23%; aspect-ratio: 1; padding: 7px;
  background: #fff; border-radius: 26px; box-shadow: 0 14px 30px -12px rgba(31, 21, 52, .45);
  border: 3px solid color-mix(in srgb, var(--c) 40%, #fff);
  transform: rotate(var(--r)); animation: float 7s ease-in-out infinite; transition: scale .25s var(--ease);
}
.sticker:hover { scale: 1.08; }
.sticker img { width: 100%; height: 100%; object-fit: contain; }
.sticker--1 { --r: -10deg; top: 0; left: 4%; animation-delay: -1s; }
.sticker--2 { --r: 9deg; top: 2%; right: 4%; animation-delay: -3s; }
.sticker--3 { --r: 7deg; top: 40%; left: -3%; animation-delay: -2s; width: 21%; }
.sticker--4 { --r: -7deg; bottom: 2%; right: 6%; animation-delay: -4s; }
.sticker--5 { --r: -4deg; top: 42%; right: -4%; animation-delay: -5s; width: 20%; }
.sticker--6 { --r: 5deg; bottom: -1%; left: 22%; animation-delay: -6s; width: 21%; }
@keyframes float { 0%, 100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(calc(var(--r) * -.4)) translateY(-10px); } }
.hero__price {
  position: absolute; top: 4%; left: 36%; z-index: 2; width: 92px; height: 92px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; gap: 3px; background: var(--yellow); color: var(--ink);
  box-shadow: 0 10px 24px -10px rgba(31, 21, 52, .5); transform: rotate(-12deg); border: 4px solid #fff;
}
.hero__price b { font-family: var(--display); font-size: 2.2rem; line-height: 1; }
.hero__price small { font-weight: 900; font-size: .64rem; line-height: 1.1; text-transform: uppercase; }

/* ---------- Cartes thèmes ---------- */
.themes-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .themes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .themes-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.tcard {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r-xl); overflow: hidden;
  background: #fff; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tcard:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow); }
.tcard__pics {
  position: relative; height: 178px; background: var(--c);
  background-image: radial-gradient(rgba(255, 255, 255, .28) 2px, transparent 2.5px), linear-gradient(160deg, rgba(255,255,255,.25), rgba(0,0,0,.12));
  background-size: 18px 18px, 100% 100%;
}
.tcard__pic {
  position: absolute; width: 112px; height: 112px; padding: 8px; background: #fff; border-radius: 26px;
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .5); transition: transform .4s var(--ease);
}
.tcard__pic img { width: 100%; height: 100%; object-fit: contain; }
.tcard__pic--1 { left: 8%; top: 40px; transform: rotate(-9deg); }
.tcard__pic--2 { left: calc(50% - 56px); top: 22px; transform: rotate(4deg); z-index: 2; }
.tcard__pic--3 { right: 8%; top: 44px; transform: rotate(10deg); }
.tcard:hover .tcard__pic--1 { transform: rotate(-15deg) translate(-6px, -6px); }
.tcard:hover .tcard__pic--2 { transform: rotate(0deg) translateY(-10px) scale(1.05); }
.tcard:hover .tcard__pic--3 { transform: rotate(16deg) translate(6px, -6px); }
.tcard__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 22px 22px; flex: 1; }
.tcard__name { font-size: 1.45rem; }
.tcard__tag { color: var(--muted); font-size: .95rem; }
.tcard__count {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding-top: 12px;
  font-weight: 900; color: color-mix(in srgb, var(--c) 62%, #000);
}
.tcard__count svg { transition: transform .25s var(--ease); }
.tcard:hover .tcard__count svg { transform: translateX(4px); }
.tcard--all { background: var(--ink); color: #fff; border: 0; min-height: 300px; }
.tcard--all .tcard__body { justify-content: center; padding: 30px; }
.tcard--all .tcard__tag { color: rgba(255, 255, 255, .7); }
.tcard--all .tcard__count { color: var(--yellow); }
.tcard__big { font-family: var(--display); font-weight: 700; font-size: 5rem; line-height: 1; color: var(--yellow); }

/* ---------- Étapes ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); counter-reset: s; }
.step { position: relative; background: #fff; border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.step__num {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 18px; margin-bottom: 6px;
  background: var(--c); color: #fff; font-family: var(--display); font-size: 1.6rem; font-weight: 700; transform: rotate(-6deg);
  box-shadow: 0 6px 0 color-mix(in srgb, var(--c) 70%, #000);
}
.step h3 { font-size: 1.3rem; }
.step p { color: var(--ink-2); }

/* ---------- Grille produits & cartes ---------- */
.grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1240px) { .grid--catalog { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.pcard {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  animation: cardIn .5s var(--ease) both;
}
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c) 35%, #fff); }
.pcard.is-in-cart { border-color: color-mix(in srgb, var(--c) 55%, #fff); box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 45%, #fff), var(--shadow-sm); }
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } }
.pcard__media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #FFF4F7; background: color-mix(in srgb, var(--c) 9%, #fff); }
.pcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 3%; mix-blend-mode: multiply; transition: transform .45s var(--ease), opacity .35s; }
.pcard:hover .pcard__img { transform: scale(1.06) rotate(-2deg); }
.pcard__img--alt { mix-blend-mode: normal; object-fit: cover; padding: 0; opacity: 0; }
.pcard.has-alt:hover .pcard__img--alt { opacity: 1; transform: scale(1.03); }
.pcard__body { display: flex; flex-direction: column; gap: 4px; padding: 12px 12px 12px; flex: 1; }
@media (min-width: 640px) { .pcard__body { padding: 14px 16px 16px; } }
.pcard__theme { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.pcard__theme .dot { width: 7px; height: 7px; }
.pcard__name { font-family: var(--body); font-weight: 800; font-size: .98rem; line-height: 1.25; }
.pcard__name a { text-decoration: none; }
.pcard__name a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.pcard__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pcard__price { font-family: var(--display); font-weight: 700; font-size: 1.25rem; white-space: nowrap; }

.qty-ctl { position: relative; z-index: 2; }
.btn-add {
  display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 14px 0 10px; border: 0; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 900; font-size: .9rem; transition: background .2s, transform .15s;
}
.btn-add:hover { background: var(--pink); }
.btn-add:active { transform: scale(.94); }
@media (max-width: 380px) { .btn-add span { display: none; } .btn-add { padding: 0 11px; } }

.stepper { display: inline-flex; align-items: center; height: 40px; border-radius: 999px; background: var(--pink); color: #fff; box-shadow: 0 3px 0 #C2215B; }
.stepper button { display: grid; place-items: center; width: 36px; height: 100%; border: 0; background: none; color: inherit; border-radius: 999px; }
.stepper button:hover { background: rgba(255, 255, 255, .18); }
.stepper__qty { min-width: 20px; text-align: center; font-weight: 900; }
.stepper--lg { height: 56px; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.stepper--lg button { width: 48px; }
.stepper--lg button:hover { background: var(--line-2); }
.stepper__input { width: 44px; border: 0; background: none; text-align: center; font-weight: 900; font-size: 1.1rem; -moz-appearance: textfield; appearance: textfield; }
.stepper__input::-webkit-inner-spin-button, .stepper__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__input:focus { outline: none; }
.stepper.is-pop { animation: bump .4s var(--ease); }

/* ---------- Bandeau promo livraison ---------- */
.promo { background: var(--ink); color: #fff; overflow: hidden; position: relative; }
.promo::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1.5px, transparent 2px); background-size: 24px 24px; }
.promo__inner { position: relative; display: grid; gap: 30px; align-items: center; padding-block: 56px; }
@media (min-width: 900px) { .promo__inner { grid-template-columns: 1.1fr .9fr; padding-block: 72px; } }
.promo__text { display: grid; gap: 14px; justify-items: start; }
.promo h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.promo p { color: rgba(255, 255, 255, .78); max-width: 520px; }
.promo__meter { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-xl); padding: 26px; }
.meter { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.meter__dot { aspect-ratio: 1; border-radius: 30%; background: rgba(255, 255, 255, .1); animation: fill 4.5s var(--ease) infinite; animation-delay: calc(var(--k) * .16s); }
.meter__dot:nth-child(3n+1) { --f: var(--pink); }
.meter__dot:nth-child(3n+2) { --f: var(--yellow); }
.meter__dot:nth-child(3n) { --f: var(--mint); }
@keyframes fill { 0%, 8% { background: rgba(255, 255, 255, .1); transform: scale(.85); } 20%, 85% { background: var(--f); transform: scale(1); } 100% { background: rgba(255, 255, 255, .1); transform: scale(.85); } }
.promo__meter-label { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 900; color: var(--yellow); }

/* ---------- Inspirations ---------- */
.inspi { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .inspi { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 16px; } .inspi__item--1 { grid-column: span 2; grid-row: span 2; } }
.inspi__item { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow-sm); }
.inspi__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.inspi__item:hover img { transform: scale(1.06); }
.inspi__label {
  position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; justify-content: space-between; gap: 8px;
  padding: 8px 12px; border-radius: 14px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px);
  font-weight: 800; font-size: .88rem; color: var(--ink); text-decoration: none;
}
.inspi__label small { font-weight: 900; color: var(--pink-d); white-space: nowrap; font-size: .88rem; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 24px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; } }
.faq { display: grid; gap: 10px; }
.faq__item { background: #fff; border-radius: var(--r-md); border: 1px solid var(--line); overflow: hidden; }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px;
  font-weight: 800; font-size: 1.04rem; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--line-2); font-size: 1.3rem; font-weight: 700; transition: transform .25s var(--ease), background .2s;
}
.faq__item[open] summary::after { transform: rotate(45deg); background: var(--yellow); }
.faq__item p { padding: 0 20px 20px; color: var(--ink-2); }

/* ---------- Texte éditorial ---------- */
.prose { color: var(--ink-2); font-size: 1.04rem; }
.prose > * + * { margin-top: 14px; }
.prose h2 { color: var(--ink); font-size: clamp(1.4rem, 3vw, 1.9rem); margin-top: 34px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--ink); font-size: 1.2rem; margin-top: 24px; }
.prose a { color: var(--pink-d); font-weight: 800; }
.prose strong, .prose b { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 8px; }
.seo-text .prose > * { max-width: 860px; }
.howto { list-style: none; padding: 0 !important; counter-reset: h; }
.howto li { position: relative; padding: 16px 16px 16px 64px; background: #fff; border-radius: var(--r-md); border: 1px solid var(--line); counter-increment: h; }
.howto li::before { content: counter(h); position: absolute; left: 16px; top: 14px; width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: var(--pink); color: #fff; font-family: var(--display); font-weight: 700; }
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.table th, .table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { background: var(--ink); color: #fff; font-weight: 800; }

/* ---------- En-têtes de page ---------- */
.page-head { position: relative; padding: 30px 0 34px; overflow: hidden; }
.page-head--theme { background: color-mix(in srgb, var(--c) 14%, var(--bg)); }
.page-head--theme::after {
  content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 40%, transparent), transparent 70%);
}
.page-head--slim { padding-bottom: 20px; }
.page-head .container { position: relative; z-index: 1; display: grid; gap: 10px; }
.page-head__title { font-size: clamp(2.1rem, 5.5vw, 3.6rem); letter-spacing: -.02em; }
.page-head--theme .page-head__title { color: color-mix(in srgb, var(--c) 70%, var(--ink)); }
.page-head__lead { color: var(--ink-2); font-size: 1.08rem; max-width: 720px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .86rem; font-weight: 700; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs--pdp { padding: 18px 0 8px; }

/* ---------- Barre de filtres ---------- */
.toolbar { position: sticky; top: var(--header-h); z-index: 30; background: rgba(255, 248, 241, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.toolbar__inner { display: flex; flex-direction: column; gap: 10px; padding-block: 12px; }
@media (min-width: 1000px) { .toolbar__inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 1000px) { .chips { margin: 0; padding: 2px; flex-wrap: wrap; } }
.chip {
  flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px;
  border-radius: 999px; background: #fff; border: 1.5px solid var(--line); text-decoration: none; font-weight: 800; font-size: .92rem; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, transform .15s;
}
.chip small { color: var(--muted); font-weight: 800; }
.chip:hover { border-color: var(--c, var(--ink)); transform: translateY(-1px); }
.chip.is-active { background: var(--c, var(--ink)); border-color: var(--c, var(--ink)); color: #fff; }
.chip.is-active small { color: rgba(255, 255, 255, .8); }
.chip.is-active .dot { background: #fff; }
.toolbar__tools { display: flex; gap: 8px; }
.search { position: relative; flex: 1; display: flex; align-items: center; min-width: 0; }
.search svg { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 44px; padding: 0 14px 0 42px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700;
}
@media (min-width: 1000px) { .search input { width: 250px; } }
.search input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124, 92, 255, .15); }
.search--big { max-width: 520px; width: 100%; gap: 8px; }
.search--big input { height: 54px; width: 100%; }
.sort select {
  height: 44px; padding: 0 36px 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 800; font-size: .9rem;
  appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231F1534' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.section--catalog { padding-top: 22px; }
.results { font-weight: 800; color: var(--muted); margin-bottom: 14px; font-size: .92rem; }

/* ---------- États vides ---------- */
.empty { text-align: center; display: grid; justify-items: center; gap: 10px; padding: 50px 20px; }
.empty__emoji { font-size: 3rem; }
.empty h2, .empty h3 { font-size: 1.5rem; }
.empty p { color: var(--muted); }
.empty--sm { padding: 30px 10px; }

/* ---------- Fiche produit ---------- */
.pdp { display: grid; gap: 26px; padding-bottom: 40px; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; } .pdp__gallery { position: sticky; top: calc(var(--header-h) + 18px); } }
.pdp__main {
  position: relative; aspect-ratio: 1; border-radius: var(--r-xl); overflow: hidden; cursor: zoom-in;
  background: #FFF4F7; background: color-mix(in srgb, var(--c) 10%, #fff); border: 1px solid var(--line);
}
.pdp__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .35s, transform .2s; }
.pdp__img--studio { mix-blend-mode: multiply; padding: 4%; }
.pdp__img--crocs { object-fit: cover; }
.pdp__img.is-active { opacity: 1; }
.pdp__main.is-zoom .pdp__img.is-active { transform: scale(1.9); }
.pdp__badge {
  position: absolute; top: 16px; left: 16px; padding: 8px 14px; border-radius: 999px; background: var(--yellow);
  font-family: var(--display); font-weight: 700; font-size: 1.1rem; transform: rotate(-6deg); box-shadow: 0 6px 16px -8px rgba(0,0,0,.4);
}
.pdp__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pdp__thumb {
  display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 18px; border: 2px solid var(--line);
  background: #fff; font-weight: 800; font-size: .88rem; transition: border-color .2s;
}
.pdp__thumb img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: color-mix(in srgb, var(--c) 10%, #fff); }
.pdp__thumb.is-active { border-color: var(--ink); }
.pdp__info { display: grid; gap: 16px; align-content: start; }
.pill { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; text-decoration: none; font-weight: 900; font-size: .86rem; background: color-mix(in srgb, var(--c) 14%, #fff); color: color-mix(in srgb, var(--c) 58%, #000); }
.pdp__title { font-size: clamp(2rem, 4.6vw, 3.1rem); letter-spacing: -.02em; }
.pdp__meta { color: var(--muted); font-weight: 700; font-size: .92rem; margin-top: -8px; }
.pdp__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; }
.pdp__amount { font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: 1; }
.pdp__unit { color: var(--muted); font-weight: 800; }
.pdp__stock { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; font-weight: 900; color: #0E8C75; font-size: .92rem; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(22, 194, 163, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(22, 194, 163, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 194, 163, 0); } }
.pdp__buy { display: flex; gap: 10px; }
.pdp__incart { font-weight: 800; color: #0E8C75; margin-top: -6px; }
.pdp__perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; }
.pdp__perks li { display: flex; gap: 12px; align-items: center; color: var(--ink-2); }
.pdp__perks svg { color: var(--mint); flex: none; }
.pdp__perks b { color: var(--ink); }
.pdp__desc h2 { font-size: 1.35rem; }
.pdp__how { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.pdp__how summary { padding: 16px 18px; font-weight: 800; cursor: pointer; }
.pdp__how p { padding: 0 18px 18px; color: var(--ink-2); }
.pdp__how a { color: var(--pink-d); font-weight: 800; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 800; font-size: .84rem; color: var(--ink-2); }
.tag:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Progression livraison gratuite ---------- */
.ship { display: grid; gap: 9px; }
.ship__text { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: .94rem; }
.ship__text svg { flex: none; color: var(--pink); }
.ship__bar { height: 12px; border-radius: 999px; background: var(--line-2); overflow: hidden; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .06); }
.ship__bar span {
  display: block; height: 100%; border-radius: inherit; transition: width .6s var(--ease);
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow));
  background-size: 200% 100%; animation: shine 3s linear infinite;
}
.ship.is-free .ship__text svg { color: var(--mint); }
.ship.is-free .ship__bar span { background: linear-gradient(90deg, var(--mint), #58E0C6); }
@keyframes shine { to { background-position: -200% 0; } }
.ship-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; }
.ship-card:empty { display: none; }

/* ---------- Tiroir panier ---------- */
.drawer { position: fixed; inset: 0; z-index: 70; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(31, 21, 52, .5); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute; inset: 0 0 0 auto; width: min(100%, 440px); background: var(--bg); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .38s var(--ease); box-shadow: var(--shadow-lg);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 10px 22px; }
.drawer__head h2 { font-size: 1.5rem; }
.drawer__count { font-family: var(--body); font-size: .95rem; color: var(--muted); font-weight: 800; }
.drawer__ship { padding: 0 22px 14px; border-bottom: 1px solid var(--line); }
.drawer__lines { flex: 1; overflow-y: auto; padding: 8px 14px; }
.drawer__foot { padding: 16px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; display: grid; gap: 8px; }
.drawer__foot .btn--primary { margin-top: 6px; }

.line { display: grid; grid-template-columns: 64px 1fr auto; grid-template-areas: "img info total" "img step step"; gap: 4px 12px; align-items: center; padding: 10px 8px; border-radius: 16px; }
@media (min-width: 560px) { .lines .line { grid-template-columns: 72px 1fr auto 76px; grid-template-areas: "img info step total"; } }
.line + .line { border-top: 1px dashed var(--line); }
.line__img { grid-area: img; display: block; width: 64px; height: 64px; border-radius: 14px; overflow: hidden; background: color-mix(in srgb, var(--c, #FF4F8B) 10%, #fff); }
@media (min-width: 560px) { .lines .line__img { width: 72px; height: 72px; } }
.line__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.line__info { grid-area: info; display: grid; gap: 2px; min-width: 0; }
.line__name { font-weight: 800; text-decoration: none; line-height: 1.25; }
.line__name:hover { text-decoration: underline; }
.line__meta { color: var(--muted); font-size: .84rem; font-weight: 700; }
.line .stepper { grid-area: step; justify-self: start; height: 34px; box-shadow: none; background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.line .stepper button { width: 32px; }
.line .stepper button:hover { background: var(--line-2); }
.line__total { grid-area: total; text-align: right; font-family: var(--display); font-size: 1.1rem; }
.line__qty { grid-area: step; font-weight: 800; color: var(--muted); }
.line.is-busy { opacity: .55; pointer-events: none; }
.sumline { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); font-weight: 700; }
.sumline b { color: var(--ink); }
.sumline--total { font-size: 1.15rem; color: var(--ink); padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; }
.sumline--total b { font-family: var(--display); font-size: 1.45rem; }
.sumline .free { color: #0E8C75; }

/* ---------- Barre "Finaliser ma commande" ---------- */
.checkout-bar {
  position: fixed; z-index: 50; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 999px; background: var(--ink); color: #fff;
  box-shadow: 0 18px 40px -12px rgba(31, 21, 52, .6); animation: barIn .45s var(--ease);
}
@media (min-width: 768px) { .checkout-bar { left: auto; right: 24px; bottom: 24px; } }
.checkout-bar__info { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; padding: 0 8px 0 4px; border: 0; background: none; color: #fff; font-weight: 700; font-size: .92rem; white-space: nowrap; }
.checkout-bar__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .12); flex: none; }
.checkout-bar .btn { min-height: 44px; padding: 0 18px; font-size: .92rem; box-shadow: none; }
@media (max-width: 400px) { .checkout-bar .btn { padding: 0 14px; } .checkout-bar__icon { display: none; } }
@keyframes barIn { from { transform: translateY(120%); opacity: 0; } }
body.drawer-open .checkout-bar { display: none; }

/* ---------- Toasts ---------- */
.toasts { position: fixed; z-index: 90; top: calc(var(--header-h) + 10px); right: 12px; left: 12px; display: grid; gap: 8px; justify-items: end; pointer-events: none; }
.toast {
  pointer-events: auto; display: flex; align-items: center; gap: 12px; max-width: 380px; width: 100%; padding: 10px 12px 10px 10px;
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); font-weight: 700; font-size: .92rem;
  animation: toastIn .4s var(--ease);
}
.toast.is-leaving { animation: toastOut .3s var(--ease) forwards; }
.toast img { width: 46px; height: 46px; border-radius: 12px; object-fit: contain; background: var(--line-2); mix-blend-mode: multiply; }
.toast__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none; background: #E8FAF6; color: #0E8C75; }
.toast--error { border-color: #FAD0D2; }
.toast--error .toast__icon { background: #FDECEC; color: var(--red); }
.toast__msg { flex: 1; line-height: 1.3; }
.toast__msg small { display: block; color: var(--muted); font-weight: 700; }
.toast a { color: var(--pink-d); font-weight: 900; white-space: nowrap; text-decoration: none; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px) scale(.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(30px); } }
.fly { position: fixed; z-index: 95; width: 70px; height: 70px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); pointer-events: none; padding: 4px; transition: transform .7s cubic-bezier(.5, -0.3, .7, 1), opacity .7s; }
.fly img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Commande ---------- */
.progress-steps { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-weight: 800; color: var(--muted); font-size: .88rem; white-space: nowrap; }
.progress-steps li { display: inline-flex; align-items: center; gap: 8px; }
.progress-steps span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--line); color: var(--ink-2); font-size: .8rem; }
.progress-steps .is-done span { background: var(--mint); color: #fff; }
.progress-steps .is-current { color: var(--ink); }
.progress-steps .is-current span { background: var(--pink); color: #fff; }
.section--checkout { padding-top: 8px; }
.checkout { display: grid; gap: 18px; align-items: start; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .checkout { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; } .checkout__form { position: sticky; top: calc(var(--header-h) + 16px); } }
.checkout__alert { grid-column: 1 / -1; }
.card { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 18px; display: grid; gap: 14px; }
@media (min-width: 640px) { .card { padding: 26px; } }
.card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card__head h2 { font-size: 1.35rem; }
.field-row { display: grid; gap: 14px; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 800; font-size: .92rem; }
.field label small { color: var(--muted); font-weight: 700; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg);
  font-weight: 700; transition: border-color .2s, box-shadow .2s, background .2s; resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background: #fff; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124, 92, 255, .14); }
.field [aria-invalid="true"] { border-color: var(--red); background: #FFF6F6; }
.field__error { color: var(--red); font-weight: 800; font-size: .86rem; }
.pay-box { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 16px; background: #FFF8E1; border: 1.5px dashed #F2C94C; }
.pay-box__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--yellow); flex: none; }
.pay-box b { display: block; }
.pay-box span { color: var(--ink-2); font-size: .92rem; }
.summary { display: grid; gap: 8px; padding: 6px 0; }
.checkout__legal { color: var(--muted); font-size: .84rem; text-align: center; }
.checkout__legal a { color: inherit; }
.alert { padding: 14px 18px; border-radius: 14px; font-weight: 800; }
.alert--error { background: #FDECEC; color: #A61B20; border: 1px solid #F6C6C8; }
.alert--warn { background: #FFF6DB; color: #7A5300; border: 1px solid #F4DE9C; }
.alert--ok { background: #E8FAF6; color: #0B6E5C; border: 1px solid #B6EDE0; }

/* ---------- Confirmation ---------- */
.thanks { position: relative; overflow: hidden; padding: 50px 0 20px; text-align: center; }
.thanks__inner { position: relative; display: grid; justify-items: center; gap: 14px; }
.thanks__icon { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 28px; background: var(--mint); color: #fff; transform: rotate(-8deg); box-shadow: 0 8px 0 #0E9C83; animation: pop .6s var(--ease); }
@keyframes pop { from { transform: scale(.3) rotate(-30deg); opacity: 0; } }
.thanks__title { font-size: clamp(2rem, 6vw, 3.4rem); }
.thanks__lead { max-width: 560px; font-size: 1.1rem; color: var(--ink-2); }
.thanks__steps { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 12px; text-align: left; width: 100%; max-width: 860px; }
@media (min-width: 760px) { .thanks__steps { grid-template-columns: repeat(3, 1fr); } }
.thanks__steps li { display: flex; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; color: var(--ink-2); font-size: .94rem; }
.thanks__steps li b { display: block; color: var(--ink); }
.thanks__steps li > span { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: #FFE3EE; color: var(--pink-d); }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; top: -20px; left: calc(var(--k) * 4.2%); width: 10px; height: 16px; border-radius: 3px; opacity: 0;
  background: hsl(calc(var(--k) * 47deg) 90% 62%); animation: confetti 2.8s calc(var(--k) * .07s) ease-in forwards; }
@keyframes confetti { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(420px) rotate(calc(var(--k) * 80deg)); } }
.address-box { display: flex; gap: 12px; padding: 16px; border-radius: 16px; background: var(--bg); color: var(--ink-2); }
.address-box svg { color: var(--pink); flex: none; }

/* ---------- 404 / indisponible ---------- */
.notfound { padding: 60px 0 20px; text-align: center; }
.notfound__inner { display: grid; justify-items: center; gap: 16px; }
.notfound h1 { font-size: clamp(1.8rem, 5vw, 3rem); max-width: 760px; }
.notfound p { color: var(--ink-2); max-width: 560px; font-size: 1.08rem; }
.notfound__emoji { font-size: 3.6rem; }
.notfound__big { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: clamp(5rem, 18vw, 9rem); font-weight: 700; line-height: 1; color: var(--pink); }
.notfound__hole { width: .7em; height: .7em; border-radius: 50%; background: var(--yellow); box-shadow: inset 0 -10px 0 rgba(0, 0, 0, .08); animation: float 4s ease-in-out infinite; --r: 0deg; }

/* ---------- Pages info ---------- */
.info-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); margin-bottom: 34px; }
.info-card { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-decoration: none; }
.info-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #fff; background: var(--c); transform: rotate(-6deg); margin-bottom: 6px; }
.info-card h2 { font-size: 1.2rem; }
.info-card p { color: var(--ink-2); }
.info-card--link { transition: transform .25s var(--ease); }
.info-card--link:hover { transform: translateY(-4px); }
.cta-box { margin-top: 44px; padding: 34px 26px; border-radius: var(--r-xl); text-align: center; display: grid; justify-items: center; gap: 12px; color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--violet)); box-shadow: var(--shadow); }
.cta-box h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.cta-box p { opacity: .9; }
.cta-box .btn--primary { --b: #fff; --t: var(--ink); --s: rgba(0, 0, 0, .2); }
.toc { margin-bottom: 30px; gap: 6px; }
.toc a { color: var(--pink-d); font-weight: 800; text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.guide-themes { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.guide-theme { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: center; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-decoration: none !important; }
.guide-theme b { color: var(--ink); }
.guide-theme span:last-child { grid-column: 2; font-size: .88rem; color: var(--muted); font-weight: 700; }

/* ---------- Engagements & pied de page ---------- */
.perks { background: #fff; border-top: 1px solid var(--line); }
.perks__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 12px; padding-block: 26px; }
@media (min-width: 900px) { .perks__grid { grid-template-columns: repeat(4, 1fr); } }
.perk { display: flex; align-items: center; gap: 12px; }
.perk b { display: block; font-size: .96rem; }
.perk span:not(.perk__icon) { color: var(--muted); font-size: .84rem; font-weight: 700; }
.perk__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 15px; color: #fff; background: var(--c); }
.footer { background: var(--ink); color: rgba(255, 255, 255, .75); padding: 50px 0 calc(90px + env(safe-area-inset-bottom)); font-size: .95rem; }
@media (min-width: 768px) { .footer { padding-bottom: 40px; } }
.footer__grid { display: grid; gap: 30px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer__brand { grid-column: 1 / -1; display: grid; gap: 14px; align-content: start; max-width: 380px; }
@media (min-width: 900px) { .footer__brand { grid-column: auto; } }
.footer__grid > div { display: grid; gap: 9px; align-content: start; }
.footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__title { font-family: var(--display); color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: 4px; }
.footer__social { display: flex; gap: 8px; }
.footer__social a:hover { text-decoration: none; }
.footer__ar { margin-top: 10px; font-size: .9rem; line-height: 1.7; color: rgba(255, 255, 255, .6); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; color: rgba(255, 255, 255, .5); }

@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .announce__track { animation: none; }
}
