/* =======================================================================
   Bandeau d'annonce du site — styles au choix (réglés depuis le facturier)
   Utilisé par index.php, boutique.html et l'aperçu du facturier.
   ======================================================================= */
/* Base (identique à l'accueil) */
.bandeau-noel { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1002; background: #2E1B0E; box-shadow: 0 4px 15px rgba(0,0,0,.4);
  font-family: var(--font-body, 'Work Sans', system-ui, sans-serif); color: #fce8cc; }
.bandeau-noel-wrap { max-width: 1380px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 40px; box-sizing: border-box; }
.bandeau-noel-content { display: flex; align-items: center; gap: 8px; font-size: .88rem; line-height: 1.35; text-align: center; }
.bandeau-noel-texte strong { font-weight: 700; }
.bandeau-noel-btn { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .82rem; padding: 5px 14px; border-radius: 9999px;
  text-decoration: none; white-space: nowrap; flex-shrink: 0; transition: transform .2s ease, filter .2s ease; }
.bandeau-noel-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
@media (max-width: 768px) {
  .bandeau-noel-wrap { padding: 6px 12px; gap: 10px; justify-content: space-between; }
  .bandeau-noel-content { font-size: .76rem; text-align: left; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .bandeau-noel-btn { font-size: .75rem; padding: 4px 10px; }
}
.bandeau-noel { overflow: hidden; }
.bandeau-noel .bandeau-badge {
  display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  background: rgba(232,168,73,.16); color: #f3be6a; border: 1px solid rgba(232,168,73,.35);
}
.bandeau-noel .bandeau-icone { font-size: 1rem; line-height: 1; }

/* Noël : bois sombre, or chaud (style historique) */
.bandeau--noel { background: #2E1B0E !important; color: #f7eedf; }
.bandeau--noel .bandeau-noel-texte strong { color: #e8a849; }
.bandeau--noel .bandeau-noel-btn { background: #d9751f; color: #fff !important; }

/* Arrivage de bois : veinage discret */
.bandeau--arrivage {
  background: repeating-linear-gradient(176deg, rgba(255,255,255,.025) 0 2px, transparent 2px 9px), linear-gradient(90deg, #3a2213, #4b2d17 50%, #3a2213) !important;
  color: #f6e7cf;
}
.bandeau--arrivage .bandeau-noel-texte strong { color: #f3be6a; }
.bandeau--arrivage .bandeau-badge { background: #e7cfa6; color: #3a2213; border-color: #e7cfa6; }
.bandeau--arrivage .bandeau-noel-btn { background: #f3be6a; color: #2a170b !important; box-shadow: none; }

/* Promotion : or plein */
.bandeau--promo { background: linear-gradient(90deg, #b8803a, #d4a057 50%, #b8803a) !important; color: #1f1208; }
.bandeau--promo .bandeau-noel-content, .bandeau--promo .bandeau-noel-texte { color: #1f1208; }
.bandeau--promo .bandeau-noel-texte strong { color: #1f1208; }
.bandeau--promo .bandeau-badge { background: #1f1208; color: #f3be6a; border-color: #1f1208; }
.bandeau--promo .bandeau-noel-btn { background: #1f1208; color: #f3be6a !important; box-shadow: none; }

/* Nouveauté : noir élégant, filet doré, reflet qui passe */
.bandeau--nouveaute { background: #120c08 !important; color: #efe3d1; border-bottom: 1px solid rgba(196,137,58,.55) !important; position: relative; }
.bandeau--nouveaute::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(243,190,106,.12) 50%, transparent 70%);
  transform: translateX(-100%); animation: bandeau-reflet 6s ease-in-out infinite;
}
.bandeau--nouveaute .bandeau-noel-texte strong { color: #f3be6a; }
.bandeau--nouveaute .bandeau-noel-btn { background: transparent; color: #f3be6a !important; border: 1px solid #c4893a; box-shadow: none; }
@keyframes bandeau-reflet { 0%, 55% { transform: translateX(-100%); } 85%, 100% { transform: translateX(100%); } }

/* Marché / salon : ambre chaleureux */
.bandeau--marche { background: linear-gradient(90deg, #2b1a0e, #3b2412) !important; color: #f7eedf; border-bottom: 2px dashed rgba(232,168,73,.35) !important; }
.bandeau--marche .bandeau-noel-texte strong { color: #f0b45a; }
.bandeau--marche .bandeau-badge { background: rgba(240,180,90,.15); }
.bandeau--marche .bandeau-noel-btn { background: #e8a849; color: #2b1a0e !important; box-shadow: none; }

/* Information atelier (fermeture, congés, délais) : sobre */
.bandeau--atelier { background: #1c1c1f !important; color: #e7e5e4; }
.bandeau--atelier .bandeau-noel-texte strong { color: #ffffff; }
.bandeau--atelier .bandeau-badge { background: rgba(255,255,255,.08); color: #e7e5e4; border-color: rgba(255,255,255,.18); }
.bandeau--atelier .bandeau-noel-btn { background: transparent; color: #fff !important; border: 1px solid rgba(255,255,255,.4); box-shadow: none; }

/* Dernière chance : rouge brique */
.bandeau--urgent { background: linear-gradient(90deg, #4a160f, #6b2016 50%, #4a160f) !important; color: #fff1e6; }
.bandeau--urgent .bandeau-noel-texte strong { color: #ffd08a; }
.bandeau--urgent .bandeau-badge { background: #ffd08a; color: #4a160f; border-color: #ffd08a; }
.bandeau--urgent .bandeau-noel-btn { background: #fff1e6; color: #6b2016 !important; box-shadow: none; }

/* Pages sans réglage propre (boutique) : le contenu descend sous le bandeau */
body.bandeau-pousse header { top: calc(var(--banner-height, 0px) + 14px) !important; }
body.bandeau-pousse { padding-top: var(--banner-height, 0px); }

@media (prefers-reduced-motion: reduce) { .bandeau--nouveaute::after { animation: none; } }
@media (max-width: 768px) { .bandeau-noel .bandeau-badge { display: none; } }
