/* Page ZePixBox — habillage isole, ne touche pas au reste de la boutique */

body:has(.zpb) { overflow-x: hidden; }
body:has(.zpb) nav.breadcrumb,
body:has(.zpb) .breadcrumb { display: none; }

.zpb {
  --ink: #090b10;
  --ink-2: #141824;
  --paper: #f4f0e7;
  --paper-2: #fffdf8;
  --pink: #ff2d8a;
  --cyan: #14d8f5;
  --lime: #3dff6e;
  --muted: #8b907f;
  --line: rgba(255, 255, 255, 0.12);
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: var(--ink);
  color: #f7f4ee;
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.45;
  overflow: hidden;
}
.zpb *,
.zpb *::before,
.zpb *::after { box-sizing: border-box; }
.zpb img { max-width: none; }
.zpb a { color: inherit; }
.zpb h1,
.zpb h2,
.zpb h3,
.zpb p { margin: 0; }
.zpb h1,
.zpb h2,
.zpb .zpb-display {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 0.96;
}

.zpb-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* Bande signature logo */
.zpb-stripe {
  height: 7px;
  background: linear-gradient(90deg, var(--pink) 0 34%, var(--cyan) 34% 67%, var(--lime) 67% 100%);
}

/* Hero */
.zpb-hero {
  padding: 54px 0 28px;
}
.zpb-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: end;
}
.zpb-logo {
  width: 92px;
  height: auto;
  display: block;
  margin-bottom: 22px;
}
.zpb-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.zpb-kicker i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  display: block;
}
.zpb h1 {
  font-size: clamp(46px, 6.4vw, 86px);
  color: #fff;
  max-width: 11ch;
}
.zpb-lead {
  margin-top: 18px;
  max-width: 46ch;
  font-size: 18px;
  color: #d9d4c8;
}
.zpb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.zpb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  color: #fff;
}
.zpb-btn-pink { background: var(--pink); color: #fff; }
.zpb-btn-pink:hover { filter: brightness(1.06); }
.zpb-btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.zpb-btn-ghost:hover { border-color: #fff; }
.zpb-btn-dark { background: var(--ink); color: #fff; }
.zpb-btn-dark:hover { background: #000; }
.zpb-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  color: #b7b2a6;
  font-size: 14px;
}
.zpb-facts li { display: flex; align-items: center; gap: 8px; }
.zpb-facts li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}

.zpb-hero-side {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 22px 18px;
}
.zpb-hero-side strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 28px;
  font-weight: 560;
  letter-spacing: -0.03em;
  margin: 8px 0 6px;
}
.zpb-hero-side p { color: #c9c3b6; font-size: 15px; }
.zpb-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.zpb-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  color: #eeeae2;
}

/* Bande de tirages */
.zpb-marquee {
  margin-top: 36px;
  padding: 8px 0 42px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.zpb-track {
  display: flex;
  width: max-content;
  animation: zpb-run 90s linear infinite;
}
.zpb-marquee:hover .zpb-track { animation-play-state: paused; }
.zpb-set {
  display: flex;
  gap: 14px;
  padding-right: 14px;
}
.zpb-set img {
  height: 390px !important;
  width: auto !important;
  max-width: none !important;
  border-radius: 8px;
  display: block;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
@keyframes zpb-run { to { transform: translateX(-50%); } }

/* Ils nous ont fait confiance */
.zpb-trust {
  padding: 6px 0 54px;
  text-align: center;
}
.zpb-trust p {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}
.zpb-trust ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 26px;
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
  padding: 0;
}
.zpb-trust li {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: #f6f3ec;
}
.zpb-trust li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 10px 2px 0;
  border-radius: 50%;
  background: var(--pink);
  vertical-align: middle;
}

/* Sections */
.zpb-block { padding: 72px 0; }
.zpb-block h2 {
  font-size: clamp(36px, 5vw, 64px);
  max-width: 16ch;
  color: #fff;
}
.zpb-sub {
  margin-top: 12px;
  max-width: 48ch;
  color: #cfcabb;
  font-size: 17px;
}

.zpb-machine {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  margin-top: 28px;
}
.zpb-machine img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  border-radius: 18px;
  display: block;
  background: #fff;
}
.zpb-steps { display: grid; gap: 14px; }
.zpb-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.zpb-num {
  font-family: "Fraunces", Georgia, serif;
  font-size: 28px;
  color: var(--pink);
  line-height: 1;
}
.zpb-step h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.zpb-step p { color: #c9c3b6; font-size: 15px; }

/* Formules */
.zpb-prices {
  background: var(--paper);
  color: #17160f;
}
.zpb-prices h2,
.zpb-book h2 { color: #17160f; }
.zpb-prices .zpb-sub,
.zpb-book .zpb-sub { color: #4e4a42; }
.zpb-grid3 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 0.95fr;
  gap: 14px;
  margin-top: 28px;
  align-items: stretch;
}
.zpb-card {
  background: var(--paper-2);
  border-radius: 22px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(40, 30, 10, 0.04);
}
.zpb-card-hot {
  background: #fff;
  outline: 2px solid var(--pink);
  transform: translateY(-8px);
}
.zpb-card-top {
  border-radius: 14px;
  padding: 14px 14px 12px;
  color: #fff;
  min-height: 108px;
}
.zpb-card-top small { display: block; opacity: .9; font-size: 13px; margin-top: 4px; }
.zpb-card-top b { font-size: 18px; letter-spacing: .02em; }
.zpb-hot { background: var(--pink); }
.zpb-eco { background: #14c2e0; color: #062027; }
.zpb-digi { background: #2ee56a; color: #06210f; }
.zpb-badge {
  display: inline-block;
  margin-top: 8px;
  background: #111;
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 3px 8px;
}
.zpb-price {
  font-family: "Fraunces", Georgia, serif;
  font-size: 68px;
  letter-spacing: -0.04em;
  line-height: .9;
  margin: 16px 0 4px;
}
.zpb-price span { font-size: 28px; }
.zpb-card ul {
  list-style: none;
  padding: 8px 0 0;
  margin: 0 0 16px;
  flex: 1;
}
.zpb-card li {
  padding: 7px 0;
  border-bottom: 1px dashed rgba(0,0,0,.12);
  font-size: 14px;
}
.zpb-card .zpb-btn { width: 100%; }

/* Galerie : meme bande defilante que le haut, cliquable */
.zpb-shot {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  flex: 0 0 auto;
}
.zpb-shot img {
  height: 390px !important;
  width: auto !important;
  max-width: none !important;
}

dialog.zpb-light {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  z-index: 80;
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(480px, 92vw);
  max-height: 92vh;
  overflow: visible;
}
.zpb-light::backdrop { background: rgba(0, 0, 0, .82); }
.zpb-light img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  border-radius: 10px;
  display: block;
}
.zpb-light-x {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  padding: 8px 12px;
  cursor: pointer;
}

/* Reservation */
.zpb-book { background: var(--paper); color: #17160f; }
.zpb-book-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: start;
}
.zpb-form {
  background: #fff;
  border-radius: 22px;
  padding: 22px;
  display: grid;
  gap: 12px;
  box-shadow: 0 16px 40px rgba(40, 30, 10, 0.06);
}
.zpb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.zpb-field { display: flex; flex-direction: column; gap: 6px; }
.zpb-field span { font-size: 13px; font-weight: 700; }
.zpb-field input,
.zpb-field select,
.zpb-field textarea {
  width: 100%;
  border: 1px solid #e4dfd4;
  background: #fbfaf6;
  border-radius: 12px;
  padding: 12px 12px;
  font: inherit;
  font-size: 15px;
  color: #17160f;
}
.zpb-field textarea { min-height: 90px; resize: vertical; }
.zpb-field input:focus,
.zpb-field select:focus,
.zpb-field textarea:focus {
  outline: 2px solid var(--pink);
  border-color: transparent;
  background: #fff;
}
.zpb-field .bad { border-color: #d21b4a !important; }
.zpb-form .zpb-btn { width: 100%; margin-top: 4px; }
.zpb-note {
  display: none;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
}
.zpb-note.show { display: block; }
.zpb-note.ok { background: #e8f8ee; color: #0d5c32; }
.zpb-note.err { background: #fdecef; color: #8d1233; }
.zpb-contact { margin-top: 18px; font-size: 15px; }
.zpb-contact a { color: var(--pink); font-weight: 700; }

.zpb-bar {
  display: none;
}

@media (max-width: 900px) {
  .zpb-hero-grid,
  .zpb-machine,
  .zpb-book-grid,
  .zpb-grid3,
  .zpb-row { grid-template-columns: 1fr; }
  .zpb-card-hot { transform: none; }
  .zpb-set img,
  .zpb-shot img { height: 260px !important; }
  .zpb-hero { padding-top: 28px; }
  .zpb-block { padding: 48px 0; }
  .zpb { padding-bottom: 74px; }
  .zpb-bar {
    display: flex;
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 40;
    gap: 8px;
    background: rgba(9, 11, 16, .92);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 8px;
  }
  .zpb-bar .zpb-btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .zpb-track { animation: none; }
}
