/* ==========================================================================
   HELLA FOODS SARL - STYLES PRINCIPAUX
   Design fidèle à la maquette officielle & 100% responsive
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --primary-red: #931821;
  --primary-red-hover: #731218;
  --accent-gold: #c58f38;
  --accent-gold-light: #fdf6ec;
  --dark-text: #1d1d1f;
  --body-text: #505763;
  --footer-bg: #1c2024;
  --footer-text: #9ca3af;
  --card-bg-light: #faf8f5;
  --border-light: #ede8e1;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-script: 'Caveat', cursive, serif;
}

html, body {
  font-family: var(--font-sans);
  color: var(--body-text);
  background-color: #ffffff;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, .h1, .h2, .h3 {
  font-family: var(--font-serif);
  color: var(--dark-text);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.script-font {
  font-family: var(--font-script);
  font-size: 1.55rem;
  line-height: 1.2;
  color: #3b434e;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.4rem;
  display: block;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.navbar-brand img,
.navbar-logo-hella {
  height: 58px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
  filter: drop-shadow(0 2px 8px rgba(147, 24, 33, 0.15));
}

.navbar-brand:hover .navbar-logo-hella {
  transform: scale(1.04);
}

.navbar-nav .nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: #333d47;
  padding: 0.6rem 1.1rem !important;
  position: relative;
  transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-red);
}

.navbar-nav .nav-link.active {
  color: var(--primary-red);
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 1.1rem;
  right: 1.1rem;
  height: 2.5px;
  background-color: var(--primary-red);
  border-radius: 2px;
}

.search-toggle-btn {
  background: none;
  border: none;
  font-size: 1.15rem;
  color: #333d47;
  padding: 0.5rem;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.search-toggle-btn:hover {
  color: var(--primary-red);
  transform: scale(1.1);
}

/* ==========================================================================
   DROPDOWN & SUBMENU NAVIGATION
   ========================================================================== */
.dropdown-menu {
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

.dropdown-submenu {
  position: relative;
}

@media (min-width: 992px) {
  .dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: 2px;
    display: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
  }
  
  .dropdown-submenu:hover > .dropdown-menu,
  .dropdown-submenu.show > .dropdown-menu {
    display: block;
    animation: fadeInSubmenu 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .dropdown-submenu > .dropdown-toggle::after {
    display: inline-block;
    margin-left: auto;
    vertical-align: middle;
    content: "";
    border-top: 4px solid transparent;
    border-right: 0;
    border-bottom: 4px solid transparent;
    border-left: 5px solid currentColor;
    opacity: 0.6;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .dropdown-submenu:hover > .dropdown-toggle::after {
    opacity: 1;
    transform: translateX(2px);
  }
}

@keyframes fadeInSubmenu {
  from {
    opacity: 0;
    transform: translateX(-6px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 991.98px) {
  .dropdown-submenu > .dropdown-menu {
    position: static;
    display: block;
    margin-left: 1rem;
    padding-left: 0.5rem;
    border-left: 2px solid #fee2e2;
    background: transparent;
    box-shadow: none !important;
    border-top: none;
    border-right: none;
    border-bottom: none;
  }

  .dropdown-submenu > .dropdown-toggle::after {
    display: inline-block;
    margin-left: auto;
    vertical-align: middle;
    content: "";
    border-top: 5px solid currentColor;
    border-right: 4px solid transparent;
    border-bottom: 0;
    border-left: 4px solid transparent;
  }
}

/* ==========================================================================
   SOUS-MENU INTERACTIF NOS ÉPICES DÉPLIABLE
   ========================================================================== */
.epices-submenu-wrapper {
  position: relative;
}

.epices-toggle-btn {
  cursor: pointer;
  user-select: none;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.epices-toggle-btn:hover {
  background-color: rgba(147, 24, 33, 0.06);
  color: var(--primary-red) !important;
}

.epices-chevron {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 0.8rem;
  transform: rotate(180deg);
}

.epices-toggle-btn.collapsed .epices-chevron {
  transform: rotate(0deg);
}

.epices-sublist-inner {
  animation: fadeInDownSub 0.2s ease forwards;
}

@keyframes fadeInDownSub {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-hella {
  background-color: var(--primary-red);
  color: #ffffff;
  border: 1px solid var(--primary-red);
  padding: 0.65rem 1.7rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(147, 24, 33, 0.25);
  text-decoration: none;
}

.btn-hella:hover {
  background-color: var(--primary-red-hover);
  border-color: var(--primary-red-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(147, 24, 33, 0.35);
}

.btn-hella-outline {
  background-color: transparent;
  color: #b88628;
  border: 1.5px solid #b88628;
  padding: 0.6rem 1.6rem;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-hella-outline:hover {
  border-color: #b88628;
  color: #ffffff;
  background-color: #b88628;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(184, 134, 40, 0.25);
}

.btn-circle-action {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--primary-red);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-circle-gold {
  background-color: var(--accent-gold);
}

/* ==========================================================================
   HERO BANNER - 100% VISIBLE & PARFAITEMENT RESPONSIVE
   Adapté à toutes les résolutions (Mobile, Tablette, PC Portable, 4K)
   ========================================================================== */
.hero-banner-section {
  position: relative;
  width: 100%;
  background-color: #faf6f0;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.hero-panoramic-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 800;
  line-height: 0;
  margin: 0;
  padding: 0;
  background-color: #faf6f0;
}

/* L'image complète s'affiche à 100% sans aucun rognage à toutes les résolutions */
.hero-panoramic-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1920 / 800;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* Superposition du texte sur la gauche de la photo pour desktop et tablette */
.hero-text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 38%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: clamp(1.5rem, 4.5vw, 6rem);
  line-height: normal;
  background: transparent;
}

.hero-text-overlay .section-label {
  font-size: clamp(0.75rem, 1.05vw, 1.1rem);
  letter-spacing: 0.18em;
  margin-bottom: clamp(0.25rem, 0.6vw, 0.75rem);
  color: #b88628;
  font-weight: 700;
}

.hero-text-overlay .hero-title {
  font-size: clamp(1.35rem, 2.6vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: clamp(0.45rem, 1vw, 1.3rem);
  color: #1a1a1a;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.hero-text-overlay .hero-title .text-gold {
  color: #b88628;
  font-style: normal;
  display: inline;
}

.hero-divider-gold {
  width: 48px;
  height: 2.5px;
  background-color: #b88628;
  border-radius: 2px;
  margin-top: 0.2rem;
  margin-bottom: clamp(0.7rem, 1.2vw, 1.4rem);
}

.hero-text-overlay .hero-lead {
  font-size: clamp(0.85rem, 1.2vw, 1.25rem);
  line-height: 1.5;
  color: #2b303a;
  font-weight: 500;
  margin-bottom: clamp(0.7rem, 1.3vw, 1.8rem);
  max-width: 92%;
}

.hero-text-overlay .btn-hella {
  font-size: clamp(0.82rem, 1.05vw, 1.08rem);
  padding: clamp(0.45rem, 0.8vw, 0.75rem) clamp(1.1rem, 1.8vw, 2.1rem);
  box-shadow: 0 4px 16px rgba(147, 24, 33, 0.3);
  align-self: flex-start;
}

/* Écrans moyens / Tablettes (768px à 991px) */
@media (max-width: 991.98px) and (min-width: 768px) {
  .hero-panoramic-wrap {
    min-height: 420px;
    position: relative;
  }
  .hero-panoramic-img {
    height: 420px;
    object-fit: cover;
    object-position: 88% center;
  }
  .hero-text-overlay {
    width: 44%;
    padding-left: 2rem;
    padding-right: 0.8rem;
  }
  .hero-text-overlay .hero-title {
    font-size: 1.75rem;
    line-height: 1.15;
  }
  .hero-text-overlay .hero-lead {
    font-size: 0.88rem;
    max-width: 95%;
    margin-bottom: 1rem;
  }
  .hero-text-overlay .btn-hella {
    font-size: 0.85rem;
    padding: 0.45rem 1.2rem;
  }
}

/* Smartphones et petits écrans (< 768px) : affichage identique au PC (bannière panoramique avec superposition) */
@media (max-width: 767.98px) {
  .hero-panoramic-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 800;
    line-height: 0;
    margin: 0;
    padding: 0;
    display: block;
    background-color: #faf6f0;
  }
  
  .hero-panoramic-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1920 / 800;
    max-width: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    border-top: none;
  }
  
  .hero-text-overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 42%;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: clamp(0.75rem, 3.6vw, 1.8rem);
    padding-right: 0.35rem;
    background: transparent;
    text-align: left;
    line-height: normal;
  }
  
  .hero-text-overlay .section-label {
    font-size: clamp(0.48rem, 1.6vw, 0.72rem);
    letter-spacing: 0.12em;
    margin-bottom: clamp(0.12rem, 0.4vw, 0.3rem);
    color: #b88628;
    font-weight: 700;
  }
  
  .hero-text-overlay .hero-title {
    font-size: clamp(0.68rem, 2.7vw, 1.25rem);
    line-height: 1.12;
    margin-bottom: clamp(0.15rem, 0.6vw, 0.4rem);
    color: #1a1a1a;
    font-weight: 800;
    text-align: left;
    letter-spacing: -0.01em;
  }
  
  .hero-text-overlay .hero-title .text-gold {
    color: #b88628;
    font-style: normal;
    display: inline;
  }
  
  .hero-divider-gold {
    width: clamp(16px, 3.2vw, 30px);
    height: 1.5px;
    background-color: #b88628;
    border-radius: 2px;
    margin-top: 0.1rem;
    margin-bottom: clamp(0.18rem, 0.6vw, 0.45rem);
    margin-left: 0;
    margin-right: auto;
  }
  
  .hero-text-overlay .hero-lead {
    font-size: clamp(0.48rem, 1.55vw, 0.72rem);
    line-height: 1.25;
    color: #2b303a;
    font-weight: 500;
    margin-bottom: clamp(0.2rem, 0.8vw, 0.6rem);
    max-width: 96%;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .hero-text-overlay .btn-hella {
    font-size: clamp(0.48rem, 1.55vw, 0.72rem);
    padding: clamp(0.18rem, 0.5vw, 0.35rem) clamp(0.5rem, 1.4vw, 0.9rem);
    align-self: flex-start;
    margin-left: 0;
    margin-right: auto;
    box-shadow: 0 2px 6px rgba(147, 24, 33, 0.25);
    white-space: nowrap;
  }
  
  .hero-text-overlay .btn-hella i {
    font-size: 0.85em;
    margin-left: 0.2rem;
  }
  
  .navbar-logo-hella {
    height: 46px;
  }
}

@media (max-width: 480px) {
  .hero-text-overlay .hero-title {
    font-size: clamp(0.65rem, 2.7vw, 0.85rem);
  }
}


/* ==========================================================================
   QUI SOMMES-NOUS ? (Fidèle à la capture image.png avec la photo ChatGPT)
   ========================================================================== */
.about-section {
  position: relative;
  background-color: #ffffff;
  padding: 3.5rem 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.about-text-content {
  padding-left: clamp(1.5rem, 5vw, 6.5rem);
  padding-right: 2rem;
  max-width: 560px;
}

.about-label-wrapper {
  margin-bottom: 0.65rem;
}

.about-label-logo {
  height: clamp(28px, 2.2vw, 36px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(147, 24, 33, 0.15));
}

.about-section .section-label {
  font-size: clamp(0.95rem, 1.25vw, 1.3rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #b88628;
  margin-bottom: 0;
  display: inline-block;
}

.about-title {
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

.about-text {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #4b5563;
  margin-bottom: 2rem;
}

.about-map-wrap {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  line-height: 0;
  aspect-ratio: 1024 / 417;
  background-color: #f8f6f0;
}

.about-map-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 417;
  max-height: 420px;
  object-fit: cover;
  object-position: right center;
  display: block;
  /* Léger fondu adouci uniquement sur l'extrême bord pour laisser l'écriture 100% nette */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 1.5%, black 4%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.4) 1.5%, black 4%);
  transition: transform 0.35s ease;
}

.about-map-photo:hover {
  transform: scale(1.015);
}

/* Adaptation Tablettes (768px - 991px) */
@media (max-width: 991.98px) and (min-width: 768px) {
  .about-text-content {
    padding-left: 2rem;
    padding-right: 1rem;
    max-width: 100%;
  }
  .about-map-photo {
    max-height: 320px;
  }
}

/* Adaptation Smartphones (< 768px) */
@media (max-width: 767.98px) {
  .about-section {
    padding: 2.5rem 0 0 0;
  }
  
  .about-text-content {
    padding: 0 1.4rem;
    text-align: center;
    max-width: 100%;
  }
  
  .about-text-content .btn-hella-outline {
    margin-left: auto;
    margin-right: auto;
  }
  
  .about-map-wrap {
    margin-top: 2rem;
  }
  
  .about-map-photo {
    max-height: 280px;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* ==========================================================================
   NOS MARQUES
   ========================================================================== */
.marques-section {
  padding: 4rem 0;
  background-color: #faf9f6;
}

.section-main-title {
  font-size: 2.35rem;
  margin-bottom: 2.5rem;
}

.brand-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem 1.6rem;
  height: 100%;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.brand-card-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Colonne Logo */
.brand-card-logo {
  flex-shrink: 0;
  width: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-card-logo img {
  width: 100%;
  max-height: 105px;
  object-fit: contain;
}

/* Colonne Texte */
.brand-card-body {
  flex: 1;
  padding-right: 110px; /* Laisse l'espace pour le bol sur la droite */
}

.brand-card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.brand-card-desc {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #555e6c;
  margin-bottom: 0.95rem;
  max-width: 260px;
}

/* Bouton / Lien d'action (Cercle rouge + texte + flèche) */
.brand-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  color: #8d141e;
  transition: all 0.25s ease;
}

.brand-circle-btn {
  width: 28px;
  height: 28px;
  background-color: #8d141e;
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.brand-action-link:hover {
  color: #6d0f17;
}

.brand-action-link:hover .brand-circle-btn {
  transform: translateX(3px);
  background-color: #6d0f17;
}

.brand-action-link:hover .brand-link-arrow {
  transform: translateX(4px);
}

.brand-link-arrow {
  transition: transform 0.25s ease;
  font-size: 0.95rem;
}

/* Style Céréales (doré) */
.brand-action-gold {
  color: #b88628;
}

.brand-circle-btn.gold-btn {
  background-color: #c58f38;
}

/* Photo du bol à droite avec dégradé en transparence */
.brand-card-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 175px;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.3) 12%, black 38%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.3) 12%, black 38%);
}

.brand-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
}

/* Responsive Tablettes & Mobiles pour les cartes de marques */
@media (max-width: 1199.98px) and (min-width: 992px) {
  .brand-card-body {
    padding-right: 90px;
  }
  .brand-card-photo {
    width: 135px;
  }
}

@media (max-width: 767.98px) {
  .brand-card {
    padding: 1.5rem 1.2rem;
  }
  .brand-card-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .brand-card-logo {
    width: 110px;
  }
  .brand-card-body {
    padding-right: 0;
  }
  .brand-card-desc {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .brand-action-link {
    justify-content: center;
  }
  .brand-card-photo {
    opacity: 0.2;
    width: 130px;
  }
}

/* ==========================================================================
   NOS GAMMES
   ========================================================================== */
.gammes-section {
  padding: 4rem 0 5rem 0;
  background: #ffffff;
}

.gamme-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.2rem 1.6rem;
  border: 1px solid #f0eee9;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  position: relative;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 2px 12px rgba(0,0,0,0.02);
}

.gamme-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.08);
  border-color: #e5e0d8;
}

.gamme-card-1 {
  background-color: #fcf1ef;
  border-color: #f6ded9;
}

.gamme-card-1:hover {
  background-color: #f9e7e4;
  border-color: #f0cdc6;
}

.gamme-card-2 {
  background-color: #f4f6e9;
  border-color: #e5ebd3;
}

.gamme-card-2:hover {
  background-color: #edf0df;
  border-color: #d8e0be;
}

.gamme-card-3 {
  background-color: #fcf8ef;
  border-color: #f4ecdc;
}

.gamme-card-3:hover {
  background-color: #f8f1e2;
  border-color: #ebdcb9;
}

.gamme-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.gamme-card-1 .gamme-card-title { color: #9c272a; }
.gamme-card-2 .gamme-card-title { color: #2e7d32; }
.gamme-card-3 .gamme-card-title { color: #c4801e; }

.gamme-card-desc {
  font-size: 0.87rem;
  color: #6b7280;
  line-height: 1.55;
  margin-bottom: 1.8rem;
  min-height: 58px;
}

.gamme-card-img-wrap {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
}

.gamme-card-img {
  max-width: 100%;
  max-height: 110px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.gamme-card:hover .gamme-card-img {
  transform: scale(1.05);
}

.gamme-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s ease;
}

.gamme-link:hover {
  color: var(--primary-red-hover);
  gap: 0.7rem;
}

/* ==========================================================================
   CONTACT BANNER
   ========================================================================== */
.contact-banner-section {
  padding: 3.5rem 0;
  background-color: #faf6f0;
  background-image: radial-gradient(#d3c5b4 0.75px, transparent 0.75px);
  background-size: 24px 24px;
  border-top: 1px solid #ebd9c4;
  border-bottom: 1px solid #ebd9c4;
}

.contact-banner-title {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
}

.contact-banner-desc {
  font-size: 0.95rem;
  color: #64748b;
  max-width: 440px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.92rem;
  color: #334155;
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.contact-info-item i {
  color: var(--primary-red);
  font-size: 1.15rem;
  flex-shrink: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 2.8rem 0 2.2rem 0;
  font-size: 0.88rem;
}

.footer-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.8rem;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
  transition: transform 0.25s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-tagline {
  color: #94a3b8;
  font-size: 0.82rem;
  line-height: 1.45;
  border-left: 2px solid #374151;
  padding-left: 0.9rem;
  margin-bottom: 0.8rem;
}

.footer-copy {
  color: #6b7280;
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.footer-social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2a3038;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-social-icon:hover {
  background: var(--primary-red);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-badge-brand {
  font-size: 0.82rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-badge-brand i {
  color: #22c55e;
}

/* ==========================================================================
   PRODUCT CATALOG & CARDS (FOR PRODUITS.PHP & MODAL)
   ========================================================================== */
.product-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #ebebeb;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.08);
  border-color: #e2dcd5;
}

.product-thumb-wrap {
  width: 100%;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #faf8f5;
  border-radius: 12px;
  margin-bottom: 1.2rem;
  padding: 1rem;
  position: relative;
}

.product-thumb {
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-thumb {
  transform: scale(1.08);
}

.product-badge-gamme {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
}

.badge-saveurs-du-monde {
  background-color: #fee2e2;
  color: #991b1b;
}

.badge-la-touche {
  background-color: #dcfce7;
  color: #166534;
}

.badge-tradition {
  background-color: #fef3c7;
  color: #92400e;
}

.badge-vital {
  background-color: #fef9c3;
  color: #854d0e;
}

.product-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.3rem;
}

.product-arabic {
  font-family: serif;
  font-size: 0.95rem;
  color: #8b5e34;
  margin-bottom: 0.6rem;
  direction: rtl;
}

.product-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f1f1;
  padding-top: 0.8rem;
}

.product-weight {
  font-size: 0.82rem;
  font-weight: 700;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Filter pills */
.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-btn {
  border: 1.5px solid #e5e7eb;
  background: #ffffff;
  color: #4b5563;
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover, .filter-btn.active {
  border-color: var(--primary-red);
  background-color: var(--primary-red);
  color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE OPTIMIZATIONS
   ========================================================================== */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .about-title {
    font-size: 2.1rem;
  }
  .section-main-title {
    font-size: 2rem;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
    margin: 1rem 0;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 2.2rem 0;
  }
  .hero-title {
    font-size: 2.15rem;
  }
  .hero-lead {
    font-size: 0.98rem;
  }
  .about-title, .section-main-title {
    font-size: 1.8rem;
  }
  .contact-banner-title {
    font-size: 1.7rem;
  }
  .contact-info-item {
    font-size: 0.85rem;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .brand-card-visual {
    width: 90px;
    height: 90px;
  }
}
