/* ============================================
   Good Bowling — Leiria — Global Styles
   Portado da versão Next.js (src/app/globals.css)
   Versão estática (sem build) para Laravel/Blade
   ============================================ */

:root {
  --teal: #2DB89C;
  --teal-deep: #1F9580;
  --teal-dark: #0F5A4D;
  --coral: #FF6B5B;
  --coral-deep: #E8543F;
  --yellow: #F4C542;
  --yellow-deep: #E0AE28;
  --cream: #FFF6E4;
  --ink: #1A2E2A;
  --ink-soft: #3D504B;
  --paper: #FFF9EE;
  --mute: #B8C7C2;

  --font-display: "Bricolage Grotesque", "Arial Rounded MT Bold", sans-serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --section-py: clamp(80px, 10vw, 140px);
  --container: 1240px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 32px;

  --shadow-sm: 0 2px 0 rgba(26, 46, 42, 0.08);
  --shadow-md: 0 8px 0 rgba(26, 46, 42, 0.12), 0 2px 6px rgba(26, 46, 42, 0.06);
  --shadow-lg: 0 14px 0 rgba(26, 46, 42, 0.14), 0 4px 16px rgba(26, 46, 42, 0.08);
}

[x-cloak] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-primary { background: var(--coral); color: white; box-shadow: 0 6px 0 var(--coral-deep); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--coral-deep); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--coral-deep); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 0 var(--yellow-deep); }
.btn-yellow:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--yellow-deep); }
.btn-light { background: white; color: var(--ink); box-shadow: 0 6px 0 rgba(0,0,0,0.2); }
.btn-light:hover { transform: translateY(-2px); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-block { width: 100%; }

/* Bubbles */
.bubbles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bubble { position: absolute; border-radius: 999px; border: 2px solid currentColor; opacity: 0.35; }
.bubble.filled { background: currentColor; opacity: 0.15; border: none; }

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(5deg); }
}
@keyframes float-med {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-28px) rotate(-8deg); }
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
.float-slow { animation: float-slow 6s ease-in-out infinite; }
.float-med { animation: float-med 4.5s ease-in-out infinite; }
.spin-slow { animation: spin-slow 30s linear infinite; }

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.18); border: 1.5px solid currentColor;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px; background: currentColor;
}

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.site-header.scrolled {
  background: var(--cream); box-shadow: 0 2px 0 rgba(26,46,42,0.08); padding: 12px 0;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 999px; background: var(--coral);
  display: grid; place-items: center; color: white; flex-shrink: 0; position: relative;
}
.logo-mark::before {
  content: ""; position: absolute; top: 8px; left: 10px;
  width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.55);
}
.logo .name-main { display: block; line-height: 1; }
.logo .name-sub { display: block; font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.16em; color: var(--ink-soft); text-transform: uppercase; margin-top: 2px; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { font-weight: 500; font-size: 13px; color: var(--ink); position: relative; padding: 6px 2px; transition: color .15s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav a:hover::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 12px 20px; font-size: 14px; }
.burger { display: none; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: white; align-items: center; justify-content: center; }
@media (max-width: 1180px) { .header-cta .btn-ghost { display: none; } }
@media (max-width: 960px) { .nav { display: none; } .header-cta .btn-ghost { display: none; } .burger { display: flex; } }

/* Hero */
.hero {
  position: relative; background: var(--teal); color: var(--cream);
  padding: 140px 0 100px; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.07) 2px, transparent 2px),
                    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05) 3px, transparent 3px);
  background-size: 60px 60px, 90px 90px; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.hero-content .eyebrow { color: var(--yellow); margin-bottom: 28px; }
.hero-title { font-size: clamp(44px, 6.5vw, 92px); color: var(--cream); margin-bottom: 24px; }
.hero-title .accent { color: var(--yellow); font-style: italic; font-weight: 400; }
.hero-title .strike { display: inline-block; padding: 0 12px; background: var(--coral); color: white; border-radius: 12px; transform: rotate(-2deg); }
.hero-sub { font-size: clamp(16px, 1.5vw, 19px); max-width: 520px; color: rgba(255,246,228,0.85); margin-bottom: 40px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 56px; padding-top: 28px; border-top: 1.5px dashed rgba(255,246,228,0.3); }
.hero-stat .num { font-family: var(--font-display); font-weight: 800; font-size: 36px; color: var(--yellow); line-height: 1; }
.hero-stat .label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,246,228,0.7); margin-top: 6px; }
.hero-visual { position: relative; height: 560px; display: flex; align-items: center; justify-content: center; }
.hero-disc { position: absolute; inset: 0; border-radius: 999px; background: radial-gradient(circle at 30% 30%, var(--teal-deep), var(--teal-dark)); box-shadow: inset 0 0 0 2px rgba(255,246,228,0.1); max-width: 480px; max-height: 480px; margin: auto; }
.hero-pins { position: relative; z-index: 3; display: flex; align-items: flex-end; gap: 12px; }

/* Pin */
.pin { position: relative; width: 60px; height: 140px; }
.pin-body { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 55px; height: 100px; background: var(--cream); border-radius: 50% 50% 44% 44% / 45% 45% 40% 40%; box-shadow: inset -8px -6px 0 rgba(0,0,0,0.08), 0 4px 0 rgba(0,0,0,0.15); }
.pin-neck { position: absolute; bottom: 90px; left: 50%; transform: translateX(-50%); width: 28px; height: 30px; background: var(--cream); border-radius: 50% 50% 20% 20%; box-shadow: inset -4px -2px 0 rgba(0,0,0,0.08); }
.pin-head { position: absolute; bottom: 110px; left: 50%; transform: translateX(-50%); width: 38px; height: 38px; background: var(--cream); border-radius: 50%; box-shadow: inset -5px -4px 0 rgba(0,0,0,0.08); }
.pin-stripes { position: absolute; bottom: 78px; left: 50%; transform: translateX(-50%); width: 34px; height: 8px; background: var(--coral); border-radius: 2px; z-index: 2; }
.pin-stripes::before, .pin-stripes::after { content: ""; position: absolute; left: 0; right: 0; height: 3px; background: var(--coral); border-radius: 2px; }
.pin-stripes::before { top: -7px; }
.pin-stripes::after { bottom: -7px; }
.pin.tilt-l { transform: rotate(-8deg) translateY(-8px); }
.pin.tilt-r { transform: rotate(10deg) translateY(-4px); }

/* Ball */
.ball { position: absolute; border-radius: 999px; background: radial-gradient(circle at 30% 30%, #5b3a8a, #2a1752); box-shadow: inset -10px -12px 20px rgba(0,0,0,0.4), 0 10px 0 rgba(0,0,0,0.2); }
.ball-holes { position: absolute; top: 28%; left: 28%; display: flex; gap: 6px; }
.ball-holes::before, .ball-holes::after { content: ""; width: 9px; height: 9px; border-radius: 999px; background: #12042a; box-shadow: inset 2px 2px 3px rgba(0,0,0,0.6); }
.ball-holes::before { margin-top: 8px; }
.hero-ball { bottom: 40px; left: 10%; width: 110px; height: 110px; }
.deco-prop { position: absolute; pointer-events: none; z-index: 1; }

/* Section */
section { position: relative; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(36px, 4.5vw, 64px); max-width: 680px; }
.section-head .lede { max-width: 380px; font-size: 15px; color: var(--ink-soft); }
.on-dark .section-head .lede { color: rgba(255,246,228,0.8); }

/* Booking */
.booking { background: var(--cream); padding: var(--section-py) 0; position: relative; }
.booking::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 0 0, rgba(45,184,156,0.06) 1.5px, transparent 1.5px); background-size: 40px 40px; pointer-events: none; }
.booking h2 .accent { color: var(--teal-deep); font-style: italic; font-weight: 400; }
.booking-card { background: white; border-radius: var(--radius-lg); padding: 0; box-shadow: var(--shadow-lg); border: 2px solid var(--ink); overflow: hidden; position: relative; z-index: 2; }
.booking-progress { display: flex; align-items: center; padding: 24px 32px; background: var(--ink); color: var(--cream); gap: 20px; overflow-x: auto; }
.step-pill { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.4; transition: opacity .2s; white-space: nowrap; }
.step-pill.active { opacity: 1; color: var(--yellow); }
.step-pill.done { opacity: 0.8; color: var(--teal); }
.step-pill .dot { width: 24px; height: 24px; border-radius: 999px; border: 1.5px solid currentColor; display: grid; place-items: center; font-size: 11px; font-family: var(--font-display); font-weight: 700; }
.step-pill.active .dot { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.step-pill.done .dot { background: var(--teal); color: white; border-color: var(--teal); }
.booking-body { padding: 40px; }
.booking-body h3 { font-size: 28px; margin-bottom: 8px; }
.booking-body .hint { color: var(--ink-soft); font-size: 14px; margin-bottom: 32px; }

/* Calendar */
.cal-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.cal { border: 2px solid var(--ink); border-radius: var(--radius-md); padding: 20px; background: var(--paper); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-head .month { font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.cal-nav { width: 32px; height: 32px; border-radius: 8px; background: white; border: 1.5px solid var(--ink); display: grid; place-items: center; }
.cal-nav:hover { background: var(--yellow); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; text-align: center; color: var(--ink-soft); padding: 6px 0; letter-spacing: 0.1em; }
.cal-day { aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; font-weight: 500; font-size: 13px; position: relative; transition: all .15s; background: transparent; }
.cal-day:not(.disabled):hover { background: rgba(45,184,156,0.15); }
.cal-day.disabled { color: var(--mute); cursor: not-allowed; opacity: 0.4; }
.cal-day.today { border: 1.5px solid var(--ink); }
.cal-day.selected { background: var(--coral); color: white; box-shadow: 0 3px 0 var(--coral-deep); transform: translateY(-1px); }
.cal-day .availability-dot { position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 999px; background: var(--teal); }
.cal-day.selected .availability-dot { background: white; }
.cal-day.busy .availability-dot { background: var(--coral-deep); }

/* Slots */
.slots-panel h4 { font-size: 14px; text-transform: uppercase; font-family: var(--font-mono); letter-spacing: 0.12em; color: var(--ink-soft); margin-bottom: 14px; font-weight: 500; }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 28px; }
.slot { padding: 12px 8px; border: 1.5px solid var(--ink); border-radius: 12px; font-weight: 600; font-size: 14px; background: white; position: relative; transition: all .15s; text-align: center; }
.slot:hover:not(.full) { background: var(--yellow); }
.slot.selected { background: var(--coral); color: white; border-color: var(--coral-deep); box-shadow: 0 3px 0 var(--coral-deep); }
.slot.full { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }
.slot .tag { display: block; font-family: var(--font-mono); font-size: 9px; font-weight: 500; letter-spacing: 0.08em; margin-top: 2px; opacity: 0.7; }
.slot.urgent { border-color: var(--coral); background: #FFF0ED; }
.slot.urgent .tag { color: var(--coral-deep); opacity: 1; }

/* Counters */
.counter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.counter { padding: 16px; border: 1.5px solid var(--ink); border-radius: var(--radius-md); background: var(--paper); }
.counter-label { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-soft); margin-bottom: 10px; }
.counter-value { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.counter-num { font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 1; }
.counter-btns { display: flex; gap: 6px; }
.counter-btn { width: 32px; height: 32px; border-radius: 8px; background: white; border: 1.5px solid var(--ink); font-weight: 700; font-size: 16px; display: grid; place-items: center; }
.counter-btn:hover { background: var(--yellow); }
.counter-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* Urgency */
.urgency { margin-top: 20px; padding: 14px 18px; background: var(--coral); color: white; border-radius: 14px; display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; box-shadow: 0 4px 0 var(--coral-deep); }
.urgency .pulse { width: 10px; height: 10px; border-radius: 999px; background: white; position: relative; flex-shrink: 0; }
.urgency .pulse::before { content: ""; position: absolute; inset: 0; border-radius: 999px; background: white; animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.5); opacity: 0; } }

/* Booking summary */
.booking-summary { border-top: 2px solid var(--ink); padding: 24px 40px; background: var(--yellow); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.summary-breakdown { display: flex; gap: 28px; flex-wrap: wrap; }
.summary-item .label { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); margin-bottom: 2px; }
.summary-item .value { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.summary-total .value { font-size: 28px; color: var(--coral-deep); }
.booking-actions { display: flex; gap: 12px; }

/* Upsell */
.upsell-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-bottom: 28px; }
.upsell-card { border: 1.5px solid var(--ink); border-radius: var(--radius-md); padding: 20px; background: var(--paper); position: relative; cursor: pointer; transition: all .15s; text-align: left; width: 100%; }
.upsell-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.upsell-card.selected { background: var(--teal); color: var(--cream); border-color: var(--teal-dark); box-shadow: 0 6px 0 var(--teal-dark); }
.upsell-card.selected .upsell-price { color: var(--yellow); }
.upsell-icon { width: 48px; height: 48px; border-radius: 12px; background: white; border: 1.5px solid var(--ink); display: grid; place-items: center; font-size: 24px; margin-bottom: 14px; }
.upsell-card.selected .upsell-icon { background: var(--cream); }
.upsell-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin-bottom: 4px; }
.upsell-desc { font-size: 12px; opacity: 0.75; margin-bottom: 10px; line-height: 1.4; }
.upsell-price { font-family: var(--font-mono); font-weight: 600; font-size: 13px; color: var(--coral-deep); }
.upsell-check { position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; border-radius: 999px; border: 1.5px solid currentColor; display: grid; place-items: center; opacity: 0.3; }
.upsell-card.selected .upsell-check { background: var(--yellow); color: var(--ink); opacity: 1; border-color: var(--yellow); }

/* Checkout */
.checkout-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.field-group { display: flex; flex-direction: column; gap: 14px; }
.field label { display: block; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-soft); margin-bottom: 6px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--paper); font-size: 15px; transition: border-color .15s, background .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--coral); background: white; box-shadow: 0 0 0 3px rgba(255,107,91,0.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field .error-text { color: var(--coral-deep); font-size: 12px; margin-top: 4px; font-weight: 500; }
.order-review { background: var(--ink); color: var(--cream); border-radius: var(--radius-md); padding: 24px; }
.order-review h4 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--yellow); margin-bottom: 16px; font-weight: 500; }
.order-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed rgba(255,246,228,0.2); font-size: 14px; }
.order-line .lbl { opacity: 0.7; }
.order-total { display: flex; justify-content: space-between; padding-top: 18px; margin-top: 8px; border-top: 1.5px solid var(--yellow); font-family: var(--font-display); font-weight: 800; }
.order-total .val { font-size: 28px; color: var(--yellow); }

/* Confirmation */
.confirm { text-align: center; padding: 40px 20px; }
.confirm-badge { width: 120px; height: 120px; border-radius: 999px; background: var(--teal); color: white; display: grid; place-items: center; margin: 0 auto 28px; font-size: 56px; box-shadow: 0 8px 0 var(--teal-dark); animation: pop .5s cubic-bezier(.34, 1.8, .64, 1); }
@keyframes pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.confirm h3 { font-size: 36px; margin-bottom: 12px; }
.confirm p { color: var(--ink-soft); max-width: 480px; margin: 0 auto 24px; }
.confirm-code { display: inline-block; padding: 10px 20px; background: var(--yellow); border-radius: 10px; font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.1em; margin-bottom: 24px; }

.upsell-bundle { margin-top: 16px; padding: 18px; border: 1.5px dashed var(--ink); border-radius: var(--radius-md); background: #FFF0CF; display: flex; align-items: center; gap: 14px; }
.bundle-icon { font-size: 28px; }
.bundle-text { flex: 1; font-size: 13px; }
.bundle-text strong { display: block; font-family: var(--font-display); font-size: 16px; font-weight: 700; margin-bottom: 2px; }

/* Pay methods */
.pay-methods { display: flex; gap: 8px; margin-top: 14px; }
.pay-method { flex: 1; padding: 12px; border: 1.5px solid rgba(255,246,228,0.3); border-radius: 10px; text-align: center; font-size: 12px; font-weight: 500; cursor: pointer; }
.pay-method.selected { border-color: var(--yellow); background: rgba(244,197,66,0.15); color: var(--yellow); }

/* Parties */
.parties { background: var(--coral); color: var(--cream); padding: var(--section-py) 0; overflow: hidden; }
.party-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.party-card { background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: 28px; position: relative; overflow: hidden; border: 2px solid var(--ink); transition: transform .2s; }
.party-card:hover { transform: translateY(-6px); }
.party-card.featured { background: var(--yellow); }
.party-tag { display: inline-block; padding: 4px 10px; background: var(--coral); color: white; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; border-radius: 999px; margin-bottom: 16px; }
.party-card.featured .party-tag { background: var(--ink); color: var(--yellow); }
.party-card h3 { font-size: 26px; margin-bottom: 10px; }
.party-price { display: flex; align-items: baseline; gap: 8px; margin: 16px 0 14px; }
.party-price .amt { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; }
.party-price .unit { font-size: 13px; color: var(--ink-soft); }
.party-features { list-style: none; margin: 18px 0; }
.party-features li { padding: 6px 0; font-size: 14px; display: flex; align-items: flex-start; gap: 10px; }
.party-features li::before { content: ""; width: 18px; height: 18px; border-radius: 999px; background: var(--teal); margin-top: 2px; flex-shrink: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6L5 8.5L9.5 3.5' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 14px; }
.party-cta { width: 100%; margin-top: 10px; }
@media (max-width: 1100px) { .party-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .party-grid { grid-template-columns: 1fr; } }

/* Pricing */
.pricing { background: var(--yellow); padding: var(--section-py) 0; color: var(--ink); position: relative; overflow: hidden; }
.price-table { background: var(--ink); color: var(--cream); border-radius: var(--radius-lg); overflow: hidden; border: 2px solid var(--ink); box-shadow: 0 10px 0 rgba(0,0,0,0.12); }
.price-header { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; padding: 20px 32px; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; background: rgba(255,255,255,0.05); border-bottom: 1px dashed rgba(255,246,228,0.2); }
.price-header > *:not(:first-child) { text-align: center; }
.price-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; padding: 20px 32px; align-items: center; border-bottom: 1px dashed rgba(255,246,228,0.15); transition: background .15s; }
.price-row:last-child { border-bottom: 0; }
.price-row:hover { background: rgba(244,197,66,0.08); }
.price-row.featured { background: rgba(244,197,66,0.12); }
.price-row .period { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.price-row .period-sub { display: block; font-size: 12px; color: rgba(255,246,228,0.6); font-family: var(--font-body); font-weight: 400; margin-top: 2px; }
.price-row .amount { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 24px; }
.price-row .discount { display: inline-block; padding: 2px 8px; background: var(--coral); color: white; border-radius: 6px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; margin-left: 6px; vertical-align: middle; }
.price-promo { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promo-card { padding: 24px; background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.promo-tag { display: inline-block; padding: 4px 10px; background: var(--coral); color: white; border-radius: 999px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }
.promo-card h4 { font-size: 22px; margin-bottom: 8px; }
.promo-card p { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 780px) {
  .price-header, .price-row { grid-template-columns: 1.5fr 1fr; padding: 16px 20px; }
  .price-header > *:nth-child(3), .price-header > *:nth-child(4),
  .price-row > *:nth-child(3), .price-row > *:nth-child(4) { display: none; }
  .price-promo { grid-template-columns: 1fr; }
}

/* Gallery */
.gallery { background: var(--ink); color: var(--cream); padding: var(--section-py) 0; position: relative; overflow: hidden; }
.gallery-marquee { display: flex; gap: 20px; padding: 20px 0; overflow: hidden; mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent); }
.marquee-track { display: flex; gap: 20px; animation: marquee 40s linear infinite; flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(calc(-100% - 20px)); } }
.gallery-tile { flex-shrink: 0; width: 320px; height: 400px; border-radius: var(--radius-lg); overflow: hidden; position: relative; border: 2px solid rgba(255,246,228,0.15); }
.gallery-tile.wide { width: 440px; }
.placeholder-img { width: 100%; height: 100%; background-image: repeating-linear-gradient(45deg, var(--ph-a, var(--teal)) 0 22px, var(--ph-b, var(--teal-deep)) 22px 44px); position: relative; display: grid; place-items: center; color: rgba(255,246,228,0.85); font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; text-align: center; padding: 20px; }
.placeholder-img span { background: rgba(26,46,42,0.65); padding: 6px 12px; border-radius: 6px; }
.gallery-tile:nth-child(4n+1) { --ph-a: var(--teal); --ph-b: var(--teal-deep); }
.gallery-tile:nth-child(4n+2) { --ph-a: var(--coral); --ph-b: var(--coral-deep); }
.gallery-tile:nth-child(4n+3) { --ph-a: var(--yellow); --ph-b: var(--yellow-deep); }
.gallery-tile:nth-child(4n+3) .placeholder-img { color: var(--ink); }
.gallery-tile:nth-child(4n+3) .placeholder-img span { background: rgba(255,246,228,0.9); color: var(--ink); }
.gallery-tile:nth-child(4n) { --ph-a: #5b3a8a; --ph-b: #2a1752; }

/* Testimonials */
.testimonials { background: var(--cream); padding: var(--section-py) 0; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card { background: white; border: 2px solid var(--ink); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 16px; }
.testi-card:nth-child(2) { background: var(--teal); color: var(--cream); transform: translateY(20px); }
.testi-card:nth-child(3) { background: var(--yellow); }
.testi-stars { display: flex; gap: 3px; color: var(--coral); }
.testi-card:nth-child(2) .testi-stars { color: var(--yellow); }
.testi-quote { font-size: 17px; font-family: var(--font-display); font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-avatar { width: 40px; height: 40px; border-radius: 999px; background: var(--coral); display: grid; place-items: center; color: white; font-weight: 700; flex-shrink: 0; }
.testi-card:nth-child(2) .testi-avatar { background: var(--yellow); color: var(--ink); }
.testi-meta .name { font-weight: 600; font-size: 14px; }
.testi-meta .when { font-size: 12px; opacity: 0.65; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } .testi-card:nth-child(2) { transform: none; } }

/* Contact */
.contact { background: var(--teal); color: var(--cream); padding: var(--section-py) 0; position: relative; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card { background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: 40px; border: 2px solid var(--ink); box-shadow: 0 10px 0 rgba(0,0,0,0.15); }
.contact-card h3 { font-size: 28px; margin-bottom: 24px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.contact-line { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; border-bottom: 1px dashed rgba(26,46,42,0.15); }
.contact-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--yellow); display: grid; place-items: center; flex-shrink: 0; }
.contact-line .lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.contact-line .val { font-weight: 600; font-size: 15px; margin-top: 2px; }
.contact-line a.val:hover { color: var(--coral-deep); }
.map-card { border-radius: var(--radius-lg); border: 2px solid var(--ink); background: #E8F0E8; position: relative; overflow: hidden; min-height: 420px; box-shadow: 0 10px 0 rgba(0,0,0,0.15); }
.map-bg { position: absolute; inset: 0; background: linear-gradient(135deg, transparent 48%, rgba(45,184,156,0.12) 48% 52%, transparent 52%), linear-gradient(45deg, transparent 48%, rgba(45,184,156,0.12) 48% 52%, transparent 52%), repeating-linear-gradient(0deg, transparent 0 40px, rgba(26,46,42,0.04) 40px 42px), repeating-linear-gradient(90deg, transparent 0 40px, rgba(26,46,42,0.04) 40px 42px); background-color: #DCEBE5; }
.map-road { position: absolute; background: var(--paper); border: 1px solid rgba(26,46,42,0.1); }
.map-road.r1 { left: 0; right: 0; top: 45%; height: 16px; }
.map-road.r2 { top: 0; bottom: 0; left: 30%; width: 14px; }
.map-road.r3 { left: 55%; top: 10%; width: 24%; height: 8px; transform: rotate(18deg); transform-origin: left; }
.map-pin { position: absolute; top: 35%; left: 42%; z-index: 3; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.map-pin-marker { width: 60px; height: 74px; background: var(--coral); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; position: relative; border: 3px solid var(--ink); box-shadow: 0 6px 0 rgba(0,0,0,0.2); transform: rotate(-45deg); }
.map-pin-marker::after { content: ""; position: absolute; top: 25%; left: 25%; width: 50%; height: 50%; border-radius: 999px; background: var(--paper); border: 3px solid var(--ink); }
.map-pin-shadow { width: 40px; height: 8px; background: rgba(0,0,0,0.18); border-radius: 999px; margin: 8px auto 0; filter: blur(2px); }
.map-callout { position: absolute; top: 60%; left: 50%; background: white; border: 2px solid var(--ink); border-radius: 14px; padding: 10px 14px; font-size: 13px; font-weight: 600; box-shadow: 0 4px 0 rgba(0,0,0,0.15); white-space: nowrap; }
.map-overlay { position: absolute; bottom: 20px; left: 20px; right: 20px; background: var(--ink); color: var(--cream); padding: 16px 20px; border-radius: 14px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Cards genéricos (admin + site) */
.card { background: white; border: 2px solid var(--ink); border-radius: var(--radius-md); box-shadow: var(--shadow-md); padding: 24px; }
.card-flat { background: white; border: 1.5px solid rgba(26,46,42,0.12); border-radius: var(--radius-md); padding: 20px; }

/* Badges / pills de estado */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.badge-teal { background: rgba(45,184,156,0.15); color: var(--teal-dark); }
.badge-coral { background: rgba(255,107,91,0.15); color: var(--coral-deep); }
.badge-yellow { background: rgba(244,197,66,0.2); color: var(--yellow-deep); }
.badge-ink { background: rgba(26,46,42,0.1); color: var(--ink); }

/* Footer */
.footer { background: var(--ink); color: var(--cream); padding: 80px 0 40px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer h4 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--yellow); margin-bottom: 20px; font-weight: 500; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; opacity: 0.8; transition: opacity .15s, color .15s; }
.footer-col a:hover { opacity: 1; color: var(--coral); }
.footer-brand p { font-size: 14px; opacity: 0.7; margin-top: 16px; max-width: 320px; }
.socials { display: flex; gap: 10px; }
.social { width: 40px; height: 40px; border-radius: 999px; background: rgba(255,246,228,0.1); display: grid; place-items: center; transition: background .15s; }
.social:hover { background: var(--coral); }
.footer-bottom { padding-top: 28px; border-top: 1px dashed rgba(255,246,228,0.15); display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; opacity: 0.6; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } .footer-brand { grid-column: 1 / -1; } }

/* ============================================
   Admin shell
   ============================================ */
.admin-shell { display: flex; min-height: 100vh; background: #F4F6F5; font-family: var(--font-body); }
.admin-main { flex: 1; padding: 32px; overflow-y: auto; min-width: 0; }
.admin-sidebar { width: 240px; background: var(--ink); color: var(--cream); display: flex; flex-direction: column; padding: 24px 0; flex-shrink: 0; min-height: 100vh; }
.admin-sidebar .brand { padding: 0 20px 24px; border-bottom: 1px dashed rgba(255,246,228,0.15); }
.admin-sidebar .brand-row { display: flex; align-items: center; gap: 10px; }
.admin-sidebar .brand-mark { width: 36px; height: 36px; border-radius: 999px; background: var(--coral); display: grid; place-items: center; flex-shrink: 0; }
.admin-sidebar .brand-name { font-family: var(--font-display); font-weight: 800; font-size: 16px; }
.admin-sidebar .brand-sub { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; opacity: 0.5; text-transform: uppercase; }
.admin-nav { flex: 1; padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; color: rgba(255,246,228,0.75); transition: all .15s; }
.admin-nav a:hover { background: rgba(255,246,228,0.06); color: var(--cream); }
.admin-nav a.active { background: rgba(255,246,228,0.1); color: var(--yellow); }
.admin-nav a .ico { font-size: 16px; width: 20px; text-align: center; }
.admin-footer { padding: 16px 20px; border-top: 1px dashed rgba(255,246,228,0.15); }
.admin-footer .who { font-size: 13px; opacity: 0.6; margin-bottom: 12px; }
.admin-footer .back { display: block; font-size: 12px; opacity: 0.5; margin-bottom: 8px; color: var(--cream); }
.admin-footer .logout { font-size: 12px; color: var(--coral); background: none; border: none; cursor: pointer; padding: 0; }

/* Hambúrguer do admin (só aparece em mobile) */
.admin-burger { display: none; background: none; border: none; color: var(--cream); cursor: pointer; padding: 6px; border-radius: 8px; line-height: 0; }
.admin-burger:hover { background: rgba(255,246,228,0.1); }

/* Admin page header + KPIs */
.page-head { margin-bottom: 28px; }
.page-head h1 { font-size: 32px; }
.page-head .sub { color: var(--ink-soft); font-size: 14px; margin-top: 4px; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.kpi { background: white; border: 2px solid var(--ink); border-radius: var(--radius-md); padding: 20px; box-shadow: var(--shadow-sm); }
.kpi .kpi-label { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-soft); }
.kpi .kpi-value { font-family: var(--font-display); font-weight: 800; font-size: 34px; line-height: 1; margin-top: 8px; }
.kpi .kpi-foot { font-size: 12px; color: var(--ink-soft); margin-top: 6px; }

/* Admin tables */
.table-wrap { background: white; border: 2px solid var(--ink); border-radius: var(--radius-md); overflow: hidden; }
table.data { width: 100%; border-collapse: collapse; }
table.data th { text-align: left; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); padding: 14px 18px; background: var(--cream); border-bottom: 2px solid var(--ink); }
table.data td { padding: 14px 18px; border-bottom: 1px dashed rgba(26,46,42,0.12); font-size: 14px; }
table.data tr:last-child td { border-bottom: none; }
table.data tbody tr:hover { background: rgba(45,184,156,0.05); }

/* Filtros admin */
.filter-bar { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; align-items: center; }
.filter-bar select, .filter-bar input[type="date"] { height: 38px; padding: 0 12px; border-radius: 10px; border: 1.5px solid rgba(26,46,42,0.2); font-family: var(--font-mono); font-size: 12px; background: white; }
.filter-bar .count { margin-left: auto; font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); }

/* Botões de ação (ícones) */
.icon-btn { height: 32px; min-width: 32px; padding: 0 10px; border-radius: 8px; font-size: 13px; font-weight: 700; border: 1.5px solid rgba(26,46,42,0.2); background: white; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: all .12s; }
.icon-btn:hover { background: var(--cream); }
.icon-btn.ok { color: var(--teal-dark); border-color: var(--teal-dark); }
.icon-btn.warn { color: var(--coral-deep); border-color: var(--coral-deep); }
.icon-btn.info { color: #3730A3; border-color: #3730A3; }
.icon-btn.muted { color: var(--ink-soft); }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* Expand row */
.expand-toggle { background: none; border: none; cursor: pointer; font-size: 12px; color: var(--ink-soft); padding: 4px; }
.detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.detail-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px 24px; font-size: 13px; }
.detail-fields .k { color: var(--ink-soft); font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; }
@media (max-width: 820px) { .detail-grid { grid-template-columns: 1fr; } }

/* Lane picker */
.lane-pick-grid { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.lane-pick { width: 44px; height: 44px; border-radius: 10px; font-weight: 700; font-size: 13px; border: 2px solid rgba(26,46,42,0.2); background: white; color: var(--ink); cursor: pointer; transition: all .12s; }
.lane-pick.selected { background: var(--coral); color: white; border-color: var(--coral); }
.lane-pick.busy { background: #f3f4f6; color: #9ca3af; border-color: #e5e7eb; cursor: not-allowed; opacity: 0.55; }

/* Paginação */
.pagination-bar { display: flex; gap: 8px; justify-content: center; margin-top: 24px; align-items: center; }
.pagination-bar .page-info { font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); }

/* Agenda semanal */
.agenda-table { background: white; border: 2px solid var(--ink); border-radius: var(--radius-md); overflow: hidden; }
.agenda-head, .agenda-row { display: grid; grid-template-columns: 60px repeat(7, 1fr); }
.agenda-head { border-bottom: 2px solid var(--ink); background: var(--cream); }
.agenda-head .col { padding: 12px 8px; text-align: center; border-left: 1px solid rgba(26,46,42,0.1); }
.agenda-head .col:first-child { border-left: none; }
.agenda-head .dow { font-size: 11px; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; }
.agenda-head .dnum { font-size: 18px; font-weight: 800; font-family: var(--font-display); }
.agenda-head .col.today { background: #FFF7ED; }
.agenda-head .col.today .dnum { color: var(--coral); }
.agenda-row { border-bottom: 1px solid rgba(26,46,42,0.06); min-height: 48px; }
.agenda-row .hour { padding: 8px; font-size: 11px; color: var(--ink-soft); text-align: right; font-family: var(--font-mono); }
.agenda-row .cell { border-left: 1px solid rgba(26,46,42,0.06); padding: 4px; }
.agenda-event { display: block; width: 100%; text-align: left; border-radius: 6px; padding: 4px 6px; font-size: 11px; cursor: pointer; margin-bottom: 2px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border: 1.5px solid; }
.ev-PENDING { background: #fef3c7; border-color: #fbbf24; color: #78350f; }
.ev-CONFIRMED { background: #d1fae5; border-color: #34d399; color: #065f46; }
.ev-COMPLETED { background: #e0e7ff; border-color: #818cf8; color: #3730a3; }
.agenda-legend { display: flex; gap: 16px; margin-top: 16px; font-size: 12px; color: var(--ink-soft); flex-wrap: wrap; }
.agenda-legend .dot { width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid; display: inline-block; margin-right: 6px; vertical-align: middle; }
@media (max-width: 820px) { .agenda-table { overflow-x: auto; } .agenda-head, .agenda-row { min-width: 680px; } }

/* Modal simples (dl) */
.modal-dl { display: grid; grid-template-columns: 110px 1fr; gap: 8px 16px; font-size: 14px; margin: 0; }
.modal-dl dt { font-weight: 600; color: var(--ink-soft); margin: 0; }
.modal-dl dd { margin: 0; }

/* Tabs (menu/pos) */
.tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.tab { height: 40px; padding: 0 20px; border-radius: 10px; font-weight: 700; font-size: 13px; cursor: pointer; background: white; color: var(--ink); border: 2px solid rgba(26,46,42,0.15); }
.tab.active { background: var(--ink); color: white; border-color: var(--ink); }
.chip { padding: 6px 14px; border-radius: 999px; border: 2px solid rgba(26,46,42,0.15); cursor: pointer; font-weight: 600; font-size: 12px; background: white; color: var(--ink); }
.chip.active { background: var(--coral); color: white; border-color: var(--coral); }
.chip.ink.active { background: var(--ink); border-color: var(--ink); }

/* Menu cards */
.menu-cat { background: white; border: 2px solid var(--ink); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.menu-cat.inactive { opacity: 0.6; border-color: rgba(26,46,42,0.15); }
.menu-cat-head { padding: 16px 20px; display: flex; align-items: center; gap: 12px; cursor: pointer; }
.menu-cat-head .title { font-family: var(--font-display); font-size: 18px; font-weight: 800; }
.menu-cat-head .meta { font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); }
.thumb { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; border: 1px solid rgba(26,46,42,0.1); }
.thumb-ph { width: 40px; height: 40px; border-radius: 6px; background: var(--cream); display: grid; place-items: center; font-size: 16px; }

/* Modal (form) */
.overlay { position: fixed; inset: 0; background: rgba(26,46,42,0.5); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-box { background: var(--paper); border-radius: var(--radius-lg); border: 2px solid var(--ink); width: 100%; max-width: 520px; box-shadow: 0 14px 0 rgba(0,0,0,0.25); max-height: 90vh; overflow: auto; }
.modal-box .head { padding: 20px 24px; border-bottom: 2px solid var(--ink); display: flex; justify-content: space-between; align-items: center; }
.modal-box .head h3 { font-size: 20px; }
.modal-box .body { padding: 24px; display: flex; flex-direction: column; gap: 16px; }

/* POS */
.pos-grid { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.pos-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.pos-item { background: white; border: 2px solid rgba(26,46,42,0.12); border-radius: 14px; padding: 14px 12px; cursor: pointer; text-align: left; position: relative; transition: all .12s; }
.pos-item:hover { border-color: var(--coral); transform: translateY(-2px); }
.pos-item .nm { font-weight: 700; font-size: 14px; margin-bottom: 4px; line-height: 1.3; }
.pos-item .pr { font-family: var(--font-mono); font-weight: 700; font-size: 14px; color: var(--coral-deep); }
.pos-item .qbadge { position: absolute; top: 8px; right: 8px; background: var(--coral); color: white; border-radius: 999px; width: 22px; height: 22px; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.cart { background: white; border: 2px solid var(--ink); border-radius: var(--radius-md); padding: 20px; position: sticky; top: 24px; }
.cart-line { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px dashed rgba(26,46,42,0.1); }
.qty-btn { width: 26px; height: 26px; border-radius: 6px; border: 1.5px solid rgba(26,46,42,0.2); background: white; cursor: pointer; font-weight: 700; display: grid; place-items: center; }
@media (max-width: 900px) { .pos-grid { grid-template-columns: 1fr; } .cart { position: static; } }

/* Pedidos (kanban cards) */
.orders-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.order-card { background: white; border: 2px solid rgba(26,46,42,0.12); border-radius: var(--radius-md); padding: 20px; }
.order-card.urgent { border-color: #fca5a5; box-shadow: 0 0 0 3px rgba(252,165,165,0.3); }
.order-card .ohead { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.order-card .table-lbl { font-weight: 800; font-size: 18px; }
.order-card .ocode { font-size: 11px; color: var(--ink-soft); font-family: var(--font-mono); }
.order-items { border-top: 1px solid rgba(26,46,42,0.08); border-bottom: 1px solid rgba(26,46,42,0.08); padding: 10px 0; margin-bottom: 12px; }
.order-items .li { display: flex; justify-content: space-between; font-size: 13px; padding: 2px 0; }
.ostatus { padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; font-family: var(--font-mono); }
.os-OPEN { background: #dbeafe; color: #1d4ed8; }
.os-PREPARING { background: #fef3c7; color: #d97706; }
.os-READY { background: #d1fae5; color: #059669; }
.os-DELIVERED { background: #ede9fe; color: #7c3aed; }
.os-PAID { background: #f3f4f6; color: #6b7280; }
.os-CANCELLED { background: #fee2e2; color: #dc2626; }

/* Role badges (clientes) */
.role-ADMIN { background: #fee2e2; color: #991b1b; }
.role-STAFF { background: #dbeafe; color: #1e40af; }
.role-CUSTOMER { background: #f3f4f6; color: #374151; }

/* ============================================
   Definições (config) — redesenhado
   ============================================ */
.cfg-wrap { max-width: 940px; }

/* Cabeçalho da página com pino decorativo */
.cfg-hero { position: relative; background: var(--ink); color: var(--cream); border: 2px solid var(--ink); border-radius: var(--radius-lg); padding: 26px 28px; margin-bottom: 22px; overflow: hidden; box-shadow: 0 8px 0 rgba(26,46,42,0.15); }
.cfg-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 90% 20%, rgba(244,197,66,0.14) 2px, transparent 2px), radial-gradient(circle at 70% 80%, rgba(255,107,91,0.12) 3px, transparent 3px); background-size: 46px 46px, 70px 70px; pointer-events: none; }
.cfg-hero .eyebrow { color: var(--yellow); border-color: rgba(255,246,228,0.4); margin-bottom: 12px; }
.cfg-hero h1 { font-size: clamp(28px, 4vw, 40px); color: var(--cream); position: relative; z-index: 1; }
.cfg-hero h1 .pin-accent { color: var(--coral); font-style: italic; font-weight: 400; }
.cfg-hero p { color: rgba(255,246,228,0.78); font-size: 14px; margin-top: 6px; position: relative; z-index: 1; max-width: 520px; }

/* Cartões de secção */
.cfg-card { background: white; border: 2px solid var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; margin-bottom: 20px; }
.cfg-head { display: flex; align-items: center; gap: 14px; padding: 18px 24px; border-bottom: 2px dashed rgba(26,46,42,0.14); }
.cfg-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 23px; border: 2px solid var(--ink); flex-shrink: 0; box-shadow: 0 3px 0 rgba(26,46,42,0.18); }
.cfg-ic.teal { background: var(--teal); }
.cfg-ic.yellow { background: var(--yellow); }
.cfg-ic.coral { background: var(--coral); }
.cfg-ic.ink { background: var(--ink); }
.cfg-head h2 { font-size: 19px; line-height: 1; }
.cfg-head .desc { font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }
.cfg-body { padding: 22px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.cfg-body.one-col { grid-template-columns: 1fr; }

.cfg-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.cfg-field.full { grid-column: 1 / -1; }
.cfg-field .lab { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cfg-field label { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-soft); font-weight: 500; }
.cfg-field .eur { font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--teal-deep); background: rgba(45,184,156,0.12); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.cfg-field input { padding: 12px 14px; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--paper); font-size: 15px; width: 100%; transition: border-color .15s, background .15s, box-shadow .15s; }
.cfg-field input:focus { outline: none; border-color: var(--coral); background: white; box-shadow: 0 0 0 3px rgba(255,107,91,0.15); }
.cfg-field .prefix-wrap { position: relative; }
.cfg-field .prefix-wrap input { padding-left: 30px; }
.cfg-field .prefix-wrap .pfx { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font-family: var(--font-mono); font-size: 13px; color: var(--ink-soft); pointer-events: none; }

/* Barra de guardar flutuante */
.cfg-savebar { position: sticky; bottom: 18px; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--ink); color: var(--cream); border: 2px solid var(--ink); border-radius: 999px; padding: 12px 14px 12px 26px; box-shadow: 0 8px 0 rgba(0,0,0,0.2); margin: 4px 0 28px; }
.cfg-savebar .note { font-size: 13px; display: flex; align-items: center; gap: 10px; }
.cfg-savebar .note .blip { width: 9px; height: 9px; border-radius: 999px; background: var(--yellow); box-shadow: 0 0 0 0 rgba(244,197,66,0.6); animation: cfg-blip 1.8s ease-out infinite; }
@keyframes cfg-blip { 0% { box-shadow: 0 0 0 0 rgba(244,197,66,0.5); } 100% { box-shadow: 0 0 0 9px rgba(244,197,66,0); } }

/* Integrações */
.intg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.intg-card { border: 2px solid var(--ink); border-radius: var(--radius-md); padding: 16px 18px; background: var(--paper); position: relative; transition: transform .15s, box-shadow .15s; }
.intg-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.intg-card.on { background: rgba(45,184,156,0.08); }
.intg-card .intg-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.intg-card .intg-emoji { font-size: 22px; }
.intg-card .intg-name { font-family: var(--font-display); font-weight: 800; font-size: 15px; flex: 1; }
.intg-card .intg-dot { width: 11px; height: 11px; border-radius: 999px; flex-shrink: 0; position: relative; }
.intg-card .intg-dot.on { background: var(--teal); box-shadow: 0 0 0 0 rgba(45,184,156,0.6); animation: cfg-blip 2s ease-out infinite; }
.intg-card .intg-dot.off { background: var(--mute); }
.intg-card .intg-keys { font-family: var(--font-mono); font-size: 10px; color: var(--ink-soft); line-height: 1.5; word-break: break-word; margin-bottom: 12px; }
.intg-card .intg-state { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.intg-card .intg-state.on { background: var(--teal); color: white; }
.intg-card .intg-state.off { background: rgba(26,46,42,0.08); color: var(--ink-soft); }

@media (max-width: 720px) {
  .cfg-body { grid-template-columns: 1fr; }
  .cfg-savebar { flex-direction: column; align-items: stretch; border-radius: var(--radius-md); padding: 16px; }
}

/* WhatsApp */
.wa-card { background: white; border: 2px solid var(--ink); border-radius: var(--radius-md); padding: 24px; margin-bottom: 20px; max-width: 760px; }
.wa-status-dot { width: 12px; height: 12px; border-radius: 50%; }
.wa-status-dot.open { background: #10b981; }
.wa-status-dot.connecting { background: #f59e0b; }
.wa-status-dot.off { background: #9ca3af; }
.wa-pre { background: var(--cream); padding: 12px; border-radius: 8px; font-size: 12px; overflow: auto; font-family: var(--font-mono); border: 1px solid rgba(26,46,42,0.1); }

/* Alerts / flash */
.alert { padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; }
.alert-error { background: #FFF0ED; border: 1px solid var(--coral); color: var(--coral-deep); }
.alert-success { background: rgba(45,184,156,0.12); border: 1px solid var(--teal); color: var(--teal-dark); }

@media (max-width: 768px) {
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; min-height: auto; padding: 12px 16px; }
  .admin-sidebar .brand { display: flex; align-items: center; justify-content: space-between; border-bottom: none; padding: 0; }
  .admin-burger { display: inline-flex; }
  /* Nav e footer colapsados por omissão; abrem com o hambúrguer */
  .admin-nav { display: none; padding: 12px 0 4px; }
  .admin-footer { display: none; padding: 12px 4px 4px; border-top: 1px dashed rgba(255,246,228,0.15); margin-top: 8px; }
  .admin-sidebar.nav-open .admin-nav { display: flex; }
  .admin-sidebar.nav-open .admin-footer { display: block; }
  .admin-main { padding: 16px; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  /* Tabelas largas: permitir scroll horizontal em vez de cortar */
  .table-wrap { overflow-x: auto; }
  .page-head h1 { font-size: 26px; }
}
@media (max-width: 480px) {
  .kpi-grid { grid-template-columns: 1fr; }
}

/* Mobile tweaks (site) */
@media (max-width: 780px) {
  .cal-wrap { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 380px; }
  .booking-body { padding: 24px; }
  .booking-summary { padding: 20px 24px; }
  .checkout-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}
