:root {
  --primary-color: #FFD700; /* Doré */
  --secondary-color: #1e3a8a; /* Bleu foncé */

}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Playfair Display';

}


header {
  background-color: #000000;
}

nav {
  height: 10vh; /* 10% de la hauteur de la fenêtre */
  width: 100vw; /* Prend toute la largeur */
  background: #000000; /* Ou autre couleur */
  display: flex;
  align-items: center; /* Centrer les éléments verticalement */
  justify-content: space-between; /* Répartir les éléments */
  padding: 0 20px; /* Petit padding sur les côtés */
  position: fixed; /* Fixer en haut */
  top: 0;
  left: 0;
  z-index: 1000; /* Toujours au-dessus des autres éléments */
}

:root { --topbar-h: 28px; } /* plus compact */

nav.has-topbar{
  /* garde ton display/flex d’origine */
  position: fixed; /* ou fixed si c’était le cas chez toi */
  top: 0;
  z-index: 4000;
  padding-top: var(--topbar-h); /* décale le contenu du nav sous la topbar */
}

.nav-topbar{
  position: absolute;
  top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  background-color: #81746b;
  color: #FFFFFF;
  display: flex; align-items: center;
  overflow: hidden;
  z-index: 1;
}

.nav-topbar .swiper{ width: 100%; height: 100%; }
.nav-topbar .swiper-slide{
  display:flex; align-items:center; justify-content:center;
  padding: 0 12px; text-align:center; font-size: 1.1rem; line-height:1.3;
}

/* Si ton nav est en position: fixed; ajoute un offset au premier bloc de page pour éviter l’écrasement */
body.has-fixed-nav .home-section{ margin-top: var(--topbar-h); }



body {
  padding-top: 10vh; /* Décaler le contenu sous le bandeau */
  overflow-x : hidden;
}
nav .logo {
  z-index: 2;
  position: relative;
}
/* Logo à gauche */
.logo {
  height: 35vh;
  padding-top: 10vh;
  display: flex;
  align-items: center;
  z-index: 2;
}

.logo img {
  max-height: 20vh; /* Ajustable selon tes préférences */
  width: auto; /* Maintient les proportions */
}

.social-contact {
  height: auto;
  display: flex;
  flex-direction: row; /* Met en colonne */
  gap: clamp(5px, 1vw, 15px); /* Espacement entre icônes et numéro */
}

.social-links {
  display: flex;
  gap: 10px;
  padding-top: 5px;
}


/* Icônes SVG */
.social-links svg {
  height: clamp(20px, 5vw, 30px);
  width: clamp(20px, 5vw, 30px);
  fill: #f8f8f8; /* Couleur des icônes */
  transition: fill 0.3s ease;
}

.social-links svg:hover {
  fill: var(--primary-color); /* Changement de couleur au survol */
}

/* Numéro de téléphone */
.contact-info {
  align-items: center;
  display: flex;
  gap: 10px;
}
.contact-info a {
  text-decoration: none;
  color: var(--primary-color);
  font-size: clamp(0.8rem, 2vw, 1.1rem);
  padding-right: 1vw;
}


/* Style du menu */
.menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.menu li {
  position: relative;
}

/* Style du lien principal */
.menu > li > a {
  text-decoration: none;
  color: var(--primary-color);
  padding: clamp(5px, 1.5vw, 15px) clamp(8px, 2vw, 15px);
  font-size: clamp(0.9rem, 2.5vw, 1.3rem);

}

.menu a.active {
  color: var(--primary-color); /* Doré */
  font-weight: bold;
  border-bottom: 2px solid var(--primary-color); /* Ligne dorée sous l'onglet actif */
  padding-bottom: 5px;
}


/* Style du sous-menu */
.submenu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid #ddd;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  display: none;
  width: 200px;
  z-index: 1000;
}

.submenu li {
  padding: 10px;
}

.submenu li a {
  text-decoration: none;
  color: black;
  display: block;
}

/* Affichage du sous-menu au survol */
.dropdown:hover .submenu {
  display: block;
}

/* Effet au survol */
.submenu li a:hover {
  background: var(--primary-color);
  color: white;
}


html , body {
  margin: 0;
  padding: 0;
  height:100%;
}


/* Chaque section prend toute la hauteur de l'écran */
/* Style général pour les sections */
section {
  height: 90vh; /* Chaque section prend 90% de la hauteur de la fenêtre */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Conteneur du carousel */
.carousel-container {
  position: relative;
  width: auto;
  height : 100vh;
  margin-top: 10vh;
  overflow: hidden; /* Cache les images qui débordent */
}

.carousel {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.carousel img {
  width: 100vw;
  margin-top: 5vh;
  height: auto;
  display: none;
}

.carousel img.active {
  display: block;
}


/* Flèches de navigation */
button {
  position: absolute;
  top: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 2;
  transform: translateY(-50%);
}

.prev {
  left: 10px;
  color : var(--primary-color);
}

.next {
  right: 10px;
  color : var(--primary-color);
}

/* Points de navigation */
.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  height: 15px;
  width: 15px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background-color: var(--primary-color); /* Point actif plus grand */
  transform: scale(1.5);
}


.carousel-text {
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 215, 0, 0.8); /* Couleur primaire avec opacité */
  color: black;
  padding: 20px;
  text-align: center;
  width: 50%;
  max-width: 600px;
}

.carousel-text h2 {
  font-size: 2rem;
  color: black;
  margin-bottom: 10px;
}

.carousel-text p {
  font-size: 1.2rem;
}







.section-2 {
  display: flex;
  height: 100vh;
  width: 100vw;
}

.image-container {
  width: 50%;
  height: 100%;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-container {
  width: 50%;
  padding: 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.text-container h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.text-container p {
  font-size: 1.3rem;
  color: black;
  line-height: 1.5;
}


/* 1) Section pleine largeur, fond marbré, centré */
.instagram-section {
  background: url('../images/marbre.jpeg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  padding: 2rem 0;      /* espace haut/bas */
  width: 100%;          /* 100% du parent, pas de 100vw */
  box-sizing: border-box;
  height: auto;
  overflow-x : hidden;
}

/* 2) Conteneur limité et centré */
.instagram-container {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: none;    /* ajustez selon largeur Insta */
  margin: 0 auto;
  box-sizing: border-box;
}

/* 3) L’iframe remplit son conteneur, sans débordement */
.lightwidget-widget {
  display: block;       /* pour que margin auto fonctionne */
  width: 100%;
  height: auto;
  border: none;
}






/* Style pour le texte */
h2 {
  font-size: 2rem;
  color: var(--primary-color); /* Couleur principale */
}




  /* Footer */
  .footer {
    background-color: #000; /* Fond noir */
    color: var(--primary-color);
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 10px 5vw;
  }
  
  .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .footer-maps {
    margin-top: 3vh;
    margin-right: 9vw;
  }
  
  .footer-slogan {
    display: flex;
    font-size: 1.4rem;
    margin-bottom: 10px;
  }

  /* Logo à gauche */
  .footer-logo img {
    height: 30vh; /* Ajuste la taille du logo */
  }
  .footer-logo p {
    font-size:1.2rem;
  }
  
  /* Informations de contact */
  .footer-contact p {
    margin: 3px 0;
    font-size:1.2rem;
  }
  
  /* Numéro de téléphone cliquable */
  .footer-contact a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
  }
  
  .footer-contact a:hover {
    text-decoration: underline;
  }
  
  /* Mentions légales en bas */
  .footer-legal {
    text-align: center;
    font-size: 1rem;
    margin-top: 10px;
  }
  
  .footer-legal a {
    color: white;
    text-decoration: none;
  }
  
  .footer-legal a:hover {
    text-decoration: underline;
  }