/* ═══════════════════════════════════════════
   accessoirescamping.com — style.css
   Stack : Node.js / Express / EJS
   ═══════════════════════════════════════════ */

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

:root {
  --forest:   #1a2e1e;
  --moss:     #2d4a32;
  --sage:     #7a9e7e;
  --sand:     #e8dcc8;
  --cream:    #f4f0e6;
  --ember:    #c9602a;
  --ember-lt: #e07a45;
  --white:    #fdfcf9;
  --text:     #1a2e1e;
  --border:   rgba(26,46,30,0.1);
}

body {
  font-family: 'Epilogue', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
}

/* ── NAV ── */
.main-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 3rem;
  background: rgba(26,46,30,0.97);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.logo { font-family: 'DM Serif Display', serif; font-size: 1.35rem; color: var(--sand); text-decoration: none; }
.logo span { color: var(--ember-lt); font-style: italic; }
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(232,220,200,0.65); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--sand); }
.nav-cta { background: var(--ember); color: var(--white); border: none; padding: 0.55rem 1.3rem; border-radius: 2px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; font-family: 'Epilogue', sans-serif; transition: background 0.2s; }
.nav-cta:hover { background: var(--ember-lt); }

/* ── HERO ── */
.hero { min-height: 70vh; background: var(--forest); display: flex; align-items: center; padding: 5rem 6rem; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(122,158,126,0.12) 0%, transparent 70%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: 600px; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(201,96,42,0.18); border: 1px solid rgba(201,96,42,0.4); color: var(--ember-lt); padding: 0.35rem 0.9rem; border-radius: 2px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 2rem; }
.hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.05; color: var(--sand); margin-bottom: 1.2rem; }
.hero h1 em { font-style: italic; color: var(--sage); display: block; }
.hero p { font-size: 1rem; font-weight: 300; color: rgba(232,220,200,0.65); max-width: 38ch; line-height: 1.7; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; align-items: center; }

/* ── BOUTONS ── */
.btn-primary { background: var(--ember); color: var(--white); padding: 0.9rem 2rem; border-radius: 2px; font-size: 0.88rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; display: inline-block; transition: background 0.2s; }
.btn-primary:hover { background: var(--ember-lt); }
.btn-ghost { color: var(--sand); font-size: 0.88rem; font-weight: 500; text-decoration: none; opacity: 0.75; transition: opacity 0.2s; }
.btn-ghost:hover { opacity: 1; }
.btn-amazon { background: var(--forest); color: var(--sand); padding: 0.45rem 0.9rem; border-radius: 2px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; transition: background 0.2s; }
.btn-amazon:hover { background: var(--ember); }
.btn-bridge { display: inline-flex; align-items: center; gap: 0.6rem; background: transparent; color: var(--sand); border: 1px solid rgba(232,220,200,0.3); padding: 0.8rem 1.8rem; border-radius: 2px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; transition: border-color 0.2s, background 0.2s; }
.btn-bridge:hover { border-color: var(--ember-lt); background: rgba(201,96,42,0.15); }

/* ── SECTIONS ── */
.section { padding: 5rem 6rem; }
.section-alt { background: var(--cream); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.5rem; }
.section-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ember); margin-bottom: 0.5rem; }
.section-title { font-family: 'DM Serif Display', serif; font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--forest); line-height: 1.1; }
.see-all { color: var(--moss); font-size: 0.85rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--sage); padding-bottom: 2px; }
.see-all:hover { color: var(--ember); }

/* ── CATÉGORIES ── */
.categories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.cat-card { background: var(--forest); border-radius: 4px; aspect-ratio: 4/3; position: relative; cursor: pointer; text-decoration: none; display: block; transition: transform 0.25s, box-shadow 0.25s; overflow: hidden; }
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(26,46,30,0.3); }
.cat-card-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,46,30,0.2) 0%, rgba(26,46,30,0.9) 100%); }
.cat-card-content { position: absolute; bottom: 1.5rem; left: 1.5rem; }
.cat-emoji { font-size: 1.8rem; margin-bottom: 0.4rem; display: block; }
.cat-name { font-family: 'DM Serif Display', serif; font-size: 1.2rem; color: var(--sand); }

/* ── PRODUITS ── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.products-grid-3 { grid-template-columns: repeat(3, 1fr); }
.product-card { background: var(--white); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.2s, transform 0.2s; }
.product-card:hover { box-shadow: 0 12px 40px rgba(26,46,30,0.12); transform: translateY(-3px); }
.product-img { background: var(--cream); height: 180px; display: flex; align-items: center; justify-content: center; font-size: 3.2rem; position: relative; }
.product-badge { position: absolute; top: 0.6rem; left: 0.6rem; background: var(--ember); color: var(--white); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.2rem 0.5rem; border-radius: 2px; }
.product-body { padding: 1rem 1.1rem 0.9rem; flex: 1; display: flex; flex-direction: column; }
.product-cat { font-size: 0.62rem; color: var(--sage); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; margin-bottom: 0.3rem; }
.product-name { font-family: 'DM Serif Display', serif; font-size: 1rem; color: var(--forest); line-height: 1.3; margin-bottom: 0.4rem; flex: 1; }
.product-desc { font-size: 0.74rem; color: rgba(26,46,30,0.5); line-height: 1.5; margin-bottom: 0.6rem; }
.product-rating { display: flex; align-items: center; gap: 0.4rem; font-size: 0.74rem; color: #b8860b; margin-bottom: 0.7rem; }
.product-rating span { color: #999; }
.product-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 0.75rem; margin-top: auto; }
.product-price { font-family: 'DM Serif Display', serif; font-size: 1.25rem; color: var(--ember); }
.product-price-note { font-size: 0.62rem; color: #aaa; margin-top: 0.1rem; }

/* ── BRIDGE AIRESCAMPINGCAR ── */
.bridge-section { background: #3d2b1f; padding: 5rem 6rem; display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: center; }
.bridge-label { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sage); margin-bottom: 0.8rem; }
.bridge-title { font-family: 'DM Serif Display', serif; font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--sand); line-height: 1.15; margin-bottom: 1rem; }
.bridge-title em { font-style: italic; color: var(--ember-lt); }
.bridge-text { color: rgba(232,220,200,0.6); font-size: 0.95rem; line-height: 1.75; margin-bottom: 1.8rem; max-width: 45ch; }
.bridge-visual { font-size: 5rem; opacity: 0.8; }

/* ── BOUTIQUE LAYOUT ── */
.boutique-hero { background: var(--forest); padding: 3rem 3rem 2.5rem; }
.boutique-hero h1 { font-family: 'DM Serif Display', serif; font-size: clamp(2rem, 4vw, 3rem); color: var(--sand); margin-bottom: 0.6rem; }
.boutique-hero h1 em { font-style: italic; color: var(--ember-lt); }
.boutique-hero p { color: rgba(232,220,200,0.5); font-size: 0.9rem; max-width: 55ch; }
.breadcrumb { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(232,220,200,0.3); margin-bottom: 1rem; }
.breadcrumb a { color: var(--sage); text-decoration: none; }
.boutique-layout { display: grid; grid-template-columns: 220px 1fr; }
.sidebar { background: var(--cream); border-right: 1px solid var(--border); padding: 2rem 1.3rem; }
.sidebar-section { margin-bottom: 2rem; }
.sidebar-title { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--ember); margin-bottom: 0.8rem; }
.filter-list { display: flex; flex-direction: column; gap: 0.25rem; }
.filter-btn { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 0.7rem; background: transparent; border: 1px solid transparent; border-radius: 3px; font-size: 0.82rem; font-weight: 500; color: var(--text); text-decoration: none; transition: all 0.15s; }
.filter-btn:hover { background: rgba(26,46,30,0.07); }
.filter-btn.active { background: var(--forest); color: var(--sand); }
.filter-btn .count { font-size: 0.68rem; color: var(--sage); background: rgba(122,158,126,0.15); padding: 0.1rem 0.45rem; border-radius: 20px; }
.filter-btn.active .count { color: rgba(232,220,200,0.5); background: rgba(255,255,255,0.1); }
.boutique-content { padding: 1.8rem 2.5rem; }
.content-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.4rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.results-count { font-size: 0.84rem; color: rgba(26,46,30,0.5); }
.results-count strong { color: var(--text); }
.affiliation-note { margin: 2rem 0 1rem; background: var(--cream); border-left: 3px solid var(--ember); padding: 1rem 1.2rem; border-radius: 0 3px 3px 0; font-size: 0.75rem; color: rgba(26,46,30,0.55); line-height: 1.6; }

/* ── GUIDES ── */
.guide-article { max-width: 780px; margin: 0 auto; padding: 3rem 2rem; }
.guide-hero { margin-bottom: 2rem; }
.guide-hero h1 { font-family: 'DM Serif Display', serif; font-size: 2.2rem; color: var(--forest); margin: 0.8rem 0; }
.guide-tag { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ember); }
.guide-meta { font-size: 0.78rem; color: rgba(26,46,30,0.45); display: flex; gap: 1.5rem; margin-top: 0.5rem; }
.guide-body h2 { font-family: 'DM Serif Display', serif; font-size: 1.5rem; color: var(--forest); margin: 2rem 0 0.8rem; }
.guide-body h3 { font-family: 'DM Serif Display', serif; font-size: 1.15rem; color: var(--moss); margin: 1.5rem 0 0.5rem; }
.guide-body p { font-size: 0.95rem; color: rgba(26,46,30,0.8); margin-bottom: 1rem; line-height: 1.7; }
.guide-body ul, .guide-body ol { margin: 0.8rem 0 1rem 1.5rem; font-size: 0.93rem; color: rgba(26,46,30,0.75); }
.guide-body li { margin-bottom: 0.4rem; }
.guide-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.85rem; }
.guide-body th { background: var(--forest); color: var(--sand); padding: 0.6rem 0.9rem; text-align: left; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }
.guide-body td { padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--border); }
.guide-body tr:nth-child(even) td { background: rgba(232,220,200,0.2); }

/* ── FOOTER ── */
.main-footer { background: var(--forest); padding: 4rem 6rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { color: rgba(232,220,200,0.4); font-size: 0.82rem; line-height: 1.7; margin-top: 0.8rem; max-width: 30ch; }
.footer-col h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sand); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { color: rgba(232,220,200,0.45); font-size: 0.84rem; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--sand); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.75rem; color: rgba(232,220,200,0.3); }
.footer-affiliate { max-width: 50ch; text-align: right; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .main-nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hero { padding: 4rem 1.5rem; min-height: 50vh; }
  .section { padding: 3rem 1.5rem; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .products-grid, .products-grid-3 { grid-template-columns: 1fr 1fr; }
  .bridge-section { grid-template-columns: 1fr; padding: 3rem 1.5rem; }
  .bridge-visual { display: none; }
  .boutique-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .boutique-content { padding: 1.5rem; }
  .boutique-hero { padding: 2rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-footer { padding: 3rem 1.5rem 1.5rem; }
}
