/* Site de présentation de l'appartement 405 (hameau-ecrins-405.bmlab.fr). Charte « Balisage », polices hébergées sur le serveur. */
@font-face { font-family: 'Barlow'; font-weight: 400; font-style: normal; font-display: swap; src: url(/polices/barlow-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-weight: 400; font-style: normal; font-display: swap; src: url(/polices/barlow-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-weight: 500; font-style: normal; font-display: swap; src: url(/polices/barlow-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-weight: 500; font-style: normal; font-display: swap; src: url(/polices/barlow-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-weight: 600; font-style: normal; font-display: swap; src: url(/polices/barlow-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-weight: 600; font-style: normal; font-display: swap; src: url(/polices/barlow-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-style: normal; font-display: swap; src: url(/polices/barlow-condensed-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-style: normal; font-display: swap; src: url(/polices/barlow-condensed-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-style: normal; font-display: swap; src: url(/polices/barlow-condensed-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-style: normal; font-display: swap; src: url(/polices/barlow-condensed-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Mise en page : grande photo d'ouverture avec la plaque jaune de balisage, puis des sections en bandes alternées (neige / brume), photos en grilles qui passent à une colonne sur téléphone. */
:root {
  --neige: #f7f8f6;
  --brume: #e8ede9;
  --papier: #ffffff;
  --ardoise: #1e2a31;
  --ardoise-douce: #55646b;
  --trait: #d3dbd6;
  --pin: #2c5a47;
  --meleze: #b4612a;
  --balise: #f2c230;
  --sur-balise: #1e2a31;
  --voile: rgba(16, 24, 29, .62);
  --titre: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --texte: "Barlow", "Segoe UI", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --neige: #12191d; --brume: #182226; --papier: #1d282d; --ardoise: #e5ebe7; --ardoise-douce: #a2b1b6;
    --trait: #2e3c42; --pin: #7cc4a3; --meleze: #e39a62; --voile: rgba(6, 10, 12, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --neige: #12191d; --brume: #182226; --papier: #1d282d; --ardoise: #e5ebe7; --ardoise-douce: #a2b1b6;
  --trait: #2e3c42; --pin: #7cc4a3; --meleze: #e39a62; --voile: rgba(6, 10, 12, .7);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
img { max-width: 100%; height: auto; }
body { background: var(--neige); color: var(--ardoise); font-family: var(--texte); font-size: 1.02rem; line-height: 1.6; }
h1, h2, h3 { font-family: var(--titre); line-height: 1.05; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }
a { color: var(--pin); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--balise); outline-offset: 2px; }
.cadre { max-width: 72rem; margin: 0 auto; padding-inline: 1.1rem; }
.bande { padding-block: 3.2rem; }
.bande.brume { background: var(--brume); }
.pile { display: grid; gap: 1rem; }
.etiquette { font-family: var(--titre); text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; color: var(--meleze); }

/* En-tête : nom, menu des sections et choix de la langue (menu déroulant), sur une seule ligne dans les 8 langues */
.haut { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--ardoise); color: var(--neige); }
.haut .cadre { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .5rem; }
.marque { font: 700 1.15rem var(--titre); letter-spacing: .03em; text-transform: uppercase; color: inherit; text-decoration: none; white-space: nowrap; }
nav.menu { display: flex; gap: 1.1rem; font-weight: 600; font-size: .92rem; white-space: nowrap; overflow: hidden; }
nav.menu a { color: inherit; text-decoration: none; opacity: .9; }
nav.menu a:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 860px) { nav.menu { display: none; } }
.langues { position: relative; }
.langues summary { list-style: none; cursor: pointer; font: 600 .88rem var(--texte); letter-spacing: .04em; padding: .3rem .65rem; border: 1px solid rgba(255,255,255,.45); border-radius: 4px; white-space: nowrap; }
.langues summary::-webkit-details-marker { display: none; }
.langues summary::after { content: " ▾"; }
.langues ul { position: absolute; right: 0; top: calc(100% + .35rem); margin: 0; padding: .3rem; list-style: none; background: var(--papier); color: var(--ardoise); border: 1px solid var(--trait); border-radius: 6px; box-shadow: 0 8px 22px rgba(0,0,0,.18); min-width: 11rem; }
.langues li a { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem .6rem; border-radius: 4px; color: inherit; text-decoration: none; }
.langues li a:hover, .langues li a[aria-current="true"] { background: var(--brume); }
.langues li a span { color: var(--ardoise-douce); font-size: .85rem; }

/* Ouverture */
.ouverture { position: relative; color: #fff; background: #26343a url("/img/vue-balcon-ete-1600.jpg?v=686b0b74") center 40% / cover no-repeat; }
.ouverture::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,24,29,.15) 0%, var(--voile) 70%); }
.ouverture .cadre { position: relative; padding-block: 5rem 2.6rem; display: grid; gap: 1.1rem; }
.plaque { justify-self: start; display: inline-flex; align-items: center; gap: .6rem; background: var(--balise); color: var(--sur-balise); padding: .5rem .9rem .45rem; border-radius: 3px; box-shadow: 0 2px 0 rgba(0,0,0,.25); font-family: var(--titre); text-transform: uppercase; line-height: 1; }
.plaque svg { width: .9rem; height: .9rem; flex: 0 0 auto; }
.plaque b { display: block; font-size: 1.15rem; letter-spacing: .03em; }
.plaque small { display: block; font-size: .8rem; letter-spacing: .08em; margin-top: .15rem; }
.ouverture h1 { font-size: clamp(2.8rem, 9vw, 5rem); letter-spacing: .01em; }
.ouverture .accroche { font-size: clamp(1.05rem, 2.4vw, 1.3rem); max-width: 40rem; }
.puces { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0; list-style: none; }
.puces li { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: .2rem .75rem; font-size: .92rem; backdrop-filter: blur(2px); }
.classement { font-size: .9rem; opacity: .92; display: flex; align-items: center; gap: .45rem; }
.classement::before { content: "★"; color: var(--balise); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .3rem; }
.bouton { display: inline-flex; align-items: center; gap: .5rem; font: 700 1.05rem var(--titre); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; padding: .75rem 1.2rem; border-radius: 4px; }
.bouton.plein { background: var(--balise); color: var(--sur-balise); }
.bouton.plein:hover { filter: brightness(1.05); }
.bouton.creux { border: 2px solid currentColor; color: #fff; }
.bouton.vert { background: var(--pin); color: var(--neige); }

/* Atouts */
.atouts { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 1.4rem 1.6rem; }
.atout { display: grid; grid-template-columns: 2.6rem 1fr; gap: .2rem .8rem; align-items: start; }
.atout svg { grid-row: span 2; width: 2.4rem; height: 2.4rem; color: var(--meleze); }
.atout h3 { font-size: 1.2rem; }
.atout p { color: var(--ardoise-douce); }

/* Appartement */
.deux-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 2rem; align-items: start; }
.galerie { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6rem; }
.galerie figure { margin: 0; position: relative; overflow: hidden; border-radius: 6px; background: var(--brume); grid-column: span 2; aspect-ratio: 4 / 3; }
.galerie figure.large { grid-column: span 4; grid-row: span 2; aspect-ratio: auto; }
.galerie img { width: 100%; height: 100%; object-fit: cover; display: block; }
.galerie figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .7rem .5rem; color: #fff; font-size: .88rem; font-weight: 500; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
@media (max-width: 640px) {
  .galerie { grid-template-columns: 1fr 1fr; }
  .galerie figure, .galerie figure.large { grid-column: span 1; grid-row: auto; aspect-ratio: 4 / 3; }
  .galerie figure.large { grid-column: span 2; }
}
.liste { margin: 0; padding: 0; list-style: none; display: grid; gap: .55rem; }
.liste li { display: grid; grid-template-columns: .9rem 1fr; gap: .6rem; }
.liste li::before { content: ""; width: .55rem; height: .55rem; margin-top: .55rem; background: var(--meleze); transform: rotate(45deg); }

/* Résidence */
.photo-texte { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 2rem; align-items: center; }
.photo-texte img { width: 100%; border-radius: 6px; display: block; }

/* Guide */
.telephones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.telephone { margin: 0; display: grid; gap: .55rem; justify-items: center; text-align: center; font-size: .9rem; color: var(--ardoise-douce); }
.telephone div { border: 7px solid var(--ardoise); border-radius: 22px; overflow: hidden; background: var(--ardoise); max-width: 15rem; width: 100%; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.telephone img { display: block; width: 100%; }
@media (max-width: 640px) { .telephones { grid-template-columns: 1fr 1fr; } .telephone:last-child { display: none; } }
.codes-langues { display: flex; flex-wrap: wrap; gap: .4rem; }
.codes-langues span { font: 600 .85rem var(--texte); padding: .15rem .55rem; border: 1px solid var(--trait); border-radius: 4px; background: var(--papier); }

/* Saisons */
.saisons { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.1rem; }
.saison { background: var(--papier); border: 1px solid var(--trait); border-radius: 6px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.saison img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.saison div { padding: .9rem 1rem 1.1rem; display: grid; gap: .35rem; align-content: start; }
.saison p { color: var(--ardoise-douce); font-size: .97rem; }

/* Tarifs */
.tarifs { background: var(--papier); border: 1px solid var(--trait); border-radius: 8px; padding: 1.6rem; display: grid; gap: 1rem; }
.tarifs .note { font-size: .9rem; color: var(--ardoise-douce); }
.tel { font-weight: 600; user-select: all; }

/* Déjà réservé */
.deja { background: var(--pin); color: var(--neige); }
.deja .cadre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.8rem; }
.deja a { color: var(--neige); font-weight: 700; }

footer { padding-block: 1.6rem 2.4rem; font-size: .88rem; color: var(--ardoise-douce); }
footer .cadre { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.4rem; }
footer a { color: inherit; }
@media (prefers-reduced-motion: no-preference) { .bouton { transition: filter .15s; } }

.intro-seo { color: var(--ardoise-douce); max-width: 52rem; }
.legal { max-width: 46rem; display: grid; gap: 1.4rem; }
.legal h2 { font-size: 1.5rem; }
.legal section { display: grid; gap: .4rem; }
.galerie picture, .saison picture, .photo-texte picture, .telephone picture { display: contents; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Anciennement en attributs style="" : déplacés ici pour une CSP sans 'unsafe-inline' */
.ecart-16 { gap: 1.6rem; }
.ecart-14 { gap: 1.4rem; }
.largeur-texte { max-width: 44rem; }
.gras { font-weight: 600; }
.titre-moyen { font-size: 1.4rem; }
.titre-legal { font-size: 2.4rem; }
