/* ============================================================
 * ÔCRYO — Booking Widget — Glassmorphism Light
 * ============================================================ */

/*
 * Isolation du thème : on déclare nos styles dans un @layer nommé
 * avec une priorité explicitement plus haute que les styles non-layered
 * du thème Elementor. Les styles sans @layer ont toujours la priorité
 * sur les styles dans un layer — donc on utilise un layer "override"
 * déclaré APRÈS pour gagner la bataille de spécificité.
 *
 * Stratégie : wrapper + sélecteur doublé sur chaque règle critique.
 */

/* Neutraliser les variables CSS d'Elementor dans notre container */
#ocryo-booking-app,
.ocryo-booking-container {
  --e-global-color-accent: #1A365D;
  --e-global-color-primary: #1A365D;
  --e-global-color-secondary: #82A0BC;
  --e-global-color-text: #0F172A;
  /* Elementor Pro injecte aussi ces variables */
  --e-global-button-background-color: #1A365D;
  --e-global-button-text-color: #ffffff;
  --e-global-button-border-color: transparent;
  --e-global-button-hover-background-color: #152b4a;
}
#ocryo-booking-app .ob-formule-btn {
   padding: 2vh!important;
}
/* Annuler toute limitation de largeur imposée par le thème sur .ocryo-booking-container */
/* Scoper la police Inter sur tout le widget pour neutraliser les overrides du thème */
#ocryo-booking-app {
  max-width: none !important;
  width: 100% !important;
  font-family: var(--font-body) !important;
}
#ocryo-booking-app *,
#ocryo-booking-app *::before,
#ocryo-booking-app *::after {
  font-family: inherit;
}

/* ── Neutralisation du reset Hello Elementor ────────────────────
 * reset.css du thème applique sur tous les <button> :
 *   border: 1px solid #c36; color: #c36; white-space: nowrap; background: transparent
 * Ces règles cassent les cartes de service (texte non wrappable, couleur rose).
 * On les neutralise ici avec le même niveau de spécificité + scope.
 * ─────────────────────────────────────────────────────────────── */
#ocryo-booking-app button {
  border: none;
  color: inherit;
  background-color: transparent;
  white-space: normal;
  font-size: inherit;
  font-weight: inherit;
  padding: 0;
  text-align: inherit;
  transition: none;
}
#ocryo-booking-app button:hover,
#ocryo-booking-app button:focus {
  background-color: transparent;
  color: inherit;
  text-decoration: none;
}
/* reset.css applique aussi sur h1-h6 : font-family: inherit — écrase Playfair Display */
#ocryo-booking-app h1,
#ocryo-booking-app h2,
#ocryo-booking-app h3 {
  font-family: var(--font-display) !important;
  color: #1A365D;
  margin-block-start: 0;
  margin-block-end: 0;
}
/* reset.css : input[type=date] { border: 1px solid #666; border-radius: 3px; padding: .5rem 1rem } */
#ocryo-booking-app input[type="date"],
#ocryo-booking-app input[type="email"],
#ocryo-booking-app input[type="tel"],
#ocryo-booking-app input[type="text"] {
  border: 1.5px solid rgba(130,160,188,0.35);
  border-radius: 0.875rem;
  padding: 0.875rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* ── Wrapper principal (tunnel de réservation uniquement) ───── */
.ocryo-booking-wrap {
  padding: 3rem 1rem 4rem;
  background:
    radial-gradient(ellipse 70% 50% at 15% 10%, rgba(130,160,188,0.20) 0%, transparent 60%),
    radial-gradient(ellipse 60% 45% at 85% 85%, rgba(26,54,93,0.10) 0%, transparent 55%),
    linear-gradient(160deg, #f0f4f8 0%, #e8eef5 50%, #f2f6f9 100%);
}

/* ── Fix Hello Elementor overflow-x:hidden qui bloque le scroll ── */
/* !important conservé ici : ces règles ciblent html/body, éléments ancêtres du
   wrapper #ocryo-booking-app. Il est techniquement impossible de les surcharger
   par spécificité depuis un sélecteur enfant — !important est inévitable. */
html,
body {
  overflow-x: unset !important;
  overflow-y: auto !important;
}

/* ── Glass card ─────────────────────────────────────────────── */
.ob-glass {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(130,160,188,0.25);
  border-radius: 1.5rem;
  box-shadow:
    0 8px 32px rgba(26,54,93,0.10),
    0 2px 8px rgba(26,54,93,0.06),
    inset 0 1px 0 rgba(255,255,255,0.90);
  padding: 2.5rem 2rem;
  box-sizing: border-box;
  /* overflow: hidden retiré — coupait le contenu des steps 2+ */
}

/* ── Progress bar ───────────────────────────────────────────── */
.ob-progress {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 2rem;
}
.ob-progress-dot {
  height: 4px;
  flex: 1;
  border-radius: 9999px;
  background: rgba(26,54,93,0.12);
  transition: all 0.35s ease;
}
.ob-progress-dot.active {
  background: #1A365D;
  box-shadow: 0 0 6px rgba(26,54,93,0.30);
}
.ob-progress-dot.done {
  background: #82A0BC;
}
.ob-progress-label {
  margin-left: 0.5rem;
  font-size: 0.72rem;
  color: rgba(15,23,42,0.35);
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Step header ────────────────────────────────────────────── */
.ob-step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.ob-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(26,54,93,0.15);
  background: rgba(26,54,93,0.05);
  color: rgba(15,23,42,0.50);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
}
.ob-back-btn:hover {
  background: rgba(26,54,93,0.10);
  color: #1A365D;
  border-color: rgba(26,54,93,0.30);
}
.ob-step-title {
  flex: 1;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 600;
  color: #1A365D;
  text-align: center;
  margin: 0;
  padding-right: 36px;
}
.ob-step-title.centered {
  padding-right: 0;
}

/* ── Service cards (step 1) ─────────────────────────────────── */
#ocryo-booking-app .ob-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  width: 100%;
  box-sizing: border-box;
  align-items: start; /* chaque carte prend sa propre hauteur — évite le débordement inter-colonnes */
}
#ocryo-booking-app .ob-service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.25rem 0.75rem;
  background: rgba(255,255,255,0.80);
  border: 1.5px solid rgba(130,160,188,0.30);
  border-radius: 1.25rem;
  cursor: pointer;
  transition: all 0.25s ease;
  color: #0F172A;
  font-family: var(--font-body);
  text-align: center;
  box-shadow: 0 2px 8px rgba(26,54,93,0.06);
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
#ocryo-booking-app .ob-service-card:hover,
#ocryo-booking-app .ob-service-card:focus-visible {
  background: rgba(255,255,255,0.95);
  border-color: #1A365D;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(26,54,93,0.14);
}
#ocryo-booking-app .ob-service-name  { font-weight: 700; font-size: 0.95rem; color: #1A365D; text-align: center; word-break: break-word; overflow-wrap: break-word; }
#ocryo-booking-app .ob-service-desc  { font-size: 0.78rem; color: rgba(15,23,42,0.55); line-height: 1.4; text-align: center; word-break: break-word; overflow-wrap: break-word; }
#ocryo-booking-app .ob-service-note  { font-size: 0.72rem; color: rgba(15,23,42,0.40); line-height: 1.4; font-style: italic; text-align: center; word-break: break-word; overflow-wrap: break-word; }
#ocryo-booking-app .ob-service-price { font-size: 0.9rem; color: #1A365D; font-weight: 700; text-align: center; margin-top: 0.25rem; }

/* ── Date picker (step 2) ───────────────────────────────────── */
.ob-date-wrap { max-width: 340px; margin: 0 auto; }

.ob-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(15,23,42,0.60);
  margin-bottom: 0.625rem;
}
.ob-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(130,160,188,0.35);
  border-radius: 0.875rem;
  color: #0F172A;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.ob-input[type="date"] {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1A365D;
  cursor: pointer;
  text-align: center;
}
.ob-input:focus {
  border-color: #1A365D;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26,54,93,0.10);
}
.ob-input::placeholder { color: rgba(15,23,42,0.30); }
.ob-input:disabled     { opacity: 0.5; cursor: not-allowed; }
.ob-input-readonly,
.ob-input[readonly] {
  background: rgba(26,54,93,0.04);
  color: rgba(15,23,42,0.60);
  cursor: default;
  border-color: rgba(130,160,188,0.20);
}
.ob-date-hint {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(15,23,42,0.38);
  margin-top: 0.75rem;
  min-height: 1.2rem;
  transition: color 0.2s;
}

/* ── Loader ─────────────────────────────────────────────────── */
.ob-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 0;
}
.ob-spinner {
  width: 36px; height: 36px;
  border: 3px solid rgba(26,54,93,0.12);
  border-top-color: #1A365D;
  border-radius: 50%;
  animation: ob-spin 0.7s linear infinite;
}
@keyframes ob-spin { to { transform: rotate(360deg); } }

/* ── Slots grid (step 4) ────────────────────────────────────── */
#slots-list-container {
  position: relative;
}
.ob-slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
}
.ob-slot-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  padding: 0;
  height: 52px;
  background: #EEF3F8;
  border: 1.5px solid #D6E4F0;
  border-radius: 0.625rem;
  color: #1A365D;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  overflow: hidden;
  box-shadow: none;
  text-align: center;
  width: 100%;
}
.ob-slot-btn:hover {
  background: #D6E4F0;
  border-color: #82A0BC;
  box-shadow: none;
  transform: none;
  cursor: pointer;
}
.ob-slot-btn:focus-visible {
  outline: 2px solid #82A0BC;
  outline-offset: 2px;
  background: #D6E4F0;
  border-color: #82A0BC;
}
.ob-slot-btn.suggested {
  background: #C5D8EC;
  border-color: #82A0BC;
  padding-top: 14px; /* espace pour le bandeau */
}
.ob-slot-btn.suggested .ob-slot-time { color: #1A365D; font-weight: 800; }
.ob-slot-btn.suggested .ob-slot-end  { color: rgba(26,54,93,0.50); }
.ob-slot-btn.suggested:hover { background: #B0CCE3; transform: none; }

.ob-slot-btn.on-call {
  background: #FEF9EC;
  border-color: #F5D98B;
  cursor: pointer;
  pointer-events: all;
}
.ob-slot-btn.on-call .ob-slot-time { color: rgba(15,23,42,0.30); }
.ob-slot-btn.on-call .ob-slot-sub  { color: #92680A; font-weight: 600; }

/* Popover "sur appel" */
.ob-oncall-popover {
  position: absolute;
  z-index: 50;
  width: 280px;
  background: #fff;
  border: 1px solid rgba(130,160,188,0.30);
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(26,54,93,0.14), 0 2px 8px rgba(26,54,93,0.08);
  padding: 1.25rem;
}
.ob-oncall-popover-inner { position: relative; }
.ob-oncall-popover-close {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(130,160,188,0.30);
  background: rgba(26,54,93,0.05);
  color: rgba(15,23,42,0.50);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.ob-oncall-popover-close:hover { background: rgba(26,54,93,0.10); color: #1A365D; }
.ob-oncall-popover-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1A365D;
  margin-bottom: 0.375rem;
  padding-right: 1.5rem;
}
.ob-oncall-popover-desc {
  font-size: 0.78rem;
  color: rgba(15,23,42,0.55);
  line-height: 1.5;
  margin-bottom: 0.875rem;
}
.ob-oncall-popover-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.625rem 1rem;
  background: #1A365D;
  color: #fff;
  border-radius: 0.625rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}
.ob-oncall-popover-tel::before { content: '📞'; font-size: 0.9rem; }
.ob-oncall-popover-tel:hover { background: #152b4a; color: #fff; text-decoration: none; }

/* Créneau complet — grisé neutre */
.ob-slot-btn.full {
  background: #F1F5F9;
  border-color: #CBD5E1;
  cursor: default;
  pointer-events: none;
}
.ob-slot-btn.full .ob-slot-time { color: rgba(15,23,42,0.30); }
.ob-slot-btn.full .ob-slot-sub  { color: rgba(15,23,42,0.40); font-size: 0.65rem; }

/* Bandeau "Recommandé" pleine largeur en haut */
.ob-slot-badge {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: #82A0BC;
  color: #fff;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 2px 0;
  text-align: center;
  line-height: 1.4;
}

/* Textes */
.ob-slot-time {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1A365D;
  line-height: 1;
}
.ob-slot-end {
  font-size: 0.6rem;
  color: rgba(26,54,93,0.45);
  font-weight: 400;
  line-height: 1;
}
.ob-slot-sub {
  font-size: 0.6rem;
  color: rgba(15,23,42,0.45);
  font-weight: 400;
  line-height: 1;
}
.ob-slot-end  { font-size: 0.68rem; color: rgba(15,23,42,0.40); font-weight: 400; }
.ob-slot-sub  { font-size: 0.7rem; color: rgba(15,23,42,0.45); font-weight: 400; }

/* Combo slots — supprimé, utilise la même grille ob-slots-grid */

/* ── No slots ───────────────────────────────────────────────── */
.ob-no-slots {
  text-align: center;
  padding: 2rem 0;
  color: rgba(15,23,42,0.45);
  font-size: 0.9rem;
}
.ob-no-slots button {
  margin-top: 0.75rem;
  background: none;
  border: none;
  color: #1A365D;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-decoration: underline;
}

/* ── Contre-indications (step 4) ────────────────────────────── */
.ob-contra-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(130,160,188,0.12);
  border: 1px solid rgba(130,160,188,0.35);
  border-radius: 1rem;
  font-size: 0.85rem;
  color: #1A365D;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.ob-contra-notice-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

.ob-contra-block {
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(130,160,188,0.25);
  border-radius: 1.25rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.ob-contra-block-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1A365D;
  margin-bottom: 1rem;
}
.ob-contra-list {
  list-style: none;
  padding: 0; margin: 0 0 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.ob-contra-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(15,23,42,0.65);
  line-height: 1.45;
}
.ob-contra-list li::before {
  content: '—';
  color: #82A0BC;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Customer form (step 5) ─────────────────────────────────── */
.ob-consent-box {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.70);
  border: 1.5px solid rgba(130,160,188,0.30);
  border-radius: 1rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  margin-top: 0.5rem;
}
.ob-consent-box:has(input:checked) {
  background: rgba(26,54,93,0.06);
  border-color: #1A365D;
}
.ob-consent-box input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: #1A365D;
  cursor: pointer;
}
.ob-consent-text         { font-size: 0.8rem; color: rgba(15,23,42,0.65); line-height: 1.5; }
.ob-consent-text strong  { color: #1A365D; }

/* ── Customer form (step 5) ─────────────────────────────────── */
.ob-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.ob-form-row.full { grid-template-columns: 1fr; }
.ob-form-group    { display: flex; flex-direction: column; gap: 0.4rem; }
.ob-customer-form { display: flex; flex-direction: column; gap: 1rem; }

/* ── Error box ──────────────────────────────────────────────── */
.ob-error {
  padding: 1rem 1.25rem;
  background: rgba(130,160,188,0.10);
  border: 1px solid rgba(130,160,188,0.35);
  border-radius: 1rem;
  color: #1A365D;
  font-size: 0.85rem;
  line-height: 1.5;
}
.ob-error button {
  background: none;
  border: none;
  color: #1A365D;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-decoration: underline;
  padding: 0;
  margin-top: 0.5rem;
  display: block;
}

/* ── Primary CTA ────────────────────────────────────────────── */
.ob-btn-primary {
  width: 100%;
  padding: 1rem 1.5rem;
  background: #1A365D;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 16px rgba(26,54,93,0.25);
  margin-top: 1.5rem;
}
.ob-btn-primary:hover:not(:disabled) {
  background: #152b4a;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(26,54,93,0.30);
}
.ob-btn-primary:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

/* ── Confirmation (step 6) ──────────────────────────────────── */
.ob-confirm-icon   { text-align: center; margin-bottom: 1.5rem; }
.ob-confirm-check  {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(26,54,93,0.08);
  border: 2px solid rgba(130,160,188,0.50);
  font-size: 2rem;
  color: #1A365D;
  animation: ob-pop 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes ob-pop {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.ob-confirm-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5vw, 2rem);
  color: #1A365D;
  text-align: center;
  margin-bottom: 0.5rem;
}
.ob-confirm-sub {
  text-align: center;
  color: rgba(15,23,42,0.50);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}
.ob-recap {
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(130,160,188,0.25);
  border-radius: 1.25rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.ob-recap-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(15,23,42,0.35);
  margin-bottom: 1rem;
}
.ob-recap-list   { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.ob-recap-item   { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: 0.875rem; }
.ob-recap-item-label { color: rgba(15,23,42,0.45); }
.ob-recap-item-value { font-weight: 600; color: #1A365D; text-align: right; }

/* ── Divider ────────────────────────────────────────────────── */
.ob-divider {
  border: none;
  border-top: 1px solid rgba(130,160,188,0.25);
  margin: 1.5rem 0;
}

/* ── Hidden ─────────────────────────────────────────────────── */
/* !important conservé ici : classe utilitaire .hidden qui doit toujours
   l'emporter sur n'importe quelle règle display, quelle que soit la
   spécificité du contexte — c'est son rôle sémantique. */
.hidden { display: none !important; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .ob-slots-grid                        { grid-template-columns: repeat(3, 1fr); }
  .ob-glass                             { padding: 2rem 1.5rem; }
  .ob-back-btn                          { width: 40px; height: 40px; }
  #ocryo-booking-app .ob-service-grid   { grid-template-columns: 1fr; }
  .ob-btn-primary    { min-height: 52px; font-size: 1rem; }
  .ob-formule-btn    { min-height: 56px; }
  #ocryo-booking-app .ob-service-card   { min-height: unset; }
  .ob-slot-btn       { height: 56px; }
  .ob-input          { min-height: 48px; font-size: 1rem; }
  .ob-signature-canvas { height: clamp(160px, 30vh, 280px); }
}
@media (max-width: 480px) {
  .ob-glass          { padding: 1.75rem 1.25rem; }
  .ob-form-row       { grid-template-columns: 1fr; }
  .ob-slots-grid     { grid-template-columns: repeat(2, 1fr); }
}

/* Touch — évite le double-tap zoom iOS sur tous les boutons interactifs */
.ob-slot-btn,
#ocryo-booking-app .ob-service-card,
.ob-formule-btn,
.ob-btn-primary,
.ob-back-btn,
.ob-signature-clear {
  touch-action: manipulation;
}

/* ── Signature canvas (step 5) ──────────────────────────────── */
.ob-signature-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ob-signature-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(15,23,42,0.50);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.ob-signature-canvas-wrap {
  position: relative;
  border: 1.5px solid rgba(130,160,188,0.35);
  border-radius: 0.875rem;
  background: rgba(255,255,255,0.85);
  overflow: hidden;
  touch-action: none;
}
.ob-signature-canvas {
  display: block;
  width: 100%;
  height: 160px;
  cursor: crosshair;
}
.ob-signature-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(15,23,42,0.25);
  font-size: 0.85rem;
  pointer-events: none;
  transition: opacity 0.2s;
}
.ob-signature-canvas-wrap.has-signature .ob-signature-placeholder {
  opacity: 0;
}
.ob-signature-actions {
  display: flex;
  justify-content: flex-end;
}
.ob-signature-clear {
  background: none;
  border: 1px solid rgba(130,160,188,0.35);
  border-radius: 0.5rem;
  padding: 0.35rem 0.875rem;
  font-size: 0.78rem;
  color: rgba(15,23,42,0.55);
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
}
.ob-signature-clear:hover {
  border-color: #1A365D;
  color: #1A365D;
}

/* ============================================================
 * ÔCRYO — Pages Account / Mon compte
 * ============================================================ */

.ocryo-account-wrap {
  max-width: 720px;
  margin: 2rem auto;
  padding: 0 1rem 3rem;
  font-family: var(--font-body, 'Inter', sans-serif);
}

/* ── Navigation ─────────────────────────────────────────────── */
.ocryo-account-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  background: rgba(255,255,255,0.80);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(130,160,188,0.25);
  border-radius: 1rem;
  padding: 0.5rem;
  margin-bottom: 1.5rem;
}
.ocryo-account-nav-item {
  flex: 1;
  text-align: center;
  padding: 0.6rem 1rem;
  border-radius: 0.625rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(15,23,42,0.60);
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.ocryo-account-nav-item:hover,
.ocryo-account-nav-item.active {
  background: #1A365D;
  color: #fff;
}
#ocryo-booking-app .ocryo-account-nav-logout {
  color: #dc2626;
  flex: 0;
}
#ocryo-booking-app .ocryo-account-nav-logout:hover {
  background: #fef2f2;
  color: #dc2626;
}

/* ── Card ───────────────────────────────────────────────────── */
.ocryo-account-card {
  background: rgba(255,255,255,0.80);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(130,160,188,0.25);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(26,54,93,0.08);
}
.ocryo-account-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ── Titres ─────────────────────────────────────────────────── */
.ocryo-account-logo {
  font-family: var(--font-display, serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #1A365D;
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}
.ocryo-account-title {
  font-family: var(--font-display, serif);
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  color: #1A365D;
  margin: 0 0 0.5rem;
}
.ocryo-account-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(15,23,42,0.40);
  margin-bottom: 0.75rem;
}

/* ── Formulaire connexion ───────────────────────────────────── */
.ocryo-login-card { max-width: 420px; margin: 0 auto; }
.ocryo-account-form { display: flex; flex-direction: column; gap: 1rem; }
.ocryo-account-field { display: flex; flex-direction: column; gap: 0.4rem; }
.ocryo-account-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(15,23,42,0.50);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.ocryo-account-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(130,160,188,0.35);
  border-radius: 0.875rem;
  color: #0F172A;
  font-family: var(--font-body, sans-serif);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ocryo-account-input:focus {
  border-color: #1A365D;
  box-shadow: 0 0 0 3px rgba(26,54,93,0.10);
}

/* ── Boutons ────────────────────────────────────────────────── */
#ocryo-booking-app .ocryo-account-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  background: #1A365D;
  color: #fff;
  font-family: var(--font-body, sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(26,54,93,0.20);
}
#ocryo-booking-app .ocryo-account-btn:hover {
  background: #152b4a;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(26,54,93,0.25);
}
#ocryo-booking-app .ocryo-account-btn-ghost {
  background: transparent;
  color: #1A365D;
  border: 1.5px solid rgba(130,160,188,0.40);
  box-shadow: none;
}
#ocryo-booking-app .ocryo-account-btn-ghost:hover {
  background: rgba(26,54,93,0.05);
  transform: none;
}

/* ── Messages ───────────────────────────────────────────────── */
.ocryo-account-error {
  padding: 0.875rem 1rem;
  background: rgba(130,160,188,0.10);
  border: 1px solid rgba(130,160,188,0.35);
  border-radius: 0.875rem;
  color: #1A365D;
  font-size: 0.875rem;
}
.ocryo-account-success {
  padding: 0.875rem 1rem;
  background: rgba(22,163,74,0.08);
  border: 1px solid rgba(22,163,74,0.25);
  border-radius: 0.875rem;
  color: #15803d;
  font-size: 0.875rem;
}
.ocryo-account-empty {
  padding: 2rem;
  text-align: center;
  color: rgba(15,23,42,0.45);
  font-size: 0.9rem;
  background: rgba(255,255,255,0.60);
  border: 1px dashed rgba(130,160,188,0.35);
  border-radius: 1rem;
}
.ocryo-account-empty a { color: #1A365D; font-weight: 600; }

/* ── Prochaine séance ───────────────────────────────────────── */
.ocryo-account-next {
  background: linear-gradient(135deg, rgba(26,54,93,0.06), rgba(130,160,188,0.10));
  border: 1px solid rgba(130,160,188,0.30);
  border-radius: 1.25rem;
  padding: 1.5rem;
}
.ocryo-account-next-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(15,23,42,0.40);
  margin-bottom: 0.5rem;
}
.ocryo-account-next-service {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1A365D;
}
.ocryo-account-next-date {
  font-size: 0.9rem;
  color: rgba(15,23,42,0.60);
  margin-top: 0.25rem;
}
.ocryo-account-next-warn {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: #d97706;
}
.ocryo-account-next-warn a { color: #1A365D; font-weight: 600; }

/* ── Raccourcis ─────────────────────────────────────────────── */
.ocryo-account-shortcuts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
#ocryo-booking-app .ocryo-account-shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem;
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(130,160,188,0.25);
  border-radius: 1rem;
  text-decoration: none;
  color: #1A365D;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s;
}
.ocryo-account-shortcut:hover {
  background: #fff;
  border-color: #1A365D;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,54,93,0.10);
}
.ocryo-account-shortcut-icon { font-size: 1.75rem; }

/* ── Profil / Rows ──────────────────────────────────────────── */
.ocryo-account-profile {
  background: rgba(255,255,255,0.60);
  border: 1px solid rgba(130,160,188,0.20);
  border-radius: 1rem;
  padding: 1.25rem;
}
.ocryo-account-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(130,160,188,0.12);
}
.ocryo-account-row:last-child { border-bottom: none; }
.ocryo-account-row span:first-child { color: rgba(15,23,42,0.50); }
.ocryo-account-row span:last-child  { font-weight: 600; color: #1A365D; }

/* ── Réservations list ──────────────────────────────────────── */
.ocryo-reservations-list { display: flex; flex-direction: column; gap: 0.875rem; }
.ocryo-reservation-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(130,160,188,0.22);
  border-radius: 1rem;
  transition: box-shadow 0.2s;
}
.ocryo-reservation-card:hover { box-shadow: 0 4px 16px rgba(26,54,93,0.08); }
.ocryo-reservation-past { opacity: 0.75; }

/* Bloc date calendrier */
.ocryo-reservation-date-bloc {
  flex-shrink: 0;
  width: 52px;
  text-align: center;
  background: rgba(26,54,93,0.06);
  border: 1px solid rgba(130,160,188,0.25);
  border-radius: 0.75rem;
  padding: 0.5rem 0.25rem;
}
.ocryo-reservation-day   { font-size: 1.4rem; font-weight: 800; color: #1A365D; line-height: 1; }
.ocryo-reservation-month { font-size: 0.65rem; color: rgba(15,23,42,0.50); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.15rem; }

/* Infos */
.ocryo-reservation-info  { flex: 1; min-width: 0; }
.ocryo-reservation-service { font-weight: 700; color: #1A365D; font-size: 0.95rem; }
.ocryo-reservation-time    { font-size: 0.85rem; color: rgba(15,23,42,0.65); margin-top: 0.2rem; font-weight: 500; }
.ocryo-reservation-meta    { font-size: 0.75rem; color: rgba(15,23,42,0.40); margin-top: 0.2rem; }

/* Actions */
.ocryo-reservation-actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}
.ocryo-reservation-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
}
.ocryo-reservation-doc-link {
  font-size: 0.78rem;
  color: #1A365D;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.ocryo-reservation-doc-link:hover { text-decoration: underline; }

/* Cancel button */
.ocryo-cancel-btn {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid #dc2626;
  background: transparent;
  color: #dc2626;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.ocryo-cancel-btn:hover:not(:disabled) {
  background: #dc2626;
  color: #fff;
}
.ocryo-cancel-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.ocryo-cancel-impossible {
  font-size: 0.72rem;
  color: rgba(15,23,42,0.50);
  font-style: italic;
  text-align: right;
  max-width: 160px;
}
.ocryo-cancel-success {
  padding: 0.5rem 1rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 0.5rem;
  color: #16a34a;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* ── Paiement ───────────────────────────────────────────────── */
.ocryo-payment-recap {
  background: rgba(26,54,93,0.04);
  border: 1px solid rgba(130,160,188,0.20);
  border-radius: 1rem;
  padding: 1.25rem;
  margin: 1.5rem 0;
}
.ocryo-payment-methods { display: flex; flex-direction: column; gap: 0.75rem; }

/* ── Confirmation ───────────────────────────────────────────── */
.ocryo-confirmation-card { text-align: center; }
.ocryo-confirmation-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(26,54,93,0.08);
  border: 2px solid rgba(130,160,188,0.50);
  font-size: 2rem;
  color: #1A365D;
  margin-bottom: 1rem;
  animation: ob-pop 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
}
.ocryo-confirmation-sub {
  color: rgba(15,23,42,0.50);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* ── Reset mot de passe ─────────────────────────────────────── */
.ocryo-account-reset {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(15,23,42,0.55);
}
.ocryo-account-reset summary {
  cursor: pointer;
  color: #1A365D;
  font-weight: 500;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 480px) {
  .ocryo-account-wrap    { padding: 0 0.75rem 2rem; }
  .ocryo-account-card    { padding: 1.5rem 1.25rem; }
  .ocryo-account-shortcuts { grid-template-columns: 1fr; }
  .ocryo-account-nav-item { font-size: 0.78rem; padding: 0.5rem 0.5rem; }
}

/* ── Formules (step 2) ──────────────────────────────────────── */
.ob-formule-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.ocryo-booking-container .ob-formule-btn,
.ob-formule-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.80);
  border: 1.5px solid rgba(130,160,188,0.30);
  border-radius: 1rem;
  cursor: pointer;
  font-family: var(--font-body, sans-serif);
  text-align: left;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(26,54,93,0.06);
  overflow: hidden;
  color: #1A365D;
}
.ocryo-booking-container .ob-formule-btn:hover,
.ob-formule-btn:hover {
  background: #fff;
  border-color: #1A365D;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,54,93,0.10);
}
.ocryo-booking-container .ob-formule-btn:focus,
.ob-formule-btn:focus {
  background: rgba(255,255,255,0.80);
  border-color: #1A365D;
  box-shadow: 0 0 0 3px rgba(26,54,93,0.12);
}
.ocryo-booking-container .ob-formule-btn.popular,
.ob-formule-btn.popular {
  border-color: rgba(26,54,93,0.35);
  background: rgba(26,54,93,0.03);
}
.ob-formule-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.ob-formule-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1A365D;
}
.ob-formule-desc {
  font-size: 0.82rem;
  color: rgba(15,23,42,0.55);
  line-height: 1.4;
}
.ob-formule-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1A365D;
  white-space: nowrap;
  flex-shrink: 0;
}
.ob-formule-badge {
  position: absolute;
  top: 0; right: 0;
  background: #1A365D;
  color: #fff;
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-bottom-left-radius: 0.625rem;
}
@media (max-width: 480px) {
  .ob-formule-btn   { padding: 1rem; }
  .ob-formule-price { font-size: 1rem; }
}

/* ── Mes packs ──────────────────────────────────────────────── */
.ocryo-packs-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ocryo-pack-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(130,160,188,0.22);
  border-radius: 1rem;
  transition: box-shadow 0.2s;
}
.ocryo-pack-card:hover {
  box-shadow: 0 4px 16px rgba(26,54,93,0.08);
}
.ocryo-pack-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.ocryo-pack-name {
  font-weight: 700;
  color: #1A365D;
  font-size: 0.95rem;
}
.ocryo-pack-balance {
  font-size: 0.85rem;
  color: rgba(15,23,42,0.65);
  font-weight: 500;
}
.ocryo-pack-expiry {
  font-size: 0.78rem;
  color: rgba(15,23,42,0.45);
  margin-top: 0.1rem;
}
.ocryo-pack-expiry em {
  font-style: italic;
  color: rgba(15,23,42,0.40);
}
.ocryo-pack-status {
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .ocryo-pack-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .ocryo-pack-status {
    align-self: flex-start;
  }
}

/* ── Step 1 — Élargissement du grid de services ─────────────
 * max-width annulé via #ocryo-booking-app ci-dessus.
 * ─────────────────────────────────────────────────────────── */