/* ── Variables ── */
:root {
  --red:        #E24B4A;
  --red-dark:   #A32D2D;
  --red-light:  #FCEBEB;
  --purple:     #534AB7;
  --purple-light: #EEEDFE;
  --green-light: #EAF3DE;
  --amber-light: #FAEEDA;
  --gray-bg:    #F5F5F5;
  --border:     rgba(0,0,0,0.08);
  --radius:     10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background: var(--gray-bg); color: #1a1a1a; }
a { text-decoration: none; }

/* ── Topbar ── */
.topbar { background: var(--red); color: #fff; font-size: 12px; padding: 6px 20px; display: flex; 
justify-content: space-between; }
.topbar a { color: #fff; }

/* ── Header ── */
.header { background: #fff; border-bottom: 0.5px solid var(--border); padding: 12px 20px; }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 14px; }
.logo { font-size: 20px; font-weight: 700; color: var(--red); flex-shrink: 0; }
.logo span { color: #1a1a1a; }
.search-bar { flex: 1; display: flex; align-items: center; gap: 8px; background: #f9f9f9; border: 0.5px solid 
#ddd; border-radius: var(--radius); padding: 0 12px; height: 36px; }
.search-bar input { border: none; background: transparent; font-size: 13px; outline: none; flex: 1; font-family: 
'Inter', sans-serif; }
.search-bar svg { opacity: 0.4; flex-shrink: 0; }
.main-nav { display: flex; gap: 4px; }
.main-nav a { font-size: 13px; font-weight: 500; color: #444; padding: 6px 12px; border-radius: 6px; transition: 
all 0.15s; }
.main-nav a:hover, .main-nav a.active { background: var(--red-light); color: var(--red-dark); }

/* ── Catégories ── */
.cats-bar { background: #fff; border-bottom: 0.5px solid var(--border); padding: 8px 20px; display: flex; gap: 
6px; overflow-x: auto; }
.cat-pill { font-size: 11px; padding: 4px 12px; border-radius: 20px; border: 0.5px solid var(--border); color: 
#555; white-space: nowrap; transition: all 0.15s; }
.cat-pill:hover, .cat-pill.active { background: var(--red-light); color: var(--red-dark); border-color: 
rgba(226,75,74,0.3); }

/* ── Contenu principal ── */
.main-content { max-width: 1200px; margin: 0 auto; padding: 16px 20px; }

/* ── Hero ── */
.hero { background: #fff; border-radius: 14px; padding: 16px; margin-bottom: 20px; }
.hero-inner { background: var(--red-light); border-radius: 12px; padding: 24px; display: flex; align-items: 
center; justify-content: space-between; gap: 16px; }
.hero-txt h1 { font-size: 22px; font-weight: 700; color: #791F1F; margin-bottom: 6px; line-height: 1.3; }
.hero-txt p { font-size: 13px; color: var(--red-dark); margin-bottom: 14px; }
.hero-cta { background: var(--red); color: #fff; border: none; border-radius: 8px; padding: 9px 18px; font-size: 
13px; font-weight: 500; cursor: pointer; font-family: 'Inter', sans-serif; }
.hero-cta:hover { background: var(--red-dark); }
.hero-badges { display: flex; gap: 8px; flex-shrink: 0; }
.hero-badge { background: var(--red); color: #fff; border-radius: 12px; padding: 12px 18px; text-align: center; 
min-width: 90px; }
.hero-badge.dark { background: var(--red-dark); }
.hero-badge .num { font-size: 24px; font-weight: 700; display: block; line-height: 1.1; }
.hero-badge .lbl { font-size: 10px; opacity: 0.85; margin-top: 3px; display: block; }

/* ── Stats ── */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.stat-card { background: #fff; border-radius: var(--radius); padding: 12px; text-align: center; border: 0.5px 
solid var(--border); }
.stat-card .num { font-size: 18px; font-weight: 700; display: block; }
.stat-card .lbl { font-size: 11px; color: #888; margin-top: 2px; }

/* ── Titres sections ── */
.section-title { font-size: 14px; font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; 
justify-content: space-between; }
.section-title a { font-size: 12px; font-weight: 400; color: #378ADD; }
.badge-new { font-size: 10px; background: var(--green-light); color: #27500A; border-radius: 4px; padding: 2px 
6px; margin-left: 6px; }
.badge-exp { font-size: 10px; background: var(--amber-light); color: #633806; border-radius: 4px; padding: 2px 
6px; margin-left: 6px; }

/* ── Grille catalogues ── */
.catalogue-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 24px; }
.cat-card { background: #fff; border: 0.5px solid var(--border); border-radius: var(--radius); overflow: hidden; 
cursor: pointer; transition: border-color 0.15s; }
.cat-card:hover { border-color: rgba(226,75,74,0.3); }
.cat-card .cat-img { height: 80px; display: flex; align-items: center; justify-content: center; font-size: 28px; 
}
.cat-card .cat-body { padding: 8px 10px; }
.cat-card .cat-name { font-size: 12px; font-weight: 600; margin-bottom: 3px; }
.cat-card .cat-date { font-size: 10px; color: #aaa; }

/* ── Grille bons plans ── */
.bons-plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 24px; }
.bp-card { background: #fff; border: 0.5px solid var(--border); border-radius: var(--radius); padding: 12px; }
.bp-tag { font-size: 10px; background: #E6F1FB; color: #0C447C; border-radius: 4px; padding: 2px 7px; display: 
inline-block; margin-bottom: 8px; }
.bp-tag.remb { background: var(--green-light); color: #27500A; }
.bp-tag.grat { background: #FBEAF0; color: #72243E; }
.bp-discount { font-size: 15px; font-weight: 700; color: var(--red-dark); float: right; }
.bp-title { font-size: 12px; font-weight: 600; margin-bottom: 4px; line-height: 1.4; clear: right; }
.bp-enseigne { font-size: 11px; color: #aaa; }

/* ── Enseignes ── */
.enseignes-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.ens-chip { background: #fff; border: 0.5px solid var(--border); border-radius: var(--radius); padding: 7px 
12px; font-size: 12px; color: #555; cursor: pointer; display: flex; align-items: center; gap: 7px; transition: 
all 0.15s; }
.ens-chip:hover { background: var(--red-light); border-color: rgba(226,75,74,0.25); color: var(--red-dark); }
.ens-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* ── Newsletter ── */
.newsletter { background: var(--purple-light); border-radius: 14px; padding: 20px 24px; display: flex; 
align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.newsletter-txt { flex: 1; }
.newsletter-txt h3 { font-size: 14px; font-weight: 600; color: #26215C; margin-bottom: 4px; }
.newsletter-txt p { font-size: 12px; color: var(--purple); }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input { border: 0.5px solid #AFA9EC; border-radius: 8px; padding: 8px 12px; font-size: 13px; 
outline: none; width: 200px; font-family: 'Inter', sans-serif; }
.newsletter-form button { background: var(--purple); color: #EEEDFE; border: none; border-radius: 8px; padding: 
8px 16px; font-size: 13px; font-weight: 500; cursor: pointer; font-family: 'Inter', sans-serif; }
.newsletter-form button:hover { background: #3C3489; }

/* ── Footer ── */
.footer { background: #fff; border-top: 0.5px solid var(--border); padding: 14px 20px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: 
space-between; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { font-size: 12px; color: #aaa; }
.footer-links a:hover { color: var(--red); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .catalogue-grid { grid-template-columns: repeat(2, 1fr); }
  .bons-plans-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-badges { justify-content: center; }
  .main-nav { display: none; }
  .newsletter { flex-direction: column; text-align: center; }
  .newsletter-form input { width: 100%; }
  .stats-row { grid-template-columns: repeat(3, 1fr); }
}


.logo-enseigne { width:60px;height:60px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:13px;letter-spacing:-0.5px;font-family:'Inter',sans-serif;flex-shrink:0; }
.logo-lidl { background:#0050AA;color:#FFD700; }
.logo-carrefour { background:#004A97;color:#fff; }
.logo-auchan { background:#E2001A;color:#fff; }
.logo-leclerc { background:#003189;color:#fff; }
.logo-intermarche { background:#E2001A;color:#fff; }
.logo-action { background:#E2001A;color:#fff; }
.logo-leroy-merlin { background:#78BE20;color:#fff; }
.logo-ikea { background:#0058A3;color:#FFD700; }
.logo-decathlon { background:#0082C3;color:#fff; }
.logo-aldi { background:#00529F;color:#fff; }
.logo-bricorama { background:#E2001A;color:#fff; }
.logo-sephora { background:#000;color:#fff; }
.logo-naturalia { background:#4CAF50;color:#fff; }
.logo-super-u { background:#E2001A;color:#fff; }
.logo-hyper-u { background:#E2001A;color:#fff; }
.logo-brico-cash { background:#FF6B00;color:#fff; }
.logo-mr-bricolage { background:#E2001A;color:#fff; }
.logo-botanic { background:#2E7D32;color:#fff; }
.logo-zeeman { background:#003087;color:#fff; }
.logo-default { background:#E24B4A;color:#fff; }
.cat-card .cat-img { height:80px;display:flex;align-items:center;justify-content:center; }
.cat-card .cat-img .logo-enseigne { width:52px;height:52px;font-size:12px; }
