/* ==========================================================================
   Page « Le Chalet » (/chalet, /en/chalet)
   Valeurs relevées dans le CSS Framer de la page (.framer-ZOG8X …) et vérifiées
   au 0,1 px sur le miroir (tools/geocmp.py) à 1440 / 1024 / 390.
   La structure flex reprend celle de Framer (colonnes en %, flex 1 0 0, overflow
   hidden) : la mise en page reste identique entre les points de rupture.
   ========================================================================== */

/* Titres des rubriques : comme les textes riches Framer, un mot trop long pour sa
   colonne passe à la ligne (filet de sécurité ; « Espaces » en tablette : voir plus bas) */
.chalet-feat__title, .chalet-spa__title, .chalet-hero__title {
  width: 100%;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ------------------------------------------------------------------- hero */
/* framer-1dbyk47 / 1satey5 : 100vh, texte à 100 px du haut */
.chalet-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100vh;
  padding: 100px 0 0;
  overflow: hidden;
}
.chalet-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.chalet-hero__title {
  position: relative;
  font-family: var(--f-display-trial);
  font-size: 230px;
  line-height: 1.1em;
  letter-spacing: .08em;
  text-align: center;
  color: var(--c-white-75);
}

/* ------------------------------------------------- sur-titre « LE CHALET » */
/* framer-vjorcn : 90 px de haut, étiquette calée en bas (5 px) */
.chalet-widget {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 90px;
  padding: 0 var(--gutter);
  overflow: hidden;
}
.chalet-widget__in { display: flex; flex: 1 0 0; align-items: center; min-width: 0; max-width: 1590px; padding: 0 0 5px; }
/* Framer : l'étiquette est un bouton secondaire « White » (lien sans href) → curseur main au survol */

/* --------------------------------------------- Intérieurs / Chambres */
/* framer-19drkle / m8zwpx : 700 / 800 / 629 px de haut */
.chalet-feat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 700px;
  padding: 10px var(--gutter) 0;
  overflow: hidden;
}
.chalet-feat__in {
  display: flex;
  flex: 1 0 0;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
  width: 100%;
  max-width: 1590px;
  min-height: 0;
  padding: 20px 0 50px;
  overflow: hidden;
}
/* colonne gauche : titre, bouton, petite image (40 % ; Chambres 44 % en tablette) */
.chalet-feat__text {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 50px;
  width: 40%;
  height: 100%;
  overflow: hidden;
}
.chalet-feat__aside {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  min-height: 0;
  overflow: hidden;
}
.chalet-feat__thumb { position: relative; flex: 1 0 0; width: 100%; min-height: 0; border-radius: var(--radius); overflow: hidden; }
.chalet-feat__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* colonne droite : texte (70 %) puis carrousel (74 % de la hauteur), calés en bas à droite */
.chalet-feat__media {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 30px;
  min-width: 0;
  height: 100%;
  overflow: hidden;
}
.chalet-feat__desc { flex: none; width: 70%; max-width: 100%; text-align: left; white-space: pre-wrap; overflow-wrap: break-word; }
.chalet-feat__show {
  display: flex;
  flex: none;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 74%;
  overflow: hidden;
}
.chalet-feat__show .slideshow, .chalet-esp__show .slideshow { flex: 1 0 0; min-width: 0; }

/* ------------------------------------------------------- Spa et Bien-être */
/* framer-bvmyzb : image plein cadre 800 px, titre à 150 px, bouton blanc en bas à droite */
.chalet-spa {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  height: 800px;
  padding: 150px 100px 200px;
  overflow: hidden;
}
.chalet-spa__bg { position: absolute; inset: 0; }
.chalet-spa__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.chalet-spa__in {
  position: relative;
  display: flex;
  flex: none;
  align-items: flex-start;
  gap: 30px;
  width: 100%;
  max-width: 1590px;
  overflow: hidden;
}
.chalet-spa__text { display: flex; flex: 1 0 0; flex-direction: column; align-items: flex-start; gap: 50px; min-width: 0; overflow: hidden; }
.chalet-spa__title { color: var(--c-white); }
.chalet-spa__row {
  position: relative;
  display: flex;
  flex: 1 0 0;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 30px;
  width: 100%;
  max-width: 1590px;
  min-height: 0;
  overflow: hidden;
}
.chalet-spa__cta {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  width: 65%;
  max-width: 100%;
  overflow: hidden;
}
.chalet-spa__btn { flex: none; width: 30%; }

/* ---------------------------------------------------------------- Espaces */
/* framer-18fvdr8 : bloc de 600 px (titre + bouton sur une ligne, carrousel dessous) */
.chalet-esp {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 50px var(--gutter);
  overflow: hidden;
}
.chalet-esp__in {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 30px;
  width: 100%;
  max-width: 1590px;
  height: 600px;
  padding: 20px 0 0;
  overflow: hidden;
}
.chalet-esp__text { display: flex; flex: none; align-items: flex-start; width: 100%; overflow: hidden; }
.chalet-esp__head { flex: 1 0 0; min-width: 0; overflow: hidden; }
.chalet-esp__cta {
  display: flex;
  flex: 1 0 0;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  min-width: 0;
  overflow: hidden;
}
.chalet-esp__show {
  display: flex;
  flex: 1 0 0;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  min-height: 0;
  overflow: hidden;
}

/* ================================================================ TABLETTE */
@media (max-width: 1199px) {
  .chalet-hero__title { font-size: 150px; }
  .chalet-feat { height: 800px; }
  .chalet-feat--rooms .chalet-feat__text { width: 44%; }
  .chalet-spa { padding: 150px 100px 50px; }
  /* titre en style local Framer (Ogg TRIAL Medium 57 px) */
  .chalet-spa__title { font-family: var(--f-display-trial); font-size: 57px; }
  .chalet-spa__cta { width: 100%; height: 100%; }
  .chalet-esp { height: 800px; }
  /* la ligne titre + bouton partage la hauteur avec le carrousel et ne fait que 44 % de large */
  .chalet-esp__text { flex: 1 0 0; gap: 50px; width: 44%; min-height: 0; }
}
/* tablette seule : Framer coupait le titre au milieu du mot (« Espa / ces », « Spac / es ») faute de place dans sa
   demi-colonne ; le titre garde ici sa largeur naturelle et le bouton prend le reste (ligne d'au moins 44 %). */
@media (min-width: 810px) and (max-width: 1199px) {
  .chalet-esp__text { width: auto; min-width: 44%; }
  .chalet-esp__head { flex: none; }
}

/* ================================================================== MOBILE */
@media (max-width: 809px) {
  .chalet-hero__title { font-size: 70px; }
  .chalet-feat { height: 629px; }
  .chalet-feat__in { flex-direction: column; justify-content: flex-start; }
  .chalet-feat__text, .chalet-feat--rooms .chalet-feat__text { gap: 0; width: 100%; height: auto; }
  .chalet-feat__aside { flex: none; gap: 0; height: auto; }
  .chalet-feat__thumb { display: none; }
  .chalet-feat__media { justify-content: flex-start; width: 100%; height: auto; min-height: 0; }
  .chalet-feat__show { height: 196px; }
  .chalet-spa { height: 738px; padding: 150px var(--gutter) 50px; }
  .chalet-spa__in { flex-direction: column; padding: 0 0 50px; }
  .chalet-spa__text { flex: none; gap: 0; width: 100%; }
  .chalet-spa__title { font-family: var(--f-display); font-size: 56px; }
  .chalet-spa__row { flex-direction: column; flex: none; justify-content: flex-start; height: auto; }
  .chalet-spa__cta { width: 100%; height: auto; }
  .chalet-spa__btn { width: 100%; }
  /* Framer : bloc de 629 px, soit ~220 px de vide sous le carrousel ; hauteur du contenu ici */
  .chalet-esp { height: auto; }
  .chalet-esp__in { flex: none; height: auto; min-height: 0; padding: 20px 0 50px; }
  .chalet-esp__text { flex: none; flex-direction: column; gap: 0; width: 100%; }
  .chalet-esp__head, .chalet-esp__cta { flex: none; width: 100%; }
  .chalet-esp__show { flex: none; height: 196px; }
}
