/* =========================
   RESET & BASE
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Manrope", sans-serif;
  background: #f8f9fb;
  overflow-x:hidden ;
}

/* =========================
   SECTION CARROUSEL
========================= */
.sync-carousel-section {
  margin-top: 195px;
  width: 100%;
  height: 80vh;
  min-height: 400px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  background: #fff;
  position: relative;
}

.carousel-wrapper,
.images-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 0;
}

.carousel-item.active {
  opacity: 1;
  z-index: 1;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==== CAPTION ==== */
.caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  background: rgba(50, 50, 50, 0.25);
  backdrop-filter: blur(3px);
  padding: 2.5rem 4rem;
  text-align: center;
  color: #fff;
  width: 80%;
  max-width: 900px;
  border-radius: 12px;
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
}

.carousel-item.active .caption {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.caption h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.caption p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ==== BOUTON RÉSERVER ==== */
.reserve-btn {
  position: absolute;
  bottom: 4rem;
  left: 50%;
  transform: translate(-50%, 40px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 1rem 2.5rem;
  background: #f84808;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 10px;
  z-index: 10;
  opacity: 0;
  transition: opacity 1s ease 0.4s, transform 1s ease 0.4s;
}

.carousel-item.active .reserve-btn {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reserve-btn img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.reserve-btn:hover {
  transform: translateX(-50%) scale(1.08);
  background: #e63900;
}

.reserve-btn:hover img {
  transform: translateX(8px);
}

/* ==== CONTRÔLES ==== */
.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 10;
  padding: 0 20px;
}

.carousel-controls button {
  pointer-events: auto;
  background: transparent;
  color: #fff;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 3rem;
  cursor: pointer;
  transition: all 0.3s ease;
}


/* ==== INDICATEURS ==== */
.indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: #ffffff9b;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: #f84808c4;
  transform: scale(1.2);
}

/* =========================
   BANNIÈRE & PRÉSENTATION
========================= */
.parti2 .banniere {
  display: flex;
  width: 100%;
  height: 70px;
  text-align: center;
  justify-content: center;
  align-items: center;
  background: orangered;
  color: #fff;
}

.presentation {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 20px;
  text-align: center;
  position: relative;
}

.presentation a {
  text-decoration: none;
  color: #fff;
  background: orangered;
  font-weight: 600;
  border-radius: 1px;
  padding: 13px 25px;
  transition: 0.3s ease;
  margin-top: 10px;
}

.presentation a:hover {
  background: #ff5500;
}

.presentation h2 {
  margin-top: 40px;
  font-size: 2rem;
  color: #000;
  width: 35%;
  font-family: "Titillium Web", sans-serif;
  font-weight: 600;
}

.presentation p {
  margin-top: 10px;
  color: #444;
  font-size: 1rem;
  width: 60%;
  line-height: 1.5;
}

.presentation hr {
  width: 45%;
  border: 1.1px solid orangered;
  margin-top: 25px;
}

/* =========================
   INFO SECTION
========================= */
.info {
  width: 90%;
  margin: 50px auto;
  text-align: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.8;
  color: #585858;
  animation: fadeIn 1s ease-in-out;
}

.info h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: rgb(41, 41, 40);
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info p {
  font-size: 1rem;
  color: #514f4f;
  margin-bottom: 15px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.info p strong {
  color: #656565;
  font-weight: 700;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================
   SECTION CARTE
========================= */
.map {
  position: relative;
  width: 100%;
  height: 600px;
  text-align: center;
  margin: 50px 0;
  background: #000;
}

.map h1 {
  color: orangered;
  font-size: 2rem;
  margin-bottom: 10px;
  padding-top: 50px;
}

/* ===== Carte et marker ===== */
.map .img_container {
  background-color: #f9f6f6;
  width: 400px;
  height: 400px;
  margin: 0 auto;
  position: relative;
}

.map .img_container img {
  width: 100%;
  height: auto;
}

.map .marker {
  width: 20px;
  height: 20px;
  position: absolute;
  top: 48%; /* position relative à la carte */
  left: 18%;
  transform: translate(-50%, -50%);
  border: 2px solid orangered;
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.marker img {
  width: 12px;
  height: 12px;
}

.map a {
  position: absolute;
  top: 500px;
  left: 41%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 245px;
  height: 40px;
  text-decoration: none;
  color: #fff;
  background: orangered;
  border-radius: 5px;
  font-weight: bold;
}

/* ========================
   SECTION GRILLE CONSEILS
========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.7rem;
  background: orangered;
  margin-top:-50px;
  padding-top:10px;
}

.card {
  background: orangered;
  padding: 1.8rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  color: white;
}

.icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  color: orangered;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.icon:hover {
  transform: rotate(10deg) scale(1.1);
}

.card h3 {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.card hr {
  border: none;
  height: 2px;
  background: #fff;
  width: 100px;
  margin-bottom: 0.7rem;
}

.card p {
  color: #fdfdfd;
  line-height: 1.6;
  font-size: 0.95rem;
}

.muted-note {
  font-size: 0.9rem;
  color: #ffe6d5;
}

.fullwidth {
  grid-column: 1 / -1;
  text-align: center;
  flex-direction: column;
  align-items: center;
  background: orangered;
  border-radius: 12px;
}

.actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  background: rgb(5, 4, 4);
  color: white;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #fff;
  color: orangered;
}

.btn.secondary {
  background:black;
  color: #fff;
}

.btn.secondary:hover {
  background: #fff;
  color: orangered;
}

/* =========================
   RESPONSIVE MOBILE OPTIMISÉ
========================= */
/* Responsive pour mobile ≤950px */
  @media (max-width: 950px) {
    html, body {
    overflow-x: hidden;
}
   .map .marker {
  width: 20px;
  height: 20px;
  position: absolute;
  top: 48%; /* position relative à la carte */
  left: 18%;
  transform: translate(-50%, -50%);
  border: 2px solid orangered;
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

  }  
/* Tablettes & mobiles larges */
@media (max-width: 768px) {
 html, body {
    overflow-x: hidden;
}
  .sync-carousel-section {
    height: 60vh;
    min-height: 300px;
    margin-top: 100px;
  }

  .caption {
    padding: 1.2rem 1.5rem;
    width: 90%;
    font-size: 0.95rem;
  }

  .caption h1 {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .caption p {
    font-size: 0.95rem;
  }

  .reserve-btn {
    padding: 0.6rem 1.8rem;
    font-size: 0.95rem;
    bottom: 2rem;
  }

  .carousel-controls button {
    width: 40px;
    height: 40px;
    font-size: 1.8rem;
  }

  .indicators{
    display: none;
  }
  .presentation h2 {
    width: 90%;
    font-size: 1.5rem;
  }

  .presentation p {
    width: 95%;
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .info {
    width: 95%;
    margin: 30px auto;
  }

  .info h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }

  .info p {
    font-size: 0.95rem;
    width: 100%;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 0;
    padding: 0 10px;
  }

  .card {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
    text-align: center;
  }

  .card h3 {
    font-size: 1rem;
  }

  .card p {
    font-size: 0.9rem;
  }

  .card hr {
    width: 60px;
  }

  .fullwidth {
    padding: 1rem;
  }

  .actions {
    flex-direction: column;
    gap: 0.8rem;
  }

  .btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* Mobiles petits écrans */
@media (max-width: 480px) {

 html, body {
    overflow-x: hidden;
}
  .sync-carousel-section {
    height: 55vh;
    margin-top: 80px;
  }

  .caption {
    padding: 1rem 1.2rem;
    width: 95%;
  }

  .caption h1 {
    font-size: 1.3rem;
    line-height: 1.2;
  }

  .caption p {
    font-size: 0.85rem;
  }

  .reserve-btn {
    padding: 0.5rem 1.4rem;
    font-size: 0.85rem;
    bottom: 1.8rem;
  }

  .carousel-controls button {
    width: 35px;
    height: 35px;
    font-size: 1.5rem;
  }

  .presentation h2 {
    font-size: 1.3rem;
    margin-top: 15px;
  }

  .presentation p {
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .map {
    height: auto;
    padding-bottom: 50px;
  }

  .img_container {
    width: 95%;
    height: auto;
    margin: 0 auto;
  }

  .map a {
    width: 90%;
    left: 5%;
    top: auto;
    bottom: 20px;
    font-size: 0.85rem;
  }

  .grid {
    padding: 0 5px;
    gap: 0.8rem;
  }

  .card {
    padding: 0.8rem;
    gap: 0.8rem;
  }

  .card h3 {
    font-size: 0.95rem;
  }

  .card p {
    font-size: 0.85rem;
  }

  .card hr {
    width: 50px;
  }

  .fullwidth {
    padding: 0.8rem;
  }

  .actions {
    flex-direction: column;
    gap: 0.5rem;
  }

  .btn {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }
}
