:root {
  --primary: #c5a47e; /* Or Homi */
  --black: #111111;
  --white: #ffffff;
  --grey-bg: #f8f8f8;
  --transition: 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  color: var(--black);
  line-height: 1.7;
  background-color: var(--white);
  overflow-x: hidden;
}
/* Header Adaptatif */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
}
/* État au Scroll */
header.scrolled {
  background-color: var(--white);
  color: var(--primary);
  border-bottom: 1px solid #e0e0e0;
}
/* Pas de changement de fond au hover (Ta demande) */
header:hover {
  background-color: transparent;
}
header.scrolled:hover {
  background-color: var(--white);
}
.container {
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* Logo & Icon */
.logo {
  display: flex;
  align-items: center;
  margin-left: -6px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 2px;
  color: gray;
}
.logo img {
  width: 170px; /* Garde les proportions */
  height: 170px; /* Taille adaptée pour ne pas déborder du header de 80px */
  margin-left: -90px; /* "Aspire" le texte vers l'icône pour un look soudé */
  object-fit: contain;
}
/* Navigation */
nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  color: white;
}
nav ul li a {
  text-decoration: none;
  color: gray;
  font-size: 13px;
  font-weight: 600;
  position: relative;
  padding-bottom: 31px; /* Alignement sur la ligne du header */
}
/* Barre Active Précise */
nav ul li a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: currentColor;
}
/* Icons Section */
.header-icons {
  display: flex;
  gap: 20px;
  align-items: center;
  color: gray;
}
.cart-icon {
  position: relative;
  color: gray;
}
.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: #ff4757; /* Rouge Jotech */
  color: white;
  font-size: 11px;
  font-weight: bold;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex; /* Important pour centrer le chiffre */
  align-items: center;
  justify-content: center;
}
/*================================================
  1. BANNIÈRE CONTACT 
================================================*/
.hero-banner-img {
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin-top: 80px; /* Espace pour le header fixe */
}

.hero-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%); /* Effet artistique luxe */
  transition: transform 2s ease;
}

.hero-banner-img:hover img {
  transform: scale(1.05);
}
/*================================================
  2. MISE EN PAGE ASYMÉTRIQUE ne change rien
================================================*/
.contact-container {
  background: #fff;
}
.from-wrapper {
  display: grid;

  gap: 80px;
  padding: 90px;
  max-width: 1400px;
  margin: 0 auto;
}

/*================================================
  3. CÔTÉ INFOS (GAUCHE) ne donne pas 
================================================*/
.contact-info-side h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 25px;
  color: var(--black);
}
.contact-info-side > p {
  color: #777;
  margin-bottom: 50px;
  font-size: 1rem;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 40px;
}
.info-item i {
  font-size: 1.2rem;
  color: var(--primary); /* Ton doré */
  margin-top: 5px;
}
.info-item h4 {
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
  color: var(--black);
}
.info-item p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}
/*================================================
  4. FORMULAIRE (DROITE) ca donne
================================================*/
.contact-header-banner {
  text-align: center;
  background: #fff;
  padding: 90px 0 0 0; /*POUR RAPPROCHER L'IMAGE*/
}
.contact-header-banner h1 {
  font-family: 'Playfair Display', serif;
  margin-top: 15px;
  font-size: 2.5rem; /* Remplacez 4rem par 2.8rem (plus petit et élégant) */
  font-weight: 500; /* Optionnel : pour un aspect un peu plus fin */
}
.contact-hero-img {
  width: 100%;
  overflow: hidden; /* Empêche tout débordement */
  line-height: 0; /* Supprime l'espace blanc indésirable sous l'image */
  margin-bottom: -80px;
}
.contact-hero-img img {
  width: 100%;
  height: 500px; /* Hauteur fixe pour un look bannière */
  object-fit: cover; /* Recadre l'image proprement sans la déformer */
  object-position: center; /* Centre le sujet de la photo */
  display: block;
}
.breadcrumb {
  font-family: 'Poppins', sans-serif;
  font-size: 11px; /* Pour diminuer la police */
  letter-spacing: 2px; /* Pour l'élégance du site Homi */
  color: #a5a5a5; /* Gris clair comme le modèle */
  text-transform: uppercase;
  display: block; /* Pour bien se placer au-dessus du titre */
}
/* Ajustement pour les tablettes */
@media (max-width: 1024px) {
  .contact-hero-img img {
    height: 400px;
  }
}
/* Ajustement pour les mobiles */
@media (max-width: 768px) {
  .contact-hero-img img {
    height: 300px;
  }
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  background: #fff; /* Fond blanc pour le bloc */
  padding: 80px 60px; /* Espacement intérieur large */
  max-width: 1200px;

  position: relative;
  z-index: 10;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05); /* Ombre légère comme Homi */
}
.contact-details {
  padding: 70px;
}
.info-block {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}
.info-block i {
  color: #b59a7d;
  font-size: 1.8rem;
}
.info-block h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 5px;
}
.homi-form input,
.homi-form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #eee;
  background: #fdfdfd;
  margin-bottom: 15px;
}
.btn-homi-gold {
  background: #b59a7d;
  color: #fff;
  padding: 15px 40px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 600;
}
/* --- SECTION TRENDING (STYLE HOMI) --- */
.trending-section {
  padding: 90px 0;
  background-color: #ffffff;
  font-family: 'Poppins', sans-serif;
}
.trending-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  margin-bottom: 50px;
  padding: 0 20px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem; /* Grand format comme Homi */
  color: #1a1a1a;
  margin: 0;
}
.homi-trending-section {
  padding: 80px 0;
  background-color: #fff;
}

.homi-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.btn-browse-shop {
  padding: 10px 20px;
  background-color: #f8f8f8;
  color: #111;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid #eee;
  transition: 0.3s;
  /*metre le bouton a droite*/
}
.btn-browse-shop:hover {
  background-color: #b5a489; /* Changement vers la couleur ARISU au survol */
  color: white;
}
/* Grille de 4 colonnes */
.trending-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 produits alignés */
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* Cadre de l'image (Gris clair Homi) */
.product-img-container {
  background-color: #f6f6f6; /* Gris Homi */
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}
.product-img-container img {
  max-width: 85%;
  height: auto;
  mix-blend-mode: multiply; /* Fusionne le blanc de l'image avec le gris */
  transition: transform 0.5s ease;
}
/* Overlay du bouton "Add to cart" noir */
.product-overlay {
  position: absolute;
  bottom: -60px;
  left: 0;
  width: 100%;
  height: 55px;
  transition: bottom 0.3s ease;
}
.trending-card:hover .product-overlay {
  bottom: 0; /*LE BOUTON VIENT CA PAR*/
}
.trending-card:hover img {
  transform: scale(1.1);
}
/* Infos Produits */
.product-info {
  text-align: center;
}

.product-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #1a1a1a;
}
.price {
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 5px;
}
.old-price {
  text-decoration: line-through;
  color: #bbb;
  font-size: 0.9rem;
  margin-left: 8px;
}
.stars {
  color: #ccae62; /* Or pour les étoiles */
  font-size: 0.8rem;
}
/* Badges Promo Noirs */
.badge-promo {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #1a1a1a;
  color: white;
  padding: 5px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  z-index: 5;
}
/* BOUTON */
.btn-add-cart {
  background: #b59b6b;
  border: none;
  padding: 10px 20px;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.btn-add-cart:hover {
  background: black;
}
/* Responsive */
@media (max-width: 1024px) {
  .trending-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-title {
    font-size: 2.5rem;
  }
}
@media (max-width: 600px) {
  .trending-grid {
    grid-template-columns: 1fr;
  }
}
/*================================================
  6. FOOTER (Épuré et Noir)
================================================*/
.site-footer {
  background-color: #000000;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  padding-top: 60px;
}
.footer-widgets {
  display: grid;
  /* Auto-fit crée automatiquement le nombre de colonnes selon la place */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5% 60px 5%;
}
.footer-widget-col {
  padding: 0 0px;
  border-right: 1px solid rgba(255, 255, 255, 0.1); /* Ligne verticale */
}
.footer-widget-col:last-child {
  border-right: none; /* Pas de ligne sur la dernière colonne */
}

.footer-widget-col h4 {
  margin-bottom: 25px;
  font-size: 1.1rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-widget-col ul {
  list-style: none;
} /*reture les point*/
.footer-widget-col ul li {
  margin-bottom: 15px;
}
.footer-widget-col ul li a {
  color: #999;
  text-decoration: none; /*retire le soulignement*/
  font-size: 0.9rem;
  transition: 0.3s;
}
.footer-widget-col ul li a:hover {
  color: var(--white);
}
/* Newsletter Style */
.newsletter input {
  width: 100%;
  padding: 15px;
  background: #222; /*fond*/
  border: none;
  color: white; /*texte blanc*/
  margin-bottom: 15px;
  margin-top: 20px;
}
.newsletter button {
  width: 100%;
  padding: 15px;
  background: var(--primary);
  border: none;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
/* Style de l'overlay (fond sombre) */
.modal-overlay {
  display: none; /* Caché par défaut */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

/* Contenu de la popup */
.modal-content {
  background: #fff;
  color: #333;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

/* Boutons */
.modal-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 25px;
}

.btn-yes,
.btn-no {
  padding: 12px 25px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.btn-yes {
  background: #a8947a;
  color: white;
} /* Couleur Homi */
.btn-no {
  background: #eee;
  color: #555;
}

.btn-yes:hover {
  background: #000;
}
.btn-no:hover {
  background: #ddd;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}
.footer-newsletter-form button:hover {
  background-color: #8e7354;
  transform: translateY(-2px);
}
.payment-icons {
  margin-top: 25px;
  font-size: 1.5rem;
  display: flex;
  gap: 50px;
  opacity: 0.6;
}
.payment-methods img {
  height: 20px;
}
/* Copyright Bar */
.footer-copyright-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #555;
  font-size: 0.85rem;
}
.social-icons {
  display: flex;
  gap: 20px;
}
.social-icons a {
  color: #555;
  font-size: 1rem;
  transition: 0.3s;
}
.social-icons a:hover {
  color: #fff;
}
/*================================================
  7. RESPONSIVE DESIGN (Media Queries)
================================================*/

/* Tablette (Max 992px) */
@media (max-width: 992px) {
  .footer-widgets {
    grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
  }
}

/* Smartphone (Max 600px) */
@media (max-width: 600px) {
  .footer-widgets {
    grid-template-columns: 1fr; /* 1 seule colonne */
    text-align: center;
  }

  .footer-widget-col {
    border-right: none;
    margin-bottom: 40px;
  }

  .payment-icons,
  .social-icons {
    justify-content: center;
  }

  .footer-copyright-bar {
    flex-direction: column; /* Texte au dessus des icônes */
    text-align: center;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 25px;
  }
}

/*================================================
  7. UTILS & FLOATS
================================================*/
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}
