:root {
  color-scheme: dark;
  --bg: #12110f;
  --panel: #1e1c19;
  --panel2: #28241e;
  --ink: #f6f0e7;
  --muted: #aaa49a;
  --gold: #c9a66b;
  --line: #3b3730;
  --green: #88e0b2;
  --danger: #f0a59c;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ==========================================================
   BARRA DE ROLAGEM CUSTOMIZADA (W3C + WEBKIT)
   Harmonizada com a identidade ônix e dourada Navalha
   ========================================================== */
* {
  scrollbar-width: thin;
  scrollbar-color: #3b3730 #12110f;
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: #12110f;
  border-left: 1px solid #1f1d19;
}

::-webkit-scrollbar-thumb {
  background: #36322b;
  border-radius: 6px;
  border: 2px solid #12110f;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

::-webkit-scrollbar-corner {
  background: #12110f;
}

body {
  margin: 0;
  background: radial-gradient(ellipse at 75% -20%, #29241d 0, transparent 48%), var(--bg);
  color: var(--ink);
  min-height: 100vh;
}

button, input {
  font: inherit;
}

select { font: inherit; }

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* Header compacto otimizado para desktop e notebooks */
.site-header {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  height: 38px;
  width: 38px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font: 20px Georgia, serif;
  box-shadow: 0 0 0 3px #29241c;
}

.brand strong {
  display: block;
  font: 20px Georgia, serif;
  letter-spacing: -.03em;
}

.brand small {
  display: block;
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .22em;
  margin-top: 2px;
}

.header-note {
  color: var(--muted);
  font: italic 14px Georgia, serif;
}

.eyebrow {
  color: var(--gold);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .18em;
  margin: 0 0 10px;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2, h3 {
  font-family: Georgia, 'Times New Roman', serif;
  letter-spacing: -.03em;
}

h1 {
  font-size: 32px;
  line-height: 1.1;
}

h2 {
  font-size: 24px;
}

p {
  line-height: 1.45;
}

.muted {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 16px 0 24px;
  color: #777168;
  font-size: 12px;
  margin-top: 28px;
}

/* Campos de entrada com suporte a password e todos os tipos */
.field-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

input[type=date],
input[type=text],
input[type=tel],
input[type=number],
input[type=password],
input[type=email] {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #171614;
  color: var(--ink);
  padding: 0 14px;
  outline: none;
  font-size: 14px;
  transition: border-color .18s, box-shadow .18s;
}

input::placeholder {
  color: #ada69a;
}

input:focus,
input:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201, 166, 107, 0.2);
  outline: none;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

input[type=date]::-webkit-calendar-picker-indicator {
  filter: invert(.82);
}

.field-help {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0 0;
}

/* Botões */
.primary-button {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 9px;
  padding: 0 18px;
  background: var(--gold);
  color: #17130c;
  font-weight: 700;
  font-size: 14px;
  transition: background .15s;
}

.primary-button:hover {
  background: #e0bb80;
}

.primary-button:disabled {
  opacity: .55;
  cursor: wait;
}

.secondary-button,
.outline-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  height: 38px;
  border: 1px solid #73634b;
  border-radius: 8px;
  background: transparent;
  color: #e2c695;
  padding: 0 16px;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  box-sizing: border-box;
  transition: background .15s;
}

.secondary-button:hover,
.outline-button:hover {
  background: #30291f;
}

.form-message {
  min-height: 20px;
  margin: 8px 0 0;
  color: var(--danger);
  font-size: 13px;
}

.form-message.ok {
  color: var(--green);
}

.success-panel {
  margin-top: 20px;
  border: 1px solid var(--gold);
  border-radius: 12px;
  background: #2e281f;
  padding: 24px;
}

.success-panel h2 {
  margin-bottom: 10px;
}

/* ==========================================================
   PAINEL DO DONO (DESKTOP DENSITY OTIMIZADO)
   ========================================================== */
.owner-main {
  padding-top: 18px;
  padding-bottom: 24px;
}

.owner-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 14px;
}

.owner-heading h1 {
  font-size: 28px;
  margin-bottom: 2px;
}

.owner-heading p:last-child {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 0;
}

.owner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Seletor de Data Compacto */
.date-nav {
  min-height: 60px;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  text-align: center;
  position: relative;
  gap: 8px;
}

.date-nav .date-arrow {
  border: 0;
  background: transparent;
  color: var(--gold);
  font-size: 28px;
  line-height: 1;
  width: 36px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  touch-action: manipulation;
}

.date-nav .date-arrow:hover {
  background: #2c271f;
}

.date-nav .date-display {
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}

.date-nav .date-display:hover,
.date-nav .date-display[aria-expanded="true"] {
  background: #2c271f;
}

.date-nav .date-display strong {
  display: block;
  font-size: clamp(13px, 3.8vw, 15px);
  line-height: 1.3;
  word-break: break-word;
  max-width: 100%;
}

.date-nav .date-display span {
  display: block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 3px;
}

.date-nav input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.calendar-popover {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: min(340px, calc(100vw - 32px));
  padding: 16px;
  background: #24211c;
  border: 1px solid #746044;
  border-radius: 14px;
  box-shadow: 0 20px 50px #000c;
  text-align: left;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.calendar-header strong {
  font: 18px Georgia, serif;
  color: var(--ink);
  text-align: center;
}

.calendar-header button {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #302a22;
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
}

.calendar-header button:hover {
  border-color: var(--gold);
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}

.calendar-weekdays {
  margin-bottom: 6px;
}

.calendar-weekdays span {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  height: 20px;
}

.calendar-day {
  width: 100%;
  height: 38px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  touch-action: manipulation;
  cursor: pointer;
}

.calendar-day:hover {
  border-color: var(--gold);
  background: #332b20;
}

.calendar-day.today {
  border-color: #746044;
  color: var(--gold);
}

.calendar-day.selected {
  background: var(--gold);
  border-color: var(--gold);
  color: #17130c;
}

.calendar-blank {
  height: 36px;
}

.calendar-footer {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 12px;
}

.calendar-footer button {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 8px;
  border-radius: 6px;
  border: 0;
  background: transparent;
}

.calendar-footer button:hover {
  background: #332b20;
}

/* ==========================================================
   NAVEGAÇÃO E CALENDÁRIO INLINE DO CLIENTE (MOBILE FIRST)
   ========================================================== */
.client-date-summary-bar {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  text-align: center;
  gap: 8px;
  margin-bottom: 12px;
}

.client-date-summary-bar .date-arrow {
  border: 0;
  background: transparent;
  color: var(--gold);
  font-size: 28px;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  touch-action: manipulation;
  transition: all 0.15s ease;
}

.client-date-summary-bar .date-arrow:hover:not(:disabled) {
  background: #2c271f;
}

.client-date-summary-bar .date-arrow:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.client-date-display {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.client-date-display strong {
  display: block;
  font-size: clamp(14px, 3.8vw, 16px);
  line-height: 1.3;
  word-break: break-word;
  max-width: 100%;
  color: var(--ink);
  text-transform: capitalize;
}

.client-date-display span {
  display: inline-block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
}

.client-inline-calendar {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 16px;
  padding: 16px;
  background: #1e1b16;
  border: 1px solid #453a2d;
  border-radius: 14px;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.4), 0 4px 20px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
}

.client-inline-calendar .calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.client-inline-calendar .calendar-header strong {
  font: 18px Georgia, serif;
  color: var(--gold);
  text-align: center;
  text-transform: capitalize;
}

.client-inline-calendar .calendar-nav-btn {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #2b251d;
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
  transition: all 0.15s ease;
}

.client-inline-calendar .calendar-nav-btn:hover:not(:disabled) {
  border-color: var(--gold);
  background: #393126;
}

.client-inline-calendar .calendar-nav-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.client-inline-calendar .calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  text-align: center;
  margin-bottom: 8px;
}

.client-inline-calendar .calendar-weekdays span {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
}

.client-inline-calendar .calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.client-inline-calendar .calendar-day {
  width: 100%;
  min-height: 42px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  touch-action: manipulation;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.12s ease;
  user-select: none;
  -webkit-user-select: none;
}

.client-inline-calendar .calendar-day:hover:not(:disabled) {
  border-color: var(--gold);
  background: #332b20;
}

.client-inline-calendar .calendar-day.today {
  border-color: #746044;
  color: var(--gold);
  font-weight: 700;
}

.client-inline-calendar .calendar-day.selected {
  background: var(--gold);
  border-color: var(--gold);
  color: #17130c;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(197, 160, 89, 0.4);
}

.client-inline-calendar .calendar-day:disabled {
  opacity: 0.22;
  cursor: not-allowed;
  pointer-events: none;
}

.client-inline-calendar .calendar-blank {
  min-height: 42px;
}

.client-inline-calendar .calendar-footer {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 12px;
  padding-top: 10px;
}

.client-inline-calendar .calendar-today-btn {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid #4a3e30;
  background: #27211a;
  cursor: pointer;
  touch-action: manipulation;
  transition: all 0.15s ease;
}

.client-inline-calendar .calendar-today-btn:hover {
  background: #382f24;
  border-color: var(--gold);
}

/* Métricas Compactas */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 12px 0 18px;
}

.metric {
  min-height: 74px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.metric-highlight {
  background: #29241c;
}

.metric span {
  display: block;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}

.metric strong {
  display: block;
  font: 26px Georgia, serif;
  margin-top: 2px;
  line-height: 1.1;
}

.metric small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 1px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.section-heading h2 {
  margin: 0;
  font-size: 19px;
}

.section-heading > span {
  color: var(--muted);
  font-size: 12px;
}

/* Grade de Horários Compacta (Visualização limpa sem necessidade de scroll gigante) */
.schedule {
  display: grid;
  gap: 6px;
}

.slot-row {
  min-height: 44px;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #191815;
}

.slot-row .slot-time {
  font-size: 15px;
  font-weight: 700;
}

.slot-row.free .slot-detail,
.slot-row.occupied .slot-detail,
.slot-row.break .slot-detail {
  color: #9e9992;
  font-size: 13px;
}

.slot-row.booked {
  min-height: 60px;
  background: #27231e;
  border-left: 4px solid var(--gold);
  padding: 9px 16px;
}

.slot-row.booked .slot-detail strong {
  display: block;
  font-size: 15px;
}

.slot-row.booked .slot-detail small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.whatsapp-button {
  padding: 7px 13px;
  border: 1px solid #397761;
  border-radius: 8px;
  background: #17392d;
  color: var(--green);
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
}

.whatsapp-button:hover {
  background: #24513e;
}

.slot-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cancel-booking-btn {
  padding: 7px 11px;
  border: 1px solid #5a2e2e;
  border-radius: 8px;
  background: #2a1515;
  color: #ff9e9e;
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cancel-booking-btn:hover {
  background: #3d1c1c;
  border-color: #8b3c3c;
  color: #ffc4c4;
}

/* ==========================================================
   WIZARD CLIENTE COMPACTO
   ========================================================== */
.client-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 36px;
  padding-top: 24px;
  align-items: start;
}

.intro {
  padding: 12px 0;
  position: sticky;
  top: 16px;
}

.intro h1 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
  margin-bottom: 12px;
}

.intro > p:not(.eyebrow):not(.intro-detail):not(.intro-foot) {
  font-size: 16px;
  color: var(--muted);
  max-width: 400px;
}

.intro-rule {
  height: 1px;
  background: var(--line);
  max-width: 320px;
  margin: 28px 0 20px;
}

.intro-foot {
  color: var(--muted);
  margin-top: 36px;
  font-size: 13px;
}

.journey-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.journey-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #8e8980;
  font: 17px Georgia, serif;
  transition: color .2s ease, transform .2s ease;
}

.journey-list li span {
  font: 700 12px Arial, sans-serif;
  color: #8e8980;
  letter-spacing: .1em;
}

.journey-list li.current {
  color: var(--ink);
  transform: translateX(4px);
}

.journey-list li.current span,
.journey-list li.complete span {
  color: var(--gold);
}

.journey-list li.complete {
  color: #c5b8a5;
}

.booking-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 30px;
  box-shadow: 0 16px 50px #0006;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.card-top h2 {
  font-size: 24px;
  margin-bottom: 0;
  outline: none;
}

.step-pill {
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 6px 10px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: .12em;
}

.progress-track {
  height: 3px;
  background: #38342c;
  margin: 0 -30px 22px;
  overflow: hidden;
}

.progress-track span {
  display: block;
  height: 100%;
  width: 25%;
  background: var(--gold);
  transition: width .35s ease;
}

.step-intro {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 18px;
}

.service-list {
  display: grid;
  gap: 8px;
}

.service-option {
  position: relative;
  width: 100%;
  text-align: left;
  background: #24221f;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background .15s, border-color .15s;
}

.service-option:hover,
.time-option:hover {
  border-color: var(--gold);
}

.service-option.selected,
.time-option.selected {
  border-color: var(--gold);
  background: #352b1d;
  box-shadow: inset 3px 0 var(--gold);
}

.service-option strong {
  display: block;
  font-size: 15px;
}

.service-option small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}

.service-option b {
  white-space: nowrap;
  color: var(--gold);
}

.client-date-nav {
  min-height: 60px;
  height: auto;
  padding: 8px 10px;
  border-radius: 10px;
  background: #24221f;
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.time-option {
  height: 42px;
  background: #24221f;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.booking-summary-card {
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid #625440;
  border-radius: 10px;
  background: #29241d;
}

.booking-summary-card span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
}

.booking-summary-card p {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 14px;
}

.step-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.step-actions .primary-button {
  flex: 1;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  position: relative;
}

.step-actions .primary-button span {
  position: absolute;
  right: 16px;
}

/* ==========================================================
   TELA DE LOGIN E CADASTRO
   ========================================================== */
.login-layout {
  display: flex;
  justify-content: center;
  padding-top: 26px;
  padding-bottom: 40px;
}

.login-card {
  width: 100%;
  max-width: 480px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 30px;
}

.auth-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  margin: 18px 0 16px;
}

.tab-button {
  flex: 1;
  padding: 10px 8px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition: all .18s;
  cursor: pointer;
}

.tab-button:hover {
  color: var(--ink);
}

.tab-button.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: #24211c;
  border-radius: 7px 7px 0 0;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-text-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--gold);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  transition: opacity 0.2s;
}

.auth-text-link:hover {
  opacity: 0.8;
}

.notice-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.4;
  border: 1px solid var(--line);
}

.warning-banner {
  background: #252018;
  border-color: #785a28;
  color: #f7dfa5;
}

.banner-link-btn {
  background: #3a2e1d;
  color: var(--gold);
  border: 1px solid #785a28;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.banner-link-btn:hover {
  background: #4d3d27;
}

.header-tenant-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: nowrap;
}

.btn-logout {
  border-color: #63332c !important;
  color: #f0a59c !important;
}

.btn-logout:hover {
  background: #3b1e1b !important;
  border-color: #f0a59c !important;
}

.demo-box {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.demo-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .12em;
}

.demo-sub {
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0 10px;
}

.demo-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.demo-card-btn {
  padding: 10px 12px;
  background: #24211c;
  border: 1px solid #5a4b37;
  border-radius: 8px;
  color: var(--ink);
  text-align: left;
  transition: all .18s;
  cursor: pointer;
}

.demo-card-btn:hover {
  border-color: var(--gold);
  background: #352c1e;
}

.demo-card-btn strong {
  display: block;
  font-size: 13px;
  color: var(--gold);
}

.demo-card-btn small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

/* ==========================================================
   TELA DE VALORES E SERVIÇOS (IDENTIDADE NAVALHA)
   ========================================================== */
.services-main .owner-heading {
  margin-bottom: 24px;
}

.service-management {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr);
  align-items: start;
  gap: 20px;
}

.service-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.service-panel h2 {
  font-size: 20px;
  margin: 0;
}

.price-note {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
  margin: 6px 0 18px;
}

.price-list {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.empty-services {
  padding: 24px 18px;
  background: #171614;
  border: 1px dashed var(--line);
  border-radius: 10px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* Card individual de serviço */
.price-card,
.price-row {
  display: block;
  background: #171614;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.price-card:hover,
.price-row:hover {
  border-color: #554d40;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.service-card-header {
  margin-bottom: 14px;
}

.service-title-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.service-name {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-family: inherit;
  line-height: 1.25;
}

.service-duration-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #252019;
  border: 1px solid #4d3e2b;
  color: var(--gold);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.service-duration-badge .badge-icon {
  font-size: 11px;
}

.service-desc {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

/* Rodapé / Barra de Ações do Card */
.service-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid #24201b;
  flex-wrap: wrap;
}

.price-input-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.price-field-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 700;
  margin: 0;
}

.price-control {
  display: inline-flex;
  align-items: center;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #1e1c18;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.price-control:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201, 166, 107, 0.2);
}

.price-control .price-step {
  width: 36px;
  height: 38px;
  border: 0;
  background: #28241e;
  color: var(--gold);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  user-select: none;
}

.price-control .price-step:hover {
  background: #383228;
  color: #edd0a0;
}

.price-control .price-step:active {
  background: #4a3e2e;
}

.price-control input {
  width: 84px;
  height: 38px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  padding: 0;
  border-radius: 0;
}

.price-control input:focus {
  outline: none;
  box-shadow: none;
}

.service-actions,
.price-row-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.save-price-btn,
.save-price {
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--gold);
  color: #17130c;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s ease;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.save-price-btn:hover,
.save-price:hover {
  background: #e0bb80;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201, 166, 107, 0.3);
}

.save-price-btn:active,
.save-price:active {
  transform: translateY(0);
}

.save-price-btn:disabled,
.save-price:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.delete-service-btn {
  height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(240, 165, 156, 0.35);
  border-radius: 8px;
  background: rgba(240, 165, 156, 0.08);
  color: var(--danger);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.delete-service-btn:hover {
  background: rgba(240, 165, 156, 0.18);
  border-color: var(--danger);
  color: #ffb8b0;
  transform: translateY(-1px);
}

.delete-service-btn:active {
  transform: translateY(0);
}

.delete-service-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.service-form-field {
  margin-bottom: 16px;
}

.duration-choices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.duration-choices button {
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #171614;
  color: var(--ink);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.duration-choices button:hover {
  border-color: var(--gold);
  background: #252019;
  color: #edd0a0;
}

.duration-choices button[aria-pressed="true"] {
  border-color: var(--gold);
  background: #352b1d;
  color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold);
}

/* ==========================================================
   RESPONSIVIDADE MOBILE
   ========================================================== */
@media (max-width: 900px) {
  .client-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 16px;
  }
  .intro {
    position: static;
    padding: 0 0 10px;
  }
  .journey-list, .intro-rule, .intro-foot {
    display: none;
  }
  .service-management {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 24px, 1180px);
  }
  .site-header {
    height: 56px;
  }
  .header-note {
    display: none;
  }
  .header-tenant-actions {
    gap: 5px;
  }
  .header-tenant-actions .outline-button,
  .header-tenant-actions .secondary-button {
    font-size: 11px;
    padding: 6px 9px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .metric:last-child {
    grid-column: 1 / -1;
  }
  .time-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .slot-row {
    grid-template-columns: 65px 1fr;
    gap: 8px;
  }
  .whatsapp-button {
    grid-column: 2;
    justify-self: start;
  }
  .demo-actions {
    grid-template-columns: 1fr;
  }
  .service-panel {
    padding: 18px 14px;
  }
  .price-card,
  .price-row {
    padding: 14px;
  }
  .service-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .price-input-group {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .service-actions,
  .price-row-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }
  .save-price-btn,
  .save-price,
  .delete-service-btn {
    width: 100%;
    text-align: center;
  }
  .client-inline-calendar {
    padding: 12px 6px;
    max-width: 100%;
    border-radius: 12px;
  }
  .client-inline-calendar .calendar-days {
    gap: 2px;
  }
  .client-inline-calendar .calendar-day {
    min-height: 40px;
    font-size: 14px;
    border-radius: 6px;
  }
  .client-inline-calendar .calendar-blank {
    min-height: 40px;
  }
  .client-inline-calendar .calendar-weekdays span {
    font-size: 10.5px;
  }
  .client-date-summary-bar {
    padding: 6px 8px;
  }
}

/* ==========================================================
   CHECKOUT E PAGAMENTO PIX (ASAAS)
   ========================================================== */
.payment-layout {
  padding-top: 24px;
  padding-bottom: 40px;
}

.payment-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 22px;
  align-items: start;
}

.plan-card {
  padding: 28px 30px;
}

.plan-price {
  margin: 12px 0 6px;
  font-family: Georgia, serif;
}

.plan-price strong {
  font-size: 38px;
  color: var(--gold);
}

.plan-price span {
  font-size: 15px;
  color: var(--muted);
}

.plan-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  font-size: 14px;
}

.plan-features li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
}

.check-icon {
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 15px;
}

.plan-guarantee {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.checkout-card {
  padding: 28px 30px;
}

.checkout-instruction {
  font-size: 14px;
  color: var(--muted);
  margin: 14px 0 16px;
}

.pix-loading-state {
  text-align: center;
  padding: 40px 20px;
}

.loading-spinner {
  width: 34px;
  height: 34px;
  border: 3px solid #36322b;
  border-top-color: var(--gold);
  border-radius: 50%;
  margin: 0 auto 14px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.qr-code-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 16px 0;
}

.qr-code-box {
  padding: 12px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 0 0 3px #3b3730, 0 12px 35px rgba(0,0,0,0.6);
  display: inline-block;
  transition: opacity .3s;
}

.qr-code-box img {
  display: block;
  max-width: 100%;
  height: auto;
}

.pix-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 6px 14px;
  border-radius: 50px;
  background: #24211c;
  border: 1px solid #4a3e2e;
  font-size: 13px;
  color: var(--gold);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.pix-copy-section {
  margin-top: 18px;
}

.pix-input-group {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 6px;
}

.test-sandbox-box {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* ==========================================================
   BADGE DE ASSINATURA & BANNER DE COBRANÇA (IDENTIDADE NAVALHA)
   ========================================================== */
.sub-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-sizing: border-box;
  text-decoration: none;
  transition: all .15s ease;
  user-select: none;
}

.sub-status-badge .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

/* Estado Ativo: Estilo Navalha Premium (fundo escuro + borda dourada sutil + dot verde esmeralda) */
.sub-status-badge.active {
  background: #1c1a16;
  border: 1px solid rgba(212, 168, 83, 0.45);
  color: #f2e7d5;
}

.sub-status-badge.active .status-dot {
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}

/* Estado Teste: Dourado / Âmbar */
.sub-status-badge.trial {
  background: #1c1a16;
  border: 1px solid #5e4d34;
  color: var(--gold);
}

.sub-status-badge.trial .status-dot {
  background: #f59e0b;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.5);
}

/* Estado Vencido: Vinho / Rubi escuro */
.sub-status-badge.overdue {
  background: #231412;
  border: 1px solid #7c2d22;
  color: #fca5a5;
}

.sub-status-badge.overdue .status-dot {
  background: #ef4444;
  box-shadow: 0 0 6px #ef4444;
}

/* Botão Compacto de Pagamento no Header (substitui o primary-button gigante) */
.header-pay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--gold);
  color: #17130c;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  box-sizing: border-box;
  text-decoration: none;
  border: 0;
  transition: background .15s;
}

.header-pay-btn:hover {
  background: #e0bb80;
}

.header-pay-btn[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .payment-grid {
    grid-template-columns: 1fr;
  }
}

/* Banner de Alerta de Assinatura Vencida (Painel do Dono) */
.overdue-banner[hidden] {
  display: none !important;
}

.overdue-banner {
  background: #231412;
  border: 1px solid #632a24;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.overdue-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.overdue-icon {
  font-size: 24px;
  line-height: 1;
}

.overdue-content strong {
  display: block;
  color: #ff9d8f;
  font-size: 14px;
  margin-bottom: 2px;
}

.overdue-content p {
  color: #d1aba6;
  font-size: 13px;
  margin: 0;
}

.overdue-pay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  white-space: nowrap;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  background: #a93226;
  border: 1px solid #c0392b;
  color: #fff;
  transition: background .15s;
}

.overdue-pay-btn:hover {
  background: #c0392b;
}

@media (max-width: 768px) {
  .overdue-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .overdue-pay-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

.slot-row.break { background: #24201a; }

/* Agenda de funcionamento */
.hours-layout { padding-block: 24px 40px; }
.hours-intro { max-width: 700px; color: var(--muted); }
.hours-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.hours-card { min-width: 0; }
.hours-card h2 { margin-bottom: 8px; }
.hours-card > p { color: var(--muted); font-size: 14px; }
.hours-form { display: grid; gap: 12px; }
.hours-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hours-fields > div { min-width: 0; }
.hours-form select, .hours-form input[type=time], .hours-form input[type=date] {
  width: 100%; min-width: 0; min-height: 44px; padding: 0 12px;
  color: var(--ink); background: #171614; border: 1px solid var(--line); border-radius: 9px;
}
.hours-form select:focus-visible, .hours-form input:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}
.hours-open { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.hours-open input { width: 18px; height: 18px; accent-color: var(--gold); }
.hours-rule-list { display: grid; gap: 8px; margin: 16px 0 0; }
.hours-rule {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel2);
}
.hours-rule span { color: var(--muted); font-size: 13px; text-align: right; }
.hours-rule button { flex-shrink: 0; }

@media (max-width: 900px) {
  .hours-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-header {
    height: auto; min-height: 56px; padding-block: 12px;
    flex-wrap: wrap; align-items: flex-start; gap: 12px;
  }
  .brand { min-width: 0; }
  .brand strong { overflow-wrap: anywhere; }
  .brand > span:last-child { min-width: 0; }
  .owner-page .header-tenant-actions {
    width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .owner-page .header-tenant-actions > * {
    min-width: 0; width: 100%; height: auto; min-height: 40px;
    justify-content: center; text-align: center; white-space: normal;
    font-size: 13px; padding: 8px;
  }
  .owner-heading { align-items: flex-start; flex-direction: column; }
  .owner-actions { width: 100%; flex-wrap: wrap; }
  .owner-actions > * { flex: 1 1 140px; text-align: center; justify-content: center; }
  .login-card, .booking-card, .plan-card, .checkout-card { padding: 20px 16px; min-width: 0; }
  .progress-track { margin-inline: -16px; }
  .service-panel { min-width: 0; padding: 20px 16px; }
  .price-row { grid-template-columns: minmax(0, 1fr); }
  .price-row label { min-width: 0; }
  .price-row .price-control { max-width: 220px; }
  .card-top { flex-wrap: wrap; }
  .auth-tabs { min-width: 0; }
  .tab-button { min-width: 0; font-size: 13px; overflow-wrap: anywhere; }
  .payment-page .site-header > a { max-width: 100%; }
  .pix-input-group { grid-template-columns: minmax(0, 1fr); }
  .pix-input-group input, .pix-input-group button { min-width: 0; width: 100%; }
  .qr-code-box { max-width: 100%; }
  .qr-code-box img { width: 220px; max-width: 100%; }
  .hours-fields { grid-template-columns: 1fr; }
  .hours-rule { align-items: flex-start; flex-wrap: wrap; }
  .hours-rule span { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loading-spinner, .pulse-dot { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}


.error-page { min-height:100vh; display:grid; place-items:center; padding:24px; background:var(--bg,#12110f); color:var(--text,#f6f2eb); }
.error-card { width:min(100%,540px); padding:clamp(28px,6vw,56px); border:1px solid rgba(212,176,103,.3); border-radius:22px; background:var(--surface,#1d1b18); box-shadow:0 24px 80px rgba(0,0,0,.28); }
.error-brand { display:inline-flex; align-items:center; gap:12px; color:inherit; text-decoration:none; font-weight:700; margin-bottom:36px; }
.error-card h1 { font-size:clamp(2rem,6vw,3.2rem); line-height:1.1; margin:12px 0 18px; }
.error-card p:not(.eyebrow) { line-height:1.6; max-width:42ch; }
.error-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:30px; }
.error-actions a,.error-actions button { min-height:44px; display:inline-flex; align-items:center; justify-content:center; padding:10px 20px; }

.notice-preference { margin:16px 0 24px; padding:16px 20px; border:1px solid rgba(212,176,103,.25); border-radius:12px; }
.notice-preference label { display:flex; align-items:flex-start; gap:10px; line-height:1.45; cursor:pointer; }
.notice-preference input { width:18px; height:18px; flex:none; margin-top:2px; accent-color:var(--gold,#d4b067); }
.demo-box[hidden] { display: none; }

.login-card h1 { font-size:24px; margin-bottom:0; }

.price-row > div:first-child { min-width: 0; overflow-wrap: anywhere; }
.price-row > div:first-child strong, .price-row > div:first-child small { display: block; }
.price-row > div:first-child small { color: var(--muted); margin-top: 4px; line-height: 1.35; }
.price-row-actions { grid-column: 1 / -1; flex-wrap: wrap; }
.save-price {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: var(--gold);
  color: #171614;
  font-weight: 700;
  cursor: pointer;
}
.save-price:disabled { opacity: .55; cursor: not-allowed; }

/* ==========================================================
   TERMOS DE USO E POLÍTICA DE PRIVACIDADE (NAV-TERMS)
   ========================================================== */
.footer-link {
  color: var(--muted);
  text-decoration: underline;
  transition: color 0.2s ease;
}
.footer-link:hover {
  color: var(--gold);
}

.terms-field {
  margin-top: 14px;
  margin-bottom: 14px;
  background: rgba(201, 166, 107, 0.05);
  border: 1px solid rgba(201, 166, 107, 0.2);
  border-radius: 8px;
  padding: 12px 14px;
}

.terms-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink);
  cursor: pointer;
  line-height: 1.45;
}

.terms-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
  flex-shrink: 0;
  cursor: pointer;
}

.terms-checkbox-label a {
  color: var(--gold);
  text-decoration: underline;
}

.terms-checkbox-label a:hover {
  color: #fff;
}

.booking-terms-notice {
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

.booking-terms-notice a {
  color: var(--gold);
  text-decoration: underline;
}

.link-btn-text {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--gold);
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
}
.link-btn-text:hover {
  color: #fff;
}

/* Bottom Sheet / Modal de Política de Agendamento */
.policy-sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.policy-sheet-overlay[hidden] {
  display: none !important;
}

.policy-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.policy-sheet-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 540px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 24px;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.6);
  max-height: 85vh;
  overflow-y: auto;
  animation: slideUpSheet 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 641px) {
  .policy-sheet-overlay {
    align-items: center;
  }
  .policy-sheet-content {
    border-radius: 16px;
    animation: scaleModal 0.2s ease-out;
  }
}

@keyframes slideUpSheet {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes scaleModal {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.policy-sheet-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.policy-sheet-header h3 {
  margin: 6px 0 0;
  font-size: 18px;
  color: var(--ink);
}

.policy-sheet-close-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}
.policy-sheet-close-btn:hover {
  color: #fff;
}

.policy-sheet-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.policy-item {
  background: var(--panel2);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  padding: 12px 14px;
}

.policy-item strong {
  display: block;
  font-size: 14px;
  color: var(--gold);
  margin-bottom: 4px;
}

.policy-item p {
  margin: 0;
  font-size: 13px;
  color: #ded9d0;
  line-height: 1.45;
}

.policy-sheet-footer {
  margin-top: 8px;
}

