/* ============================================================
   JOLOF PAPETERIE - CSS Principal
   Palette : Bleu #1a2f7a | Orange #f47920 | Blanc #ffffff
   ============================================================ */

/* ---- Variables ---- */
:root {
  --blue-dark:    #1a2f7a;
  --blue-medium:  #1e3a9e;
  --blue-light:   #2d4ec0;
  --orange:       #f47920;
  --orange-dark:  #d4641a;
  --orange-light: #f9a05a;
  --white:        #ffffff;
  --gray-100:     #f8f9fa;
  --gray-200:     #e9ecef;
  --gray-300:     #dee2e6;
  --gray-500:     #adb5bd;
  --gray-600:     #6c757d;
  --gray-700:     #495057;
  --gray-800:     #343a40;
  --gray-900:     #212529;
  --success:      #28a745;
  --warning:      #ffc107;
  --danger:       #dc3545;
  --shadow-sm:    0 2px 8px rgba(26,47,122,.08);
  --shadow-md:    0 4px 20px rgba(26,47,122,.12);
  --shadow-lg:    0 8px 40px rgba(26,47,122,.18);
  --shadow-orange:0 4px 20px rgba(244,121,32,.25);
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --radius-xl:    30px;
  --transition:   all .3s cubic-bezier(.4,0,.2,1);
  --font-main:    'Inter', 'Segoe UI', sans-serif;
  --font-heading: 'Poppins', 'Inter', sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: clip; }
body {
  font-family: var(--font-main);
  color: var(--gray-800);
  background: #f6f8fc;
  line-height: 1.6;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--blue-dark); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { color: var(--gray-700); }

/* ---- Layout ---- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
/* Pages internes : fond blanc */
.page-hero ~ .section, .section--white { background: #fff; }

.section { padding: 48px 0; }
.section-sm { padding: 32px 0; }
.section-title { text-align: center; margin-bottom: 16px; }
.section-subtitle { text-align: center; color: var(--gray-600); font-size: 1.05rem; margin-bottom: 50px; max-width: 600px; margin-left: auto; margin-right: auto; }
.section-badge {
  display: inline-block; background: rgba(244,121,32,.12); color: var(--orange);
  padding: 6px 18px; border-radius: 50px; font-size: .85rem; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px;
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-gap { display: flex; align-items: center; gap: 12px; }
.text-center { text-align: center; }
.text-orange { color: var(--orange); }
.text-blue { color: var(--blue-dark); }
.fw-700 { font-weight: 700; }
.mt-auto { margin-top: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-xl);
  font-weight: 600; font-size: .95rem; transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange); color: var(--white);
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 6px 25px rgba(244,121,32,.4); }
.btn-secondary {
  background: var(--blue-dark); color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-secondary:hover { background: var(--blue-medium); transform: translateY(-2px); }
.btn-outline {
  border: 2px solid var(--orange); color: var(--orange); background: transparent;
}
.btn-outline:hover { background: var(--orange); color: var(--white); }
.btn-outline-white {
  border: 2px solid var(--white); color: var(--white); background: transparent;
}
.btn-outline-white:hover { background: var(--white); color: var(--blue-dark); }
.btn-sm { padding: 9px 20px; font-size: .875rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-whatsapp { background: #25D366; color: var(--white); }
.btn-whatsapp:hover { background: #128C7E; transform: translateY(-2px); }

/* ---- Cards ---- */
.card {
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-body { padding: 24px; }
.card-img { width: 100%; height: 220px; object-fit: cover; }

/* ---- Product Card ---- */
.product-card {
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: var(--transition); display: flex; flex-direction: column;
  position: relative;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.product-card__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--orange); color: var(--white);
  padding: 4px 10px; border-radius: 50px; font-size: .75rem; font-weight: 700;
}
.product-card__badge.sale { background: var(--danger); }
.product-card__img-wrap {
  position: relative; height: 220px; overflow: hidden; background: var(--gray-100);
}
.product-card__img {
  width: 100%; height: 100%; object-fit: contain; padding: 15px;
  transition: transform .4s ease;
}
.product-card:hover .product-card__img { transform: scale(1.07); }
.product-card__actions {
  position: absolute; bottom: -50px; left: 0; right: 0;
  display: flex; gap: 8px; padding: 10px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  transition: var(--transition);
}
.product-card:hover .product-card__actions { bottom: 0; }
.product-card__body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.product-card__brand { font-size: .78rem; color: var(--orange); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.product-card__name { font-size: .98rem; font-weight: 600; color: var(--gray-800); margin-bottom: 8px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__rating { display: flex; gap: 2px; margin-bottom: 10px; }
.product-card__rating .star { color: var(--warning); font-size: .85rem; }
.product-card__price { margin-top: auto; display: flex; align-items: center; gap: 10px; }
.product-card__price .current { font-size: 1.15rem; font-weight: 700; color: var(--blue-dark); }
.product-card__price .old { font-size: .875rem; color: var(--gray-500); text-decoration: line-through; }
.product-card__price .discount { font-size: .8rem; color: var(--danger); font-weight: 600; }
.btn-add-cart {
  flex: 1; background: var(--blue-dark); color: var(--white);
  padding: 9px 14px; border-radius: var(--radius-sm); font-size: .85rem;
  font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: var(--transition);
}
.btn-add-cart:hover { background: var(--orange); }
.btn-wishlist, .btn-quickview {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  border: 1px solid var(--gray-300); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-600); font-size: .85rem; transition: var(--transition);
  flex-shrink: 0;
}
.btn-wishlist:hover { border-color: var(--danger); color: var(--danger); }
.btn-quickview:hover { border-color: var(--blue-dark); color: var(--blue-dark); }

/* ---- Header / Navbar ---- */
.topbar {
  background: var(--blue-dark); color: rgba(255,255,255,.85);
  padding: 8px 0; font-size: .82rem;
}
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--orange); }
.topbar .flex-between { flex-wrap: wrap; gap: 8px; }

.header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 14px rgba(26,47,122,.08);
  transition: box-shadow .3s, background .3s;
}
.header.scrolled {
  background: rgba(255,255,255,1);
  box-shadow: 0 4px 24px rgba(13,31,78,.12);
}
.navbar { padding: 16px 0; }
.navbar .container { display: flex; align-items: center; gap: 24px; }
.navbar__logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.navbar__logo img { height: 55px; width: auto; }
.navbar__logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.navbar__logo-text .brand { font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem; color: var(--blue-dark); }
.navbar__logo-text .slogan { font-size: .68rem; color: var(--orange); font-weight: 500; }

.navbar__search { flex: 1; max-width: 500px; }
.search-box {
  display: flex; align-items: center;
  border: 2px solid var(--gray-200); border-radius: var(--radius-xl);
  overflow: hidden; transition: var(--transition); background: var(--gray-100);
}
.search-box:focus-within { border-color: var(--orange); background: var(--white); box-shadow: 0 0 0 4px rgba(244,121,32,.1); }
.search-box input {
  flex: 1; border: none; padding: 11px 18px; background: transparent;
  font-size: .92rem; outline: none; color: var(--gray-800);
}
.search-box button {
  padding: 11px 20px; background: var(--orange); color: var(--white);
  font-size: .95rem; transition: var(--transition);
}
.search-box button:hover { background: var(--orange-dark); }

.navbar__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-icon-btn {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 12px; border-radius: var(--radius-sm); color: var(--gray-700);
  transition: var(--transition); position: relative; font-size: .72rem;
}
.nav-icon-btn i { font-size: 1.2rem; }
.nav-icon-btn:hover { color: var(--orange); background: rgba(244,121,32,.06); }
.nav-icon-btn .badge {
  position: absolute; top: 4px; right: 8px;
  background: var(--orange); color: var(--white);
  font-size: .65rem; font-weight: 700; padding: 2px 5px;
  border-radius: 50px; min-width: 18px; text-align: center;
}
.btn-whatsapp-nav {
  background: #25D366; color: var(--white) !important;
  padding: 10px 16px; border-radius: var(--radius-xl);
  font-weight: 600; font-size: .82rem; display: flex; align-items: center; gap: 6px;
}
.btn-whatsapp-nav:hover { background: #128C7E; transform: translateY(-1px); }

.nav-menu { background: var(--blue-dark); }
.nav-menu .container { display: flex; align-items: center; gap: 0; }
.nav-menu__item { position: relative; }
.nav-menu__link {
  display: flex; align-items: center; gap: 6px; padding: 14px 18px;
  color: rgba(255,255,255,.88); font-size: .88rem; font-weight: 500;
  transition: var(--transition); white-space: nowrap;
}
.nav-menu__link:hover, .nav-menu__link.active { color: var(--orange); }
.nav-menu__link i { font-size: .75rem; }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 10px 0;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: var(--transition); z-index: 200;
}
.nav-menu__item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 10px 20px; color: var(--gray-700); font-size: .88rem;
  transition: var(--transition); border-left: 3px solid transparent;
}
.dropdown a:hover { color: var(--orange); background: var(--gray-100); border-left-color: var(--orange); }
.nav-menu__promo { margin-left: auto; }
.nav-menu__promo .nav-menu__link { color: var(--orange); font-weight: 700; }

/* ---- Hero Section ---- */
.hero {
  background: linear-gradient(rgba(10,30,90,.78), rgba(10,30,90,.78)),
              url('/uploads/hero-accueil.png') center/cover no-repeat;
  min-height: 75vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 55px 0;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="g" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r=".5" fill="rgba(255,255,255,.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23g)"/></svg>');
}
.hero__blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .15;
}
.hero__blob-1 { width: 500px; height: 500px; background: var(--orange); top: -100px; right: -100px; }
.hero__blob-2 { width: 300px; height: 300px; background: #4a6cf7; bottom: -50px; left: 100px; }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero__content { color: var(--white); }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(244,121,32,.2); border: 1px solid rgba(244,121,32,.4);
  color: var(--orange-light); padding: 8px 20px; border-radius: 50px;
  font-size: .85rem; font-weight: 600; margin-bottom: 24px;
}
.hero__title { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; margin-bottom: 20px; line-height: 1.1; color: var(--white); }
.hero__title span { color: var(--orange); }
.hero__subtitle { font-size: 1.1rem; color: rgba(255,255,255,.78); margin-bottom: 36px; line-height: 1.7; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero__stat { }
.hero__stat .num { font-size: 1.8rem; font-weight: 800; color: var(--orange); line-height: 1; }
.hero__stat .label { font-size: .8rem; color: rgba(255,255,255,.65); margin-top: 4px; }
.hero__visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero__logo-wrap {
  width: 380px; height: 380px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(20px); box-shadow: 0 20px 60px rgba(0,0,0,.3);
  animation: floatHero 4s ease-in-out infinite;
}
.hero__logo-wrap img { width: 280px; height: 280px; object-fit: contain; filter: drop-shadow(0 10px 30px rgba(0,0,0,.3)); }
@keyframes floatHero { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.hero__floating-card {
  position: absolute; background: var(--white); border-radius: var(--radius-md);
  padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px;
  animation: floatCard 3s ease-in-out infinite;
}
.hero__floating-card:nth-child(2) { top: 20%; right: -20px; animation-delay: .5s; }
.hero__floating-card:nth-child(3) { bottom: 20%; left: -20px; animation-delay: 1s; }
.hero__floating-card i { font-size: 1.4rem; color: var(--orange); }
.hero__floating-card .label { font-size: .75rem; color: var(--gray-600); }
.hero__floating-card .value { font-size: .95rem; font-weight: 700; color: var(--blue-dark); }
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---- Trust Bar ---- */
.trust-bar { background: var(--blue-dark); padding: 12px 0; }
.trust-bar__items { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.trust-bar__item { display: flex; align-items: center; gap: 8px; color: var(--white); font-size: .84rem; font-weight: 500; }
.trust-bar__item i { font-size: 1rem; color: var(--orange); }
.trust-bar__sep { width: 1px; height: 16px; background: rgba(255,255,255,.25); }

/* ---- Categories ---- */
.category-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 20px; text-align: center;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  border: 2px solid transparent; cursor: pointer;
  min-height: 180px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.category-card:hover {
  border-color: var(--orange);
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,.12);
}
.category-card__icon {
  width: 70px; height: 70px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(26,47,122,.08), rgba(244,121,32,.1));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; font-size: 1.5rem; color: var(--blue-dark);
  transition: var(--transition);
}
.category-card:hover .category-card__icon { background: var(--orange); color: var(--white); }
.category-card__name { font-weight: 600; font-size: .92rem; color: var(--gray-800); margin-bottom: 8px; }
.category-card__count {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  background: #f3f5fb;
  color: #6b7280;
  font-size: .8rem;
}
.category-card--all {
  background: var(--blue-dark); color: var(--white);
}
.category-card--all .category-card__icon { background: rgba(255,255,255,.15); color: var(--white); }
.category-card--all .category-card__name { color: var(--white); font-size: 1rem; }
.category-card--all .category-card__count { background: rgba(255,255,255,.15); color: rgba(255,255,255,.85); }

/* ---- Brands ---- */
.brand-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 30px 20px; text-align: center;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  border: 1px solid var(--gray-200);
}
.brand-card:hover { border-color: var(--orange); box-shadow: var(--shadow-md); }
.brand-card__logo { height: 60px; object-fit: contain; margin: 0 auto 14px; }
.brand-card__name { font-weight: 700; color: var(--blue-dark); font-size: 1rem; }
.brand-card__desc { font-size: .82rem; color: var(--gray-600); margin-top: 6px; }

/* ---- Why Us ---- */
.why-card {
  background: var(--gray-100); border-radius: var(--radius-md);
  padding: 32px 24px; text-align: center; transition: var(--transition);
}
.why-card:hover { background: var(--white); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.why-card__icon {
  width: 75px; height: 75px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 1.8rem; color: var(--white);
}
.why-card__title { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.why-card__desc { font-size: .875rem; color: var(--gray-600); line-height: 1.6; }

/* ---- Testimonials ---- */
.testimonial-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 30px; box-shadow: var(--shadow-sm); position: relative;
  border-top: 4px solid var(--orange);
}
.testimonial-card__quote {
  position: absolute; top: 20px; right: 20px;
  font-size: 3rem; color: rgba(244,121,32,.15); font-family: Georgia, serif; line-height: 1;
}
.testimonial-card__text { font-size: .92rem; color: var(--gray-700); margin-bottom: 20px; font-style: italic; line-height: 1.7; }
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dark), var(--orange));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 1rem;
}
.testimonial-card__name { font-weight: 600; font-size: .92rem; color: var(--gray-800); }
.testimonial-card__role { font-size: .78rem; color: var(--gray-500); }
.testimonial-card__stars { color: var(--warning); font-size: .85rem; margin-top: 4px; }

/* ---- Newsletter ---- */
.newsletter { background: linear-gradient(135deg, var(--blue-dark), #162665); padding: 70px 0; }
.newsletter__inner { text-align: center; }
.newsletter h2 { color: var(--white); margin-bottom: 12px; }
.newsletter p { color: rgba(255,255,255,.7); margin-bottom: 32px; }
.newsletter__form { display: flex; max-width: 500px; margin: 0 auto; gap: 0; }
.newsletter__form input {
  flex: 1; padding: 14px 20px; border: none; border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  font-size: .95rem; outline: none;
}
.newsletter__form button {
  padding: 14px 28px; background: var(--orange); color: var(--white);
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  font-weight: 600; font-size: .95rem; transition: var(--transition);
}
.newsletter__form button:hover { background: var(--orange-dark); }

/* ---- Footer ---- */
.footer { background: #0d1c50; color: rgba(255,255,255,.75); padding: 70px 0 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 50px; margin-bottom: 50px; }
.footer__brand { }
.footer__brand .logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer__brand .logo img { height: 55px; }
.footer__brand .logo-text .name { color: var(--white); font-weight: 800; font-size: 1.15rem; }
.footer__brand .logo-text .sub { color: var(--orange); font-size: .7rem; }
.footer__brand p { font-size: .88rem; line-height: 1.7; margin-bottom: 20px; }
.footer__social { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); transition: var(--transition); font-size: .9rem;
}
.social-btn:hover { background: var(--orange); border-color: var(--orange); color: var(--white); transform: translateY(-2px); }
.footer__col h4 { color: var(--white); font-size: .95rem; font-weight: 700; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--orange); display: inline-block; }
.footer__col ul li { margin-bottom: 10px; }
.footer__col ul li a { font-size: .87rem; color: rgba(255,255,255,.65); transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.footer__col ul li a:hover { color: var(--orange); padding-left: 4px; }
.footer__col ul li a i { font-size: .7rem; }
.footer__contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.footer__contact-item i { color: var(--orange); font-size: 1rem; margin-top: 3px; flex-shrink: 0; }
.footer__contact-item p { font-size: .87rem; line-height: 1.5; }
.footer__contact-item a { color: rgba(255,255,255,.75); }
.footer__contact-item a:hover { color: var(--orange); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; font-size: .83rem;
}
.footer__bottom a { color: rgba(255,255,255,.65); }
.footer__bottom a:hover { color: var(--orange); }

/* ---- Breadcrumb ---- */
.breadcrumb { background: var(--gray-100); padding: 14px 0; }
.page-hero .breadcrumb { background: transparent; padding: 0; margin-bottom: 16px; }
.breadcrumb__list { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb__list li { display: flex; align-items: center; gap: 8px; font-size: .875rem; }
.breadcrumb__list li::after { content: '/'; color: var(--gray-400); }
.breadcrumb__list li:last-child::after { display: none; }
.breadcrumb__list a { color: var(--gray-600); }
.breadcrumb__list a:hover { color: var(--orange); }
.breadcrumb__list li:last-child { color: var(--blue-dark); font-weight: 600; }

/* ---- Forms ---- */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: .875rem; font-weight: 600; color: var(--gray-700); margin-bottom: 8px; }
.form-control {
  width: 100%; padding: 12px 16px;
  border: 2px solid var(--gray-200); border-radius: var(--radius-sm);
  font-size: .92rem; outline: none; transition: var(--transition);
  color: var(--gray-800); background: var(--white);
}
.form-control:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(244,121,32,.08); }
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-error { color: var(--danger); font-size: .8rem; margin-top: 5px; }
.form-success { color: var(--success); font-size: .8rem; margin-top: 5px; }

/* ---- Cart Sidebar ---- */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 2000; opacity: 0; visibility: hidden; transition: var(--transition);
  backdrop-filter: blur(4px);
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-sidebar {
  position: fixed; top: 0; right: -420px; width: 420px; max-width: 100vw;
  height: 100vh; background: var(--white); z-index: 2001;
  display: flex; flex-direction: column;
  box-shadow: -10px 0 40px rgba(0,0,0,.2); transition: var(--transition);
}
.cart-sidebar.open { right: 0; }
.cart-sidebar__header {
  padding: 20px 24px; border-bottom: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--blue-dark); color: var(--white);
}
.cart-sidebar__header h3 { color: var(--white); font-size: 1rem; }
.cart-close { color: var(--white); font-size: 1.2rem; opacity: .7; transition: var(--transition); }
.cart-close:hover { opacity: 1; transform: rotate(90deg); }
.cart-sidebar__items { flex: 1; overflow-y: auto; padding: 20px; }
.cart-item {
  display: flex; gap: 14px; padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}
.cart-item__img { width: 75px; height: 75px; border-radius: var(--radius-sm); object-fit: contain; background: var(--gray-100); padding: 5px; }
.cart-item__info { flex: 1; }
.cart-item__name { font-size: .88rem; font-weight: 600; color: var(--gray-800); margin-bottom: 6px; line-height: 1.3; }
.cart-item__price { font-size: .92rem; font-weight: 700; color: var(--blue-dark); }
.cart-item__qty { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-btn {
  width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--gray-300);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; color: var(--gray-600); transition: var(--transition);
}
.qty-btn:hover { border-color: var(--orange); color: var(--orange); }
.qty-val { font-size: .88rem; font-weight: 600; min-width: 20px; text-align: center; }
.cart-item__remove { color: var(--gray-400); font-size: .85rem; cursor: pointer; transition: var(--transition); }
.cart-item__remove:hover { color: var(--danger); }
.cart-sidebar__footer { padding: 20px 24px; border-top: 1px solid var(--gray-200); background: var(--gray-100); }
.cart-total { display: flex; justify-content: space-between; font-size: 1.05rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 16px; }
.cart-empty { text-align: center; padding: 50px 20px; }
.cart-empty i { font-size: 3rem; color: var(--gray-300); margin-bottom: 14px; }
.cart-empty p { color: var(--gray-500); }

/* ---- Pagination ---- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.page-btn {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: .875rem; font-weight: 600; border: 1px solid var(--gray-300);
  color: var(--gray-700); transition: var(--transition);
}
.page-btn:hover, .page-btn.active { background: var(--orange); color: var(--white); border-color: var(--orange); }
.page-btn.disabled { opacity: .4; pointer-events: none; }

/* ---- Alert ---- */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); font-size: .9rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.alert-success { background: rgba(40,167,69,.1); color: #1a6c32; border: 1px solid rgba(40,167,69,.2); }
.alert-danger { background: rgba(220,53,69,.1); color: #8b1c2b; border: 1px solid rgba(220,53,69,.2); }
.alert-info { background: rgba(26,47,122,.08); color: var(--blue-dark); border: 1px solid rgba(26,47,122,.15); }

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  width: 60px; height: 60px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4); transition: var(--transition);
  animation: waPulse 2s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); background: #128C7E; }
.whatsapp-float i { font-size: 1.6rem; color: var(--white); }
@keyframes waPulse { 0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); } 50% { box-shadow: 0 4px 40px rgba(37,211,102,.7); } }
.whatsapp-tooltip {
  position: absolute; right: 70px; background: var(--gray-800); color: var(--white);
  padding: 7px 14px; border-radius: var(--radius-sm); font-size: .8rem; white-space: nowrap;
  opacity: 0; transition: var(--transition);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ---- Loading / Spinner ---- */
.spinner-overlay { position: fixed; inset: 0; background: rgba(255,255,255,.9); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.spinner { width: 45px; height: 45px; border: 4px solid var(--gray-200); border-top-color: var(--orange); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Scroll Top ---- */
.scroll-top {
  position: fixed; bottom: 100px; right: 30px; z-index: 998;
  width: 44px; height: 44px; background: var(--blue-dark); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transition: var(--transition);
  font-size: .9rem;
}
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--orange); transform: translateY(-3px); }

/* ---- Badges & Tags ---- */
.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 50px; font-size: .75rem; font-weight: 600; }
.badge-orange { background: rgba(244,121,32,.12); color: var(--orange); }
.badge-blue { background: rgba(26,47,122,.1); color: var(--blue-dark); }
.badge-green { background: rgba(40,167,69,.1); color: var(--success); }
.badge-red { background: rgba(220,53,69,.1); color: var(--danger); }
.tag { display: inline-block; padding: 5px 12px; border-radius: 50px; border: 1px solid var(--gray-200); font-size: .8rem; color: var(--gray-600); cursor: pointer; transition: var(--transition); }
.tag:hover, .tag.active { border-color: var(--orange); color: var(--orange); background: rgba(244,121,32,.06); }

/* ---- Section BG variants ---- */
.bg-gray { background: var(--gray-100); }
.bg-blue { background: var(--blue-dark); }
.bg-orange { background: var(--orange); }
.bg-gradient-blue { background: linear-gradient(135deg, var(--blue-dark), #162665); }

/* ---- Divider ---- */
.divider { height: 1px; background: var(--gray-200); margin: 0; }
.divider-orange { height: 3px; width: 60px; background: var(--orange); border-radius: 3px; margin: 14px auto 0; }

/* ---- Stars ---- */
.stars { display: flex; gap: 3px; }
.stars .fa-star { color: var(--warning); font-size: .85rem; }
.stars .fa-star.empty { color: var(--gray-300); }

/* ---- Utility ---- */
.hidden { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.overflow-hidden { overflow: hidden; }
.rounded { border-radius: var(--radius-md); }
.shadow { box-shadow: var(--shadow-md); }
.w-100 { width: 100%; }

/* ---- Animations ---- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.animate-fade-up { animation: fadeInUp .6s ease both; }
.animate-delay-1 { animation-delay: .1s; }
.animate-delay-2 { animation-delay: .2s; }
.animate-delay-3 { animation-delay: .3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero__visual { display: none; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }
}

@media (max-width: 768px) {
  .section { padding: 55px 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nav-menu { display: none; }
  .topbar .flex-between { justify-content: center; }
  .navbar__search { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .trust-bar__items { gap: 16px; }
  .trust-bar__sep { display: none; }
  .newsletter__form { flex-direction: column; border-radius: var(--radius-md); }
  .newsletter__form input { border-radius: var(--radius-md) var(--radius-md) 0 0; }
  .newsletter__form button { border-radius: 0 0 var(--radius-md) var(--radius-md); }
  .cart-sidebar { width: 100%; right: -100%; }
}

@media (max-width: 480px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .hero__title { font-size: 1.9rem; }
  .container { padding: 0 16px; }
  .btn-lg { padding: 13px 24px; font-size: .95rem; }
}

/* ---- Mobile Menu ---- */
.mobile-menu-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1500; opacity: 0; visibility: hidden; transition: var(--transition); }
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }
.mobile-menu {
  position: fixed; top: 0; left: -300px; width: 300px; height: 100vh;
  background: var(--white); z-index: 1501; overflow-y: auto;
  transition: var(--transition); box-shadow: var(--shadow-lg);
}
.mobile-menu.open { left: 0; }
.mobile-menu__header {
  background: var(--blue-dark); padding: 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.mobile-menu__header img { height: 45px; }
.mobile-close { color: var(--white); font-size: 1.3rem; }
.mobile-menu__search { padding: 16px; border-bottom: 1px solid var(--gray-200); }
.mobile-menu__search input {
  width: 100%; padding: 10px 16px; border: 1px solid var(--gray-300);
  border-radius: var(--radius-xl); font-size: .9rem; outline: none;
}
.mobile-menu__nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700); font-size: .92rem; font-weight: 500;
}
.mobile-menu__nav a:hover { color: var(--orange); background: var(--gray-50); }
.mobile-menu__nav a i { color: var(--orange); width: 20px; }
.mobile-menu__footer { padding: 20px; background: var(--gray-100); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--gray-700); border-radius: 2px; transition: var(--transition); }
@media (max-width: 768px) { .hamburger { display: flex; } }

/* ============================================================
   MOBILE PREMIUM — Menu, Bottom Nav, Spacing, Sticky CTA
   ============================================================ */

/* ---- Premium Mobile Menu Override ---- */
@media (max-width: 768px) {
  .mobile-menu {
    background: linear-gradient(180deg, #0d1b3e 0%, #122147 50%, #1a2f5e 100%);
    width: 285px;
    left: -285px;
  }
  .mobile-menu.open { left: 0; }
  .mobile-menu__header {
    background: rgba(0,0,0,.25);
    border-bottom: 1px solid rgba(255,255,255,.07);
    padding: 16px 20px;
  }
  .mobile-menu__header img { height: 40px; border-radius: 6px; }
  .mobile-close {
    width: 34px; height: 34px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: var(--white);
    transition: background .2s;
  }
  .mobile-close:hover { background: rgba(255,255,255,.2); }
  .mobile-menu__nav a {
    color: rgba(255,255,255,.82);
    border-bottom: 1px solid rgba(255,255,255,.05);
    padding: 13px 20px;
    font-size: .88rem;
    font-weight: 500;
    transition: all .2s ease;
    gap: 14px;
  }
  .mobile-menu__nav a:hover,
  .mobile-menu__nav a:active {
    color: #fff;
    background: rgba(255,255,255,.05);
    padding-left: 26px;
  }
  .mobile-menu__nav a i {
    width: 32px; height: 32px;
    background: rgba(244,121,32,.18);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--orange);
    font-size: .82rem;
    flex-shrink: 0;
    transition: background .2s;
  }
  .mobile-menu__nav a:hover i { background: rgba(244,121,32,.35); }
  /* Promo link highlight */
  .mobile-menu__nav a[href*="sale=true"] {
    color: var(--orange);
    font-weight: 600;
  }
  .mobile-menu__nav a[href*="sale=true"] i {
    background: rgba(244,121,32,.3);
  }
  /* WhatsApp link */
  .mobile-menu__nav a[href*="wa.me"] {
    color: #25d366;
  }
  .mobile-menu__nav a[href*="wa.me"] i {
    background: rgba(37,211,102,.2);
    color: #25d366;
  }
  /* Phone link */
  .mobile-menu__nav a[href*="tel:"] {
    color: rgba(255,255,255,.7);
    font-size: .84rem;
  }
}

/* ---- Bottom Navigation ---- */
/* Visible par défaut sur mobile, caché sur desktop */
.bottom-nav {
  display: flex;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 24px rgba(0,0,0,.09);
  z-index: 1200;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  transition: transform .3s ease;
}
/* .bottom-nav.hide supprimé — nav toujours visible sur mobile */

/* Caché sur écrans larges (tablette/desktop) */
@media (min-width: 769px) {
  .bottom-nav { display: none !important; }
  body.bottom-nav-active { padding-bottom: 0 !important; }
}

/* Styles des items — globaux (le nav est déjà caché sur desktop) */
.bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #9ca3af;
  font-size: .62rem;
  font-weight: 500;
  text-decoration: none;
  border: none; background: none;
  font-family: inherit;
  cursor: pointer;
  transition: color .2s;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  padding: 0;
}
.bottom-nav__item i { font-size: 1.18rem; transition: transform .2s, color .2s; line-height: 1; }
.bottom-nav__item span { line-height: 1; }
.bottom-nav__item:hover, .bottom-nav__item.active { color: #f47920; }
.bottom-nav__item.active i { transform: translateY(-2px); }
.bottom-nav__badge {
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(2px);
  background: #f47920;
  color: #fff;
  font-size: .58rem; font-weight: 700;
  min-width: 15px; height: 15px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px; line-height: 1;
  border: 1.5px solid #fff;
}
/* Push page content above nav (mobile seulement) */
@media (max-width: 768px) {
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 768px) {
  /* Floating buttons repositionnés au-dessus du bottom nav */
  /* ── Floating buttons stack (bottom → top):
     [60px bottom nav] → [12px gap] → [WhatsApp 48px] → [10px gap] → [Chatbot 50px]
  ── */

  /* WhatsApp: juste au-dessus de la bottom nav */
  .whatsapp-float {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    right: 14px !important;
    width: 48px !important;
    height: 48px !important;
    font-size: 1.25rem !important;
    border-radius: 14px !important;
    transition: transform .3s ease, opacity .3s ease !important;
  }
  /* cta-hidden supprimé — WhatsApp toujours visible */

  /* Chatbot: au-dessus du WhatsApp (72 + 48 + 10 = 130px) */
  #jp-chatbot-btn {
    bottom: calc(130px + env(safe-area-inset-bottom, 0px)) !important;
    right: 14px !important;
    width: 50px !important;
    height: 50px !important;
  }
  #jp-chatbot-btn svg { width: 22px !important; height: 22px !important; }

  /* Chatbot window: mobile full-width */
  #jp-chatbot-win {
    bottom: calc(192px + env(safe-area-inset-bottom, 0px)) !important;
    right: 8px !important;
    left: 8px !important;
    width: auto !important;
    max-height: 62vh !important;
    border-radius: 16px !important;
  }

  /* Scroll-top: inutile sur mobile avec la bottom nav */
  .scroll-top { display: none !important; }
}

/* ---- Mobile Spacing Amélioré ---- */
@media (max-width: 768px) {
  .section { padding: 44px 0; }
  .page-hero { padding: 52px 0 38px !important; }
  .section-subtitle { font-size: .95rem; margin-bottom: 32px; }
  .hero { padding: 50px 0 38px; }
  .hero__title { font-size: clamp(1.7rem, 7vw, 2.3rem); }
  .product-card { border-radius: 10px; }
  .product-card__body { padding: 14px; }
  .footer { padding-top: 44px; }
  .footer__grid { gap: 28px; }
}
@media (max-width: 480px) {
  .section { padding: 32px 0; }
  .container { padding: 0 14px; }
  .section-header { margin-bottom: 18px; }
  .product-card__body { padding: 11px 12px; }
  .product-card__title { font-size: .88rem; }
  .product-card__price { font-size: 1rem; }
  .btn { font-size: .85rem; }
}

/* ============================================================
   MOBILE PREMIUM v2 — Overflow fix, Hero, Nav, Flottants
   ============================================================ */

/* ── 1. FIX OVERFLOW DÉBORDEMENT ─────────────────────────── */
.hero { overflow: hidden; }
*, *::before, *::after { max-width: 100%; }
img, video, iframe { max-width: 100%; }
/* Blobs décoratifs : clip dans le hero */
.hero__blob { overflow: hidden; }
section, .section { overflow-x: clip; }

/* ── 2. HERO MOBILE SIMPLIFIÉ ────────────────────────────── */
@media (max-width: 768px) {
  .hero {
    min-height: auto !important;
    padding: 48px 0 36px !important;
  }
  .hero__subtitle { display: none !important; }
  /* Garder seulement 2 stats */
  .hero__stat:nth-child(n+3) { display: none !important; }
  .hero__stats { gap: 20px !important; justify-content: center !important; }
  .hero__stat .num { font-size: 1.9rem; }
  /* CTA empilés full-width */
  .hero__actions {
    flex-direction: column !important;
    gap: 10px !important;
    align-items: stretch !important;
  }
  .hero__actions .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 13px 20px !important;
    font-size: .95rem !important;
  }
  /* Header Commander compact */
  .header__actions .btn-primary {
    padding: 8px 14px !important;
    font-size: .8rem !important;
    border-radius: 20px !important;
  }
  .header__actions .btn-primary i { font-size: .9rem !important; }
}

/* ── 3. BOTTOM NAV PREMIUM ───────────────────────────────── */
.bottom-nav {
  background: rgba(255,255,255,.88) !important;
  backdrop-filter: blur(20px) saturate(1.8) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.8) !important;
  border-top: 1px solid rgba(0,0,0,.06) !important;
}
/* Indicateur actif en haut */
.bottom-nav__item.active::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 3px;
  background: #f47920;
  border-radius: 0 0 4px 4px;
}
/* Glow sur icône active */
.bottom-nav__item.active i {
  filter: drop-shadow(0 0 6px rgba(244,121,32,.55));
}
/* Icônes un peu plus grandes */
.bottom-nav__item i { font-size: 1.3rem !important; }
.bottom-nav__item span { font-size: .64rem !important; letter-spacing: .2px; }
/* Tap feedback */
.bottom-nav__item:active { transform: scale(.9); transition: transform .1s; }

/* ── 4. FLOTTANTS — CHATBOT CACHÉ SUR MOBILE ─────────────── */
@media (max-width: 768px) {
  /* Cacher le chatbot : WhatsApp suffit */
  #jp-chatbot-btn { display: none !important; }
  #jp-chatbot-win { display: none !important; }
  /* WhatsApp repositionné juste au-dessus du nav */
  .whatsapp-float {
    bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
    right: 14px !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 16px !important;
    font-size: 1.35rem !important;
  }
}

/* ── 5. TYPOGRAPHIE MOBILE ───────────────────────────────── */
@media (max-width: 768px) {
  .hero__title { font-size: clamp(1.9rem, 8vw, 2.4rem) !important; line-height: 1.15 !important; }
  h2, .section-title { font-size: clamp(1.5rem, 6vw, 2rem) !important; }
  h3 { font-size: clamp(1.1rem, 4vw, 1.4rem) !important; }
  p, .section-subtitle { font-size: .97rem; line-height: 1.7; }
}
@media (max-width: 480px) {
  .hero__title { font-size: 1.9rem !important; }
}

/* ── 6. CATÉGORIES PREMIUM TAP ───────────────────────────── */
@media (max-width: 768px) {
  .category-card {
    transition: transform .15s ease, box-shadow .15s ease !important;
  }
  .category-card:active {
    transform: scale(.96) !important;
    box-shadow: 0 2px 12px rgba(0,0,0,.12) !important;
  }
}


/* ═══════════════════════════════════════════════════
   DESIGN TOKENS & COMPOSANTS MODERNES
   ═══════════════════════════════════════════════════ */

/* Section headers */
.section-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.section-header-flex .section-title { margin-bottom: 0; }
.see-all-link {
  font-size: .82rem;
  font-weight: 600;
  color: #F97316;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: gap .2s;
}
.see-all-link:hover { gap: 8px; }

/* Badge labels */
.badge-new {
  background: #dcfce7;
  color: #16a34a;
  border-radius: 6px;
  padding: 2px 7px;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
}
.badge-promo {
  background: #fef3c7;
  color: #d97706;
  border-radius: 6px;
  padding: 2px 7px;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
}
.badge-hot {
  background: #fee2e2;
  color: #dc2626;
  border-radius: 6px;
  padding: 2px 7px;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Squelettes chargement */
.sk-card {
  border-radius: 14px;
  border: 1px solid #e8edf5;
  padding: 16px;
  background: #fff;
  overflow: hidden;
}
.sk-img {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  margin-bottom: 12px;
}
.sk-line {
  height: 14px;
  border-radius: 6px;
  margin-bottom: 8px;
}
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.shimmer {
  background: linear-gradient(90deg, #f0f2f5 25%, #e8ebf0 50%, #f0f2f5 75%);
  background-size: 400px 100%;
  animation: shimmer 1.4s infinite;
}

/* Container max-width cohérent */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Responsive global */
@media (max-width: 992px) {
  .section { padding: 40px 0; }
}
@media (max-width: 768px) {
  .section { padding: 32px 0; }
  .section-title { font-size: 1.35rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  .section { padding: 24px 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ═══ NAVBAR SCROLLED — compact & élégante ═══ */
.header.scrolled .navbar { padding: 10px 0; }
.header.scrolled .navbar__logo img { height: 44px; }
.header.scrolled .nav-menu { border-top: 1px solid #edf1f7; }

/* ═══ JP PREMIUM HARMONISATION GLOBALE ═══ */
/* Header non-collant : seule la barre de menu se fixe au scroll */
.header { position: static !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.nav-menu.nav-fixed {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  box-shadow: 0 6px 18px rgba(26,47,122,.18);
  animation: navDrop .28s ease;
}
@keyframes navDrop { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* Breadcrumb : fond transparent pour se fondre dans le bleu (plus de bande blanche) */
.breadcrumb { background: transparent !important; padding: 12px 0 !important; }

:root { --jp-bg: #E6EDFA; }
body { background: var(--jp-bg) !important; }

/* Pages internes : fond gris clair (les cartes blanches ressortent) */
.page-hero ~ .section,
.page-hero ~ section { background: var(--jp-bg) !important; }
.section--white { background: #fff !important; }

/* Sections plus compactes */
.section { padding: 44px 0; }

/* Cartes produits : hover premium uniforme (toutes pages) */
.product-card {
  border-radius: 14px;
  transition: transform .25s ease, box-shadow .25s ease !important;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(26,47,122,.13) !important;
}
.product-card__img-wrap { overflow: hidden; }
.product-card__img { transition: transform .3s ease; }
.product-card:hover .product-card__img { transform: scale(1.05); }

/* Autres cartes : hover doux */
.brand-card, .why-card, .category-card, .testimonial-card {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
}
.brand-card:hover, .category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(26,47,122,.12) !important;
}
.why-card:hover { transform: translateY(-4px); }
.testimonial-card { border-radius: 18px !important; box-shadow: 0 6px 24px rgba(26,47,122,.08) !important; }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(26,47,122,.14) !important; }

/* Sidebar / panneaux : carte blanche premium */
.sidebar { background:#fff; border-radius:16px; box-shadow:0 4px 18px rgba(26,47,122,.06); }

/* Étoiles dorées cohérentes */
.stars, .product-card__rating .fa-star { color:#FFB800; }

/* Boutons : transition douce */
.btn { transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn-primary:hover, .btn-secondary:hover { transform: translateY(-2px); }

/* Anti-débordement horizontal global */
html, body { max-width:100%; overflow-x:clip; }

/* Responsive : grilles produits */
@media (max-width: 992px) {
  .shop-products-grid, .grid-4, .grid-5 { grid-template-columns: repeat(2,1fr) !important; }
  .grid-3 { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 600px) {
  .shop-products-grid, .grid-4, .grid-5, .grid-3, .grid-2 { grid-template-columns: 1fr !important; }
  .section { padding: 30px 0; }
}
