* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

/* === TON CODE D'ORIGINE - NE PAS TOUCHER === */
/* HEADER ULTRA PREMIUM */
.premium-header {
  background: linear-gradient(145deg, #0d0d0d 0%, #1a1a1a 100%);
  padding: 20px 0;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  }
  
  /* CONTAINER */
  .container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  }
  
  /* LOGO */
  .logo img {
  height: 80px;
  object-fit: contain;
  transition: transform 0.3s ease;
  }
  
  .logo img:hover {
  transform: scale(1.05);
  }
  
  /* NAVBAR PREMIUM VISIBILITÉ MAXIMUM */
  .navbar ul {
  list-style: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
  }
  
  .navbar ul li {
  position: relative;
  }
  
  .navbar ul li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
  letter-spacing: 0.7px;
  padding: 10px 15px;
  border-radius: 10px;
  }
  
  .navbar ul li a span {
  font-size: 24px;
  margin-bottom: 6px;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  }
  
  .navbar ul li a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #b8860b;
  box-shadow: 0 6px 18px rgba(255, 215, 0, 0.4);
  transform: translateY(-3px);
  }
  
  .navbar ul li a:hover span {
  transform: scale(1.3);
  color: #ffffff;
  }
  
  .navbar ul li a::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #b8860b;
  transition: width 0.3s ease;
  }
  
  .navbar ul li a:hover::after {
  width: 50%;
  }
  
  
  
  /* ==== RESPONSIVE ULTRA PREMIUM ++++ ==== */
  @media (max-width: 992px) {
  .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .navbar {
    width: 100%;
    display: none;
    flex-direction: column;
    background: #111;
    padding: 20px;
    border-radius: 15px;
    margin-top: 10px;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.1);
  }
  
  .navbar ul {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  
  .navbar ul li a {
    justify-content: flex-start;
    font-size: 16px;
  }
  
  .navbar ul li a span {
    font-size: 20px;
  }
  
  
  
  /* Hamburger Icon */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
  }
  
  .hamburger div {
    width: 28px;
    height: 3px;
    background: #b8860b;
    border-radius: 3px;
    transition: 0.3s;
  }
  
  .hamburger.active div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger.active div:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .navbar.show {
    display: flex;
  }
  }
  
  @media (max-width: 500px) {
  .logo img {
    height: 55px;
  }
  
  
  }
  
    
    
    /* SECTION HERO ULTRA PREMIUM */
    .hero {
      position: relative;
      background: url('../../img/hero-g.jpg') no-repeat center center/cover;
      height: 85vh;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      color: #ffffff;
      overflow: hidden;
    }
    
    .hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6); /* Overlay noir pour lisibilité */
      z-index: 1;
    }
    
    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 800px;
      padding: 30px;
      animation: fadeInUp 1s ease-out forwards;
      opacity: 0;
    }
    
    .hero h1 {
      font-size: 3.8rem;
      margin-bottom: 20px;
      font-weight: 700;
      letter-spacing: 1px;
      line-height: 1.2;
    }
    
    .hero h1 .gold {
      color: #b8860b; /* Mot clé doré */
    }
    
    .hero p {
      font-size: 1.5rem;
      margin-bottom: 40px;
      line-height: 1.6;
      color: #f0f0f0;
    }
    
    /* Animation d'entrée douce */
    @keyframes fadeInUp {
      0% {
          transform: translateY(30px);
          opacity: 0;
      }
      100% {
          transform: translateY(0);
          opacity: 1;
      }
    }
    
    /* ✅ ULTRA RESPONSIVE PREMIUM+++ MOBILE */
    @media (max-width: 768px) {
      .hero {
          height: auto;
          padding: 60px 6% 100px;
      }
    
      .hero-content {
          padding: 20px;
          max-width: 90%;
      }
    
      .hero h1 {
          font-size: 2.5rem;
          line-height: 1.4;
          margin-bottom: 15px;
      }
    
      .hero p {
          font-size: 1.1rem;
          margin-bottom: 25px;
          line-height: 1.5;
      }
    }


  /* === SECTION DÉCOUVERTE ULTRA-PREMIUM IMMOBILIER === */
.discover-section {
  position: relative;
  padding: 120px 40px;
  background: linear-gradient(135deg, #ffffff, #e8f1f7);
  overflow: hidden;
  text-align: center;
  
  box-shadow: inset 0 5px 30px rgba(0, 0, 0, 0.05);
}

/* === COULEUR GOLD POUR LE TEXTE "GALERIE DE PHOTOS" === */
.gold-text {
  color: #b8860b; /* Gold */
  font-weight: 700;
}

.discover-inner {
  max-width: 1100px;
  margin: 0 auto;
  z-index: 2;
  position: relative;
}

.discover-title {
  font-size: 3rem;
  font-weight: 900;
  color: #2a2a2a;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
}

.discover-subtitle {
  font-size: 1.25rem;
  color: #555;
  max-width: 780px;
  margin: 0 auto 50px;
  line-height: 1.7;
  font-weight: 500;
  opacity: 0.9;
}

/* === BOUTON CTA PREMIUM === */
.discover-button {
  display: inline-block;
  padding: 18px 40px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #ffaf40, #f5b042);
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.discover-button:hover {
  background: linear-gradient(135deg, #ffd166, #f5b042);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* === DÉCORATIONS FOND BULLES PREMIUM === */
.discover-decor {
  position: absolute;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 224, 154, 0.6) 0%, transparent 75%);
  z-index: 1;
  opacity: 0.25;
  filter: blur(60px);
  animation: float 10s ease-in-out infinite alternate;
}

.decor-left {
  top: -150px;
  left: -180px;
}

.decor-right {
  bottom: -150px;
  right: -150px;
}

/* === ANIMATIONS === */
@keyframes float {
  0% {
    transform: translateY(0px) scale(1);
  }
  100% {
    transform: translateY(20px) scale(1.05);
  }
}

/* === RESPONSIVE === */
@media screen and (max-width: 768px) {
  .discover-title {
    font-size: 2.4rem;
  }

  .discover-subtitle {
    font-size: 1.1rem;
    padding: 0 15px;
  }

  .discover-button {
    font-size: 1rem;
    padding: 16px 30px;
  }

  .discover-decor {
    width: 350px;
    height: 350px;
    filter: blur(40px);
  }
}





/* Style pour les titres dans les sections */
.gallery-section h2,
.premium-section h2 {
  font-size: 3rem; /* Taille de police */
  font-weight: 900; /* Poids de la police */
  color: #b8860b; /* Couleur dorée pour le texte */
  text-transform: uppercase; /* Met en majuscule le texte */
  letter-spacing: 2px; /* Espacement entre les lettres */
  padding: 20px 0; /* Espacement vertical autour du texte */
  background-color: #111; /* Fond noir pour le bandeau */
  color: #b8860b; /* Couleur du texte doré */
  width: 100%; /* Assure que le titre prend toute la largeur de la page */
  margin: 0; /* Supprimer les marges */
  text-align: center; /* Centrer le texte */
  box-sizing: border-box; /* Assurer que le padding est inclus dans la largeur totale */
}

/* Assurer que les sections prennent toute la largeur et sont responsives */
.gallery-section,
.premium-section {
  padding: 0;
  margin: 0; /* Supprimer les marges de la section */
}

/* Responsivité pour les petits écrans */
@media (max-width: 768px) {
  .gallery-section h2,
  .premium-section h2 {
    font-size: 2.5rem; /* Réduire la taille du texte sur les petits écrans */
    padding: 15px 0; /* Ajuster l'espacement vertical */
  }
}

/* Responsivité pour les très petits écrans */
@media (max-width: 480px) {
  .gallery-section h2,
  .premium-section h2 {
    font-size: 2rem; /* Réduire encore plus la taille du texte */
    padding: 10px 0; /* Ajuster l'espacement vertical */
  }
}



  /* SECTION GALLERY - ULTRA RESPONSIVE MOBILE FIRST */

.gallery-section {
  padding: 50px 15px;
  background-color: #f4f4f4;
  color: #333;
  text-align: center;
}

/* Container mobile = 1 colonne */
.gallery-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

/* Item : mobile optimisé */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  padding: 4px;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  transition: transform 0.3s ease;

}

.gallery-item img:hover {
  transform: scale(1.05);
}

.gallery-item img.lazy {
  opacity: 0.1;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.gallery-item img.loaded {
  opacity: 1;
  visibility: visible;
}

/* Texte superposé */
.card-text-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: #fff;
  border-radius: 0 0 12px 12px;
}

.card-text-overlay h3 {
  margin: 0 0 5px;
  font-size: 1rem;
  color: #b8860b;
}

.card-text-overlay p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Tablette */
@media (min-width: 600px) {
  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .gallery-item img {
    height: 250px;
  }

  .card-text-overlay h3 {
    font-size: 1.1rem;
  }

  .card-text-overlay p {
    font-size: 1rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .gallery-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
  }

  .gallery-item img {
    height: 300px;
  }

  .card-text-overlay h3 {
    font-size: 1.2rem;
  }

  .card-text-overlay p {
    font-size: 1.05rem;
  }
}

   /* SECTION PREMIUM BIENS - ULTRA RESPONSIVE MOBILE FIRST */

.premium-section {
  padding: 60px 15px;
  background-color: #111;
  color: #fff;
  text-align: center;
}

.premium-heading h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 800;
  color: #b8860b;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: textAnimate 1s ease-out;
}

.premium-heading p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ddd;
  max-width: 90%;
  margin: auto;
  opacity: 0;
  animation: fadeIn 2s ease-in-out forwards;
  animation-delay: 0.5s;
}

/* Mobile First - 1 image par ligne */
.premium-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 10px 0;
}

/* Premium Item - adapté mobile */
.premium-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  cursor: pointer;
  padding: 4px;
}

.premium-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  
}

/* Badge catégorie - bien visible sur mobile */
.category-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
}

.category-badge span {
  white-space: nowrap;
}

/* Tablette - 2 colonnes */
@media (min-width: 600px) {
  .premium-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .premium-item img {
    height: 250px;
  }

  .premium-heading h2 {
    font-size: 2.8rem;
  }

  .premium-heading p {
    font-size: 1.2rem;
    max-width: 700px;
  }
}

/* Desktop - 3 colonnes ou plus */
@media (min-width: 1024px) {
  .premium-gallery {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
  }

  .premium-item:hover {
    transform: scale(1.05) rotateY(5deg) rotateX(5deg);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.4);
  }

  .premium-item img {
    height: 300px;
  }

  .premium-heading h2 {
    font-size: 4rem;
  }

  .premium-heading p {
    font-size: 1.4rem;
  }
}

/* Animations */
@keyframes textAnimate {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

   /* GALERIE RESPONSIVE INTELLIGENTE */

/* Mobile First - 1 image par ligne */
.premium-gallery, .gallery-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 10px;
}

.premium-item, .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.premium-item img, .gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
 
}

/* Optionnel : réduire la qualité visuelle sur mobile lent */
@media (max-width: 480px) {
  .premium-item img, .gallery-item img {
    height: 180px;
  }
}

/* Tablette : 2 images par ligne */
@media (min-width: 600px) {
  .premium-gallery, .gallery-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* Desktop : 3+ images par ligne */
@media (min-width: 1024px) {
  .premium-gallery, .gallery-container {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
  }

  .premium-item:hover, .gallery-item:hover {
    transform: scale(1.05) rotateY(5deg) rotateX(5deg);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.4);
  }
}

  /* Footer (repris de ton code précédent) */
  .footer {
    background-color: #111;
    color: #ddd;
    padding: 60px 20px 30px;
    font-family: 'Montserrat', sans-serif;
  }
  
  .footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .footer-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
  }
  
  .footer-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
  }
  
  .footer-col h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #fff;
  }
  
  .footer-col p,
  .footer-col a {
    font-size: 0.95rem;
    color: #bbb;
    text-decoration: none;
    line-height: 1.8;
  }
  
  .footer-col a:hover {
    color: #fff;
  }
  
  .social-icons a {
    color: #bbb;
    font-size: 1.2rem;
    margin-right: 15px;
    transition: 0.3s ease;
  }
  
  .social-icons a:hover {
    color: #007bff;
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.85rem;
  }
  
  .footer-bottom a {
    color: #888;
    margin: 0 10px;
  }
  
  .footer-bottom a:hover {
    color: #fff;
  }
  