/* ═══════════════════════════════════════════════════════════
   Altitude 770 — Habillage de Noël
   S'active tout seul du 1er novembre au 6 janvier (classe « noel » sur <html>).
   Aperçu forcé : ?noel=1 · désactivé : ?noel=0
═══════════════════════════════════════════════════════════ */
html:not(.noel) [data-noel]{display:none!important}
html.noel [data-hors-noel]{display:none!important}

html.noel{
  --noel:#b3262e;--noel-hi:#d8434b;--noel-deep:#8a1a21;--sapin:#1f4f37;--neige:#fbfaf7;
}

/* ── Couleurs : rouge de Noël pour les actions, or et sapin en accents ── */
html.noel .btn-green{background:var(--noel);box-shadow:0 8px 24px -10px rgba(179,38,46,.85)}
html.noel .btn-green:hover{background:var(--noel-deep)}
html.noel .eyebrow{color:var(--noel)}
html.noel h2.title em{color:var(--noel)}
html.noel .dark .eyebrow,html.noel .hero .eyebrow,html.noel .parallax .eyebrow{color:var(--gold-hi)}
html.noel .dark h2.title em{color:var(--gold-hi)}
html.noel .page-hero h1 em{color:#f0d9a0}
html.noel .stamp{background:var(--noel)}
html.noel .step::before{background:var(--noel)}

/* ── Guirlande lumineuse sous le menu ── */
html.noel .nav::after{content:"";position:absolute;left:0;right:0;bottom:-11px;height:16px;pointer-events:none;
  background:
    radial-gradient(circle at 50% 70%,#ffd36b 0 3.4px,transparent 4.2px) 0 0/72px 16px repeat-x,
    radial-gradient(circle at 50% 70%,#ff5a5f 0 3.4px,transparent 4.2px) 24px 0/72px 16px repeat-x,
    radial-gradient(circle at 50% 70%,#7fd18b 0 3.4px,transparent 4.2px) 48px 0/72px 16px repeat-x,
    radial-gradient(ellipse 40px 9px at 50% 0,transparent 8px,rgba(255,255,255,.35) 8.6px,transparent 9.6px) 0 -2px/24px 16px repeat-x;
  filter:drop-shadow(0 0 4px rgba(255,214,120,.65));animation:clignote 2.6s ease-in-out infinite}
@keyframes clignote{0%,100%{opacity:1}50%{opacity:.55}}

/* ── Neige qui tombe (canvas) + congère en bas des bandeaux ── */
.neige{position:absolute;inset:0;z-index:2;pointer-events:none;width:100%;height:100%}
.congere{position:absolute;left:0;right:0;bottom:-1px;height:46px;z-index:3;pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 38C90 18 170 44 260 30s170-26 260-4 180 24 280 6 200-30 300-8 220 24 340 4v34H0Z' fill='%23f6f3ec'/%3E%3Cpath d='M0 46c120-14 220 8 330-2s200-20 320-2 220 18 330 2 300-16 460 6v10H0Z' fill='%23ffffff' opacity='.7'/%3E%3C/svg%3E") bottom/100% 100% no-repeat}
.hero .hero-in{z-index:4}
.hero .hero-dots{z-index:5;bottom:120px}
.page-hero .wrap{z-index:4}

/* ── Héros de Noël : l'appartement d'abord, puis la neige (ciblé par photo d'origine) ── */
html.noel .hero .slide[style*="vue-depuis-le-lit"]{background-image:url(img/noel-studio-lit-1080.webp)!important}
html.noel .hero .slide[style*="studio-lit"]{background-image:url(img/noel-studio-sejour-1080.webp)!important}
html.noel .hero .slide[style*="vue-ete"]{background-image:url(img/vue-hiver-1202.webp)!important}
html.noel .hero .slide[style*="studio-sejour"]{background-image:url(img/vue-hivernale-1280.webp)!important}
.hero .eyebrow .flocon{display:inline-block;width:14px;height:14px;margin-right:2px;vertical-align:-1px}

/* ── Section « Noël à Gérardmer » (accueil) ── */
.noel-home{position:relative;overflow:hidden;background:linear-gradient(180deg,#14261d 0%,#0f1d16 100%);color:#e6ece6;padding:110px 0 120px}
.noel-home::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 15% 0%,rgba(216,67,75,.18),transparent 55%),radial-gradient(ellipse at 90% 100%,rgba(201,169,98,.16),transparent 55%);pointer-events:none}
.noel-home .wrap{position:relative;z-index:4}
.noel-home .head-c .eyebrow{color:var(--gold-hi)}
.noel-home h2.title{color:#fff}html.noel .noel-home h2.title em{color:#f0d9a0}
.noel-home .lead{color:#b9c4bc}
.noel-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:22px;align-items:stretch}
.noel-grid>*{min-width:0}
.noel-photo{position:relative;border-radius:18px;overflow:hidden;min-height:440px;box-shadow:0 30px 60px -30px rgba(0,0,0,.6)}
.noel-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.noel-photo figcaption{position:absolute;left:16px;bottom:16px;right:16px;font-size:.82rem;color:#fff;background:rgba(10,20,15,.55);backdrop-filter:blur(6px);padding:8px 12px;border-radius:10px}
.noel-idees{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.idee{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:22px;transition:transform .3s var(--ease),background .3s}
.idee:hover{transform:translateY(-3px);background:rgba(255,255,255,.08)}
.idee .ic{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:rgba(216,67,75,.16);color:#ff9a9f;margin-bottom:14px}
.idee:nth-child(2) .ic{background:rgba(201,169,98,.16);color:var(--gold-hi)}
.idee:nth-child(3) .ic{background:rgba(127,209,139,.14);color:#9fe0a8}
.idee:nth-child(4) .ic{background:rgba(255,255,255,.1);color:#fff}
.idee .ic svg{width:22px;height:22px}
.idee h3{font-family:var(--serif);font-size:1.4rem;font-weight:600;color:#fff;line-height:1.15;margin-bottom:6px}
.idee p{font-size:.92rem;color:#b9c4bc}
.idee a{color:var(--gold-hi);font-weight:600;text-decoration:none;font-size:.88rem}
.noel-dates{margin-top:30px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;padding:24px 28px;border-radius:16px;background:linear-gradient(90deg,rgba(179,38,46,.28),rgba(179,38,46,.08));border:1px solid rgba(216,67,75,.35)}
.noel-dates p{margin:0;color:#f3e9e9}
.noel-dates b{color:#fff}
.noel-dates .row{display:flex;gap:12px;flex-wrap:wrap}
.btn-neige{background:#fff;color:var(--noel-deep)}
.btn-neige:hover{background:#f0d9a0;transform:translateY(-2px)}

/* ── Bandeau de Noël (carte cadeau, réserver) ── */
.noel-bandeau{display:flex;gap:18px;align-items:center;max-width:920px;margin:0 auto 46px;padding:22px 26px;border-radius:16px;background:linear-gradient(90deg,#fff4f2,#fffaf0);border:1px solid #f0cfc9}
.noel-bandeau .ic{flex:none;width:52px;height:52px;border-radius:14px;display:grid;place-items:center;background:var(--noel);color:#fff}
.noel-bandeau .ic svg{width:26px;height:26px}
.noel-bandeau h3{font-family:var(--serif);font-size:1.45rem;color:var(--ink);line-height:1.15;margin-bottom:2px}
.noel-bandeau p{margin:0;color:var(--muted);font-size:.95rem}

/* ── Bandeau final « cta-band » ── */
html.noel .cta-band{position:relative;background:linear-gradient(180deg,#14261d,#0f1d16)}
html.noel .cta-band h2 em{color:#f0d9a0}

/* ── Pied de page : neige posée ── */
html.noel footer{position:relative}
html.noel footer::before{content:"";position:absolute;left:0;right:0;top:-1px;height:22px;transform:scaleY(-1);
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 22C140 8 260 30 400 18s260-20 400-2 300 18 420 2 160-10 220-4V40H0Z' fill='%23ffffff' opacity='.9'/%3E%3C/svg%3E") bottom/100% 100% no-repeat}

/* Pastille de Noël */
.jeu-pill.noel-pill .g{background:var(--noel,#b3262e);color:#fff}
.jeu-pill.noel-pill{border-color:rgba(216,67,75,.55)}

@media (max-width:1060px){
  .noel-grid{grid-template-columns:1fr}
  .noel-photo{min-height:300px}
}
@media (max-width:760px){
  .noel-home{padding:76px 0 86px}
  .noel-idees{grid-template-columns:1fr}
  .noel-dates{padding:20px}
  .noel-dates .row .btn{width:100%}
  .noel-bandeau{flex-direction:column;align-items:flex-start}
  .congere{height:28px}
  .hero .hero-dots{bottom:100px}
  html.noel .nav::after{bottom:-9px;transform:scale(.85);transform-origin:top}
}
@media (prefers-reduced-motion:reduce){html.noel .nav::after{animation:none}.neige{display:none}}

/* ── Bandeaux des pages : photos d'hiver pendant les fêtes ── */
html.noel .ph-bg{background-image:url(img/vue-hiver-1202.webp)!important}
html.noel .ph-bg[style*="balcon"],html.noel .ph-bg[style*="vue-ete"]{background-image:url(img/vue-hivernale-1280.webp)!important}
html.noel .ph-bg[style*="lac-gerardmer"],html.noel .ph-bg[style*="sentiers"]{background-image:url(img/pistes-mauselaine-1280.webp)!important}
html.noel .ph-bg[style*="studio"],html.noel .ph-bg[style*="coin-repas"]{background-image:url(img/noel-studio-lit-1080.webp)!important}
