/* ============================================================
   Armurerie Schubnel — CSS Maquette Intégrée
   Adapté des variables du thème Gunmetal #1E2327 + Laiton #C9A84C
   ============================================================ */

/* Adapter les variables de la maquette */
:root {
  /* Palette maquette → thème */
  --noir:  #1a1a1a;    /* proche du --c-gun */
  --g800:  #232323;
  --g700:  #2c2c2c;    /* --c-gun-light */
  --g600:  #3a3a3a;
  --muted: #6e6e6e;    /* --c-text-muted */
  --g50:   #f2f2f2;
  --ligne: #e3e3e3;    /* --c-border */
  --or:    #fec41b;    /* contraste fort avec --c-laiton */
  --or-h:  #e8ad00;
  --blanc: #ffffff;    /* --c-white */
  --fond:  #f5f5f4;    /* --c-bg */
  
  /* Alias pour faciliter */
  --c-gun: #1E2327;
  --c-laiton: #C9A84C;
  --c-white: #ffffff;
  --c-text: #2c2c2a;
  --c-text-muted: #6e6e6e;
  --c-border: #e3e3e3;
  
  --r:     12px;
  --rs:    8px;
  --sh-sm: 0 1px 3px rgba(20,40,30,.06), 0 2px 8px rgba(20,40,30,.06);
  --sh-md: 0 12px 32px rgba(20,40,30,.12);
  --f:     "Manrope", system-ui, sans-serif;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f);
  background: var(--fond);
  color: var(--noir);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button { font-family: var(--f); cursor: pointer; }
h1,h2,h3,h4 { font-family: var(--f); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
/* Override main.css (Bebas Neue) : les titres maquette sont en Manrope */
h5, h6 { font-family: var(--f); }
img, picture { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1400px; margin: 0 auto; padding: 0 32px; }

/* ── BTN ── */
.btn { 
  display: inline-flex; 
  align-items: center; 
  gap: 9px; 
  font-family: var(--f); 
  font-weight: 700; 
  font-size: 15px; 
  padding: 13px 24px; 
  border-radius: 50px; 
  border: 1.5px solid transparent; 
  cursor: pointer; 
  transition: background .15s, transform .15s; 
}
.btn svg { width: 17px; height: 17px; }

/* Bouton noir → jaune au hover */
.btn-noir { 
  background: var(--g700); 
  color: #fff; 
  position: relative; 
  overflow: hidden; 
  isolation: isolate; 
  transition: background .28s ease, color .28s ease, transform .15s; 
}
.btn-noir:hover { background: var(--or); color: var(--noir); transform: translateY(-1px); }
.btn-noir svg { transition: transform .22s ease; }
.btn-noir:hover svg { transform: translateX(5px); }

/* Bouton doré */
.btn-or { background: var(--or); color: var(--noir); }
.btn-or:hover { background: var(--or-h); transform: translateY(-1px); }

/* Bouton secondaire */
.btn-bord { 
  background: linear-gradient(to right, var(--noir) 50%, transparent 50%); 
  background-size: 202% 100%; 
  background-position: 100% 0; 
  color: var(--g700); 
  border-color: var(--ligne); 
  transition: background-position .34s cubic-bezier(.4,0,.2,1), color .28s, border-color .18s, transform .15s; 
}
.btn-bord:hover { background-position: 0 0; color: #fff; border-color: var(--noir); transform: translateY(-1px); }

.sbrand { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.stars  { color: var(--or); letter-spacing: 1px; font-size: 14px; }
.pico   { opacity: .22; }

.link-arr { font-size: 14px; font-weight: 700; color: var(--noir); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.link-arr svg { width: 15px; height: 15px; transition: transform .22s ease; }
.link-arr:hover { opacity: 1; }
.link-arr:hover svg { transform: translateX(5px); }

/* Soulignement glissant sur les liens */
.mcol a, footer ul a {
  position: relative;
  display: inline-block;
}
.mcol a::after, footer ul a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 1.5px;
  background: var(--or);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .24s ease;
}
.mcol a:hover::after, footer ul a:hover::after { transform: scaleX(1); }

/* ═══ BANDEAU (top bar) ═══ */
.topbar { background: var(--g800); color: #cfcfcf; font-size: 13px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; padding: 6px 0; flex-wrap: wrap; }
.topbar-left { font-weight: 600; color: #fff; }
.topbar-right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.tb-item { display: inline-flex; align-items: center; gap: 7px; color: #cfcfcf; white-space: nowrap; font-weight: 600; }
.tb-item:hover { color: #fff; }
.tb-item svg { width: 15px; height: 15px; color: var(--or); flex-shrink: 0; }

@media (max-width: 900px) {
  .topbar-left { display: none; }
  .topbar-in { justify-content: center; }
}
@media (max-width: 560px) {
  .tb-addr { display: none; }            /* adresse masquée, mail + téléphone conservés */
  .topbar-in { justify-content: center; }
  .topbar-right { gap: 16px; justify-content: center; }
  .topbar { font-size: 12.5px; }
}

/* ═══ HEADER ═══ */
header { background: var(--blanc); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--ligne); }
.hbar  { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 15px 0; }
.logo  { font-weight: 800; font-size: 22px; letter-spacing: -.01em; display: flex; flex-direction: column; line-height: 1; }
.logo small { font-size: 10px; font-weight: 700; letter-spacing: .28em; color: var(--muted); text-transform: uppercase; margin-bottom: 3px; }
/* Logo image (champ ACF header_logo) */
.logo-img { height: 64px; width: auto; max-width: 240px; display: block; object-fit: contain; }

.searchbar { display: flex; align-items: center; background: var(--fond); border: 1.5px solid var(--ligne); border-radius: 50px; overflow: hidden; width: 100%; max-width: 580px; margin: 0 auto; }
.searchbar select { border: none; background: transparent; font-family: var(--f); font-weight: 600; font-size: 14px; color: var(--noir); padding: 0 14px; height: 44px; cursor: pointer; border-right: 1px solid var(--ligne); outline: none; }
.searchbar:focus-within { border-color: var(--g700); }
.searchbar input  { flex: 1; border: none; background: transparent; outline: none; padding: 0 16px; font-size: 14.5px; font-family: var(--f); }
.searchbar button { border: none; background: var(--or); color: var(--noir); width: 52px; height: 44px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.searchbar button:hover { background: var(--or-h); }

.hicons { display: flex; gap: 6px; }
.hicon  { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 10px; border-radius: 8px; color: var(--g700); font-size: 11.5px; font-weight: 600; position: relative; }
.hicon:hover { background: var(--g50); }
.hicon svg { width: 22px; height: 22px; }
.hicon .count { position: absolute; top: 0; right: 4px; background: var(--or); color: var(--noir); font-size: 10px; font-weight: 700; min-width: 16px; height: 16px; border-radius: 50px; display: flex; align-items: center; justify-content: center; }

/* ── CATBAR + MEGA MENU ── */
.catbar { background: var(--blanc); border-bottom: 1px solid var(--ligne); position: relative; }
.catnav { list-style: none; display: flex; align-items: center; justify-content: center; gap: 2px; flex-wrap: wrap; }
.catnav > li > a { color: var(--noir); font-weight: 600; font-size: 14.5px; padding: 13px 15px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.catnav > li > a svg { width: 14px; height: 14px; transition: transform .18s; }
.catnav > li:hover > a { background: var(--g50); }
.catnav > li:hover > a svg { transform: rotate(180deg); }

.mega { position: absolute; left: 0; right: 0; top: calc(100% + 4px); background: var(--blanc); border-bottom: 3px solid var(--or); box-shadow: 0 22px 40px rgba(20,40,30,.14); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s; z-index: 60; }
.catnav > li:hover .mega, .catnav > li:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-wrap { max-width: 1400px; margin: 0 auto; padding: 60px 32px 68px; display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
.mcol h6 { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--g700); margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--ligne); }
.mcol a  { display: block; width: fit-content; color: #555; font-size: 13.5px; font-weight: 500; padding: 5px 0; }
.mcol a:hover { color: var(--or); }
.mcol.hl { background: var(--g50); border-radius: var(--rs); padding: 20px; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.mcol.hl b { font-size: 15px; font-weight: 800; }
.mcol.hl span { font-size: 12px; color: var(--muted); }

section { padding: 78px 0; scroll-margin-top: 130px; }

/* ═══ HERO ═══ */
.hero { background: var(--blanc); padding: 0; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 72px 32px 64px; max-width: 1400px; margin: 0 auto; }
.hero h1 { font-size: clamp(36px, 4.4vw, 56px); margin-bottom: 16px; }
.hero .sub { color: var(--muted); font-size: 18px; max-width: 38ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 24px; }
.trust { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars span { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--blanc); margin-left: -8px; background: var(--g50); }
.trust .t-txt { font-size: 13px; color: var(--muted); }
.trust .t-txt b { color: var(--noir); }
.hero-img { aspect-ratio: 5/5; border-radius: var(--r); background: linear-gradient(150deg,#eaeaea,#d8d8d8); box-shadow: var(--sh-md); display: flex; align-items: center; justify-content: center; color: #aaa; flex-direction: column; gap: 10px; font-size: 13px; font-weight: 600; overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img svg { width: 38px; height: 38px; }

/* ═══ STATS ═══ */
.stats { background: var(--g50); }
.stats .wrap { display: grid; grid-template-columns: repeat(4,1fr); padding: 32px; }
.stat { text-align: center; padding: 8px 10px; border-right: 1px solid var(--ligne); }
.stat:last-child { border-right: none; }
.stat .n { font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.stat .l { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ═══ À PROPOS ═══ */
.about { background: var(--g50); }
.about-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-txt h2 { font-size: clamp(26px, 3.2vw, 42px); }
.about-lead { color: var(--muted); font-size: 16px; margin-top: 14px; max-width: 44ch; }
.checks { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: 15px; }
.checks .ck { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--g50); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.checks .ck svg { width: 14px; height: 14px; color: var(--or); stroke: var(--or); }

.about-media { position: relative; padding-bottom: 22px; }
.about-img { aspect-ratio: 4/3.2; border-radius: var(--r); background: linear-gradient(150deg,#eaeaea,#d8d8d8); box-shadow: var(--sh-sm); display: flex; align-items: center; justify-content: center; color: #aaa; font-size: 13px; font-weight: 600; overflow: hidden; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-badge { position: absolute; bottom: 0; left: -18px; background: var(--or); border-radius: var(--r); padding: 16px 22px; box-shadow: var(--sh-md); }
.about-badge strong { display: block; font-size: 28px; font-weight: 800; color: var(--noir); line-height: 1; }
.about-badge span   { font-size: 12px; font-weight: 600; color: rgba(0,0,0,.55); margin-top: 3px; display: block; }

/* ═══ HEAD ROW (sections produits / occasions) ═══ */
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.head-row h2 { font-size: clamp(24px, 3vw, 38px); }

/* ═══ PRODUITS — grille 12 ═══ */
.pgrid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.sp { display: block; }
.sp .img { aspect-ratio: 1; background: var(--g50); border-radius: var(--rs); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; position: relative; overflow: hidden; transition: .15s; }
.sp .img img { width: 100%; height: 100%; object-fit: cover; }
.sp .img > svg { width: 30px; height: 30px; transition: .22s; }
.sp:hover .img { box-shadow: inset 0 0 0 2px var(--g700); }
.sp:hover .img > svg { transform: scale(1.06); }
.sp .img .promo { position: absolute; top: 10px; left: 10px; background: var(--or); color: var(--noir); font-size: 10px; font-weight: 700; text-transform: uppercase; padding: 3px 9px; border-radius: 50px; }
.sp .qadd { position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 50%; background: var(--g700); color: #fff; border: none; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(5px); transition: .18s; cursor: pointer; }
.sp:hover .qadd { opacity: 1; transform: none; }
.sp .qadd:hover { background: var(--or); color: var(--noir); }
.sp .qadd svg { width: 18px; height: 18px; }
.sp h4  { font-size: 14px; font-weight: 700; letter-spacing: -.01em; margin: 4px 0 6px; line-height: 1.3; }
.sp .pr { font-size: 16px; font-weight: 800; }
.sp .pr s { font-size: 12px; font-weight: 500; color: var(--muted); margin-right: 5px; }

/* Images produits WooCommerce (home) : réduites de 15 % (85 %), centrées dans la vignette */
.sp .img .wc-card-img,
.ocard .img .wc-card-img { width: 85%; height: 85%; object-fit: cover; display: block; }

/* ═══ MARQUES ═══ */
.brands { background: var(--blanc); }
.brands .wrap { text-align: center; }
.brands h3 { font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.mur { display: grid; grid-template-columns: repeat(6,1fr); gap: 1px; background: var(--ligne); border: 1px solid var(--ligne); border-radius: var(--r); overflow: hidden; margin-top: 28px; }
.bcell { background: var(--blanc); display: flex; align-items: center; justify-content: center; padding: 28px 12px; font-weight: 800; font-size: 18px; color: #b8b8b8; transition: .14s; }
.bcell:hover { background: var(--g50); color: var(--g700); }

/* ═══ AVIS — 3 grandes cartes ═══ */
.reviews-sec { background: var(--blanc); }
.reviews-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.reviews-head h2 { font-size: clamp(24px, 3vw, 36px); }
.gbadge { display: inline-flex; align-items: center; gap: 8px; background: var(--blanc); border: 1px solid var(--ligne); border-radius: 50px; padding: 7px 16px; font-size: 13.5px; font-weight: 700; }
.rev3-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rev3-card { background: var(--blanc); border-radius: var(--r); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--sh-sm); }
.rev3-qs { font-size: 64px; line-height: .5; color: var(--or); font-family: Georgia, serif; user-select: none; }
.rev3-card p { font-size: 15px; color: #333; line-height: 1.72; flex: 1; }
.rev3-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.rev3-foot .name  { font-size: 13.5px; font-weight: 700; color: var(--g700); }
.rev3-foot .stars { font-size: 12px; color: var(--or); letter-spacing: 1px; }

/* ═══ RÉASSURANCE ═══ */
.assure-sec { background: var(--blanc); }
.assure-top { display: grid; grid-template-columns: 4fr 6fr; gap: 24px; margin-bottom: 24px; align-items: stretch; }

.assure-intro { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 12px 0; }
.assure-intro h2 { font-size: clamp(26px, 3vw, 40px); }
.assure-intro p  { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 38ch; }

.assure-hero { background: var(--g700); border-radius: var(--r); padding: 52px 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.assure-hero h3 { color: #fff; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.02em; }
.assure-hero p  { color: #bbb; font-size: 15.5px; line-height: 1.7; max-width: 50ch; }
.assure-hero-stat { display: flex; align-items: baseline; gap: 10px; }
.assure-hero-stat .n { font-size: 36px; font-weight: 800; color: var(--or); line-height: 1; }
.assure-hero-stat .l { font-size: 14px; color: #aaa; }

.assure-bottom { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.aitem { background: var(--fond); border-radius: var(--r); border: 1px solid var(--ligne); padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; }
.aitem h4 { font-size: 15px; font-weight: 800; }
.aitem p  { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ═══ SLIDER OCCASIONS ═══ */
.occ-sec { background: var(--g50); }
.carnav { display: flex; gap: 10px; }
.carnav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ligne); background: var(--blanc); color: var(--g700); display: flex; align-items: center; justify-content: center; transition: .14s; cursor: pointer; }
.carnav button:hover { border-color: var(--g700); }
.carnav svg { width: 20px; height: 20px; }
.slider { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 2px; scrollbar-width: none; -ms-overflow-style: none; }
.slider::-webkit-scrollbar { display: none; }
.ocard { flex: 0 0 320px; scroll-snap-align: start; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-sm); transition: .16s; }
.ocard:hover { box-shadow: var(--sh-md); }
.ocard .img { aspect-ratio: 16/10; background: #efefef; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.ocard .img img { width: 100%; height: 100%; object-fit: cover; }
.ocard .img svg { width: 32px; height: 32px; }
.ocard .tag { position: absolute; top: 11px; left: 11px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 4px 10px; border-radius: 50px; }
.ocard .tag.occ   { background: var(--g700); color: #fff; }
.ocard .tag.promo { background: var(--or);   color: var(--noir); }
.ocard .b { padding: 16px 18px; }
.ocard h4 { font-size: 16px; font-weight: 800; margin: 4px 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip  { font-size: 11px; font-weight: 600; color: var(--g700); background: var(--g50); border-radius: 50px; padding: 3px 9px; }
.ocard .foot { display: flex; align-items: center; justify-content: space-between; }
.ocard .pr { font-size: 18px; font-weight: 800; }
.ocard .pr s { font-size: 12px; font-weight: 500; color: var(--muted); margin-right: 5px; }
.ocard .see { color: var(--noir); font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.ocard .see svg { width: 14px; height: 14px; }
.ocard .see:hover { opacity: .6; }

/* ═══ CTA BAND ═══ */
.ctaband { background: var(--g700); }
.ctaband .in { max-width: 1400px; margin: 0 auto; padding: 64px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.ctaband h2 { color: #fff; font-size: clamp(26px, 3vw, 40px); margin-bottom: 14px; max-width: 20ch; }
.ctaband p  { color: #ccc; font-size: 16px; margin-bottom: 28px; max-width: 44ch; }
.ctaband .act { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.ctaband .tel { color: #fff; font-weight: 800; font-size: 18px; }
.cta-media { position: relative; }
.cta-media .img { aspect-ratio: 16/11; border-radius: var(--r); background: linear-gradient(150deg,#3a3a3a,#2c2c2c); display: flex; align-items: center; justify-content: center; color: #aaa; overflow: hidden; }
.cta-media .img img { width: 100%; height: 100%; object-fit: cover; }
.cta-media .img svg { width: 42px; height: 42px; opacity: .6; }
.cta-badge { position: absolute; left: 22px; bottom: -22px; background: var(--or); color: var(--noir); border-radius: var(--r); padding: 18px 26px; box-shadow: var(--sh-md); }
.cta-badge .n { font-size: 30px; font-weight: 800; line-height: 1; }
.cta-badge .l { font-size: 13px; margin-top: 5px; color: rgba(0,0,0,.55); }

/* ═══ BANDE RÉASSURANCE FINALE ═══ */
.trust-strip { background: var(--blanc); border-top: 1px solid var(--ligne); }
.trust-strip .wrap { display: grid; grid-template-columns: repeat(4,1fr); padding: 40px 32px; }
.titem { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 0 24px; border-right: 1px solid var(--ligne); }
.titem:last-child { border-right: none; }
.titem .tico { width: 52px; height: 52px; flex-shrink: 0; }
.titem span { font-size: 13.5px; font-weight: 600; color: var(--g700); line-height: 1.4; }

/* ═══ FOOTER ═══ */
footer { background: var(--g800); color: #aaa; font-size: 14px; }
.fcols { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; padding: 52px 0 40px; }
.fbrand small { font-size: 10px; font-weight: 700; letter-spacing: .28em; color: #888; text-transform: uppercase; }
.fbrand .nm { font-size: 20px; font-weight: 800; color: #fff; margin: 4px 0 12px; }
.fbrand p { font-size: 13px; line-height: 1.7; max-width: 34ch; }
footer h5 { color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
footer ul { list-style: none; line-height: 2.1; }
footer a:hover { color: #fff; }
.legal { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 12px; color: #666; text-align: center; }

/* ═══ BURGER + NAV MOBILE ═══ */
.burger { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; padding: 6px 0; cursor: pointer; flex-shrink: 0; }
.burger span { display: block; width: 22px; height: 2px; background: var(--noir); border-radius: 2px; transition: transform .22s, opacity .22s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mob-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 190; opacity: 0; pointer-events: none; transition: opacity .3s; }
.mob-overlay.open { opacity: 1; pointer-events: all; }

.mob-nav { position: fixed; top: 0; left: 0; bottom: 0; width: min(310px, 84vw); background: var(--blanc); z-index: 200; transform: translateX(-100%); transition: transform .32s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; overflow-y: auto; }
.mob-nav.open { transform: translateX(0); box-shadow: 6px 0 32px rgba(0,0,0,.16); }

.mob-nav-top { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--ligne); }
.mob-nav-top .mob-logo { font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.mob-nav-top .mob-logo small { font-size: 9px; font-weight: 700; letter-spacing: .28em; color: var(--muted); text-transform: uppercase; display: block; margin-bottom: 2px; }
.mob-close { background: none; border: none; cursor: pointer; color: var(--g700); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.mob-close:hover { background: var(--g50); }
.mob-close svg { width: 20px; height: 20px; }

.mob-search-wrap { padding: 18px 22px; border-bottom: 1px solid var(--ligne); }
.mob-search-wrap input { width: 100%; padding: 11px 18px; background: var(--g50); border: 1.5px solid var(--ligne); border-radius: 50px; font-family: var(--f); font-size: 14.5px; outline: none; }
.mob-search-wrap input:focus { border-color: var(--noir); }

.mob-nav-list { list-style: none; flex: 1; }
.mob-nav-list li a { display: flex; align-items: center; justify-content: space-between; padding: 17px 22px; font-size: 16px; font-weight: 700; color: var(--noir); border-bottom: 1px solid var(--g50); }
.mob-nav-list li a::after { content: ''; width: 6px; height: 6px; border-right: 2px solid var(--muted); border-top: 2px solid var(--muted); transform: rotate(45deg); flex-shrink: 0; }
.mob-nav-list li a:hover { background: var(--g50); }

.mob-nav-footer { padding: 22px; border-top: 1px solid var(--ligne); display: flex; flex-direction: column; gap: 10px; }
.mob-nav-footer a { font-size: 14.5px; font-weight: 600; color: var(--muted); }
.mob-nav-footer a:hover { color: var(--noir); }

/* ═══ PANIER — sidebar ═══ */
.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 290; opacity: 0; pointer-events: none; transition: opacity .3s; }
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 100vw; background: var(--blanc); z-index: 300; transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; }
.cart-drawer.open { transform: translateX(0); box-shadow: -4px 0 48px rgba(0,0,0,.16); }

.cart-header { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--ligne); flex-shrink: 0; }
.cart-title  { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.cart-badge  { background: var(--or); color: var(--noir); font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.cart-close  { background: none; border: none; cursor: pointer; color: var(--g700); width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.cart-close:hover { background: var(--g50); }
.cart-close svg { width: 18px; height: 18px; }

.cart-items { flex: 1; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--ligne) transparent; }
.cart-item   { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 18px 24px; border-bottom: 1px solid var(--g50); }
.cart-item-img { width: 76px; height: 76px; border-radius: var(--rs); background: var(--g50); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-img svg { width: 22px; height: 22px; opacity: .22; }
.cart-item-brand { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.cart-item-name  { font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.cart-item-row   { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.cart-item-price { font-size: 16px; font-weight: 800; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--ligne); border-radius: 50px; }
.qty button { background: none; border: none; width: 28px; height: 26px; cursor: pointer; font-size: 16px; color: var(--g700); display: flex; align-items: center; justify-content: center; }
.qty button:hover { background: var(--g50); }
.qty span { font-size: 13px; font-weight: 700; padding: 0 8px; min-width: 26px; text-align: center; }
.cart-remove { background: none; border: none; cursor: pointer; color: var(--muted); padding: 4px; border-radius: 6px; display: flex; transition: color .15s; }
.cart-remove:hover { color: #c00; }
.cart-remove svg { width: 15px; height: 15px; }

.cart-footer { border-top: 1px solid var(--ligne); padding: 20px 24px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }
.cart-subtotal { display: flex; align-items: baseline; justify-content: space-between; }
.cart-subtotal .lbl { font-size: 14px; font-weight: 600; color: var(--muted); }
.cart-subtotal .amt { font-size: 22px; font-weight: 800; }
.cart-note { display: flex; align-items: flex-start; gap: 10px; background: var(--g50); border-radius: var(--rs); padding: 12px 14px; font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.cart-note svg { width: 15px; height: 15px; stroke: var(--or-h); flex-shrink: 0; margin-top: 1px; }
.cart-checkout { display: flex; align-items: center; justify-content: center; gap: 9px; background: var(--or); color: var(--noir); font-family: var(--f); font-weight: 700; font-size: 15px; padding: 14px; border-radius: 50px; border: none; cursor: pointer; width: 100%; transition: background .15s; }
.cart-checkout:hover { background: var(--or-h); }
.cart-checkout svg { width: 16px; height: 16px; }
.cart-continue { background: none; border: none; font-family: var(--f); font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; text-align: center; padding: 4px; transition: color .15s; }
.cart-continue:hover { color: var(--noir); }

:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1100px) {
  .mega-wrap { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 1000px) {
  .hero-in, .about-in { grid-template-columns: 1fr; gap: 36px; }
  .pgrid  { grid-template-columns: repeat(3,1fr); }
  .stats .wrap { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: none; }
  .mur    { grid-template-columns: repeat(3,1fr); }
  .rev3-grid    { grid-template-columns: 1fr; }
  .assure-top    { grid-template-columns: 1fr; }
  .assure-bottom { grid-template-columns: repeat(2, 1fr); }
  .ctaband .in  { grid-template-columns: 1fr; gap: 40px; }
  .trust-strip .wrap { grid-template-columns: repeat(2,1fr); gap: 0; }
  .titem { padding: 32px 20px; }
  .titem:nth-child(2) { border-right: none; }
  .titem:nth-child(3) { border-top: 1px solid var(--ligne); border-right: 1px solid var(--ligne); }
  .titem:nth-child(4) { border-top: 1px solid var(--ligne); }
  .fcols  { grid-template-columns: 1fr 1fr; }
  .searchbar { max-width: 300px; }
  /* Placeholders d'images vides : moitié moins hauts sur tablette */
  .hero-img       { aspect-ratio: 2 / 1; }
  .about-img      { aspect-ratio: 5 / 2; }
  .cta-media .img { aspect-ratio: 32 / 11; }
}

@media (max-width: 680px) {
  .pgrid { grid-template-columns: repeat(2,1fr); }
  .sp .qadd { opacity: 1; transform: none; }
  .rev3-grid    { grid-template-columns: 1fr; }
  .assure-top { grid-template-columns: 1fr; }
  .assure-bottom { grid-template-columns: 1fr; }
  .ocard { flex: 0 0 280px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero-in  { padding: 40px 20px 36px; }
  .ctaband .in { padding: 48px 20px; }
  .mega-wrap { padding: 28px 20px; }

  .hbar { grid-template-columns: 44px 1fr 44px; gap: 0; padding: 0 16px; height: 58px; }
  .burger { display: flex; }
  .logo   { justify-self: center; font-size: 18px; }
  .logo-img { height: 40px; max-width: 160px; }
  .searchbar { display: none; }
  .hicons { justify-self: end; gap: 2px; }
  .hicon  { padding: 6px 7px; }
  .hicon span { display: none; }

  .catbar { display: none; }

  section { padding: 48px 0; }
  .stat .n { font-size: 26px; }
  .pgrid  { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .mur    { grid-template-columns: repeat(2,1fr); }
  .fcols  { grid-template-columns: 1fr; }
  .about-badge { left: 0; }
  .trust-strip .wrap { grid-template-columns: 1fr 1fr; }
  .titem  { padding: 28px 16px; }
  .ocard  { flex: 0 0 268px; }

  .rev3-grid { grid-template-columns: 1fr; }

  .assure-top { grid-template-columns: 1fr; }
  .assure-bottom { grid-template-columns: 1fr; }
  .aitem { border-right: none; border-bottom: 1px solid var(--ligne); padding: 32px 24px; }
  .aitem:last-child { border-bottom: none; }

  .cart-drawer { width: 100%; }
  .cart-header { padding: 18px 20px; }
  .cart-item   { padding: 16px 20px; }
  .cart-footer { padding: 18px 20px; }
}
