/* Polices hébergées sur le site (sous-ensemble latin, licence SIL OFL) : aucune requête vers Google,
   donc pas d'adresse IP des visiteurs transmise (politique de confidentialité, 23/10/2026). */
@font-face {
  font-family: "Bungee";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/bungee.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Silkscreen";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/silkscreen-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Silkscreen";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/silkscreen-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/work-sans-variable.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/work-sans-variable.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/work-sans-variable.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/work-sans-variable.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Direction « mur » : enduit blanc cassé, logo tamponné dessus, box collées
   au mur. Pour changer la teinte du mur, regénérer images/mur-blanc.jpg
   (outil enduit.py) et --mur. */
:root {
  --rouge: #C8321F;
  --rouge-texte: #A8291A; /* rouge des petits textes sur fond clair : contraste ≥ 4,5:1 (WCAG AA) */
  --beurre: #F4B41A;
  --creme: #FFF9EE;
  --creme-fonce: #EADFCB;
  --encre: #24160F;
  --brun-doux: #4A382C;
  --mur: #EDE7DA;
  --radius: 16px;
  --ombre-dure: 5px 5px 0 var(--encre);
  --ombre-accroche: 0 2px 3px rgba(0, 0, 0, .25), 8px 18px 28px rgba(0, 0, 0, .32);
  --titre: "Bungee", "Arial Black", system-ui, sans-serif;
  --texte: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pixel: "Silkscreen", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--mur);
  background-image: url("images/mur-blanc.jpg");
  background-size: 800px 800px; /* tuile 1600 px : nette en Retina */
  color: var(--encre);
  font-family: var(--texte);
  font-size: 17px;
  line-height: 1.55;
}

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

h1, h2, h3 {
  font-family: var(--titre);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: .3px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.pixel-text {
  font-family: var(--pixel);
  font-size: .8rem;
  letter-spacing: .5px;
}

/* Bandeau d'annonce */
.announce {
  color: var(--beurre);
  font-family: var(--pixel);
  font-size: .78rem;
  text-align: center;
  padding: 9px 16px;
}

/* Bandeau du code de lancement (cart.js, jusqu'au 03/12) */
.promo-bandeau {
  background: var(--rouge);
  color: var(--creme);
  font-family: var(--pixel);
  font-size: .78rem;
  text-align: center;
  padding: 9px 16px;
  border-bottom: 3px solid var(--encre);
}
.promo-bandeau strong { background: var(--beurre); color: var(--encre); padding: 1px 6px; letter-spacing: .04em; }

/* En-tête */
.site-header {
  position: relative;
  z-index: 20;
}


.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 20px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo { display: flex; align-items: center; }
/* Logo : tampon ovale imprimé sur le mur (l'encre manque dans les creux de l'enduit). */
.logo img { height: clamp(140px, 15vw, 210px); width: auto; margin: -6px 0 -18px -16px; }

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-weight: 600;
}

.nav a {
  padding: 6px 2px;
  border-bottom: 3px solid transparent;
}

.nav a:hover, .nav a.active { border-bottom-color: var(--beurre); }

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  background: var(--beurre);
  color: var(--encre);
  padding: 8px 16px;
  border: 3px solid var(--encre);
  border-radius: 14px;
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--encre);
}

.cart-count {
  background: var(--encre);
  color: var(--creme);
  border-radius: 8px;
  padding: 1px 8px;
  font-family: var(--pixel);
  font-size: .75rem;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border: 3px solid var(--encre);
  border-radius: 14px;
  font-family: var(--titre);
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--encre);
  transition: transform .12s ease, box-shadow .12s ease;
}

.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--encre); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--encre); }
.btn-primary { background: var(--rouge); color: var(--creme); }
.btn-secondary { background: var(--creme); color: var(--encre); }
.btn-jaune { background: var(--beurre); color: var(--encre); }
.btn-block { width: 100%; }

.btn[disabled] {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

/* Accueil : hero */
.hero { padding: 40px 0 80px; }

.hero .container {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}

.hero-text {
  flex: 0 1 440px;
  min-width: 0;
}

.hero h1 {
  font-size: clamp(2.8rem, 6.5vw, 5.3rem);
  margin: 0 0 22px;
  text-shadow: 4px 4px 0 var(--encre);
}

.hero h1 span, h2 .accent { color: var(--beurre); }

.hero p.lead {
  font-size: 1.25rem;
  max-width: 36ch;
  margin: 0 0 28px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 26px;
  font-family: var(--pixel);
  font-size: .82rem;
  color: var(--brun-doux);
}

.hero-wall {
  flex: 1 1 600px;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 28px;
  padding-top: 20px;
}

/* Une box accrochée au mur : clou + ombre portée */
.hung {
  position: relative;
  flex: 0 1 auto;
}

.hung img {
  border-radius: 4px;
  box-shadow: var(--ombre-accroche);
}

.hung::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 9px;
  height: 9px;
  margin-left: -4px;
  border-radius: 50%;
  background: #8F8577;
  box-shadow: 1px 2px 2px rgba(0, 0, 0, .45);
}

.hung-main img { width: 360px; aspect-ratio: 1; object-fit: cover; }
.hung-small { margin-top: 140px; }
.hung-small img { width: 170px; aspect-ratio: 1; object-fit: cover; }

/* Box collées directement sur le mur, à l'échelle réelle l'une par rapport à l'autre (environ 9,5 px par cm) */
.hero-wall:has(.colle) { align-items: flex-end; gap: 20px; }
.colle { position: relative; display: block; flex: 0 1 auto; min-width: 0; transition: transform .15s ease; }
.colle img { filter: drop-shadow(1px 2px 1.5px rgba(60, 45, 30, .45)) drop-shadow(4px 8px 8px rgba(60, 45, 30, .18)); }
.colle-teckel img { width: 540px; }
.colle-chat img { width: 360px; }
.colle-chat { margin: 0 0 190px -70px; } /* le chat se loge au-dessus de la queue du teckel, sans le toucher */
.colle:hover, .colle:focus-visible { transform: translateY(-3px); }

.price-badge {
  position: absolute;
  right: -14px;
  bottom: -16px;
  background: var(--beurre);
  color: var(--encre);
  border: 3px solid var(--encre);
  border-radius: 12px;
  padding: 6px 12px;
  font-family: var(--titre);
  font-size: 1.05rem;
  transform: rotate(-4deg);
  box-shadow: 3px 3px 0 var(--encre);
}

/* Bandeau défilant */
.marquee {
  background: var(--rouge);
  border-top: 4px solid var(--encre);
  border-bottom: 4px solid var(--encre);
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-block;
  padding: 16px 0;
  font-family: var(--titre);
  font-size: 1.9rem;
  color: var(--creme);
  /* 16 fois la phrase = 2 moitiés identiques de 8 : chaque moitié (~4 900 px) dépasse les écrans 4K,
     donc le bandeau n'est jamais vide (Julie 31/10) ; -50 % retombe pile sur le début de la 2e moitié. */
  animation: defile 224s linear infinite;
}

@keyframes defile { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .btn { transition: none; }
}

/* Sections */
.steps, .section { padding: 80px 0; }

.steps h2, .section-title, .section h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin: 0 0 40px;
  text-shadow: 3px 3px 0 var(--encre);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.step { display: flex; flex-direction: column; gap: 10px; }

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--beurre);
  color: var(--encre);
  border: 3px solid var(--encre);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--titre);
  font-size: 1.6rem;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .15), 3px 3px 0 var(--encre);
}

.step h3 { margin: 4px 0 0; font-size: 1.6rem; }
.step p { margin: 0; color: var(--creme); }

/* Section sombre « au menu » */
.section-dark {
  background: var(--encre);
  border-top: 4px solid var(--encre);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 36px;
}

.section-head h2 { margin: 0; }
.section-head .pixel-text { color: var(--beurre); }

/* Ligne « sachet » sous les 3 étapes */
.steps-pack { text-align: center; font-size: 1.1rem; margin: 32px auto 0; max-width: 640px; }

/* Encadré pré-commande */
.preorder {
  padding: 40px 0 88px;
}

.card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--creme);
  color: var(--encre);
  border: 4px solid var(--encre);
  border-radius: 22px;
  padding: 40px;
  box-shadow: 10px 10px 0 var(--encre);
}

.card .pixel-text { color: var(--rouge); }
.card h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 10px 0 14px; text-shadow: none; }
.card p { margin: 0 0 22px; }

/* Boutique : recherche et filtres */
.search-box { margin-bottom: 20px; }

.search-box input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 3px solid var(--encre);
  border-radius: 14px;
  font: 500 1rem var(--texte);
  background: var(--creme);
  color: var(--encre);
  box-shadow: 4px 4px 0 var(--encre);
}

.search-box input::placeholder { color: #7A6656; }
.search-box input:focus { outline: 3px solid var(--beurre); outline-offset: 2px; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.filters:last-of-type { margin-bottom: 36px; }

.filter-chip {
  padding: 8px 16px;
  border: 3px solid var(--encre);
  border-radius: 12px;
  font-weight: 600;
  font-size: .92rem;
  cursor: pointer;
  background: var(--creme);
  color: var(--encre);
  box-shadow: 2px 2px 0 var(--encre);
}

.filter-chip.active { background: var(--beurre); }

/* Cartes produit */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
  padding-bottom: 24px;
}

.product-card {
  background: var(--creme);
  color: var(--encre);
  border: 3px solid var(--encre);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--encre);
  display: flex;
  flex-direction: column;
  transition: transform .12s ease, box-shadow .12s ease;
}

.product-card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--encre); }

.product-card .thumb {
  aspect-ratio: 1;
  overflow: hidden;
  border-bottom: 3px solid var(--encre);
  background: #EAE5DC;
}

.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-card .info {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.product-card .theme-tag, .theme-tag {
  font-family: var(--pixel);
  font-size: .7rem;
  color: var(--rouge);
}

.product-card h3 { margin: 0; font-size: 1.35rem; }
.product-card .line { font-size: .95rem; line-height: 1.45; color: var(--brun-doux); }
.price-row { margin-top: auto; padding-top: 6px; }
.price { font-weight: 700; font-size: 1.1rem; }

/* Fiche produit */
.product-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding: 40px 0 80px;
  align-items: flex-start;
}

.product-detail > * { flex: 1 1 400px; min-width: 0; }

.product-detail .thumb-large {
  position: relative;
  margin-top: 16px;
}

.product-detail .thumb-large img {
  width: 100%;
  border-radius: 4px;
  box-shadow: var(--ombre-accroche);
}

.product-detail .thumb-large::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 9px;
  height: 9px;
  margin-left: -4px;
  border-radius: 50%;
  background: #8F8577;
  box-shadow: 1px 2px 2px rgba(0, 0, 0, .45);
}

.product-detail .theme-tag { color: var(--beurre); }

.product-detail h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 6px 0 14px;
  text-shadow: 3px 3px 0 var(--encre);
}

.detail-price {
  font-family: var(--titre);
  font-size: 2rem;
  color: var(--beurre);
  text-shadow: 2px 2px 0 var(--encre);
}

.spec-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
  background: var(--creme);
  border: 3px solid var(--encre);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 5px 5px 0 var(--encre);
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  color: var(--encre);
  font-size: .95rem;
}

.spec-list li:not(:last-child) { border-bottom: 2px dashed var(--creme-fonce); }
.spec-list li span:first-child { color: var(--brun-doux); font-weight: 600; }
.spec-list li span:last-child { font-weight: 700; text-align: right; }

.notice {
  background: var(--creme);
  color: var(--encre);
  border-left: 10px solid var(--beurre);
  border: 3px solid var(--encre);
  border-radius: 14px;
  padding: 10px 16px;
  font-size: .92rem;
  margin: 16px 0;
}

.qty-row { margin: 20px 0; }

.qty-control {
  display: inline-flex;
  align-items: stretch;
  border: 3px solid var(--encre);
  border-radius: 14px;
  background: var(--creme);
  overflow: hidden;
  box-shadow: 3px 3px 0 var(--encre);
}

.qty-control button {
  border: none;
  background: var(--beurre);
  color: var(--encre);
  font-size: 1.2rem;
  font-weight: 800;
  width: 46px;
  min-height: 44px;
  cursor: pointer;
}

.qty-control input, #qty-input {
  width: 50px;
  border: none;
  background: transparent;
  color: var(--encre);
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
}

/* Panier */
.cart-page { padding: 24px 24px 80px; }

.cart-page .section-title { margin-top: 24px; }

.cart-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  background: var(--creme);
  color: var(--encre);
  border: 3px solid var(--encre);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 16px;
  box-shadow: 4px 4px 0 var(--encre);
}

.cart-item img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; border: 2px solid var(--encre); }
.cart-item > div:nth-child(2) { flex: 1 1 180px; }

.remove {
  background: none;
  border: none;
  color: var(--rouge);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  min-height: 44px;
}

.cart-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}

.cart-summary .total {
  font-family: var(--titre);
  font-size: 1.8rem;
  text-shadow: 2px 2px 0 var(--encre);
}

#checkout-error { flex-basis: 100%; }

.cart-lines { display: grid; gap: 6px; flex: 1 1 260px; }
.promo-field { display: grid; gap: 4px; font-weight: 700; margin-top: 8px; }
.promo-field input { max-width: 240px; min-height: 44px; padding: 8px 10px; border: 2px solid var(--encre); border-radius: 8px; font: inherit; text-transform: uppercase; }
.cgv-accept { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; font-size: 0.9rem; line-height: 1.4; }
.cgv-accept a { text-decoration: underline; }
.cgv-accept input { width: 20px; height: 20px; flex: none; margin-top: 1px; }

.relay-section {
  margin-top: 32px;
  background: var(--creme);
  color: var(--encre);
  border: 3px solid var(--encre);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 4px 4px 0 var(--encre);
}
.relay-section h2 { margin-top: 0; }
.relay-chosen { font-weight: 700; }

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  font-size: 1.1rem;
}

.empty-state p { margin: 0 0 20px; }

/* Pages légales et résultat de paiement */
.legal-content {
  background: var(--creme);
  color: var(--encre);
  border: 4px solid var(--encre);
  border-radius: 22px;
  padding: 40px;
  box-shadow: 10px 10px 0 var(--encre);
}

.legal-content h1, .legal-content h2 { text-shadow: none; }
.legal-content h1 { font-size: 2.4rem; margin-top: 0; }
.legal-content h2 { font-size: 1.5rem; margin: 32px 0 10px; }
.legal-content a { color: var(--rouge-texte); text-decoration: underline; }
.placeholder { background: var(--beurre); padding: 0 4px; border-radius: 4px; }
.updated { color: var(--brun-doux); font-size: .9rem; }

.result-page {
  max-width: 640px;
  margin: 40px auto 80px;
  text-align: center;
  background: var(--creme);
  color: var(--encre);
  border: 4px solid var(--encre);
  border-radius: 22px;
  padding: 40px;
  box-shadow: 10px 10px 0 var(--encre);
}

.result-page h1 { text-shadow: none; }

/* Pied de page */
.site-footer {
  background: var(--encre);
  color: var(--creme-fonce);
  padding: 40px 0 0;
  font-size: .92rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 28px;
}

.site-footer a { text-decoration: underline; }


.safety {
  flex-basis: 100%;
  border: 2px solid var(--beurre);
  border-radius: 14px;
  padding: 16px 20px;
  line-height: 1.6;
}

.safety strong { color: var(--beurre); }

.footer-brand { font-family: var(--titre); font-size: 1.4rem; color: var(--beurre); }

@media (max-width: 640px) {
  body { font-size: 16px; }
  /* Menu mobile, choix B de Julie (14/11/2026) : logo plus petit et panier sur la même ligne, puis le menu sur UNE
     seule ligne comme sur ordinateur. Depuis le 01/12, menu complet (Accueil compris) sur plusieurs lignes, à la demande de Julie. */
  .logo img { height: 72px; margin: -2px 0 -6px -6px; }
  .site-header .container { flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 10px; padding-bottom: 6px; }
  .site-header .cart-link { order: 2; margin-left: auto; min-height: 40px; padding: 5px 10px; gap: 6px; font-size: .9rem; }
  /* 01/12 : menu plus long (Tuto, Nos commerçants) → il passe sur 2 lignes centrées sur téléphone */
  .nav { order: 3; flex-basis: 100%; flex-wrap: wrap; justify-content: center; gap: 0 12px; font-size: min(.9rem, 3.5vw); line-height: 1.3; white-space: nowrap; }
  .nav a { padding: 3px 1px; }
  .hung-main img { width: 260px; }
  .hung-small { display: none; }
  .hero-wall:has(.colle) { gap: 18px; justify-content: space-between; }
  .colle-teckel img { width: 212px; }
  .colle-chat img { width: 144px; }
  .colle-chat { margin: 0 0 30px 0; }
  .card, .legal-content, .result-page { padding: 26px; }
  .marquee-track { font-size: 1.4rem; }
}


/* Textes sur le mur blanc cassé : encre et rouge (le jaune et la crème y seraient illisibles) */
.hero h1, h1, h2, .step p, .nav a { color: var(--encre); }
h1, h2, .hero h1 { text-shadow: 3px 3px 0 var(--beurre); }
.hero h1 span, h2 .accent { color: var(--rouge); text-shadow: 3px 3px 0 var(--beurre); }
.section-head .pixel-text, .product-detail .theme-tag, .safety strong, .footer-brand { color: var(--rouge); }
.announce { color: var(--rouge-texte); }
.detail-price { color: var(--rouge); text-shadow: 2px 2px 0 var(--encre); }
/* Pages légales : leurs styles intégrés datent du fond sombre ; texte foncé sur la carte crème */
/* Pages légales : tout le texte courant en noir (encre), demande de Julie du 31/10 */
body .legal-content, body .legal-content .preamble, body .legal-content p, body .legal-content li,
body .legal-content td, body .legal-content th, body .legal-content strong, body .legal-content em,
body .legal-content label, body .legal-content span { color: var(--encre); }
body .legal-content h2 { color: var(--rouge); }
body .legal-content h3 { color: var(--encre); }
body .legal-content .placeholder { color: var(--encre); }
body .legal-content .updated { color: var(--encre); }
body .legal-content { padding: 40px; }
@media (max-width: 640px) { body .legal-content { padding: 22px; } }

/* Boutique : tous les filtres de collection visibles, ils passent à la ligne si besoin (demande Julie 02/11) */
.filters-ligne { flex-wrap: wrap; overflow: visible; margin-bottom: 36px; padding: 2px 4px 6px 2px; }
.filters-ligne::-webkit-scrollbar { display: none; }
.filters-ligne > div { display: flex; flex-wrap: wrap; gap: 10px; flex: 1 1 100%; }
.filters-ligne > div:empty { display: none; }
.filters-ligne #theme-filters { padding-left: 0; border-left: 0; }
.filters-ligne .filter-chip { white-space: nowrap; }
.filters-ligne .filter-chip.theme { background: var(--creme); }
.filters-ligne .filter-chip.theme.active { background: var(--beurre); }

/* Vignettes (choix de Julie 31/10) : le motif détouré est posé directement sur le mur du site, sans cadre ;
   seul le bloc texte (thème, nom, prix) garde le cadre noir et l'ombre décalée. La photo sur fond gris ne sert que si le détourage manque. */
.product-card { background: transparent; border: 0; box-shadow: none; overflow: visible; gap: 0; }
.product-card:hover { transform: none; box-shadow: none; }
.product-card .thumb { background: none; border: 0; overflow: visible; }
.product-card .thumb img { object-fit: contain; padding: 10% 10% 5%; filter: drop-shadow(1px 2px 1.5px rgba(60, 45, 30, .45)) drop-shadow(4px 8px 8px rgba(60, 45, 30, .18)); }
.product-card .info { background: var(--creme); border: 3px solid var(--encre); border-radius: 14px; box-shadow: 5px 5px 0 var(--encre); transition: transform .12s ease, box-shadow .12s ease; }
.product-card:hover .info, .product-card:focus-visible .info { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--encre); }
.product-card .thumb img.photo { border: 3px solid var(--encre); border-radius: 14px; }
.product-card .thumb img.photo { object-fit: cover; padding: 0; filter: none; }

/* Bungee (titres) est large et toute en capitales : tailles resserrées pour garder le titre d'accueil sur 4 lignes */
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.9rem); line-height: 1.05; }

/* Une seule teinte par couleur de marque : rouge --rouge, jaune --beurre, noir --encre. Tous les titres ont l'ombre jaune. */
.section-title, .steps h2, .section h2, .product-detail h1, .cart-summary .total { text-shadow: 3px 3px 0 var(--beurre); }

/* Bandes en mosaïque rouge et blanche, comme le pot de pop-corn du packaging
   (rendu 3D gen/mosaique-pot-3d.py ; rouge des carreaux = --rouge). */
.section-dark, .site-footer {
  /* rendu 3D (gen/mosaique-pot-3d.py) + flaque de lumière venue du haut à gauche et ombre vers le bas */
  background:
    radial-gradient(ellipse 70% 90% at 18% 0%, rgba(255, 244, 220, .22), transparent 70%),
    linear-gradient(to bottom, transparent 55%, rgba(20, 10, 5, .28)),
    var(--rouge) url("images/mosaique-pot.webp") 0 0 / 672px 336px repeat;
  border-top: 4px solid var(--encre);
}
.section-dark { border-bottom: 4px solid var(--encre); }
/* 01/11 (Julie) : derrière les motifs, le mur uni ; la mosaïque rouge et blanche ne reste que
   sur deux bandes verticales (rouge/blanc/rouge/blanc) le long des côtés de chaque page publique. */
.section-dark, .site-footer { background: none; border-top: 0; border-bottom: 0; }
body:has(> .site-footer) { --bande: 76px; --retrait: 14px; padding-inline: calc(var(--bande) + 2 * var(--retrait)); }
body:has(> .site-footer)::before, body:has(> .site-footer)::after {
  /* carreaux seuls (fond transparent) collés sur le crépi du site, sans cadre :
     FOND=transparent BANDE=1 NX=4 python3 gen/mosaique-pot-3d.py site/images/mosaique-bande.webp */
  content: ""; position: fixed; top: 0; bottom: 0; width: var(--bande); z-index: 30; pointer-events: none;
  background: url("images/mosaique-bande.webp") 0 0 / var(--bande) calc(var(--bande) * 3) repeat-y;
  filter: drop-shadow(1px 2px 1.5px rgba(60, 45, 30, .35));
}
/* bande de gauche en miroir : la colonne rouge est toujours côté contenu (symétrie demandée par Julie le 01/11) */
body:has(> .site-footer)::before { left: var(--retrait); transform: scaleX(-1); }
body:has(> .site-footer)::after { right: var(--retrait); }
@media (max-width: 700px) {
  /* sur téléphone, deux carreaux (rouge, blanc) de chaque côté pour garder la place au contenu */
  body:has(> .site-footer) { --bande: 26px; --retrait: 6px; }
  body:has(> .site-footer)::before, body:has(> .site-footer)::after { background-size: 52px 156px; }
  body:has(> .site-footer)::after { background-position: -26px 0; }
  /* les bandes prennent déjà de la place : marges intérieures réduites */
  body:has(> .site-footer) .container { padding-inline: 12px; }
  body:has(> .site-footer) .site-footer .container { margin-inline: 12px; }
}
.section-dark .section-head {
  background: var(--creme); color: var(--encre);
  border: 3px solid var(--encre); border-radius: 18px; padding: 14px 22px;
  box-shadow: 6px 6px 0 var(--encre);
}
.section-dark .section-head h2 { color: var(--encre); text-shadow: 3px 3px 0 var(--beurre); }
.site-footer { color: var(--encre); padding: 40px 0; }
.site-footer .container {
  background: var(--creme); border: 3px solid var(--encre); border-radius: 18px;
  padding: 20px 24px; box-shadow: 6px 6px 0 var(--encre);
}
.site-footer .safety { border-color: var(--rouge); }
@media (max-width: 700px) { .site-footer .container { margin-inline: 16px; width: auto; } }

/* Accueil : le chat cligne des yeux, le teckel remue la queue (images calculées carreau par carreau, gen/anim-accueil-3d.py).
   Les images d'animation se superposent exactement à l'image de base et apparaissent par instants. */
.colle-teckel, .colle-chat { position: relative; }
.colle .anim { position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; }
.colle-teckel .anim { width: 100%; }
.colle-chat .anim { width: 100%; }
/* chacun son tour sur un cycle de 6 s : le teckel remue la queue (0 à 0,7 s), puis le chat cligne (vers 3 s) */
.yeux-fermes { animation: cligne 6s steps(1, end) infinite; }
@keyframes cligne { 0%, 49.9% { opacity: 0; } 50%, 52.9% { opacity: 1; } 53%, 100% { opacity: 0; } }
.queue-a { animation: queue-a 6s steps(1, end) infinite; }
.queue-b { animation: queue-b 6s steps(1, end) infinite; }
@keyframes queue-a { 0%, 2.9% { opacity: 1; } 3%, 5.9% { opacity: 0; } 6%, 8.9% { opacity: 1; } 9%, 100% { opacity: 0; } }
@keyframes queue-b { 0%, 2.9% { opacity: 0; } 3%, 5.9% { opacity: 1; } 6%, 8.9% { opacity: 0; } 9%, 11.9% { opacity: 1; } 12%, 100% { opacity: 0; } }
/* l'image de base s'efface pendant les battements, sinon on verrait deux queues */
.colle-teckel img:not(.anim) { animation: queue-base 6s steps(1, end) infinite; }
@keyframes queue-base { 0%, 11.9% { opacity: 0; } 12%, 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .colle .anim { animation: none; opacity: 0; } .colle-teckel img:not(.anim) { animation: none; } }

/* Option kit d'accroche dans le panier */
.kit-option { border: 2px solid #000; border-radius: 8px; padding: 0.6rem 0.8rem; margin: 0.6rem 0; }
.kit-option legend { font-weight: 700; padding: 0 0.3rem; }
.kit-option label { display: flex; gap: 0.5rem; align-items: flex-start; margin: 0.3rem 0; cursor: pointer; }
.kit-option input { margin-top: 0.2rem; flex-shrink: 0; }

/* Boutique : tri par prix ou nombre de carreaux */
.tri-ligne label { white-space: nowrap; }
.tri-ligne { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin: -20px 0 24px; font-weight: 700; }
.tri-ligne select { font: inherit; font-weight: 600; border: 3px solid var(--encre); border-radius: 999px; padding: 6px 14px; background: #fff; color: var(--encre); cursor: pointer; min-width: 0; max-width: 100%; text-overflow: ellipsis; }
.tri-ligne select:focus-visible { outline: 3px solid var(--beurre); outline-offset: 2px; }
.product-card .price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.price-row .carreaux { font-size: 0.85em; opacity: 0.7; }
/* « Existe en 3 variantes » sous le prix (Julie 22/11) */
.product-card .versions { display: block; margin-top: 4px; font-size: 0.85rem; font-weight: 700; color: var(--rouge); }
@media (max-width: 560px) { .tri-ligne { justify-content: flex-start; margin-top: -24px; } }


.site-footer .footer-origine { font-size: 0.85rem; opacity: 0.85; }

/* Changement de page sans flash : le navigateur fond l'ancienne page dans la nouvelle
   et garde l'en-tête (logo, menu, panier) en place. Navigateurs sans support : navigation normale. */
@view-transition { navigation: auto; }
.site-header { view-transition-name: en-tete; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* Lien Instagram du pied de page : logo dessiné en carreaux (Julie 03/11) */
.footer-insta { display: inline-flex; align-items: center; gap: 10px; color: var(--rouge); font-weight: 700; text-decoration: none !important; }
.footer-insta svg { flex: none; }
.footer-insta:hover span, .footer-insta:focus-visible span { text-decoration: underline; }

/* Pages thème et idées cadeaux (référencement, 07/11/2026) */
.page-theme .theme-intro, .page-theme .theme-fin { max-width: 760px; margin: 0 auto 32px; line-height: 1.6; }
.page-theme .theme-intro p, .page-theme .theme-fin p { margin: 0 0 12px; }
.page-theme .theme-offrir { font-weight: 700; }
.page-theme .theme-sous-titre { margin: 48px 0 6px; font-size: 1.4rem; }
.page-theme .theme-texte { margin: 0 0 18px; max-width: 760px; line-height: 1.55; }
.page-theme .theme-fin { margin-top: 48px; }
.page-theme .theme-autres { font-weight: 600; }
.page-theme a:not(.product-card), .footer-themes a { text-decoration: underline; }
.footer-themes { margin: 6px 0; line-height: 1.7; }

/* Boutique : filtre par couleur, pour assortir le pack à son intérieur (Julie 04/12) */
.filters-ligne.filtres-themes { margin-bottom: 16px; }
.filtres-couleurs { border: 0; min-width: 0; }
.filtres-couleurs[hidden] { display: none; }
.filtres-couleurs .filtres-titre { padding: 0; margin: 0 0 10px; font-weight: 700; }
.filters-ligne .filter-chip.couleur { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 600; font-size: .92rem; padding: 6px 14px 6px 8px; }
.filter-chip.couleur .rond { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--encre); flex: none; }
.filter-chip.couleur[aria-pressed="true"] { background: var(--beurre); }
.filter-chip.couleur:focus-visible { outline: 3px solid var(--beurre); outline-offset: 2px; }
@media (max-width: 560px) { .filters-ligne .filter-chip.couleur { padding: 5px 11px 5px 6px; font-size: .86rem; } .filters-ligne > div { gap: 8px; } }
