/* ============================================================
   SAREF INTERNATIONAL — style.css
   Feuille de style principale — tous les styles du site
   
   POUR LA MAINTENANCE : éditez les fichiers séparés :
     css/base.css         Variables, reset, boutons, animations
     css/layout.css       Topbar, navbar, footer
     css/accueil.css      Page d'accueil (hero, carousel…)
     css/departements.css Page départements + catalogue
     css/pages.css        Pages intérieures partagées
   
   Ce fichier est généré automatiquement — ne pas éditer.
   ============================================================ */


/* ══════ base.css ══════ */

/* SAREF INTERNATIONAL — base.css
   Variables, Reset, Utilitaires, Boutons, Animations, Back-to-top,
   Page-banner, Page-section, Toast, Scroll-progress, WhatsApp FAB */

/* ============================================================
   SAREF INTERNATIONAL — Feuille de style principale
   style.css
   ============================================================

   STRUCTURE :
   1.  Variables CSS
   2.  Reset & Base
   3.  Utilitaires
   4.  Boutons
   5.  Topbar
   6.  Navbar
   7.  Hero
   8.  Ticker
   9.  About
   10. Départements
   11. Pourquoi nous
   12. Partenaires
   13. Contact
   14. Footer
   15. Retour en haut
   16. Animations
   17. Page Banner
   18. Page Section
   19. Actualités
   20. Responsive
   21. Boutique / Carrousel / Partenaires
   22. Composants avancés (hero-photo, scroll-progress)
   23. Surcharges Premium
   24. Nouveaux composants (slideshow, lightbox, dept-cards)
   ============================================================ */

/* ──────────────────────────────────────────
   1. VARIABLES CSS
────────────────────────────────────────── */
:root {
  /* ── Couleurs principales (Premium Palette) ── */
  --red:        #E11D48;
  --red-dk:     #BE123C;
  --red-lt:     #FB7185;
  --yellow:     #FACC15;
  --yellow-dk:  #EAB308;
  --yellow-lt:  #FEF08A;
  --dark:       #0F172A;
  --dark-2:     #1E293B;
  --gray:       #64748B;
  --gray-lt:    #94A3B8;
  --light:      #F8FAFC;
  --light-2:    #F1F5F9;
  --white:      #FFFFFF;

  /* ── Design tokens (Soft Shadows & Glass) ── */
  --shadow-sm:  0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow:     0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg:  0 24px 50px rgba(15, 23, 42, 0.12);
  --glass-bg:   rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --radius-sm:  8px;
  --radius:     16px;
  --radius-lg:  24px;
  --trans:      0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* ── Espacements sections ── */
  --section-py: 70px;
}

/* ──────────────────────────────────────────
   2. RESET & BASE
────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* ──────────────────────────────────────────
   3. UTILITAIRES
────────────────────────────────────────── */
.container {
  width: 92%;
  max-width: 1320px;
  margin: 0 auto;
}

/* ── Section tag pill ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--yellow);
  color: var(--red-dk);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}

/* ── Titres de section ── */
.section-header {
  position: relative;
  z-index: 1;
}

.section-header[data-watermark]::before {
  content: attr(data-watermark);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(4rem, 10vw, 10rem);
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(15, 23, 42, 0.04);
  z-index: -1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--dark);
}

.section-sub {
  font-size: 0.97rem;
  color: var(--gray);
  max-width: 580px;
  line-height: 1.8;
}

/* ── Page section padding uniforme ── */
.page-section {
  padding: var(--section-py) 0;
}

/* ──────────────────────────────────────────
   4. BOUTONS
────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--trans);
  border: none;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.btn i { font-size: 0.85em; }

.btn-primary {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dk) 100%);
  color: var(--dark);
  box-shadow: 0 4px 16px rgba(253,216,53,0.3);
  position: relative;
  overflow: hidden;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--yellow-dk) 0%, var(--yellow) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(253,216,53,0.45);
}

.btn-outline {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--red-dk);
  border-color: var(--white);
  transform: translateY(-3px);
}

.btn-red {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dk) 100%);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(204,34,34,0.3);
  position: relative;
  overflow: hidden;
}
.btn-red:hover {
  box-shadow: 0 6px 24px rgba(204,34,34,0.45);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ──────────────────────────────────────────
   15. BACK TO TOP
────────────────────────────────────────── */
#back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(211, 47, 47, 0.4);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--trans);
  z-index: 999;
  border: none;
}
#back-top.show {
  opacity: 1;
  pointer-events: all;
}
#back-top:hover {
  background: var(--red-dk);
  transform: translateY(-3px);
}

/* ──────────────────────────────────────────
   16. ANIMATIONS
────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }

/* ──────────────────────────────────────────
   17. PAGE BANNER (titre de page intérieure)
────────────────────────────────────────── */
.page-banner {
  background: linear-gradient(135deg, var(--red-dk) 0%, var(--red) 100%);
  padding: 70px 0 50px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-banner .container {
  position: relative;
}
.page-banner h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 10px;
}
.page-banner .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  opacity: 0.85;
}
.page-banner .breadcrumb a {
  color: var(--yellow);
}
.page-banner .breadcrumb a:hover {
  text-decoration: underline;
}
.page-banner .breadcrumb i {
  font-size: 0.7rem;
  opacity: 0.7;
}

/* ──────────────────────────────────────────
   18. PAGE SECTION (intérieure)
────────────────────────────────────────── */
.page-section {
  padding: 60px 0;
}
.page-section.bg-light {
  background: var(--light);
}

/* ──────────────────────────────────────────
   COMPOSANTS AVANCÉS
────────────────────────────────────────── */

/* ── BARRE DE PROGRESSION SCROLL ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--red));
  z-index: 10001;
  transition: width 0.05s linear;
}

/* ══ BOUTON WHATSAPP FLOTTANT ══ */
.whatsapp-fab {
  position: fixed;
  bottom: 90px;
  right: 26px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(37,211,102,.45);
  z-index: 998;
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 26px rgba(37,211,102,.6);
  color: #fff;
}
.whatsapp-fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37,211,102,.4);
  animation: wa-pulse 2.2s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: .7; }
  70%  { transform: scale(1.6); opacity: 0;  }
  100% { transform: scale(1.6); opacity: 0;  }
}
/* Tooltip au survol */
.whatsapp-fab .wa-tooltip {
  position: absolute;
  right: 66px;
  background: #1a1a1a;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: .78rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.whatsapp-fab:hover .wa-tooltip { opacity: 1; }

/* ══ IMAGES — placeholder lazy loading ══ */
img[loading="lazy"] {
  background: #f1f5f9;
}
/* Évite le layout shift : les images produits ont une hauteur réservée */
.prod-img-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 62%;  /* ratio 16/10 */
  overflow: hidden;
  background: #f8f9fb;
  border-radius: 10px 10px 0 0;
}
.prod-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* ══════ layout.css ══════ */

/* SAREF INTERNATIONAL — layout.css
   Topbar, Navbar, Footer et leurs variantes Responsive */

/* ──────────────────────────────────────────
   5. TOPBAR
────────────────────────────────────────── */
.topbar {
  background: linear-gradient(90deg, #1a1a1a 0%, #2d2d2d 100%);
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.3px;
  padding: 8px 0;
  position: relative;
}
.topbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #FDD835 25%, #F9A825 50%, #FDD835 75%, transparent 100%);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar a {
  color: var(--yellow);
  transition: var(--trans);
}
.topbar a:hover {
  color: var(--white);
}

.topbar i {
  margin-right: 5px;
}

/* ──────────────────────────────────────────
   6. NAVBAR
────────────────────────────────────────── */
#navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 8px;
  flex-wrap: nowrap;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  background: transparent;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.logo-text {
  line-height: 1.1;
}
.logo-text span:first-child {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--red-dk);
  letter-spacing: 0.5px;
}
.logo-text span:last-child {
  font-size: 0.64rem;
  color: var(--gray);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1px;
  flex-shrink: 0;
}

.nav-links a {
  padding: 7px 10px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.8rem;
  transition: var(--trans);
  color: var(--dark);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--yellow-lt);
  color: var(--red-dk);
}

/* ── Dropdown sous-menu ── */
.nav-links li {
  position: relative;
  list-style: none;
}
.nav-links li .dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.14);
  border-top: 3px solid var(--red);
  min-width: 230px;
  z-index: 999;
  padding: 8px 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
  transform: translateX(-50%) translateY(-6px);
}
.nav-links li:hover .dropdown,
.nav-links li:focus-within .dropdown {
  display: block;
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
/* Petite flèche au-dessus du dropdown */
.nav-links li .dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-bottom-color: var(--red);
  border-top: none;
}
.dropdown-header {
  padding: 8px 18px 6px;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--red);
  border-bottom: 1px solid var(--light-2);
  margin-bottom: 4px;
}
.dropdown a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 9px 18px !important;
  font-size: .82rem !important;
  font-weight: 500 !important;
  color: var(--dark) !important;
  border-radius: 0 !important;
  background: transparent !important;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.dropdown a:hover {
  background: var(--yellow-lt) !important;
  color: var(--red-dk) !important;
}
.dropdown a i {
  width: 18px;
  text-align: center;
  color: var(--red);
  font-size: .8rem;
}
/* Chevron sur le lien parent */
.has-dropdown > a::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: .55rem;
  margin-left: 4px;
  opacity: .6;
  transition: transform .2s;
}
.nav-links li.has-dropdown:hover > a::after {
  transform: rotate(180deg);
}

/* ── Sous-menu mobile (accordion) ── */
.mobile-submenu {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 4px 0 4px 16px;
  border-left: 3px solid var(--yellow);
  margin: 2px 0 4px 14px;
}
.mobile-submenu.open { display: flex; }
.mobile-submenu a {
  padding: 7px 12px !important;
  font-size: .82rem !important;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mobile-submenu a i {
  width: 16px;
  text-align: center;
  color: var(--red);
  font-size: .75rem;
}
.mobile-dept-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.mobile-dept-toggle .toggle-icon {
  font-size: .65rem;
  transition: transform .2s;
  color: var(--red);
}
.mobile-dept-toggle.open .toggle-icon {
  transform: rotate(180deg);
}

/* ── Badge Promotions dans la navbar ── */
.nav-promo-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-promo-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: .6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 2px 6px;
  border-radius: 20px;
  line-height: 1.4;
  animation: badge-pulse 1.8s ease-in-out infinite;
  vertical-align: middle;
}
.mobile-menu .nav-promo-badge {
  background: var(--red);
  color: #fff;
}
@keyframes badge-pulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%       { transform: scale(1.12); opacity: .85; }
}

.nav-cta {
  margin-left: 6px;
  padding: 8px 14px !important;
  font-size: 0.8rem !important;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Masquer le texte du logo sur écrans moyens pour faire de la place */
@media (max-width: 1280px) {
  .logo-text { display: none; }
  .logo { gap: 0; }
}

/* Masquer le bouton CTA sur écrans intermédiaires (il est dans le menu hamburger) */
@media (max-width: 1150px) and (min-width: 1051px) {
  .nav-cta { display: none; }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--red-dk);
  border-radius: 2px;
  transition: var(--trans);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 2px solid var(--yellow);
  padding: 16px 20px;
  gap: 4px;
}
.mobile-menu a {
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
  transition: var(--trans);
}
.mobile-menu a:hover {
  background: var(--yellow-lt);
  color: var(--red-dk);
}
.mobile-menu.open {
  display: flex;
}

/* ──────────────────────────────────────────
   14. FOOTER
────────────────────────────────────────── */
footer {
  background: linear-gradient(180deg, #1a1a1a 0%, #111 100%);
  color: var(--white);
  padding: 70px 0 0;
  position: relative;
  border-top: 1.5px solid transparent;
  border-image: linear-gradient(90deg, transparent 0%, #FDD835 25%, #F9A825 50%, #FDD835 75%, transparent 100%) 1;
  box-shadow: 0 -1px 10px rgba(253, 216, 53, 0.15);
}
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #FDD835 25%, #F9A825 50%, #FDD835 75%, transparent 100%);
  opacity: 0.9;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 16px 0 24px;
}

.footer-logo .logo-text span:first-child {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--trans);
  font-size: 1rem;
}
.social-link:hover {
  background: var(--yellow);
  color: var(--red-dk);
}

.footer-col h4 {
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: var(--yellow);
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  transition: var(--trans);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-col ul li a:hover {
  color: var(--yellow);
  padding-left: 4px;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom span {
  color: var(--yellow);
}

/* ──────────────────────────────────────────
   20. RESPONSIVE
────────────────────────────────────────── */

/* Tablet */
@media (max-width: 960px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    min-height: 300px;
    border-radius: 14px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .about-img-main {
    height: 280px;
  }
  .about-badge {
    bottom: -10px;
    right: 10px;
  }
  .dept-panel-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .dept-info-card {
    position: static;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* Mobile / tablette */
@media (max-width: 1050px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .topbar-left {
    display: none;
  }
  .hero-stats {
    gap: 20px;
  }
  .hero-stats .stat-num {
    font-size: 1.5rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-values {
    grid-template-columns: 1fr;
  }
  .contact-form {
    padding: 24px 20px;
  }
  .dept-info-card {
    padding: 28px 20px;
  }
}

/* ══════════════════════════════════════════════════════
   NAVBAR — Logo plus lisible
══════════════════════════════════════════════════════ */
.logo-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  background: white;
  border: 2px solid rgba(204,34,34,0.12);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  flex-shrink: 0;
}

/* ── Afficher le texte du logo jusqu'à 1100px ── */
@media (min-width: 1100px) {
  .logo-text { display: block !important; }
  .logo { gap: 12px !important; }
}

/* ══════════════════════════════════════════════════════
   FOOTER — Séparateur enrichi
══════════════════════════════════════════════════════ */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 24px 0;
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  transition: color 0.3s ease;
}
.footer-bottom a:hover {
  color: var(--yellow);
}



/* ══════ accueil.css ══════ */

/* SAREF INTERNATIONAL — accueil.css
   Hero, Slideshow, Ticker, About-home, Boutique, Carrousel produits,
   Partenaires, Photo-grid, Lightbox, Cartes départements (home) */

/* ──────────────────────────────────────────
   7. HERO
────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--red-dk) 0%, var(--red) 55%, #A02020 100%);
  padding: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 80%, rgba(253,216,53,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(255,255,255,0.06) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom right, transparent 49.5%, var(--white) 50%);
  z-index: 2;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -60px) scale(1.15); }
  66% { transform: translate(-30px, 30px) scale(0.85); }
}

.hero-bg-shape,
.hero-bg-shape2 {
  position: absolute;
  background: var(--yellow);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.hero-bg-shape {
  right: -100px;
  top: -60px;
  width: 500px;
  height: 500px;
  opacity: 0.12;
  animation: blobFloat 16s ease-in-out infinite;
}
.hero-bg-shape2 {
  left: -60px;
  bottom: -80px;
  width: 350px;
  height: 350px;
  opacity: 0.1;
  animation: blobFloat 20s ease-in-out infinite reverse;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 52px 0 110px max(4vw, calc((100vw - 1320px) / 2));
}

/* ── Animations texte hero ── */
@keyframes heroTextIn {
  0%   { opacity: 0; transform: translateY(28px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Hero content */
.hero-content {
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-badge   { animation: heroTextIn 0.7s cubic-bezier(0.16,1,0.3,1) 0.05s both; }
.hero-content h1 { animation: heroTextIn 0.7s cubic-bezier(0.16,1,0.3,1) 0.18s both; }
.hero-content p  { animation: heroTextIn 0.7s cubic-bezier(0.16,1,0.3,1) 0.30s both; }
.hero-btns       { animation: heroTextIn 0.7s cubic-bezier(0.16,1,0.3,1) 0.42s both; }
.hero-stats      { animation: heroTextIn 0.7s cubic-bezier(0.16,1,0.3,1) 0.54s both; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(253,216,53,0.3);
  backdrop-filter: blur(12px);
  border-radius: 30px;
  padding: 7px 20px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--yellow);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-content h1 .highlight {
  color: var(--yellow);
  position: relative;
}
.hero-content h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--yellow);
  opacity: 0.4;
  border-radius: 2px;
}

.hero-content p {
  font-size: 0.95rem;
  opacity: 0.88;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item {
  text-align: center;
  padding: 0 8px;
}
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  opacity: 0.75;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  overflow: hidden;
  border-radius: 16px 0 0 16px;
  min-height: 480px;
}

.hero-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
  color: var(--white);
  transition: var(--trans);
}
.hero-card:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
}
.hero-card i {
  font-size: 2.2rem;
  color: var(--yellow);
  margin-bottom: 12px;
  display: block;
}
.hero-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
}
.hero-card.tall {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-card.tall i {
  font-size: 3rem;
}

/* ──────────────────────────────────────────
   8. TICKER
────────────────────────────────────────── */
.ticker {
  background: linear-gradient(90deg, var(--yellow) 0%, var(--yellow-dk) 100%);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(253,216,53,0.3);
  position: relative;
  z-index: 3;
}

.ticker-track {
  display: inline-flex;
  animation: ticker-anim 30s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px;
  font-weight: 600;
  color: var(--red-dk);
  font-size: 0.9rem;
}
.ticker-item i {
  font-size: 1rem;
}

@keyframes ticker-anim {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ──────────────────────────────────────────
   9. ABOUT
────────────────────────────────────────── */
#about {
  padding: 100px 0;
  background: var(--light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img-main {
  width: 100%;
  height: 420px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dk) 100%);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.about-img-main::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}
.about-img-main i {
  position: relative;
  z-index: 1;
  font-size: 5rem;
  margin-bottom: 16px;
}
.about-img-main span {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  font-weight: 700;
  opacity: 0.9;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--yellow);
  color: var(--red-dk);
  border-radius: 14px;
  padding: 20px 24px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  box-shadow: var(--shadow);
  text-align: center;
  line-height: 1.2;
}
.about-badge .big {
  font-size: 2.2rem;
  display: block;
}
.about-badge .sm {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about-content .section-sub {
  margin-bottom: 32px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.value-card {
  background: var(--white);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: var(--trans);
}
.value-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.value-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, var(--red-lt), var(--red));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}
.value-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.value-card p {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ══════════════════════════════════════════
   NOTRE BOUTIQUE
══════════════════════════════════════════ */
.boutique-section { background: var(--light); }

.boutique-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.boutique-text p {
  color: var(--gray);
  line-height: 1.8;
  font-size: 1rem;
}

.photo-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 230px 230px;
  gap: 12px;
}

.photo-collage .photo-main {
  grid-row: 1 / 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.photo-collage .photo-side,
.photo-collage .photo-side2 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .boutique-grid { grid-template-columns: 1fr; }
  .photo-collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px;
  }
  .photo-collage .photo-main { grid-row: auto; }
  .photo-collage .photo-side2 { display: none; }
}

/* ══════════════════════════════════════════
   PRODUITS CARROUSEL
══════════════════════════════════════════ */
.products-showcase { background: var(--white); }

.products-carousel-wrapper {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
}

.products-carousel {
  display: flex;
  gap: 20px;
  transition: transform 0.45s ease;
}

.product-slide {
  min-width: calc(33.33% - 15px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: center;
  flex-shrink: 0;
  transition: transform var(--trans);
}

.product-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.product-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.product-slide p {
  padding: 14px 12px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  border-top: 2px solid var(--yellow);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--red);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  z-index: 10;
  transition: var(--trans);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(211, 47, 47, 0.35);
}

.carousel-btn:hover { background: var(--red-dk); }
.carousel-btn:disabled { opacity: 0.35; cursor: default; }
.carousel-btn.prev { left: -8px; }
.carousel-btn.next { right: -8px; }

@media (max-width: 900px) {
  .product-slide { min-width: calc(50% - 10px); }
}

@media (max-width: 540px) {
  .product-slide { min-width: 100%; }
}

/* ══════════════════════════════════════════
   PARTENAIRES
══════════════════════════════════════════ */
.partners-section { background: var(--light); }

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.partner-logo {
  background: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: var(--radius);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.partner-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
  border-color: var(--yellow);
}

.partner-logo img {
  height: 52px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(30%);
  transition: var(--trans);
}

.partner-logo:hover img {
  filter: grayscale(0%);
}

/* ══════════════════════════════════════════════
   HERO PHOTO GRID — Animations premium
══════════════════════════════════════════════ */

/* Entrée glissée depuis la droite */
@keyframes heroSlideIn {
  0%   { opacity: 0; transform: translateX(60px) scale(0.94); }
  100% { opacity: 1; transform: translateX(0)   scale(1); }
}
/* Flottement doux (montée/descente continue) */
@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
/* Flottement décalé (descend puis monte) */
@keyframes heroFloatAlt {
  0%, 100% { transform: translateY(0px) rotate(0.3deg); }
  50%       { transform: translateY(8px) rotate(-0.3deg); }
}
/* Ken Burns — zoom lent et dérive légère */
@keyframes kenBurns1 {
  0%   { transform: scale(1)    translate(0,    0); }
  100% { transform: scale(1.12) translate(-2%, -2%); }
}
@keyframes kenBurns2 {
  0%   { transform: scale(1)    translate(0,   0); }
  100% { transform: scale(1.1)  translate(2%, 2%); }
}
@keyframes kenBurns3 {
  0%   { transform: scale(1)    translate(0, 0); }
  100% { transform: scale(1.09) translate(-1%, 2%); }
}
/* Reflet lumineux qui balaie l'image */
@keyframes shimmer {
  0%   { transform: translateX(-130%) skewX(-12deg); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateX(230%)  skewX(-12deg); opacity: 0; }
}
/* Pulsation de la bordure dorée */
@keyframes borderPulse {
  0%, 100% { border-color: rgba(253,216,53,0.15); box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
  50%       { border-color: rgba(253,216,53,0.45); box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 2px rgba(253,216,53,0.15); }
}
/* Badge "Nouveau" bounce */
@keyframes badgeBounce {
  0%, 100% { transform: scale(1); }
  40%       { transform: scale(1.08); }
  60%       { transform: scale(0.96); }
}

.hero-visual {
  position: relative;
}

/* Décoration — cercle glowing derrière le grid */
.hero-visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(253,216,53,0.08) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
  animation: heroFloat 6s ease-in-out infinite;
}

.hero-photo-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 460px;
  position: relative;
}

/* ── Photo commune ── */
.hero-photo {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 36px rgba(0,0,0,0.35);
  /* Masque le contenu pendant l'entrée */
  opacity: 0;
}

/* Reflet lumineux (pseudo-element sur chaque photo) */
.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255,255,255,0.18) 50%,
    transparent 60%
  );
  z-index: 3;
  animation: shimmer 6s ease-in-out infinite;
  pointer-events: none;
}

/* Survol : légère montée + halo doré */
.hero-photo:hover {
  border-color: rgba(253,216,53,0.5);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45), 0 0 0 3px rgba(253,216,53,0.2);
  z-index: 10;
}

/* ── Photo principale (grande, colonne gauche) ── */
.hero-photo-main {
  grid-row: 1 / 3;
  /* 1. Entrée glissée */
  animation:
    heroSlideIn  0.8s cubic-bezier(0.16,1,0.3,1) 0.1s forwards,
    heroFloat    7s ease-in-out 1s infinite,
    borderPulse  4s ease-in-out 1s infinite;
}
.hero-photo-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns1 14s ease-in-out alternate infinite;
  transition: transform 0.6s ease;
}
.hero-photo-main:hover img { animation-play-state: paused; transform: scale(1.04); }

/* ── Photo secondaire haute ── */
.hero-photo-side {
  animation:
    heroSlideIn  0.8s cubic-bezier(0.16,1,0.3,1) 0.35s forwards,
    heroFloatAlt 8s ease-in-out 1.5s infinite,
    borderPulse  4s ease-in-out 2s infinite;
}
.hero-photo-side::before {
  animation-delay: 2s;
}
.hero-photo-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns2 12s ease-in-out alternate infinite;
  transition: transform 0.6s ease;
}
.hero-photo-side:hover img { animation-play-state: paused; transform: scale(1.04); }

/* ── Photo secondaire basse ── */
.hero-photo-side2 {
  animation:
    heroSlideIn  0.8s cubic-bezier(0.16,1,0.3,1) 0.55s forwards,
    heroFloat    9s ease-in-out 2s infinite,
    borderPulse  4s ease-in-out 3s infinite;
}
.hero-photo-side2::before {
  animation-delay: 4s;
}
.hero-photo-side2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns3 10s ease-in-out alternate infinite;
  transition: transform 0.6s ease;
}
.hero-photo-side2:hover img { animation-play-state: paused; transform: scale(1.04); }

/* ── Étiquette photo ── */
.hero-photo-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.82));
  color: white;
  padding: 32px 16px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 4;
  transition: padding 0.3s ease;
}
.hero-photo:hover .hero-photo-label { padding-bottom: 16px; }
.hero-photo-label i {
  margin-right: 6px;
  color: var(--yellow);
  animation: badgeBounce 3s ease-in-out infinite;
}

/* ── Badge "Live" sur la photo principale ── */
.hero-photo-main::after {
  content: '● LIVE';
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(211,47,47,0.9);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 5;
  animation: badgeBounce 2s ease-in-out infinite;
}

/* ══ RESPONSIVE ══ */
@media (max-width: 960px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 4vw 100px;
    text-align: center;
  }
  .hero-visual { border-radius: 16px; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-photo-grid { height: 340px; max-width: 580px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .hero-photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 150px;
    height: auto;
    gap: 10px;
  }
  .hero-photo-main {
    grid-column: 1 / 3;
    grid-row: auto;
  }
}
@media (max-width: 480px) {
  .hero .container { padding: 28px 0 88px; }
  .hero-photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 210px;
    height: auto;
  }
  .hero-photo-main { grid-column: auto; }
  .hero-photo-side, .hero-photo-side2 { display: none; }
  .hero-stats { gap: 14px; flex-wrap: wrap; }
}

/* ── CARROUSEL AUTO-SCROLL ── */
.products-carousel-wrapper {
  position: relative;
  overflow: hidden;
}
.products-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 0 20px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.products-carousel::-webkit-scrollbar { display: none; }
.product-slide {
  flex: 0 0 calc(25% - 15px);
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  background: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.product-slide:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.16);
}
.product-slide img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.product-slide:hover img {
  transform: scale(1.08);
}
.product-slide p {
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.88rem;
  text-align: center;
  color: var(--dark);
}
@media (max-width: 1024px) { .product-slide { flex: 0 0 calc(33.3% - 14px); } }
@media (max-width: 768px) { .product-slide { flex: 0 0 calc(50% - 10px); } }
@media (max-width: 480px) { .product-slide { flex: 0 0 85%; } }

/* ── LOGOS PARTENAIRES BAR ── */
.partners-logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 20px 0;
}
.partners-logo-bar img {
  height: 56px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.5);
  transition: filter 0.4s ease, transform 0.4s ease;
}
.partners-logo-bar img:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.12);
}

/* .fade-in — voir section 16 */

/* ── PRODUCT CARDS AMÉLIORÉES ── */
.product-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border: 1px solid transparent;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 40px rgba(211, 47, 47, 0.12);
  border-color: var(--red-lt);
}
.product-card .product-icon {
  transition: transform 0.4s ease, background 0.4s ease;
}
.product-card:hover .product-icon {
  transform: scale(1.12) rotate(-5deg);
  background: var(--red) !important;
  color: white !important;
}

/* ── WHY-CARDS AMÉLIORÉES ── */
.why-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}
.why-card:hover i {
  transform: scale(1.15);
  color: var(--yellow);
}

/* ── BOUTONS RIPPLE EFFECT ── */
.btn {
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.2);
  transform: scale(0);
  border-radius: 50%;
  transition: transform 0.5s ease;
}
.btn:active::after {
  transform: scale(3);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ── FOOTER AMÉLIORÉ ── */
footer .footer-col a {
  transition: color 0.3s ease, padding-left 0.3s ease;
}
footer .footer-col a:hover {
  color: var(--yellow);
  padding-left: 6px;
}

/* ── SMOOTH UNDERLINE LINKS ── */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0%;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transition: width 0.3s ease, left 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 70%;
  left: 15%;
}

/* ──────────────────────────────────────────
   SURCHARGES PREMIUM (remplacent les valeurs de base)
────────────────────────────────────────── */

/* .topbar — voir section 5 */

/* #navbar — voir section 6 */

/* ── SECTION TITLES PREMIUM ── */
.section-tag {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}
.section-tag::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}
.section-title {
  margin-top: 8px;
}

/* ── PAGE SECTIONS BREATHING ROOM ── */
.page-section {
  padding: 60px 0;
}

/* #why compact ── 
#why {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1515 50%, var(--red-dk) 100%);
  position: relative;
  overflow: hidden;
  padding: 44px 0;
}
#why::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(253,216,53,0.06) 0%, transparent 50%);
  pointer-events: none;
}
/* Header compact */
#why .why-header {
  margin-bottom: 28px;
}
/* Grille : 4 colonnes fixes en une seule rangée */
#why .why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}
/* Cartes horizontales compactes */
#why .why-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
  padding: 24px 22px;
  border-right: 1px solid rgba(255,255,255,0.09);
  border-radius: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}
#why .why-card:last-child { border-right: none; }
#why .why-card:hover {
  background: rgba(255,255,255,0.07);
  transform: none;
  box-shadow: none;
}
#why .why-card i {
  font-size: 1.7rem;
  color: var(--yellow);
  margin-bottom: 0;
  display: block;
  flex-shrink: 0;
  margin-top: 3px;
  transition: transform 0.3s ease;
}
#why .why-card:hover i { transform: scale(1.2) rotate(-5deg); }
#why .why-card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 5px;
}
#why .why-card p {
  font-size: 0.78rem;
  opacity: 0.72;
  line-height: 1.55;
}
/* Responsive why compact */
@media (max-width: 768px) {
  #why .why-grid {
    grid-template-columns: 1fr 1fr;
    border-radius: 12px;
  }
  #why .why-card:nth-child(2) { border-right: none; }
  #why .why-card:nth-child(1),
  #why .why-card:nth-child(2) {
    border-bottom: 1px solid rgba(255,255,255,0.09);
  }
}
@media (max-width: 480px) {
  #why .why-grid { grid-template-columns: 1fr; }
  #why .why-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.09); }
  #why .why-card:last-child { border-bottom: none; }
}

/* .ticker — voir section 8 */

/* ═══════════════════════════════════════════════════════
   PRODUCT SLIDES — Style Mechon (image pleine + barre label)
═══════════════════════════════════════════════════════ */
.product-slide {
  display: flex;
  flex-direction: column;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.13);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
  min-width: 0;
  text-decoration: none;
}
.product-slide:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 44px rgba(0,0,0,0.22);
}

/* Image directe — format paysage */
.ps-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.product-slide:hover .ps-img {
  transform: scale(1.05);
}

/* Barre label inférieure — fond rouge SAREF + séparateur blanc */
.ps-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--red-dk);
  border-top: 3px solid rgba(255,255,255,0.85);
  padding: 16px 14px 16px 20px;
  flex-shrink: 0;
}

/* Nom du produit — blanc, majuscules */
.ps-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #fff;
  margin: 0;
  line-height: 1.35;
}

/* Flèche simple sans cercle */
.ps-arrow {
  flex-shrink: 0;
  color: #fff;
  font-size: 1.3rem;
  transition: transform 0.3s ease, color 0.25s ease;
}
.product-slide:hover .ps-arrow {
  color: var(--yellow);
  transform: translateY(-3px);
}

/* Animation d'entrée staggerée */
@keyframes slideCardIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.product-slide:nth-child(1)  { animation: slideCardIn 0.5s ease 0.05s both; }
.product-slide:nth-child(2)  { animation: slideCardIn 0.5s ease 0.12s both; }
.product-slide:nth-child(3)  { animation: slideCardIn 0.5s ease 0.19s both; }
.product-slide:nth-child(4)  { animation: slideCardIn 0.5s ease 0.26s both; }
.product-slide:nth-child(5)  { animation: slideCardIn 0.5s ease 0.33s both; }
.product-slide:nth-child(6)  { animation: slideCardIn 0.5s ease 0.40s both; }
.product-slide:nth-child(7)  { animation: slideCardIn 0.5s ease 0.47s both; }
.product-slide:nth-child(8)  { animation: slideCardIn 0.5s ease 0.54s both; }
.product-slide:nth-child(9)  { animation: slideCardIn 0.5s ease 0.61s both; }
.product-slide:nth-child(10) { animation: slideCardIn 0.5s ease 0.68s both; }

/* ═══════════════════════════════════════════════════════
   CAROUSEL PRODUITS — 2 LIGNES
═══════════════════════════════════════════════════════ */

/* Wrapper avec espace pour les boutons */
.products-carousel-wrapper {
  position: relative;
  padding: 0 40px;
}

/* Grille 2 rangées × 3 colonnes visibles — format paysage */
.products-carousel {
  display: grid !important;
  grid-template-rows: 1fr 1fr;
  grid-auto-flow: column;
  grid-auto-columns: calc(33.33% - 11px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 2px 16px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.products-carousel::-webkit-scrollbar { display: none; }

.product-slide {
  flex: unset !important;
  scroll-snap-align: start;
  min-width: 0;
}

/* ── Boutons Précédent / Suivant ── */
.prod-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-60%); /* légèrement au-dessus du centre (2 lignes) */
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid rgba(0,0,0,0.1);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  color: var(--dark);
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.prod-nav:hover {
  background: var(--red);
  color: white;
  border-color: var(--red);
  box-shadow: 0 6px 20px rgba(211,47,47,0.35);
  transform: translateY(-60%) scale(1.1);
}
.prod-prev { left: 0; }
.prod-next { right: 0; }

/* ── Indicateurs de page (dots) ── */
.prod-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.prod-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1.5px solid rgba(0,0,0,0.12);
}
.prod-dot.active {
  background: var(--red);
  border-color: var(--red);
  width: 22px;
  border-radius: 4px;
}

/* ── Responsive carousel ── */
@media (max-width: 1100px) {
  /* Tablette large : 2 colonnes */
  .products-carousel { grid-auto-columns: calc(50% - 8px); }
  .ps-img { height: 220px; }
}
@media (max-width: 768px) {
  /* Tablette : 1 seule ligne, 1 carte visible ~80% */
  .products-carousel {
    grid-template-rows: 1fr;
    grid-auto-columns: calc(80% - 8px);
  }
  .products-carousel-wrapper { padding: 0 32px; }
  .ps-img { height: 200px; }
}
@media (max-width: 480px) {
  /* Mobile : 1 carte plein écran */
  .products-carousel { grid-auto-columns: 92%; }
  .products-carousel-wrapper { padding: 0 20px; }
  .ps-img { height: 180px; }
  .ps-label { padding: 12px 12px 12px 14px; }
  .ps-title { font-size: 0.75rem; }
}

/* ═══════════════════════════════════════════════════════
   HERO SLIDESHOW
═══════════════════════════════════════════════════════ */

/* Masquer le cercle glowing (remplacé par le slideshow) */
.hero-visual::before { display: none !important; }

/* ── Slideshow : remplit tout le bloc visuel ── */
.hero-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  user-select: none;
  -webkit-user-select: none;
}

/* Dégradé gauche (fondu vers la couleur hero) */
.hero-slideshow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #BE123C 0%, rgba(190,18,60,0.75) 18%, transparent 48%);
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
}

/* ── Chaque diapositive ── */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.75s ease;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 8s ease;
}
.hero-slide.active img   { transform: scale(1.04); }
.hero-slide:not(.active) img { transform: scale(1); }

/* ── Boutons Précédent / Suivant ── */
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1.5px solid rgba(255,255,255,0.32);
  color: #fff;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.slide-btn:hover {
  background: rgba(255,255,255,0.28);
  border-color: rgba(255,255,255,0.55);
  transform: translateY(-50%) scale(1.1);
}
.slide-prev { left: 14px; }
.slide-next { right: 14px; }

/* ── Dots ── */
.slide-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}
.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 1.5px solid rgba(255,255,255,0.6);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.slide-dot.active {
  background: var(--yellow);
  border-color: var(--yellow);
  width: 22px;
  border-radius: 4px;
}

/* ── Compteur ── */
.slide-counter {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
  background: rgba(0,0,0,0.38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

/* ── Étiquette de chaque slide ── */
.slide-label {
  position: absolute;
  bottom: 52px; /* au-dessus des dots */
  left: 20px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(0,0,0,0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  border-left: 3px solid var(--yellow);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 8px 16px 8px 12px;
  border-radius: 6px;
  /* Animation : glisse depuis la gauche quand la slide devient active */
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 0.5s ease 0.35s, transform 0.5s ease 0.35s;
  pointer-events: none;
}
.hero-slide.active .slide-label {
  opacity: 1;
  transform: translateX(0);
}
.slide-label i {
  color: var(--yellow);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ── Bouton Agrandir ── */
.slide-expand-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.slide-expand-btn:hover {
  background: rgba(0,0,0,0.6);
  transform: scale(1.1);
}

/* ═══════════════════════════════════════════════════════
   LIGHTBOX
═══════════════════════════════════════════════════════ */
.hero-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.hero-lightbox.open {
  opacity: 1;
  visibility: visible;
}
.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  cursor: pointer;
}
.lightbox-inner {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-inner img {
  max-width: 88vw;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.7);
  display: block;
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.lightbox-close:hover {
  background: var(--red);
  border-color: var(--red);
  transform: rotate(90deg) scale(1.1);
}
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.lightbox-nav:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-50%) scale(1.08);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  font-weight: 500;
  z-index: 10;
  letter-spacing: 1px;
}

/* ══════════════════════════════════════════════════════
   CARTES DÉPARTEMENTS — Home page
══════════════════════════════════════════════════════ */
.dept-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
}

.dept-card {
  display: block;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 22px;
  padding: 40px 32px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  text-decoration: none;
  color: inherit;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Accent top gradient line */
.dept-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--yellow));
  border-radius: 22px 22px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

/* Background glow on hover */
.dept-card::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(204,34,34,0.06) 0%, transparent 70%);
  border-radius: 50%;
  transition: transform 0.5s ease;
  pointer-events: none;
}

.dept-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.12);
  border-color: rgba(204,34,34,0.18);
}

.dept-card:hover::before {
  transform: scaleX(1);
}

.dept-card:hover::after {
  transform: scale(1.5);
}

/* Icône département */
.dept-card-icon {
  width: 76px;
  height: 76px;
  background: linear-gradient(135deg, #fff5f5, #ffe0e0);
  border: 2px solid rgba(204,34,34,0.15);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  color: var(--red);
  margin-bottom: 24px;
  transition: all 0.4s ease;
  position: relative;
}

.dept-card:hover .dept-card-icon {
  background: linear-gradient(135deg, var(--red-lt), var(--red));
  color: white;
  border-color: transparent;
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 8px 24px rgba(204,34,34,0.28);
}

.dept-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.dept-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Flèche "voir plus" */
.dept-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: gap 0.3s ease;
}

.dept-card:hover .dept-card-arrow {
  gap: 14px;
}

/* Badge coloré optionnel */
.dept-card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--yellow);
  color: var(--red-dk);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
}

/* ══════════════════════════════════════════════════════
   SECTION "BOUTIQUE" — bg alterné
══════════════════════════════════════════════════════ */
.boutique-section {
  background: var(--light);
  position: relative;
}
.boutique-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--yellow), var(--red), transparent);
  opacity: 0.6;
}

/* ══════════════════════════════════════════════════════
   SECTION PRODUITS SHOWCASE — fond alterné
══════════════════════════════════════════════════════ */
.products-showcase {
  background: var(--light);
  position: relative;
}
.products-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(204,34,34,0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════
   SECTION PARTENAIRES — logos upgradés
══════════════════════════════════════════════════════ */
.partners-section.bg-light,
.page-section.bg-light {
  background: var(--light);
}

.partners-logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.partners-logo-bar .partner-logo-box {
  background: var(--white);
  border: 1.5px solid #e8e8e8;
  border-radius: 16px;
  padding: 22px 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  min-width: 150px;
  height: 100px;
}

.partners-logo-bar .partner-logo-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-color: var(--yellow-dk);
}

.partners-logo-bar .partner-logo-box img {
  height: 52px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(30%) opacity(0.8);
  transition: filter 0.4s ease;
  display: block;
}

.partners-logo-bar .partner-logo-box:hover img {
  filter: grayscale(0%) opacity(1);
}

/* ══════════════════════════════════════════════════════
   STATS AMÉLIORÉS — animation pulse au chargement
══════════════════════════════════════════════════════ */
.stat-item {
  position: relative;
  padding: 0 12px;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 36px;
  width: 1px;
  background: rgba(255,255,255,0.15);
}
.stat-item:last-child::after { display: none; }

.stat-num {
  display: block;
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

/* ══════════════════════════════════════════════════════
   HERO — Amélioration visuelle contenu
══════════════════════════════════════════════════════ */
.hero-content h1 {
  letter-spacing: -0.5px;
}

.hero-content h1 .highlight {
  display: inline;
  font-style: italic;
}

/* ══════════════════════════════════════════════════════
   MARQUE BRAND PILL — Amélioré
══════════════════════════════════════════════════════ */
.brand-pill {
  font-size: 0.8rem;
  padding: 7px 18px;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}

.brand-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(204,34,34,0.12);
}

/* ══════════════════════════════════════════════════════
   STAGGER CHILDREN — Delay pour grilles
══════════════════════════════════════════════════════ */
.stagger-children > *:nth-child(1) { animation-delay: 0.05s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.15s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.25s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.35s; }

/* ══════════════════════════════════════════════════════
   SECTION WHY — Compteur stat
══════════════════════════════════════════════════════ */
@keyframes countUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.stat-num.animated {
  animation: countUp 0.6s ease both;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE GLOBAL
══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .dept-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .dept-card {
    padding: 28px 24px;
  }
  .dept-card-icon {
    width: 62px;
    height: 62px;
    font-size: 1.7rem;
    margin-bottom: 18px;
  }
  .section-header {
    margin-bottom: 40px;
  }
}



/* ══════ departements.css ══════ */

/* SAREF INTERNATIONAL — departements.css
   Onglets départements, Product-cards, Brands-row,
   Modal catalogue produits */

/* ──────────────────────────────────────────
   10. DEPARTMENTS
────────────────────────────────────────── */
#departments {
  padding: 100px 0;
}

.dept-header {
  text-align: center;
  margin-bottom: 64px;
}
.dept-header .section-sub {
  margin: 0 auto;
}

/* Tabs */
.dept-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.dept-tab {
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--trans);
  border: 2px solid #e0e0e0;
  background: var(--white);
  color: var(--gray);
  font-family: 'Poppins', sans-serif;
}
.dept-tab:hover,
.dept-tab.active {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

/* Panels */
.dept-panel {
  display: none;
}
.dept-panel.active {
  display: block;
}

.dept-panel-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

/* Info card (left) */
.dept-info-card {
  background: linear-gradient(135deg, var(--red), var(--red-dk));
  border-radius: 20px;
  padding: 40px 32px;
  color: var(--white);
  box-shadow: 0 8px 32px rgba(211, 47, 47, 0.3);
  position: sticky;
  top: 100px;
}

.dept-icon-big {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dept-info-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.dept-info-card p {
  font-size: 0.92rem;
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 24px;
}

.dept-tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--red-dk);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 4px 4px 4px 0;
}

/* Products grid (right) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--white);
  border: 1px solid #EAEAEA;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: var(--trans);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--yellow));
  transform: scaleX(0);
  transition: var(--trans);
}
.product-card:hover {
  border-color: var(--red-lt);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.product-card:hover::before {
  transform: scaleX(1);
}

.product-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: var(--light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--red);
  transition: var(--trans);
}
.product-card:hover .product-icon {
  background: linear-gradient(135deg, var(--red-lt), var(--red));
  color: var(--white);
}

.product-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}
.product-card p {
  font-size: 0.78rem;
  color: var(--gray);
  margin-top: 6px;
  line-height: 1.5;
}

/* Brands row */
.brands-row {
  margin-top: 32px;
  padding: 24px;
  background: var(--light);
  border-radius: 16px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1515 50%, var(--red-dk) 100%);
  position: relative;
  overflow: hidden;
  padding: 44px 2;
}
.brands-row h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.brands-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.brand-pill {
  background: var(--white);
  border: 1.5px solid #e0e0e0;
  border-radius: 50px;
  padding: 8px 20px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--dark);
  transition: var(--trans);
}
.brand-pill:hover {
  border-color: var(--red);
  color: var(--red);
}
.brand-pill.special {
  border-color: var(--yellow-dk);
  color: var(--yellow-dk);
}


/* ── PRODUCT CARD PREMIUM ── */
.product-card {
  background: white;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--yellow));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-card:hover::before {
  opacity: 1;
}

/* footer — voir section 14 */

/* .btn-* — voir section 4 */

/* ── PAGE BANNER PREMIUM ── */
.page-banner {
  background: linear-gradient(135deg, var(--red-dk) 0%, var(--red) 60%, #A02020 100%);
  position: relative;
  overflow: hidden;
  padding: 60px 0 50px;
}
.page-banner::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom right, transparent 49.5%, var(--white) 50%);
}

/* ══════════════════════════════════════════════════════
   CONTACT FORM — Premium inputs
══════════════════════════════════════════════════════ */
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--white);
  border: 2px solid #E8E8E8;
  padding: 13px 18px;
  font-size: 0.92rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  background: #fff9f9;
  box-shadow: 0 0 0 4px rgba(204,34,34,0.08);
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.3px;
  margin-bottom: 8px;
}

/* ══════════════════════════════════════════════════════
   ABOUT PAGE — Image décoration
══════════════════════════════════════════════════════ */
.about-img-wrap::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: -12px;
  border: 2px dashed rgba(204,34,34,0.18);
  border-radius: calc(var(--radius) + 4px);
  pointer-events: none;
  z-index: -1;
}

/* ══════════════════════════════════════════════════════
   PRODUCTS CAROUSEL — Hauteur image revalorisée
══════════════════════════════════════════════════════ */
.ps-img-wrap {
  height: 190px;
  background: linear-gradient(145deg, #fafafa, #f5f5f5);
}

/* ══════════════════════════════════════════════════════
   DEPT TAB — Style amélioré
══════════════════════════════════════════════════════ */
.dept-tabs {
  gap: 10px;
  margin-bottom: 52px;
}

.dept-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  padding: 11px 26px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

.dept-tab::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red), var(--red-dk));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.dept-tab.active::before,
.dept-tab:hover::before {
  opacity: 1;
}

.dept-tab span,
.dept-tab i {
  position: relative;
  z-index: 1;
}
/* texte direct (sans span) aussi au-dessus du ::before */
.dept-tab {
  color: var(--gray);
}
.dept-tab:hover,
.dept-tab.active {
  color: var(--white);
}

/* ══════════════════════════════════════════════════════
   STAGGER CHILDREN — Delay pour grilles
══════════════════════════════════════════════════════ */
.stagger-children > *:nth-child(1) { animation-delay: 0.05s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.15s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.25s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.35s; }

/* ═══════════════════════════════════════════════════════════════
   DEPT CATALOGUE — Ancres & listing produits par sous-catégorie
   ═══════════════════════════════════════════════════════════════ */

/* ── Flèche sur product-card ── */
.product-card .card-arrow {
  display: block;
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--gray-lt);
  transition: var(--trans);
}
.product-card:hover .card-arrow,
.product-card.active-cat .card-arrow {
  color: var(--red);
}
.product-card.active-cat .card-arrow i {
  transform: rotate(180deg);
  display: inline-block;
}

/* ── Card active ── */
.product-card.active-cat {
  border-color: var(--red);
  background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
  box-shadow: 0 0 0 3px rgba(204, 34, 34, 0.15), var(--shadow);
  transform: translateY(-4px);
}
.product-card.active-cat::before {
  transform: scaleX(1);
}
.product-card.active-cat .product-icon {
  background: linear-gradient(135deg, var(--red-lt), var(--red));
  color: var(--white);
}


/* ═══════════════════════════════════════════════════════════════
   CATALOGUE MODAL — Overlay flottant (design refondu)
   ═══════════════════════════════════════════════════════════════ */

/* ── Backdrop / overlay ── */
.cat-catalogue {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(10, 10, 20, 0.70);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: catBackdropIn 0.22s ease;
}
@keyframes catBackdropIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Boîte modale ── */
.cat-modal-box {
  background: var(--white);
  border-radius: 22px;
  width: 100%;
  max-width: 980px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.40), 0 0 0 1px rgba(255,255,255,0.06);
  animation: catModalUp 0.28s cubic-bezier(0.34, 1.2, 0.64, 1);
}
@keyframes catModalUp {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

/* ── En-tête ── */
.cat-header {
  background: linear-gradient(135deg, #111827 0%, #1f1010 55%, #7f1d1d 100%);
  padding: 20px 22px 0;
  flex-shrink: 0;
}
.cat-title-row {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
}
.cat-icon-wrap {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(255,255,255,0.10);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--yellow);
}
.cat-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 2px;
  line-height: 1.2;
}
.cat-sub {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
}
.cat-close {
  margin-left: auto;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.65);
  width: 34px;
  height: 34px;
  border-radius: 9px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--trans);
  flex-shrink: 0;
}
.cat-close:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* ── Barre de recherche ── */
.cat-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 11px 22px;
}
.cat-search-ico {
  color: rgba(255,255,255,0.40);
  font-size: 0.82rem;
  flex-shrink: 0;
}
.cat-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 0.88rem;
  font-family: inherit;
}
.cat-search-input::placeholder { color: rgba(255,255,255,0.28); }
.cat-count {
  font-size: 0.72rem;
  color: var(--yellow);
  font-weight: 700;
  background: rgba(245,200,0,0.12);
  padding: 2px 9px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ── Corps scrollable ── */
.cat-body {
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  background: #f7f8fa;
  min-height: 0;
}
.cat-body::-webkit-scrollbar { width: 5px; }
.cat-body::-webkit-scrollbar-thumb { background: #ddd; border-radius: 3px; }

/* ── Grille des produits ── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 18px 22px 22px;
}

/* ── Fiche produit — layout horizontal compact ── */
.cat-product-item {
  background: var(--white);
  border: 1px solid #e9eaec;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: var(--trans);
  position: relative;
}
.cat-product-item::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--trans);
}
.cat-product-item:hover {
  border-color: rgba(204,34,34,0.22);
  box-shadow: 0 4px 20px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}
.cat-product-item:hover::after { transform: scaleX(1); }

/* Image carrée en haut */
.cpi-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f4f5f8;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.cpi-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  display: block;
  transition: transform 0.3s ease;
}
.cat-product-item:hover .cpi-img { transform: scale(1.06); }

.cpi-img-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  color: var(--gray-lt);
}
.cpi-img-placeholder i   { font-size: 1.6rem; opacity: 0.3; }
.cpi-img-placeholder span { font-size: 0.62rem; opacity: 0.5; }
.cpi-img-wrap.no-img { background: #fafafa; }
.cpi-img-wrap.no-img .cpi-img-placeholder { display: flex; }

/* Corps de la fiche */
.cpi-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.cpi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.cpi-ref {
  font-size: 0.63rem;
  color: #b0b5bf;
  font-family: monospace;
}
.cpi-tag {
  font-size: 0.62rem;
  font-weight: 700;
  background: var(--yellow-lt);
  color: var(--yellow-dk);
  padding: 1px 7px;
  border-radius: 20px;
  white-space: nowrap;
}
.cpi-nom {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  line-height: 1.25;
}
.cpi-desc {
  font-size: 0.73rem;
  color: var(--gray);
  line-height: 1.45;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cpi-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-top: 8px;
  margin-top: 2px;
  border-top: 1px solid var(--light-2);
}
.cpi-marque {
  font-size: 0.66rem;
  color: var(--gray-lt);
  font-weight: 600;
}
.cpi-marque i { margin-right: 2px; }
.cpi-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  padding: 4px 10px;
  border: 1.5px solid var(--red);
  border-radius: 20px;
  transition: var(--trans);
  white-space: nowrap;
}
.cpi-btn:hover { background: var(--red); color: var(--white); }

/* ── Aucun résultat ── */
.cat-empty {
  text-align: center;
  padding: 40px 22px;
  color: var(--gray-lt);
  font-size: 0.88rem;
  background: #f7f8fa;
}
.cat-empty i { margin-right: 6px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .cat-catalogue { padding: 8px; align-items: flex-end; }
  .cat-modal-box { max-height: 92vh; border-radius: 20px 20px 0 0; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); padding: 12px; gap: 10px; }
  .cat-header { padding: 16px 16px 0; }
  .cat-search-wrap { padding: 10px 16px; }
}


/* ══════ pages.css ══════ */

/* SAREF INTERNATIONAL — pages.css
   WHY US, Contact, Actualités, À propos, Produits, Promotions,
   Composants premium partagés, Responsive global */

/* ──────────────────────────────────────────
   11. WHY US
────────────────────────────────────────── */
#why {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1515 50%, var(--red-dk) 100%);
  position: relative;
  overflow: hidden;
  padding: 44px 0;
}
#why::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(253,216,53,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.why-header {
  text-align: center;
  margin-bottom: 48px;
  color: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.why-card {
  text-align: center;
  color: var(--white);
  padding: 32px 20px;
}
.why-card i {
  font-size: 2.5rem;
  color: var(--yellow);
  margin-bottom: 16px;
  display: block;
}
.why-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.why-card p {
  font-size: 0.88rem;
  opacity: 0.8;
  line-height: 1.7;
}

/* ──────────────────────────────────────────
   12. PARTNERS
────────────────────────────────────────── */
#partners {
  padding: 60px 0;
  background: var(--light);
}

.partners-header {
  text-align: center;
  margin-bottom: 48px;
}
.partners-header .section-sub {
  margin: 0 auto;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.partner-logo {
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 14px;
  padding: 18px 32px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--gray);
  transition: var(--trans);
  min-width: 130px;
  text-align: center;
}
.partner-logo:hover {
  border-color: var(--red);
  color: var(--red);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.partner-logo.yellow {
  border-color: var(--yellow-dk);
  color: var(--yellow-dk);
}
.partner-logo.yellow:hover {
  background: var(--yellow);
  color: var(--red-dk);
}

/* ──────────────────────────────────────────
   13. CONTACT
────────────────────────────────────────── */
#contact {
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info .section-sub {
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-item-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--red-lt), var(--red));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}
.contact-item-text h5 {
  font-weight: 700;
  margin-bottom: 2px;
}
.contact-item-text p,
.contact-item-text a {
  color: var(--gray);
  font-size: 0.9rem;
}
.contact-item-text a:hover {
  color: var(--red);
}

.map-placeholder {
  background: linear-gradient(135deg, #1A1A1A, #333);
  border-radius: 16px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-top: 32px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}
.map-placeholder i {
  font-size: 2rem;
  display: block;
  margin-bottom: 8px;
}

/* Contact form */
.contact-form {
  background: var(--light);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 24px;
  color: var(--red-dk);
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #DCDCDC;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--white);
  transition: var(--trans);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}
.form-group textarea {
  height: 120px;
  resize: vertical;
}
.form-group select {
  appearance: none;
  cursor: pointer;
}

.form-submit {
  width: 100%;
  justify-content: center;
  cursor: pointer;
}

/* ──────────────────────────────────────────
   19. ACTUALITÉS
────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.news-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: var(--trans);
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.news-card-img {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}
/* Image dans news-card : entière, sans recadrage */
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  background: #f8f8f8;
  transition: transform 0.4s ease;
}
.news-card:hover .news-card-img img {
  transform: scale(1.04);
}
.news-card-img.red     { background: linear-gradient(135deg, var(--red), var(--red-dk)); color: var(--yellow); }
.news-card-img.yellow  { background: linear-gradient(135deg, var(--yellow-dk), var(--yellow)); color: var(--red-dk); }
.news-card-img.dark    { background: linear-gradient(135deg, #2c2c2c, #444); color: var(--yellow); }
/* Toutes les couleurs ramenées à la charte SAREF (rouge + jaune + foncé) */
.news-card-img.blue    { background: linear-gradient(135deg, var(--red-dk), var(--red)); color: var(--yellow); }
.news-card-img.orange  { background: linear-gradient(135deg, var(--red), #c8102e); color: var(--yellow); }
.news-card-img.green   { background: linear-gradient(135deg, #111, #2d1515); color: var(--yellow); }
.news-card-img.teal    { background: linear-gradient(135deg, var(--red-dk), #6b0c1e); color: var(--yellow); }
.news-card-img.brown   { background: linear-gradient(135deg, #1a1a1a, #3a1010); color: var(--yellow); }
.news-card-img.crimson { background: linear-gradient(135deg, var(--red), var(--red-dk)); color: #fff; }

.news-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--yellow);
  color: var(--red-dk);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
}

.news-card-body {
  padding: 24px;
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 10px;
}
.news-meta i { color: var(--red); }
.news-card-body h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.4;
  color: var(--dark);
}
.news-card-body p {
  font-size: 0.87rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 18px;
}
.news-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--trans);
}
.news-link:hover {
  gap: 10px;
}

/* Newsletter */
.newsletter-box {
  background: linear-gradient(135deg, var(--red-dk), var(--red));
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  color: var(--white);
  margin-top: 64px;
}
.newsletter-box h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 10px;
}
.newsletter-box p {
  opacity: 0.85;
  margin-bottom: 28px;
  font-size: 0.95rem;
}
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input {
  flex: 1;
  min-width: 220px;
  padding: 14px 20px;
  border-radius: 50px;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  outline: none;
}

/* ── SMOOTH PAGE TRANSITIONS ── */
.page-section,
.page-section.bg-light {
  position: relative;
}

/* ── SOCIAL LINKS PREMIUM ── */
.social-link {
  transition: all 0.3s ease;
}
.social-link:hover {
  transform: translateY(-3px) scale(1.1);
}

/* ── BACK TO TOP PREMIUM ── */
#back-top {
  box-shadow: 0 4px 20px rgba(211,47,47,0.35);
  transition: all 0.3s ease;
}
#back-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(211,47,47,0.5);
}

/* ── ABOUT PAGE VALUE CARDS ── */
.value-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* ── ABOUT BADGE GLOW ── */
.about-badge {
  box-shadow: 0 8px 32px rgba(211,47,47,0.3);
}

/* ══════════════════════════════════════════════════════
   SECTION WHY — Compteur stat
══════════════════════════════════════════════════════ */
@keyframes countUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.stat-num.animated {
  animation: countUp 0.6s ease both;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE GLOBAL
══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .dept-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .dept-card {
    padding: 28px 24px;
  }
  .dept-card-icon {
    width: 62px;
    height: 62px;
    font-size: 1.7rem;
    margin-bottom: 18px;
  }
  .section-header {
    margin-bottom: 40px;
  }
}

/* ── Responsive slideshow ── */
@media (max-width: 960px) {
  .hero-visual {
    min-height: 300px !important;
    border-radius: 14px !important;
  }
}
@media (max-width: 600px) {
  .hero-visual { min-height: 230px !important; border-radius: 12px !important; }
  .slide-btn   { width: 34px; height: 34px; font-size: 0.8rem; }
  .lightbox-nav { display: none; }
}

/* ══════════════════════════════════════════════════════
   CARROUSEL MARQUES — défilement simple
══════════════════════════════════════════════════════ */

.brands-section {
  overflow: hidden;
}

/* ── Centrage texte introductif + espacement ── */
.brands-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}
.brands-section .section-tag {
  margin: 0 auto 16px;
}
.brands-section .section-sub {
  margin: 0 auto;
}
.brands-section .brands-track-wrap {
  margin-top: 8px;
}

/* Masques fondu gauche/droite */
.brands-track-wrap {
  position: relative;
  overflow: hidden;
  padding: 8px 0 16px;
}
.brands-track-wrap::before,
.brands-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.brands-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--white) 0%, transparent 100%);
}
.brands-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--white) 0%, transparent 100%);
}

/* Piste animée */
@keyframes brandScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.brands-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  animation: brandScroll 24s linear infinite;
}
.brands-track:hover {
  animation-play-state: paused;
}

/* Carte logo */
.brand-slide {
  flex-shrink: 0;
  background: var(--white);
  border: 1.5px solid #e8e8e8;
  border-radius: 14px;
  padding: 20px 36px;
  height: 96px;
  min-width: 155px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.brand-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-color: var(--yellow-dk);
}

/* Image */
.brand-slide img {
  height: 50px;
  width: auto;
  max-width: 125px;
  object-fit: contain;
  display: block;
  filter: grayscale(0%) opacity(1);
  transition: filter 0.35s ease, transform 0.35s ease;
}
.brand-slide:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.06);
}

/* Variante texte */
.brand-slide--text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 1.5px;
  color: var(--gray-lt);
  min-width: 110px;
  transition: color 0.3s ease;
}
.brand-slide--text:hover {
  color: var(--red-dk);
}

/* Responsive */
@media (max-width: 768px) {
  .brands-track-wrap::before,
  .brands-track-wrap::after { width: 60px; }
  .brand-slide {
    padding: 16px 26px;
    height: 80px;
    min-width: 130px;
  }
  .brand-slide img   { height: 40px; }
  .brand-slide--text { font-size: 1.05rem; }
}

/* ══════════════════════════════════════════
   CUSTOM CURSOR
══════════════════════════════════════════ */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background-color: rgba(225, 29, 72, 0.4);
  backdrop-filter: blur(2px);
  border: 1px solid var(--red);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 99999;
  transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
  mix-blend-mode: difference;
}
.custom-cursor.hover {
  width: 50px;
  height: 50px;
  background-color: rgba(225, 29, 72, 0.1);
  border-color: var(--yellow);
}
@media (max-width: 768px) {
  .custom-cursor { display: none !important; }
}

/* ══ EFFETS HOVER & ANIMATIONS — couleurs originales préservées ══ */

/* Boutons - effet brillant au survol (sans changer les couleurs) */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(211,47,47,0.3);
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(211,47,47,0.4);
}

/* Cards - remontent au survol */
.card, .dept-card, .promo-card, .article-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover, .dept-card:hover, .promo-card:hover, .article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.10);
}

/* Product cards */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.product-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(211,47,47,0.15);
  border-color: var(--red);
}

/* Dept tabs */
.dept-tab {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dept-tab:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.dept-tab.active { box-shadow: 0 4px 15px rgba(211,47,47,0.25); }

/* Brand pills */
.brand-pill {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
}
.brand-pill:hover { transform: scale(1.08); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

/* Images slideshow */
.hero-slide img, .product-slide img {
  transition: transform 0.5s ease;
}
.hero-slide:hover img { transform: scale(1.03); }

/* Back to top */
#back-top {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(211,47,47,0.3);
}
#back-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(211,47,47,0.4);
}

/* WhatsApp */
[href*="wa.me"], [href*="whatsapp"] {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
[href*="wa.me"]:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
}

/* Stat items */
.stat-item {
  transition: transform 0.3s ease;
}
.stat-item:hover { transform: translateY(-4px); }

/* Inputs focus */
input:focus, textarea:focus, select:focus {
  box-shadow: 0 0 0 3px rgba(211,47,47,0.08);
  border-color: var(--red);
  outline: none;
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #f5f5f5; }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--red-dk); }

/* ══ PAGE LOADER ══ */
.page-loader {
  position: fixed; inset: 0;
  background: white;
  z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.4s ease;
}
.page-loader.hidden { opacity: 0; pointer-events: none; }
.loader-ring {
  width: 48px; height: 48px;
  border: 4px solid #f0f0f0;
  border-top: 4px solid var(--red, #D32F2F);
  border-radius: 50%;
  animation: saref-spin 0.8s linear infinite;
}
@keyframes saref-spin { to { transform: rotate(360deg); } }

/* ══ AOS POINTER EVENTS ══ */
[data-aos] { pointer-events: auto !important; }



/* ══ BANDEAU CATALOGUE EXTERNE ══ */
.cat-ext-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 4px;
  margin-bottom: 16px;
  background: transparent;
  font-size: 0.83rem;
  color: #374151;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.cat-ext-banner > i {
  color: #6b7280;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.cat-ext-banner > span {
  color: #374151;
}

/* Lien-bouton avec effet rouge au survol (même logique que dept-tab) */
.cat-ext-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  color: #374151;
  border: 2px solid #d1d5db;
  background: transparent;
  overflow: hidden;
  transition: color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}
.cat-ext-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--red, #D32F2F), var(--red-dk, #B71C1C));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}
.cat-ext-link:hover::before {
  opacity: 1;
}
.cat-ext-link:hover {
  color: white;
  border-color: var(--red, #D32F2F);
}
/* Texte et icône au-dessus du gradient ::before */
.cat-link-txt,
.cat-link-ico {
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE GLOBAL — Corrections manquantes
   Toutes les sections sans media queries complètes
══════════════════════════════════════════════════════════ */

/* ── Tablette (≤ 960px) ── */
@media (max-width: 960px) {

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Département panels */
  .dept-panel-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .dept-info-card {
    position: static;
    padding: 28px 20px;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-values {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Tablette petite (≤ 768px) ── */
@media (max-width: 768px) {

  /* Contact form */
  .contact-form {
    padding: 28px 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* About values */
  .about-values {
    grid-template-columns: 1fr;
  }

  /* Dept tabs */
  .dept-tabs {
    gap: 8px;
  }
  .dept-tab {
    padding: 8px 14px;
    font-size: 0.78rem;
  }

  /* News grid */
  .news-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 32px;
  }

  /* Promo grid */
  .promo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

/* ── Mobile (≤ 600px) ── */
@media (max-width: 600px) {

  /* Contact info items */
  .contact-item {
    gap: 14px;
  }

  /* Brands gradient */
  .brands-track-wrap::before,
  .brands-track-wrap::after {
    width: 40px;
  }

  /* Promo grid */
  .promo-grid {
    grid-template-columns: 1fr;
  }

  /* About values */
  .about-values {
    grid-template-columns: 1fr;
  }

  /* News grid */
  .news-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Pack cards */
  .pack-card {
    padding: 24px 16px;
  }
}

/* ── Mobile petit (≤ 480px) ── */
@media (max-width: 480px) {

  /* Contact */
  .contact-form {
    padding: 20px 14px;
  }
  .contact-grid {
    gap: 28px;
  }

  /* Dept tabs scroll horizontal */
  .dept-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .dept-tab {
    flex-shrink: 0;
    font-size: 0.75rem;
    padding: 7px 12px;
  }

  /* About */
  .about-grid {
    gap: 32px;
  }

  /* Countdown (promotions) */
  .countdown-boxes {
    gap: 10px;
  }
  .countdown-box {
    min-width: 60px;
    padding: 12px 8px;
  }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE FIXES — Anti-débordement total
   Correctifs ajoutés pour éliminer tout scroll horizontal
   et tout élément qui dépasse sur mobile/tablette.
   Breakpoints : 1050 | 768 | 600 | 480
   ══════════════════════════════════════════════════════════ */

/* ── Tablette large / navbar breakpoint (≤ 1050px) ── */
@media (max-width: 1050px) {
  /* Topbar : la partie gauche est masquée, on garde juste les liens droits */
  .topbar-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
    width: 100%;
  }
}

/* ── Tablette (≤ 768px) ── */
@media (max-width: 768px) {
  /* #1 Hero container — supprime le padding-left asymétrique qui fait scroller */
  .hero .container {
    padding: 36px 4% 80px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  /* #2 Hero visual — radius sur les 4 coins + marges latérales */
  .hero-visual {
    border-radius: 14px !important;
    margin: 0;
  }

  /* #3 Why-grid — passage à 2 colonnes avec padding réduit */
  #why .why-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px;
  }
  #why .why-card {
    padding: 20px 16px;
    gap: 12px;
  }
  #why .why-card h4 {
    font-size: 0.85rem;
  }

  /* #4 Watermark — réduction drastique de la taille */
  .section-header[data-watermark]::before {
    font-size: clamp(2.5rem, 12vw, 5rem) !important;
    opacity: 0.08;
  }

  /* #10 Page-banner — hauteur réduite */
  .page-banner {
    padding: 48px 0 36px !important;
  }
  .page-banner::after {
    height: 32px;
  }
  .page-banner h1 {
    font-size: clamp(1.5rem, 5.5vw, 2rem) !important;
  }
}

/* ── Mobile (≤ 600px) ── */
@media (max-width: 600px) {
  /* #6 Topbar right — wrap + taille réduite */
  .topbar-right {
    flex-wrap: wrap;
    gap: 6px 12px;
    justify-content: center;
    font-size: 0.7rem;
  }
  .topbar-right a {
    white-space: normal;
    word-break: break-word;
  }

  /* #8 Newsletter box — padding réduit, input full-width */
  .newsletter-box {
    padding: 32px 20px;
    margin-top: 40px;
  }
  .newsletter-form {
    flex-direction: column;
    gap: 10px;
  }
  .newsletter-form input {
    min-width: 0;
    width: 100%;
  }
  .newsletter-form button {
    width: 100%;
  }

  /* #9 Contact form row — espacement entre inputs */
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* Hero headings — éviter le word-break disgracieux */
  .hero-content h1 {
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
  }
}

/* ── Mobile petit (≤ 480px) ── */
@media (max-width: 480px) {
  /* #5 Hero h1 — taille ajustée pour très petits écrans */
  .hero-content h1 {
    font-size: clamp(1.45rem, 6vw, 1.8rem) !important;
    line-height: 1.15;
  }
  .hero-content p {
    font-size: 0.9rem;
  }

  /* #11 About — image + badge ajustés, badge ne déborde plus */
  .about-img-main {
    height: 240px;
  }
  .about-img-main i {
    font-size: 3rem;
  }
  .about-badge {
    right: 8px !important;
    bottom: 8px !important;
    padding: 12px 14px;
    border-radius: 12px;
  }
  .about-badge .big {
    font-size: 1.5rem;
  }

  /* #12 Dept info card — padding réduit */
  .dept-info-card {
    padding: 22px 16px;
    border-radius: 16px;
  }
  .dept-info-card h3 {
    font-size: 1.1rem;
  }
  .dept-tag {
    font-size: 0.68rem;
    padding: 3px 10px;
  }

  /* #13 Brand slides — plus petits pour tenir à l'écran */
  .brand-slide {
    min-width: 108px;
    padding: 12px 16px;
    height: 70px;
  }
  .brand-slide img {
    max-height: 32px;
    max-width: 90px;
  }

  /* #14 Navbar — logo et hamburger plus compacts */
  .logo-icon {
    width: 40px;
    height: 40px;
  }
  .hamburger {
    padding: 6px;
  }

  /* #15 FABs (WhatsApp + back-top) — plus petits et plus proches du bord */
  .whatsapp-fab {
    width: 48px;
    height: 48px;
    bottom: 78px;
    right: 14px;
    font-size: 1.3rem;
  }
  #back-top {
    width: 42px;
    height: 42px;
    bottom: 20px;
    right: 14px;
  }

  /* #3 Why-grid — passage à 1 colonne sur très petit écran */
  #why .why-grid {
    grid-template-columns: 1fr !important;
  }

  /* Sections communes — padding vertical réduit */
  section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

/* ── Très petit écran (≤ 360px) — safety net ── */
@media (max-width: 360px) {
  html { font-size: 14px; }
  .container { width: 94%; }
  .hero-content h1 { font-size: 1.35rem !important; }
  .section-tag { font-size: 0.65rem; padding: 4px 12px; }
}

/* ── Sécurité globale anti-overflow pour tous les écrans ── */
* { min-width: 0; }
img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
}
pre, code {
  white-space: pre-wrap;
  word-break: break-word;
}

/* ── Icône image dans les cartes département ── */
.dept-icon-big {
  width: 80px !important;
  height: 80px !important;
  background: rgba(255,255,255,0.95) !important;
  border-radius: 18px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 2px solid rgba(255,255,255,0.4) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18) !important;
}
.dept-icon-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  display: block !important;
}

/* ══════════════════════════════════════════════════════
   DEPT-INFO-CARD — NOUVEAU STYLE (image + contenu blanc)
══════════════════════════════════════════════════════ */
.dept-info-card {
  background: #ffffff !important;
  border-radius: 20px !important;
  padding: 0 !important;
  color: var(--dark) !important;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12) !important;
  overflow: hidden !important;
  position: relative !important;
  transition: box-shadow 0.3s ease, transform 0.3s ease !important;
}
.dept-info-card:hover {
  box-shadow: 0 16px 50px rgba(200,16,46,0.18) !important;
  transform: translateY(-4px) !important;
}

/* Grande image en haut */
.dic-img-wrap {
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dic-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  transition: transform 0.4s ease;
}
.dept-info-card:hover .dic-img {
  transform: scale(1.03);
}

/* Corps de la carte */
.dic-body {
  padding: 24px 26px 28px;
}

/* Ligne badge + icône */
.dic-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

/* Badge pill */
.dic-badge {
  display: inline-block;
  background: transparent;
  border: 1.5px solid rgba(200,16,46,0.30);
  color: var(--red-dk);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 0.70rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Icône FA dans carré arrondi */
.dic-icon-sm {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(200,16,46,0.08);
  border: 1.5px solid rgba(200,16,46,0.15);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Titre */
.dept-info-card h3 {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 900 !important;
  color: #111827 !important;
  margin-bottom: 10px !important;
  line-height: 1.35 !important;
}

/* Description */
.dept-info-card p {
  font-size: 0.88rem !important;
  color: #6B7280 !important;
  line-height: 1.7 !important;
  margin-bottom: 18px !important;
  opacity: 1 !important;
}

/* Tags */
.dic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}
.dic-tags .dept-tag {
  background: var(--yellow) !important;
  color: #7C5208 !important;
  border-radius: 20px !important;
  padding: 4px 13px !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  margin: 0 !important;
}

/* Lien Découvrir */
.dic-discover {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  transition: gap 0.25s ease, color 0.25s ease;
}
.dic-discover:hover {
  gap: 14px;
  color: var(--red-dk);
}
.dic-discover i {
  font-size: 0.75rem;
  transition: transform 0.25s
 ease;
}
.dic-discover:hover i {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .dic-img-wrap { height: 200px; }
  .dic-body { padding: 18px 20px 22px; }
}

/* Bouton Demander un Devis — dept-info-card */
.dic-devis {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 22px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.25s ease;
  margin-top: 4px;
}
.dic-devis i {
  font-size: 0.85rem;
}
/* ══════════════════════════════════════════════════════════════
   CORRECTIONS UX GLOBALES — SPACING + RESPONSIVE COMPLET
   v20260508
══════════════════════════════════════════════════════════════ */

/* ── 1. RÉDUCTION ESPACEMENT SECTION HEADER ── */
.dept-header,
.section-header {
  margin-bottom: 28px !important;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem) !important;
  margin-bottom: 10px !important;
}
.section-sub {
  font-size: 0.93rem !important;
  line-height: 1.65 !important;
  margin-bottom: 0 !important;
}
.section-tag {
  margin-bottom: 10px !important;
}

/* ── 2. SECTION PADDING RÉDUIT ── */
.page-section {
  padding: 48px 0 !important;
}
.page-section.bg-light {
  padding: 48px 0 !important;
}

/* ── 3. DEPT TABS SPACING ── */
.dept-tabs {
  margin-bottom: 28px !important;
  gap: 8px !important;
}
.dept-tab {
  padding: 8px 18px !important;
  font-size: 0.83rem !important;
}

/* ── 4. DEPT-PANEL-INNER : info card + produits ── */
.dept-panel-inner {
  gap: 36px !important;
}

/* ── 5. DIC-IMG-WRAP : hauteur image carte dept ── */
.dic-img-wrap {
  height: 260px !important;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — BREAKPOINTS COMPLETS
════════════════════════════════════════════════════════════ */

/* ── DESKTOP large (≤ 1200px) ── */
@media (max-width: 1200px) {
  .dept-panel-inner {
    grid-template-columns: 320px 1fr !important;
    gap: 28px !important;
  }
  .products-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px !important;
  }
}

/* ── TABLETTE large (≤ 1024px) ── */
@media (max-width: 1024px) {
  .page-section { padding: 40px 0 !important; }
  .dept-panel-inner {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .dic-img-wrap { height: 240px !important; }
  .dept-info-card {
    position: static !important;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px !important;
  }
  .hero-content { max-width: 100% !important; }
}

/* ── TABLETTE (≤ 768px) ── */
@media (max-width: 768px) {
  /* Sections */
  .page-section { padding: 36px 0 !important; }
  .dept-header,
  .section-header { margin-bottom: 20px !important; }
  .section-title { font-size: clamp(1.3rem, 5vw, 1.7rem) !important; }
  .section-sub { font-size: 0.88rem !important; }

  /* Dept tabs — scroll horizontal */
  .dept-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    padding-bottom: 8px !important;
    margin-bottom: 20px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .dept-tabs::-webkit-scrollbar { display: none; }
  .dept-tab {
    flex-shrink: 0 !important;
    padding: 7px 14px !important;
    font-size: 0.78rem !important;
  }

  /* Dept panel */
  .dept-panel-inner {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .dic-img-wrap { height: 220px !important; }
  .dic-body { padding: 18px 18px 22px !important; }
  .dic-devis { font-size: 0.74rem !important; padding: 9px 16px !important; }

  /* Products grid */
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .product-card { padding: 18px 14px !important; }
  .product-icon { width: 44px !important; height: 44px !important; font-size: 1.1rem !important; }

  /* About */
  .about-values { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  .about-grid { grid-template-columns: 1fr !important; gap: 24px !important; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
  .contact-form { padding: 24px 18px !important; }
  .contact-info { padding: 24px 18px !important; }
  .form-row { grid-template-columns: 1fr !important; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 24px !important; }

  /* News */
  .news-grid { grid-template-columns: 1fr !important; gap: 16px !important; }

  /* Promo */
  .promo-grid { grid-template-columns: 1fr !important; gap: 14px !important; }

  /* Value cards */
  .value-card { flex-direction: row !important; text-align: left !important; gap: 14px !important; padding: 18px !important; }
}

/* ── MOBILE (≤ 600px) ── */
@media (max-width: 600px) {
  /* Sections */
  .page-section { padding: 28px 0 !important; }
  .section-title { font-size: clamp(1.2rem, 5.5vw, 1.5rem) !important; }

  /* Dept panels */
  .dic-img-wrap { height: 200px !important; }
  .dic-body { padding: 14px 15px 18px !important; }
  .dic-tags { gap: 4px !important; margin-bottom: 14px !important; }
  .dic-tags .dept-tag { font-size: 0.68rem !important; padding: 3px 10px !important; }
  .dept-info-card h3 { font-size: 1.05rem !important; }

  /* Products */
  .products-grid { grid-template-columns: 1fr !important; }
  .product-card h4 { font-size: 0.9rem !important; }

  /* About values 1 col */
  .about-values { grid-template-columns: 1fr !important; }

  /* Contact items */
  .contact-item { flex-direction: column !important; align-items: flex-start !important; gap: 8px !important; }

  /* Footer 1 col */
  .footer-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
  .footer-bottom { flex-direction: column !important; gap: 8px !important; text-align: center !important; }

  /* Brands row */
  .brands-row { padding: 16px !important; }
  .brand-pill { font-size: 0.72rem !important; padding: 4px 10px !important; }

  /* Breadcrumb */
  .breadcrumb { font-size: 0.75rem !important; }

  /* Buttons */
  .btn { padding: 10px 18px !important; font-size: 0.8rem !important; }
  .dic-devis { width: 100% !important; justify-content: center !important; }
}

/* ── MOBILE small (≤ 400px) ── */
@media (max-width: 400px) {
  .page-section { padding: 22px 0 !important; }
  .container { padding: 0 14px !important; }
  .dept-tab { padding: 6px 11px !important; font-size: 0.72rem !important; }
  .section-title { font-size: 1.15rem !important; }
  .dic-img-wrap { height: 180px !important; }
}

/* ══════════════════════════════════════════════════
   DEPT-INFO-CARD STICKY + SECTION COMPACTE
   (desktop ≥ 1025px uniquement)
══════════════════════════════════════════════════ */
@media (min-width: 1025px) {
  /* Section plus proche du banner */
  .page-section:first-of-type {
    padding-top: 32px !important;
  }

  /* Tabs sur une seule ligne, scroll si besoin */
  .dept-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    padding-bottom: 6px !important;
    margin-bottom: 24px !important;
    scrollbar-width: thin !important;
    scrollbar-color: rgba(200,16,46,0.3) transparent !important;
  }
  .dept-tabs::-webkit-scrollbar { height: 3px; }
  .dept-tabs::-webkit-scrollbar-track { background: transparent; }
  .dept-tabs::-webkit-scrollbar-thumb { background: rgba(200,16,46,0.3); border-radius: 2px; }
  .dept-tab { flex-shrink: 0 !important; }

  /* Carte info sticky pendant le scroll des produits */
  .dept-info-card {
    position: sticky !important;
    top: 80