@import url("https://fonts.googleapis.com/css2?family=Cursifl&display=swap");

/*:root {
  --gold: #d4af37;
  --dark: #111;
  --light-bg: #fdfaf6;
  --alt-bg: #f8f4ef;
  --transition: 0.1s ease;
  --header-height: 125px;
}*/

:root {
  --gold: #d4af37;
  --dark: #111;
  --light-bg: #f3ead9;   /* fond beige */
  --alt-bg: #faf5ea;     /* carte : même famille, juste plus claire, pas blanc pur */
  --transition: 0.3s ease;
  --header-height: 125px;
}
/* ---------- POLICES ---------- */
@font-face {
  font-family: "Amsterdam Four";
  src: url("../fonts/Amsterdam_Four_ttf_400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}




/* ---------- STYLE GLOBAL ---------- */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: var(--light-bg);
  color: #222;
  transition: background var(--transition), color var(--transition);
  padding-top: var(--header-height);
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

a:hover {
  color: #b08d2f;
  text-decoration: underline;
}



/* 1. On s'assure que la page elle-même ne crée aucun espace en haut */
html, body {
  margin: 0 !important;
  padding: 0 !important;
}

/* 2. Nettoyage et collage du bandeau tout en haut */
header {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #0d0d0d; /* Votre noir actuel */
  margin: 0 !important;
  padding: 10px 0 !important; /* Réduit l'espace vertical interne au strict minimum */
  display: flex;
  flex-direction: column; /* Permet d'avoir le titre au-dessus et le menu en dessous si besoin */
  align-items: center;
    z-index: 1000;
}

/* 3. Ajustement de la ligne du titre et du logo */
header h1 {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center; /* Centre le texte principal */
  min-height: 60px;
}

/* 4. Le logo à gauche qui peut déborder proprement */
.header-logo {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  height: 150px; /* Augmentez cette valeur pour le faire dépasser en haut/bas du bandeau noir */
  width: auto;
  object-fit: contain;
  z-index: 10;
}

/* 5. Le sous-titre au centre */
header h1 .h1-subtitle {
  font-size: 2rem;
  color: var(--gold);
  letter-spacing: 1px;
  font-family: "Poppins italic", serif;
  text-align: center;
  margin: 0;
}



/* ---------- ICONES RESEAUX ---------- */
.social-icons {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  right: 20px;
  display: flex;
  gap: 15px;
}

.social-icons a img {
  width: 75px;
  height: 75px;
  transition: transform var(--transition);
}

.social-icons a img:hover {
  transform: scale(1.2);
}

/* ---------- MENU ---------- */
nav {
  position: relative;
}

nav ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: #d4af37;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-family: "Cursifl", cursive;
  transition: background var(--transition), color var(--transition), transform 0.3s ease;
}

nav a:hover,
nav a.active {
  background-color: var(--gold);
  color: var(--dark);
  transform: scale(1.05);
  text-decoration: none;
}

/* ---------- BOUTON RESERVATION (MENU) ---------- */
.nav-reservation {
  background-color: var(--gold) !important;
  color: var(--dark) !important;
  font-weight: 700;
}

.nav-reservation:hover {
  background-color: #b08d2f !important;
  transform: scale(1.05);
}

/* ---------- MENU HAMBURGER ---------- */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 8px;
  background: transparent;
  color: var(--gold);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: var(--gold);
  color: var(--dark);
  outline: none;
}

/* ---------- MAIN / SECTIONS ---------- */
main section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 12px;
  scroll-margin-top: 50;
}

#fast-nav {
  padding-top: 40px;
}

main section:nth-child(even) {
  background-color: var(--alt-bg);
}

main section h2 {
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: 1px;
  font-family: "Cursifl", cursive;
}

/* ---------- NAVIGATION RAPIDE ---------- */
.navigation-rapide {
  text-align: center;
  padding: 30px 20px;
  background-color: var(--light-bg);
  border-bottom: 2px solid var(--alt-bg);
}

.navigation-rapide h2 {
  color: var(--dark);
  font-family: "Cursifl", cursive;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.nav-prestations {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.nav-prestations a {
  text-decoration: none;
  background-color: var(--alt-bg);
  color: var(--dark);
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  transition: background-color var(--transition), transform var(--transition), color var(--transition);
  border: 1px solid #ddd;
}

.nav-prestations a:hover {
  background-color: var(--gold);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* ---------- PRESTATIONS ---------- */
.prestation-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.prestation-box {
  display: flex;
  align-items: center;
  gap: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: var(--alt-bg);
  transition: transform var(--transition);
  padding: 20px;
}

.prestation-box:hover {
  transform: scale(1.02);
}

.prestation-box img {
  width: 100%;
  max-width: 350px;
  height: 250px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 12px;
}

.prestation-box img.img-depose {
  width: 100%;
  height: 100%;
  max-width: 350px;
  max-height: 250px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 12px;
  display: block;
}

.prestation-info {
  flex-grow: 1;
  padding: 0;
}

.prestation-info h3 {
  color: var(--gold);
  margin-bottom: 10px;
}

.prestation-box.right {
  flex-direction: row-reverse;
}

/* ---------- GALERIE ---------- */
.galerie {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.photo {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.photo img {
  width: 100%;
  display: block;
  border-radius: 12px;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.photo:hover img {
  transform: scale(1.1);
  filter: brightness(0.5);
}

.legende {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
  font-weight: bold;
  font-size: 1.2em;
  color: #000;
  background: rgba(212, 175, 55, 0.7);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.photo:hover .legende {
  opacity: 1;
}

/* ---------- FOOTER ---------- */
footer {
  text-align: center;
  padding: 1.5rem;
  background-color: var(--dark);
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: 2rem;
  font-family: "Amsterdam Four", sans-serif;
}

/* ---------- PRESENTATION ---------- */
.presentation {
  color: black;
  padding: 60px 20px;
  text-align: center;
}

.presentation-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.portrait img {
  width: 280px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  transition: transform 0.3s ease;
}

.portrait img:hover {
  transform: scale(1.05);
}

.texte-presentation {
  max-width: 600px;
  font-family: "Poppins", cursive;
  background: rgba(212, 175, 55, 0.08);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.texte-presentation h2 {
  font-family: "Amsterdam Four", cursive;
  color: var(--gold);
  margin-bottom: 20px;
  font-size: 2em;
}

/* ---------- AVIS GOOGLE ---------- */
#avis-google {
  padding: 20px 20px;
  text-align: center;
}

#avis-google h2 {
  color: black;
}

.avis-container {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 40px auto;
}

.avis-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  flex: 1 1 300px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avis-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.1);
  border-color: var(--gold);
}

.stars {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

.avis-card p {
  font-style: italic;
  color: black;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.client-name {
  font-weight: bold;
  color: var(--gold);
  font-size: 0.9rem;
}

.avis-photo {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  background-color: #333;
}

/* ---------- SECTION NOTRE ESPACE ---------- */
#notre-espace {
  padding: 60px 20px;
  text-align: center;
}

/* ---------- TARIFS ---------- */
.tarif-item {
  box-sizing: border-box;
  background-color: var(--alt-bg);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  padding: 18px 20px;
  margin-bottom: 18px;
  width: 100%;
}

.tarif-item .prestation h3 {
  margin: 0 0 10px 0;
  color: var(--gold);
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
}

.tarif-row,
.option-item {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.tarif-row:last-child,
.option-item:last-child {
  border-bottom: none;
}

.tarif-row .left,
.option-item .option {
  flex: 1 1 auto;
  text-align: left;
  color: #222;
}

.tarif-row .right,
.option-item .prix {
  flex: 0 0 auto;
  margin-left: auto;
  white-space: nowrap;
  color: var(--gold);
  font-weight: 700;
  text-align: right;
  font-size: 1.1rem;
}

.tarif-item .prestation .desc {
  text-align: center;
  color: #555;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.tarifs-list {
  display: none;
  max-width: 980px;
  margin: 0 auto 40px;
  padding: 10px 12px;
}

.tarifs-list.active {
  display: block;
}

/* ---------- CARROUSEL 3D ---------- */
.carousel-section {
  text-align: center;
  padding: 20px 20px 150px 20px;
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.carousel-section h2 {
  color: #d4af37;
  font-family: "Amsterdam Four", cursive;
  font-size: 2.8em;
  margin-bottom: 80px;
  position: relative;
  z-index: 10;
}

.carousel-3d-wrapper {
  perspective: 1200px;
  width: 100%;
  height: 300px;
  position: relative;
  margin: 50px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-3d {
  width: 0;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  left: auto;
  top: auto;
  margin: 0 auto;
}

.carousel-3d img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 130px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transform-origin: center;
  margin-left: -65px;
  margin-top: -100px;
}

.arrow {
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  padding: 15px 20px;
  border-radius: 50%;
  color: #d4af37;
  font-size: 2em;
  cursor: pointer;
  z-index: 20;
}

.left-arrow {
  left: 20px;
}

.right-arrow {
  right: 20px;
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85%;
}

.lightbox img {
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
}

/* ---------- INFORMATIONS ---------- */
#informations {
  padding-bottom: 50px;
  text-align: center;
}

.info-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.info-bloc {
  flex: 1 1 300px;
  background-color: var(--alt-bg);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.plan-maison-figure {
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
}

.plan-maison-img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 780px;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

.horaires-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 250px;
}

.horaires-list li {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.map-container iframe {
  width: 100%;
  max-width: 800px;
  height: 450px;
  border: none;
  border-radius: 12px;
}

.map-link a {
  font-weight: 500;
}

/* ---------- MENTIONS LEGALES ---------- */
.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 20px;
  line-height: 1.7;
  font-size: 0.95rem;
}

.legal-container h1 {
  text-align: center;
  margin-bottom: 50px;
  color: var(--gold);
  font-family: "Amsterdam Four", sans-serif;
  font-size: 2rem;
}

.legal-box {
  position: relative;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  padding: 25px 25px 20px;
  margin-bottom: 30px;
  background-color: rgba(212, 175, 55, 0.03);
  transition: all 0.3s ease;
}
/*
.legal-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--gold);
  border-radius: 12px 12px 0 0;
}
*/

.legal-box:hover {
  border-color: var(--gold);
  background-color: rgba(212, 175, 55, 0.06);
  transform: translateY(-2px);
}

.legal-box h2 {
  margin: 0 0 12px;
  color: var(--dark);
  font-size: 1.2rem;
  text-align: center;
  font-family: "Cursifl", cursive;
}

.legal-box p {
  margin: 8px 0;
  text-align: left;
}

.legal-box strong {
  color: var(--gold);
}

.legal-box a {
  color: var(--gold);
  text-decoration: none;
}

.legal-box a:hover {
  text-decoration: underline;
}

/* ---------- RESPONSIVE TABLETTE ---------- */
/* ==========================================================================
   VERSION TABLETTE (iPad 769px à 1100px)
   ========================================================================== */
@media screen and (min-width: 769px) and (max-width: 1100px) {
  .header-logo {
    left: 15px;
    right: auto;
    top: 30%;
    transform: translateY(-50%);
    height: clamp(80px, 11vw, 120px);
  }

  header {
    padding: 8px 0 !important;
  }

  .social-icons {
    right: 15px;
  }

  .social-icons img {
    width: 55px;
    height: 55px;
  }

  header h1 .h1-subtitle {
    font-size: 1.55rem;
  }
}

/* ==========================================================================
   VERSION MOBILE GLOBAL (0px à 768px)
   ========================================================================== */
@media screen and (max-width: 768px) {
  
  /* 1. Ajustement du Header global sur Mobile */
  header {
    padding: 15px 20px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }

  /* 2. Positionnement du logo (Fixé à gauche) */
  .header-logo {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    height: 75px; 
    width: auto;
    object-fit: contain;
    z-index: 10;
  }

  /* 3. Masquer le sous-titre sur mobile */
  header h1 {
    min-height: auto;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  header h1 .h1-subtitle {
    display: none;
  }

  /* 4. Gestion des réseaux sociaux */
  .social-icons {
    position: static; 
    transform: none;
    margin: 5px 0;
    gap: 10px;
  }

  .social-icons a img {
    width: 40px;
    height: 40px;
  }

  /* 5. Bouton Hamburger / Toggle (Placé complètement à droite) */
  .menu-toggle {
    display: inline-flex;
    position: absolute;
    top: 30%;
    right: 20px;       /* Aligné sur le bord droit du header */
    left: auto;
    transform: translateY(-70%); /* Centré verticalement avec le logo */
    z-index: 16;
  }

  /* 6. Menu déroulant */
  nav {
    width: 100%;
    min-height: auto;
    margin-top: 0;
  }

  nav ul {
    position: absolute;
    top: 100%; 
    left: 0;
    right: 0;
    z-index: 1001;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    margin: 0;
    padding: 15px;
    background-color: #0d0d0d;
    border-top: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  }

  nav ul.active {
    display: flex; 
  }

  nav li {
    width: 100%;
  }

  nav a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    text-align: center;
  }

  /* 7. Reste du contenu de la page */
  main section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .prestation-box,
  .prestation-box.right {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 15px;
  }

  .prestation-box img {
    max-width: 80%;
    height: auto;
  }

  .presentation-container,
  .prestation-container {
    flex-direction: column;
  }

  .nav-prestations {
    flex-direction: column;
    gap: 10px;
  }

  .avis-card {
    flex: 0 0 250px;
  }

  /* 8. Carrousels & Visuels */
  .carousel-section {
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
  }

  .carousel-3d-wrapper {
    height: 220px;
    margin-top: 30px;
  }

  .carousel-3d img {
    width: 110px;
    height: 160px;
    margin-left: -55px;
    margin-top: -80px;
  }

  .left-arrow { left: 8px; }
  .right-arrow { right: 8px; }
}

/* ==========================================================================
   PETITS MOBILES (Moins de 650px)
   ========================================================================== */
@media screen and (max-width: 650px) {
  .info-bloc {
    flex: 1 1 100%;
  }
}

/* ==========================================================================
   TRÈS PETITS MOBILES (Moins de 600px)
   ========================================================================== */
@media screen and (max-width: 600px) {
  .tarif-row,
  .option-item {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .tarif-row .right,
  .option-item .prix {
    margin-left: 0;
    text-align: left;
  }

  .legal-container {
    padding: 40px 15px;
  }

  .legal-box {
    padding: 20px;
  }

  .legal-box h2 {
    font-size: 1.1rem;
  }
}