/* Relax Time — web app client. Palette « Nuit douce ». */
:root{
  --nuit:#2A1E1A; --nuit2:#221813; --nuit3:#33241d;
  --ocre:#D9A441; --creme:#F6EDE2; --taupe:#8A7563; --terra:#C56A50;
  --ok:#7da26b; --nav-h:64px;
  --bord:rgba(217,164,65,.22); --bord2:rgba(217,164,65,.5);
}
*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent;}
html{scroll-behavior:smooth;}
body{font-family:'Outfit',sans-serif;background:var(--nuit);color:var(--creme);
 -webkit-font-smoothing:antialiased;min-height:100svh;}
img{display:block;max-width:100%;}
button{font-family:inherit;color:inherit;background:none;border:none;cursor:pointer;}
a{color:var(--ocre);}
.svgi{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;
 stroke-linecap:round;stroke-linejoin:round;flex:none;}

/* ============ SPLASH ============ */
#splash{position:fixed;inset:0;z-index:200;display:flex;flex-direction:column;align-items:center;
 justify-content:center;gap:18px;background:radial-gradient(120% 90% at 50% 8%,var(--nuit3),var(--nuit2) 70%);
 transition:opacity .7s ease,visibility .7s;}
#splash.out{opacity:0;visibility:hidden;pointer-events:none;}
#splash .halo{position:absolute;width:min(72vw,360px);aspect-ratio:1;border-radius:50%;
 background:radial-gradient(circle,rgba(217,164,65,.20),transparent 62%);
 animation:halo 3.4s ease-in-out infinite;}
@keyframes halo{0%,100%{transform:scale(.92);opacity:.65}50%{transform:scale(1.06);opacity:1}}
#splash .logo{height:118px;position:relative;transform-origin:50% 88%;
 animation:berce 3.4s ease-in-out infinite,lueur 5.1s ease-in-out infinite;}
@keyframes berce{0%,100%{transform:rotate(-2.4deg) scale(1)}50%{transform:rotate(2.4deg) scale(1.035)}}
@keyframes lueur{
 0%,100%{filter:drop-shadow(0 4px 14px rgba(217,164,65,.22)) brightness(1);}
 45%{filter:drop-shadow(0 0 26px rgba(217,164,65,.55)) drop-shadow(0 0 60px rgba(217,164,65,.28)) brightness(1.16);}
 55%{filter:drop-shadow(0 0 22px rgba(217,164,65,.45)) brightness(1.1);}}
/* Anneaux orbitaux discrets */
#splash .anneau{position:absolute;border-radius:50%;pointer-events:none;}
#splash .a1{width:min(66vw,330px);aspect-ratio:1;border:1px dashed rgba(217,164,65,.28);
 animation:orbite 26s linear infinite;}
#splash .a2{width:min(82vw,420px);aspect-ratio:1;border:1px dotted rgba(217,164,65,.16);
 animation:orbite 44s linear infinite reverse;}
@keyframes orbite{to{transform:rotate(360deg)}}
/* Étincelles dorées qui s'élèvent autour du logo */
#splash .etincelles{position:absolute;inset:0;overflow:hidden;pointer-events:none;}
#splash .etincelles i{position:absolute;bottom:30%;left:50%;width:7px;height:7px;background:#eec06a;
 clip-path:polygon(50% 0,63% 37%,100% 50%,63% 63%,50% 100%,37% 63%,0 50%,37% 37%);
 opacity:0;filter:drop-shadow(0 0 7px rgba(217,164,65,.9));
 animation:monte 4.6s ease-in-out infinite;}
@keyframes monte{
 0%{transform:translate(var(--dx,0),0) scale(.3) rotate(0deg);opacity:0}
 10%{opacity:.95}
 60%{opacity:.55}
 100%{transform:translate(calc(var(--dx,0) * 1.7),-52vh) scale(var(--fin,1)) rotate(200deg);opacity:0}}
#splash .etincelles i:nth-child(1){--dx:-96px;--fin:.8;animation-delay:0s;}
#splash .etincelles i:nth-child(2){--dx:74px;--fin:1.1;animation-delay:.5s;width:5px;height:5px;}
#splash .etincelles i:nth-child(3){--dx:-40px;--fin:1.3;animation-delay:1.1s;}
#splash .etincelles i:nth-child(4){--dx:120px;--fin:.7;animation-delay:1.6s;width:9px;height:9px;}
#splash .etincelles i:nth-child(5){--dx:12px;--fin:1;animation-delay:2.2s;width:5px;height:5px;}
#splash .etincelles i:nth-child(6){--dx:-130px;--fin:1.2;animation-delay:2.7s;}
#splash .etincelles i:nth-child(7){--dx:52px;--fin:.9;animation-delay:3.2s;width:6px;height:6px;}
#splash .etincelles i:nth-child(8){--dx:-70px;--fin:1;animation-delay:3.8s;width:5px;height:5px;}
#splash .etincelles i:nth-child(9){--dx:96px;--fin:1.25;animation-delay:.9s;width:6px;height:6px;}
#splash .etincelles i:nth-child(10){--dx:-18px;--fin:.85;animation-delay:1.9s;width:8px;height:8px;}
#splash .etincelles i:nth-child(11){--dx:140px;--fin:1;animation-delay:2.9s;width:5px;height:5px;}
#splash .etincelles i:nth-child(12){--dx:-110px;--fin:.9;animation-delay:3.5s;width:6px;height:6px;}
#splash .etincelles i:nth-child(13){--dx:30px;--fin:1.15;animation-delay:4.1s;}
#splash .etincelles i:nth-child(14){--dx:-58px;--fin:1;animation-delay:.3s;width:5px;height:5px;}
@media(prefers-reduced-motion:reduce){
 #splash .etincelles,#splash .anneau{display:none;}
 #splash .logo{animation:none;}}
#splash .nom{font-family:'Bricolage Grotesque';font-weight:800;font-size:30px;letter-spacing:.14em;
 animation:appear 1.1s .15s both;}
#splash .tag{font-family:'Fraunces',serif;font-weight:300;font-style:italic;color:var(--ocre);
 font-size:15.5px;animation:appear 1.1s .4s both;}
@keyframes appear{from{opacity:0;transform:translateY(10px);letter-spacing:.3em}to{opacity:1;transform:none}}

/* ============ BARRES APP ============ */
.topbar{position:sticky;top:0;z-index:40;display:flex;align-items:center;gap:10px;
 padding:calc(10px + env(safe-area-inset-top)) 16px 10px;
 background:linear-gradient(180deg,var(--nuit) 72%,rgba(42,30,26,0));}
.topbar img{height:30px;}
.topbar .t{font-family:'Bricolage Grotesque';font-weight:800;font-size:16px;letter-spacing:.1em;}
.topbar .sub{font-size:9.5px;letter-spacing:.24em;color:var(--ocre);font-weight:600;}
.topbar .tel{margin-left:auto;width:40px;height:40px;border-radius:50%;display:flex;
 align-items:center;justify-content:center;border:1px solid var(--bord2);color:var(--ocre);}

.nav{position:fixed;left:0;right:0;bottom:0;z-index:60;display:flex;
 background:rgba(34,24,19,.92);backdrop-filter:blur(14px);border-top:1px solid var(--bord);
 padding:6px 4px calc(6px + env(safe-area-inset-bottom));}
.nav button{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;
 font-size:10px;font-weight:500;color:rgba(246,237,226,.6);padding:5px 0;transition:.2s;}
.nav button .svgi{width:23px;height:23px;}
.nav button.on{color:var(--ocre);}
.nav button.cta .ic{width:46px;height:46px;margin-top:-20px;border-radius:50%;background:var(--ocre);
 color:var(--nuit2);display:flex;align-items:center;justify-content:center;
 box-shadow:0 6px 18px rgba(217,164,65,.4);border:4px solid var(--nuit);}
.nav button.cta.on .ic{background:var(--terra);color:var(--creme);}

main{padding-bottom:calc(var(--nav-h) + 26px);}
.view{display:none;}
.view.on{display:block;animation:viewIn .32s ease;}
@keyframes viewIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}

/* ============ COMMUN ============ */
section{padding:26px 18px;max-width:820px;margin:0 auto;}
.eti{font-size:11px;letter-spacing:.3em;text-transform:uppercase;color:var(--ocre);
 font-weight:600;margin-bottom:8px;}
h2{font-family:'Fraunces',serif;font-weight:300;font-size:clamp(25px,6.2vw,33px);line-height:1.12;}
h2 i{font-style:italic;color:var(--ocre);}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:var(--ocre);
 color:var(--nuit2);font-weight:600;font-size:15.5px;padding:14px 26px;border-radius:999px;
 text-decoration:none;box-shadow:0 6px 22px rgba(217,164,65,.28);transition:.2s;white-space:nowrap;}
.btn:active{transform:scale(.97);}
.btn.ghost{background:transparent;color:var(--creme);border:1px solid var(--bord2);box-shadow:none;}
.btn.terra{background:var(--terra);color:var(--creme);}
.btn.small{padding:9px 18px;font-size:13.5px;}
.btn[disabled]{opacity:.45;pointer-events:none;}
.carte{background:var(--nuit2);border:1px solid var(--bord);border-radius:18px;overflow:hidden;}

/* ============ ACCUEIL ============ */
.hero{position:relative;min-height:74svh;display:flex;flex-direction:column;border-radius:0 0 26px 26px;overflow:hidden;}
.hero .bg{position:absolute;inset:0;}
.hero .bg img{width:100%;height:100%;object-fit:cover;object-position:center 30%;}
.hero .bg::after{content:"";position:absolute;inset:0;
 background:linear-gradient(180deg,rgba(34,24,19,.4),rgba(34,24,19,.12) 30%,rgba(34,24,19,.66) 62%,var(--nuit));}
.hero .inner{position:relative;margin:auto auto 0;text-align:center;padding:0 20px 40px;max-width:640px;}
.hero .logo{height:88px;margin:0 auto 12px;filter:drop-shadow(0 2px 12px rgba(0,0,0,.45));
 animation:flotte 5s ease-in-out infinite;transform-origin:50% 88%;}
@keyframes flotte{0%,100%{transform:translateY(0) rotate(-1.2deg)}50%{transform:translateY(-6px) rotate(1.2deg)}}
.hero h1{font-family:'Bricolage Grotesque';font-weight:800;font-size:clamp(32px,8.5vw,50px);
 letter-spacing:.5px;text-shadow:0 2px 16px rgba(0,0,0,.5);}
.hero .s1{margin-top:6px;font-size:11.5px;font-weight:600;letter-spacing:.32em;color:var(--ocre);}
.hero .accroche{margin-top:16px;font-family:'Fraunces',serif;font-weight:300;
 font-size:clamp(18px,4.4vw,24px);line-height:1.3;}
.hero .accroche i{font-style:italic;color:var(--ocre);}
.hero .actions{display:flex;gap:10px;justify-content:center;margin-top:20px;flex-wrap:wrap;}
.hero .sub{margin-top:12px;font-size:12.5px;color:rgba(246,237,226,.72);}

.tuiles{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px;}
.tuile{background:var(--nuit2);border:1px solid var(--bord);border-radius:16px;padding:16px 14px;
 display:flex;flex-direction:column;gap:8px;text-align:left;transition:.2s;}
.tuile:active{transform:scale(.98);}
.tuile .svgi{color:var(--ocre);width:24px;height:24px;}
.tuile .tt{font-weight:600;font-size:14px;}
.tuile .td{font-size:12px;color:var(--taupe);line-height:1.45;}

.bandeau-amb{display:flex;gap:10px;overflow-x:auto;padding:14px 0 6px;scrollbar-width:none;}
.bandeau-amb::-webkit-scrollbar{display:none;}
.amb-mini{flex:none;width:190px;background:var(--nuit2);border:1px solid var(--bord);
 border-radius:16px;padding:14px;text-align:left;transition:.2s;}
.amb-mini:active{transform:scale(.97);}
.amb-mini .an{font-family:'Fraunces',serif;font-size:16px;color:var(--ocre);}
.amb-mini .ad{margin-top:6px;font-size:11.5px;line-height:1.5;color:rgba(246,237,226,.75);}
.amb-mini .plus{margin-top:8px;font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;
 color:var(--taupe);font-weight:600;}
/* Pop-up ambiance immersif */
.amb-pop-tete{position:relative;margin:-10px -20px 16px;padding:36px 22px 22px;text-align:center;
 background:radial-gradient(130% 130% at 50% -20%,rgba(217,164,65,.28),transparent 55%),
  linear-gradient(180deg,var(--nuit3),var(--nuit2));border-bottom:1px solid var(--bord);}
.amb-pop-tete .svgi{width:30px;height:30px;color:var(--ocre);margin:0 auto 8px;display:block;
 animation:halo 3.4s ease-in-out infinite;}
.amb-pop-tete h3{font-family:'Fraunces',serif;font-weight:300;font-size:26px;}
.amb-pop-tete h3 i{font-style:italic;color:var(--ocre);}
.amb-pop-long{font-family:'Fraunces',serif;font-weight:300;font-size:15.5px;line-height:1.8;
 color:rgba(246,237,226,.9);font-style:italic;}
.huile-fiche{display:flex;gap:12px;align-items:flex-start;background:var(--nuit2);
 border:1px solid var(--bord);border-radius:14px;padding:12px 14px;margin-top:8px;}
.huile-fiche img{width:44px;height:44px;border-radius:10px;object-fit:cover;border:1px solid var(--bord);flex:none;}
.huile-fiche .hf-n{font-weight:600;font-size:13.5px;}
.huile-fiche .hf-m{font-size:11.5px;color:var(--ocre);}
.huile-fiche .hf-p{font-size:11px;color:var(--taupe);line-height:1.5;margin-top:3px;}
.sugg-mini{display:flex;align-items:center;gap:10px;width:100%;text-align:left;background:var(--nuit2);
 border:1px solid var(--bord);border-radius:13px;padding:10px 13px;margin-top:8px;transition:.15s;}
.sugg-mini:active{transform:scale(.98);}
.sugg-mini .sm-n{font-weight:600;font-size:13.5px;}
.sugg-mini .sm-d{font-size:11.5px;color:var(--taupe);}
.sugg-mini .sm-p{margin-left:auto;font-family:'Fraunces',serif;color:var(--ocre);font-size:16px;white-space:nowrap;}

.galerie{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px;}
.galerie .g{border-radius:14px;overflow:hidden;aspect-ratio:4/3;}
.galerie .g.haut{aspect-ratio:auto;grid-row:span 2;height:100%;}
.galerie img{width:100%;height:100%;object-fit:cover;}

/* ============ CATALOGUE ============ */
.seg{display:flex;background:var(--nuit2);border:1px solid var(--bord);border-radius:999px;
 padding:4px;margin:14px 0 4px;}
.seg button{flex:1;padding:10px;border-radius:999px;font-size:13.5px;font-weight:600;
 color:rgba(246,237,226,.65);transition:.2s;}
.seg button.on{background:var(--ocre);color:var(--nuit2);}
.chips{display:flex;gap:8px;overflow-x:auto;padding:12px 0 6px;scrollbar-width:none;
 position:sticky;top:56px;background:linear-gradient(180deg,var(--nuit) 80%,transparent);z-index:20;}
.chips::-webkit-scrollbar{display:none;}
.chip{flex:none;border:1px solid var(--bord2);color:var(--creme);font-size:13px;font-weight:500;
 padding:9px 15px;border-radius:999px;transition:.18s;}
.chip.on{background:var(--ocre);color:var(--nuit2);border-color:var(--ocre);font-weight:600;}
.theme-titre{margin:24px 0 12px;display:flex;align-items:baseline;gap:12px;}
.theme-titre .t{font-family:'Bricolage Grotesque';font-weight:700;font-size:16.5px;}
.theme-titre .fil{flex:1;height:1px;background:rgba(217,164,65,.35);}
.cartes-2col{display:grid;gap:12px;}
@media(min-width:700px){.cartes-2col{grid-template-columns:1fr 1fr;}}
.m-carte{background:var(--nuit2);border:1px solid var(--bord);border-radius:18px;overflow:hidden;
 text-align:left;display:flex;flex-direction:column;transition:.2s;}
.m-carte:active{transform:scale(.985);}
.m-carte .ph{aspect-ratio:16/9;overflow:hidden;position:relative;}
.m-carte .ph img{width:100%;height:100%;object-fit:cover;transition:.4s;}
.m-carte .ph::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(34,24,19,.72));}
.m-carte .badge-amb{position:absolute;top:10px;left:10px;z-index:2;font-size:10.5px;font-weight:600;
 background:rgba(34,24,19,.75);border:1px solid var(--bord2);color:var(--ocre);
 padding:5px 10px;border-radius:999px;backdrop-filter:blur(6px);display:inline-flex;gap:5px;align-items:center;}
.m-carte .badge-amb .svgi{width:13px;height:13px;}
.m-carte .corps{padding:14px 16px 15px;display:flex;flex-direction:column;gap:8px;flex:1;}
.m-carte .ligne{display:flex;align-items:baseline;gap:10px;}
.m-carte .nom{font-weight:600;font-size:15.5px;}
.m-carte .dur{font-size:12px;font-style:italic;color:var(--taupe);white-space:nowrap;}
.m-carte .prix{margin-left:auto;font-family:'Fraunces',serif;font-weight:500;font-size:19px;
 color:var(--ocre);white-space:nowrap;}
.m-carte .desc{font-size:13px;font-weight:300;line-height:1.6;color:rgba(246,237,226,.82);}
.m-carte .vigilance{font-size:11.5px;line-height:1.55;color:var(--taupe);}
.m-carte .vigilance b{color:var(--ocre);font-weight:600;}
.m-carte .pied{margin-top:auto;display:flex;justify-content:flex-end;padding-top:4px;}

/* ============ WIZARD ============ */
.wiz-head{display:flex;align-items:center;gap:12px;margin-bottom:6px;}
.wiz-head .retour{width:38px;height:38px;border-radius:50%;border:1px solid var(--bord2);
 display:flex;align-items:center;justify-content:center;color:var(--ocre);}
.wiz-head .wt{font-family:'Fraunces',serif;font-size:20px;}
.wiz-dots{display:flex;gap:6px;margin:12px 0 20px;}
.wiz-dots span{height:4px;flex:1;border-radius:99px;background:rgba(217,164,65,.18);transition:.3s;}
.wiz-dots span.on{background:var(--ocre);}
.step{display:none;}
.step.on{display:block;animation:stepIn .3s ease;}
@keyframes stepIn{from{opacity:0;transform:translateX(24px)}to{opacity:1;transform:none}}
.step h3{font-family:'Fraunces',serif;font-weight:400;font-size:21px;margin-bottom:4px;}
.step .aide{font-size:13px;color:var(--taupe);margin-bottom:16px;line-height:1.5;}
.wiz-pied{display:flex;gap:10px;margin-top:22px;}
.wiz-pied .btn{flex:1;}

.opt-liste{display:flex;flex-direction:column;gap:10px;}
.opt{display:flex;align-items:center;gap:13px;background:var(--nuit2);border:1px solid var(--bord);
 border-radius:16px;padding:14px 16px;text-align:left;transition:.18s;width:100%;}
.opt .svgi{color:var(--ocre);}
.opt .ot{font-weight:600;font-size:14.5px;}
.opt .od{font-size:12px;color:var(--taupe);margin-top:2px;line-height:1.45;}
.opt .oprix{margin-left:auto;font-family:'Fraunces',serif;color:var(--ocre);font-size:17px;white-space:nowrap;}
.opt.on{border-color:var(--ocre);background:linear-gradient(0deg,rgba(217,164,65,.1),rgba(217,164,65,.1)),var(--nuit2);}
.opt .avatar{width:46px;height:46px;border-radius:50%;object-fit:cover;border:1px solid var(--bord2);flex:none;}
.opt .coche{margin-left:auto;width:22px;height:22px;border-radius:50%;border:1.5px solid var(--bord2);
 flex:none;display:flex;align-items:center;justify-content:center;color:var(--nuit2);}
.opt.on .coche{background:var(--ocre);border-color:var(--ocre);}
.opt.on .coche::after{content:"";width:9px;height:5px;border-left:2px solid var(--nuit2);
 border-bottom:2px solid var(--nuit2);transform:rotate(-45deg) translate(1px,-1px);}

/* Calendrier */
.cal{background:var(--nuit2);border:1px solid var(--bord);border-radius:18px;padding:16px;}
.cal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;}
.cal-head .mois{font-family:'Fraunces',serif;font-size:17px;text-transform:capitalize;}
.cal-head button{width:36px;height:36px;border-radius:50%;border:1px solid var(--bord);
 display:flex;align-items:center;justify-content:center;color:var(--ocre);}
.cal-head button[disabled]{opacity:.3;}
.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;}
.cal-grid .wd{text-align:center;font-size:10.5px;color:var(--taupe);font-weight:600;
 text-transform:uppercase;padding:4px 0;}
.cal-grid .jour{aspect-ratio:1;border-radius:12px;display:flex;flex-direction:column;
 align-items:center;justify-content:center;font-size:14px;gap:2px;position:relative;transition:.15s;}
.cal-grid .jour.off{color:rgba(246,237,226,.22);pointer-events:none;}
.cal-grid .jour.full{color:rgba(246,237,226,.35);text-decoration:line-through;pointer-events:none;}
.cal-grid .jour.ok::after{content:"";width:4px;height:4px;border-radius:50%;background:var(--ok);}
.cal-grid .jour.sel{background:var(--ocre);color:var(--nuit2);font-weight:700;}
.cal-grid .jour.sel::after{background:var(--nuit2);}
.cal-grid .jour.vac{background:rgba(217,164,65,.09);}
.cal-grid .jour.ferie{box-shadow:inset 0 -2px 0 rgba(197,106,80,.75);}
.cal-legende{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px;font-size:11px;color:var(--taupe);}
.cal-legende span{display:inline-flex;align-items:center;gap:6px;}
.cal-legende .p-ok{width:6px;height:6px;border-radius:50%;background:var(--ok);}
.cal-legende .p-vac{width:12px;height:12px;border-radius:4px;background:rgba(217,164,65,.25);}
.cal-legende .p-fer{width:12px;height:3px;border-radius:2px;background:rgba(197,106,80,.75);}
.slots{display:grid;grid-template-columns:repeat(auto-fill,minmax(86px,1fr));gap:8px;margin-top:16px;}
.slot{border:1px solid var(--bord2);border-radius:12px;padding:11px 0;text-align:center;
 font-size:14px;font-weight:500;transition:.15s;}
.slot.on{background:var(--ocre);color:var(--nuit2);border-color:var(--ocre);font-weight:700;}
.slots-vide{margin-top:16px;font-size:13px;color:var(--taupe);text-align:center;padding:12px;}

/* Formulaires */
.champ{margin-bottom:15px;}
.champ label{display:block;font-size:12px;letter-spacing:.12em;text-transform:uppercase;
 color:var(--ocre);font-weight:600;margin-bottom:7px;}
.champ input,.champ textarea,.champ select{width:100%;background:var(--nuit2);
 border:1px solid var(--bord);border-radius:13px;color:var(--creme);font-family:'Outfit';
 font-size:15px;padding:13px 15px;outline:none;transition:.2s;}
.champ input:focus,.champ textarea:focus,.champ select:focus{border-color:var(--ocre);}
.champ textarea{min-height:84px;resize:vertical;}
.champ .err{display:none;font-size:12px;color:var(--terra);margin-top:5px;}
.champ.invalide input,.champ.invalide textarea{border-color:var(--terra);}
.champ.invalide .err{display:block;}
.chips-form{display:flex;flex-wrap:wrap;gap:8px;}
.chips-form .chip.on{background:var(--ocre);color:var(--nuit2);border-color:var(--ocre);}
.check-liste{display:flex;flex-direction:column;gap:8px;}
.check{display:flex;align-items:center;gap:12px;background:var(--nuit2);border:1px solid var(--bord);
 border-radius:13px;padding:12px 14px;font-size:13.5px;text-align:left;width:100%;transition:.15s;}
.check .box{width:20px;height:20px;border-radius:6px;border:1.5px solid var(--bord2);flex:none;
 display:flex;align-items:center;justify-content:center;transition:.15s;}
.check.on{border-color:var(--ocre);}
.check.on .box{background:var(--ocre);border-color:var(--ocre);}
.check.on .box::after{content:"";width:9px;height:5px;border-left:2px solid var(--nuit2);
 border-bottom:2px solid var(--nuit2);transform:rotate(-45deg) translate(1px,-1px);}
.note-vig{display:flex;gap:10px;background:rgba(197,106,80,.12);border:1px solid rgba(197,106,80,.4);
 border-radius:13px;padding:12px 14px;font-size:12.5px;line-height:1.55;color:var(--creme);margin:12px 0;}
.note-vig .svgi{color:var(--terra);width:19px;height:19px;margin-top:1px;}
.note-info{display:flex;gap:10px;background:rgba(217,164,65,.1);border:1px solid var(--bord);
 border-radius:13px;padding:12px 14px;font-size:12.5px;line-height:1.55;color:rgba(246,237,226,.85);margin:12px 0;}
.note-info .svgi{color:var(--ocre);width:19px;height:19px;margin-top:1px;}

/* Récap + disclaimer */
.recap{background:var(--nuit2);border:1px solid var(--bord);border-radius:18px;overflow:hidden;margin-bottom:16px;}
.recap .rl{display:flex;justify-content:space-between;gap:14px;padding:12px 16px;font-size:13.5px;
 border-top:1px solid rgba(217,164,65,.1);}
.recap .rl:first-child{border-top:none;}
.recap .rk{color:var(--taupe);white-space:nowrap;}
.recap .rv{font-weight:600;text-align:right;}
.recap .rl.total{background:rgba(217,164,65,.08);}
.recap .rl.total .rv{font-family:'Fraunces',serif;font-size:19px;color:var(--ocre);}
.disclaimer-box{background:var(--nuit2);border:1px solid var(--bord);border-radius:16px;
 padding:14px 16px;max-height:180px;overflow-y:auto;font-size:12.5px;line-height:1.65;
 color:rgba(246,237,226,.8);margin-bottom:12px;}
.disclaimer-box b{color:var(--ocre);}

/* Paiement + confirmation */
.pay-carte{background:var(--nuit2);border:1px solid var(--bord);border-radius:18px;padding:22px;text-align:center;}
.pay-carte .montant{font-family:'Fraunces',serif;font-size:40px;color:var(--ocre);margin:8px 0 2px;}
.pay-carte .lib{font-size:12.5px;color:var(--taupe);}
.confirm-ok{text-align:center;padding:30px 10px;}
.confirm-ok .rond{width:84px;height:84px;border-radius:50%;background:rgba(125,162,107,.15);
 border:1.5px solid var(--ok);margin:0 auto 18px;display:flex;align-items:center;justify-content:center;
 color:var(--ok);animation:pop .5s cubic-bezier(.34,1.56,.64,1);}
.confirm-ok .rond .svgi{width:38px;height:38px;}
@keyframes pop{from{transform:scale(.4);opacity:0}to{transform:scale(1);opacity:1}}
.confirm-ok .ref{font-family:'Fraunces',serif;color:var(--ocre);font-size:22px;margin:8px 0;}

/* ============ MES RDV ============ */
.rdv-carte{background:var(--nuit2);border:1px solid var(--bord);border-radius:18px;
 padding:16px;margin-bottom:12px;}
.rdv-carte .haut{display:flex;align-items:center;gap:10px;}
.rdv-carte .rnom{font-weight:600;font-size:15px;}
.statut{margin-left:auto;font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
 padding:5px 10px;border-radius:999px;white-space:nowrap;}
.statut.attente{background:rgba(217,164,65,.15);color:var(--ocre);border:1px solid var(--bord2);}
.statut.confirme{background:rgba(125,162,107,.15);color:var(--ok);border:1px solid rgba(125,162,107,.5);}
.statut.refuse,.statut.annule,.statut.expire{background:rgba(197,106,80,.13);color:var(--terra);border:1px solid rgba(197,106,80,.45);}
.statut.passe{background:rgba(138,117,99,.15);color:var(--taupe);border:1px solid rgba(138,117,99,.4);}
.rdv-carte .rdet{margin-top:10px;font-size:13px;color:rgba(246,237,226,.8);line-height:1.7;}
.rdv-carte .ract{display:flex;gap:8px;margin-top:12px;justify-content:flex-end;}
.vide{padding:40px 20px;text-align:center;color:var(--taupe);font-size:14px;line-height:1.7;}
.vide .svgi{width:44px;height:44px;margin:0 auto 14px;color:var(--bord2);}

/* ============ INFOS / DOC ============ */
.info-bloc{background:var(--nuit2);border:1px solid var(--bord);border-radius:16px;
 padding:18px 18px;margin-top:14px;}
.info-bloc .lab{font-size:10.5px;letter-spacing:.24em;text-transform:uppercase;
 color:var(--ocre);font-weight:600;margin-bottom:6px;}
.info-bloc .val{font-size:15px;font-weight:400;line-height:1.65;}
.info-bloc .val b{color:var(--ocre);font-weight:600;font-size:17px;}
.info-bloc a{color:var(--creme);}
.horaires-t{width:100%;font-size:13.5px;line-height:2;}
.horaires-t td:last-child{text-align:right;color:rgba(246,237,226,.8);}
.qrs{display:flex;gap:22px;justify-content:center;margin-top:6px;}
.qrs .q{text-align:center;}
.qrs img{width:100px;height:100px;border-radius:12px;}
.qrs .l{margin-top:7px;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:rgba(246,237,226,.7);}
.accordeon{border:1px solid var(--bord);border-radius:16px;background:var(--nuit2);
 margin-top:10px;overflow:hidden;}
.accordeon .acc-h{width:100%;display:flex;align-items:center;gap:12px;padding:15px 16px;
 font-weight:600;font-size:14px;text-align:left;}
.accordeon .acc-h .svgi{color:var(--ocre);width:19px;height:19px;}
.accordeon .acc-h .fl{margin-left:auto;transition:.3s;}
.accordeon.open .acc-h .fl{transform:rotate(180deg);}
.accordeon .acc-c{display:none;padding:0 16px 16px;font-size:13px;font-weight:300;
 line-height:1.75;color:rgba(246,237,226,.82);}
.accordeon.open .acc-c{display:block;animation:viewIn .25s;}
.accordeon .acc-c b{color:var(--ocre);font-weight:600;}

/* ============ MODALS & TOASTS ============ */
#modal-overlay{position:fixed;inset:0;z-index:80;background:rgba(23,15,12,.72);backdrop-filter:blur(4px);
 display:none;align-items:flex-end;justify-content:center;}
#modal-overlay.on{display:flex;animation:fadeIn .25s;}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
#modal{background:var(--nuit3);border:1px solid var(--bord);border-radius:24px 24px 0 0;
 width:100%;max-width:640px;max-height:88svh;overflow-y:auto;
 padding:10px 20px calc(22px + env(safe-area-inset-bottom));
 animation:sheetUp .32s cubic-bezier(.32,.9,.35,1);}
@keyframes sheetUp{from{transform:translateY(60px);opacity:.4}to{transform:none;opacity:1}}
#modal .anse{width:42px;height:4px;border-radius:99px;background:rgba(246,237,226,.25);margin:4px auto 14px;}
#modal .m-ph{border-radius:16px;overflow:hidden;aspect-ratio:16/9;margin-bottom:14px;}
#modal .m-ph img{width:100%;height:100%;object-fit:cover;}
#modal h3{font-family:'Fraunces',serif;font-weight:400;font-size:22px;}
#modal .m-meta{display:flex;gap:14px;align-items:baseline;margin:6px 0 10px;}
#modal .m-meta .dur{font-style:italic;color:var(--taupe);font-size:13px;}
#modal .m-meta .prix{font-family:'Fraunces',serif;color:var(--ocre);font-size:22px;}
#modal p.m-desc{font-size:14px;font-weight:300;line-height:1.7;color:rgba(246,237,226,.85);}
#modal .m-actions{display:flex;gap:10px;margin-top:18px;}
#modal .m-actions .btn{flex:1;}
@media(min-width:700px){
  #modal-overlay{align-items:center;padding:20px;}
  #modal{border-radius:24px;animation:pop .3s cubic-bezier(.34,1.4,.64,1);}
}
#toasts{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(var(--nav-h) + 18px);
 z-index:90;display:flex;flex-direction:column;gap:8px;width:min(92vw,420px);}
.toast{background:var(--nuit3);border:1px solid var(--bord2);border-radius:14px;padding:13px 16px;
 font-size:13.5px;display:flex;gap:10px;align-items:center;box-shadow:0 10px 30px rgba(0,0,0,.5);
 animation:toastIn .3s cubic-bezier(.34,1.3,.64,1);}
.toast .svgi{color:var(--ocre);width:19px;height:19px;}
.toast.err{border-color:rgba(197,106,80,.6);}
.toast.err .svgi{color:var(--terra);}
@keyframes toastIn{from{transform:translateY(16px);opacity:0}to{transform:none;opacity:1}}
.toast.out{opacity:0;transform:translateY(8px);transition:.35s;}

/* ============ BOUTIQUE / BON CADEAU ============ */
.tuile-cadeau{display:flex;align-items:center;gap:14px;width:100%;margin-top:10px;text-align:left;
 background:linear-gradient(115deg,rgba(217,164,65,.16),rgba(197,106,80,.12)),var(--nuit2);
 border:1px solid var(--bord2);border-radius:16px;padding:16px;transition:.2s;}
.tuile-cadeau:active{transform:scale(.985);}
.tuile-cadeau .svgi{color:var(--ocre);width:28px;height:28px;}
.bon-apercu{background:radial-gradient(120% 120% at 50% 0%,var(--nuit3),var(--nuit2) 70%);
 border:1px solid var(--bord2);border-radius:20px;padding:26px 20px;position:relative;overflow:hidden;
 box-shadow:0 14px 40px rgba(0,0,0,.35);margin-bottom:20px;}
.bon-apercu::before,.bon-apercu::after{content:"";position:absolute;border:1.5px solid rgba(217,164,65,.3);border-radius:50%;}
.bon-apercu::before{width:220px;height:220px;top:-100px;right:-80px;}
.bon-apercu::after{width:160px;height:160px;bottom:-70px;left:-60px;}
.bon-apercu .ba-logo{height:46px;margin:0 auto 6px;display:block;}
.bon-apercu .ba-nom{text-align:center;font-family:'Bricolage Grotesque';font-weight:800;font-size:15px;letter-spacing:.14em;}
.bon-apercu .ba-s{text-align:center;font-size:8.5px;letter-spacing:.3em;color:var(--ocre);font-weight:600;margin-top:3px;}
.bon-apercu .ba-titre{text-align:center;font-family:'Fraunces',serif;font-weight:300;font-size:25px;margin:14px 0 2px;}
.bon-apercu .ba-titre i{font-style:italic;color:var(--ocre);}
.bon-apercu .ba-val{text-align:center;font-family:'Fraunces',serif;font-weight:500;font-size:34px;color:var(--ocre);margin:4px 0;min-height:40px;}
.bon-apercu .ba-ded{text-align:center;font-size:12.5px;line-height:1.6;color:rgba(246,237,226,.8);min-height:18px;}
.bon-apercu .ba-ded i{font-family:'Fraunces',serif;font-style:italic;}
.bon-apercu .ba-code{margin:14px auto 0;width:fit-content;border:2px dashed rgba(217,164,65,.5);border-radius:12px;
 padding:8px 20px;text-align:center;font-size:13px;letter-spacing:.14em;color:var(--taupe);}
.montant-chips{display:flex;flex-wrap:wrap;gap:8px;}
.montant-chips .chip{font-family:'Fraunces',serif;font-size:16px;padding:10px 18px;}
.verif-res{margin-top:12px;}

/* ============ FIDELITE / ESPACE CLIENT ============ */
.fid-points{display:flex;gap:10px;margin:14px 0;}
.fid-pt{width:26px;height:26px;border-radius:50%;border:1.5px solid var(--bord2);flex:none;transition:.3s;}
.fid-pt.on{background:radial-gradient(circle at 35% 35%,#eec06a,var(--ocre));border-color:var(--ocre);
 box-shadow:0 0 12px rgba(217,164,65,.45);}

footer{padding:26px 20px calc(var(--nav-h) + 30px);text-align:center;font-size:12px;color:var(--taupe);}
footer img{height:42px;margin:0 auto 10px;opacity:.85;}

/* ============ DESKTOP : la nav vit DANS la barre du haut (déplacée par JS) ============ */
.topbar .nav{position:static;background:transparent;border:none;backdrop-filter:none;
 padding:0;margin-left:auto;gap:4px;flex-wrap:nowrap;}
.topbar .nav button{flex:none;flex-direction:row;gap:7px;font-size:13px;padding:9px 14px;
 border-radius:999px;white-space:nowrap;}
.topbar .nav button.on{background:rgba(217,164,65,.14);color:var(--ocre);}
.topbar .nav button .svgi{width:17px;height:17px;}
.topbar .nav button.cta{background:var(--ocre);color:var(--nuit2);font-weight:600;}
.topbar .nav button.cta .ic{width:auto;height:auto;margin:0;border:none;background:none;
 color:inherit;box-shadow:none;display:inline-flex;}
.topbar .nav button.cta .ic .svgi{width:17px;height:17px;}
@media(min-width:900px){
  :root{--nav-h:0px;}
  main{padding-bottom:30px;}
  .chips{top:64px;}
}
