/* ==========================================================================
   Chalet Victory — gabarit « pièce » : /chalet/interieurs et /chalet/spa (FR + EN)
   Chargé par Intérieurs ("css": ["interieurs"]) et par Spa ("css": ["interieurs", "spa"]).
   Valeurs relevées dans le CSS Framer des pages (framer-Kdcfh = Intérieurs,
   framer-CsOO8 = Spa : mêmes règles, mêmes classes de section).
   Points de rupture : desktop ≥ 1200 · tablette 810–1199 · mobile ≤ 809

   Trois variantes de section (Framer les distingue par des règles propres) :
     .int-room--a  Salon, Jacuzzi       bloc titre + texte de 203 px centré (gap 10 ; tablette : auto, gap 8),
                                        vignette 30 % × 60 %
     .int-room--c  Cuisine              bloc titre + texte de 197 px centré (gap 10), colonne texte 34 % en tablette
     .int-room--b  Salle à manger, Sauna  bloc auto (gap 20), vignette 30 % × 50 % ;
                                        tablette : ligne centrée 33 % | 152 px | 303 px (gap 28) ;
                                        mobile : section de 660 px, diaporama centré dans la place restante
   ========================================================================== */

/* ------------------------------------------------------------ héros plein cadre */
/* Framer « Hero » : 100vh, titre Ogg Medium à 100 px du haut, blanc 75 %, approche .08em */
.int-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 100vh;
  padding-top: 100px;
  overflow: hidden;
}
.int-hero__bg { position: absolute; inset: 0; }
.int-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.int-hero__title {
  position: relative;
  width: 100%;
  font-family: var(--f-display);
  font-size: 230px;
  line-height: 1.1em;
  letter-spacing: .08em;
  text-align: center;
  color: var(--c-white-75);
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ------------------------------------------------ bandeau de l'étiquette (90 px) */
.int-band { display: flex; align-items: flex-end; justify-content: center; width: 100%; height: 90px; padding: 0 var(--gutter); overflow: hidden; }
.int-band__inner { display: flex; flex: 1 1 0; align-items: center; justify-content: space-between; min-width: 0; max-width: 1590px; padding-bottom: 5px; }

/* ---------------------------------------------------------------- sections pièce */
.int-room { display: flex; flex-direction: column; align-items: center; width: 100%; padding: 0 var(--gutter); }
/* filet haut noir 15 % dessiné par-dessus la boîte (comme le data-border Framer : n'ajoute pas de hauteur) */
.int-room__inner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 1590px;
  padding-top: 20px;
  box-shadow: inset 0 1px 0 var(--c-black-15);
}
.int-room__text { display: flex; flex: none; flex-direction: column; align-items: flex-start; gap: 20px; width: 30%; min-width: 0; }
.int-room__text > * { width: 100%; }
.int-room__head { display: flex; flex-direction: column; justify-content: center; gap: 10px; overflow: hidden; }
.int-room--a .int-room__head { height: 203px; }
.int-room--c .int-room__head { height: 197px; }
.int-room--b .int-room__head { gap: 20px; }
.int-room__title { word-break: break-word; overflow-wrap: break-word; }
.int-room__head .t-body { text-align: left; }
/* Framer (.framer-text) coupe les mots trop longs pour leur colonne (filet de sécurité) */
.int-room__head .t-body,
.int-room .acc__col li { word-break: break-word; overflow-wrap: break-word; }
/* 810–899 px (iPad en portrait) et < 350 px : les 2 colonnes de l'accordéon ouvert sont trop étroites et Framer coupait les mots
   (« Chemin / ée », « Dishwashe / r ») ; la liste passe sur une colonne */
@media (max-width: 349px), (min-width: 810px) and (max-width: 899px) {
  .int-room .acc__list { flex-direction: column; gap: 20px; }
  .int-room .acc__col:not(:last-child) { padding-bottom: 0; }
}
/* tablette : titres des pièces (70 px) ; sous ~865 px « Lounge » ne tenait plus dans sa colonne (Framer : « Loung / e ») */
@media (min-width: 810px) and (max-width: 1199px) {
  .int-room__title { font-size: min(70px, 8.1vw); }
}

/* colonne images : vignette fixe + grand diaporama (Framer « Slideshow » : 600 px dont 100 px de marge basse) */
.int-room__media {
  display: flex;
  flex: 1 1 0;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  min-width: 0;
  min-height: 0;
  height: 600px;
  padding-bottom: 100px;
  overflow: hidden;
}
.int-room__thumb { flex: none; width: 30%; height: 60%; border-radius: var(--radius); overflow: hidden; }
.int-room--b .int-room__thumb { height: 50%; }
.int-room__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.int-room__slides { flex: 1 1 0; min-width: 0; height: 500px; }

/* --------------------------------------------------------------------- tablette */
@media (max-width: 1199px) {
  .int-hero__title { font-size: 150px; }
  .int-room__text { gap: 50px; }
  .int-room--a .int-room__head { height: auto; gap: 8px; }
  .int-room--c .int-room__head { height: auto; }
  .int-room--c .int-room__text { width: 34%; }
  .int-room__media { height: auto; padding-bottom: 80px; }
  .int-room__thumb { height: 200px; }
  .int-room--b .int-room__thumb { height: 200px; }
  .int-room__slides { height: 350px; }
  .int-room--b .int-room__inner { gap: 28px; }
  .int-room--b .int-room__text { width: 33%; }
  .int-room--b .int-room__media { flex: none; }
  .int-room--b .int-room__thumb { width: 152px; }
  .int-room--b .int-room__slides { flex: none; width: 303px; }
}

/* ----------------------------------------------------------------------- mobile */
@media (max-width: 809px) {
  .int-hero__title { font-size: 75px; }
  /* « Intérieurs » (374 px à 75 px) / « Interiors » (330 px) : Framer les coupait au milieu du mot sur les petits
     téléphones ; la taille se réduit juste assez (aucun changement à 390 px et au-delà) */
  .int-hero:not(.int-hero--spa) .int-hero__title:lang(fr) { font-size: min(75px, 19.75vw); }
  .int-hero:not(.int-hero--spa) .int-hero__title:lang(en) { font-size: min(75px, 22.4vw); }
  .int-room__inner { flex-direction: column; }
  .int-room .int-room__text { width: 100%; gap: 30px; }
  .int-room--a .int-room__head { gap: 10px; }
  .int-room__media { flex-direction: column; flex: none; width: 100%; padding-bottom: 100px; }
  .int-room__thumb { display: none; }
  .int-room .int-room__slides { flex: none; width: 100%; height: 260px; }
  /* Salle à manger / Sauna : section de 660 px ; le diaporama (260 px) est centré dans la place restante
     moins les 100 px de marge basse, et rogné en haut s'il dépasse (comme Framer) */
  .int-room--b .int-room__inner { gap: 20px; height: 660px; }
  .int-room--b .int-room__media { flex: 1 0 0; }
}
