.home-hero {
  position: relative;
  width: 100%;
  min-height: clamp(700px, 80vw, 100vh);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  padding-top: 13rem;
  padding-bottom: 5rem;
  overflow: visible;
}

/* VIDEO */
.hero-video {
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* comme background-size: cover */
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 1rem;
  margin-bottom: 1rem;
   width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
     pointer-events: none;
  z-index: 1;
}
.hero-content h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  font-weight: 400;
  margin: 1rem 0;
     max-width: 900px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;

    overflow-wrap: break-word;
    word-break: break-word;
}

.eyebrow {
  display: block;
  font-size: var(--fs-h3);
 
}
.imageLogoHero img{
  color: white;
      max-width: min(320px, 80vw);
    height: auto;
    display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

/* CONTENU */

.test {
  height: 500px;
  background-color: slategray;
  padding: 2rem;
}
@media (max-width: 768px) {
  .home-hero {
    padding-top: 7rem;
  }
}
@media (max-width: 399px) {

  .hero-content {
  bottom:0px;
}
}

/* --------------- custom-section ---------------*/
.custom-section {
  height: clamp(350px, 8vw, 100vh);
  display: flex;
  align-items: center;
  /* centrer verticalement le contenu */
  background-color: #f5f5f5;
  /* couleur de fond optionnelle */
}

.container-custom-section {
  display: flex;
  justify-content: space-between;
  /* titre à gauche, paragraphe à droite */
  align-items: center;
  width: 90%;
  /* ou une largeur fixe, ex: 1200px */
  margin: 0 auto;
  /* centrer horizontalement */
  gap: 20px;
  /* espace entre titre et paragraphe */
}

.container-custom-section h2 {
  flex: 1;
  /* occupe la place nécessaire */
  font-size: 5.1vw;
  /* proportionnel à l'écran */
}

.container-custom-section p {
  flex: 2;
  /* occupe plus de place */
  font-size: 1.8vw;
  /* proportionnel */
  line-height: 1.5;
}

/* --------------- Image pleine écran ---------------*/

.full-image-section {
  width: 100%;
  /* prend toute la largeur de l'écran */
  overflow: hidden;
  /* évite les débordements */
}

.full-image-section img {
  width: 100%;
  /* l'image prend toute la largeur disponible */
  height: auto;
  /* conserve les proportions */
  display: block;
  /* supprime l'espace blanc sous l'image */
  object-fit: cover;
  /* optionnel si tu veux couper légèrement l'image pour remplir parfaitement */
}

/* --------------- Bandeau Ouverture ---------------*/

.bandeau-ouverture {
  width: 100%;
  background-color: var(--beigeClair-color);
  padding: var(--section-padding) 0;
   z-index: 1;
}

.bandeau-container {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 0 16px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.bandeau-icon {
  width: clamp(28px, 4vw, 50px);
  height: auto;
  flex: 0 0 auto;
}

.bandeau-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

.ouvert {
  margin: 0;
  font-weight: 700;
 font-size: var(--fs-h2);
  line-height: var(--lh-tight);
  color: #322018;

}

.periode {
  margin: 0;
 font-size: var(--fs-h2);
  line-height: var(--lh-tight);
  color: #322018;
}
@media (max-width: 768px) {
  .bandeau-container {
    gap: 12px;
  }

  .bandeau-icon {
    width: 32px;
  }

}
@media (max-width: 480px) {
  .bandeau-container {
    gap: 8px;
  }

  .ouvert {
    font-size: 24px;
  }

  .periode {
    font-size: 14px;
  }
}

/* --------------- Présentation --------------- */
.home-intro-premium {
  background: var(--beige-color);
  padding: clamp(40px, 6vw, 90px) 22px 20px 22px;
  overflow: hidden;
  
}

.home-intro-premium__container {
  width: min(1520px, calc(100% - 22px));
  margin: 0 auto;
}

.home-intro-premium__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 620px) minmax(280px, 1fr);
  align-items: center;
  gap: clamp(24px, 3vw, 46px);

}

.home-intro-premium__images {
  display: grid;
  gap: clamp(5em,7.5vw,7.5em);
}

.home-intro-premium__images--left {
  justify-items: end;
}

.home-intro-premium__images--right {
  justify-items: start;
}

.home-intro-premium__figure {
  margin: 0;
  overflow: hidden;
  background: #ddd;
}

.home-intro-premium__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Grandes images : photos 2 et 3 */
.home-intro-premium__figure--large {
  width: min(100%, 384px);
  aspect-ratio: 384 / 554;
}

/* Petites images : photos 1 et 4 */
.home-intro-premium__figure--small {
  width: min(100%, 177px);
  aspect-ratio: 177 / 255;
}

/* Décalages premium */
.home-intro-premium__images--left .home-intro-premium__figure--small {
  transform: translateY(-10px);
}

.home-intro-premium__images--left .home-intro-premium__figure--large {
  transform: translateX(-18px);
}

.home-intro-premium__images--right .home-intro-premium__figure--large {
  transform: translateX(18px);
}

.home-intro-premium__images--right .home-intro-premium__figure--small {
  transform: translateY(10px);
}

.home-intro-premium__content {
  text-align: center;
  width: 100%;
  color: var(--marron-color);
  padding: clamp(10px, 2vw, 20px);
}

.home-intro-premium__ornament {
  margin-bottom: 20px;
}

.home-intro-premium__ornament img {
  width: clamp(34px, 4vw, 52px);
  height: auto;
  display: block;
  margin: 0 auto;
}

.home-intro-premium__eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(90, 61, 43, 0.72);
}

.home-intro-premium__content h2 {
  margin: 0 0 22px;
   font-size: var(--fs-h2);
  line-height: var(--lh-tight);
  letter-spacing: -0.04em;
  color: var(--marron-color);
}

.home-intro-premium__content p {
  margin: 0 auto 30px;
  max-width: 34ch;
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--marron-color);
}

.home-intro-premium__content .btn--brown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 1024px) {
.home-intro-premium__images--top .home-intro-premium__figure--small {
  margin-left: auto;
}
}
/* Tablette */
@media (max-width: 1024px) {
  .home-intro-premium__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Groupe du haut */
  .home-intro-premium__images--top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(5em, 7.5vw, 7.5em);
  }

  /* Groupe du bas */
  .home-intro-premium__images--bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(5em, 7.5vw, 7.5em);
  }

  /* Texte */
  .home-intro-premium__content {
    text-align: center;
    width: 100%;
  }

  /* tailles conservées */
  .home-intro-premium__figure--large {
    width: min(100%, 384px);
  }

  .home-intro-premium__figure--small {
    width: min(100%, 177px);
  }

  
}
@media (max-width: 720px) {
  .home-intro-premium__images--top,
  .home-intro-premium__images--bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(0.75rem, 2.5vw, 1.5rem);
  }

  .home-intro-premium__figure {
    min-width: 0;
    flex: 0 1 auto;
  }

  /* 
    On répartit la largeur disponible après retrait du gap.
    Grande image ≈ 58%
    Petite image ≈ 42%
  */
.home-intro-premium__grid {
  gap: 20px;
}
  .home-intro-premium__images--top .home-intro-premium__figure--small,
  .home-intro-premium__images--bottom .home-intro-premium__figure--small {
    width: min(177px, calc((100% - clamp(0.75rem, 2.5vw, 1.5rem)) * 0.42));
  }

  .home-intro-premium__images--top .home-intro-premium__figure--large,
  .home-intro-premium__images--bottom .home-intro-premium__figure--large {
    width: min(384px, calc((100% - clamp(0.75rem, 2.5vw, 1.5rem)) * 0.58));
  }
  .home-intro-premium {

  padding: clamp(80px, 10vw, 140px) 6px;

}
.scatter10 {
    transform: rotate(-3deg);
  }

  .scatter20 {
    transform: rotate(2deg);
  }

  .scatter30 {
    transform: rotate(3deg);
  }

  .scatter40 {
    transform: rotate(-2deg);
  }
}
@media (max-width: 420px) {
.home-intro-premium {
  padding: clamp(40px, 10vw, 140px) 0;
}}

/* --------------- Galerie ---------------*/

.galerie-section {
   background-color: var(--beige-color);
    padding: var(--section-padding) 0 var(--section-padding) 0;
}
.carousel-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
        width: 58px;
    height: 56px;
    background: none;
    border: none;
  background: #595550;
    color: transparent;
    color: white;
    font-size: 25px;
    line-height: 1;

    cursor: pointer;
    padding: 0;

    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Positions */
.carousel-nav.left {
    left: 0px;
}

.carousel-nav.right {
    right: 0px;
}

/* Mobile → on masque */
@media (max-width: 700px) {
    .carousel-nav {
        width: 38px;
    height: 46px;}
}
.carousel {
    display: flex;
    align-items: center;
 
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    transition: transform 0.5s ease; /* Transition ajoutée pour le "slide" */
}

.carousel-img {
    margin: 0 10px;
    flex-shrink: 0;
    object-fit: cover;

}
@media (max-width: 507px) {
.carousel-img {
    margin: 0 2px;
}
 .carousel-nav {
        display: none;
    }
}
.carousel-wrapper,
.carousel,
.carousel-img {
    height: clamp(200px, 40vw, 500px);
}

.carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background-color: rgba(0,0,0,0.4);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 50%;
}

.carousel-btn.left {
    left: 10px;
}

.carousel-btn.right {
    right: 10px;
}

.carousel {
    cursor: grab;
    scroll-behavior: auto;  /* désactive l'animation du scroll */
    user-select: none;  /* pour ne pas sélectionner le texte en déplaçant */
}

.carousel.grabbing {
    cursor: grabbing;
}
.carousel-pager {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
.pager-track {
    position: relative;
    width: 650px;
    max-width: 90%;
    height: 40px;                  /* zone cliquable totale */
    overflow: hidden;
    border-bottom: 1px solid #ffffff; /* barre fine visible */
}

.pager-progress {
    position: absolute;
    left: 0;
    bottom: 0;                     /* ⚡ sur la barre */
    height: 2px;                   /* même hauteur que la barre */
    width: 0%;
    background-color: #000000;         /* couleur plus foncée que la barre */
    transition: transform 0.35s ease;
}

.pager-buttons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;                   /* zone cliquable haute */
    display: flex;
}

.pager-buttons button {
    flex: 1;
    background: transparent;
    border: none;
    cursor: pointer;
}





/* ============ LIGHTBOX ============ */
.galerie-intro {
  background: var(--beige-color);
  padding: clamp(20px, 6vw, 20px) 0 20px;
  text-align: center;
}

.galerie-intro__container {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
}

.galerie-intro__eyebrow {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(90, 61, 43, 0.6);
  margin-bottom: 10px;
}

.galerie-intro h3 {
  margin: 0;
    font-size: var(--fs-h2);
  line-height: var(--lh-tight);
  color: var(--marron-color);
}
/* ============ LIGHTBOX BLUR ============ */

.lightbox {
    position: fixed;
    inset: 0;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    background: rgba(0, 0, 0, 0.35); /* léger voile pour contraste */

    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}


.lightbox-img {
    width: 95vw;
    height: 95vh;
    object-fit: contain;
    border-radius: 12px;
}



@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    transition: 0.2s ease;
}

.lightbox-close:hover {
    transform: scale(1.2);
}

/* --------------- Hébergements --------------- */

.section-hebergement {
  background-color: var(--beigeClair-color);
    padding: var(--section-padding) 0;
}

.text-section-hebergement {
 padding: calc(clamp(2em,7.5vw,3em)) 0;
  max-width: 600px;
  width: 70%;
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
}

.text-section-hebergement h2 {
  margin-bottom: 0.5rem;
  font-size: var(--titre-size);
  color: var(--marron-color);
}

.text-section-hebergement p {
  margin-bottom: 0.5rem;
  font-size: var(--texte-size);
  color: var(--marron-color);
}

.section-hebergement .row {
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.button-section-hebergement {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 600px;
  width: 70%;
  margin: 30px auto 0 auto;
  text-align: center;
  box-sizing: border-box;
}

/* Carte */
.image-card {
  position: relative;
  display: block;
  width: min(100%, 481px);
   aspect-ratio: 481 / 641;
height: auto;
  overflow: hidden;
  text-decoration: none;
  color: white;
  background-color: #000;
  margin: 0 auto;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

/* Overlay de base */
.image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.32) 45%, rgba(0, 0, 0, 0.18) 100%);
  z-index: 0;
  transition: background 0.4s ease;
}

.image-card:hover img {
  transform: scale(1.05);
}

.image-card:hover::after {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.2) 100%);
}

.card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

.card-overlay__top {
  display: flex;
  justify-content: flex-start;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}

.card-overlay__content {
  text-align: center;
  max-width: 85%;
  margin: 0 auto;
}

.card-overlay__content h3 {
  font-size: var(--fs-h3);
  margin-bottom: 0.75rem;
  color: #fff;
}

.card-overlay__content p {
  font-size: var(--texteSmall-size);
  line-height: 1.5;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.92);
}

.card-overlay__bottom {
  display: flex;
  justify-content: center;
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 0.75rem 1.4rem;
  border: 1px solid rgba(255,255,255,0.85);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}

.image-card:hover .card-link {
  background-color: rgba(255,255,255,0.12);
  border-color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
  .button-section-hebergement {
    margin: 0 auto;
  }

  .section-hebergement .col-12 {
    margin-bottom: 2rem;
  }

  .section-hebergement .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .section-hebergement .col-12,
  .section-hebergement .col-md-6,
  .section-hebergement .col-lg-4 {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .mobile-padding {
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
  }

  .text-section-hebergement {
    width: 90%;
  }

  .card-overlay {
    padding: 18px;
  }

  .card-overlay__content {
    max-width: 95%;
  }

  .card-overlay__content h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 376px) {
  .section-hebergement .row {
    padding-left: 5px;
    padding-right: 5px;
  }
.card-link {
  padding: 0.45rem 1.4rem;
}
}
/* --------------- Bandeau ralentir ---------------*/
.section-ralentir {
    width: 100%;
    max-height: 500px;
     height: 500px;  
    overflow: hidden;
    position: relative;        /* nécessaire pour l'overlay */
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-section-ralentir {
    position: relative;
    width: 100%;
    height: 100%;
}

.ralentir-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ralentir-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* centrer verticalement et horizontalement */
    text-align: center;
    color: white;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6); /* lisibilité sur l'image */
    padding: 0 20px;
}

.ralentir-overlay h2 {
   font-size:clamp(2em,6.5vw,4em);;
    margin-bottom: 0.5rem;
}

.ralentir-overlay p {
     font-size:clamp(1.3em,1.7vw,2em);
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .section-ralentir {
    height: 430px;
    min-height: 430px;
    max-height: none;
  }

  .container-section-ralentir {
    height: 100%;
  }

  .ralentir-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .ralentir-overlay {
    width: 100%;
    padding: 3rem 1rem;
  }
}
@media (max-width: 480px) {
  .section-ralentir {
    height: 460px;
    min-height: 460px;
  }
}
@media (max-width: 480px) {
  

  .ralentir-overlay {
    padding: 3.5rem 1rem;
  }
}

/* ---------- 7-bandeauIcones ---------- */
.section-icons {
    padding: 65px 10px;
    background-color: var(--beige-color);
}

.section-icons-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 16px;
}

.icons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
    align-items: start;
}
.iconeAdresse, .iconeHorloge, .iconeItineraire, .iconeService {
    height: 70px;
    width: auto;
}
.icon-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.icon-item i {
    color: #000; /* couleur icône */
    margin-bottom: 12px;
}
.icon-item h3 {
  color: var(--marron-color);
}
.icon-item p {
   color: var(--marron-color);
    font-size: 0.9rem;
    line-height: 1.3rem;
    margin: 0;
}

@media (max-width: 992px) {
    .icons-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
    }
    .icons-grid {
    gap: 10px;
}
}
.section-contact-container {
  padding-top: 25px;
}
.section-contact-container, .section-contact-button {
   display: flex;
    justify-content: center;
    align-items: center;
     color: var(--marron-color);
     text-align: center;
}
/* ne pas couper le tel */
#phone-link-icone {
  color: var(--marron-color);
  text-decoration: none;
    white-space: nowrap;
    display: inline-block; /* optionnel, pour que ça fonctionne partout */
}
.section-contact-button {
  margin-top: 20px;
}
.section-icons .icons-grid a {
color: var(--orange-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

/*---------------------------------------------------------------------------------*/

