/* ═══════════════════════════════════════
   BOUTIQUE MARIANNE — main.css v2
   CSS extrait fidèlement des HTML source
═══════════════════════════════════════ */

:root {
  --violet:     #6A4C93;
  --violet-f:   #503773;
  --violet-p:   #F0EBF8;
  --violet-3:   #3D2660;
  --anthracite: #1a1a2e;
  --encre:      #333333;
  --jaune:      #E9C46A;
  --jaune-f:    #C89E3A;
  --bg:         #faf9fd;
  --white:      #FFFFFF;
  --mid:        #7a6e8a;
  --pale:       rgba(106,76,147,.12);
  --pale2:      #F0EBF8;
  --ink:        #333333;
  --vert:       #1A7A4A;
  --shadow:     0 4px 20px rgba(106,76,147,.14), 0 1px 4px rgba(106,76,147,.08);
  --r:  14px;
  --r2: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ── TOPSTRIP ── */
.topstrip { background: var(--anthracite); height: 36px; display: flex; align-items: center; padding: 0 24px; }
.topstrip-inner { max-width: 1200px; margin: 0 auto; width: 100%; display: flex; align-items: center; justify-content: space-between; }
.back-link { display: flex; align-items: center; gap: 7px; font-size: 12px; color: rgba(255,255,255,.55); transition: color .12s; }
.back-link:hover { color: rgba(255,255,255,.9); }
.strip-name { font-size: 12px; color: rgba(255,255,255,.3); }

/* ── HEADER ── */
header { background: var(--white); border-bottom: 2px solid var(--violet); position: sticky; top: 0; z-index: 300; box-shadow: 0 2px 20px rgba(106,76,147,.1); }
.header-main { max-width: 1200px; margin: 0 auto; height: 58px; display: flex; align-items: center; padding: 0 24px; }
.logo-zone { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 40px; height: 40px; background: none; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-link { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-name { font-family: 'Unbounded', sans-serif; font-size: 13px; font-weight: 700; color: var(--ink); }
.logo-sub { font-size: 9px; color: var(--violet); letter-spacing: .1em; text-transform: uppercase; margin-top: 2px; font-weight: 600; }
.header-sep { width: 1px; height: 28px; background: var(--pale); margin: 0 20px; }
.header-space { font-family: 'Unbounded', sans-serif; font-size: 13px; font-weight: 700; color: var(--violet); }
.header-nav { display: flex; gap: 2px; margin-left: auto; }
.hn { padding: 6px 14px; border-radius: 6px; font-size: 13px; font-weight: 500; color: var(--mid); transition: all .12s; cursor: pointer; display: inline-flex; align-items: center; }
.hn:hover { color: var(--ink); background: var(--bg); }
.hn.on { color: var(--violet); font-weight: 700; }
.header-cta { margin-left: 16px; padding: 7px 17px; border-radius: 7px; font-size: 13px; font-weight: 700; background: var(--violet); color: #fff; transition: background .12s; cursor: pointer; white-space: nowrap; }
.header-cta:hover { background: var(--violet-f); }

/* ── HERO ── */
.hero { background: var(--violet); padding: 72px 24px 80px; position: relative; overflow: hidden; }
.hero-bg { display: none; }
.hero-accent { display: none; }
.hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 420px; gap: 64px; align-items: center; }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 24px; }
.hero-dash { width: 20px; height: 1px; background: var(--jaune); }
.hero-title { font-family: 'Unbounded', sans-serif; font-size: clamp(34px, 4vw, 56px); font-weight: 900;
  line-height: 1.1; letter-spacing: -.03em; color: #fff; margin-bottom: 18px; }
.hero-title em { font-style: normal; color: var(--jaune); }
.hero-copy { font-size: 15px; color: rgba(255,255,255,.45); line-height: 1.8; max-width: 420px; margin-bottom: 32px; }
.hero-copy strong { color: rgba(255,255,255,.75); }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.hbtn { padding: 12px 26px; border-radius: 7px; font-size: 14px; font-weight: 700; transition: all .15s; cursor: pointer; display: inline-block; }
.hbtn-white { background: #fff; color: var(--violet); border: 2px solid #fff; }
.hbtn-white:hover { background: rgba(255,255,255,.88); transform: translateY(-1px); }
.hbtn-ghost { border: 2px solid rgba(255,255,255,.15); color: rgba(255,255,255,.45); }
.hbtn-ghost:hover { border-color: rgba(255,255,255,.4); color: #fff; }
.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.hb { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 30px; font-size: 11px; font-weight: 700; border: 1px solid; }
.hb-free { background: rgba(26,122,74,.15); border-color: rgba(26,122,74,.3); color: #4ade80; }
.hb-pay  { background: rgba(233,196,106,.1); border-color: rgba(233,196,106,.25); color: var(--jaune); }
.hero-visual { position: relative; }
.hero-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hi { border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); }
.hi img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hi:hover img { transform: scale(1.04); }
.hi.main { grid-column: span 2; aspect-ratio: 16/9; }
.hero-foot { max-width: 1200px; margin: 24px auto 0; padding: 0 24px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; gap: 32px; position: relative; z-index: 1; }
.hf-stat { text-align: left; }
.hf-n { font-family: 'Unbounded', sans-serif; font-size: 20px; font-weight: 800; color: #fff; }
.hf-l { font-size: 11px; color: rgba(255,255,255,.25); margin-top: 2px; }
.hf-sep { width: 1px; height: 24px; background: rgba(255,255,255,.07); }

/* ── CATALOGUE SECTION ── */
.catalogue-section { padding: 64px 24px 80px; background: var(--bg); }
.cat-inner { max-width: 1200px; margin: 0 auto; }
.cat-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.sec-pretitle { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mid); margin-bottom: 6px; }
.sec-title { font-family: 'Unbounded', sans-serif; font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin-bottom: 8px; }
.sec-sub { font-size: 14px; color: var(--mid); line-height: 1.7; max-width: 500px; }

/* ── FILTRES ── */
.filters-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fpill { padding: 6px 16px; border-radius: 30px; border: 1.5px solid var(--pale); background: var(--white); font-size: 13px; font-weight: 500; color: var(--mid); cursor: pointer; transition: all .12s; white-space: nowrap; }
.fpill:hover { color: var(--ink); border-color: var(--mid); }
.fpill.on { background: var(--violet); border-color: var(--violet); color: #fff; }
.fpill.free.on { background: var(--vert); border-color: var(--vert); color: #fff; }

/* ── CATÉGORIE LABEL ── */
.cat-label { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; margin-top: 40px; }
.cat-label:first-child { margin-top: 0; }
.cat-label-line { flex: 1; height: 1px; background: var(--pale); }
.cat-label-text { font-family: 'Unbounded', sans-serif; font-size: 12px; font-weight: 700; color: var(--mid); white-space: nowrap; letter-spacing: .08em; display: flex; align-items: center; gap: 8px; }
.cat-label-badge { font-size: 10px; padding: 2px 8px; border-radius: 4px; font-weight: 700; }
.badge-pay  { background: rgba(233,196,106,.15); color: var(--jaune-f); }
.badge-free { background: rgba(26,122,74,.1); color: var(--vert); }

/* ── GRILLE PRODUITS ── */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* ── CARTE PRODUIT ── */
.prod-card { background: var(--white); border: 1px solid var(--pale); border-radius: var(--r); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.prod-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.prod-img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--pale2); }
.prod-img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; display: block; }
.prod-card:hover .prod-img { transform: scale(1.04); }
.prod-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 52px; background: var(--pale2); }
.prod-badge-free { position: absolute; top: 10px; left: 10px; background: var(--vert); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 20px; }
.prod-body { padding: 16px 18px 20px; }
.prod-name { font-family: 'Unbounded', sans-serif; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 4px; line-height: 1.35; }
.prod-desc-small { font-size: 12px; color: var(--mid); margin-bottom: 8px; line-height: 1.5; }
.prod-colors { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.pc { width: 16px; height: 16px; border-radius: 50%; cursor: default; }
.prod-price { font-size: 15px; font-weight: 700; color: var(--violet); margin-bottom: 12px; }
.prod-price.free { color: var(--vert); }
.prod-cta { display: block; width: 100%; padding: 10px; border-radius: var(--r2); font-size: 13px; font-weight: 700; text-align: center; cursor: pointer; transition: all .12s; border: none; }
.cta-violet { background: var(--violet); color: #fff; }
.cta-violet:hover { background: var(--violet-f); }
.cta-vert { background: var(--vert); color: #fff; }
.cta-vert:hover { background: #145f38; }

/* Empty state */
.empty-state { text-align: center; padding: 48px; color: var(--mid); border: 2px dashed var(--pale); border-radius: var(--r); }
.btn-add { display: inline-block; margin-top: 16px; padding: 10px 20px; background: var(--violet); color: #fff; border-radius: var(--r2); font-weight: 700; font-size: 13px; }

/* ── INFO BOX ── */
.info-box { padding: 14px 18px; border-radius: var(--r2); font-size: 13px; line-height: 1.6; }
.info-vert { background: rgba(26,122,74,.08); border: 1px solid rgba(26,122,74,.2); color: #145f38; }
.info-gold { background: rgba(233,196,106,.1); border: 1px solid rgba(200,158,58,.25); color: #7a5c10; }

/* ── MODAL ── */
.modal-overlay { position: fixed; inset: 0; background: rgba(26,14,45,.5); backdrop-filter: blur(3px); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: all .2s; }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box { background: var(--white); border-radius: var(--r); width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto; position: relative; padding: 32px; box-shadow: 0 20px 60px rgba(0,0,0,.3); transform: translateY(12px); transition: transform .2s; }
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--pale2); color: var(--mid); font-size: 14px; display: flex; align-items: center; justify-content: center; transition: all .12s; }
.modal-close:hover { background: var(--violet-p); color: var(--violet); }
.modal-title { font-family: 'Unbounded', sans-serif; font-size: 16px; font-weight: 800; margin-bottom: 4px; padding-right: 30px; }
.modal-sub { font-size: 13px; color: var(--mid); margin-bottom: 22px; }

/* Formulaire */
.fg { margin-bottom: 14px; }
.fl { display: block; font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.req { color: #e63946; }
.fi { width: 100%; padding: 9px 13px; border: 1.5px solid var(--pale); border-radius: var(--r2); font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--ink); background: #fff; transition: border-color .12s; }
.fi:focus { outline: none; border-color: var(--violet); }
textarea.fi { resize: vertical; min-height: 80px; }
select.fi { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a6e8a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.btn-submit { display: block; width: 100%; padding: 13px; border-radius: var(--r2); font-size: 14px; font-weight: 700; text-align: center; cursor: pointer; border: none; margin-top: 18px; background: var(--violet); color: #fff; transition: background .12s; }
.btn-submit:hover { background: var(--violet-f); }
.btn-submit.vert { background: var(--vert); }
.btn-submit.vert:hover { background: #145f38; }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }

/* ── TOASTS ── */
#bm-toasts { position: fixed; bottom: 24px; right: 24px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; }
.bm-toast { display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; background: var(--anthracite); color: #fff; border-radius: 10px; box-shadow: 0 6px 24px rgba(0,0,0,.25); border-left: 3px solid var(--violet); min-width: 280px; max-width: 360px; animation: toast-in .3s ease; }
.bm-toast.vert { border-left-color: var(--vert); }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.toast-icon { font-size: 18px; flex-shrink: 0; }
.toast-title { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.toast-msg { font-size: 12px; opacity: .65; }

/* ── FOOTER ── */
.site-footer { background: #111; color: rgba(255,255,255,.6); padding: 48px 24px 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 44px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.ft-logo-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ft-logo-mark { width: 34px; height: 34px; background: var(--violet); border-radius: 7px; display: flex; align-items: center; justify-content: center; }
.ft-logo-name { font-family: 'Unbounded', sans-serif; font-size: .8rem; font-weight: 700; color: #fff; line-height: 1.3; }
.ft-logo-sub { font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); margin-top: 2px; }
.ft-desc { font-size: .82rem; line-height: 1.7; opacity: .55; }
.footer-links .ft-col-titre { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 16px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { font-size: .84rem; color: rgba(255,255,255,.5); transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bot { max-width: 1200px; margin: 0 auto; padding: 16px 0; font-size: .76rem; color: rgba(255,255,255,.25); text-align: center; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .header-nav { display: none; }
  .products-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { padding: 48px 22px 56px; }
  .catalogue-section { padding: 40px 16px 60px; }
}

/* ── GÉNÉRATION MARIANNE — jaune ── */
.card-gm { border-color: rgba(233,196,106,.4); }
.card-gm:hover { box-shadow: 0 8px 32px rgba(233,196,106,.2); }
.prod-tag-gm { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--jaune-f); background: rgba(233,196,106,.15); border: 1px solid rgba(233,196,106,.3); padding: 2px 10px; border-radius: 4px; margin-bottom: 8px; }
.prod-price.gm { color: var(--jaune-f); }
.cta-gm { background: var(--jaune-f); color: #fff; }
.cta-gm:hover { background: #b08930; }
.fpill.gm.on { background: var(--jaune-f); border-color: var(--jaune-f); color: #fff; }

/* ── ARTICLE MIS EN AVANT ── */
.prod-badge-featured { position: absolute; top: 10px; right: 10px; background: var(--violet); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 20px; z-index: 1; }

/* ── FORMATS MATÉRIEL ── */
.prod-formats { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.prod-format-tag { font-size: 11px; background: var(--pale2); padding: 2px 8px; border-radius: 4px; color: var(--mid); }

/* ── LOGO LIEN ── */
.logo-link { display: flex; align-items: center; gap: 12px; text-decoration: none; }
