/* Pages courtes vues par les clients (connexion, paiement, confirmations) : design ProPrésence 2026, comme /creer.
   Chargée après preview.css : remet les classes pp-* aux couleurs de ProPrésence. */
.pc {
  --c: #781428; --ink: #1a1320; --ink2: #3d3440; --muted: #5f5663; --line: #e9e1da; --paper: #fbf8f4; --soft: #f8eef0; --bg: #fbf8f4;
  --grad: linear-gradient(100deg, #781428 0%, #b8234a 52%, #d4472f 100%);
  --shadow-lg: 0 2px 4px #1a13200a, 0 40px 80px -30px #3a0c1a55;
  --fh: 'Bricolage Grotesque', 'Geist', sans-serif; --fb: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  margin: 0; min-height: 100vh; display: flex; flex-direction: column; align-items: center; background: var(--paper); color: var(--ink);
  font-family: var(--fb); -webkit-font-smoothing: antialiased; position: relative; overflow-x: hidden;
}
.pc-glow { position: absolute; inset: -20% -10% auto; height: 760px; pointer-events: none; background: radial-gradient(40% 50% at 80% 25%, #f7c3cf99 0%, transparent 70%), radial-gradient(35% 40% at 12% 8%, #ffd9bf88 0%, transparent 70%); }
.pc > :not(.pc-glow) { position: relative; }
.pc-top { width: 100%; max-width: 1080px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 16px; }
.pc .pc-brand, .pc .pc-brand:visited { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font: 700 1.1rem var(--fh); letter-spacing: -.02em; line-height: 1.2; }
.pc-brand small { display: block; font: 500 .58rem var(--fb); letter-spacing: .2em; color: var(--muted); margin-top: 3px; }
.pc-brand__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; font: 700 21px/1 var(--fh); box-shadow: 0 6px 16px -6px #781428aa; }
.pc-secure { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .8rem; font-weight: 500; color: var(--muted); }

/* Carte */
.pc-card { width: calc(100% - 32px); max-width: 520px; margin: clamp(12px, 4vw, 40px) 16px 24px; padding: clamp(24px, 5vw, 44px); background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-lg); text-align: center; }
.pc-card--wide { max-width: 640px; }
.pc h1 { margin: 0 0 14px; font: 800 clamp(1.6rem, 4.6vw, 2.1rem)/1.08 var(--fh); letter-spacing: -.04em; }
.pc h2 { font: 700 1.25rem/1.2 var(--fh); letter-spacing: -.03em; }
.pc .pp-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 12px 6px 9px; border-radius: 999px; background: var(--soft); color: var(--c); font: 600 .72rem var(--fb); letter-spacing: .14em; }
.pc .pp-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.pc .pp-lead { margin: 0 auto 22px; font-size: 1.02rem; line-height: 1.6; color: var(--ink2); }
.pc .pp-small { margin: 14px 0 0; font-size: .85rem; line-height: 1.5; color: var(--muted); }
.pc p, .pc li, .pc label, .pc small, .pc td, .pc th { font-family: var(--fb); }
.pc a { color: var(--c); }

/* Boutons */
.pc .pp-btn { min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--grad); background-size: 140% 100%; color: #fff !important; font: 600 1rem var(--fb); text-decoration: none; box-shadow: 0 10px 24px -10px #b8234acc; transition: transform .2s, box-shadow .2s, background-position .4s; }
.pc .pp-btn:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 16px 30px -12px #781428b3; }
.pc .pp-btn--ghost { background: #fff; color: var(--ink) !important; border: 1.5px solid var(--line); box-shadow: none; }
.pc .pp-btn--ghost:hover { border-color: var(--ink); box-shadow: none; }
.pc form + form { margin-top: 10px; }
.pc form .pp-btn { width: 100%; }

/* Récapitulatifs */
.pc .pp-hours { margin: 22px 0; text-align: left; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.pc .pp-hours th, .pc .pp-hours td { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.pc .pp-hours tr:last-child th, .pc .pp-hours tr:last-child td { border-bottom: 0; }
.pc .pp-hours th { color: var(--muted); font-weight: 500; }
.pc .pp-hours td { color: var(--ink); }
.pc .pp-hours strong { font-family: var(--fh); font-size: 1.05rem; }
.pc .pp-pay__go { margin: 8px 0 12px; }

/* Formulaires (connexion, bon de commande) */
.pc .ob-login, .pc .pp-form { display: grid; gap: 12px; margin: 0; text-align: left; }
.pc .ob-login label, .pc .pp-form label { display: grid; gap: 8px; font-size: .88rem; font-weight: 600; }
.pc input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .pc textarea, .pc select { width: 100%; box-sizing: border-box; font: 500 1rem var(--fb); padding: 13px 14px; border-radius: 14px; border: 1.5px solid transparent; background: #f7f3ef; color: var(--ink); transition: background .15s, border-color .15s, box-shadow .15s; }
.pc input:focus, .pc textarea:focus, .pc select:focus { outline: none; background: #fff; border-color: #b8234a; box-shadow: 0 0 0 3px #b8234a22; }
.pc input[type="checkbox"] { accent-color: var(--c); }
.pc .ob-error, .pc .pp-error, .pc .pp-note { display: block; margin: 0 0 16px; padding: 10px 14px; border-radius: 12px; background: var(--soft); color: var(--c); font-weight: 500; text-align: left; }
.pc canvas { border-radius: 14px; }

.pc-foot { margin: auto 0 0; padding: 20px 16px 28px; font-size: .8rem; color: var(--muted); text-align: center; }
.pc .pc-foot a { color: inherit; }
.pc a:focus-visible, .pc button:focus-visible, .pc input:focus-visible, .pc select:focus-visible, .pc textarea:focus-visible { outline: 3px solid #b8234a; outline-offset: 3px; }
@media (max-width: 480px) { .pc-secure { display: none; } .pc-brand small { display: none; } }
@media (prefers-reduced-motion: reduce) { .pc .pp-btn { transition: none; } }
.pc .pp-notice { margin: 18px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); font-size: .88rem; text-align: left; }
