/* =====================================================
   LA TOURNÉE — Portail exposants
   Réutilise les variables et composants de styles.css.
   ===================================================== */

.portal-body{ padding-bottom: 110px; }

/* L'attribut hidden doit toujours gagner sur les display:flex des composants */
.portal-body [hidden]{ display:none !important; }

/* ===== En-tête ===== */
.pnav{
  position: sticky; top:0; z-index:10;
  background: rgba(251, 246, 236, .94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom:1px solid var(--line);
}
.pnav__inner{
  max-width:1100px; margin:0 auto; height:var(--nav-h);
  padding:0 24px;
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
}
.pnav .nav__brand{ margin-right:0; }
.portal-tag{
  margin-right:auto;
  font-size:.68rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase;
  color:var(--brand-deep);
  border:1.5px solid rgba(47,95,165,.45); border-radius:999px;
  padding:.3rem .8rem;
  background:rgba(47,95,165,.06);
}
.pnav__side{ display:flex; align-items:center; gap:1.1rem; }
.pnav__back{
  text-decoration:none; color:var(--ink-soft); font-weight:600; font-size:.9rem;
  transition: color .25s var(--ease);
}
.pnav__back:hover{ color:var(--brand-deep); }
.pnav__user{
  font-weight:700; font-size:.85rem; color:var(--ink);
  background:var(--paper); border:1.5px dashed rgba(33,26,22,.3);
  padding:.35rem .9rem; border-radius:999px;
}
.pnav__logout{
  background:none; border:none; cursor:pointer;
  font-family:var(--sans); font-weight:700; font-size:.85rem; color:var(--brand-deep);
  padding:.3rem 0; border-bottom:1.5px solid transparent;
  transition: border-color .25s var(--ease);
}
.pnav__logout:hover{ border-bottom-color:var(--brand-deep); }

/* ===== Structure ===== */
.portal{ max-width:1100px; margin:0 auto; padding: 48px 24px 0; }
.pview{ animation: viewIn .45s var(--ease); }
@keyframes viewIn{ from{ opacity:0; transform: translateY(14px); } to{ opacity:1; transform:none; } }

.phead{ margin-bottom:2rem; }
.phead h1{
  font-family:var(--serif); font-weight:900; font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height:1.1; margin-bottom:.4rem;
}
.phead h1 em{ color:var(--brand); font-style:italic; font-weight:600; }
.phead p{ color:var(--ink-soft); }

.pcard{
  background:#fff; border:1.5px solid var(--line); border-radius:var(--radius);
  padding:1.6rem;
}

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}

/* ===== Connexion ===== */
.auth{
  display:grid; grid-template-columns: 1.1fr 1fr; gap:3rem; align-items:center;
  padding: 40px 0 20px;
}
.auth__title{
  font-family:var(--serif); font-weight:900; font-size:clamp(2rem, 4.5vw, 3rem);
  line-height:1.08; margin:.8rem 0 1.4rem;
}
.auth__title em{ color:var(--brand); font-style:italic; font-weight:600; }
.auth__points{ list-style:none; display:flex; flex-direction:column; gap:.55rem; margin-bottom:1.6rem; }
.auth__points li{
  padding-left:1.6rem; position:relative; color:var(--ink-soft); font-size:1.02rem;
}
.auth__points li::before{
  content:"★"; position:absolute; left:0; top:0; color:var(--brand); font-size:.85rem;
}
.auth__demo{
  display:inline-block;
  font-size:.8rem; font-weight:700; letter-spacing:.06em;
  color:var(--ink-soft); background:var(--paper);
  border:1.5px dashed rgba(33,26,22,.3); border-radius:999px;
  padding:.35rem 1rem;
}
.auth__form h2{ font-family:var(--serif); font-weight:800; font-size:1.4rem; margin-bottom:1.2rem; }
.auth__form{ display:flex; flex-direction:column; gap:1rem; }
.auth__submit{ margin-top:.4rem; }

.pfield{ display:flex; flex-direction:column; gap:.35rem; }
.pfield label{ font-weight:700; font-size:.88rem; }
.pfield label span{ font-weight:500; color:var(--ink-soft); }
.pfield input, .pnote, .support__composer textarea{
  font-family:var(--sans); font-size:1rem; color:var(--ink);
  background:var(--cream); border:1.5px solid var(--line); border-radius:12px;
  padding:.75rem .95rem;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.pfield input:focus, .pnote:focus, .support__composer textarea:focus{
  outline:none; border-color:var(--brand);
  box-shadow: 0 0 0 3px rgba(47,95,165,.15);
}

/* ===== Tableau de bord ===== */
.pstats{ display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-bottom:1.6rem; }
.pstat{
  background:#fff; border:1.5px solid var(--line); border-radius:var(--radius);
  padding:1.3rem 1rem; text-align:center; cursor:pointer;
  font-family:var(--sans);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.pstat:hover{ border-color:rgba(47,95,165,.5); box-shadow:0 12px 30px rgba(33,26,22,.08); transform:translateY(-2px); }
.pstat strong{
  display:block; font-family:var(--serif); font-weight:900; font-size:1.9rem;
  color:var(--brand-deep); font-variant-numeric: tabular-nums;
}
.pstat span{
  font-size:.78rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color:var(--ink-soft);
}
.pactions{ display:flex; gap:.9rem; flex-wrap:wrap; margin-bottom:1.6rem; }
.pnext__label{
  font-size:.75rem; font-weight:700; letter-spacing:.2em; text-transform:uppercase;
  color:var(--brand-deep); margin-bottom:.3rem;
}
.pnext__title{ font-family:var(--serif); font-weight:800; font-size:1.3rem; }
.pnext__meta{ color:var(--ink-soft); font-size:.95rem; }

/* ===== Réservation ===== */
.booking{
  display:grid; grid-template-columns: 1.6fr 1fr; gap:1.3rem; align-items:start;
}
.booking__main{ display:flex; flex-direction:column; gap:1.3rem; }
.booking__step{ border:1.5px solid var(--line); }
.booking__step legend{
  font-family:var(--serif); font-weight:800; font-size:1.15rem;
  display:flex; align-items:center; gap:.6rem;
  padding:0 .6rem; margin-left:-.6rem;
}
.legend-opt{ font-family:var(--sans); font-weight:500; font-size:.85rem; color:var(--ink-soft); }
.step-num{
  display:inline-flex; align-items:center; justify-content:center;
  width:26px; height:26px; border-radius:50%; flex:none;
  background:var(--brand); color:var(--cream);
  font-family:var(--sans); font-weight:800; font-size:.85rem;
}

/* Choix du show */
.show-picker{ display:flex; flex-direction:column; gap:.6rem; margin-top:.9rem; }
.show-opt{ display:block; cursor:pointer; }
.show-opt input{ position:absolute; opacity:0; pointer-events:none; }
.show-opt__body{
  display:flex; align-items:center; gap:1rem;
  border:1.5px solid var(--line); border-radius:12px; padding:.8rem 1rem;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.show-opt:hover .show-opt__body{ border-color:rgba(47,95,165,.5); }
.show-opt input:checked + .show-opt__body{
  border-color:var(--brand); background:rgba(47,95,165,.06);
  box-shadow: 0 0 0 1px var(--brand) inset;
}
.show-opt input:focus-visible + .show-opt__body{ outline:3px solid var(--brand); outline-offset:2px; }
.show-opt__date{
  font-family:var(--serif); font-weight:900; font-size:1.05rem; color:var(--brand-deep);
  min-width:86px; text-align:center; line-height:1.15;
}
.show-opt__date small{ display:block; font-family:var(--sans); font-weight:700; font-size:.66rem; letter-spacing:.16em; color:var(--ink-soft); }
.show-opt__name{ font-weight:700; }
.show-opt__meta{ font-size:.85rem; color:var(--ink-soft); }

/* Domaine de l'exposant */
.domain-field{ padding:.85rem 0 1rem; border-bottom:1px dashed var(--line); }
.domain-field__label{ font-weight:800; margin-bottom:.7rem; }
.domain-picker{ display:grid; grid-template-columns:repeat(3,1fr); gap:.65rem; }
.domain-opt{ position:relative; cursor:pointer; min-width:0; }
.domain-opt input{ position:absolute; opacity:0; pointer-events:none; }
.domain-opt > span{
  display:flex; min-height:76px; flex-direction:column; justify-content:center; gap:.15rem;
  padding:.75rem .85rem; border:1.5px solid var(--line); border-radius:12px;
  font-weight:800; transition:border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.domain-opt small{ color:var(--ink-soft); font-weight:500; line-height:1.25; }
.domain-opt:hover > span{ border-color:rgba(47,95,165,.5); }
.domain-opt input:checked + span{ border-color:var(--brand); background:rgba(47,95,165,.07); box-shadow:0 0 0 1px var(--brand) inset; }
.domain-opt input:focus-visible + span{ outline:3px solid var(--brand); outline-offset:2px; }

@media (max-width:640px){ .domain-picker{ grid-template-columns:1fr; } }

/* Quantités */
.qty-row{
  display:flex; align-items:center; gap:1.2rem; flex-wrap:wrap;
  padding:.9rem 0; margin-top:.5rem;
}
.qty-row > div:first-child{ flex:1; min-width:200px; }
.qty-row__name{ font-weight:700; }
.qty-row__desc, .opt-row__desc{ font-size:.85rem; color:var(--ink-soft); }
.qty-row__note{
  font-size:.82rem; color:var(--brand-deep); margin-top:.35rem;
  padding-left:.65rem; border-left:2px solid rgba(47,95,165,.35);
}
.qty-ctl{ display:flex; align-items:center; gap:.7rem; }
.qty-btn{
  width:38px; height:38px; border-radius:50%; cursor:pointer;
  background:var(--cream); border:1.5px solid var(--line);
  font-size:1.15rem; font-weight:700; color:var(--ink);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.qty-btn:hover{ border-color:var(--brand); color:var(--brand-deep); }
.qty-btn:focus-visible{ outline:3px solid var(--brand); outline-offset:2px; }
.qty-val{
  font-family:var(--serif); font-weight:900; font-size:1.4rem; min-width:28px; text-align:center;
  font-variant-numeric: tabular-nums;
}
.qty-price{ font-weight:700; color:var(--brand-deep); min-width:90px; text-align:right; }

/* Options / upsells */
.upsells{ display:flex; flex-direction:column; gap:.35rem; margin-top:.9rem; }
.opt-row{
  display:flex; align-items:flex-start; gap:.85rem; cursor:pointer;
  padding:.7rem .6rem; border-radius:12px;
  transition: background-color .2s var(--ease);
}
.opt-row:hover{ background:rgba(47,95,165,.05); }
.opt-row input{
  width:20px; height:20px; margin-top:.15rem; flex:none;
  accent-color: var(--brand); cursor:pointer;
}
.opt-row__body{ display:flex; flex-direction:column; gap:.1rem; }
.opt-row__name{ font-weight:700; }
.opt-row__name em{ font-style:normal; color:var(--brand-deep); font-weight:800; margin-left:.35rem; }
.opt-row--switch{ margin-top:.4rem; border-top:1px dashed var(--line); padding-top:1rem; }

.pnote{ width:100%; resize:vertical; margin-top:.9rem; }

/* Résumé */
.booking__summary{ position:sticky; top: calc(var(--nav-h) + 20px); }
.booking__summary h2{ font-family:var(--serif); font-weight:800; font-size:1.3rem; margin-bottom:.6rem; }
.summary__show{
  font-weight:700; font-size:.92rem; color:var(--ink-soft);
  padding-bottom:.8rem; border-bottom:1px dashed var(--line); margin-bottom:.8rem;
}
.summary__lines{ list-style:none; display:flex; flex-direction:column; gap:.45rem; margin-bottom:1rem; }
.summary__lines li{
  display:flex; justify-content:space-between; gap:1rem; font-size:.92rem;
}
.summary__lines li span:last-child{ font-weight:700; white-space:nowrap; }
.summary__totals{ border-top:1px dashed var(--line); padding-top:.8rem; margin-bottom:1.1rem; }
.summary__totals p{ display:flex; justify-content:space-between; font-size:.92rem; color:var(--ink-soft); }
.summary__totals strong{ font-variant-numeric: tabular-nums; color:var(--ink); }
.summary__grand{ font-size:1.05rem !important; margin-top:.4rem; }
.summary__grand span{ font-weight:800; color:var(--ink); }
.summary__grand strong{
  font-family:var(--serif); font-weight:900; font-size:1.5rem; color:var(--brand-deep) !important;
}
.summary__submit{ width:100%; }
.summary__submit:disabled{
  opacity:.45; cursor:not-allowed; transform:none !important;
  box-shadow: 0 4px 0 var(--brand-dark);
}
.summary__note{ font-size:.8rem; color:var(--ink-soft); margin-top:.8rem; line-height:1.5; }

/* ===== Liste des réservations ===== */
.res-list{ display:flex; flex-direction:column; gap:1.1rem; }
.res{
  background:#fff; border:1.5px solid var(--line); border-radius:var(--radius);
  padding:1.4rem 1.6rem;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.res:hover{ border-color:rgba(47,95,165,.4); box-shadow:0 12px 32px rgba(33,26,22,.08); }
.res__top{ display:flex; align-items:flex-start; justify-content:space-between; gap:1rem; flex-wrap:wrap; margin-bottom:.6rem; }
.res__title{ font-family:var(--serif); font-weight:800; font-size:1.25rem; }
.res__meta{ color:var(--ink-soft); font-size:.9rem; }
.res__badges{ display:flex; gap:.5rem; flex-wrap:wrap; }
.pbadge{
  font-size:.7rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase;
  padding:.28rem .75rem; border-radius:999px; white-space:nowrap;
}
.pbadge--wait{ background:rgba(47,95,165,.1); color:var(--brand-deep); border:1px solid rgba(47,95,165,.4); }
.pbadge--paid{ background:var(--ink); color:var(--cream); }
.pbadge--confirmed{ background:var(--brand); color:var(--cream); }
.pbadge--cancel{ background:rgba(33,26,22,.07); color:var(--ink-soft); }
.res__lines{ list-style:none; color:var(--ink-soft); font-size:.92rem; margin:.5rem 0 .9rem; }
.res__lines li{ padding-left:1.2rem; position:relative; }
.res__lines li::before{ content:"•"; position:absolute; left:.3rem; color:var(--brand); }
.res__foot{
  display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap;
  border-top:1px dashed var(--line); padding-top:.9rem;
}
.res__total{ font-weight:800; }
.res__total strong{ font-family:var(--serif); font-size:1.2rem; color:var(--brand-deep); }
.res__actions{ display:flex; gap:1.1rem; flex-wrap:wrap; }
.res__action{
  display:inline-flex; align-items:center; gap:.4rem;
  background:none; border:none; cursor:pointer;
  font-family:var(--sans); font-weight:700; font-size:.88rem; color:var(--brand-deep);
  padding:.25rem 0; border-bottom:1.5px solid transparent;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.res__action:hover{ border-bottom-color:var(--brand-deep); }
.res__action--muted{ color:var(--ink-soft); }
.res__action--muted:hover{ color:var(--ink); border-bottom-color:var(--ink); }

.pempty{
  text-align:center; padding:3rem 1rem; color:var(--ink-soft);
  display:flex; flex-direction:column; align-items:center; gap:1rem;
}

/* ===== Support ===== */
.support{ display:flex; flex-direction:column; gap:1rem; }
.support__thread{
  display:flex; flex-direction:column; gap:.8rem;
  max-height:420px; overflow-y:auto; padding:.4rem;
}
.msg{
  max-width:75%; padding:.75rem 1rem; border-radius:14px; font-size:.95rem;
  line-height:1.5;
}
.msg--client{
  align-self:flex-end; background:var(--brand); color:var(--cream);
  border-bottom-right-radius:4px;
}
.msg--support{
  align-self:flex-start; background:var(--paper); color:var(--ink);
  border:1px solid var(--line); border-bottom-left-radius:4px;
}
.msg__meta{ display:block; font-size:.7rem; opacity:.7; margin-top:.3rem; }
.support__composer{ display:flex; gap:.8rem; align-items:flex-end; }
.support__composer textarea{ flex:1; resize:none; }
.support__alt{ font-size:.85rem; color:var(--ink-soft); }

/* ===== Onglets fixes du portail ===== */
.ptabs{
  position:fixed; left:50%; bottom:18px; transform:translateX(-50%);
  z-index:30;
  display:flex; gap:.3rem;
  background:rgba(251,246,236,.95);
  border:1.5px solid var(--line); border-radius:999px;
  padding:.35rem;
  box-shadow: 0 14px 40px rgba(33,26,22,.18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.ptab{
  display:inline-flex; align-items:center; gap:.5rem;
  background:none; border:none; cursor:pointer;
  font-family:var(--sans); font-weight:700; font-size:.88rem; color:var(--ink-soft);
  padding:.6rem 1.1rem; border-radius:999px;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.ptab:hover{ color:var(--ink); background:rgba(33,26,22,.05); }
.ptab.is-active{ background:var(--brand); color:var(--cream); }
.ptab:focus-visible{ outline:3px solid var(--brand); outline-offset:2px; }

/* ===== Facture ===== */
.invoice-overlay{
  position:fixed; inset:0; z-index:50;
  background:rgba(20,14,11,.6);
  display:flex; align-items:flex-start; justify-content:center;
  overflow-y:auto; padding:40px 16px;
}
.invoice{ width:min(720px, 100%); }
.invoice__actions{ display:flex; justify-content:flex-end; gap:.8rem; margin-bottom:.8rem; }
.invoice__paper{
  background:#fff; border-radius:14px; padding:2.4rem;
  box-shadow:0 30px 80px rgba(0,0,0,.35);
}
.inv-head{ display:flex; justify-content:space-between; gap:1rem; align-items:flex-start; margin-bottom:1.8rem; }
.inv-brand p{ margin-top:.5rem; font-family:var(--sans); font-weight:600; color:var(--ink-soft); font-size:.82rem; line-height:1.5; }
.inv-logo{ height:62px; width:auto; display:block; }
.inv-num{ text-align:right; }
.inv-num h2{ font-family:var(--serif); font-weight:900; font-size:1.5rem; }
.inv-num p{ color:var(--ink-soft); font-size:.88rem; }
.inv-status{
  display:inline-block; margin-top:.4rem;
  font-size:.7rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase;
  padding:.28rem .75rem; border-radius:999px;
}
.inv-status--due{ background:rgba(47,95,165,.1); color:var(--brand-deep); border:1px solid rgba(47,95,165,.4); }
.inv-status--paid{ background:var(--ink); color:var(--cream); }
.inv-parties{
  display:grid; grid-template-columns:1fr 1fr; gap:1.5rem;
  margin-bottom:1.8rem; font-size:.92rem;
}
.inv-parties h3{
  font-size:.72rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase;
  color:var(--brand-deep); margin-bottom:.35rem;
}
.inv-parties p{ color:var(--ink-soft); }
.inv-parties strong{ color:var(--ink); }
.inv-table{ width:100%; border-collapse:collapse; margin-bottom:1.4rem; font-size:.94rem; }
.inv-table th{
  text-align:left; font-size:.72rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--ink-soft); padding:.5rem 0; border-bottom:2px solid var(--ink);
}
.inv-table th:last-child, .inv-table td:last-child{ text-align:right; }
.inv-table td{ padding:.65rem 0; border-bottom:1px solid var(--line); }
.inv-totals{ margin-left:auto; width:min(280px, 100%); font-size:.94rem; }
.inv-totals p{ display:flex; justify-content:space-between; padding:.25rem 0; color:var(--ink-soft); }
.inv-totals .inv-grand{
  border-top:2px solid var(--ink); margin-top:.4rem; padding-top:.6rem;
  color:var(--ink); font-weight:800; font-size:1.1rem;
}
.inv-foot{
  margin-top:1.8rem; padding-top:1rem; border-top:1px dashed var(--line);
  font-size:.82rem; color:var(--ink-soft); line-height:1.6;
}

/* ===== Toast ===== */
.ptoast{
  position:fixed; left:50%; bottom:92px; transform:translateX(-50%);
  z-index:60;
  background:var(--ink); color:var(--cream);
  font-weight:600; font-size:.92rem;
  padding:.8rem 1.4rem; border-radius:999px;
  box-shadow:0 14px 40px rgba(33,26,22,.3);
  animation: toastIn .35s var(--ease);
}
@keyframes toastIn{ from{ opacity:0; transform:translate(-50%, 10px); } to{ opacity:1; transform:translate(-50%, 0); } }

/* ===== Fil des étapes ===== */
.steps{
  list-style:none; display:flex; gap:.4rem; flex-wrap:wrap;
  margin:0 auto 2rem; padding:0; max-width:640px;
  counter-reset:step;
}
.steps__item{
  flex:1 1 0; min-width:130px;
  display:flex; align-items:center; gap:.55rem;
  font-weight:700; font-size:.82rem; color:var(--ink-soft);
  padding:.55rem .7rem; border-radius:12px;
  border:1.5px solid transparent;
  transition:color .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease);
}
.steps__num{
  display:inline-flex; align-items:center; justify-content:center;
  width:24px; height:24px; border-radius:50%; flex:none;
  background:var(--paper); color:var(--ink-soft);
  font-size:.82rem; font-weight:800;
  border:1.5px solid var(--line);
  transition:background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.steps__item.is-active{ color:var(--ink); background:rgba(47,95,165,.07); border-color:rgba(47,95,165,.35); }
.steps__item.is-active .steps__num{ background:var(--brand); color:var(--cream); border-color:var(--brand); }
.steps__item.is-done{ color:var(--brand-deep); }
.steps__item.is-done .steps__num{ background:var(--brand-deep); color:var(--cream); border-color:var(--brand-deep); }
.steps__item.is-done .steps__num::after{ content:"✓"; }
.steps__item.is-done .steps__num{ font-size:0; }
.steps__item.is-done .steps__num::after{ font-size:.9rem; }

/* ===== Étape 1 — coordonnées ===== */
.info-form{ max-width:680px; }
.info-form h2{ font-family:var(--serif); font-weight:800; font-size:1.4rem; margin-bottom:1.2rem; }
.info-grid{ display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin-bottom:1.4rem; }
.pfield__hint{ font-size:.8rem; color:var(--ink-soft); }
@media (max-width:640px){ .info-grid{ grid-template-columns:1fr; } }

/* ===== Étape 2 — configurateur ===== */
.fieldset-legend{
  font-family:var(--serif); font-weight:800; font-size:1.15rem;
  display:flex; align-items:center; gap:.6rem; margin-bottom:.2rem;
}
.show-opt__tag{
  font-family:var(--sans); font-size:.66rem; font-weight:800; letter-spacing:.1em;
  text-transform:uppercase; color:var(--brand-deep);
  background:rgba(47,95,165,.12); border-radius:999px; padding:.1rem .5rem;
}
.show-opt__tag--full{ color:var(--cream); background:#B23A2E; }
.show-opt--full{ cursor:not-allowed; }
.show-opt--full .show-opt__body{ background:rgba(33,26,22,.035); border-style:dashed; }
.show-opt--full:hover .show-opt__body{ border-color:var(--line); }
.show-opt--full .show-opt__date, .show-opt--full .show-opt__name{ opacity:.55; }
.show-opt__full-note{ color:#B23A2E; font-weight:600; }
.show-picker__allfull{ margin-top:.6rem; margin-bottom:0; }
.show-picker__allfull a{ font-weight:700; }
.add-event{
  display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap;
  background:var(--paper); border:1.5px dashed rgba(33,26,22,.28);
  border-radius:var(--radius); padding:1rem 1.4rem;
}
.add-event__price{ font-weight:700; color:var(--ink-soft); }
.add-event__price strong{ font-family:var(--serif); font-size:1.2rem; color:var(--brand-deep); margin-left:.2rem; }

/* ===== Panier « Ma demande » ===== */
.cart{ display:flex; flex-direction:column; gap:.8rem; margin-bottom:1rem; }
.cart__empty{ color:var(--ink-soft); font-size:.9rem; line-height:1.5; margin-bottom:1rem; }
.cart-item{
  border:1.5px solid var(--line); border-radius:14px; padding:.9rem 1rem;
  background:var(--cream);
}
.cart-item__head{ display:flex; align-items:flex-start; justify-content:space-between; gap:.6rem; }
.cart-item__title{ font-weight:800; font-size:.98rem; }
.cart-item__meta{ font-size:.8rem; color:var(--ink-soft); }
.cart-item__remove{
  flex:none; width:26px; height:26px; border-radius:50%; cursor:pointer;
  background:none; border:1.5px solid var(--line); color:var(--ink-soft);
  font-size:.8rem; line-height:1; transition:border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease);
}
.cart-item__remove:hover{ border-color:#b23; color:#b23; background:rgba(187,51,51,.06); }
.cart-item__lines{ list-style:none; margin-top:.6rem; display:flex; flex-direction:column; gap:.3rem; }
.cart-item__lines li{ display:flex; justify-content:space-between; gap:1rem; font-size:.86rem; color:var(--ink-soft); }
.cart-item__lines li span:last-child{ white-space:nowrap; font-weight:700; color:var(--ink); }
.cart-item__note span{ font-style:italic; }
.cart__back{ width:100%; margin-top:.6rem; }

/* ===== Étape 3 — facture + envoi ===== */
.invoice-layout{ display:grid; grid-template-columns:1.5fr 1fr; gap:1.4rem; align-items:start; }
.invoice-layout .invoice__paper{ box-shadow:0 18px 50px rgba(33,26,22,.1); }
.invoice-side{ display:flex; flex-direction:column; gap:1.2rem; position:sticky; top:calc(var(--nav-h) + 20px); }

.etransfer__title{ font-family:var(--serif); font-weight:800; font-size:1.2rem; margin-bottom:.3rem; }
.etransfer__lead{ font-size:.9rem; color:var(--ink-soft); margin-bottom:.7rem; }
.etransfer__amount{
  font-family:var(--serif); font-weight:900; font-size:1.9rem; color:var(--brand-deep);
  background:rgba(47,95,165,.08); border:1.5px solid rgba(47,95,165,.3); border-radius:12px;
  text-align:center; padding:.6rem; margin-bottom:1rem;
}
.etransfer__grid{ display:flex; flex-direction:column; gap:.6rem; margin-bottom:.9rem; }
.etransfer__grid > div{ display:flex; flex-direction:column; gap:.1rem; }
.etransfer__grid dt{ font-size:.7rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-soft); }
.etransfer__grid dd{ font-weight:700; word-break:break-word; }
.etransfer__hint{ font-size:.8rem; color:var(--ink-soft); line-height:1.5; }

.send-box__lead{ font-size:.92rem; color:var(--ink-soft); line-height:1.55; margin-bottom:1rem; }
.send-consent{ display:flex; gap:.7rem; align-items:flex-start; font-size:.88rem; margin-bottom:1rem; cursor:pointer; }
.send-consent input{ width:20px; height:20px; margin-top:.1rem; flex:none; accent-color:var(--brand); cursor:pointer; }
.send-box .btn--lg{ width:100%; }
.send-box__row{ display:flex; gap:.6rem; justify-content:space-between; margin-top:.8rem; flex-wrap:wrap; }

@media (max-width:920px){ .invoice-layout{ grid-template-columns:1fr; } .invoice-side{ position:static; } }

/* ===== Étape 4 — confirmation ===== */
.done{ max-width:680px; margin:0 auto; text-align:center; padding:2.6rem 2rem; }
.done__check{
  width:66px; height:66px; margin:0 auto 1.2rem; border-radius:50%;
  background:var(--brand); color:var(--cream);
  display:flex; align-items:center; justify-content:center; font-size:2rem; font-weight:900;
  box-shadow:0 10px 26px rgba(47,95,165,.4);
}
.done h1{ font-family:var(--serif); font-weight:900; font-size:clamp(1.8rem,4vw,2.4rem); margin-bottom:.6rem; }
.done h1 em{ color:var(--brand); font-style:italic; font-weight:600; }
.done__lead{ color:var(--ink-soft); max-width:520px; margin:0 auto 1.6rem; }
.done__lead strong{ color:var(--brand-deep); }
.done__steps{
  list-style:none; counter-reset:d; text-align:left;
  max-width:480px; margin:0 auto 1.8rem; display:flex; flex-direction:column; gap:.7rem;
}
.done__steps li{
  position:relative; padding-left:2.4rem; font-size:.95rem; color:var(--ink-soft); line-height:1.5;
}
.done__steps li strong{ color:var(--ink); }
.done__steps li::before{
  counter-increment:d; content:counter(d);
  position:absolute; left:0; top:0;
  width:26px; height:26px; border-radius:50%;
  background:var(--paper); border:1.5px solid var(--brand); color:var(--brand-deep);
  display:flex; align-items:center; justify-content:center; font-weight:800; font-size:.82rem;
}
.done__actions{ display:flex; gap:.8rem; justify-content:center; flex-wrap:wrap; margin-bottom:1.4rem; }
.done__help{ font-size:.86rem; color:var(--ink-soft); }

/* ===== Facture — regroupement par événement ===== */
.inv-group__head th{
  text-align:left; padding:.9rem 0 .4rem; border-bottom:1px solid var(--line);
  font-family:var(--serif); font-weight:800; font-size:.98rem; color:var(--ink); text-transform:none; letter-spacing:0;
}
.inv-group__meta{ display:block; font-family:var(--sans); font-weight:600; font-size:.78rem; color:var(--ink-soft); margin-top:.15rem; }
.inv-note{ font-size:.82rem; color:var(--ink-soft); font-style:italic; padding-top:.2rem !important; }

/* ===== Impression : seule la facture ===== */
@media print{
  body *{ visibility:hidden; }
  .invoice-overlay{ position:static; background:none; padding:0; overflow:visible; }
  .invoice__paper, .invoice__paper *{ visibility:visible; }
  .invoice__paper{ box-shadow:none; border-radius:0; padding:0; }
  .no-print{ display:none !important; }
}

/* ===== Responsive ===== */
@media (max-width: 920px){
  .auth{ grid-template-columns:1fr; gap:2rem; padding-top:16px; }
  .booking{ grid-template-columns:1fr; }
  .booking__summary{ position:static; }
}
@media (max-width: 640px){
  .pstats{ grid-template-columns:1fr; }
  .portal{ padding-top:28px; }
  .ptabs{ width:calc(100% - 24px); justify-content:space-between; }
  .ptab{ padding:.6rem .8rem; font-size:0; gap:0; }
  .ptab svg{ width:21px; height:21px; }
  .pnav__back{ display:none; }
  .inv-parties{ grid-template-columns:1fr; }
  .invoice__paper{ padding:1.4rem; }
  .msg{ max-width:88%; }
}
