:root{
  --noel-rouge:#9b1d2e;        /* rouge Noël (bordeaux) : remplace le bronze sur fond clair */
  --noel-rouge-fonce:#7a1524;
  --noel-or:#d2ab5f;           /* or chaud : sur fonds sombres et décorations */
  --noel-or-clair:#f0d58f;
  --noel-vert:#164936;         /* vert sapin de la charte (inchangé) */
  --noel-vert-fonce:#0e3326;
  --noel-creme:#f8f5f0;
  --noel-neige-opacite:.85;    /* 0 = pas de neige qui tombe */
}

/* ---------- 2. Couleurs de la charte, version Noël ----------
   Le bronze #B08857 est une couleur globale Elementor/Astra : en la
   redéfinissant, tous les sur-titres, boutons, filets et icônes passent
   au rouge Noël d'un coup, sans toucher à la mise en page. */
body.elementor-kit-6,
body{
  --e-global-color-secondary:var(--noel-rouge);
  --e-global-color-accent:var(--noel-rouge);
  --ast-global-color-1:var(--noel-rouge);
  --ast-global-color-3:var(--noel-rouge);
  --ast-global-color-6:var(--noel-rouge);
}
/* sur l'en-tête et le pied de page (fond noir), on garde un accent lumineux : l'or */
.elementor-location-header,
.elementor-location-footer,
.ast-header-break-point .main-header-bar{
  --e-global-color-secondary:var(--noel-or);
  --e-global-color-accent:var(--noel-or);
  --ast-global-color-1:var(--noel-or);
  --ast-global-color-3:var(--noel-or);
  --ast-global-color-6:var(--noel-or);
}

::selection{ background:var(--noel-rouge); color:#fff; }
/* (pas de barre de défilement colorée : elle change la largeur de la barre
   sur certains navigateurs, donc la largeur de la page) */

/* ---------- 3. Neige qui tombe sur tout le site ----------
   Deux couches fixes (parallaxe), animées uniquement en "transform"
   (calculé par la carte graphique : fluide, sans repeindre la page). */
html::before,
html::after{
  content:"";
  position:fixed;
  left:0; right:0;
  pointer-events:none;
  z-index:99990;                 /* sous l'overlay boule à neige (99999) */
  opacity:var(--noel-neige-opacite);
  will-change:transform;
  background-repeat:repeat;
}
html::before{                    /* petits flocons, lents, lointains */
  top:-320px; height:calc(100vh + 320px);
  background-size:320px 320px;
  background-image:
    radial-gradient(circle at 40px 60px,  #fff 0 1.3px, rgba(160,175,195,.35) 1.8px, transparent 2.4px),
    radial-gradient(circle at 190px 25px, #fff 0 1px,   rgba(160,175,195,.3) 1.5px,  transparent 2px),
    radial-gradient(circle at 280px 140px,#fff 0 1.4px, rgba(160,175,195,.35) 1.9px, transparent 2.5px),
    radial-gradient(circle at 110px 210px,#fff 0 1.1px, rgba(160,175,195,.3) 1.6px,  transparent 2.1px),
    radial-gradient(circle at 230px 280px,#fff 0 1.2px, rgba(160,175,195,.3) 1.7px,  transparent 2.2px);
  animation:noel-neige 26s linear infinite;
  --noel-pas:320px;
}
html::after{                     /* gros flocons, plus rapides, plus proches */
  top:-560px; height:calc(100vh + 560px);
  background-size:560px 560px;
  background-image:
    radial-gradient(circle at 90px 120px, #fff 0 2.2px, rgba(160,175,195,.4) 2.9px, transparent 3.8px),
    radial-gradient(circle at 400px 60px, #fff 0 1.8px, rgba(160,175,195,.35) 2.5px, transparent 3.3px),
    radial-gradient(circle at 300px 330px,#fff 0 2.5px, rgba(160,175,195,.4) 3.2px, transparent 4.2px),
    radial-gradient(circle at 500px 470px,#fff 0 1.9px, rgba(160,175,195,.35) 2.6px, transparent 3.4px);
  animation:noel-neige-gros 17s linear infinite;
}
@keyframes noel-neige     { from{ transform:translate3d(0,0,0); } to{ transform:translate3d(0,320px,0); } }
@keyframes noel-neige-gros{ from{ transform:translate3d(0,0,0); } to{ transform:translate3d(0,560px,0); } }

/* ---------- 4. Guirlande lumineuse sous le menu ----------
   (barre de menu ordinateur, et en-tête mobile) */
.elementor-location-header [data-id="31e4103"]::before,
.elementor-location-header [data-id="31e4103"]::after,
.elementor-location-header [data-id="845e814"]::before,
.elementor-location-header [data-id="845e814"]::after{
  content:"";
  position:absolute;
  top:auto; left:0; right:0; width:auto;   /* annule le placement du calque Elementor (.e-con::before) */
  bottom:-13px; height:18px;
  border:0; border-radius:0; mix-blend-mode:normal; transition:none;
  pointer-events:none;
  z-index:3;
  background-repeat:repeat-x;
  background-size:136px 18px;
}
/* fil qui festonne (4 boucles par motif) + ampoules or et blanches ; le fil ne clignote pas */
.elementor-location-header [data-id="31e4103"]::before,
.elementor-location-header [data-id="845e814"]::before{
  background-image:
    radial-gradient(circle at 17px 12px,  #fff7d6 0 2.6px, rgba(255,214,120,.75) 3.4px, rgba(255,200,90,0) 7px),
    radial-gradient(circle at 85px 12px,  #ffffff 0 2.6px, rgba(220,235,255,.7) 3.4px, rgba(220,235,255,0) 7px),
    radial-gradient(ellipse 17px 9px at 17px 0,  transparent 84%, #c9a55c 87% 96%, transparent 99%),
    radial-gradient(ellipse 17px 9px at 51px 0,  transparent 84%, #c9a55c 87% 96%, transparent 99%),
    radial-gradient(ellipse 17px 9px at 85px 0,  transparent 84%, #c9a55c 87% 96%, transparent 99%),
    radial-gradient(ellipse 17px 9px at 119px 0, transparent 84%, #c9a55c 87% 96%, transparent 99%);
}
/* ampoules rouges et vertes, qui scintillent */
.elementor-location-header [data-id="31e4103"]::after,
.elementor-location-header [data-id="845e814"]::after{
  background-image:
    radial-gradient(circle at 51px 12px,  #ff6b6b 0 2.6px, rgba(220,40,50,.75) 3.4px, rgba(220,40,50,0) 7px),
    radial-gradient(circle at 119px 12px, #7ee2a8 0 2.6px, rgba(40,170,100,.7) 3.4px, rgba(40,170,100,0) 7px);
  animation:noel-scintille 2.4s ease-in-out infinite;
}
@keyframes noel-scintille{ 0%,100%{ opacity:1; } 50%{ opacity:.3; } }

/* ---------- 5. Congère au bas des grands bandeaux photo ----------
   (premier bloc de chaque page : accueil, restaurant, chambres...) */
[data-elementor-type="wp-page"] > .e-con:first-child[data-settings*='"background_background":']::after{
  content:"";
  position:absolute;
  top:auto; left:0; right:0; width:auto; bottom:-1px;
  height:clamp(22px,3.2vw,46px);
  pointer-events:none;
  z-index:2;
  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 38 C80 22 150 30 220 36 S360 18 450 30 600 44 700 32 860 14 960 28 1120 46 1230 34 1380 22 1440 30 V60 H0Z' fill='%23ffffff'/%3E%3Cpath d='M0 46 C120 36 240 44 330 48 S520 38 640 44 840 52 980 44 1200 38 1440 46 V60 H0Z' fill='%23eef2f6' opacity='.55'/%3E%3C/svg%3E") bottom/100% 100% no-repeat;
  filter:drop-shadow(0 -2px 3px rgba(20,40,60,.12));
}
/* le grand titre des bandeaux prend un léger halo doré */
[data-elementor-type="wp-page"] > .e-con:first-child h1{
  text-shadow:0 0 22px rgba(240,213,143,.35), 0 2px 10px rgba(0,0,0,.35);
}

/* ---------- 6. Boutons ---------- */
.elementor-button,
.woocommerce a.button, .woocommerce button.button, .woocommerce .button,
.ast-button, .button{
  transition:background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.elementor-button:hover, .elementor-button:focus-visible,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce .button:hover,
.ast-button:hover, .button:hover{
  background-color:var(--noel-rouge) !important;
  border-color:var(--noel-or) !important;
  color:#fff !important;
  box-shadow:0 0 0 1px var(--noel-or), 0 6px 18px rgba(155,29,46,.28);
}
/* bouton "Contact" de l'en-tête : liseré or + petit éclat */
.elementor-location-header .elementor-button{
  box-shadow:0 0 0 1px rgba(210,171,95,.35), 0 0 14px rgba(210,171,95,.18);
}

/* ---------- 7. Liens dans les textes ---------- */
[data-elementor-type="wp-page"] .elementor-widget-text-editor a:not(.elementor-button),
[data-elementor-type="single-post"] .elementor-widget-text-editor a:not(.elementor-button),
.entry-content a:not(.elementor-button):not(.button){
  color:var(--noel-rouge);
  text-decoration-color:rgba(155,29,46,.35);
}
[data-elementor-type="wp-page"] .elementor-widget-text-editor a:not(.elementor-button):hover,
[data-elementor-type="single-post"] .elementor-widget-text-editor a:not(.elementor-button):hover,
.entry-content a:not(.elementor-button):not(.button):hover{ color:var(--noel-vert); }
/* sur fond noir (en-tête, pied de page) : liens en or, lisibles */
.elementor-location-header .elementor-widget-text-editor a,
.elementor-location-footer .elementor-widget-text-editor a{ color:var(--noel-or) !important; }
.elementor-location-footer .elementor-widget-text-editor a:hover{ color:var(--noel-or-clair) !important; }

/* ---------- 8. Menu ---------- */
.elementor-location-header .elementor-nav-menu a:hover,
.elementor-location-header .elementor-nav-menu .elementor-item-active,
.elementor-location-header .elementor-nav-menu .current-menu-item > a{
  color:var(--noel-or-clair) !important;
  text-shadow:0 0 10px rgba(240,213,143,.45);
}
.elementor-nav-menu--dropdown a:hover,
.elementor-nav-menu--dropdown a.elementor-item-active{
  background-color:var(--noel-rouge) !important;
  color:#fff !important;
}

/* ---------- 9. Pied de page : ciel étoilé + neige sur le rebord ---------- */
.elementor-location-footer > .e-con:first-child{
  background-image:
    radial-gradient(circle at 12% 30%, rgba(240,213,143,.55) 0 1px, transparent 1.6px),
    radial-gradient(circle at 27% 72%, rgba(255,255,255,.45) 0 .8px, transparent 1.4px),
    radial-gradient(circle at 44% 18%, rgba(255,255,255,.5) 0 1px, transparent 1.6px),
    radial-gradient(circle at 63% 58%, rgba(240,213,143,.5) 0 1.1px, transparent 1.7px),
    radial-gradient(circle at 81% 26%, rgba(255,255,255,.45) 0 .9px, transparent 1.5px),
    radial-gradient(circle at 93% 80%, rgba(240,213,143,.45) 0 1px, transparent 1.6px),
    radial-gradient(ellipse 70% 120% at 50% 120%, rgba(22,73,54,.55), transparent 70%);
  background-size:260px 180px, 310px 220px, 280px 200px, 340px 240px, 300px 210px, 360px 260px, 100% 100%;
}
.elementor-location-footer > .e-con:first-child::before{
  content:"";
  position:absolute;
  left:0; right:0; top:-1px; bottom:auto; width:auto;
  height:18px;
  border:0; border-radius:0; mix-blend-mode:normal; opacity:1;
  pointer-events:none;
  z-index:1;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 24' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H1440 V8 C1380 14 1330 10 1290 15 S1200 20 1150 12 1060 6 1010 14 930 22 880 13 790 8 740 16 650 21 600 12 510 6 460 15 370 20 320 11 230 7 180 14 90 19 40 11 0 9Z' fill='%23ffffff'/%3E%3C/svg%3E") top/100% 100% no-repeat;
  filter:drop-shadow(0 2px 2px rgba(0,0,0,.25));
}

/* ---------- 10. Petits détails ---------- */
#ast-scroll-top{
  background-color:var(--noel-rouge) !important;
  box-shadow:0 0 0 2px var(--noel-or), 0 6px 16px rgba(0,0,0,.25);
}
#ast-scroll-top:hover{ background-color:var(--noel-vert) !important; }

/* ---------- 11. Accessibilité, mobile, impression ---------- */
@media (max-width:767px){
  html::after{ display:none; }          /* une seule couche de neige sur mobile */
  html::before{ animation-duration:20s; }
}
@media (prefers-reduced-motion:reduce){
  html::before, html::after{ animation:none; }
  .elementor-location-header [data-id="31e4103"]::before,
  .elementor-location-header [data-id="31e4103"]::after,
  .elementor-location-header [data-id="845e814"]::before,
  .elementor-location-header [data-id="845e814"]::after{ animation:none; }
}
@media print{
  html::before, html::after,
  .elementor-location-header [data-id]::before,
  .elementor-location-header [data-id]::after,
  [data-elementor-type="wp-page"] > .e-con:first-child::after,
  .elementor-location-footer > .e-con:first-child::before{ display:none !important; }
}
