/* Maddison Électronique — affiche vitrine magasin
   Chargé uniquement par page-magasin.php. Inter auto-hébergé.
   Pas de boutique-clone, pas de grille 8 produits, pas de CDN Google Fonts. */

@font-face {
  font-family: Inter;
  src: url("fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --red: #e10600;
  --gold: #ffd54a;
  --ink: #f7f4ea;
  --mute: #c9c2b0;
  --tap: 3.2rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  min-height: 100%;
  min-height: 100dvh;
}

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #05070c;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.poster-photo {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  z-index: 0;
}

.poster-veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(5, 7, 12, 0.55) 0%,
      rgba(5, 7, 12, 0.72) 28%,
      rgba(5, 7, 12, 0.88) 62%,
      rgba(5, 7, 12, 0.96) 100%);
}

.poster {
  position: relative;
  z-index: 2;
  max-width: 28rem;
  margin: 0 auto;
  min-height: 100dvh;
  padding: calc(1rem + env(safe-area-inset-top)) 1.25rem calc(1.4rem + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

/* ---------- masthead ---------- */
.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mast img {
  height: 36px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.mast-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- FRANCO 99$ (the window poster) ---------- */
.franco {
  text-align: center;
  padding: 0.4rem 0 0.2rem;
}

.franco-kicker {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
}

.franco-amt {
  font-size: clamp(5.4rem, 28vw, 7.4rem);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.07em;
  margin: 0.12em 0 0.08em;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}

.franco-zone {
  font-size: clamp(1.35rem, 5.4vw, 1.7rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.franco-line {
  margin-top: 0.55rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--mute);
  letter-spacing: 0.01em;
}

/* ---------- 3–4 deals, rows not a shop grid ---------- */
.deals h1 {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.deals ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.deal {
  display: grid;
  grid-template-columns: 4.4rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
  min-height: 4.6rem;
  padding: 0.45rem 0.7rem 0.45rem 0.45rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.deal img {
  width: 4.4rem;
  height: 4.4rem;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 0.25rem;
}

.deal-label {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.18rem;
}

.deal-name {
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.22;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #f3efe4;
}

.deal-price {
  text-align: right;
  white-space: nowrap;
}

.deal-price del {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(243, 239, 228, 0.45);
  text-decoration: line-through;
}

.deal-price strong {
  display: block;
  font-size: clamp(1.45rem, 5.6vw, 1.85rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
}

/* ---------- CTAs only ---------- */
.ctas {
  display: grid;
  gap: 0.55rem;
  margin-top: auto;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  text-align: center;
  border: 2px solid transparent;
}

.btn-call {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 28px rgba(225, 6, 0, 0.38);
}

.btn-go {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}

.btn:active { transform: scale(0.985); }

.pin {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(243, 239, 228, 0.55);
  letter-spacing: 0.02em;
}

@media (min-width: 720px) {
  .poster {
    max-width: 34rem;
    gap: 1.6rem;
    padding-top: calc(1.4rem + env(safe-area-inset-top));
  }
  .franco-amt { font-size: 8rem; }
  .deal { grid-template-columns: 5rem 1fr auto; }
  .deal img { width: 5rem; height: 5rem; }
}
