/* ==========================================================================
   Chalet Altitude : style « plan d'architecte »
   Papier clair, traits fins, cotes en police à chasse fixe, cadres noirs
   comme les fenêtres du chalet, bleu fleuve en accent. Coins francs.
   ========================================================================== */

@font-face { font-family: "Schibsted"; src: url("/ressources/polices/schibsted.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/ressources/polices/plexmono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/ressources/polices/plexmono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --c-fond: #f3f2ed;
  --c-fond-2: #e9e8e1;
  --c-papier: #fbfaf7;
  --c-texte: #15181a;
  --c-texte-doux: #585d60;
  --c-trait: rgba(21, 24, 26, .14);
  --c-trait-fort: rgba(21, 24, 26, .32);
  --c-accent: #1c5d99;          /* bleu fleuve */
  --c-accent-fonce: #134574;
  --c-accent-texte: #ffffff;
  --c-sombre: #15181a;          /* noir des cadres de fenêtres */
  --c-sombre-texte: #eceae3;
  --c-sable: #b9ab8f;           /* revêtement du chalet */

  --f-titre: "Schibsted", system-ui, sans-serif;
  --f-texte: "Schibsted", system-ui, sans-serif;
  --f-cote: "Plex Mono", ui-monospace, monospace;

  --conteneur: 1240px;
  --rayon: 0px;
  --rayon-bouton: 2px;
  --cadre: 8px;                 /* épaisseur des montants de fenêtre */
  --ombre: 0 22px 44px -26px rgba(21, 24, 26, .45);
}

body { font-size: 17px; background: var(--c-fond);
  background-image: linear-gradient(var(--c-trait) 1px, transparent 1px);
  background-size: 100% 0; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.035em; }
h2 { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.02; max-width: 16ch; }
h3 { font-size: 20px; letter-spacing: -.02em; margin-bottom: .35em; }
.chapeau { font-size: clamp(17px, 1.4vw, 19px); }

/* Cotes et étiquettes, comme sur un plan */
.cote, .etiquette, .logo-lieu, .resa-etape, .plan-nom span, .altimetre { font-family: var(--f-cote); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.etiquette { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; color: var(--c-texte-doux); }
.etiquette::before { content: ""; width: 10px; height: 10px; background: var(--c-accent); flex: none; }
.section--sombre .etiquette { color: color-mix(in srgb, var(--c-sombre-texte) 70%, transparent); }
.entete-section { margin-bottom: clamp(32px, 5vw, 56px); }
.entete-section--deux { display: grid; gap: 20px 64px; align-items: end; }
@media (min-width: 900px) { .entete-section--deux { grid-template-columns: 1.1fr 1fr; } }

/* Boutons : coins francs, flèche */
.bouton { padding: 17px 24px; border-radius: var(--rayon-bouton); font-size: 16px; min-height: 52px; position: relative; overflow: hidden; isolation: isolate; }
.bouton::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c-accent-fonce); clip-path: inset(0 100% 0 0); transition: clip-path .45s var(--courbe); }
.bouton--sombre::after { background: var(--c-accent); }
@media (hover: hover) { .bouton:hover::after { clip-path: inset(0 0 0 0); } }

/* ---------------- En-tête ---------------- */
.entete { padding-block: 14px; background: color-mix(in srgb, var(--c-fond) 94%, transparent); box-shadow: 0 1px 0 var(--c-trait); backdrop-filter: blur(10px); }
.entete.est-defile { padding-block: 10px; }
.entete-ligne { display: flex; align-items: center; gap: 20px; }
.logo { display: inline-grid; grid-template-columns: auto auto; column-gap: 10px; align-items: center; line-height: 1; }
.logo-pic { width: 34px; height: 21px; grid-row: span 2; color: var(--c-accent); }
.logo-nom { font: 800 22px/1 var(--f-titre); letter-spacing: -.04em; }
.logo-lieu { font-size: 10px; color: var(--c-texte-doux); margin-top: 3px; }
.nav-ordi { display: flex; gap: 4px; margin-left: auto; }
.nav-ordi a { position: relative; padding: 10px 12px; font-size: 15px; font-weight: 500; }
.nav-ordi a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--c-accent); scale: 0 1; transform-origin: right; transition: scale .35s var(--courbe); }
@media (hover: hover) { .nav-ordi a:hover::after { scale: 1 1; transform-origin: left; } }
.nav-ordi a.est-courant::after { scale: 1 1; }
.entete-cta { padding: 14px 20px; min-height: 46px; }
.bouton-menu { border-radius: 2px; width: 48px; height: 48px; gap: 6px; align-content: center; justify-items: center; }
.bouton-menu span { display: block; width: 20px; height: 2px; background: currentColor; transition: rotate .3s, translate .3s; }
html.menu-ouvert .bouton-menu span:first-child { translate: 0 4px; rotate: 45deg; }
html.menu-ouvert .bouton-menu span:last-child { translate: 0 -4px; rotate: -45deg; }
.panneau-menu { z-index: 45; padding-top: 100px; }
.panneau-menu a:not(.bouton) { display: flex; align-items: baseline; gap: 16px; }
.panneau-menu small { font: 500 12px var(--f-cote); color: var(--c-accent); }
.panneau-menu .panneau-cta { margin-top: 22px; justify-content: center; border-bottom: 0; font: 600 17px var(--f-texte); }
@media (max-width: 900px) {
  .entete-cta { margin-left: auto; padding: 12px 16px; font-size: 15px; }
  .logo-nom { font-size: 20px; }
}
@media (max-width: 380px) { .entete-cta .fleche { display: none; } .logo-lieu { display: none; } }

/* ---------------- Altimètre (ordinateur) ---------------- */
.altimetre { position: fixed; right: 18px; top: 50%; translate: 0 -50%; z-index: 40; display: none; grid-template-columns: auto auto; gap: 4px 10px; color: var(--c-texte-doux); pointer-events: none; }
.altimetre-titre { grid-column: 1 / -1; font-size: 10px; margin-bottom: 6px; }
.altimetre-regle { position: relative; width: 12px; height: 240px;
  background: repeating-linear-gradient(to bottom, var(--c-trait-fort) 0 1px, transparent 1px 12px) left / 6px 100% no-repeat,
              repeating-linear-gradient(to bottom, var(--c-texte) 0 1px, transparent 1px 48px) left / 12px 100% no-repeat; }
.altimetre-curseur { position: absolute; left: -4px; bottom: calc(var(--alt, 0) * 100%); width: 20px; height: 2px; background: var(--c-accent); transition: bottom .15s linear; }
.altimetre-curseur::after { content: ""; position: absolute; right: -6px; top: -4px; border: 5px solid transparent; border-right-color: var(--c-accent); rotate: 180deg; }
.altimetre-reperes { list-style: none; margin: 0; padding: 0; height: 240px; display: flex; flex-direction: column; justify-content: space-between; font-size: 10px; }
.altimetre-reperes li { line-height: 1; transition: color .3s; }
.altimetre-reperes li.est-courant { color: var(--c-accent); font-weight: 500; }
@media (min-width: 1360px) { .altimetre { display: grid; } }
.altimetre { opacity: 0; transition: opacity .4s; }
.altimetre.est-visible { opacity: 1; }

/* ---------------- HÉROS : mur de fenêtres ---------------- */
.heros { padding-top: 76px; }
.fenetres { position: relative; display: grid; gap: var(--cadre); padding: var(--cadre); background: var(--c-sombre);
  grid-template-columns: repeat(3, 1fr); grid-template-rows: minmax(0, 1fr) 110px; height: calc(100svh - 76px - 150px); min-height: 520px; max-height: 760px; }
.vitre { position: relative; margin: 0; overflow: hidden; background: #2a2f31; }
.vitre img { width: 100%; height: 100%; object-fit: cover; }
.vitre--grande { grid-column: 1 / -1; }
.vitre--grande img { object-position: 50% 62%; }
.vitre--veranda { display: none; }
.vitre--vue img { object-position: 50% 30%; }
.vitre--foyer img { object-position: 50% 45%; }
.vitre .cote { position: absolute; left: 8px; top: 8px; padding: 4px 7px; background: rgba(21, 24, 26, .78); color: #fff; font-size: 10px; }
.vitre--grande .cote { left: auto; right: 10px; top: 10px; }
@media (max-width: 899px) { .vitre:not(.vitre--grande) .cote { display: none; } }
/* Ouverture des vitres au chargement : le cadre est posé, puis la vue apparaît */
/* Store qui remonte sur chaque vitre au chargement */
.vitre::before { content: ""; position: absolute; inset: 0; z-index: 1; background: #2a2f31 repeating-linear-gradient(to bottom, transparent 0 22px, rgba(0, 0, 0, .35) 22px 24px); transform-origin: 50% 0; transform: scaleY(0); pointer-events: none; }
.js .vitre::before { transform: scaleY(1); animation: store 1.3s var(--courbe) forwards; animation-delay: calc(.2s + var(--n, 0) * .14s); }
@keyframes store { to { transform: scaleY(0); } }
.vitre .cote { z-index: 2; }
.vitre:nth-of-type(2) { --n: 1; } .vitre:nth-of-type(3) { --n: 2; } .vitre:nth-of-type(4) { --n: 3; } .vitre:nth-of-type(5) { --n: 4; }
.js .vitre--grande img { animation: vitre-lent 24s ease-in-out .2s infinite alternate; }
@keyframes vitre-lent { from { object-view-box: inset(0%); } to { object-view-box: inset(4%); } }
/* Reflet qui passe sur la vitre */
.vitre::after { content: ""; position: absolute; inset: -20% -60%; background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .22) 50%, transparent 58%); translate: -70% 0; pointer-events: none; }
.js .vitre::after { animation: reflet 1.6s var(--courbe) forwards; animation-delay: calc(1.1s + var(--n, 0) * .12s); }
@keyframes reflet { to { translate: 70% 0; } }

.heros-texte { position: absolute; left: var(--cadre); right: var(--cadre); top: var(--cadre); bottom: calc(110px + 2 * var(--cadre));
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px 20px 20px; color: #fff; pointer-events: none;
  background: linear-gradient(to top, rgba(10, 13, 15, .82) 0%, rgba(10, 13, 15, .38) 42%, transparent 70%); }
.heros-texte h1 { font-size: clamp(34px, 9.6vw, 78px); line-height: .98; letter-spacing: -.045em; max-width: 13ch; margin-bottom: 12px; }
.heros-note { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; margin: 0 0 14px; padding: 7px 11px; background: #fff; color: var(--c-texte); font-size: 13px; font-weight: 500; }
.heros-note strong { font-weight: 700; }
.etoile { color: var(--c-accent); }
.heros-sous { margin: 0; max-width: 46ch; font-size: 16px; color: rgba(255, 255, 255, .9); }
.voir-photos { position: absolute; right: calc(var(--cadre) + 10px); bottom: calc(96px + 2 * var(--cadre) + 12px); display: none; align-items: center; gap: 8px; padding: 10px 14px; background: #fff; font-size: 14px; font-weight: 600; transition: background-color .3s, color .3s; }
.voir-photos svg { width: 16px; height: 16px; }
@media (hover: hover) { .voir-photos:hover { background: var(--c-accent); color: #fff; } }

@media (min-width: 900px) {
  .heros { padding-top: 78px; }
  .fenetres { grid-template-columns: 1.7fr 1fr 1fr; grid-template-rows: 1fr 1fr; height: calc(100svh - 78px - 100px); min-height: 540px; max-height: 860px; }
  .vitre--grande { grid-column: 1; grid-row: 1 / 3; }
  .vitre--veranda { display: block; }
  .vitre--foyer { grid-column: 3; grid-row: 1; } .vitre--vue { grid-column: 2; grid-row: 1; }
  .vitre--spa { grid-column: 2; grid-row: 2; } .vitre--veranda { grid-column: 3; grid-row: 2; }
  .heros-texte { right: auto; width: calc((100% - 4 * var(--cadre)) * 1.7 / 3.7); bottom: var(--cadre); padding: 40px 40px 120px; }
  .heros-texte h1 { font-size: clamp(44px, 4.6vw, 76px); }
  .voir-photos { display: inline-flex; bottom: auto; right: auto; top: calc(var(--cadre) + 12px); left: calc(var(--cadre) + 12px); }
}

/* Demande de réservation : bande posée sur le bas du héros */
.resa { position: relative; z-index: 3; margin-top: -18px; padding: 18px; background: var(--c-papier); border: 1px solid var(--c-texte); box-shadow: 10px 10px 0 var(--c-accent); }
.resa-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.resa-titre { margin: 0; font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.resa-titre span { display: block; font: 400 12px var(--f-cote); text-transform: uppercase; letter-spacing: .06em; color: var(--c-texte-doux); margin-top: 3px; }
.resa-etape { margin: 0; color: var(--c-accent); white-space: nowrap; }
.resa .etapes-barre { height: 3px; border-radius: 0; margin-bottom: 16px; }
.resa-champs { display: grid; gap: 12px; }
.resa-champ { display: grid; gap: 6px; }
.resa-champ > span { font: 500 11px var(--f-cote); text-transform: uppercase; letter-spacing: .08em; color: var(--c-texte-doux); }
.champ { border-radius: 0; border-color: var(--c-trait-fort); background: #fff; min-height: 50px; font-size: 16px; }
.resa-champs--dates { grid-template-columns: 1fr 1fr; }
.resa-nuits, .resa-capacite { grid-column: 1 / -1; margin: 0; font: 500 13px var(--f-cote); color: var(--c-texte-doux); }
.resa-nuits.a-nuits, .resa-capacite { color: var(--c-accent); }
.compte { display: grid; grid-template-columns: 1fr 48px 34px 48px; align-items: center; gap: 6px; padding: 6px 0; border-bottom: 1px dashed var(--c-trait-fort); }
.compte-nom { font-weight: 600; }
.compte-nom small { display: block; font-weight: 400; font-size: 13px; color: var(--c-texte-doux); }
.compte button, .dodo-compteur button { width: 48px; height: 48px; border: 1px solid var(--c-texte); background: #fff; font-size: 22px; line-height: 1; cursor: pointer; transition: background-color .2s, color .2s; }
.compte button:disabled, .dodo-compteur button:disabled { opacity: .3; cursor: not-allowed; }
@media (hover: hover) { .compte button:not(:disabled):hover, .dodo-compteur button:not(:disabled):hover { background: var(--c-texte); color: #fff; } }
.compte output { text-align: center; font-weight: 700; font-size: 18px; }
.resa-animal { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; cursor: pointer; }
.resa-animal input { width: 20px; height: 20px; accent-color: var(--c-accent); }
.resa-animal small { color: var(--c-texte-doux); }
.resa-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 16px; }
.resa-actions .bouton { flex: 1; justify-content: center; }
.resa-retour { min-height: 52px; padding: 0 14px; border: 0; background: none; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.resa + .merci, .heros .merci { position: relative; z-index: 3; margin-top: -18px; border-radius: 0; border: 1px solid var(--c-texte); background: var(--c-papier); box-shadow: 10px 10px 0 var(--c-accent); }
.resa { animation: resa-arrive 1s var(--courbe) .6s both; }
@keyframes resa-arrive { from { opacity: 0; translate: 0 30px; } }

@media (min-width: 900px) {
  .resa { display: grid; grid-template-columns: 230px 1fr auto; grid-template-rows: auto auto; column-gap: 28px; align-items: end; padding: 22px 26px; margin-top: -58px; }
  .resa-tete { grid-column: 1; grid-row: 1 / 3; flex-direction: column; align-self: center; margin: 0; }
  .resa .etapes-barre { grid-column: 2 / 4; grid-row: 1; align-self: start; }
  .resa [data-etape] { grid-column: 2; grid-row: 2; }
  .resa-actions { grid-column: 3; grid-row: 2; margin: 0; }
  .resa-actions .bouton { flex: none; }
  .resa-champs--dates { grid-template-columns: 1fr 1fr auto; align-items: end; }
  .resa-nuits { grid-column: auto; align-self: center; padding-bottom: 4px; min-width: 15ch; }
  .resa-champs--voyageurs { grid-template-columns: 1fr 1fr auto; align-items: center; column-gap: 24px; }
  .resa-capacite { grid-column: 1 / -1; }
  .resa-champs--coord { grid-template-columns: repeat(3, 1fr); }
}

/* ---------------- Galerie ---------------- */
.galerie { padding-top: clamp(64px, 8vw, 110px); }
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.filtres::-webkit-scrollbar { display: none; }
.filtre { flex: none; min-height: 44px; padding: 0 14px; border: 1px solid var(--c-trait-fort); background: transparent; font-weight: 600; font-size: 15px; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.filtre.est-actif { background: var(--c-texte); color: #fff; border-color: var(--c-texte); }
@media (hover: hover) { .filtre:not(.est-actif):hover { border-color: var(--c-texte); } }
.grille-photos { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; grid-auto-flow: dense; gap: 8px; }
.photo { position: relative; padding: 0; border: 0; overflow: hidden; background: var(--c-fond-2); cursor: zoom-in; transition: opacity .4s, scale .4s var(--courbe); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--courbe), filter .5s; }
.photo--large { grid-column: span 2; }
.photo--haute { grid-row: span 2; }
.photo .cote { position: absolute; left: 0; bottom: 0; padding: 6px 9px; background: var(--c-fond); font-size: 10px; translate: 0 100%; transition: translate .4s var(--courbe); }
.photo::before { content: ""; position: absolute; inset: 10px; z-index: 1; border: 1px solid rgba(255, 255, 255, .8); opacity: 0; scale: 1.04; transition: opacity .4s, scale .4s var(--courbe); pointer-events: none; }
@media (hover: hover) {
  .photo:hover img { scale: 1.06; }
  .photo:hover::before { opacity: 1; scale: 1; }
  .photo:hover .cote { translate: 0 0; }
}
@media (hover: none) { .photo .cote { translate: 0 0; } }
.photo.est-cache { display: none; }
@media (min-width: 700px) { .grille-photos { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 10px; } }

.visionneuse { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 60px 10px; background: rgba(12, 14, 15, .95); color: #fff; }
.visionneuse figure { margin: 0; display: grid; gap: 10px; justify-items: center; min-width: 0; }
.visionneuse img { max-height: calc(100svh - 150px); width: auto; max-width: 100%; object-fit: contain; }
.visionneuse figcaption { font: 500 12px var(--f-cote); text-transform: uppercase; letter-spacing: .06em; }
.vis-nav, .vis-fermer { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; cursor: pointer; font-size: 18px; transition: background-color .2s, color .2s; }
.vis-nav svg { width: 22px; height: 22px; }
@media (hover: hover) { .vis-nav:hover, .vis-fermer:hover { background: #fff; color: var(--c-texte); } }
.vis-fermer { position: absolute; top: 10px; right: 10px; }
@media (max-width: 700px) { .visionneuse { grid-template-columns: 1fr 1fr; padding: 70px 10px 20px; } .visionneuse figure { grid-column: 1 / -1; grid-row: 1; } .vis-nav { justify-self: center; } }

/* ---------------- Le chalet ---------------- */
.chalet { background: var(--c-papier); border-block: 1px solid var(--c-trait); }
.chalet-intro { display: grid; gap: 18px 64px; align-items: end; margin-bottom: 40px; }
@media (min-width: 900px) { .chalet-intro { grid-template-columns: 1.1fr 1fr; } }
.fiche { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 clamp(36px, 5vw, 64px); border-top: 1px solid var(--c-texte); }
.fiche > div { padding: 18px 14px 20px 0; border-bottom: 1px dashed var(--c-trait-fort); }
.fiche > div:nth-child(odd) { border-right: 1px dashed var(--c-trait-fort); }
.fiche > div:nth-child(even) { padding-left: 16px; }
.fiche dt { font: 500 11px var(--f-cote); text-transform: uppercase; letter-spacing: .08em; color: var(--c-texte-doux); margin-bottom: 4px; }
.fiche dd { margin: 0; font: 700 clamp(44px, 6vw, 84px)/1 var(--f-titre); letter-spacing: -.05em; }
.fiche dd small { font: 500 14px var(--f-texte); letter-spacing: 0; color: var(--c-texte-doux); }
@media (min-width: 900px) {
  .fiche { grid-template-columns: repeat(4, 1fr); }
  .fiche > div { padding: 22px 24px 26px; border-right: 1px dashed var(--c-trait-fort); }
  .fiche > div:first-child { padding-left: 0; }
  .fiche > div:last-child { border-right: 0; }
}
.chalet-grille { display: grid; gap: 28px; }
.chalet-photo { position: relative; margin: 0; aspect-ratio: 4 / 5; }
.coin-photo img { height: 116%; margin-top: -8%; }
.chalet-photo .cote, .coin-photo .cote, .chalet-billard .cote { position: absolute; left: 0; bottom: 0; padding: 7px 10px; background: var(--c-papier); }
.atouts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--c-texte); }
.atout { position: relative; display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; padding: 20px 6px 18px 0; border-bottom: 1px dashed var(--c-trait-fort); background: var(--c-papier); }
.atout h3, .atout p { grid-column: 2; }
.atout p { margin: 0; color: var(--c-texte-doux); font-size: 16px; }
.atout-icone { grid-row: span 2; width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--c-texte); color: var(--c-accent); transition: background-color .35s, color .35s; }
.atout-icone svg { width: 32px; height: 32px; }
@media (hover: hover) {
  .atout.carte-survol:hover { translate: 6px 0; box-shadow: none; }
  .atout:hover .atout-icone { background: var(--c-accent); color: #fff; }
}
/* Vapeur du spa qui monte */
.vapeur .fumee { stroke-dasharray: 3 5; animation: fumee 2.6s linear infinite; opacity: .9; }
.vapeur .f2 { animation-delay: -.8s; } .vapeur .f3 { animation-delay: -1.6s; }
@keyframes fumee { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 40; } }
.carte-survol:hover .vapeur .fumee { animation-duration: 1s; }
@media (min-width: 900px) {
  .chalet-grille { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
  .atouts { grid-template-columns: 1fr 1fr; column-gap: 28px; }
}
.chalet-billard { position: relative; margin: 40px 0 0; aspect-ratio: 16 / 9; }
.chalet-billard img { object-position: 50% 60%; }
.commodites { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; }
.commodites li { padding: 9px 13px; border: 1px solid var(--c-trait-fort); font-size: 14px; font-weight: 500; background: #fff; transition: border-color .25s, color .25s; }
@media (hover: hover) { .commodites li:hover { border-color: var(--c-accent); color: var(--c-accent); } }
@media (min-width: 900px) {
  .chalet-billard { display: none; }
}

/* ---------------- Qui dort où ---------------- */
.dodo { background: var(--c-fond); }
.dodo-grille { display: grid; gap: 40px; }
@media (min-width: 960px) { .dodo-grille { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; } }
.dodo-compteur { display: flex; align-items: center; gap: 18px; margin: 28px 0 14px; }
.dodo-compteur button { width: 56px; height: 56px; font-size: 26px; }
.dodo-compteur p { margin: 0; display: grid; justify-items: center; min-width: 96px; }
.dodo-compteur output { font: 800 64px/1 var(--f-titre); letter-spacing: -.05em; color: var(--c-accent); }
.dodo-compteur output.bump { animation: bump .35s var(--courbe); }
@keyframes bump { 40% { scale: 1.15; } }
.dodo-compteur span { font: 500 11px var(--f-cote); text-transform: uppercase; letter-spacing: .08em; color: var(--c-texte-doux); }
.dodo-resume { min-height: 3.2em; margin: 0 0 22px; font-weight: 500; }

.plan { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 3px solid var(--c-texte); background: var(--c-papier);
  background-image: linear-gradient(var(--c-trait) 1px, transparent 1px), linear-gradient(90deg, var(--c-trait) 1px, transparent 1px); background-size: 24px 24px; }
.plan-piece { position: relative; padding: 14px 14px 18px; border: 1.5px solid var(--c-texte); margin: -1px; min-height: 170px; display: grid; align-content: space-between; gap: 12px; transition: background-color .4s; }
.plan-piece--large { grid-column: span 2; }
.plan-piece.a-du-monde { background: color-mix(in srgb, var(--c-accent) 7%, transparent); }
.plan-nom { margin: 0; font-weight: 700; font-size: 15px; }
.plan-nom span { display: block; font-weight: 400; font-size: 10px; color: var(--c-texte-doux); margin-top: 3px; }
.plan-nord { position: absolute; right: 8px; bottom: -26px; font: 500 11px var(--f-cote); color: var(--c-texte-doux); }
/* Lits dessinés vus de haut */
.lit { position: relative; display: flex; gap: 6px; justify-content: center; align-items: flex-end; padding: 26px 10px 10px; border: 1.5px solid var(--c-texte); background: #fff; justify-self: center; }
.lit--king { width: 150px; height: 100px; }
.lit--queen { width: 130px; height: 100px; }
.lit--double { width: 120px; height: 92px; }
.lit--simple { width: 72px; height: 92px; }
.lit--sofa { width: 200px; height: 70px; padding-top: 12px; border-width: 1.5px 1.5px 6px; }
.oreillers { position: absolute; top: 6px; left: 10px; right: 10px; height: 14px; background: repeating-linear-gradient(90deg, var(--c-fond-2) 0 calc(50% - 3px), transparent calc(50% - 3px) calc(50% + 3px)); border: 1px solid var(--c-trait-fort); }
.lit--simple .oreillers { background: var(--c-fond-2); }
.lit--sofa .oreillers { display: none; }
.lits-superposes { display: flex; gap: 14px; justify-content: center; }
.place { display: block; width: 30px; height: 30px; border: 1.5px dashed var(--c-trait-fort); border-radius: 50%; transition: background-color .35s, border-color .35s, scale .45s var(--courbe); }
.place.occupee { background: var(--c-accent); border: 1.5px solid var(--c-accent); animation: pose .5s var(--courbe); }
@keyframes pose { 0% { scale: .2; } 60% { scale: 1.2; } 100% { scale: 1; } }
@media (max-width: 420px) {
  .plan-piece { padding: 12px 10px 14px; min-height: 150px; }
  .lit--king { width: 118px; height: 88px; } .lit--queen { width: 108px; height: 88px; }
  .lit--double { width: 104px; } .lit--simple { width: 64px; }
  .place { width: 26px; height: 26px; }
}

/* ---------------- Le coin ---------------- */
.coin { background: var(--c-papier); border-top: 1px solid var(--c-trait); }
.coin-grille { display: grid; gap: 20px; margin-bottom: 20px; }
@media (min-width: 900px) { .coin-grille { grid-template-columns: 1.15fr 1fr; gap: 24px; } }
.trajet { position: relative; min-height: 360px; border: 1px solid var(--c-texte); background: var(--c-fond);
  background-image: radial-gradient(circle, var(--c-trait-fort) 1px, transparent 1.5px); background-size: 18px 18px; overflow: hidden; }
/* courbes de niveau en filigrane */
.trajet::before { content: ""; position: absolute; inset: -30%; background: repeating-radial-gradient(circle at 70% 25%, transparent 0 26px, rgba(28, 93, 153, .14) 27px 28px); animation: niveaux 40s linear infinite; }
@keyframes niveaux { to { rotate: 8deg; } }
.trajet-trace { position: absolute; inset: 0; width: 100%; height: 100%; }
.trajet-fond { fill: none; stroke: var(--c-trait-fort); stroke-width: 2; stroke-dasharray: 6 8; vector-effect: non-scaling-stroke; }
.trajet-ligne { fill: none; stroke: var(--c-accent); stroke-width: 4; vector-effect: non-scaling-stroke; stroke-dasharray: 3000; stroke-dashoffset: 3000; }
.trajet.est-visible .trajet-ligne { transition: stroke-dashoffset 2.2s var(--courbe) .3s; stroke-dashoffset: 0; }
.trajet.est-visible .trajet-ligne--2 { transition-delay: 1.1s; }
.arret { position: absolute; display: flex; align-items: center; gap: 10px; translate: -12px -50%; }
.arret--massif p, .arret--bsp p { translate: 0 -26px; }
.arret--bsp p { translate: 0 26px; }
.arret p { margin: 0; padding: 7px 10px; background: var(--c-papier); border: 1px solid var(--c-texte); font-size: 13px; line-height: 1.25; }
.arret strong { display: block; font-size: 14px; }
.arret em { font: 500 12px var(--f-cote); font-style: normal; color: var(--c-accent); }
.arret-point { width: 24px; height: 24px; flex: none; border: 3px solid var(--c-texte); background: var(--c-papier); }
.arret--chalet .arret-point { background: var(--c-accent); border-color: var(--c-accent); animation: balise 2.4s ease-out infinite; }
@keyframes balise { 0% { box-shadow: 0 0 0 0 rgba(28, 93, 153, .5); } 80%, 100% { box-shadow: 0 0 0 16px rgba(28, 93, 153, 0); } }
.arret--chalet { right: calc(55% - 12px); top: 50%; flex-direction: row-reverse; translate: 0 -50%; }
.arret--chalet p { max-width: 150px; }
@media (max-width: 420px) { .arret--chalet p { max-width: 128px; font-size: 12px; } }
.arret--massif { right: calc(10% - 12px); top: 16.6%; flex-direction: row-reverse; translate: 0 -50%; }
.arret--bsp { right: calc(10% - 12px); top: 83.3%; flex-direction: row-reverse; translate: 0 -50%; }
.arret--massif, .arret--bsp { opacity: 0; transition: opacity .6s, translate .6s var(--courbe); }
.trajet.est-visible .arret--massif { opacity: 1; transition-delay: 1.8s; }
.trajet.est-visible .arret--bsp { opacity: 1; transition-delay: 2.6s; }
.coin-photo { position: relative; margin: 0; min-height: 280px; }
.carte { position: relative; border: 1px solid var(--c-texte); }
.carte iframe { display: block; width: 100%; height: 340px; border: 0; filter: grayscale(.85) contrast(1.05); transition: filter .6s; }
.carte:hover iframe { filter: none; }
.carte-note { margin: 0; padding: 10px 12px; border-top: 1px solid var(--c-texte); background: var(--c-fond); color: var(--c-texte-doux); }

/* ---------------- Avis (sombre) ---------------- */
.avis { background: var(--c-sombre); color: var(--c-sombre-texte); }
.avis-grille { display: grid; gap: 40px; }
@media (min-width: 960px) { .avis-grille { grid-template-columns: 1fr 1.2fr; column-gap: 80px; } .hote { grid-column: 1 / -1; } }
.note-geante { margin: 0; font: 800 clamp(96px, 16vw, 200px)/.85 var(--f-titre); letter-spacing: -.06em; }
.note-geante small { font-size: .26em; letter-spacing: 0; color: color-mix(in srgb, var(--c-sombre-texte) 55%, transparent); margin-left: 6px; }
.note-legende { margin: 22px 0 0; max-width: 42ch; color: color-mix(in srgb, var(--c-sombre-texte) 80%, transparent); }
.note-legende strong { color: #fff; }
.barres { list-style: none; margin: 0; padding: 0; align-self: center; }
.barres li { display: grid; grid-template-columns: 9.5em 1fr 2.6em; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px dashed rgba(236, 234, 227, .22); }
.barres span { font-weight: 500; }
.barres em { font: 500 14px var(--f-cote); font-style: normal; text-align: right; }
.barre { position: relative; height: 4px; background: rgba(236, 234, 227, .14); }
.barre i { position: absolute; inset: 0; background: #fff; transform-origin: left; scale: 0 1; transition: scale 1.6s var(--courbe); transition-delay: calc(var(--delai, 0s) + .2s); }
.barres li.est-visible .barre i { scale: var(--v) 1; }
.barre i::after { content: ""; position: absolute; right: -1px; top: -5px; width: 2px; height: 14px; background: #6fa6dc; }
@media (max-width: 420px) { .barres li { grid-template-columns: 8em 1fr 2.4em; gap: 10px; } }
.hote { display: grid; gap: 18px; padding: 24px; border: 1px solid rgba(236, 234, 227, .3); }
@media (min-width: 800px) { .hote { grid-template-columns: auto 1fr; align-items: center; gap: 40px; } }
.hote-nom { display: flex; align-items: center; gap: 14px; margin: 0; font-weight: 700; font-size: 20px; }
.hote-nom small { padding: 4px 8px; background: #fff; color: var(--c-texte); font: 500 11px var(--f-cote); text-transform: uppercase; letter-spacing: .06em; }
.hote-initiale { display: grid; place-items: center; width: 52px; height: 52px; background: var(--c-accent); font-size: 24px; color: #fff; }
.hote-faits { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .hote-faits { grid-template-columns: repeat(3, 1fr); } }
.hote-faits li { font-size: 14px; color: color-mix(in srgb, var(--c-sombre-texte) 72%, transparent); }
.hote-faits strong { display: block; font-size: 20px; color: #fff; letter-spacing: -.02em; }

/* ---------------- FAQ ---------------- */
.faq-grille { display: grid; gap: 30px; }
@media (min-width: 960px) { .faq-grille { grid-template-columns: .8fr 1.2fr; gap: 80px; } }
[data-faq] { border-top: 1px solid var(--c-texte); }
.faq-item { border-bottom: 1px dashed var(--c-trait-fort); }
.faq-item summary { padding: 22px 0; transition: color .25s; min-height: 56px; }
.faq-item[open] summary { color: var(--c-accent); }
.faq-item .plus { width: 34px; height: 34px; border: 1px solid currentColor; }
.faq-item[open] .plus { rotate: none; }
.faq-item .plus::after { transition: rotate .4s var(--courbe); }
.faq-item[open] .plus::after { rotate: 0deg; }
.faq-item .plus::before, .faq-item .plus::after { inset: 50% 9px auto; }
@media (hover: hover) { .faq-item summary:hover { color: var(--c-accent); } }

/* ---------------- Appel final ---------------- */
.final { background: var(--c-fond-2); border-top: 1px solid var(--c-trait); }
.final-grille { display: grid; gap: 40px; }
@media (min-width: 960px) { .final-grille { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; } }
.final-faits { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.final-faits li { display: flex; align-items: center; gap: 10px; font: 500 13px var(--f-cote); text-transform: uppercase; letter-spacing: .05em; }
.final-faits li::before { content: ""; width: 18px; height: 1px; background: var(--c-texte); }
.final-form { display: grid; gap: 14px; padding: clamp(20px, 3vw, 32px); background: var(--c-papier); border: 1px solid var(--c-texte); box-shadow: 10px 10px 0 var(--c-texte); }
.final-ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.final-form textarea { resize: vertical; min-height: 96px; }
.final-form .bouton { justify-content: center; }
.final .merci { border-radius: 0; border: 1px solid var(--c-texte); background: var(--c-papier); }

/* ---------------- Pied de page ---------------- */
.pied { position: relative; overflow: hidden; background: var(--c-sombre); color: var(--c-sombre-texte); padding: 60px 0 0; }
.pied-haut { display: grid; gap: 26px; padding-bottom: 32px; border-bottom: 1px solid rgba(236, 234, 227, .2); }
@media (min-width: 800px) { .pied-haut { grid-template-columns: auto 1fr; align-items: center; } .pied-liens { justify-content: flex-end; } }
.logo--pied { justify-self: start; }
.logo--pied .logo-pic { color: #6fa6dc; }
.pied-liens { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.pied-liens a { padding: 10px 10px; font-weight: 500; opacity: .8; transition: opacity .25s, color .25s; }
@media (hover: hover) { .pied-liens a:hover { opacity: 1; color: #6fa6dc; } }
.pied-bas { display: grid; gap: 6px; padding: 24px 0 8px; font: 400 12px var(--f-cote); text-transform: uppercase; letter-spacing: .05em; color: color-mix(in srgb, var(--c-sombre-texte) 65%, transparent); }
.pied-bas p { margin: 0; }
@media (min-width: 800px) { .pied-bas { grid-template-columns: 1fr auto auto; gap: 32px; } }
.pied .credit-b2web { font: inherit; opacity: 1; }
.pied .credit-b2web a { color: var(--c-sombre-texte); }
.pied-geant { margin: 10px 0 -0.2em; font: 800 clamp(88px, 22vw, 340px)/.8 var(--f-titre); letter-spacing: -.07em; text-align: center; color: rgba(236, 234, 227, .07); user-select: none; }

/* ---------------- Barre de réservation (téléphone) ---------------- */
.barre-mobile { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 44; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 56px; padding: 8px 8px 8px 16px;
  background: var(--c-texte); color: #fff; font-size: 14px; translate: 0 140%; transition: translate .45s var(--courbe); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); }
.barre-mobile.est-visible { translate: 0 0; }
.barre-mobile-cta { padding: 12px 14px; background: var(--c-accent); font-weight: 600; white-space: nowrap; }
@media (min-width: 900px) { .barre-mobile { display: none; } }
@media (max-width: 899px) { .pied { padding-bottom: 76px; } }

/* ---------------- Garde-fous téléphone ---------------- */
.champ { min-width: 0; max-width: 100%; }
input[type="date"].champ { -webkit-appearance: none; appearance: none; display: block; width: 100%; }
.resa-champs > *, .final-grille > *, .final-ligne > *, .dodo-grille > *, .chalet-grille > *, .coin-grille > *, .avis-grille > *, .faq-grille > * { min-width: 0; }
@media (max-width: 480px) {
  .entete-ligne { gap: 10px; }
  .logo-lieu { display: none; }
  .logo-pic { width: 28px; grid-row: auto; }
  .entete-cta { padding: 12px 14px; gap: 8px; }
}
html, body { overflow-x: clip; }
main, .pied, section { overflow-x: clip; }
