/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Fancy Cut Pro Regular;
  color: #111;
  background: #fff;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 15px 20px;
  text-align: center;
}

/* LOGO */
.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}

.logo img {
  width: 450px;       /* largeur maximale du logo */
  max-width: 90%;     /* pour rester responsive sur mobile */
  height: auto;       /* garde les proportions */
}

.burger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  position: absolute;
  left: 20px;
  top: 28px;
  z-index: 1100;
}

.nav { display: flex; justify-content: center; }
.nav ul { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav ul li a {
  text-decoration: none;
  color: #111;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 0;
}

.has-submenu { position: relative; }
.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 20px 30px;
  display: none;
  flex-direction: column;
  gap: 10px;
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  z-index: 999;
}
.submenu a { color: #111; font-size: 13px; text-transform: uppercase; }
.has-submenu:hover .submenu, .submenu.open { display: flex; }

/* MOBILE */
@media (max-width: 768px) {
  .burger { display: block; }
  .nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    border-top: 1px solid #eee;
  }
  .nav.nav-active { display: flex; }
  .nav ul { flex-direction: column; padding: 20px 0; }
  .nav ul li { padding: 12px 0; }
  .submenu { position: static; transform: none; box-shadow: none; padding: 10px 0; }
  .submenu a { font-size: 14px; }
}

/* ===== BANNIÈRE PRINCIPALE ===== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 70vh; /* hauteur dynamique */
  min-height: 300px;
  max-height: 700px;
  overflow: hidden;
}

/* LES IMAGES */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  object-fit: cover; /* 🔥 LA CLÉ : empêche déformation */
  object-position: center;

  opacity: 0;
  transition: opacity 1s ease;
}

/* IMAGE ACTIVE */
.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

/* MOBILE */
@media (max-width: 768px) {
  .hero-slider {
    height: 45vh;
    min-height: 250px;
  }
}

/* SLIDER COLLECTIONS */
.section-collections { padding: 60px 20px; background: #fff; }
.slider-container {
  position: relative;
  max-width: 1200px;
  margin: auto;
  height: 450px;
  overflow: visible;
}
.slider-container .hero-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.8s ease;
}
.slider-container .hero-slide.active { opacity: 1; z-index: 1; }
.slide-inner { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.slide-text { flex: 1; padding-right: 30px; }
.slide-text .small-title { font-size: 14px; color: #888; margin-bottom: 10px; text-transform: uppercase; }
.slide-text .slide-title { font-size: 28px; margin-bottom: 20px; }
.slide-text .slide-title span { color: #b18f5b; }
.slide-text .slide-description { font-size: 16px; line-height: 1.6; margin-bottom: 20px; color: #444; }
.slide-text .slide-button {
  display: inline-block;
  padding: 10px 25px;
  background: #111;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
}
.slide-text .slide-button:hover { background: #b18f5b; }
.slide-image { flex: 1; }
.slide-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

/* FLÈCHES */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  color: #b18f5b;
  background: rgba(255,255,255,0.8);
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 50%;
  z-index: 1000;
}
.prev { left: -60px; }
.next { right: -60px; }
.prev:hover, .next:hover { background: rgba(255,255,255,1); }

@media (max-width: 900px) {
  .slide-inner { flex-direction: column-reverse; text-align: center; }
  .slide-text { padding: 20px 0 0 0; }
}

/* ===== DÉCOUVREZ NOS MARQUES ===== */
.section-brands {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.section-brands .section-title {
  font-size: 32px;
  margin-bottom: 40px;
  font-weight: 600;
  color: #111;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.brand-item {
  width: 140px;
  text-decoration: none;
  color: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.brand-item img {
  width: 100px;
  height: auto;
  object-fit: contain;
  margin-bottom: 10px;
}

.brand-item span {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.brand-item:hover {
  transform: scale(1.1);
}

.cartier-minisite {
  width: 100%;
  max-width: 1200px; /* ou 100% si tu veux full width */
  margin: 0 auto;
}
#live-container {
  width: 100%;
  min-height: 600px; /* hauteur minimale pour mobile/PC */
}


/* ===== COLLECTIONS GRID (JOAILLERIE & HORLOGERIE) ===== */
.collections-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;         /* espace entre les deux images */
  padding: 60px 20px;
}

/* ITEM COLLECTION */
.collection-item {
  flex: 1 1 48%;      /* 2 par ligne sur PC */
  max-width: 550px;    /* limite largeur PC */
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #111;
  cursor: pointer;
}

.collection-image {
  width: 100%;
  aspect-ratio: 1.2;
  overflow: hidden;
  border-radius: 8px;
}

.collection-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.collection-item:hover .collection-image img {
  transform: scale(1.05);
}

.collection-text-container {
  text-align: center;
  padding: 15px 10px;
  background: #fff;
}

.collection-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 6px;
}

.collection-text {
  font-size: 14px;
  color: #555;
}

/* ===== VERSION MOBILE ===== */
@media (max-width: 768px) {
  .collections-grid {
    display: flex;
    flex-direction: column;  /* empile verticalement */
    width: 100%;
    margin: 0;
    padding: 0;
  }

  /* Premier item = Horlogerie en haut */
  .collection-item:first-child {
    order: 1;
    width: 100%;      /* pleine largeur */
    max-width: 100%;
    margin: 0 0 20px 0;
  }

  /* Deuxième item = Joaillerie en bas */
  .collection-item:last-child {
    order: 2;
    width: 100%;      /* pleine largeur */
    max-width: 100%;
    margin: 20px 0 0 0;
  }

  .collection-image {
    width: 100%;
    height: auto;
  }

  .collection-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 8px;
  }

  .collection-text-container {
    text-align: center;
    padding: 10px 0;
  }

  .collection-title {
    font-size: 22px;
    margin-bottom: 5px;
  }

  .collection-text {
    font-size: 14px;
  }
}

/* ===== BANNIÈRE IMAGE FULL WIDTH ===== */
.full-banner {
  width: 100%;
  overflow: hidden; /* éviter scroll horizontal */
}

.full-banner img {
  width: 100%;
  height: auto; /* conserver proportions */
  display: block;
}

/* ===== SAINT‑VALENTIN ===== */
.section-valentin {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.section-valentin .section-title {
  font-size: 32px;
  margin-bottom: 40px;
  font-weight: 600;
  color: #111;
}

.valentin-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.valentin-item {
  width: 240px;
  margin-bottom: 30px;
  text-align: center;
}

.valentin-item img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 15px;
}

.valentin-item h3 {
  font-size: 18px;
  color: #111;
  margin-bottom: 6px;
}

.valentin-item .price {
  font-size: 14px;
  color: #888;
  margin-bottom: 10px;
}

.valentin-btn-wrapper {
  margin-top: 40px;
}

.valentin-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #b18f5b;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}

.valentin-btn:hover {
  background: #8a6e44;
}

/* Responsive */
@media (max-width: 900px) {
  .valentin-grid { flex-direction: column; gap: 20px; }
}

/* ===== SECTION RETROUVEZ-NOUS ===== */
.section-contact {
  padding: 60px 20px;
  background: #f7f7f7;
  text-align: center;
}

.section-contact .container {
  max-width: 1200px;
  margin: auto;
}

.section-contact .section-title {
  font-size: 28px;
  margin-bottom: 40px;
  color: #111;
  font-weight: 600;
}

.contact-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.contact-item {
  flex: 1;
  min-width: 250px;
  background: #fff;
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.contact-item h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #b18f5b;
  text-transform: uppercase;
}

.contact-item p {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

.contact-item .contact-link {
  display: block;
  font-size: 14px;
  color: #111;
  text-decoration: none;
  margin-bottom: 5px;
  transition: color 0.3s ease;
}

.contact-item .contact-link:hover {
  color: #b18f5b;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-grid {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .submenu {
    display: none;
  }

  .submenu.open {
    display: flex;
  }
}



/* COLLECTIONS GRID */
.collections { padding: 60px 20px; text-align: center; }
.collection-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.collection-item { width: 220px; }
.collection-item img { width: 100%; border-radius: 6px; }



/* ===== SOUS-SOUS-MENU (NIVEAU 3) ===== */

/* le sous-menu contenu dans un autre sous-menu */
.submenu .has-submenu {
  position: relative;
}

/* position du niveau 3 */
.submenu .has-submenu > .submenu {
  top: 0;
  left: 100%;
  transform: none;
  margin-left: 10px;
  display: none;
  min-width: 220px;
}

/* affichage au hover */
.submenu .has-submenu:hover > .submenu {
  display: flex;
}

/* petite flèche visuelle (optionnel mais luxe) */
.submenu .has-submenu > a::after {
  content: "›";
  float: right;
  font-size: 14px;
  opacity: 0.6;
}


.contact-item {
  text-align: center;
}

.contact-image {
  width: 100%;
  max-width: 300px;   /* taille propre */
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin: 15px auto 0 auto; /* centre l'image */
  display: block;
}

/* ===== LA MAISON BEN NASR ===== */
.section-maison {
  padding: 80px 20px;
  background: #f9f9f9;
  text-align: center;
}

.maison-container {
  max-width: 800px;
  margin: auto;
}

.maison-title {
  font-size: 32px;
  margin-bottom: 30px;
  font-weight: 600;
  color: #111;
}

.maison-text {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

/* MOBILE */
@media (max-width: 768px) {
  .maison-title {
    font-size: 26px;
  }

  .maison-text {
    font-size: 15px;
  }
}
/* ===== FOOTER ===== */
.footer {
  background: #111;
  color: #fff;
  padding: 50px 20px;
  font-family: Fancy Cut Pro Regular;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center; /* centre tout le bloc horizontalement */
  gap: 80px; /* espace entre colonnes */
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-column h4 {
  font-size: 16px;
  margin-bottom: 15px;
  text-transform: uppercase;
  color: #b18f5b; /* doré */
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #b18f5b;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
}
