/* ============================================================
   STYLE.CSS - Feuille de style AirsoftXpert
   ------------------------------------------------------------
   Pour changer les couleurs du site, modifiez simplement les
   variables ci-dessous (section :root). Exemple : remplacez
   la valeur de --accent par "#2f81f7" pour un thème bleu.
   ============================================================ */

/* Police Poppins hébergée localement (dossier /fonts) : le site
   fonctionne sans connexion externe, même hors ligne. */
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/poppins-400.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/poppins-600.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/poppins-700.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("../fonts/poppins-800.woff2") format("woff2");
}

:root {
  --accent:        #EB952A;   /* Couleur principale (boutons, titres, liens) - orange AirsoftXpert */
  --accent-hover:  #f7b25c;   /* Couleur au survol */
  --accent-dark:   #b06a12;   /* Variante foncée */
  --bg:            #0d1117;   /* Fond général */
  --bg-panel:      #161c26;   /* Fond des cartes / panneaux */
  --bg-panel-2:    #1d2532;   /* Fond des panneaux secondaires */
  --border:        #2b3648;   /* Bordures */
  --text:          #e6e9ef;   /* Texte principal */
  --text-muted:    #97a3b6;   /* Texte secondaire */
  --success:       #34d399;   /* Vert (en stock) */
  --danger:        #f87171;   /* Rouge (rupture, suppression) */
  --radius:        10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

h1, h2, h3, h4 {
  font-family: "Poppins", "Segoe UI Semibold", "Arial Narrow", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- Bandeau annonce ---------- */
.topbar {
  background: var(--accent);
  color: #14181f;
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  padding: 7px 14px;
}

/* ---------- Header / navigation ---------- */
header.site-header {
  background: rgba(13, 17, 23, 0.97);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  /* L'en-tête est injecté par js/layout.js : sans hauteur réservée,
     son apparition pousse toute la page vers le bas (mauvais score
     CLS). Ces valeurs correspondent à sa hauteur réelle mesurée.
     À ajuster si l'on ajoute/retire une ligne (ex : bandeau
     « boutique en construction » = ~40 px). */
  min-height: 151px;
}
@media (max-width: 900px) {
  header.site-header { min-height: 238px; }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-family: "Poppins", "Arial Narrow", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.logo span { color: var(--accent); }
.logo:hover { color: var(--text); }
.logo img { height: 46px; width: auto; display: block; }

nav.main-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }

nav.main-nav > div { position: relative; }

nav.main-nav a.nav-link {
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 9px 13px;
  border-radius: 8px;
  display: inline-block;
}
nav.main-nav a.nav-link:hover,
nav.main-nav a.nav-link.active { background: var(--bg-panel-2); color: var(--accent); }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 240px;
  padding: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}
nav.main-nav > div:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
}
.dropdown-menu a:hover { background: var(--bg-panel-2); color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.cart-btn {
  position: relative;
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.cart-btn:hover { border-color: var(--accent); color: var(--accent); }
.cart-count {
  background: var(--accent);
  color: #14181f;
  font-size: 0.75rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.burger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.3rem;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 20px;
  text-align: center;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(245, 158, 11, 0.14), transparent 55%),
    radial-gradient(ellipse at 75% 80%, rgba(245, 158, 11, 0.08), transparent 50%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.012) 0 12px, transparent 12px 24px),
    linear-gradient(180deg, #10151d 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-size: clamp(1.7rem, 4.2vw, 3rem);
  max-width: 900px;
  margin: 0 auto 18px;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p {
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 30px;
  font-size: 1.08rem;
}
.hero-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}
.hero-badges span {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #14181f;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: background 0.15s ease, transform 0.1s ease;
}
.btn:hover { background: var(--accent-hover); color: #14181f; transform: translateY(-1px); }
.btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn.secondary:hover { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn.small { padding: 8px 16px; font-size: 0.85rem; }
.btn.danger { background: var(--danger); color: #14181f; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

/* ---------- Sections ---------- */
section.block { padding: 64px 0; }
section.block.alt { background: #10151d; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-title { text-align: center; margin-bottom: 12px; font-size: clamp(1.4rem, 3vw, 2rem); }
.section-title em { color: var(--accent); font-style: normal; }
.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 42px;
}

/* ---------- Grille catégories ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}
.cat-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.cat-card:hover { border-color: var(--accent); transform: translateY(-3px); color: var(--text); }
.cat-card .cat-icon { font-size: 2.2rem; margin-bottom: 12px; }
.cat-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.cat-card p { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Cartes produits ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease;
  position: relative;
}
.product-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.product-card .p-img {
  aspect-ratio: 4 / 3;
  background: #ffffff;   /* photos fournisseur sur fond blanc : affichées entières */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px;
}
.product-card .p-img img { width: 100%; height: 100%; object-fit: contain; }
.product-card .p-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card .p-brand { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.product-card .p-name { font-size: 0.98rem; font-weight: 600; color: var(--text); line-height: 1.4; }
.product-card .p-name:hover { color: var(--accent); }
.product-card .p-price-row { margin-top: auto; padding-top: 10px; display: flex; align-items: baseline; gap: 10px; }
.p-price { font-size: 1.25rem; font-weight: 800; color: var(--accent); }
.p-price-old { font-size: 0.9rem; color: var(--text-muted); text-decoration: line-through; }
.p-stock { font-size: 0.8rem; font-weight: 600; }
.p-stock.in { color: var(--success); }
.p-stock.out { color: var(--danger); }
.p-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #14181f;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 2;
}
.p-badge.occasion { background: #60a5fa; }
.p-badge.promo { background: var(--danger); }
.product-card .p-actions { padding: 0 16px 16px; }
.product-card .p-actions .btn { width: 100%; text-align: center; }

/* ---------- Page boutique : filtres ---------- */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 30px; align-items: start; }
.shop-sidebar {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: sticky;
  top: 90px;
}
.shop-sidebar h3 { font-size: 0.95rem; margin: 18px 0 10px; color: var(--text-muted); }
.shop-sidebar h3:first-child { margin-top: 0; }
.filter-list { list-style: none; }
.filter-list li { margin-bottom: 4px; }
.filter-list button {
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  font-size: 0.92rem;
  padding: 6px 10px;
  border-radius: 6px;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.filter-list button:hover { background: var(--bg-panel-2); color: var(--accent); }
.filter-list button.active { background: var(--accent); color: #14181f; font-weight: 700; }
.filter-list .sub { padding-left: 18px; font-size: 0.85rem; }

.shop-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.shop-toolbar .result-count { color: var(--text-muted); font-size: 0.9rem; }

input[type="text"], input[type="number"], input[type="email"], input[type="tel"], select, textarea {
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 10px 14px;
  font-size: 0.95rem;
  font-family: inherit;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }

/* ---------- Fiche produit ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.product-detail .pd-img {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.product-detail .pd-img img { width: 100%; height: 100%; object-fit: contain; }
.pd-info h1 { font-size: 1.6rem; margin-bottom: 6px; }
.pd-info .p-brand { color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; }
.pd-price-row { display: flex; align-items: baseline; gap: 14px; margin: 18px 0; }
.pd-price-row .p-price { font-size: 2rem; }
.pd-desc { color: var(--text-muted); margin: 18px 0 26px; }
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Atouts (pourquoi nous) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.feature-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.feature-card .f-icon { font-size: 1.9rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--accent); }
.feature-card p { font-size: 0.92rem; color: var(--text-muted); }

/* ---------- Étapes (stand de tir / atelier) ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; counter-reset: step; }
.step-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
}
.step-card::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: var(--accent);
  color: #14181f;
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 999px;
  margin-bottom: 14px;
}
.step-card h3 { font-size: 1rem; margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ---------- Infos pratiques ---------- */
.info-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  text-align: center;
}
.info-strip > div {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 16px;
}
.info-strip .i-icon { font-size: 1.6rem; margin-bottom: 8px; }
.info-strip h4 { font-size: 0.9rem; margin-bottom: 4px; }
.info-strip p { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Panier ---------- */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--border); }
.cart-table th { color: var(--text-muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }
.qty-input { width: 70px; text-align: center; }
.cart-summary {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 26px;
  max-width: 420px;
  margin-left: auto;
}
.cart-summary .line { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.95rem; }
.cart-summary .total { font-size: 1.3rem; font-weight: 800; color: var(--accent); border-top: 1px solid var(--border); padding-top: 12px; margin-top: 12px; }

/* ---------- Formulaires ---------- */
.form-grid { display: grid; gap: 16px; max-width: 640px; }
.form-grid label { font-size: 0.88rem; font-weight: 600; color: var(--text-muted); display: block; margin-bottom: 6px; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: #0a0e14;
  border-top: 1px solid var(--border);
  padding: 50px 0 24px;
  margin-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 30px;
  margin-bottom: 36px;
}
.footer-grid h4 { font-size: 0.95rem; margin-bottom: 14px; color: var(--accent); }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; font-size: 0.9rem; }
.footer-grid a { color: var(--text-muted); }
.footer-grid a:hover { color: var(--accent); }
.footer-grid p { color: var(--text-muted); font-size: 0.9rem; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}
/* Réseaux sociaux : vrais logos SVG, en gris, qui prennent la
   couleur officielle de la marque au survol. */
.socials { display: flex; gap: 10px; margin-top: 12px; }
.socials a {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  width: 40px; height: 40px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.socials a svg { width: 19px; height: 19px; fill: currentColor; display: block; }
.socials a:hover { border-color: currentColor; transform: translateY(-2px); }
.socials a.s-fb:hover { color: #1877F2; }
.socials a.s-ig:hover { color: #E4405F; }
.socials a.s-tt:hover { color: #ffffff; }
.socials a.s-yt:hover { color: #FF0000; }

/* ---------- Page héro secondaire ---------- */
.page-hero {
  padding: 56px 20px;
  text-align: center;
  background: linear-gradient(180deg, #10151d 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(1.5rem, 3.5vw, 2.3rem); max-width: 850px; margin: 0 auto 12px; }
.page-hero h1 em { color: var(--accent); font-style: normal; }
.page-hero p { color: var(--text-muted); max-width: 680px; margin: 0 auto; }

/* ---------- Articles / actus ---------- */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.article-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--text);
  transition: border-color 0.15s ease;
}
.article-card:hover { border-color: var(--accent); color: var(--text); }
.article-card .a-tag { font-size: 0.75rem; color: var(--accent); text-transform: uppercase; font-weight: 700; letter-spacing: 0.06em; }
.article-card h3 { font-size: 1.05rem; margin: 10px 0; }
.article-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ---------- Texte légal ---------- */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.2rem; margin: 34px 0 12px; color: var(--accent); }
.legal-content p, .legal-content li { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 10px; }
.legal-content ul { padding-left: 22px; }

/* ---------- Notifications toast ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-panel);
  border: 1px solid var(--accent);
  color: var(--text);
  padding: 14px 22px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 999;
  animation: toast-in 0.25s ease;
}
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Héro avec vidéo de fond ---------- */
.hero-video {
  position: relative;
  overflow: hidden;
  padding: 120px 20px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-video .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,12,16,0.75) 0%, rgba(10,12,16,0.55) 50%, rgba(13,17,23,0.92) 100%);
  z-index: 1;
}
.hero-video .hero-content { position: relative; z-index: 2; }
.hero-video h1 {
  font-size: clamp(1.7rem, 4.2vw, 3rem);
  max-width: 950px;
  margin: 0 auto 16px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.6);
}
.hero-video h1 em { color: var(--accent); font-style: normal; }
.hero-video .hero-sub {
  color: #d9dee7;
  max-width: 760px;
  margin: 0 auto 32px;
  font-size: 1.12rem;
  text-shadow: 0 1px 10px rgba(0,0,0,0.7);
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Coupure vidéo entre sections ---------- */
.video-break {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.video-break video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-break .vb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.45);
}
.video-break .vb-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 20px;
}
.video-break h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); text-shadow: 0 2px 16px rgba(0,0,0,0.8); }

/* ---------- Bannière image de page (hub) ---------- */
.page-banner {
  position: relative;
  border-bottom: 1px solid var(--border);
  max-height: 420px;
  overflow: hidden;
  display: block;
}
.page-banner img { width: 100%; object-fit: cover; display: block; max-height: 420px; }

/* ---------- Cartes catégories avec images ---------- */
.img-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
/* Colonne flex + hauteur pleine : toutes les cartes d'une même
   ligne ont exactement la même taille, quel que soit le texte. */
.img-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}
.img-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
}
/* ratio imposé : les images du fournisseur ont des formats très
   variés, on les recadre pour que les libellés s'alignent. */
.img-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.img-card .ic-label {
  flex: 1;                       /* occupe toute la place restante */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;       /* texte centré verticalement */
  gap: 5px;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--text);
  text-align: center;
  border-top: 1px solid var(--border);
}
.img-card .ic-label small {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.78rem;
  line-height: 1.4;
}
.img-card-grid.large { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* ---------- Bloc média (texte + image côte à côte) ---------- */
.media-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
}
.media-block:last-child { margin-bottom: 0; }
.media-block.reverse .mb-img { order: 2; }
.media-block .mb-img img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  width: 100%;
}
.media-block h3 { color: var(--accent); font-size: 1.2rem; margin-bottom: 14px; }
.media-block p { color: var(--text-muted); margin-bottom: 10px; }
.media-block ul { color: var(--text-muted); padding-left: 20px; margin: 10px 0; }
.media-block li { margin-bottom: 6px; }

/* ---------- Newsletter ---------- */
.newsletter {
  background: linear-gradient(135deg, rgba(235,149,42,0.15), rgba(235,149,42,0.04)), var(--bg-panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 20px;
  text-align: center;
}
.newsletter h2 { font-size: 1.5rem; margin-bottom: 8px; }
.newsletter h2 em { color: var(--accent); font-style: normal; }
.newsletter p { color: var(--text-muted); margin-bottom: 24px; }
.newsletter form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 520px;
  margin: 0 auto;
}
.newsletter input[type="email"] { flex: 1; min-width: 240px; }

/* ---------- Réassurance (bandeau icônes) ---------- */
.reassurance {
  background: #0a0e14;
  border-top: 1px solid var(--border);
  padding: 40px 0 10px;
}
.reassurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  text-align: center;
}
.reassurance-grid > div { padding: 10px; }
.reassurance-grid img { width: 54px; height: 54px; object-fit: contain; margin: 0 auto 10px; }
.reassurance-grid h4 { font-size: 0.82rem; text-transform: uppercase; margin-bottom: 4px; color: var(--text); }
.reassurance-grid p { font-size: 0.8rem; color: var(--text-muted); }

/* ---------- Intégrations YouTube ---------- */
.yt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 30px auto 0;
}
.yt-grid .yt-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.yt-grid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Logo footer ---------- */
.footer-logo { max-width: 220px; margin-bottom: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .burger { display: block; }
  .media-block { grid-template-columns: 1fr; gap: 20px; }
  .media-block.reverse .mb-img { order: 0; }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg-panel);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav > div:hover .dropdown-menu { display: none; }
  .dropdown-menu { position: static; display: block !important; border: none; box-shadow: none; background: transparent; padding: 0 0 0 16px; min-width: 0; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
  .product-detail { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
}
