/* ════════════════════════════════════════════════════════════
   LANDING PUBLIQUE — zbm.web.app
   ════════════════════════════════════════════════════════════ */

body {
  overflow-x: hidden;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ───────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 243, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--zbm-ligne);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-logo {
  height: 36px;
  width: 36px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  color: var(--zbm-encre-soft);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--zbm-encre-soft);
}
.nav-links a:hover {
  color: var(--zbm-encre);
}
.nav-cta {
  background: var(--zbm-orange);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 700 !important;
  font-size: 14px !important;
  box-shadow: var(--shadow-lift);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--zbm-encre);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.2s;
}
.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-visual {
  position: relative;
  padding-right: 8px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--zbm-vert-light);
  color: var(--zbm-vert-dark);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 6px 12px;
  border-radius: 99px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--zbm-vert);
}
h1.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4.6vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
h1.hero-title em {
  font-style: normal;
  color: var(--zbm-orange);
}
.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--zbm-encre-soft);
  max-width: 480px;
  margin: 0 0 28px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 10px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--zbm-orange);
  color: #fff;
  box-shadow: var(--shadow-lift);
}
.btn-primary:hover {
  box-shadow: 0 8px 20px -6px rgba(255, 105, 0, 0.4);
}
.btn-ghost {
  background: #fff;
  color: var(--zbm-encre);
  border-color: var(--zbm-ligne);
}
.btn-ghost:hover {
  border-color: var(--zbm-encre-soft);
}
.btn-wa {
  background: #1f8a3d;
  color: #fff;
}

.hero-meta {
  display: flex;
  gap: 22px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.hero-meta div {
  font-size: 13px;
  color: var(--zbm-encre-soft);
}
.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--zbm-encre);
  font-weight: 800;
}

/* Signature visuelle : carte/reçu de licence stylisée */
.ticket {
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 28px 26px 26px;
  font-family: var(--font-mono);
  transform: rotate(1.4deg);
  border: 1px solid var(--zbm-ligne);
}
.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  background: var(--zbm-papier-warm);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
.ticket::before {
  left: -13px;
}
.ticket::after {
  right: -13px;
}
.ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1.5px dashed var(--zbm-ligne);
  padding-bottom: 14px;
  margin-bottom: 14px;
  font-family: var(--font-body);
}
.ticket-head .tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--zbm-encre-soft);
  text-transform: uppercase;
}
.ticket-head .stamp {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 11px;
  color: var(--zbm-vert);
  border: 1.5px solid var(--zbm-vert);
  padding: 3px 9px;
  border-radius: 99px;
  transform: rotate(-6deg);
}
.ticket-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 7px 0;
  color: var(--zbm-encre-soft);
}
.ticket-row b {
  color: var(--zbm-encre);
  font-weight: 600;
}
.ticket-key {
  margin-top: 14px;
  text-align: center;
  background: var(--zbm-encre);
  color: #fff;
  padding: 14px;
  border-radius: 10px;
  font-size: 16px;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.ticket-bars {
  height: 30px;
  margin-top: 14px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--zbm-encre) 0 2px,
    transparent 2px 5px
  );
  opacity: 0.85;
}
.ticket-float {
  position: absolute;
  bottom: -16px;
  right: 6px;
  background: var(--zbm-orange);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12.5px;
  padding: 8px 14px;
  border-radius: 10px;
  box-shadow: var(--shadow-lift);
  transform: rotate(-2deg);
  max-width: calc(100% - 24px);
}

/* ── Sections génériques ──────────────────────────────────── */
section {
  padding: 64px 0;
}
.section-head {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 42px;
}
.section-tag {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--zbm-orange);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.section-sub {
  color: var(--zbm-encre-soft);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ── Comment activer (étapes) ─────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step-card {
  background: #fff;
  border: 1px solid var(--zbm-ligne);
  border-radius: 14px;
  padding: 22px 20px;
  position: relative;
}
.step-num {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--zbm-encre);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 14px;
}
.step-card h3 {
  font-family: var(--font-display);
  font-size: 15.5px;
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}
.step-card p {
  font-size: 13.6px;
  color: var(--zbm-encre-soft);
  line-height: 1.55;
  margin: 0;
}
.step-card code {
  display: block;
  margin-top: 10px;
  background: var(--zbm-papier);
  border: 1px solid var(--zbm-ligne);
  border-radius: 7px;
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--zbm-vert-dark);
  word-break: break-all;
}
.step-arrow {
  display: none;
}

/* ── Cartes produits (2 colonnes desktop, Shop Manager pleine largeur) ─ */
.product-cards {
  grid-template-columns: repeat(2, 1fr) !important;
  max-width: 640px !important;
  margin: 0 auto !important;
}

/* ── Carte Shop Manager (style premium) ────────────────── */
.shop-card {
  grid-column: span 2;
  overflow: hidden;
  padding: 0 !important;
  border: 2px solid var(--zbm-orange) !important;
  background: #fff;
  position: relative;
}
.shop-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: var(--zbm-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 99px;
  box-shadow: 0 2px 8px rgba(255, 105, 0, 0.35);
}
.shop-preview {
  line-height: 0;
  background: #f0f4ff;
}
.shop-preview img {
  object-fit: cover;
  aspect-ratio: 16/9;
}
.shop-body {
  padding: 20px 22px 24px;
}
.shop-body h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  color: var(--zbm-encre);
}
.shop-subtitle {
  font-size: 13px;
  color: var(--zbm-encre-soft);
  line-height: 1.55;
  margin: 0 0 16px;
}
.shop-features {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.shop-features li {
  font-size: 12px;
  color: var(--zbm-encre);
  line-height: 1.4;
}
.shop-pricing {
  background: #fef9f5;
  border-radius: 10px;
  padding: 14px 16px;
  border: 1px dashed var(--zbm-orange);
}
.shop-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.shop-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--zbm-orange);
}
.shop-period {
  font-size: 12.5px;
  color: var(--zbm-encre-soft);
}
.shop-price-hint {
  margin: 4px 0 0;
  font-size: 11.5px;
  color: var(--zbm-encre-soft);
}

/* ── Plans ─────────────────────────────────────────────────── */
.plan-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 38px;
}
.pricing-card {
  background: #fff;
  border: 1px solid var(--zbm-ligne);
  border-radius: 16px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 380px;
  margin: 0 auto;
}
.pricing-card .badge-trial {
  align-self: flex-start;
  background: var(--zbm-vert-light);
  color: var(--zbm-vert-dark);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 99px;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.price-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -0.02em;
}
.price-unit {
  color: var(--zbm-encre-soft);
  font-size: 14px;
}
.price-strike {
  text-decoration: line-through;
  color: var(--zbm-encre-soft);
  font-size: 14px;
}
.price-save {
  color: var(--zbm-vert-dark);
  font-weight: 700;
  font-size: 13.5px;
}
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--zbm-encre);
}
.feature-list svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Vérifier licence ──────────────────────────────────────── */
.checker {
  background: var(--zbm-encre);
  border-radius: 20px;
  padding: 46px 40px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.checker h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.checker p {
  color: #c9c5bc;
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 22px;
}
.check-form {
  display: flex;
  gap: 10px;
}
.check-form input {
  flex: 1;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid #3a3a38;
  background: #262624;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 14px;
}
.check-form input::placeholder {
  color: #85827b;
}
.check-form button {
  background: var(--zbm-orange);
  border: none;
  color: #fff;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
}
#checkResult {
  margin-top: 14px;
  font-size: 13.5px;
  min-height: 20px;
}
.result-ok {
  color: #7cd992;
}
.result-bad {
  color: #f2a08a;
}

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--zbm-ligne);
  padding: 18px 0;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
}
.faq-a {
  color: var(--zbm-encre-soft);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 10px;
  display: none;
}
.faq-item.open .faq-a {
  display: block;
}
.faq-item.open .faq-q svg {
  transform: rotate(45deg);
}
.faq-q svg {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

/* ── Footer ────────────────────────────────────────────────── */
footer {
  background: var(--zbm-encre);
  color: #b9b6ae;
  padding: 48px 0 28px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #33312e;
}
footer h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 13.5px;
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
footer a {
  text-decoration: none;
  color: #b9b6ae;
  font-size: 13.6px;
}
footer a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 10px;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-cards {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 100% !important;
  }
  .shop-card {
    grid-column: span 2;
  }
  .checker {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--zbm-papier-warm);
    flex-direction: column;
    padding: 20px 24px;
    gap: 14px;
    border-bottom: 1px solid var(--zbm-ligne);
    box-shadow: var(--shadow-card);
  }
  .nav-links.show {
    display: flex;
  }
  .ticket {
    transform: none;
  }
  .ticket::before,
  .ticket::after {
    display: none;
  }
  section {
    overflow: hidden;
  }
}
@media (max-width: 560px) {
  .steps,
  .product-cards {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }
  .shop-card {
    grid-column: span 1;
  }
  .shop-features {
    grid-template-columns: 1fr;
  }
  .check-form {
    flex-direction: column;
    gap: 12px;
  }
  .check-form button {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 40px 0 36px;
  }
  .hero-title {
    font-size: 28px !important;
  }
  .hero-sub {
    font-size: 15px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-meta {
    gap: 14px;
  }
  section {
    padding: 40px 0;
  }
}
