/* Variante luxe de la proposition A — se charge après pages.css, uniquement avec build.py --luxe
   « Le palace » : fond noir profond, or champagne en filets, grandes capitales espacées, photos en vedette.
   Aucune décoration dessinée : la saison ne change que la nuance du fond et de l'or ; Noël garde ses vraies photographies. */

/* ---------- Palette : sombre pour toutes les ambiances ---------- */
html.luxe, html.luxe[data-theme] { color-scheme: dark;
  --bg: #0e0f11; --card: #17181b; --ink: #f3ede2; --muted: #b9b2a4; --line: #35332e; --soft: #131417;
  --accent: #c9a66b; --accent-ink: #111111; --accent-2: #d8bd8a;
  --header-bg: #0a0b0c; --header-ink: #f3ede2;
  --hero-bg: #0a0b0c; --hero-ink: #f6efe0; --hero-muted: #c6bfb0; --hero-accent: #d8bd8a;
  --feature-bg: #15161a; --feature-ink: #f3ede2; --feature-muted: #c6bfb0;
  --banner-bg: #15161a; --banner-ink: #e9dcc0; --footer: #070809;
  --event-metal: #c9a66b; --event-haze: transparent; --radius: 0px; --amb: none;
  --map-sortie: #d8bd8a; --map-resto: #9fc3da; }
html.luxe[data-theme="printemps-2"], html.luxe[data-theme="ete-2"], html.luxe[data-theme="printemps"], html.luxe[data-theme="ete"] { --bg: #0b1113; --card: #141b1e; --soft: #0f1619; --line: #2c3a3e; --accent: #cdb47c; --feature-bg: #10191c; --banner-bg: #10191c; }
html.luxe[data-theme="paques-2"] { --bg: #0e1210; --card: #171c19; --soft: #121614; --line: #323a33; --accent: #cfbd8c; --feature-bg: #141a16; --banner-bg: #141a16; }
html.luxe[data-theme="automne-hiver"] { --bg: #120f0d; --card: #1c1815; --soft: #171310; --line: #3b332c; --accent: #c99a62; --accent-2: #dcb685; --feature-bg: #1b1512; --banner-bg: #1b1512; }
html.luxe[data-theme="halloween-2"], html.luxe[data-theme="halloween"] { --bg: #110e0c; --card: #1b1714; --soft: #15110f; --line: #3a3029; --accent: #d39a5a; --accent-2: #e2b47f; --feature-bg: #1a1411; --banner-bg: #1a1411; }
html.luxe[data-theme="noel-2"], html.luxe[data-theme="noel"] { --bg: #0b1310; --card: #141e1a; --soft: #0f1815; --line: #2f3d36; --accent: #d2b274; --accent-2: #e2c890; --header-bg: #0a0b0c; --feature-bg: #3a0f1a; --banner-bg: #3a0f1a; --footer: #070c0a;
  --amb: url("decor/noel-photo-or.webp"); }
@media (max-width: 760px) { html.luxe[data-theme="noel-2"] { --amb: url("decor/noel-photo-or-700.webp"); } }

html.luxe body { background-color: var(--bg); background-image: none; color: var(--ink); font-weight: 300; }
html.luxe[data-theme="noel-2"] body { background-image: linear-gradient(rgba(11, 19, 16, .86), var(--bg) 380px), var(--amb); background-size: auto, 100% auto; background-position: 0 0, center top; background-repeat: no-repeat; }

/* ---------- Aucune décoration dessinée ---------- */
html.luxe .season-art, html.luxe .season-tile-decor, html.luxe .site-footer::before, html.luxe .season-nav::after { display: none !important; }
html.luxe:not([data-theme="noel-2"]) .fete-tableau::before, html.luxe:not([data-theme="noel-2"]) .house-page .gite-head::before { display: none !important; }
html.luxe .fete-tableau span { color: var(--accent); }

/* ---------- Typographie : capitales fines et espacées, grands titres légers ---------- */
html.luxe h1, html.luxe h2, html.luxe h3 { font-weight: 500; letter-spacing: .005em; }
html.luxe h1 em, html.luxe h2 em { color: var(--accent); }
html.luxe .eyebrow { color: var(--accent); letter-spacing: .3em; font-size: .7rem; font-weight: 400; }
html.luxe .eyebrow::after { content: ""; display: block; width: 42px; height: 1px; margin: 12px 0 0; background: var(--accent); opacity: .7; }
html.luxe .home-intro-head .eyebrow::after, html.luxe .book-band .eyebrow::after { margin-left: auto; margin-right: auto; }
html.luxe .gite-head .eyebrow::after, html.luxe .split .eyebrow::after, html.luxe .region-copy .eyebrow::after { margin-left: 0; }
html.luxe .lead { color: var(--muted); }

/* ---------- En-tête et barre des ambiances ---------- */
html.luxe .site-header { background: var(--header-bg); border-bottom: 1px solid rgba(201, 166, 107, .38); box-shadow: none; }
html.luxe .logo-emblem { border-color: var(--accent); color: var(--accent); }
html.luxe .logo-name { letter-spacing: .02em; }
html.luxe .nav a { letter-spacing: .2em; font-size: .72rem; font-weight: 400; }
html.luxe .nav-toggle { border-color: rgba(201, 166, 107, .6); background: transparent; color: var(--ink); letter-spacing: .16em; text-transform: uppercase; font-size: .74rem; }
html.luxe .season-nav { background: transparent; border-bottom: 1px solid var(--line); }
html.luxe .season-nav .theme-variant[aria-pressed="true"] { background: transparent; color: var(--accent); box-shadow: inset 0 -1px 0 var(--accent); }

/* ---------- Boutons : filet doré, capitales ; le bouton principal est plein or ---------- */
html.luxe .btn { border-radius: 0; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); text-transform: uppercase; letter-spacing: .18em; font-size: .74rem; font-weight: 500; box-shadow: none; transition: background .3s, color .3s; }
html.luxe .btn:hover { background: transparent; color: var(--accent); }
html.luxe .btn.ghost { background: rgba(10, 11, 12, .72); color: var(--ink); font-weight: 400; }
html.luxe .btn.ghost:hover { background: var(--accent); color: var(--accent-ink); }

/* ---------- Accueil : les photos des maisons en vedette, cadre fin ---------- */
html.luxe .home-intro-head::before { display: none !important; }
html.luxe .home-intro-head { padding: 10px 0 12px; margin-bottom: 10px; }
html.luxe .home-intro-head h1 { color: var(--ink); }
html.luxe .home-intro-head h1 em, html.luxe .home-intro-head .eyebrow { color: var(--accent); }
html.luxe .home-house-label strong, html.luxe .home-house-label b { letter-spacing: .01em; }
html.luxe .home-page #groupes { background: var(--feature-bg); }
html.luxe[data-theme="noel-2"] .home-page #groupes { background: linear-gradient(rgba(58, 15, 26, .86), rgba(30, 8, 14, .94)), url("decor/noel-photo-rouge.webp") center / cover; }
html.luxe .home-page #reserver.book-band { background: var(--feature-bg); border-top: 1px solid rgba(201, 166, 107, .38); }
html.luxe[data-theme="noel-2"] .home-page #reserver.book-band { background: linear-gradient(rgba(8, 10, 9, .62), rgba(8, 10, 9, .8)), var(--amb) center / cover; }

/* ---------- Cartes, bandeaux, filets ---------- */
html.luxe .card, html.luxe .resa-book, html.luxe .houses-map-box, html.luxe .season-dialog-box { background: var(--card); border: 1px solid var(--line); box-shadow: none; border-radius: 0; }
html.luxe .site-footer { border-top: 1px solid rgba(201, 166, 107, .38); }
html.luxe .house-rules strong, html.luxe .rules-compact strong, html.luxe .gite-rules strong { color: #f0a79c; }
html.luxe .house-rules svg, html.luxe .rules-compact svg, html.luxe .gite-rules svg { color: #e89488; }
html.luxe .house-rules li { border-color: #8f5a52; }
html.luxe ::selection { background: var(--accent); color: var(--accent-ink); }

@media (max-width: 760px) {
  html.luxe .eyebrow { letter-spacing: .2em; font-size: .64rem; }
  html.luxe .btn { letter-spacing: .12em; font-size: .72rem; }
}
/* prestation de fête : pas d'illustration dessinée (Noël garde sa photo) */
html.luxe:not([data-theme="noel-2"]) .opt-fete::after { display: none; }
html.luxe .opt-fete, html.luxe .home-page .book-band .opt-fete { border-color: rgba(201, 166, 107, .6); }
html.luxe .home-page .book-band .opt-fete :is(small, em) { color: var(--accent); }

/* ---------- Fenêtre « Posez vos questions » ---------- */
html.luxe .contact-dialog { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 18px; background: rgba(6, 7, 8, .74); }
html.luxe .contact-dialog[hidden] { display: none; }
html.luxe body.contact-ouvert { overflow: hidden; }
html.luxe .contact-box { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 36px); overflow-y: auto; padding: clamp(22px, 4vw, 40px); background: var(--card); color: var(--ink); border: 1px solid rgba(201, 166, 107, .5); }
html.luxe .contact-close { position: absolute; top: 6px; right: 8px; width: 46px; height: 46px; border: 0; background: none; color: var(--ink); font: 300 2rem/1 var(--sans); cursor: pointer; }
html.luxe .contact-box .eyebrow { margin-bottom: 10px; }
html.luxe .contact-box h2 { margin: 0 40px 10px 0; font-size: clamp(1.6rem, 3.4vw, 2.2rem); line-height: 1.12; }
html.luxe .contact-box h2 em { display: block; font-style: italic; color: var(--accent); }
html.luxe .contact-box .lead { margin: 0 0 18px; font-size: 1rem; line-height: 1.5; color: var(--muted); }
html.luxe .contact-box form { display: grid; gap: 14px; }
html.luxe .contact-box label { display: grid; gap: 6px; font: 500 .7rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
html.luxe .contact-box input, html.luxe .contact-box textarea { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid var(--line); border-radius: 0; background: rgba(255, 255, 255, .04); color: var(--ink); font: 400 1rem/1.45 var(--sans); letter-spacing: 0; text-transform: none; }
html.luxe .contact-box input:focus, html.luxe .contact-box textarea:focus { outline: none; border-color: var(--accent); }
html.luxe .contact-box textarea { min-height: 120px; resize: vertical; }
html.luxe .contact-box .btn { width: 100%; justify-content: center; }
html.luxe .contact-piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
html.luxe .contact-etat { margin: 0; min-height: 1.3em; font-size: .92rem; color: var(--accent); }
html.luxe .contact-note { margin: 0; font-size: .82rem; line-height: 1.45; color: var(--muted); }
html.luxe .contact-note a { color: inherit; }
html.luxe .contact-merci { display: grid; gap: 12px; justify-items: start; padding: 8px 0; }
html.luxe .contact-merci[hidden] { display: none; }
html.luxe .contact-merci h3 { margin: 0; font: 500 1.5rem/1.2 var(--serif); }
html.luxe .contact-merci p { margin: 0; color: var(--muted); }
html.luxe .foot-ecrire, html.luxe .book-ecrire { padding: 4px 0; border: 0; border-bottom: 1px solid currentColor; background: none; color: inherit; font: 400 .92rem/1.3 var(--sans); cursor: pointer; }
html.luxe .foot-contact { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
html.luxe .book-ecrire { color: var(--accent); }
@media (max-width: 760px) {
  html.luxe .contact-dialog { place-items: end stretch; padding: 0; }
  html.luxe .contact-box { width: 100%; max-height: 94dvh; padding: 22px 18px calc(18px + env(safe-area-inset-bottom)); border-width: 1px 0 0; }
  html.luxe .contact-box form { gap: 12px; }
  html.luxe .contact-box textarea { min-height: 104px; }
}

/* ---------- Menu sur smartphone : la poignée pour le refermer ---------- */
html.luxe .nav-poignee { display: none; }
@media (max-width: 900px) {
  /* collée au bas du menu ouvert, même quand le menu est plus haut que l'écran et défile */
  html.luxe .nav-poignee { display: block; position: sticky; bottom: -20px; z-index: 2; grid-column: 1 / -1; width: calc(100% + 40px); height: 44px; min-height: 44px; flex: 0 0 44px; box-sizing: border-box; margin: 6px -20px -20px; padding: 0; border: 0; background: var(--bg); box-shadow: 0 -10px 14px -10px rgba(0, 0, 0, .5); cursor: pointer; touch-action: none; }
  html.luxe .nav-poignee i { display: block; width: 46px; height: 4px; margin: 14px auto 0; border-radius: 999px; background: currentColor; opacity: .45; }
  html.luxe .nav-poignee:active i { opacity: .8; }
}

/* ---------- Bouton de langue (FR / EN) : visible mais discret, dans l'en-tête ---------- */
html.luxe .lang-switch { order: 3; flex: none; display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(201, 166, 107, .55); border-radius: 50%; color: var(--header-ink, var(--ink)); font: 500 .68rem/1 var(--sans); letter-spacing: .08em; text-decoration: none; transition: background .25s, color .25s; }
html.luxe .lang-switch:hover { background: var(--accent); color: var(--accent-ink); }
@media (max-width: 900px) { html.luxe .lang-switch { order: 0; margin-left: auto; width: 40px; height: 40px; } }
/* en-tête sur ordinateur : menu resserré pour loger le bouton de langue sans déborder (les libellés anglais sont plus longs) */
@media (min-width: 901px) {
  html.luxe .header-in { gap: 12px; }
  html.luxe .nav { flex: 0 1 auto; min-width: 0; gap: 10px; }
  html.luxe .nav a:not(.btn) { font-size: .6rem; letter-spacing: .04em; white-space: nowrap; }
  html.luxe .nav .nav-ambiance select { max-width: 84px; font-size: .7rem; }
  html.luxe .nav .btn { padding-left: 14px; padding-right: 14px; white-space: nowrap; }
  html.luxe .lang-switch { width: 34px; height: 34px; }
}
@media (min-width: 901px) and (max-width: 1280px) {
  html.luxe .nav { gap: 7px; }
  html.luxe .nav a:not(.btn) { font-size: .54rem; letter-spacing: 0; }
  html.luxe .nav .nav-ambiance select { max-width: 66px; }
  html.luxe .logo-name small { display: none; }
}

/* ---------- Fenêtre de contact : le bouton d'appel, bien visible, avant le formulaire ---------- */
html.luxe .contact-box .contact-appel { width: 100%; justify-content: center; min-height: 56px; font-size: .9rem; letter-spacing: .1em; }
html.luxe .contact-ou { display: flex; align-items: center; gap: 14px; margin: 16px 0 12px; font: 500 .68rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
html.luxe .contact-ou::before, html.luxe .contact-ou::after { content: ""; flex: 1; height: 1px; background: var(--line); }
html.luxe .contact-box form .btn { background: transparent; color: var(--ink); border-color: var(--accent); }
html.luxe .contact-box form .btn:hover { background: var(--accent); color: var(--accent-ink); }
html.luxe .mobile-book button.btn { font-family: var(--sans); cursor: pointer; }

/* ---------- Accueil sur écran tactile : le premier geste doit faire défiler la page ----------
   Le descriptif caché de chaque vignette était une zone défilable posée sur la photo : sur Android, elle captait le premier geste
   (léger effet d'étirement, puis retour). Elle ne défile plus que lorsqu'elle est ouverte. Et pas de zoom de photo au toucher. */
@media (hover: none), (pointer: coarse) {
  html.luxe .home-house-more { overflow: hidden; pointer-events: none; }
  html.luxe .home-house.is-open .home-house-more, html.luxe .home-house:focus-visible .home-house-more, html.luxe .home-house:has(:focus-visible) .home-house-more { overflow-y: auto; pointer-events: auto; overscroll-behavior: auto; }
  html.luxe .home-house:hover img, html.luxe .home-house:focus-visible img { transform: none; filter: none; }
}

/* Calendriers de disponibilités (widget Beds24) */
html.luxe .cal-widget { display: flex; justify-content: center; padding: 8px 0; min-height: 280px; }
html.luxe .booking-cal { padding: 16px 12px; }
html.luxe .cal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 40px; }
html.luxe .cal-card { background: var(--card); border: 1px solid var(--line); padding: 20px 16px; }
html.luxe .cal-card h3 { margin: 0 0 12px; font-size: 1.3rem; text-align: center; }
html.luxe .cal-card h3 a { color: var(--ink); text-decoration: none; }
html.luxe .cal-note { text-align: center; color: var(--muted); margin: 16px 0 0; }

/* Fiche maison sur téléphone : le calendrier de réservation passe avant « Bon à savoir »,
   pour que le bouton « Réserver » (#reserver) l'affiche tout de suite. L'ordre sur ordinateur ne change pas. */
@media (max-width: 760px) {
  html.luxe body.slides #reserver.resa-duo { display: flex; flex-direction: column; }
  html.luxe #reserver.resa-duo > .resa-book { order: -1; }
}
html.luxe body.slides.house-page .resa-book .booking-cal { display: block; flex: 0 0 auto; max-height: none; }

/* Demande de séjour (fenêtre de contact ouverte depuis un calendrier) */
html.luxe .contact-box [hidden] { display: none !important; }
html.luxe .contact-sejour { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
html.luxe .contact-sejour .contact-voyageurs { grid-column: 1 / -1; }
html.luxe .contact-sejour input[type="date"] { min-height: 48px; color-scheme: dark; }
html.luxe .contact-box h2 em[data-sejour-maison] { display: block; }
html.luxe .cal-note { text-align: center; color: var(--muted); margin: 0 0 14px; font-size: .95rem; line-height: 1.5; }

/* ---------- Accueil : rubrique « Vos séjours » (présentation en toutes lettres, occasions, accès) ---------- */
html.luxe .home-sejours .wrap { max-width: 900px; }
html.luxe .home-sejours h2 em { font-style: italic; color: var(--accent); }
html.luxe .home-sejours .lead { margin-inline: auto; max-width: 62ch; }
html.luxe .sejours-occasions { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px 0 24px; padding: 0; }
html.luxe .sejours-occasions li { border: 1px solid var(--line); padding: 9px 16px; font: 500 .7rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
html.luxe .sejours-occasions a { color: var(--accent); text-decoration: none; }
html.luxe .sejours-occasions a:hover { text-decoration: underline; text-underline-offset: 4px; }
html.luxe .sejours-acces { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }
@media (max-width: 760px) {
  html.luxe .home-sejours h2 { font-size: clamp(1.55rem, 7vw, 2rem); }
  html.luxe .home-sejours .lead { font-size: .98rem; line-height: 1.55; }
  html.luxe .sejours-occasions { gap: 7px; margin: 18px 0 16px; }
  html.luxe .sejours-occasions li { padding: 7px 11px; font-size: .62rem; letter-spacing: .1em; }
  html.luxe .sejours-acces { font-size: .82rem; }
}
html.luxe .home-sejours .eyebrow::after { margin-inline: auto; }

/* Accueil, écran « Réserver » sur téléphone : le titre tient sur une seule ligne */
@media (max-width: 760px) {
  html.luxe .home-page #reserver .book-band-in > p > strong { font-size: min(1.9rem, calc(6.5vw - 3px)); white-space: nowrap; }
}
