/* Sens Carte Livraison - style public. Deux ambiances : sombre (luxe) & atelier (creme). */

.sfc-luxe{
  /* Ambiance par defaut : sombre (luxe) */
  --bg:#141410; --bg2:#1D1C15; --glass:rgba(30,29,21,.74);
  --line:rgba(236,231,214,.14); --ink:#F1EDE1; --muted:#ABA692;
  --gold:#D9B96A; --accent-soft:rgba(217,185,106,.12);
  --map-bg:#141410; --cta-text:#191710; --pill-hover:rgba(45,43,31,.85);
  --serif:'Iowan Old Style','Palatino Linotype',Palatino,'Book Antiqua',Georgia,serif;
  --sans:system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
  background:var(--bg); color:var(--ink); font-family:var(--sans);
  padding:clamp(26px,5vw,64px) clamp(16px,4vw,48px);
}

/* Ambiance atelier : creme chaud + lie-de-vin */
.sfc-luxe.sfc-theme-atelier{
  --bg:#F2EEE6; --bg2:#F8F5EF; --glass:rgba(255,255,255,.86);
  --line:rgba(110,42,60,.16); --ink:#5E2436; --muted:#8C7078;
  --gold:#8C3D50; --accent-soft:rgba(140,61,80,.10);
  --map-bg:#e9e5dd; --cta-text:#F8F5EF; --pill-hover:rgba(255,255,255,.96);
}

/* Ambiance illustree : dessin main, creme & lie-de-vin (sans carte en ligne) */
.sfc-luxe.sfc-theme-illustre{
  --bg:#F2EEE6; --bg2:#F5F1E8; --glass:rgba(255,255,255,.88);
  --line:rgba(110,42,60,.16); --ink:#5E2436; --muted:#977C84;
  --gold:#8C3D50; --accent-soft:rgba(140,61,80,.10);
  --map-bg:#EFEADF; --cta-text:#F8F5EF; --pill-hover:rgba(255,255,255,.96);
}

.sfc-luxe *{box-sizing:border-box;}
.sfc-luxe .sfc-wrap{max-width:1120px;margin:0 auto;}

.sfc-luxe .sfc-head{max-width:56ch;margin-bottom:clamp(20px,3vw,34px);}
.sfc-luxe .sfc-eyebrow{display:inline-block;font-size:.72rem;letter-spacing:.24em;
  text-transform:uppercase;color:var(--gold);font-weight:600;margin-bottom:.85rem;}
.sfc-luxe .sfc-title{font-family:var(--serif);font-weight:500;line-height:1.05;letter-spacing:-.01em;
  font-size:clamp(1.9rem,4.6vw,3rem);margin:0 0 .55rem;color:var(--ink);}
.sfc-luxe .sfc-sub{margin:0;color:var(--muted);font-size:clamp(.95rem,1.5vw,1.08rem);max-width:52ch;}

.sfc-luxe .sfc-mapcard{position:relative;border-radius:24px;overflow:hidden;
  border:1px solid var(--line);background:var(--bg2);
  box-shadow:0 40px 90px -50px rgba(0,0,0,.55);}
.sfc-luxe .sfc-map{width:100%;background:var(--map-bg);}
.sfc-luxe .sfc-mapcard:fullscreen{border-radius:0;}
.sfc-luxe .sfc-mapcard:fullscreen .sfc-map{height:100vh !important;}

.sfc-luxe .sfc-legend{position:absolute;z-index:600;top:16px;left:16px;display:flex;gap:8px;flex-wrap:wrap;}
.sfc-luxe .sfc-pill{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:100px;
  border:1px solid var(--line);background:var(--glass);backdrop-filter:blur(12px);
  color:var(--ink);font-family:var(--sans);font-size:.82rem;font-weight:600;cursor:pointer;line-height:1;
  transition:transform .2s ease,border-color .2s ease,background .2s ease;}
.sfc-luxe .sfc-pill:hover,.sfc-luxe .sfc-pill.active{transform:translateY(-1px);background:var(--pill-hover);}
.sfc-luxe .sfc-pill.active{border-color:var(--gold);}
.sfc-luxe .sfc-swatch{width:10px;height:10px;border-radius:50%;flex:0 0 auto;box-shadow:0 0 8px currentColor;}

.sfc-luxe .sfc-fs{position:absolute;z-index:600;top:16px;right:16px;width:40px;height:40px;border-radius:12px;
  border:1px solid var(--line);background:var(--glass);backdrop-filter:blur(12px);
  display:grid;place-items:center;cursor:pointer;transition:background .2s ease,transform .2s ease;}
.sfc-luxe .sfc-fs:hover{background:var(--pill-hover);transform:translateY(-1px);}
.sfc-luxe .sfc-fs svg{width:18px;height:18px;fill:none;stroke:var(--ink);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}

.sfc-luxe .sfc-flyer{position:absolute;z-index:600;left:16px;bottom:16px;width:min(320px,calc(100% - 32px));
  padding:20px 22px;border-radius:18px;border:1px solid var(--line);
  background:var(--glass);backdrop-filter:blur(16px);box-shadow:0 24px 60px -30px rgba(0,0,0,.5);
  opacity:0;transform:translateY(10px);transition:opacity .35s ease,transform .35s cubic-bezier(.22,1,.36,1);}
.sfc-luxe .sfc-flyer.show{opacity:1;transform:none;}
.sfc-luxe .sfc-badge{display:inline-block;font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;
  font-weight:700;color:var(--gold);border:1px solid var(--gold);border-radius:100px;padding:3px 10px;margin-bottom:10px;}
.sfc-luxe .sfc-flyer-title{margin:0 0 5px;font-family:var(--serif);font-weight:500;font-size:1.3rem;color:var(--ink);}
.sfc-luxe .sfc-flyer-text{margin:0 0 12px;color:var(--muted);font-size:.92rem;line-height:1.5;}
.sfc-luxe .sfc-price{font-size:.9rem;color:var(--ink);font-weight:600;margin-bottom:16px;
  padding-top:12px;border-top:1px solid var(--line);}
.sfc-luxe .sfc-price:empty{display:none;}
.sfc-luxe .sfc-cta{display:inline-flex;align-items:center;gap:8px;background:var(--gold);color:var(--cta-text);
  font-weight:700;font-size:.9rem;text-decoration:none;padding:11px 18px;border-radius:10px;
  transition:transform .25s cubic-bezier(.22,1,.36,1),filter .2s ease;}
.sfc-luxe .sfc-cta svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s ease;}
.sfc-luxe .sfc-cta:hover{transform:translateY(-2px);filter:brightness(1.05);}
.sfc-luxe .sfc-cta:hover svg{transform:translateX(4px);}

.sfc-luxe .sfc-facts{list-style:none;margin:24px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:14px;}
.sfc-luxe .sfc-facts li{display:flex;align-items:center;gap:14px;padding:18px 20px;
  border:1px solid var(--line);border-radius:16px;background:var(--bg2);}
.sfc-luxe .sfc-fic{flex:0 0 auto;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--accent-soft);}
.sfc-luxe .sfc-fic svg{width:23px;height:23px;fill:none;stroke:var(--gold);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.sfc-luxe .sfc-facts span:last-child{display:flex;flex-direction:column;gap:2px;font-size:.86rem;color:var(--muted);}
.sfc-luxe .sfc-facts strong{color:var(--ink);font-weight:600;font-size:.98rem;}

.sfc-luxe .leaflet-container{font-family:var(--sans);background:var(--map-bg);}

/* Credit carte : minuscule et discret (les fournisseurs exigent de le garder). */
.sfc-luxe .leaflet-control-attribution{font-size:9px;opacity:.5;padding:0 6px;line-height:1.7;box-shadow:none;}
.sfc-luxe .leaflet-control-attribution:hover{opacity:.85;}

/* Habillage sombre des controles Leaflet (uniquement en ambiance sombre) */
.sfc-luxe.sfc-theme-dark .leaflet-control-attribution{background:rgba(20,20,16,.7) !important;color:#8a8676 !important;}
.sfc-luxe.sfc-theme-dark .leaflet-control-attribution a{color:#ada98f !important;}
.sfc-luxe.sfc-theme-dark .leaflet-bar a{background:#26241b !important;color:#e7e2d3 !important;border-color:rgba(236,231,214,.14) !important;}
.sfc-luxe.sfc-theme-dark .leaflet-bar a:hover{background:#33301f !important;}

/* --- Style illustre (SVG Ile-de-France) --- */
.sfc-luxe .sfc-illus{display:block;width:100%;height:auto;background:var(--map-bg);}
.sfc-luxe .sfc-izone{fill:var(--zc,#8C3D50);fill-opacity:.2;stroke:var(--zc,#8C3D50);stroke-width:2;
  stroke-linejoin:round;cursor:pointer;transition:fill-opacity .3s ease,stroke-width .3s ease;}
.sfc-luxe .sfc-iseine{fill:none;stroke:#9db4c6;stroke-width:4;opacity:.55;stroke-linecap:round;}
.sfc-luxe .sfc-iflower{color:var(--gold);opacity:.85;}
.sfc-luxe .sfc-idot{fill:var(--ink);}
.sfc-luxe .sfc-ipulse{fill:var(--ink);opacity:.16;transform-origin:center;animation:sfc-ipulse 2.8s ease-out infinite;}
.sfc-luxe .sfc-ilabel{fill:var(--muted);font-family:var(--sans);font-size:11px;font-weight:600;letter-spacing:.02em;}
.sfc-luxe .sfc-ilabel--main{fill:var(--ink);font-family:var(--serif);font-style:italic;font-size:20px;}
@keyframes sfc-ipulse{0%{transform:scale(.6);opacity:.24;}70%{transform:scale(2.3);opacity:0;}100%{opacity:0;}}
@media (prefers-reduced-motion:reduce){.sfc-luxe .sfc-ipulse{animation:none;}}

@media (max-width:820px){
  .sfc-luxe .sfc-facts{grid-template-columns:1fr;}
  .sfc-luxe .sfc-flyer{left:12px;right:12px;bottom:12px;width:auto;}
  .sfc-luxe .sfc-legend{top:12px;left:12px;}
}
@media (prefers-reduced-motion:reduce){
  .sfc-luxe .sfc-flyer,.sfc-luxe .sfc-cta,.sfc-luxe .sfc-pill,.sfc-luxe .sfc-fs{transition:none;}
}
