/* =====================================================================
   COMPOSANTS DE LA MAQUETTE · partagés par l'outil et l'espace mariés
   Pile de cartes à glisser, tons YID, pastille de validation, Voir plus,
   bouton pour remonter, débordements maîtrisés.
   ===================================================================== */
/* Rien ne dépasse : les mots longs (adresses, numéros) se coupent proprement */
p,li,td,.muted,.small,.lead,.meta,.sub,.bas,b,span,a,label,h1,h2,h3{ overflow-wrap:anywhere; }
td,th{ overflow-wrap:normal; }
img,svg,video{ max-width:100%; }

/* Pile de cartes */
.pile2{ position:relative; touch-action:pan-y; user-select:none; -webkit-user-select:none; margin-right:46px; }
.pile2 > .sc{ position:absolute; inset:0; border-radius:30px; padding:22px; transition:transform .45s cubic-bezier(.2,.8,.2,1),opacity .45s;
  -webkit-backdrop-filter:blur(26px) saturate(150%); backdrop-filter:blur(26px) saturate(150%);
  border:1px solid rgba(255,255,255,.22); box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 -1px 0 rgba(0,0,0,.08),0 2px 6px rgba(30,20,10,.08),0 24px 50px -16px rgba(30,20,10,.38);
  display:flex; flex-direction:column; overflow:hidden; }
.pile2 > .sc.drag{ transition:none; will-change:transform; }
.pile2{ isolation:isolate; contain:layout style; }
.pile2 > .sc::after{ content:""; position:absolute; inset:0; border-radius:inherit; background:linear-gradient(150deg,rgba(255,255,255,.28) 0%,rgba(255,255,255,0) 40%); pointer-events:none; }
.pile2 > .sc > *{ position:relative; z-index:1; }
.t-espresso{ background:rgba(40,31,24,.82); color:#F6EEDF; }
.t-champagne{ background:rgba(201,167,118,.86); color:#1D1813; }
.t-sable{ background:rgba(234,222,203,.88); color:#1D1813; }
.t-cacao{ background:rgba(92,65,47,.84); color:#F6EEDF; }
.t-ivoire{ background:rgba(253,250,245,.9); color:#1D1813; }
.sc .sub{ opacity:.68; }
.sc .k{ font-size:10px; letter-spacing:.22em; text-transform:uppercase; font-weight:600; opacity:.7; }
.sc .nomc{ font:600 26px/1.05 "Cormorant Garamond",Georgia,serif; }
.sc .ini{ width:50px; height:50px; border-radius:25px; flex:0 0 50px; display:flex; align-items:center; justify-content:center; font:600 19px/1 "Cormorant Garamond",serif; background:rgba(255,255,255,.14); }
.t-champagne .ini,.t-sable .ini,.t-ivoire .ini{ background:rgba(29,24,19,.08); }
.sc .alerte{ margin-top:14px; padding:10px 14px; border-radius:16px; font-size:12.5px; display:flex; align-items:center; gap:8px; background:rgba(163,65,47,.12); }
.t-espresso .alerte,.t-cacao .alerte{ background:rgba(239,170,150,.14); color:#F2C2B4; }
.sc .ch{ min-height:38px; padding:0 14px; border-radius:19px; border:1px solid rgba(127,112,98,.38); background:rgba(255,255,255,.1); color:inherit; font:500 12.5px Inter,sans-serif; letter-spacing:0; text-transform:none; box-shadow:none; cursor:pointer; }
.sc .ch.sel,.t-espresso .ch.sel,.t-cacao .ch.sel{ background:#F6EEDF; color:#1D1813; border-color:#F6EEDF; }
.t-champagne .ch.sel,.t-sable .ch.sel,.t-ivoire .ch.sel{ background:#1D1813; color:#F6EEDF; border-color:#1D1813; }
.sc .rond{ width:38px; height:38px; border-radius:19px; border:1px solid rgba(127,112,98,.38); display:inline-flex; align-items:center; justify-content:center; color:inherit; text-decoration:none; background:transparent; padding:0; min-height:0; box-shadow:none; }
.sc .lienbas{ background:none; border:0; box-shadow:none; padding:0; min-height:0; color:inherit; font:500 12.5px Inter,sans-serif; letter-spacing:0; text-transform:none; text-decoration:underline; text-underline-offset:3px; opacity:.8; cursor:pointer; }
/* Pastille de validation : toucher pour décocher */
.okmark{ position:absolute; top:16px; right:16px; z-index:3; width:32px; height:32px; border-radius:16px; background:#5F9E73; border:0; display:flex; align-items:center; justify-content:center; opacity:0; transform:scale(.6); transition:.3s; padding:0; min-height:0; box-shadow:0 4px 12px rgba(40,90,60,.35); cursor:pointer; }
.sc.valide .okmark{ opacity:1; transform:scale(1); }
.shake{ animation:sh .4s; }
@keyframes sh{ 20%{ transform:translateX(-10px); } 40%{ transform:translateX(8px); } 60%{ transform:translateX(-5px); } 80%{ transform:translateX(3px); } }
.metap{ display:flex; align-items:center; justify-content:space-between; font-size:12.5px; margin:0 0 12px; }
.hint{ display:flex; align-items:center; gap:6px; opacity:.6; }
.dots{ display:flex; gap:5px; justify-content:center; margin-top:16px; }
.dots i{ width:6px; height:6px; border-radius:3px; background:currentColor; opacity:.22; transition:.3s; }
.dots i.on{ width:18px; opacity:.85; }
.cta{ width:100%; min-height:56px; border-radius:28px; border:0; display:flex; align-items:center; justify-content:center; gap:8px; font:600 14px Inter,sans-serif; letter-spacing:.02em; text-transform:none; cursor:pointer; }
.cta.or{ background:linear-gradient(160deg,#EBD6B0,#D4B07A); color:#1D1813; box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 14px 30px -12px rgba(120,80,30,.55); }
.cta.encre{ background:#1D1813; color:#F6EEDF; box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 14px 30px -12px rgba(0,0,0,.5); }

/* Voir plus : un texte long replié sur deux lignes */
.replie{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.voirplus{ background:none; border:0; box-shadow:none; padding:4px 0; min-height:0; color:var(--gold,#B8956A); font:500 12.5px Inter,sans-serif; letter-spacing:0; text-transform:none; cursor:pointer; }

/* Remonter en haut de page */
#remonter{ position:fixed; right:18px; bottom:calc(98px + env(safe-area-inset-bottom)); z-index:49; width:46px; height:46px; border-radius:23px; padding:0; min-height:0;
  display:flex; align-items:center; justify-content:center; background:rgba(255,253,249,.72); color:#1D1813; border:1px solid rgba(255,255,255,.8);
  -webkit-backdrop-filter:blur(18px) saturate(160%); backdrop-filter:blur(18px) saturate(160%); box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 10px 24px -8px rgba(80,55,30,.3);
  opacity:0; transform:translateY(10px); pointer-events:none; transition:.3s; }
#remonter.on{ opacity:1; transform:none; pointer-events:auto; }
:root[data-theme="sombre"] #remonter{ background:rgba(40,30,22,.72); color:#E4CDA4; border-color:rgba(255,236,210,.14); }
@media (min-width:1000px){ #remonter{ bottom:30px; right:30px; } }
.pile2 > .sc.t-photo{ padding:0; background:#1A140F; color:#F6EEDF; border-color:rgba(255,255,255,.22); }
.pile2 > .sc.t-photo::after{ background:linear-gradient(150deg,rgba(255,255,255,.18) 0%,rgba(255,255,255,0) 35%); }
.pile2 > .sc.t-photo > *{ position:absolute; }
.pile2 > .sc.t-photo > img{ inset:0; }
.pile2 > .sc.t-photo > .ombre{ inset:0; }
@media (min-width:861px){ #b-fiches .pile2{ max-width:560px; } #b-fiches .metap,#b-fiches .dots,#b-fiches #valider{ max-width:606px; } #b-fiches .dots{ justify-content:center; } }

/* Choix de la source d'une photo */
#choixphoto .choix{ display:flex; align-items:center; gap:14px; padding:14px 4px; border-bottom:1px solid var(--line,rgba(120,90,60,.14)); cursor:pointer; }
#choixphoto .choix:last-of-type{ border-bottom:0; }
#choixphoto .pic{ width:44px; height:44px; border-radius:22px; flex:0 0 44px; display:flex; align-items:center; justify-content:center; background:var(--cream,rgba(255,253,249,.6)); border:1px solid var(--edge,rgba(255,255,255,.8)); }
#choixphoto b{ display:block; font-size:15px; } #choixphoto small{ display:block; font-size:12px; opacity:.6; margin-top:2px; }

/* Fluidité sur téléphone : le flou en temps réel coûte cher quand il se répète sur des dizaines de cartes.
   On le garde sur la barre, les feuilles et la carte de tête ; ailleurs, un verre dépoli peint, sans calcul. */
@media (max-width:860px){
  .fiche,.kpi,.bloc > .bh,.toolbar .grp,.card,.verre,.wrap,.steps,.step,.tableau th:first-child,.tableau td:first-child,.tableau thead th,.inv,.chiffre,.fait,.surface{
    -webkit-backdrop-filter:none !important; backdrop-filter:none !important; }
  .fiche,.kpi,.bloc > .bh,.toolbar .grp,.card,.verre,.wrap{ background:var(--glass2); }
  .pile2 > .sc{ -webkit-backdrop-filter:none; backdrop-filter:none; }
  body::before{ filter:none; background:radial-gradient(circle,rgba(212,176,122,.28) 0%,rgba(212,176,122,0) 70%) !important; }
  body::after{ filter:none; background:radial-gradient(circle,rgba(170,128,92,.18) 0%,rgba(170,128,92,0) 70%) !important; }
  :root[data-theme="sombre"] body::after{ background:radial-gradient(circle,rgba(120,80,50,.35) 0%,rgba(120,80,50,0) 70%) !important; }
}
/* ---------- appel guidé ---------- */
.appel{ max-width:1080px; margin:0 auto; }
.appel .tete{ display:flex; align-items:center; gap:12px; margin:4px 0 6px; }
.appel .pastille{ position:relative; width:46px; height:46px; flex:0 0 46px; border-radius:23px; background:linear-gradient(160deg,#3A2E24,#1D1813); display:flex; align-items:center; justify-content:center; box-shadow:inset 0 1px 0 rgba(255,255,255,.2); }
.appel .pastille img{ width:24px; }
.appel .pastille i{ position:absolute; right:-1px; bottom:-1px; width:12px; height:12px; border-radius:6px; background:#5F9E73; border:2px solid var(--bg,#F4EEE6); }
.appel .quitter{ height:38px; min-height:0; padding:0 16px; border-radius:19px; border:0; background:linear-gradient(160deg,#A6463A,#7E2D22); color:#fff; font:600 12.5px Inter,sans-serif; letter-spacing:0; text-transform:none; box-shadow:inset 0 1px 0 rgba(255,255,255,.25); cursor:pointer; }
.appel .prog{ display:flex; align-items:center; gap:14px; margin:16px 0 12px; }
.appel .prog .barre{ flex:1; height:8px; border-radius:4px; background:rgba(127,112,98,.18); overflow:hidden; }
.appel .prog .barre i{ display:block; height:100%; border-radius:4px; background:linear-gradient(90deg,#CDAE7E,#EFDDBC); transition:width .5s; }
.appel .prog span{ font-size:12.5px; font-weight:600; color:#B8955F; }
.appel .pile2 > .sc{ overflow-y:auto; overscroll-behavior:contain; display:flex; flex-direction:column; }
.appel .sc.solo{ position:relative; border-radius:30px; padding:24px; }
.appel .exig{ margin-top:16px; }
.appel .exig > div{ display:flex; align-items:center; gap:10px; padding:9px 0; border-top:1px solid rgba(127,112,98,.24); font-size:13px; }
.appel .rondv{ width:22px; height:22px; flex:0 0 22px; border-radius:11px; border:1px solid rgba(127,112,98,.5); display:flex; align-items:center; justify-content:center; }
.appel .exig .ok .rondv{ background:#5F9E73; border-color:#5F9E73; }
.appel .exig .ok .rondv svg{ width:12px; height:12px; }
.appel .carte-in{ margin-top:16px; padding:16px; border-radius:22px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); }
.appel .proches{ display:flex; gap:6px; flex-wrap:wrap; margin-top:10px; max-height:150px; overflow-y:auto; }
.appel .sc input{ min-height:40px; border-radius:20px; padding:0 14px; background:rgba(255,255,255,.12); border:1px solid rgba(127,112,98,.38); color:inherit; font:13px Inter,sans-serif; box-sizing:border-box; }
.appel .sc input::placeholder{ color:inherit; opacity:.55; }
.appel .recap{ display:grid; gap:2px; margin-top:16px; }
.appel .recap > div{ display:flex; justify-content:space-between; gap:12px; padding:8px 0; border-top:1px solid rgba(127,112,98,.24); font-size:13px; }
.appel .recap b{ text-align:right; font-weight:600; }
.appel .notes{ margin-top:18px; padding:14px 18px; border-radius:22px; }
.appel .notes summary{ cursor:pointer; font-weight:600; font-size:13px; }
.appel .notes textarea{ width:100%; margin-top:10px; border-radius:16px; box-sizing:border-box; }
.appel .grille{ display:block; }
.appel .direct{ display:none; }
.appel .frise{ display:grid; gap:2px; margin-top:12px; }
.appel .frise button{ display:flex; align-items:center; gap:10px; background:none; border:0; box-shadow:none; padding:8px 0; min-height:0; color:inherit; font:500 13px Inter,sans-serif; letter-spacing:0; text-transform:none; text-align:left; cursor:pointer; opacity:.55; }
.appel .frise button i{ width:10px; height:10px; border-radius:5px; border:1.5px solid currentColor; flex:0 0 10px; }
.appel .frise button.fait{ opacity:.9; } .appel .frise button.fait i{ background:#5F9E73; border-color:#5F9E73; }
.appel .frise button.cours{ opacity:1; font-weight:600; } .appel .frise button.cours i{ background:#D4B07A; border-color:#D4B07A; }
.appel .frise button.vue span{ text-decoration:underline; text-underline-offset:4px; }
.appel .pctg{ font:600 44px/1 "Cormorant Garamond",Georgia,serif; margin-top:8px; color:#B8955F; }
@media (min-width:900px){
  .appel .grille{ display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:28px; align-items:start; }
  .appel .direct{ display:block; position:sticky; top:24px; padding:22px; border-radius:28px; }
  .appel .pile2{ max-width:600px; }
}
.appel .pile2{ height:max(470px, calc(100vh - 300px)); height:max(470px, calc(100dvh - 300px)); }
.appel .pile2 > .sc.t-espresso{ background:#2B2119; } .appel .pile2 > .sc.t-cacao{ background:#45332A; }
.appel .pile2 > .sc.t-champagne{ background:#CFB085; } .appel .pile2 > .sc.t-sable{ background:#EBE0CE; }
.appel .pile2 > .sc:not(:first-child){ box-shadow:0 18px 40px -22px rgba(0,0,0,.45); }
@media (min-width:900px){ .appel .pile2{ height:620px; } }
.appel .sc.solo.t-espresso{ background:#2B2119; color:#F6EEDF; }
.appel .journal-appels{ margin-top:18px; padding:8px 20px 10px; border-radius:24px; }
.appel .journal-appels h3{ margin:12px 0 6px; }
.appel .memo{ border-top:1px solid rgba(127,112,98,.24); padding:12px 0; }
.appel .memo summary{ display:flex; justify-content:space-between; align-items:center; gap:10px; cursor:pointer; list-style:none; }
.appel .memo summary::-webkit-details-marker{ display:none; }
.appel .recap > div > .sub{ flex:0 0 42%; } .appel .memo summary > span:last-child{ white-space:nowrap; }
/* M35 : la carte du dessus est pleine, celles de derrière gardent leur transparence */
.pile2 > .sc.dessus.t-espresso{ background:#2B2119; } .pile2 > .sc.dessus.t-cacao{ background:#4A3729; }
.pile2 > .sc.dessus.t-champagne{ background:#CDAE80; } .pile2 > .sc.dessus.t-sable{ background:#EBE0CE; } .pile2 > .sc.dessus.t-ivoire{ background:#FDFAF5; }
.tuiles-m .tm .chiffre-t{ display:block; font:500 46px/1 "Cormorant Garamond",Georgia,serif; margin:10px 0 2px; color:#E4CDA4; }
/* ---------- premier contact ---------- */
.tuiles-m .tm.large{ grid-column:1 / -1; min-height:0; }
.contact .cases-c{ display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin:16px 0 10px; }
.contact .cases-c > div{ padding:12px; border-radius:20px; } .contact .cases-c b{ display:block; font:500 26px/1 "Cormorant Garamond",Georgia,serif; } .contact .cases-c span{ font-size:10.5px; opacity:.7; }
.contact .cases-c .plein b{ color:var(--bad); }
.contact .pile2{ height:max(520px, calc(100dvh - 330px)); }
.contact textarea.msg{ width:100%; margin-top:14px; border-radius:18px; padding:12px 14px; font:13.5px/1.5 Inter,sans-serif; background:rgba(255,255,255,.1); color:inherit; border:1px solid rgba(127,112,98,.38); box-sizing:border-box; resize:vertical; }
.contact .wa-btn{ flex:1; min-height:44px; border-radius:22px; border:0; background:#1F7A4D; color:#fff; font:600 13px Inter,sans-serif; letter-spacing:0; text-transform:none; cursor:pointer; }
.contact .wa-btn[disabled]{ opacity:.45; }
.contact .issues{ display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
@media (max-width:420px){ .contact .cases-c{ grid-template-columns:repeat(2,1fr); } }
/* cercles */
.cercle-t{ font:500 22px/1.2 "Cormorant Garamond",Georgia,serif; margin:26px 0 10px; } .cercle-t span{ font:500 12px Inter,sans-serif; opacity:.55; margin-left:6px; }
tr.cercle-r td{ font:600 10.5px Inter,sans-serif; letter-spacing:.18em; text-transform:uppercase; color:#B8955F; padding-top:18px !important; background:none !important; }
/* emails */
.card.em input, .card.em select, .card.em textarea{ width:100%; box-sizing:border-box; }
.card.em textarea{ font:14px/1.55 Inter,sans-serif; border-radius:16px; padding:12px 14px; }
.em-ap{ width:100%; height:520px; border:1px solid var(--line, #E6E1DA); border-radius:18px; margin-top:8px; background:#FAF7F2; }
/* messagerie */
.msgr{ max-width:760px; margin:0 auto; }
.ms-l{ cursor:pointer; padding:16px 18px !important; } .ms-l.nonlu b{ color:#B8955F; }
.frise-em{ display:flex; gap:6px; margin:14px 0 16px; } .frise-em button{ flex:1; display:flex; align-items:center; justify-content:center; gap:6px; min-height:40px; border-radius:20px; border:1px solid rgba(127,112,98,.3); background:none; font:500 12.5px Inter,sans-serif; letter-spacing:0; text-transform:none; color:inherit; cursor:pointer; }
.frise-em button i{ font-style:normal; width:20px; height:20px; border-radius:10px; background:rgba(127,112,98,.18); display:inline-flex; align-items:center; justify-content:center; font-size:11px; }
.frise-em button.on{ background:#1D1813; color:#fff; border-color:#1D1813; } .frise-em button.on i{ background:#D4B07A; color:#141210; }
.msgr input, .msgr select, .msgr textarea{ width:100%; box-sizing:border-box; }
.frise-em button{ min-width:0; padding:0 6px; font-size:12px; white-space:nowrap; }
.msgr #emdel{ background:none !important; border:0 !important; box-shadow:none !important; min-height:0; padding:0; text-transform:none; letter-spacing:0; text-decoration:underline; cursor:pointer; }
.badge-n{ position:absolute; top:-6px; right:-8px; min-width:18px; height:18px; padding:0 5px; border-radius:9px; background:#B4473A; color:#fff; font:600 10.5px/18px Inter,sans-serif; text-align:center; box-shadow:0 0 0 2px var(--bg,#F4EEE6); }
.pastille-nl{ display:inline-block; width:9px; height:9px; border-radius:5px; background:#C9A26B; flex:0 0 9px; }
.ms-l.nonlu{ border-left:3px solid #C9A26B !important; } .ms-l.nonlu b{ color:inherit !important; font-weight:700; }
.ms-l.lu{ opacity:.78; } .ms-l.lu b{ font-weight:500; }
/* logistique */
.lg-l{ display:flex; gap:10px; align-items:center; padding:12px 0; border-top:1px solid rgba(127,112,98,.2); }
.lg-l label input{ width:100%; box-sizing:border-box; margin-top:2px; }
.lg-reg{ margin-top:12px; } .lg-nav{ display:grid; gap:6px; padding:10px 0; border-top:1px dashed rgba(127,112,98,.3); } .lg-nav input{ width:100%; box-sizing:border-box; min-width:0; }
.ligne-c{ display:flex; gap:10px; align-items:center; margin-top:10px; font-size:14px; } .ligne-c input{ width:auto; }
.card .cases{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; } .card .cases > div{ padding:12px; border-radius:18px; background:rgba(255,255,255,.55); border:1px solid rgba(127,112,98,.15); }
.card .cases b{ display:block; font:500 26px/1 "Cormorant Garamond",Georgia,serif; } .card .cases span{ font-size:11px; opacity:.7; }
/* plan de table */
.pl-grille{ display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:12px; }
.pl-t{ margin:0 !important; } .pl-t.cible{ cursor:pointer; outline:2px dashed #C9A26B; outline-offset:-6px; } .pl-t.trop{ border-color:var(--bad) !important; }
.pl-jauge{ height:5px; border-radius:3px; background:rgba(127,112,98,.18); margin-top:8px; overflow:hidden; } .pl-jauge i{ display:block; height:100%; background:linear-gradient(90deg,#CDAE7E,#E8D3AE); }
.pl-t .ch{ margin:3px 3px 0 0; font-size:12px; }
.pl-f{ margin:3px 3px 0 0; }
.pl-a.ok{ opacity:.72; } .pl-tab{ font:500 20px/1 "Cormorant Garamond",Georgia,serif; white-space:nowrap; }
details.card summary{ cursor:pointer; } details.card input{ width:100%; box-sizing:border-box; }
.pl-t .ch, .pl-f, .pl-a .ch{ text-transform:none !important; letter-spacing:0 !important; font:500 13px Inter,sans-serif !important; min-height:34px; padding:6px 12px; }
.pl-t .ch{ background:rgba(201,162,107,.16) !important; color:inherit !important; border:1px solid rgba(201,162,107,.4) !important; box-shadow:none !important; }
.pl-a .ch{ background:#1D1813; color:#fff; } .pl-a .ch.sel{ background:#5F9E73 !important; color:#fff !important; }
.contact .cases-c span{ display:block; overflow-wrap:normal; word-break:keep-all; font-size:10.5px; line-height:1.3; }
@media (max-width:420px){ .card .contact .cases-c[style*="repeat(4"]{ grid-template-columns:repeat(2,1fr) !important; } }
/* tablette jour J */
.tab-j{ max-width:900px; margin:0 auto; } .tab-tete{ display:flex; align-items:center; gap:10px; } .tab-compte{ margin-left:auto; font-size:14px; } .tab-compte b{ font:500 24px/1 "Cormorant Garamond",Georgia,serif; }
.tab-vues{ margin:12px 0 14px; } .tab-q{ width:100%; box-sizing:border-box; min-height:56px; font-size:18px !important; border-radius:28px; padding:0 22px; }
.tab-l{ display:flex; align-items:center; gap:12px; width:100%; text-align:left; margin-top:8px; padding:14px 18px; border-radius:20px; border:1px solid rgba(127,112,98,.2); background:rgba(255,255,255,.7); color:inherit; font:inherit; text-transform:none; letter-spacing:0; cursor:pointer; min-height:64px; box-shadow:none; }
.tab-l .tab-n{ flex:1; min-width:0; display:flex; flex-direction:column; } .tab-l.ok{ opacity:.6; } .tab-t{ font:500 22px/1 "Cormorant Garamond",Georgia,serif; white-space:nowrap; } .tab-ok{ color:#5F9E73; font-size:20px; }
.tab-voile{ position:fixed; inset:0; z-index:200; background:rgba(20,16,12,.45); display:flex; align-items:flex-end; justify-content:center; }
.tab-feuille{ position:relative; width:min(640px,100%); max-height:90vh; overflow:auto; background:var(--bg,#FAF7F2); border-radius:28px 28px 0 0; padding:24px 22px 30px; box-sizing:border-box; }
.tab-x{ position:absolute; top:14px; right:14px; width:42px; height:42px; min-height:0; border-radius:21px; border:0; background:rgba(127,112,98,.15); font:400 24px/1 Inter,sans-serif; color:inherit; padding:0; cursor:pointer; z-index:3; }
.tab-grande{ font:500 38px/1.05 "Cormorant Garamond",Georgia,serif; color:#B8955F; margin-top:6px; }
.tab-inf{ display:grid; gap:2px; margin-top:14px; } .tab-inf > div{ display:flex; justify-content:space-between; gap:12px; padding:9px 0; border-top:1px solid rgba(127,112,98,.2); font-size:14px; } .tab-inf b{ text-align:right; font-weight:600; }
.tab-act{ display:flex; gap:8px; flex-wrap:wrap; margin-top:16px; } .tab-act .cta{ flex:1 1 100%; } .tab-feuille select{ width:100%; margin-top:6px; }
.tab-scan{ position:relative; border-radius:24px; overflow:hidden; background:#000; aspect-ratio:4/3; } .tab-scan video{ width:100%; height:100%; object-fit:cover; display:block; }
.tab-viseur{ position:absolute; inset:18% 22%; border:3px solid rgba(232,201,143,.9); border-radius:22px; box-shadow:0 0 0 999px rgba(0,0,0,.25); }
.tab-res{ margin-top:12px; padding:16px 18px; border-radius:20px; min-height:20px; } .tab-res:empty{ display:none; } .tab-res.ok{ background:rgba(95,158,115,.16); } .tab-res.deja{ background:rgba(212,176,122,.2); } .tab-res.ko{ background:rgba(180,71,58,.14); }
.tab-plan-o{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin-bottom:10px; }
.tab-svg{ width:100%; aspect-ratio:1; max-height:72vh; background:#FBF8F3; border-radius:22px; border:1px solid rgba(127,112,98,.2); touch-action:none; }
.tab-svg .salle{ fill:none; stroke:rgba(127,112,98,.3); stroke-width:.3; }
.tab-svg .tb-t circle{ fill:#F3ECE1; stroke:#CDB89A; stroke-width:.35; } .tab-svg .tb-t text, .tab-svg .tb-acc text{ font:600 2.6px Inter,sans-serif; text-anchor:middle; fill:#3A2E24; pointer-events:none; }
.tab-svg .tb-t.cible circle{ fill:#D4B07A; stroke:#B8955F; } .tab-svg .tb-t.trop circle{ stroke:#B4473A; stroke-width:.6; } .tab-svg .tb-t{ cursor:pointer; }
.tab-svg .tb-acc rect{ fill:#1D1813; } .tab-svg .tb-acc text{ fill:#fff; font-size:2px; }
.tab-svg .chemin{ fill:none; stroke:#D4B07A; stroke-width:1; stroke-dasharray:2 1.2; stroke-linecap:round; animation:tbch 1.2s linear infinite; } @keyframes tbch{ to{ stroke-dashoffset:-3.2; } }
.tab-3d{ position:fixed; inset:0; z-index:300; background:#15110d; } .tab-3d canvas{ display:block; } .tab-3d-t{ position:absolute; left:20px; top:18px; color:#fff; display:flex; flex-direction:column; gap:2px; } .tab-3d-t b{ font:500 30px/1 "Cormorant Garamond",Georgia,serif; color:#E8C98F; }
.tab-3d-r{ position:absolute; left:50%; bottom:28px; transform:translateX(-50%); } .tab-3d-msg{ position:absolute; inset:auto 0 50% 0; text-align:center; color:#E8DCCB; }
@media (min-width:900px){ .tab-voile{ align-items:center; } .tab-feuille{ border-radius:28px; } }
/* étape 7 */
.cl-c{ display:flex; gap:12px; align-items:flex-start; padding:12px 0; border-top:1px solid var(--line,rgba(127,112,98,.2)); cursor:pointer; } .cl-c input{ margin-top:3px; width:20px; height:20px; flex:none; } .cl-c span{ display:flex; flex-direction:column; gap:2px; }
/* partenaires et site */
.pr-f{ display:flex; gap:8px; margin-top:10px; } .pr-f select{ flex:1; min-width:0; }
.pr-liste{ margin-top:12px; } .pr-l{ display:flex; gap:12px; align-items:center; margin-top:8px; padding:14px 16px; border-radius:20px; border:1px solid rgba(127,112,98,.2); background:rgba(255,255,255,.6); cursor:pointer; }
.pr-l input[type=checkbox]{ width:22px; height:22px; flex:none; } .pr-n{ flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; } .pr-m{ flex:none; }
.pr-ct{ display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; } .pr-ct a{ text-decoration:none; }
.pr-map{ height:380px; border-radius:22px; overflow:hidden; margin-top:12px; border:1px solid rgba(127,112,98,.2); }
.pr-barre{ position:sticky; bottom:96px; display:flex; gap:12px; align-items:center; justify-content:space-between; margin-top:14px; padding:12px 16px; border-radius:24px; background:#1D1813; color:#fff; z-index:5; }
.pr-acc{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:10px; } .pr-acc input{ width:100%; box-sizing:border-box; }
.pr-ouv{ margin-top:14px; padding:14px 16px; border-radius:18px; background:rgba(212,176,122,.14); } .pr-ouv p{ margin:4px 0 0; font-style:italic; }
.pr-q{ display:flex; flex-direction:column; gap:4px; padding:12px 0; border-top:1px solid rgba(127,112,98,.2); margin-top:10px; } .pr-ch{ display:flex; flex-wrap:wrap; gap:6px; margin-top:4px; }
.pr-rep > div{ padding:3px 0; } .pr-rep .sub{ color:var(--gold); }
.si-v{ margin-top:12px; padding:12px 16px; border-radius:18px; background:rgba(180,71,58,.1); display:flex; flex-direction:column; gap:2px; } .si-v.ok{ background:rgba(95,158,115,.16); }
.si-p{ display:flex; gap:12px; align-items:center; padding:12px 0; border-top:1px solid rgba(127,112,98,.2); } .si-p select{ flex:none; width:auto; }
.tab-feuille .ch.sel, .pr-appel .ch.sel{ background:#1D1813; color:#fff; }
.pr-ct a{ display:inline-flex; align-items:center; min-height:38px; padding:0 16px; border-radius:19px; border:1px solid rgba(127,112,98,.3); font:600 11px/1 Inter,sans-serif; letter-spacing:.14em; text-transform:uppercase; color:inherit; background:rgba(255,255,255,.7); }
.pr-ct a:first-child{ background:#1D1813; color:#fff; border-color:#1D1813; }

/* Visite guidée */
.vis{ position:fixed; inset:0; z-index:900; }
.vis-trou{ position:fixed; border-radius:18px; box-shadow:0 0 0 9999px rgba(20,16,12,.55); transition:all .28s ease; pointer-events:none; outline:2px solid #E4CDA4; outline-offset:0; }
.vis-bulle{ position:fixed; width:min(340px,calc(100vw - 24px)); background:#FFFDF9; color:#1D1813; border-radius:22px; padding:18px 18px 14px; box-shadow:0 24px 60px -18px rgba(0,0,0,.55); transition:top .28s ease,left .28s ease; }
.vis-k{ font:600 10.5px/1 Inter,sans-serif; letter-spacing:.18em; text-transform:uppercase; color:#8A6A42; }
.vis-t{ font:500 22px/1.2 "Cormorant Garamond",Georgia,serif; margin:8px 0 6px; }
.vis-d{ font:400 14px/1.5 Inter,sans-serif; color:#5E554C; }
.vis-b{ display:flex; gap:8px; align-items:center; margin-top:14px; }
.vis-b button{ min-height:40px; padding:0 16px; border-radius:20px; border:1px solid rgba(120,90,60,.2); background:transparent; color:#1D1813; font:500 13px Inter,sans-serif; cursor:pointer; letter-spacing:0; text-transform:none; }
.vis-b .vis-suiv{ background:#1D1813; color:#F6EEDF; border-color:#1D1813; }
.vis-b .vis-passer{ border:0; padding:0 6px; color:#857A6F; text-decoration:underline; }
