/* Page d'accueil. Toutes les valeurs viennent de jetons.css. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: 400 var(--t-17) / var(--interligne-texte) var(--police-texte);
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--police-titre);
  font-weight: 400;
  font-variation-settings: var(--titre-variations);
  letter-spacing: var(--titre-approche);
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
.page { max-width: var(--largeur-contenu); margin: 0 auto; padding: 0 var(--marge-laterale); }
.grille { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gouttiere); }
.lien-evitement { position: absolute; z-index: 10; left: var(--e3); top: calc(-1 * var(--e6)); }
.lien-evitement:focus { top: var(--e3); background: var(--surface); padding: var(--e2) var(--e3); }

/* Le cadre : chaque photo est entourée d'enduit blanc, comme les fenêtres de la façade */
.cadre { margin: 0; background: var(--surface); padding: var(--cadre); border-radius: var(--rayon); }

/* En-tête */
.tete { position: relative; display: flex; align-items: center; justify-content: space-between; height: calc(var(--e6) + var(--e4)); }
.nom {
  font: 500 var(--t-20) / 1 var(--police-titre);
  font-variation-settings: var(--titre-variations);
  text-decoration: none;
}
.droite { display: flex; flex: none; align-items: center; gap: var(--e4); }
.langue { font-size: var(--t-15); color: var(--texte-secondaire); text-decoration: none; white-space: nowrap; padding: var(--e3) var(--e1); }
.langue b { color: var(--texte); font-weight: 600; }
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--cible-tactile);
  padding: 0 var(--e4);
  background: var(--accent);
  color: var(--texte-sur-accent);
  font: 600 var(--t-15) / 1 var(--police-texte);
  text-decoration: none;
  border: 0;
  border-radius: var(--rayon);
  cursor: pointer;
  transition: background var(--transition);
}
.bouton:hover { background: var(--accent-survol); }
.bouton:active { background: var(--accent-survol); }
.bouton:disabled { opacity: .45; cursor: default; }
.reserver { min-height: calc(var(--e5) + var(--e2)); }
a:focus-visible, button:focus-visible, .champ:focus-within { outline: 2px solid var(--texte); outline-offset: 3px; }

/* Rubriques : au centre en bureau, dans un <details> en téléphone */
.rubriques { display: flex; gap: var(--e5); }
.rubriques a, .menu nav a {
  font-size: var(--t-15);
  text-decoration: none;
  padding: var(--e3) 0;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.rubriques a:hover { border-color: var(--texte); }
.menu { display: none; }

/* Haut de page */
.haut { padding: var(--e6) 0 var(--e7); }
.haut .grille { align-items: start; }
.haut .texte { grid-column: 1 / span 7; padding-top: var(--e5); }
.lieu { font-size: var(--t-13); color: var(--texte-secondaire); margin-bottom: var(--e4); }
h1 { font-size: var(--titre-haut); line-height: var(--interligne-titre); }
h1 em { font-style: italic; font-weight: 300; }
.chapo { font-size: var(--t-17); max-width: 60ch; margin-top: var(--e4); }
.vues { grid-column: 8 / span 5; position: relative; }
.facade { aspect-ratio: 4 / 5; }
.patio { position: absolute; right: calc(-1 * var(--e5)); bottom: calc(-1 * var(--e6)); width: 50%; aspect-ratio: 4 / 3; }
@media (prefers-reduced-motion: no-preference) {
  .vues .cadre { animation: pose var(--apparition) both; }
  .vues .patio { animation-delay: 120ms; }
}
@keyframes pose { from { opacity: 0; transform: translateY(var(--e2)); } }

/* Demande de prix : quatre cellules et le bouton, séparés par des filets */
.demande {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 1fr 1fr auto;
  align-items: stretch;
  background: var(--surface);
  border-radius: var(--rayon);
  margin-top: var(--e5);
}
.champ {
  display: block;
  min-height: var(--cible-tactile);
  padding: var(--e3) var(--e3) var(--e2);
  border-right: 1px solid var(--filet);
}
.champ span { display: block; font-size: var(--t-13); color: var(--texte-secondaire); }
.champ input, .champ select {
  display: block;
  width: 100%;
  min-height: var(--e4);
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--texte);
  font: 500 var(--t-15) / 1.6 var(--police-texte);
  border: 0;
  border-radius: 0;
}
.champ input:focus, .champ select:focus { outline: 0; }
.demande .bouton { margin: var(--e2); min-height: calc(var(--e6) - var(--e2)); }
.preuve { font-size: var(--t-15); color: var(--texte-secondaire); margin-top: var(--e3); }
.preuve b { color: var(--texte); font-weight: 600; }
.suite::before { content: " · "; white-space: pre; }

/* La maison : fond pierre, tout le texte à la couleur du texte */
.maison { background: var(--fond-secondaire); padding: var(--e7) 0; }
.maison .grille { align-items: start; }
.salon { grid-column: 1 / span 6; aspect-ratio: 4 / 3; }
.maison .texte { grid-column: 8 / span 5; }
.maison h2 { font-size: var(--t-44); line-height: 1.08; }
.maison p { margin-top: var(--e4); }
.liste { list-style: none; margin: var(--e5) 0 0; padding: 0; border-top: 1px solid var(--filet-sur-pierre); }
.liste li { padding: var(--e3) 0; border-bottom: 1px solid var(--filet-sur-pierre); font-size: var(--t-17); }

/* Les chambres : chaque cadre est peint de la couleur de sa chambre et porte le nom et les lits */
.chambres { padding: var(--e7) 0 var(--e8); }
.chambres .grille { align-items: start; }
.intro { grid-column: 1 / span 4; align-self: stretch; }
.intro > div { position: sticky; align-self: start; top: var(--e5); }
.intro h2 { font-size: var(--t-44); line-height: 1.08; }
.intro p { margin-top: var(--e4); max-width: 22em; }
.colonne { display: flex; flex-direction: column; gap: var(--e6); }
.colonne.un { grid-column: 5 / span 4; }
.colonne.deux { grid-column: 9 / span 4; margin-top: var(--e7); }
.chambre { padding: var(--cadre) var(--cadre) var(--e4); border-radius: var(--rayon); }
.chambre .photo { aspect-ratio: 4 / 3; overflow: hidden; }
.chambre.haute .photo { aspect-ratio: 3 / 4; }
.chambre h3 { font-size: var(--t-28); line-height: 1.15; margin-top: var(--e3); }
.chambre p { font-size: var(--t-15); font-weight: 500; margin-top: var(--e1); }
.chambre sup { line-height: 0; }
.chambre.vert { background: var(--chambre-vert); color: var(--texte-sur-vert); }
.chambre.rose { background: var(--chambre-rose); color: var(--texte-sur-rose); }
.chambre.rouge { background: var(--chambre-rouge); color: var(--texte-sur-rouge); }
.chambre.bleu { background: var(--chambre-bleu); color: var(--texte-sur-bleu); }

/* Sabine et les avis : fond encre, la section la plus aérée. Citations en anglais d'origine (lang="en") */
.vu { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.avis { background: var(--texte); color: var(--surface); padding: var(--e8) 0; }
.avis .mot {
  grid-column: 1 / span 8;
  margin: 0;
  font: italic 300 var(--t-44) / 1.18 var(--police-titre);
  font-variation-settings: var(--titre-variations);
  letter-spacing: var(--titre-approche);
  text-wrap: balance;
}
.avis .qui { grid-column: 1 / -1; margin-top: var(--e4); font-size: var(--t-15); color: var(--texte-sur-encre); }
.avis .note { grid-column: 1 / -1; margin-top: var(--e7); font-size: var(--t-20); }
.citations { grid-column: 1 / -1; list-style: none; margin: var(--e5) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.citations li { padding: 0 var(--e4); border-left: 1px solid var(--filet-sur-encre); }
.citations li:first-child { padding-left: 0; border-left: 0; }
.citations li:last-child { padding-right: 0; }
.citations blockquote { margin: 0; font-size: var(--t-17); color: var(--surface); }
.source { margin-top: var(--e3); font-size: var(--t-13); color: var(--texte-sur-encre); }

/* Les environs : fond enduit, texte à gauche et tableau des distances */
.environs { padding: var(--e7) 0; }
.environs .grille { align-items: start; }
.environs .texte { grid-column: 1 / span 5; }
.environs h2 { font-size: var(--t-44); line-height: 1.08; }
.environs .texte p { margin-top: var(--e4); }
.distances { grid-column: 7 / span 6; width: 100%; border-collapse: collapse; border-top: 1px solid var(--filet); font-size: var(--t-17); }
.distances th, .distances td { padding: var(--e3) 0; border-bottom: 1px solid var(--filet); font-weight: 400; text-align: left; vertical-align: top; }
.distances td { text-align: right; }

/* Pied de page */
.pied {
  border-top: 1px solid var(--filet);
  padding: var(--e5) 0;
  font-size: var(--t-13);
  color: var(--texte-secondaire);
  display: flex;
  justify-content: space-between;
  gap: var(--e4);
  flex-wrap: wrap;
}
/* « à fournir » ne se coupe pas en fin de ligne */
.pied .a-fournir { white-space: nowrap; }
/* Liens des pages légales dans le pied de page (accueil, /reserver et ces pages) */
.pied-liens { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: var(--e1) var(--e3); font-size: var(--t-13); }
.pied-liens a { color: var(--texte-secondaire); text-decoration: underline; text-underline-offset: var(--e1); }

.barre { display: none; }

@media (max-width: 1100px) {
  :root { --titre-haut: 56px; }
  .patio { right: calc(-1 * var(--e4)); }
  .demande { grid-template-columns: 1fr 1fr; }
  .champ:nth-child(2n) { border-right: 0; }
  .champ:nth-child(-n + 2) { border-bottom: 1px solid var(--filet); }
  .champ:nth-child(3) { border-right: 1px solid var(--filet); }
  .demande .bouton { grid-column: 1 / -1; }
  .rubriques { gap: var(--e4); }
  .maison .texte { grid-column: 7 / span 6; }
  .intro { grid-column: 1 / -1; }
  .intro > div { position: static; }
  .colonne.un { grid-column: 1 / span 6; margin-top: var(--e5); }
  .colonne.deux { grid-column: 7 / span 6; margin-top: var(--e5); }
  .avis .mot { grid-column: 1 / -1; }
  .citations li { padding: 0 var(--e3); }
  .environs .texte { grid-column: 1 / span 6; }
  .distances { grid-column: 7 / span 6; }
}
@media (max-width: 760px) {
  :root { --titre-haut: 40px; }
  body { font-size: var(--t-15); padding-bottom: calc(var(--cible-tactile) + 2 * var(--e3) + 1px); }
  .grille { display: block; }
  .pied-liens a, .pied-liens span { display: inline-flex; align-items: center; min-height: var(--cible-tactile); }
  .tete { height: var(--e6); }
  .droite .bouton, .rubriques { display: none; }
  .menu { display: block; }
  .droite { gap: var(--e2); }
  .menu summary {
    display: inline-grid; align-items: center; justify-items: end;
    min-height: var(--cible-tactile); padding: 0 var(--e2); font-size: var(--t-15); font-weight: 500; cursor: pointer; list-style: none;
  }
  .menu summary::-webkit-details-marker { display: none; }
  /* Largeur du libellé le plus long (« Fermer »), texte calé à droite : « FR / EN » ne bouge pas à l'ouverture */
  .menu summary::after { content: attr(data-ferme); grid-area: 1 / 1; height: 0; overflow: hidden; visibility: hidden; }
  .menu summary { grid-template-areas: 'm'; }
  .menu summary:focus-visible { outline: 2px solid var(--texte); outline-offset: 3px; }
  .menu nav {
    position: absolute; top: 100%; left: calc(-1 * var(--marge-laterale)); right: calc(-1 * var(--marge-laterale));
    z-index: 6; background: var(--fond); padding: 0 var(--marge-laterale) var(--e3);
    min-height: calc(100dvh - var(--e6));
    border-bottom: 1px solid var(--filet);
  }
  .menu nav a {
    display: flex; align-items: center; min-height: var(--cible-tactile);
    font: 400 var(--t-28) / 1.2 var(--police-titre); font-variation-settings: var(--titre-variations);
    border-top: 1px solid var(--filet); border-bottom: 0;
  }
  .langue { display: inline-block; line-height: var(--cible-tactile); padding: 0 var(--e2); }
  .haut { padding: var(--e3) 0 var(--e6); }
  .haut .texte { padding-top: 0; }
  .lieu { margin-bottom: var(--e3); }
  h1 { line-height: 1.05; }
  .chapo { margin-top: var(--e3); }
  .maison { padding: var(--e6) 0; margin-top: var(--e5); }
  .maison .texte { margin-top: var(--e5); }
  .maison h2 { font-size: var(--t-28); }
  .chambres { padding: var(--e6) 0; }
  .chambres .grille { display: flex; flex-direction: column; gap: var(--e5); }
  .intro h2 { font-size: var(--t-28); }
  .colonne, .colonne.un, .colonne.deux { display: contents; }
  .chambre { padding-bottom: var(--e3); }
  .chambre.vert { order: 1; }
  .chambre.rose { order: 2; }
  .chambre.rouge { order: 3; }
  .chambre.bleu { order: 4; }
  .avis { padding: var(--e6) 0; }
  .avis .mot { font-size: var(--t-28); line-height: 1.22; }
  .avis .note { margin-top: var(--e6); }
  .citations { display: block; margin-top: var(--e4); }
  .citations li, .citations li:first-child, .citations li:last-child { padding: var(--e4) 0; border-left: 0; border-top: 1px solid var(--filet-sur-encre); }
  .environs { padding: var(--e6) 0; }
  .environs h2 { font-size: var(--t-28); }
  .distances { margin-top: var(--e5); }
  /* En téléphone, la durée passe sous le lieu : deux colonnes étroites cassaient « Disneyland Paris » et sa durée */
  .distances tbody, .distances tr, .distances th, .distances td { display: block; }
  .distances th { padding-bottom: 0; border-bottom: 0; }
  .distances td { padding-top: var(--e1); text-align: left; color: var(--texte-secondaire); }
  /* Un seul filet avant le pied de page : celui du pied suffit */
  .distances tr:last-child td { border-bottom: 0; }
  .suite { display: block; }
  .suite::before { content: none; }
  .demande { margin-top: var(--e4); }
  .vues { margin-top: var(--e5); margin-right: var(--e5); margin-left: 0; }
  .patio { right: calc(-1 * var(--e5)); bottom: calc(-1 * var(--e5)); width: 46%; }
  .barre {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    background: var(--surface);
    border-top: 1px solid var(--filet);
    padding: var(--e3) var(--marge-laterale);
    align-items: center;
    justify-content: space-between;
    gap: var(--e3);
  }
  .barre span { font-size: var(--t-13); line-height: 1.3; color: var(--texte-secondaire); }
  .barre span b { display: block; color: var(--texte); font-weight: 600; font-size: var(--t-15); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
