﻿:root {
  --ink: #281823;
  --muted: #756571;
  --wine: #7f2f56;
  --wine-soft: #f2dce7;
  --sage: #dbe8dc;
  --sage-dark: #31675f;
  --peach: #f6d8bd;
  --cream: #fff9f0;
  --paper: #fbf0e4;
  --gold: #bd8738;
  --line: rgba(80, 48, 68, 0.13);
  --shadow: 0 26px 70px rgba(50, 31, 44, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  background:
    linear-gradient(120deg, rgba(219, 232, 220, 0.76), transparent 38%),
    linear-gradient(210deg, rgba(246, 216, 189, 0.82), transparent 40%),
    var(--paper);
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.topbar {
  position: sticky;
  top: 14px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: rgba(255, 249, 240, 0.86);
  box-shadow: 0 18px 45px rgba(55, 32, 47, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 16px 16px 16px 6px;
  color: var(--cream);
  background: linear-gradient(145deg, var(--wine), #4d1f39);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 800;
}
.platform-brand-logo { width: 78px; height: 78px; flex: 0 0 78px; border: 1px solid rgba(255, 232, 245, .2); border-radius: 20px 20px 20px 7px; object-fit: contain; background: #090510; box-shadow: 0 8px 20px rgba(0,0,0,.24); }

/* Identidade visual exclusiva da página geral da Agenda Telos. */
body.platform-mode {
  background-color: #07030b;
  background-image:
    linear-gradient(rgba(7, 3, 11, .72), rgba(7, 3, 11, .86)),
    url("assets/agenda-telos-background.jpeg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}
body.platform-mode .topbar,
body.platform-mode .site-footer { background-color: rgba(13, 6, 18, .84); backdrop-filter: blur(12px); }
body.platform-mode .platform-hero > div,
body.platform-mode .platform-link-preview,
body.platform-mode .platform-explanation,
body.platform-mode .platform-audiences > article {
  background: rgba(18, 9, 28, .82);
  backdrop-filter: blur(8px);
}

/* Prévia Telos: azul elétrico e violeta, sem o vermelho da identidade antiga. */
body.platform-mode {
  color: #f5f1ff;
  background-image:
    linear-gradient(rgba(5, 4, 13, .68), rgba(5, 4, 13, .84)),
    url("assets/agenda-telos-background.jpeg");
}
body.platform-mode .topbar,
body.platform-mode .site-footer { border-color: rgba(163, 148, 255, .24); background: rgba(8, 7, 18, .86); }
body.platform-mode .segmented,
body.platform-mode .nav-button { border-color: rgba(156, 143, 255, .19); background: rgba(19, 14, 35, .82); }
body.platform-mode .nav-button { color: #ddd6ff; }
body.platform-mode .nav-button:hover { color: #fff; background: rgba(54, 41, 99, .74); }
body.platform-mode .nav-button.active,
body.platform-mode .primary-button { background: linear-gradient(135deg, #6d3ac4, #9d55df); box-shadow: 0 14px 30px rgba(125, 56, 204, .30); }
body.platform-mode .primary-button:hover,
body.platform-mode .nav-button.active:hover { background: linear-gradient(135deg, #824bd9, #b96cf0); }
body.platform-mode .platform-hero > div,
body.platform-mode .platform-link-preview,
body.platform-mode .platform-explanation,
body.platform-mode .platform-audiences > article { border-color: rgba(169, 154, 255, .21); background: rgba(12, 9, 28, .78); }
body.platform-mode .platform-link-preview { background: linear-gradient(150deg, rgba(25, 19, 59, .88), rgba(9, 8, 25, .82)); }
body.platform-mode .platform-link-preview span,
body.platform-mode .eyebrow { color: #aaa3ff; }
body.platform-mode .platform-link-preview strong,
body.platform-mode h1,
body.platform-mode h2 { color: #f8f5ff; }
body.platform-mode .platform-link-preview small,
body.platform-mode .platform-hero p:not(.eyebrow),
body.platform-mode .platform-audiences p,
body.platform-mode .platform-audiences li { color: #c6c0dc; }
body.platform-mode .platform-steps article { border-color: rgba(116, 102, 229, .3); background: rgba(18, 14, 42, .82); }
body.platform-mode .platform-steps article > span { background: linear-gradient(135deg, #6f3dcb, #a65ae2); }
body.platform-mode .platform-client-note {
  color: #e8e5ff;
  border: 1px solid rgba(169, 103, 236, .42);
  background: linear-gradient(135deg, rgba(100, 54, 185, .38), rgba(156, 76, 216, .30));
  box-shadow: inset 0 1px rgba(255,255,255,.08);
}
body.platform-mode .topbar,
body.platform-mode .site-footer {
  border-color: rgba(159, 126, 255, .28);
  background: linear-gradient(135deg, rgba(35, 13, 58, .94), rgba(15, 8, 35, .94));
}
body.platform-mode .brand strong,
body.platform-mode .footer-brand strong { color: #fbf8ff; }
body.platform-mode .brand small,
body.platform-mode .footer-brand small,
body.platform-mode .site-footer > p { color: #cec2e1; }

/* As telas gerais de cadastro também seguem a paleta Telos, sem o rubi antigo. */
body.platform-mode .customer-gate,
body.platform-mode .reader-signup-copy,
body.platform-mode .reader-signup-form {
  border-color: rgba(166, 126, 235, .24);
  background: rgba(18, 9, 31, .88);
}
body.platform-mode .gate-copy {
  border-color: rgba(175, 133, 245, .25);
  background: linear-gradient(145deg, rgba(64, 25, 98, .92), rgba(21, 9, 39, .95) 72%);
}
body.platform-mode .reader-signup-copy { background: rgba(21, 13, 29, .90); }
body.platform-mode .reader-benefits span {
  border: 1px solid rgba(163, 115, 232, .16);
  background: rgba(100, 47, 137, .22);
}
body.platform-mode input,
body.platform-mode select,
body.platform-mode textarea {
  border-color: rgba(183, 155, 235, .25);
  background: rgba(8, 5, 17, .88);
}
body.platform-mode input:focus,
body.platform-mode select:focus,
body.platform-mode textarea:focus { outline-color: #b76bf0; }
body.platform-mode input::placeholder,
body.platform-mode textarea::placeholder { color: #b9abc9; }
body.platform-mode .secondary-button,
body.platform-mode .ghost-button {
  border-color: rgba(184, 151, 244, .30);
  background: rgba(56, 25, 79, .74);
}
body.platform-mode .secondary-button:hover,
body.platform-mode .ghost-button:hover { background: rgba(86, 41, 124, .84); }
body.platform-mode .signup-delivery-choice { border-color: rgba(183, 155, 235, .20); }
body.platform-mode .booking-progress {
  border-color: rgba(183, 155, 235, .22);
  background: rgba(22, 9, 38, .84);
}
body.platform-mode .booking-progress li { color: #cfc3df; }
body.platform-mode .booking-progress li span {
  color: #f5efff;
  border-color: rgba(183, 155, 235, .38);
  background: rgba(59, 25, 84, .82);
}
body.platform-mode .booking-progress li.complete span,
body.platform-mode .booking-progress li.active span { border-color: #8247cd; background: #8247cd; }
body.platform-mode .booking-progress li.complete::before,
body.platform-mode .booking-progress li.active::before { background: #9d5ddd; }
body.platform-mode .eyebrow,
body.platform-mode .home-service-card > small,
body.platform-mode .select-label,
body.platform-mode .desk-kicker { color: #bda6ff; }
body.platform-mode .text-link,
body.platform-mode .inline-link { color: #e1d3ff; }
body.platform-mode .calendar-field {
  border-color: rgba(184, 151, 244, .26);
  background: rgba(34, 19, 55, .88);
}
body.platform-mode .calendar-toolbar,
body.platform-mode .calendar-weekdays { color: #d3c5e4; }
body.platform-mode .calendar-arrow {
  border-color: rgba(184, 151, 244, .34);
  color: #f7f1ff;
  background: rgba(77, 40, 110, .92);
}
body.platform-mode .calendar-day {
  color: #f7f1ff;
  background: rgba(76, 51, 99, .78);
}
body.platform-mode .calendar-day:hover:not(:disabled) {
  color: #fff;
  background: rgba(133, 74, 185, .86);
}
body.platform-mode .calendar-day.today { outline-color: #b86ff0; }
body.platform-mode .calendar-day.selected {
  color: #fff;
  background: linear-gradient(135deg, #7339c6, #a45be1);
  box-shadow: 0 7px 18px rgba(117, 52, 197, .32);
}
body.platform-mode .calendar-day:disabled {
  color: #8b7d99;
  background: rgba(42, 29, 56, .76);
  opacity: .65;
}

/* Painel administrativo da Agenda Telos. */
body:has(#adminView.active) {
  background:
    radial-gradient(circle at 8% 0%, rgba(87, 37, 135, .38), transparent 36%),
    radial-gradient(circle at 96% 8%, rgba(31, 12, 59, .92), transparent 34%),
    #090510;
}
body:has(#adminView.active) .topbar { border-color: rgba(170, 129, 239, .25); background: rgba(20, 9, 37, .94); }
body:has(#adminView.active) .nav-button.active { background: linear-gradient(135deg, #713bc6, #a75ae1); box-shadow: 0 14px 30px rgba(114, 53, 196, .30); }
#adminView .dashboard,
#adminView .admin-calendar-panel,
#adminView .dashboard-top,
#adminView .request-card,
#adminView .empty-state,
#adminView .admin-tabs {
  border-color: rgba(181, 144, 242, .18);
  background: rgba(21, 10, 36, .92);
}
#adminView .dashboard-welcome { border-color: rgba(190, 154, 248, .19); background: linear-gradient(120deg, #21103d, #3c1d65 58%, #633598); }
#adminView .admin-tab { color: #cfc2df; }
#adminView .admin-tab.active { background: linear-gradient(135deg, #713bc6, #a75ae1); }
#adminView .eyebrow,
#adminView .request-service-summary,
#adminView .dashboard-welcome .eyebrow { color: #c9afff; }
#adminView .admin-calendar-day { border-color: rgba(185, 151, 241, .12); color: #f3edff; background: #1a0d2b; }
#adminView .admin-calendar-day:hover { border-color: rgba(188, 141, 246, .55); background: #32204a; }
#adminView .admin-calendar-day.has-booking { color: #efe4ff; background: #4b2776; }
#adminView .admin-calendar-day.selected { color: #fff; background: #8951d5; }
#adminView .stats-grid div { border-color: rgba(184, 147, 243, .16) !important; background: rgba(35, 18, 56, .92) !important; }
#adminView .stats-grid div::after { background: #9155df; }
#adminView .stats-grid i { color: #e1caff; background: rgba(177, 135, 235, .14); }
#adminView .empty-state { background: radial-gradient(circle at 50% 15%, #342052, #170b29 62%); }
#adminView .empty-state-icon { background: linear-gradient(135deg, #743cc8, #a85ae3); }
.subscription-details > div,
.subscription-stats article,
.subscriptions-toolbar,
.subscription-row {
  border-color: rgba(184,147,243,.22);
  background: linear-gradient(145deg, #2a1247, #170a2b);
}
.subscription-details small,
.subscription-stats small { color: #cdbce1; }
.add-category-button {
  color: #f8f3ff;
  border-color: rgba(184,147,243,.34);
  background: linear-gradient(145deg, rgba(53,24,84,.94), rgba(25,11,43,.96));
}
.add-category-button small { color: #d4c5e4; }
.add-category-button > span { color: #fff; background: linear-gradient(135deg, #713bc6, #a65ae1); }

/* Fluxo de agendamento e atalhos da cliente: acabamento final roxo. */
.booking-progress {
  border-color: rgba(181, 145, 241, .24) !important;
  background: rgba(25, 11, 43, .96) !important;
}
.booking-progress li { color: #cfc2df !important; }
.booking-progress li::before { background: #43315d !important; }
.booking-progress li span {
  color: #ded1ee !important;
  border-color: #69537f !important;
  background: #1b0d30 !important;
}
.booking-progress li.active,
.booking-progress li.complete { color: #d9c4ff !important; }
.booking-progress li.active span,
.booking-progress li.complete span {
  color: #fff !important;
  border-color: #8247cd !important;
  background: #8247cd !important;
  box-shadow: 0 0 0 5px rgba(130, 71, 205, .16) !important;
}
.booking-progress li.complete::before,
.booking-progress li.active::before { background: #9859dc !important; }
.account-header .secondary-button,
#showOrdersButton,
#editCustomerProfileButton,
#customerLogoutButton {
  color: #f7f1ff !important;
  border-color: rgba(190, 151, 244, .34) !important;
  background: #2a1247 !important;
  box-shadow: none !important;
}
.account-header .secondary-button:hover,
#showOrdersButton:hover,
#editCustomerProfileButton:hover,
#customerLogoutButton:hover {
  background: #3a1c60 !important;
  border-color: rgba(211, 179, 255, .54) !important;
}

/* Cabeçalho Telos: menu e marca sem nenhum tom vinho. */
.topbar .segmented {
  background: rgba(20, 9, 36, .96);
  border-color: rgba(181, 145, 241, .28);
  box-shadow: inset 0 1px rgba(255,255,255,.025);
}
.topbar .nav-button {
  color: #e7ddf7;
  background: #1a0c2d;
  border-color: rgba(185, 151, 244, .20);
  box-shadow: none;
}
.topbar .nav-button:hover {
  color: #fff;
  background: #30204b;
  border-color: rgba(195, 160, 249, .42);
}
.topbar .nav-button.active,
.topbar .nav-button.active:hover {
  color: #fff;
  background: linear-gradient(135deg, #713bc6, #a65ae1);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(112, 53, 194, .30);
}
.brand-mark:not(.has-image) {
  color: #fff;
  background: linear-gradient(145deg, #5b2c91, #281044);
  border-color: rgba(211, 185, 255, .30);
  box-shadow: inset 0 1px rgba(255,255,255,.18), 0 8px 20px rgba(41, 16, 72, .28);
}

/* Escolha de atendimento: os cartões seguem a paleta roxa, não o tema vinho antigo. */
.service-card {
  color: #f8f3ff !important;
  border: 1px solid rgba(181, 145, 241, .24) !important;
  background: linear-gradient(145deg, #2a1348, #130923) !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .18) !important;
}
.service-card:hover {
  border-color: rgba(202, 174, 255, .54) !important;
  background: linear-gradient(145deg, #39205c, #1a0c30) !important;
}
.service-card.selected {
  border-color: #b870eb !important;
  background: linear-gradient(145deg, #4a2874, #251243) !important;
  box-shadow: 0 0 0 3px rgba(184, 112, 235, .16), 0 18px 38px rgba(0, 0, 0, .22) !important;
}
.service-card strong { color: #fff !important; }
.service-card small, .service-card .service-duration { color: #d1c2e1 !important; }
.service-card b, .service-card .select-label { color: #eadcff !important; }
.popular-badge { background: #6f39b8 !important; }
.service-tag.day { background: #276e68; }
.service-tag.time { background: #9b6723; }

/* Quando a cartomante escolher uma cor no perfil, ela também vale para estes cartões. */
body.reader-custom-theme .service-card {
  border-color: color-mix(in srgb, var(--reader-link-card-color) 66%, white 34%) !important;
  background: linear-gradient(145deg, var(--reader-link-card-color), color-mix(in srgb, var(--reader-link-card-color) 46%, #08040f)) !important;
}
body.reader-custom-theme .service-card:hover {
  background: linear-gradient(145deg, color-mix(in srgb, var(--reader-link-card-color) 86%, white 14%), color-mix(in srgb, var(--reader-link-card-color) 52%, #08040f)) !important;
}

/* A personalização da cartomante vale também para a página que as clientes veem. */
body.reader-custom-theme .tenant-landing .hero-copy,
body.reader-custom-theme .tenant-landing .hero-card,
body.reader-custom-theme .tenant-landing .home-service-card,
body.reader-custom-theme .tenant-landing .steps-grid article,
body.reader-custom-theme .tenant-landing .trust-panel,
body.reader-custom-theme .tenant-landing .faq-card {
  border-color: color-mix(in srgb, var(--reader-link-card-color) 72%, white 28%);
  background: linear-gradient(145deg, var(--reader-link-card-color), color-mix(in srgb, var(--reader-link-card-color) 48%, #08040f));
}
body.reader-custom-theme .tenant-landing .hero-card {
  background: linear-gradient(155deg, color-mix(in srgb, var(--reader-link-card-color) 84%, white 16%), color-mix(in srgb, var(--reader-link-card-color) 48%, #08040f));
}
body.reader-custom-theme .tenant-landing .home-service-card.featured,
body.reader-custom-theme .tenant-landing .service-card.selected {
  border-color: var(--reader-text-color);
  background: linear-gradient(145deg, color-mix(in srgb, var(--reader-link-card-color) 88%, white 12%), color-mix(in srgb, var(--reader-link-card-color) 58%, #08040f));
}
body.reader-custom-theme .tenant-landing .home-service-card button,
body.reader-custom-theme .tenant-landing .service-card button {
  border-color: color-mix(in srgb, var(--reader-link-card-color) 62%, white 38%);
  color: var(--reader-text-color);
  background: color-mix(in srgb, var(--reader-link-card-color) 72%, #0b0613);
}
body.reader-custom-theme .tenant-landing .home-service-card button:hover,
body.reader-custom-theme .tenant-landing .service-card button:hover {
  border-color: var(--reader-text-color);
  background: color-mix(in srgb, var(--reader-link-card-color) 82%, white 18%);
}

/* Navegação nunca usa mais o vinho antigo. */
.nav-button {
  border-color: rgba(181,145,241,.25);
  color: #f5efff;
  background: rgba(28,13,48,.92);
}
.nav-button:hover { border-color: #b870eb; background: #321852; }
.nav-button.active { border-color: transparent; background: linear-gradient(135deg, #713bc6, #a65ae1); }
body.reader-custom-theme .nav-button { background: color-mix(in srgb, var(--reader-link-card-color) 74%, #0b0613); }
body.reader-custom-theme .nav-button:hover { background: color-mix(in srgb, var(--reader-link-card-color) 86%, white 14%); }
body.reader-custom-theme .nav-button.active { background: color-mix(in srgb, var(--reader-link-card-color) 74%, white 26%); }

/* Cards da escolha de atendimento: roxo por padrão, sem herdar o tema vinho antigo. */
.service-card {
  border-color: rgba(181,145,241,.20);
  background: linear-gradient(145deg, #24113d, #110820);
}
.service-card:hover { border-color: rgba(190,141,242,.58); background: linear-gradient(145deg, #301651, #160a2a); }
.service-card.selected {
  border-color: #b870eb;
  background: linear-gradient(145deg, #43206e, #201038);
  box-shadow: 0 0 0 4px rgba(170,105,229,.13);
}
body.reader-custom-theme .service-card {
  border-color: color-mix(in srgb, var(--reader-link-card-color) 68%, white 32%);
  background: linear-gradient(145deg, var(--reader-link-card-color), color-mix(in srgb, var(--reader-link-card-color) 46%, #08040f));
}
body.reader-custom-theme .service-card:hover { background: linear-gradient(145deg, color-mix(in srgb, var(--reader-link-card-color) 86%, white 14%), color-mix(in srgb, var(--reader-link-card-color) 52%, #08040f)); }
body.reader-custom-theme .tenant-landing .hero-copy h1,
body.reader-custom-theme .tenant-landing .hero-card,
body.reader-custom-theme .tenant-landing .home-service-card,
body.reader-custom-theme .tenant-landing .steps-grid article,
body.reader-custom-theme .tenant-landing .trust-panel,
body.reader-custom-theme .tenant-landing .faq-card,
body.reader-custom-theme .tenant-landing .home-service-card strong,
body.reader-custom-theme .tenant-landing .home-service-card b,
body.reader-custom-theme .tenant-landing .steps-grid article strong,
body.reader-custom-theme .tenant-landing .trust-panel h2,
body.reader-custom-theme .tenant-landing .faq-card summary {
  color: var(--reader-text-color);
}

/* Personalização visual de cada agenda. */
body.reader-custom-theme .reader-link-card {
  background: linear-gradient(145deg, var(--reader-link-card-color), color-mix(in srgb, var(--reader-link-card-color) 46%, #08040f));
}
body.reader-custom-theme .reader-link-card strong,
body.reader-custom-theme .reader-link-card p,
body.reader-custom-theme .reader-link-card .eyebrow { color: var(--reader-text-color); }
body.reader-custom-theme .reader-profile-heading,
body.reader-custom-theme .reader-link-card,
body.reader-custom-theme .profile-icon-editor,
body.reader-custom-theme .account-status-card,
body.reader-custom-theme .reader-settings-card,
body.reader-custom-theme .availability-editor,
body.reader-custom-theme .delivery-settings,
body.reader-custom-theme .magic-access-settings,
body.reader-custom-theme .service-editor-row,
body.reader-custom-theme .customer-gate,
body.reader-custom-theme .panel,
body.reader-custom-theme .checkout-card,
body.reader-custom-theme .payment-card,
body.reader-custom-theme .confirmation-card,
body.reader-custom-theme .client-orders,
body.reader-custom-theme .client-order-card {
  background: linear-gradient(145deg, var(--reader-link-card-color), color-mix(in srgb, var(--reader-link-card-color) 46%, #08040f));
}
body.reader-custom-theme .reader-profile-shell,
body.reader-custom-theme .reader-profile-shell h2,
body.reader-custom-theme .reader-profile-shell h3,
body.reader-custom-theme .reader-profile-shell h4,
body.reader-custom-theme .reader-profile-shell p,
body.reader-custom-theme .reader-profile-shell strong,
body.reader-custom-theme .reader-profile-shell small,
body.reader-custom-theme .reader-profile-shell label,
body.reader-custom-theme .client-orders,
body.reader-custom-theme .client-orders h2,
body.reader-custom-theme .client-orders h3,
body.reader-custom-theme .client-orders p,
body.reader-custom-theme .client-orders strong,
body.reader-custom-theme .client-orders small { color: var(--reader-text-color); }
::selection { color: #fff; background: #5e319c; }
.add-category-button {
  width: fit-content;
  min-width: 420px;
  max-width: 100%;
  margin: 8px auto 22px;
  padding: 14px 20px;
  border-style: solid;
  border-radius: 18px;
  text-align: left;
  user-select: none;
}
.add-category-button:hover { border-color: #bd82ed; background: linear-gradient(145deg, #45206b, #210d3b); }
@media (max-width: 520px) { .add-category-button { min-width: 0; width: 100%; } }
.theme-color-field { max-width: 260px; }
.theme-color-field input[type="color"] { width: 100%; height: 52px; padding: 5px; cursor: pointer; }
.theme-color-field small { color: #cdbde0; font-weight: 500; }
body.reader-custom-theme {
  background:
    radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--reader-background-color) 72%, transparent), transparent 38%),
    radial-gradient(circle at 96% 8%, color-mix(in srgb, var(--reader-background-color) 42%, #090510), transparent 34%),
    #090510;
}

/* Área vazia do acompanhamento da cliente. */
.client-orders .empty-state {
  border-color: rgba(177, 137, 237, .24);
  color: #d8cce8;
  background: radial-gradient(circle at 50% 15%, rgba(78, 45, 112, .88), rgba(28, 13, 45, .95) 64%);
}
.client-orders .empty-state strong { color: #fbf8ff; }
.client-orders .empty-state > span:not(.empty-state-icon) { color: #d4c6e2; }

/* Paleta única da Agenda Telos — substitui de vez o vinho antigo. */
:root { --wine: #713bc6; --wine-strong: #9254dd; --wine-soft: #332052; --paper: #090510; --ink: #f8f3ff; --muted: #c8bbd8; --line: rgba(185, 150, 242, .20); }
body { background: radial-gradient(circle at 8% 0%, rgba(83, 37, 133, .34), transparent 35%), radial-gradient(circle at 96% 8%, rgba(25, 10, 50, .82), transparent 32%), #090510; }
.topbar, .site-footer { border-color: rgba(175, 137, 239, .25); background: rgba(21, 10, 38, .93); }
.brand-mark { background: linear-gradient(145deg, #713bc6, #351764); border-color: rgba(215, 193, 255, .20); }
.segmented, .nav-button { background: #1b0c31; border-color: rgba(185, 151, 244, .20); }
.nav-button { color: #d9cdf0; }
.nav-button:hover { background: #32204e; }
.nav-button.active, .primary-button, .desk-start { background: linear-gradient(135deg, #713bc6, #a65ae1); box-shadow: 0 14px 30px rgba(112, 53, 194, .30); }
.secondary-button, .ghost-button { border-color: rgba(185, 151, 244, .30); background: #32154f; }
.secondary-button:hover, .ghost-button:hover { background: #4c2772; }
.reader-profile-heading, .reader-link-card, .account-status-card, .reader-settings-card,
.availability-editor, .delivery-settings, .magic-access-settings, .service-editor-row,
.reader-signup-form, .reader-signup-copy, .customer-gate, .panel, .checkout-card,
.login-card, .payment-card, .confirmation-card, .client-orders, .client-order-card {
  border-color: rgba(181, 145, 241, .20);
  background: linear-gradient(145deg, rgba(31, 14, 51, .94), rgba(14, 7, 27, .96));
}
.reader-profile-heading, .account-status-card { background: linear-gradient(135deg, #2b1248, #160a2b); }
.reader-link-card { background: linear-gradient(145deg, #331653, #160a2a); }
.reader-benefits span, .trust-row span { border-color: rgba(187, 151, 245, .18); background: rgba(103, 53, 151, .26); }
.weekday-options label, .magic-access-options label, .signup-delivery-choice label { border-color: rgba(184, 149, 243, .22); background: rgba(39, 20, 61, .80); }
.weekday-options input:checked { border-color: #aa69e5; background: #8146cd; box-shadow: 0 0 0 3px rgba(137, 75, 210, .18); }
input, select, textarea, .availability-editor > label > input { border-color: rgba(185, 151, 244, .26); background: #0e071a; }
input:focus, select:focus, textarea:focus { outline-color: #b66bf0; }
.delivery-mode-options label:has(input:checked), .magic-access-options label:has(input:checked) { border-color: #aa69e5; background: rgba(115, 55, 181, .28); }
.service-editor-row { background: linear-gradient(145deg, #25113e, #110821); }
.service-number, .add-category-button > span { background: linear-gradient(135deg, #713bc6, #a65ae1); }
.add-category-button { border-color: rgba(183, 147, 242, .30); background: rgba(38, 18, 59, .86); }
.service-time-check input:checked + .toggle-control { background: #8247cd; }
.status-pill.success { background: #277e6e; }
.brand strong, .brand small { display: block; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 0.78rem; }

.segmented {
  display: flex;
  gap: 5px;
  padding: 5px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
}
.nav-button, .primary-button, .secondary-button, .ghost-button, .desk-start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 999px;
  line-height: 1;
  padding: 0 17px;
  color: var(--ink);
  background: transparent;
  font-weight: 800;
  text-decoration: none;
}
.nav-button.active, .primary-button, .desk-start {
  color: var(--cream);
  background: var(--wine);
  box-shadow: 0 14px 30px rgba(127, 47, 86, 0.18);
}
.secondary-button, .ghost-button {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.58);
}
button:hover, .primary-button:hover, .ghost-button:hover, .desk-start:hover { transform: translateY(-1px); }

main {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto 56px;
}
.view { display: none; padding-top: 28px; }
.view.active { display: block; }
.hidden, .hidden-field { display: none !important; }

.entry-desk {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  grid-template-rows: 1fr auto;
  gap: 18px;
  min-height: calc(100vh - 88px);
  align-items: center;
  padding: 42px 0 34px;
}
.desk-intro {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 52px 160px 52px 52px;
  background: rgba(255, 249, 240, 0.88);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.desk-intro::after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 58% 42% 50% 50%;
  background: linear-gradient(135deg, rgba(219, 232, 220, 0.9), rgba(246, 216, 189, 0.68));
}
.desk-kicker, .eyebrow {
  margin: 0 0 10px;
  color: var(--wine);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.desk-intro h1 {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.45rem, 5vw, 5.1rem);
  line-height: 1.03;
}
.desk-intro p {
  position: relative;
  z-index: 1;
  max-width: 570px;
  margin: 20px 0 28px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}
.desk-start { align-self: flex-start; position: relative; z-index: 1; }

.desk-board {
  display: grid;
  gap: 12px;
  align-self: center;
}
.desk-board article {
  display: grid;
  gap: 7px;
  padding: 18px 18px 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 28px 28px 28px 10px;
  background: rgba(255, 249, 240, 0.82);
  box-shadow: 0 14px 35px rgba(55, 32, 47, 0.08);
}
.desk-board article:nth-child(2) { margin-left: 34px; background: rgba(242, 220, 231, 0.82); }
.desk-board article:nth-child(3) { margin-right: 28px; background: rgba(219, 232, 220, 0.82); }
.desk-board article:nth-child(4) { margin-left: 18px; background: rgba(255, 249, 240, 0.9); }
.desk-board span {
  color: var(--wine);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.desk-board strong { font-size: 1.12rem; }
.desk-board small { color: var(--muted); line-height: 1.42; }

.desk-receipt {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 18px 45px rgba(55, 32, 47, 0.12);
}
.receipt-head span { display: block; color: var(--peach); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.receipt-head strong { display: block; margin-top: 3px; }
.desk-receipt p { margin: 0; color: rgba(255, 249, 240, 0.78); }
.desk-receipt .ghost-button { color: var(--cream); border-color: rgba(255,255,255,0.22); background: transparent; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin: 16px 0 20px;
}
.section-heading h2, .payment-card h2, .confirmation-card h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 3.1rem);
  line-height: 1.08;
}
.section-heading p:last-child { max-width: 500px; margin: 0; color: var(--muted); line-height: 1.55; }

.customer-gate, .panel, .checkout-card, .login-card, .dashboard, .payment-card, .confirmation-card {
  border: 1px solid rgba(255,255,255,0.68);
  border-radius: 34px;
  background: rgba(255, 249, 240, 0.86);
  box-shadow: var(--shadow);
}
.customer-gate {
  display: grid;
  grid-template-columns: minmax(290px, 0.86fr) minmax(420px, 1.14fr);
  align-items: center;
  gap: clamp(26px, 3.5vw, 52px);
  padding: clamp(26px, 3.5vw, 48px);
  margin-bottom: 18px;
}
.gate-copy {
  position: relative;
  display: flex;
  min-height: 342px;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(217,139,172,.2);
  border-radius: 28px;
  padding: clamp(30px, 4vw, 54px);
  background: linear-gradient(145deg, #4a1d36, #25151e 72%);
}
.gate-copy > * { position: relative; z-index: 1; }
.gate-copy h3 { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2.1rem, 3.2vw, 3.1rem); line-height: 1.02; }
.gate-copy p:not(.eyebrow) { max-width: 390px; color: var(--muted); line-height: 1.65; }
.customer-form { display: grid; width: 100%; max-width: 720px; justify-self: end; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; gap: 16px; }
.customer-form .wide, .customer-form .message { grid-column: 1 / -1; }
.customer-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(49,103,95,0.14);
  border-radius: 28px;
  background: linear-gradient(110deg, rgba(219,232,220,0.92), rgba(255,255,255,0.68));
  box-shadow: 0 14px 34px rgba(49,103,95,0.08);
}
.customer-badge span { display: block; color: var(--sage-dark); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.customer-badge strong { display: block; margin-top: 3px; }
.customer-identity { display: flex; min-width: 0; gap: 13px; align-items: center; }
.customer-badge .customer-avatar { display: grid; flex: 0 0 48px; place-items: center; width: 48px; height: 48px; border-radius: 17px; color: var(--cream); background: var(--sage-dark); font-size: 0.9rem; letter-spacing: 0; }
.customer-identity > div { min-width: 0; }
.customer-identity strong { overflow: hidden; font-size: 1.02rem; text-overflow: ellipsis; white-space: nowrap; }
.customer-identity small { display: block; overflow: hidden; max-width: 520px; margin-top: 4px; color: var(--muted); font-size: 0.78rem; text-overflow: ellipsis; white-space: nowrap; }
.customer-account-label { margin-bottom: 2px; }
.customer-badge .ghost-button { color: var(--muted); background: transparent; }

.booking-shell { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 18px; align-items: start; }
.booking-form { display: grid; gap: 18px; }
.panel, .checkout-card, .login-card, .dashboard { padding: 22px; }
.panel { display: grid; gap: 18px; }
.panel-heading { display: flex; gap: 14px; align-items: start; }
.panel-heading span {
  display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px;
  border-radius: 16px 16px 16px 6px; color: var(--cream); background: var(--sage-dark); font-weight: 900;
}
.panel-heading h3, .checkout-card h3, .login-card h3 { margin: 0; font-size: 1.18rem; }
.panel-heading p, .login-card p { margin: 4px 0 0; color: var(--muted); line-height: 1.5; }
.service-grid, .form-grid, .stats-grid, .request-list, .request-details, .payment-review { display: grid; gap: 14px; }
.service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-card {
  position: relative; display: grid; gap: 10px; min-height: 168px; border: 0; border-radius: 28px 28px 28px 10px;
  padding: 18px; color: var(--ink); background: rgba(255,255,255,0.62); text-align: left;
}
.service-card.selected { outline: 3px solid rgba(127,47,86,0.18); background: var(--wine-soft); }
.service-tag { justify-self: start; border-radius: 999px; padding: 6px 10px; color: var(--cream); background: var(--sage-dark); font-size: 0.72rem; font-weight: 900; }
.service-tag.time { background: var(--gold); }
.service-card strong { font-size: 1.08rem; }
.service-card small { color: var(--muted); line-height: 1.45; }
.service-card b { align-self: end; color: var(--sage-dark); font-size: 1.22rem; }
.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
label { display: grid; gap: 8px; color: var(--ink); font-weight: 800; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 18px; padding: 13px 14px; color: var(--ink);
  background: rgba(255,255,255,0.72); outline: none;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--wine); box-shadow: 0 0 0 4px rgba(127,47,86,0.1); }
.notice { border-radius: 22px; padding: 14px 16px; color: var(--muted); background: rgba(255,255,255,0.58); font-weight: 700; }
.notice.important { color: #765018; background: rgba(246,216,189,0.62); }
.notice.success { color: var(--sage-dark); background: rgba(219,232,220,0.72); }
.checkout-card { position: sticky; top: 96px; display: grid; gap: 16px; }
.summary-line, .pix-box { display: grid; gap: 5px; border-radius: 24px; padding: 16px; background: rgba(255,255,255,0.58); }
.timeline-list { display: grid; gap: 8px; }
.timeline-list span { padding: 8px 0 8px 12px; border-left: 3px solid var(--peach); color: var(--muted); font-weight: 800; }

.payment-screen, .confirmation-screen { display: grid; place-items: center; min-height: 520px; width: 100%; }
.payment-card, .confirmation-card { width: min(900px, 100%); padding: 32px; display: grid; gap: 18px; }
.payment-review { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.payment-review div { border-radius: 22px; padding: 14px; background: rgba(255,255,255,0.62); }
.payment-review span { display: block; color: var(--muted); font-size: 0.78rem; font-weight: 900; text-transform: uppercase; }
.checkbox-line { display: flex; align-items: start; gap: 10px; line-height: 1.35; }
.checkbox-line input { width: 20px; height: 20px; margin-top: 1px; }
.wide { width: 100%; }
.message, .hint { margin: 0; color: var(--muted); }
.message.success { color: var(--sage-dark); font-weight: 900; }
.message.error { color: #a33d4c; font-weight: 900; }
.success-mark { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; color: #fff; background: var(--sage-dark); font-size: 2rem; font-weight: 900; }

.dashboard-top, .request-header { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.toolbar-actions, .hero-actions, .payment-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.toolbar-actions input, .toolbar-actions select { width: auto; min-width: 150px; }
.stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 18px; }
.stats-grid div, .request-card { border-radius: 26px; padding: 16px; background: rgba(255,255,255,0.62); }
.stats-grid span { display: block; font-size: clamp(1.28rem, 2vw, 1.7rem); font-weight: 900; }
.stats-grid small, .request-meta, .request-details small { color: var(--muted); }
.request-payment-method { display: block; margin-top: 6px; }
.request-card.done { background: rgba(219,232,220,0.72); }
.request-day { margin: 0 0 6px; color: var(--sage-dark); font-weight: 900; }
.request-name { margin: 0 0 4px; font-size: 1.2rem; }
.request-details { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.request-details div { padding-top: 12px; border-top: 1px solid var(--line); }
dt { color: var(--wine); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
dd { margin: 5px 0 0; line-height: 1.55; white-space: pre-wrap; }
.empty-state { display: grid; gap: 5px; border-radius: 28px; padding: 28px; color: var(--muted); text-align: center; background: rgba(255,255,255,0.48); }

/* Nova experiencia da cliente */
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 24px;
  align-items: stretch;
  padding: 42px 0 24px;
}
.hero-copy {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 470px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border-radius: 48px 48px 48px 14px;
  padding: clamp(30px, 6vw, 72px);
  background: rgba(255, 249, 240, 0.82);
  box-shadow: var(--shadow);
}
.hero-copy::after {
  content: "✦";
  position: absolute;
  right: -25px;
  bottom: -80px;
  color: rgba(127, 47, 86, 0.07);
  font-family: Georgia, serif;
  font-size: 18rem;
  line-height: 1;
}
.hero-copy h1 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 18px 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.hero-copy > p { position: relative; z-index: 1; max-width: 650px; margin: 0; color: var(--muted); font-size: 1.06rem; line-height: 1.7; }
.hero-actions { position: relative; z-index: 1; align-items: center; margin-top: 28px; }
.hero-primary { min-height: 52px; padding-inline: 24px; }
.text-link { padding: 12px; color: var(--wine); font-weight: 900; text-underline-offset: 5px; }
.trust-row { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 30px; color: var(--sage-dark); font-size: 0.84rem; font-weight: 800; }
.hero-card {
  display: flex;
  min-height: 470px;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 48px 14px 48px 48px;
  padding: 34px;
  color: var(--cream);
  background: var(--sage-dark);
  box-shadow: var(--shadow);
}
.hero-symbol { align-self: flex-end; color: var(--peach); font-family: Georgia, serif; font-size: 5rem; }
.hero-card > p { max-width: 280px; margin: auto 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.6rem; line-height: 1.25; }
.hero-card div { display: grid; gap: 4px; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 18px; }
.hero-card small { color: rgba(255,255,255,0.7); }
.home-services, .how-it-works { padding: 72px 0 20px; }
.home-section-heading { max-width: 720px; margin-bottom: 28px; }
.home-section-heading h2 { margin: 8px 0 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; }
.home-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.home-service-card {
  position: relative;
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 30px 30px 30px 10px;
  padding: 22px;
  background: rgba(255,255,255,0.58);
}
.home-service-card.featured { border-color: rgba(127,47,86,0.3); background: var(--wine-soft); }
.home-service-card > small { color: var(--wine); font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; }
.home-service-card > strong { font-size: 1.16rem; }
.home-service-card p { min-height: 62px; margin: 0; color: var(--muted); line-height: 1.5; }
.home-service-card div { display: flex; justify-content: space-between; gap: 12px; align-items: end; padding-top: 12px; border-top: 1px solid var(--line); }
.home-service-card div span { color: var(--muted); font-size: 0.78rem; }
.home-service-card div b { color: var(--sage-dark); font-size: 1.18rem; }
.home-service-card button { width: 100%; margin-top: 4px; }
.popular-badge { position: absolute; top: 16px; right: 16px; border-radius: 999px; padding: 6px 9px; color: var(--cream); background: var(--wine); font-size: 0.68rem; font-style: normal; font-weight: 900; text-transform: uppercase; }
.service-duration { color: var(--sage-dark); font-size: 0.78rem; font-weight: 800; }
.select-label { justify-self: end; color: var(--wine); font-size: 0.78rem; font-weight: 900; text-transform: uppercase; }
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.steps-grid article { display: grid; gap: 10px; border-top: 1px solid var(--line); padding: 20px 8px 10px; }
.steps-grid article > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--cream); background: var(--wine); font-weight: 900; }
.steps-grid article p { margin: 0; color: var(--muted); line-height: 1.5; }
.booking-progress { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 780px; margin: 0 auto 24px; padding: 0; list-style: none; }
.booking-progress li { position: relative; display: grid; justify-items: center; gap: 7px; color: var(--muted); font-weight: 800; }
.booking-progress li::before { content: ""; position: absolute; z-index: 0; top: 16px; right: 50%; width: 100%; height: 2px; background: var(--line); }
.booking-progress li:first-child::before { display: none; }
.booking-progress li span { position: relative; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border: 2px solid var(--line); border-radius: 50%; background: var(--paper); }
.booking-progress li.active { color: var(--wine); }
.booking-progress li.active span { border-color: var(--wine); color: var(--cream); background: var(--wine); box-shadow: 0 0 0 5px rgba(127,47,86,0.1); }
.booking-progress li.complete span { border-color: var(--sage-dark); color: var(--cream); background: var(--sage-dark); }
.booking-progress li.complete::before, .booking-progress li.active::before { background: var(--sage-dark); }
.trust-section { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 18px; padding: 70px 0 30px; }
.trust-panel, .faq-card { border-radius: 34px; padding: clamp(24px, 4vw, 42px); background: rgba(255,255,255,0.62); box-shadow: var(--shadow); }
.trust-panel h2 { max-width: 620px; margin: 8px 0 26px; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.12; }
.trust-points { display: grid; gap: 18px; }
.trust-points article { display: flex; gap: 14px; align-items: flex-start; }
.trust-points article > span { display: grid; flex: 0 0 38px; place-items: center; width: 38px; height: 38px; border-radius: 14px; color: var(--wine); background: var(--wine-soft); font-weight: 900; }
.trust-points p { margin: 4px 0 0; color: var(--muted); line-height: 1.5; }
.faq-card details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq-card summary { cursor: pointer; font-weight: 900; }
.faq-card details p { margin: 10px 0 0; color: var(--muted); line-height: 1.5; }
.full-column { grid-column: 1 / -1; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.calendar-field { border: 1px solid var(--line); border-radius: 26px; padding: 18px; background: rgba(255,255,255,0.54); }
.calendar-toolbar { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin-bottom: 16px; text-transform: capitalize; }
.calendar-toolbar > div { display: flex; gap: 7px; }
.calendar-arrow { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 13px; color: var(--wine); background: var(--cream); font-weight: 900; }
.calendar-arrow:disabled { cursor: not-allowed; opacity: 0.35; }
.calendar-weekdays, .visual-calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; }
.calendar-weekdays { margin-bottom: 7px; color: var(--muted); font-size: 0.7rem; font-weight: 900; text-align: center; text-transform: uppercase; }
.calendar-day { min-height: 42px; border: 0; border-radius: 14px; color: var(--ink); background: rgba(255,255,255,0.72); font-weight: 800; }
.calendar-day:hover:not(:disabled) { color: var(--wine); background: var(--wine-soft); }
.calendar-day.today { outline: 2px solid var(--peach); }
.calendar-day.selected { color: var(--cream); background: var(--wine); box-shadow: 0 7px 18px rgba(127,47,86,0.23); }
.calendar-day:disabled { cursor: not-allowed; opacity: 0.28; }
.time-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.time-slot { min-height: 44px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: rgba(255,255,255,0.75); font-weight: 800; }
.time-slot.selected { border-color: var(--wine); color: var(--cream); background: var(--wine); }
.time-slot:disabled { cursor: not-allowed; opacity: 0.3; text-decoration: line-through; }
.payment-security { margin: 0; border-radius: 18px; padding: 12px 14px; color: var(--sage-dark); background: var(--sage); font-size: 0.86rem; font-weight: 800; line-height: 1.45; }
.payment-provider-box { display: grid; gap: 16px; border: 1px solid rgba(0,158,227,0.2); border-radius: 24px; padding: 20px; background: rgba(232,247,255,0.72); }
.payment-brick-container { min-height: 280px; border-radius: 18px; overflow: hidden; background: #fff; padding: 10px; }
.payment-cpf-field { display: grid; gap: 7px; max-width: 340px; color: var(--ink); font-weight: 800; }
.payment-cpf-field input { width: 100%; }
.payment-cpf-field small { color: var(--muted); font-size: .78rem; font-weight: 600; }
.pix-result { display: grid; justify-items: center; gap: 14px; padding: 20px; color: #281922; text-align: center; }
.pix-result img { width: min(260px,80vw); aspect-ratio: 1; }
.pix-result textarea { width: 100%; min-height: 92px; resize: none; }
.provider-brand { display: flex; gap: 12px; align-items: center; }
.provider-brand > span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 16px; color: #fff; background: #009ee3; font-weight: 900; }
.provider-brand div { display: grid; gap: 3px; }
.provider-brand small, .payment-provider-box p { color: var(--muted); }
.payment-provider-box p { margin: 0; line-height: 1.5; }
.payment-method-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0 8px; padding: 0; border: 0; }
.payment-method-choice legend { grid-column: 1 / -1; margin-bottom: 10px; color: var(--text); font-weight: 900; }
.payment-method-card { position: relative; display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 14px 16px; border: 1px solid rgba(126, 35, 83, 0.24); border-radius: 18px; background: rgba(255, 255, 255, 0.72); cursor: pointer; }
.payment-method-card input { position: absolute; opacity: 0; pointer-events: none; }
.payment-method-card:has(input:checked) { border-color: var(--accent); background: rgba(126, 35, 83, 0.1); box-shadow: 0 0 0 3px rgba(126, 35, 83, 0.12); }
.payment-method-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: #fff; background: var(--accent); font-weight: 900; }
.payment-method-card > span:last-child { display: grid; gap: 3px; }
.payment-method-card small { color: var(--muted); }
@media (max-width: 620px) { .payment-method-choice { grid-template-columns: 1fr; } }

.reader-signup-view { padding-top: 30px; }
.reader-signup-shell { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr); gap: 28px; align-items: start; }
.reader-signup-copy, .reader-signup-form { border: 1px solid rgba(255,255,255,.08); border-radius: 30px; background: #171116; padding: clamp(26px, 4vw, 52px); }
.reader-signup-copy h2 { max-width: 760px; margin: 10px 0 18px; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2rem, 4vw, 4.4rem); line-height: 1.02; }
.reader-signup-copy > p { color: #b7aab2; font-size: 1.05rem; line-height: 1.7; }
.reader-benefits { display: grid; gap: 12px; margin-top: 30px; }
.reader-benefits span { padding: 14px 16px; border-radius: 15px; background: rgba(126,35,83,.17); font-weight: 800; }
.reader-signup-form { display: grid; gap: 16px; }
.reader-signup-form h3 { margin: 0 0 4px; font-size: 1.65rem; }
.reader-signup-form label { display: grid; gap: 7px; font-weight: 800; }
.reader-signup-form small { color: #94858e; }
.profile-menu { position: relative; }
.profile-trigger { display: inline-flex; gap: 8px; align-items: center; justify-content: center; line-height: 1; white-space: nowrap; }
.profile-chevron { display: inline-block; flex: 0 0 auto; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-1px) rotate(45deg); transform-origin: center; transition: transform .2s ease; }
.profile-trigger[aria-expanded="true"] .profile-chevron { transform: translateY(1px) rotate(225deg); }
.profile-dropdown { position: absolute; z-index: 20; top: calc(100% + 10px); right: 0; width: 220px; padding: 8px; border: 1px solid rgba(255,255,255,.09); border-radius: 17px; background: #1d171b; box-shadow: 0 20px 45px rgba(0,0,0,.34); }
.profile-dropdown button { width: 100%; padding: 12px 13px; border: 0; border-radius: 11px; color: #eee1e8; text-align: left; background: transparent; cursor: pointer; }
.profile-dropdown button:hover { color: #fff; background: rgba(255,255,255,.07); }
.reader-profile-shell { display: grid; gap: 22px; }
.reader-profile-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; padding: 30px; border: 1px solid rgba(255,255,255,.08); border-radius: 28px; background: linear-gradient(135deg, #21161c, #391a2a); }
.reader-profile-heading h2 { margin: 5px 0 8px; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2rem, 4vw, 3.6rem); }
.reader-profile-heading p { margin-bottom: 0; color: #a998a3; }
.reader-profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .7fr); gap: 22px; }
.reader-link-card { display: grid; align-content: center; gap: 15px; padding: clamp(28px, 4vw, 46px); border: 1px solid rgba(217,139,172,.2); border-radius: 30px; background: linear-gradient(145deg, #461d31, #24171e); }
.reader-link-card strong { overflow-wrap: anywhere; font-size: clamp(1.35rem, 2.5vw, 2.25rem); }
.reader-link-card p { margin: 0; color: #b5a5ae; line-height: 1.55; }
.reader-link-card div { display: flex; gap: 10px; flex-wrap: wrap; }
.iti { width: 100%; --iti-border-color: rgba(255,255,255,.1); --iti-dialcode-color: #d7c9d1; --iti-dropdown-bg: #1c161a; --iti-hover-color: rgba(255,255,255,.07); --iti-arrow-color: #d98bac; --iti-path-flags-1x: url("https://cdn.jsdelivr.net/npm/intl-tel-input@25.12.1/build/img/flags.webp"); --iti-path-flags-2x: url("https://cdn.jsdelivr.net/npm/intl-tel-input@25.12.1/build/img/flags@2x.webp"); --iti-path-globe-1x: url("https://cdn.jsdelivr.net/npm/intl-tel-input@25.12.1/build/img/globe.webp"); --iti-path-globe-2x: url("https://cdn.jsdelivr.net/npm/intl-tel-input@25.12.1/build/img/globe@2x.webp"); }
.iti input { width: 100%; }
.iti__selected-country { height: 100%; gap: 7px; margin: 0; border-right: 1px solid rgba(255,255,255,.12); border-radius: 14px 0 0 14px; padding: 0 12px 0 8px; background: rgba(255,255,255,.05); }
.iti--separate-dial-code input { padding-left: 128px !important; }
.iti__selected-dial-code { margin-left: 7px !important; color: #f1e5eb; font-weight: 800; }
.iti__country-list { max-width: min(390px, calc(100vw - 32px)); border-color: rgba(255,255,255,.1); border-radius: 15px; color: #f5eaf0; background: #1c161a; box-shadow: 0 18px 45px rgba(0,0,0,.38); }
.iti__search-input { color: #fff; background: #110e10; }
.iti__divider { border-color: rgba(255,255,255,.08); }
.reader-settings-card { display: grid; gap: 24px; padding: clamp(24px, 3vw, 38px); border: 1px solid rgba(255,255,255,.08); border-radius: 30px; background: #171216; }
.reader-signup-form label.consent-check { display: flex; align-items: center; gap: 10px; font-weight: 500; line-height: 1.5; }
.reader-signup-form label.consent-check input { flex: 0 0 18px; width: 18px; min-width: 18px; height: 18px; min-height: 18px; margin: 0; padding: 0; }
.inline-link { border: 0; padding: 0; color: #e8a4c2; background: transparent; text-decoration: underline; cursor: pointer; }
.account-status-card { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: clamp(24px,3vw,34px); border: 1px solid rgba(255,255,255,.08); border-radius: 28px; background: linear-gradient(135deg,#20171c,#2e1924); }
.account-status-card h3 { margin: 4px 0 7px; font-size: 1.5rem; }
.account-status-card p { margin: 0; color: #b6a7b0; }
.account-status-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.status-pill { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 13px; border-radius: 999px; color: #f7eaf0; background: #7e2353; font-weight: 900; }
.status-pill.warning { color: #26170f; background: #e5b85f; }
.status-pill.success { color: #eafff8; background: #287664; }
.account-status-card > .message { grid-column: 1 / -1; }
.legal-view { padding-block: 34px; }
.legal-card { width: min(920px,100%); margin: auto; padding: clamp(28px,5vw,60px); border: 1px solid rgba(255,255,255,.08); border-radius: 32px; color: #f8edf3; background: #171216; box-shadow: 0 24px 60px rgba(0,0,0,.2); }
.legal-card h2 { margin: 8px 0 4px; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2.2rem,5vw,4.5rem); line-height: 1; }
.legal-card h3 { margin: 30px 0 8px; }
.legal-card p { color: #b8aab2; line-height: 1.75; }
.legal-updated { padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.08); }
.legal-actions { margin-top: 34px; }
.settings-heading, .services-editor-heading { display: flex; justify-content: space-between; gap: 22px; align-items: center; }
.settings-heading h3, .services-editor-heading h3 { margin: 4px 0 5px; font-size: 1.7rem; }
.settings-heading p, .services-editor-heading small { margin: 0; color: #9f9099; }
.availability-editor { display: grid; grid-template-columns: minmax(430px, 1.45fr) repeat(3, minmax(175px, .65fr)) minmax(195px, .75fr); gap: 16px; align-items: start; padding: 20px; border-radius: 22px; background: #211a1f; }
.availability-editor > label { display: grid; gap: 7px; }
.availability-editor > label small { color: #9f9099; line-height: 1.35; }
.weekday-options { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.weekday-options label { display: flex; gap: 7px; align-items: center; padding: 9px 11px; border: 1px solid rgba(255,255,255,.08); border-radius: 999px; background: #171216; cursor: pointer; }
.weekday-options input { width: 16px; min-height: 16px; accent-color: var(--wine); }
.services-editor { display: grid; gap: 16px; }
.magic-access-settings { display: grid; grid-template-columns: minmax(240px,.7fr) minmax(420px,1.3fr); gap: 22px; margin-top: 20px; padding: 22px; border: 1px solid rgba(255,255,255,.09); border-radius: 22px; background: linear-gradient(145deg,#211a1f,#1a1518); }
.magic-access-settings h3 { margin: 5px 0 8px; }
.magic-access-settings p { margin: 0; color: #a998a3; line-height: 1.5; }
.magic-access-options { display: grid; gap: 10px; }
.magic-access-options label { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 15px; border: 1px solid rgba(255,255,255,.09); border-radius: 16px; cursor: pointer; }
.magic-access-options label:has(input:checked) { border-color: #a63d73; background: rgba(126,35,83,.18); }
.magic-access-options input { margin-top: 4px; accent-color: #a63d73; }
.magic-access-options span { display: grid; gap: 4px; }
.magic-access-options small { color: #a998a3; line-height: 1.4; }
.magic-access-settings.is-fixed .magic-access-options label { cursor: default; }
.magic-offer-editor { display: grid; grid-column: 2; grid-template-columns: minmax(180px, 1fr) 150px; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); }
.magic-offer-editor > div { grid-column: 1 / -1; display: grid; gap: 4px; }
.magic-offer-editor > div small { color: #a998a3; }
.magic-offer-editor label { display: grid; gap: 7px; color: #d9ccd4; font-size: .8rem; font-weight: 800; }
.magic-offer-editor input, .magic-offer-editor textarea { min-height: 44px; color: #f8edf3; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 11px 12px; background: #0e0b0e; font: inherit; }
.magic-offer-editor textarea { min-height: 86px; resize: vertical; }
.magic-offer-description { grid-column: 1 / -1; }
.save-magic-offer { grid-column: 1 / -1; justify-self: start; }
.dialog-open { overflow: hidden; }
.magic-proposal-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(6,4,6,.74); backdrop-filter: blur(7px); }
.magic-proposal-dialog { width: min(100%, 520px); display: grid; gap: 17px; padding: 25px; border: 1px solid rgba(235,150,190,.26); border-radius: 24px; background: linear-gradient(145deg, #261a22, #151014); box-shadow: 0 28px 80px rgba(0,0,0,.5); }
.magic-proposal-dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.magic-proposal-dialog-heading h3 { margin: 5px 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.35rem; }
.magic-proposal-dialog-heading p:not(.eyebrow) { margin: 0; color: #a998a3; line-height: 1.45; }
.dialog-close { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; padding: 0; color: #f8edf3; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: transparent; font-size: 1.45rem; line-height: 1; cursor: pointer; }
.dialog-close:hover { border-color: #dc78a8; color: #f4a8c7; }
.magic-proposal-dialog > label { display: grid; gap: 7px; color: #eadde4; font-size: .84rem; font-weight: 800; }
.magic-proposal-dialog input { min-height: 46px; padding: 10px 12px; color: #f8edf3; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; background: #0e0b0e; font: inherit; }
.magic-proposal-dialog input:focus { outline: 2px solid rgba(178,54,111,.55); border-color: #b2366f; }
.magic-proposal-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; }
.confirmation-modal { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 20px; background: rgba(6,4,6,.74); backdrop-filter: blur(7px); }
.confirmation-dialog { width: min(100%, 420px); display: grid; justify-items: start; gap: 12px; border: 1px solid rgba(235,150,190,.25); border-radius: 25px; padding: 28px; color: #f8edf3; background: linear-gradient(145deg, #2d1824, #171116); box-shadow: 0 28px 80px rgba(0,0,0,.52); }
.confirmation-dialog .eyebrow { margin: 4px 0 0; }
.confirmation-dialog h3 { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 2rem; line-height: 1; }
.confirmation-dialog > p:not(.eyebrow) { margin: 0; color: #b9a6b0; line-height: 1.55; }
.confirmation-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 15px 15px 15px 5px; color: #fff5fa; background: linear-gradient(145deg, #b63774, #6e1d45); font-size: 1.4rem; font-weight: 900; }
.confirmation-actions { display: flex; width: 100%; justify-content: flex-end; gap: 10px; margin-top: 10px; }
.signup-delivery-choice { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; padding: 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; }
.signup-delivery-choice legend { padding: 0 6px; font-weight: 800; }
.signup-delivery-choice label { display: flex; gap: 7px; align-items: center; }
.delivery-settings { display: grid; gap: 16px; margin: 20px 0; padding: 20px; border: 1px solid rgba(255,255,255,.09); border-radius: 22px; background: #1c161a; }
.delivery-settings h3 { margin: 5px 0; }
.delivery-settings p, .delivery-settings > small { margin: 0; color: #a998a3; }
.whatsapp-message-template { display: grid; gap: 8px; }
.whatsapp-message-template strong { font-size: .95rem; }
.whatsapp-message-template textarea { min-height: 104px; resize: vertical; }
.whatsapp-message-template small { color: #a998a3; }
.delivery-mode-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.delivery-mode-options label { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 14px; border: 1px solid rgba(255,255,255,.09); border-radius: 16px; cursor: pointer; }
.delivery-mode-options label:has(input:checked) { border-color: #a63d73; background: rgba(126,35,83,.18); }
.delivery-mode-options span { display: grid; gap: 4px; }
.delivery-mode-options small { color: #a998a3; }
.site-delivery-box { display: grid; gap: 12px; margin-top: 14px; padding: 16px; border: 1px solid rgba(255,255,255,.09); border-radius: 18px; background: rgba(255,255,255,.025); }
.site-delivery-box p { margin: 0; color: #a998a3; }
.delivery-file-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.delivery-file-actions .secondary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 46px;
  padding: 0 12px;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}
.delivery-preview { display: grid; gap: 6px; }
.delivery-released-count { color: #9ed8c7; font-weight: 700; }
.delivery-preview span { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.05); }
.delivery-preview button { border: 0; color: #e9a3c2; background: none; cursor: pointer; }
.delivery-upload-message { color: #b9aab3; }
@media (max-width: 850px) { .delivery-mode-options, .signup-delivery-choice { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .delivery-file-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 390px) { .delivery-file-actions { grid-template-columns: 1fr; } }
.client-magic-proposals { display: grid; gap: 14px; margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09); }
.magic-proposal-card { gap: 14px; }
.magic-proposal-card > p, .magic-proposal-card > small { color: #a998a3; }
.magic-proposal-card > strong { color: #f3b1cf; font-size: 1.3rem; }
.magic-date-field { display: grid; gap: 7px; font-weight: 800; }
.create-magic-proposal { margin: 10px 0; }
.add-service-button { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.add-category-button { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 18px; border: 1px dashed rgba(217,139,172,.42); border-radius: 20px; color: #f4dce7; background: rgba(126,35,83,.08); text-align: left; cursor: pointer; transition: .2s ease; }
.add-category-button:hover { border-color: #d98bac; background: rgba(126,35,83,.16); transform: translateY(-1px); }
.add-category-button > span:first-child { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; color: #fff; background: #7e2353; font-size: 1.3rem; }
.add-category-button > span:last-child { display: grid; gap: 3px; }
.add-category-button small { color: #a998a3; font-weight: 500; }
.service-editor-row { display: grid; gap: 18px; padding: 20px; border: 1px solid rgba(255,255,255,.09); border-radius: 22px; background: linear-gradient(145deg,#211a1f,#1c161a); box-shadow: 0 12px 28px rgba(0,0,0,.1); }
.service-editor-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.07); }
.service-editor-topline > div { display: flex; align-items: center; gap: 10px; }
.service-number { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: #ffeaf3; background: #7e2353; font-weight: 900; }
.remove-service-button { border: 0; padding: 8px 10px; color: #d98bac; background: transparent; font-weight: 800; cursor: pointer; }
.remove-service-button:hover { color: #fff; }
.service-editor-fields { display: grid; grid-template-columns: minmax(210px,.8fr) minmax(320px,1.6fr) 150px; gap: 14px; align-items: start; }
.service-editor-fields label { display: grid; gap: 7px; }
.service-editor-fields label > span { color: #b9aab3; font-size: .76rem; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.service-editor-fields textarea { min-height: 76px; resize: vertical; line-height: 1.45; }
.editor-service-custom-name { margin-top: 2px; border-color: rgba(217,139,172,.42); }
.price-input { display: flex; align-items: center; min-height: 48px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: #0e0b0e; overflow: hidden; }
.price-input b { padding-left: 13px; color: #d98bac; }
.price-input input { min-width: 0; border: 0; background: transparent; }
.service-editor-row .service-time-check { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 10px; width: fit-content; cursor: pointer; }
.service-time-check > input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-control { position: relative; width: 42px; height: 24px; border-radius: 999px; background: #4b4247; transition: .2s ease; }
.toggle-control::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #f7edf2; transition: .2s ease; }
.service-time-check input:checked + .toggle-control { background: #8f2e61; }
.service-time-check input:checked + .toggle-control::after { transform: translateX(18px); }
.service-time-check > span:last-child { display: grid; gap: 2px; }
.service-time-check small { color: #9f9099; font-weight: 500; }
.slug-field { display: flex; align-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: #0e0b0e; overflow: hidden; }
.slug-field span { padding-left: 14px; color: #b78ba2; font-weight: 900; }
.slug-field input { border: 0; background: transparent; }
@media (max-width: 1180px) { .availability-editor { grid-template-columns: repeat(4, 1fr); } .availability-editor > div:first-child { grid-column: 1 / -1; } .service-editor-fields { grid-template-columns: 1fr 1fr; } .service-description-field { grid-column: 1 / -1; grid-row: 2; } }
@media (max-width: 850px) { .reader-signup-shell, .reader-profile-grid, .account-status-card, .magic-access-settings { grid-template-columns: 1fr; } .magic-offer-editor { grid-column: auto; } .reader-profile-heading, .settings-heading, .services-editor-heading { align-items: stretch; flex-direction: column; } .account-status-actions { justify-content: flex-start; } }
@media (max-width: 620px) { .availability-editor, .service-editor-fields { grid-template-columns: 1fr; } .service-description-field { grid-column: auto; grid-row: auto; } .service-editor-row { padding: 16px; } }
@media (max-width: 520px) { .magic-proposal-modal, .confirmation-modal { padding: 12px; } .magic-proposal-dialog, .confirmation-dialog { padding: 19px; border-radius: 20px; } .magic-proposal-dialog-actions, .confirmation-actions { display: grid; grid-template-columns: 1fr; } .magic-proposal-dialog-actions button, .confirmation-actions button { width: 100%; } }

.platform-landing { display: grid; gap: 28px; }
.platform-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .65fr); gap: 24px; align-items: stretch; }
.platform-hero > div, .platform-link-preview, .platform-explanation, .platform-audiences > article { border: 1px solid rgba(255,255,255,.08); border-radius: 30px; background: #171116; }
.platform-hero > div { padding: clamp(28px, 3.8vw, 52px); }
.platform-hero h1 { max-width: 820px; margin: 12px 0 20px; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2.35rem, 4.2vw, 4.7rem); line-height: 1.01; }
.platform-hero p:not(.eyebrow) { max-width: 760px; color: #b7aab2; font-size: 1.1rem; line-height: 1.7; }
.platform-link-preview { display: flex; flex-direction: column; justify-content: center; gap: 12px; min-height: 410px; padding: 34px; background: linear-gradient(155deg, #61213f, #21131b); }
.platform-link-preview span { color: #e8a9c9; text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; font-weight: 900; }
.platform-link-preview strong { overflow-wrap: anywhere; font-size: clamp(1.35rem, 2.4vw, 2.2rem); }
.platform-link-preview small { color: #c5b5be; line-height: 1.5; }
.platform-explanation { padding: clamp(26px, 4vw, 48px); }
.platform-steps article { background: #211920; }
.platform-audiences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.platform-audiences > article { padding: clamp(28px, 4vw, 48px); }
.platform-audiences h2 { margin: 10px 0 18px; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.8rem, 3vw, 3.2rem); }
.platform-audiences p, .platform-audiences li { color: #b7aab2; line-height: 1.65; }
.platform-audiences ul { display: grid; gap: 10px; margin: 20px 0 28px; padding-left: 20px; }
.platform-client-note { margin-top: 28px; padding: 18px; border-radius: 16px; color: #f5dce8; background: rgba(126,35,83,.22); font-weight: 800; }
@media (max-width: 850px) { .platform-hero, .platform-audiences { grid-template-columns: 1fr; } }
.confirmation-receipt { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; border: 1px dashed rgba(127,47,86,0.28); border-radius: 24px; padding: 18px; background: rgba(255,255,255,0.58); }
.confirmation-receipt div { display: grid; gap: 4px; }
.confirmation-receipt span { color: var(--muted); font-size: 0.7rem; font-weight: 900; text-transform: uppercase; }
.admin-tabs { display: flex; gap: 6px; margin: -6px -6px 24px; border-bottom: 1px solid var(--line); padding: 6px 6px 14px; overflow-x: auto; }
.admin-tab { flex: 0 0 auto; border: 0; border-radius: 14px; padding: 10px 16px; color: var(--muted); background: transparent; font-weight: 900; }
.admin-tab:hover { color: var(--wine); background: var(--wine-soft); }
.admin-tab.active { color: var(--cream); background: var(--wine); box-shadow: 0 8px 20px rgba(127,47,86,0.2); }
#requestSearch { min-width: 240px; }
.dashboard { overflow: hidden; }
.dashboard-welcome { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: -4px 0 22px; border-radius: 24px; padding: 20px 22px; color: var(--cream); background: linear-gradient(125deg, var(--wine-strong), var(--wine) 70%, #9c456c); box-shadow: 0 18px 36px rgba(87,26,57,.18); }
.dashboard-welcome h3 { margin: 3px 0 5px; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.35rem, 2vw, 1.8rem); }
.dashboard-welcome p { margin: 0; color: rgba(255,250,244,.74); }
.dashboard-welcome .eyebrow { color: #f4cddd; }
.admin-logout { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 11px 16px; color: #fff; background: rgba(255,255,255,.1); font-weight: 900; }
.admin-logout:hover { background: rgba(255,255,255,.18); }
.dashboard-top { align-items: end; border: 1px solid var(--line); border-radius: 24px; padding: 18px; background: rgba(255,255,255,.48); }
.dashboard-count { min-width: 145px; padding: 0 4px 8px; }
.dashboard-count strong { display: block; margin-top: 5px; font-size: 1.08rem; }
.toolbar-actions { flex: 1; display: grid; grid-template-columns: minmax(220px, 1.4fr) minmax(180px, 1fr) auto; align-items: end; }
.toolbar-actions label { display: grid; gap: 7px; color: var(--muted); font-size: .7rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.toolbar-actions label input, .toolbar-actions label select { width: 100%; min-width: 0; background: rgba(255,255,255,.84); }
.filter-shortcuts { display: flex; gap: 8px; }
.filter-shortcuts button { min-height: 48px; white-space: nowrap; }
.stats-grid div { position: relative; overflow: hidden; border: 1px solid transparent; }
.stats-grid div:nth-child(1) { border-color: rgba(189,135,56,0.22); background: rgba(246,216,189,0.42); }
.stats-grid div:nth-child(2) { border-color: rgba(49,103,95,0.18); background: rgba(219,232,220,0.62); }
.stats-grid div:nth-child(3) { border-color: rgba(127,47,86,0.16); background: rgba(242,220,231,0.54); }
.stats-grid div:nth-child(4) { border-color: rgba(118,38,78,.13); background: linear-gradient(145deg, rgba(255,255,255,.88), rgba(248,232,222,.68)); }
.stats-grid i { position: absolute; top: 15px; right: 16px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 11px; color: var(--wine); background: rgba(255,255,255,.66); font-size: .75rem; font-style: normal; font-weight: 900; }
.stats-grid small { max-width: 85%; line-height: 1.35; }
.empty-state { min-height: 245px; display: grid; place-items: center; align-content: center; gap: 8px; border: 1px dashed rgba(118,38,78,.16); border-radius: 28px; padding: 32px; text-align: center; background: radial-gradient(circle at 50% 20%, rgba(246,230,238,.68), rgba(255,255,255,.55) 58%); }
.empty-state-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 5px; border-radius: 18px; color: var(--cream) !important; background: var(--wine); box-shadow: 0 12px 24px rgba(118,38,78,.18); font-size: 1.45rem; }
.empty-state strong { font-size: 1.08rem; }
.empty-state > span:not(.empty-state-icon) { color: var(--muted); }
.empty-state button { margin-top: 10px; }
.admin-calendar-panel { margin-bottom: 18px; border: 1px solid var(--line); border-radius: 26px; padding: 20px; background: rgba(255,255,255,.58); }
.admin-calendar-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.admin-calendar-heading strong { display: block; margin-top: 4px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.2rem; text-transform: capitalize; }
.admin-calendar-heading > div:last-child { display: flex; gap: 8px; }
.admin-calendar-weekdays, .admin-calendar { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 7px; }
.admin-calendar-weekdays { margin-bottom: 7px; color: var(--muted); font-size: .68rem; font-weight: 900; text-align: center; text-transform: uppercase; }
.admin-calendar-day { position: relative; min-height: 54px; border: 1px solid transparent; border-radius: 15px; color: var(--ink); background: rgba(255,255,255,.7); }
.admin-calendar-day:hover { border-color: rgba(118,38,78,.2); transform: translateY(-1px); }
.admin-calendar-day.today { outline: 2px solid var(--peach); }
.admin-calendar-day.has-booking { color: var(--wine-strong); background: var(--wine-soft); }
.admin-calendar-day.selected { color: #fff; background: var(--wine); }
.admin-calendar-day small { position: absolute; top: 6px; right: 7px; display: grid; place-items: center; min-width: 18px; height: 18px; border-radius: 999px; padding: 0 5px; color: #fff; background: var(--wine); font-size: .62rem; }
.admin-calendar-day.selected small { color: var(--wine); background: #fff; }
.admin-calendar-legend { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--muted); font-size: .75rem; }
.admin-calendar-legend span { width: 11px; height: 11px; border-radius: 4px; background: var(--wine-soft); box-shadow: inset 0 0 0 1px rgba(118,38,78,.16); }
.request-header { align-items: center; margin: 0; }
.request-summary { flex: 1; min-width: 220px; }
.request-service-summary { display: block; margin: 5px 0; color: var(--wine); font-size: .9rem; }
.request-card .request-details, .request-card .request-actions, .request-card .delete-request { display: none; }
.request-card.expanded .request-details { display: grid; margin-top: 20px; }
.request-card.expanded .request-actions { display: flex; }
.request-card.expanded .delete-request { display: inline-flex; }
.request-card { border: 1px solid var(--line); transition: transform 160ms ease, box-shadow 160ms ease; }
.request-card:hover { transform: translateY(-2px); box-shadow: 0 18px 35px rgba(50,31,44,0.08); }
.request-card.done { border-color: rgba(49,103,95,0.18); }
.request-card.cancelled { opacity: 0.68; background: rgba(255,255,255,0.38); }
.reschedule-box { grid-column: 1 / -1; }
.reschedule-controls { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: center; }
.request-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; }
.contact-whatsapp { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.confirmation-card #confirmationWhatsappButton { width: fit-content; }
.client-contact-value { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.client-whatsapp-link { display: inline-flex; align-items: center; min-height: 32px; padding: 5px 11px; border: 1px solid rgba(80, 193, 126, .42); border-radius: 999px; color: #a8e8bd !important; background: rgba(41, 128, 76, .13); font-size: .78rem; font-weight: 800; line-height: 1; text-decoration: none; transition: background 160ms ease, border-color 160ms ease, transform 160ms ease; }
.client-whatsapp-link:hover { border-color: rgba(104, 219, 143, .75); background: rgba(41, 128, 76, .24); transform: translateY(-1px); }
.status-select, .payment-select { font-weight: 800; }
.customer-badge-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.client-orders { display: grid; gap: 18px; border: 1px solid var(--line); border-radius: 34px; padding: clamp(20px, 4vw, 34px); background: rgba(255,255,255,0.58); box-shadow: var(--shadow); }
.client-orders-heading, .client-order-top { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.client-orders-heading h3 { margin: 4px 0 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.client-order-list { display: grid; gap: 14px; }
.client-order-card { display: grid; gap: 18px; border: 1px solid var(--line); border-radius: 28px; padding: 20px; background: rgba(255,255,255,0.7); }
.client-order-card.cancelled { opacity: 0.65; }
.client-order-top small { color: var(--muted); font-weight: 800; text-transform: uppercase; }
.client-order-top h4 { margin: 5px 0 0; font-size: 1.15rem; }
.client-status { border-radius: 999px; padding: 7px 11px; color: var(--sage-dark); background: var(--sage); font-size: 0.76rem; font-weight: 900; }
.client-order-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; border-block: 1px solid var(--line); padding: 13px 0; color: var(--muted); }
.client-order-meta strong { margin-left: auto; color: var(--ink); }
.client-order-summary { display: flex; align-items: center; gap: 16px; }
.client-order-summary .client-order-meta { flex: 1; }
.toggle-client-order { flex: 0 0 auto; white-space: nowrap; }
.client-order-details { display: grid; gap: 18px; }
.magic-proposal-summary { border-top: 1px solid var(--line); padding-top: 14px; }
.magic-proposal-summary strong { color: var(--pink); font-size: 1.15rem; }
.magic-proposal-details { display: grid; gap: 18px; }
.magic-contract-fields { display: grid; gap: 12px; margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 16px; }
.magic-contract-fields legend { padding: 0 5px; color: var(--text); font-weight: 800; }
.magic-contract-fields > p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.45; }
.magic-contract-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.magic-contract-grid label { display: grid; gap: 6px; color: var(--muted); font-size: .74rem; font-weight: 800; }
.magic-contract-grid input { min-width: 0; min-height: 42px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); background: var(--field); font: inherit; }
.magic-contract-grid input:focus { outline: 2px solid rgba(178,54,111,.35); border-color: var(--accent); }
.magic-contract-wide { grid-column: 1 / -1; }
.order-progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.order-progress div { position: relative; display: grid; justify-items: center; gap: 7px; color: var(--muted); text-align: center; }
.order-progress div::before { content: ""; position: absolute; top: 14px; right: 50%; width: 100%; height: 2px; background: var(--line); }
.order-progress div:first-child::before { display: none; }
.order-progress div > span { position: relative; z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid var(--line); border-radius: 50%; background: var(--cream); font-size: 0.75rem; font-weight: 900; }
.order-progress div.complete { color: var(--sage-dark); }
.order-progress div.complete::before { background: var(--sage-dark); }
.order-progress div.complete > span { border-color: var(--sage-dark); color: var(--cream); background: var(--sage-dark); }
.client-payment-status { margin: 0; color: var(--muted); }
.client-deliverables { display: grid; gap: 14px; border: 1px solid rgba(49,103,95,.18); border-radius: 20px; padding: 16px; background: rgba(227,237,228,.58); }
.deliverables-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.deliverables-heading > div { display: grid; gap: 3px; }
.deliverables-heading small { color: var(--muted); }
.deliverables-heading > span { border-radius: 999px; padding: 6px 9px; color: var(--sage-dark); background: #fff; font-size: .7rem; font-weight: 900; }
.deliverables-list { display: grid; gap: 10px; }
.deliverable-item { display: grid; gap: 8px; border-radius: 16px; padding: 13px; background: rgba(255,255,255,.76); }
.deliverable-item small { color: var(--muted); }
.deliverable-item audio, .deliverable-item video { width: 100%; max-height: 360px; }
.delivery-image-preview { width: 100%; max-height: 620px; object-fit: contain; border-radius: 12px; background: #171216; }

/* Galeria da cliente: as fotos já ficam visíveis, sem abrir uma por uma. */
.delivery-gallery { display: grid; gap: 13px; border-top: 1px solid rgba(255,255,255,.09); padding-top: 16px; }
.delivery-group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.delivery-group-heading strong { color: #f8edf3; }
.delivery-group-heading small { color: #a998a3; }
.delivery-image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 180px)); justify-content: start; gap: 12px; }
.delivery-image-card { display: grid; gap: 8px; min-width: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 8px; color: inherit; background: #171216; cursor: zoom-in; text-align: left; }
.delivery-image-card:hover { border-color: rgba(217,139,172,.55); transform: translateY(-2px); }
.delivery-image-card img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; background: #2a2227; }
.delivery-image-card figcaption { overflow: hidden; padding: 1px 3px 3px; color: #baabb4; font-size: .74rem; text-overflow: ellipsis; white-space: nowrap; }
.delivery-image-viewer { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; background: rgba(4,3,4,.84); backdrop-filter: blur(8px); }
.delivery-image-viewer-dialog { position: relative; display: grid; gap: 14px; width: min(100%, 900px); max-height: calc(100vh - 40px); padding: 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; background: #171216; box-shadow: 0 28px 80px rgba(0,0,0,.55); }
.delivery-image-viewer-dialog > img { display: block; width: 100%; max-height: min(72vh, 700px); object-fit: contain; border-radius: 14px; background: #0b090a; }
.delivery-viewer-close { position: absolute; z-index: 1; top: 28px; right: 28px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; color: #fff; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(20,15,18,.8); font-size: 1.5rem; cursor: pointer; }
.delivery-viewer-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.delivery-viewer-footer span { color: #bbaab4; font-size: .82rem; font-weight: 800; }
.delivery-viewer-next { justify-self: end; }
.delivery-audio-section { display: grid; gap: 13px; border-top: 1px solid rgba(255,255,255,.09); padding-top: 16px; }
.delivery-audio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.delivery-audio-card { display: grid; gap: 11px; min-width: 0; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 14px; background: #171216; }
.delivery-audio-card strong { overflow: hidden; color: #f8edf3; font-size: .84rem; text-overflow: ellipsis; white-space: nowrap; }
.delivery-audio-card audio { width: 100%; height: 38px; }

@media (max-width: 960px) {
  .entry-desk, .booking-shell, .customer-gate { grid-template-columns: 1fr; }
  .customer-gate { gap: 22px; }
  .gate-copy { min-height: 0; padding: 32px 30px; }
  .customer-form { max-width: none; justify-self: stretch; }
  .desk-intro { min-height: auto; border-radius: 40px; }
  .desk-board article, .desk-board article:nth-child(n) { margin: 0; }
  .desk-receipt { border-radius: 30px; align-items: flex-start; flex-direction: column; }
  .checkout-card { position: static; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-shell { grid-template-columns: 1fr; }
  .hero-copy, .hero-card { min-height: auto; }
  .hero-card { gap: 28px; }
  .home-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-section { grid-template-columns: 1fr; }
  .dashboard-top { align-items: stretch; }
  .toolbar-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-search { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .topbar, .section-heading, .dashboard-top, .request-header, .customer-badge { align-items: stretch; flex-direction: column; }
  .topbar { position: static; }
  .segmented, .toolbar-actions, .hero-actions, .payment-actions { width: 100%; }
  .nav-button, .toolbar-actions button, .toolbar-actions input, .toolbar-actions select, .hero-actions button, .payment-actions button { flex: 1; width: 100%; }
  .entry-desk { min-height: auto; padding-top: 22px; }
  .desk-intro h1 { font-size: 2.35rem; }
  .service-grid, .two-columns, .stats-grid, .request-details, .payment-review, .customer-form { grid-template-columns: 1fr; }
  .customer-form .wide, .customer-form .message { grid-column: auto; }
  .hero-shell { padding-top: 22px; }
  .hero-copy { border-radius: 32px 32px 32px 10px; padding: 32px 24px; }
  .hero-copy h1 { font-size: clamp(2.5rem, 13vw, 3.5rem); }
  .hero-card { min-height: 300px; border-radius: 32px 10px 32px 32px; }
  .home-services, .how-it-works { padding-top: 50px; }
  .home-service-grid, .steps-grid { grid-template-columns: 1fr; }
  .home-service-card p { min-height: auto; }
  .booking-progress small { font-size: 0.68rem; }
  .booking-progress li span { width: 30px; height: 30px; }
  .booking-progress li::before { top: 14px; }
  .time-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calendar-field { padding: 14px 10px; }
  .calendar-day { min-height: 38px; border-radius: 11px; }
  .confirmation-receipt { grid-template-columns: 1fr; }
  #requestSearch { min-width: 100%; }
  .reschedule-controls { grid-template-columns: 1fr; }
  .request-actions, .request-actions a { width: 100%; }
  .confirmation-card #confirmationWhatsappButton { width: 100%; }
  .client-contact-value { align-items: flex-start; flex-direction: column; gap: 8px; }
  .client-orders-heading, .client-order-top { align-items: stretch; flex-direction: column; }
  .customer-badge-actions, .customer-badge-actions button, .client-orders-heading button { width: 100%; }
  .order-progress small { font-size: 0.62rem; }
  .client-order-meta strong { width: 100%; margin-left: 0; }
  .client-order-summary { align-items: stretch; flex-direction: column; }
  .toggle-client-order { width: 100%; }
  .dashboard-welcome { align-items: flex-start; flex-direction: column; }
  .admin-logout { width: 100%; justify-content: center; }
  .toolbar-actions { display: grid; grid-template-columns: 1fr; }
  .admin-search { grid-column: auto; }
  .filter-shortcuts, .filter-shortcuts button { width: 100%; }
  .admin-calendar-panel { padding: 15px 10px; }
  .admin-calendar-weekdays, .admin-calendar { gap: 4px; }
  .admin-calendar-day { min-height: 42px; border-radius: 11px; }
  .request-toggle, .status-select { width: 100%; }
}

/* Design system 2026 — Agenda Vagabruxa */
:root {
  --ink: #24131f;
  --muted: #715f6b;
  --wine: #76264e;
  --wine-strong: #571a39;
  --wine-soft: #f6e6ee;
  --sage: #e3ede4;
  --sage-dark: #2f685e;
  --peach: #f7dfcb;
  --cream: #fffaf4;
  --paper: #f8eee4;
  --gold: #b8863f;
  --line: rgba(65, 34, 54, 0.12);
  --line-strong: rgba(65, 34, 54, 0.2);
  --shadow-sm: 0 10px 30px rgba(48, 25, 40, 0.07);
  --shadow: 0 28px 80px rgba(48, 25, 40, 0.11);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 36px;
}
::selection { color: var(--cream); background: var(--wine); }
body { background: radial-gradient(circle at 8% 10%, rgba(227,237,228,.95), transparent 29rem), radial-gradient(circle at 92% 8%, rgba(247,223,203,.9), transparent 32rem), var(--paper); background-attachment: fixed; }
body::before { content: ""; position: fixed; z-index: -1; inset: 0; opacity: .28; pointer-events: none; background-image: radial-gradient(rgba(118,38,78,.16) .65px, transparent .65px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000, transparent 75%); }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-150%); border-radius: 12px; padding: 10px 14px; color: #fff; background: var(--wine); font-weight: 800; }
.skip-link:focus { transform: translateY(0); }
button, a, input, select, textarea { transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(118,38,78,.22); outline-offset: 3px; }
button:disabled { cursor: not-allowed; transform: none !important; }
.topbar { top: 12px; width: min(1200px, calc(100% - 32px)); padding: 9px 10px 9px 14px; border-color: rgba(255,255,255,.8); border-radius: 24px; background: rgba(255,250,244,.9); box-shadow: var(--shadow-sm); }
.brand-mark { width: 46px; height: 46px; border-radius: 15px 15px 15px 5px; background: linear-gradient(145deg, #8d315e, var(--wine-strong)); box-shadow: inset 0 1px rgba(255,255,255,.22), 0 8px 20px rgba(87,26,57,.18); }
.brand-mark.has-image, .profile-icon-preview.has-image { background-color: #24151d; background-position: center; background-size: cover; background-repeat: no-repeat; }
.profile-icon-editor { display: grid; grid-template-columns: 86px 1fr; align-items: center; gap: 18px; border: 1px solid rgba(255,255,255,.08); border-radius: 20px; padding: 16px; background: #1d171b; }
.profile-icon-preview { display: grid; width: 86px; height: 86px; place-items: center; overflow: hidden; border: 2px solid rgba(217,139,172,.35); border-radius: 26px; color: #fff; font-family: Georgia, serif; font-size: 1.35rem; font-weight: 900; background: linear-gradient(145deg, #8d315e, #571735); box-shadow: 0 12px 28px rgba(0,0,0,.22); }
.profile-icon-editor > div { display: grid; align-content: center; gap: 7px; justify-items: start; min-height: 86px; }
.profile-icon-editor small { line-height: 1.45; }
.profile-icon-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 3px; }
.profile-icon-button { display: inline-flex !important; align-items: center; justify-content: center; width: auto; min-height: 42px; margin-top: 3px; padding: 0 18px; line-height: 1; cursor: pointer; }
.profile-icon-button input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.profile-icon-remove { min-height: 42px; color: #f0a9bd; }
.brand strong { letter-spacing: -.015em; }
.segmented { border: 1px solid rgba(255,255,255,.78); background: rgba(255,255,255,.52); }
.nav-button, .primary-button, .secondary-button, .ghost-button, .desk-start { min-height: 44px; padding-inline: 19px; }
.primary-button, .nav-button.active { background: linear-gradient(135deg, #88305c, var(--wine-strong)); box-shadow: 0 12px 25px rgba(87,26,57,.18); }
.primary-button:hover, .nav-button.active:hover { box-shadow: 0 16px 30px rgba(87,26,57,.25); }
.secondary-button:hover, .ghost-button:hover { border-color: var(--line-strong); background: #fff; }
main { width: min(1200px, calc(100% - 32px)); margin-bottom: 80px; }
.view { padding-top: 42px; animation: view-in .32s ease both; }
@keyframes view-in { from { opacity: 0; transform: translateY(8px); } }
.section-heading { margin-bottom: 30px; }
.section-heading h2, .payment-card h2, .confirmation-card h2 { letter-spacing: -.04em; }
.eyebrow, .desk-kicker { color: var(--wine); letter-spacing: .12em; }
.hero-shell { gap: 18px; padding-top: 24px; }
.hero-copy { min-height: 540px; border: 1px solid rgba(255,255,255,.7); background: linear-gradient(145deg, rgba(255,250,244,.96), rgba(255,246,237,.75)); }
.hero-copy h1 { max-width: 840px; font-size: clamp(3rem, 6.2vw, 5.75rem); }
.hero-card { min-height: 540px; background: linear-gradient(155deg, #376f65, #214b45); }
.trust-row span { border-radius: 999px; padding: 8px 11px; background: rgba(227,237,228,.72); }
.home-service-card, .steps-grid article, .panel, .checkout-card, .login-card, .dashboard, .payment-card, .confirmation-card, .customer-gate, .client-orders { border-color: rgba(255,255,255,.62); background: rgba(255,250,244,.77); backdrop-filter: blur(12px); }
.home-service-card { min-height: 330px; align-content: start; padding: 24px; box-shadow: var(--shadow-sm); }
.home-service-card:hover { transform: translateY(-5px); border-color: rgba(118,38,78,.18); box-shadow: var(--shadow); }
.home-service-card button { align-self: end; }
.home-service-card.featured { border-color: rgba(118,38,78,.22); background: linear-gradient(145deg, #f8eaf1, #fff8f3); }
.how-it-works, .home-services { padding-top: 88px; }
.steps-grid article { border: 1px solid rgba(255,255,255,.62); border-radius: var(--radius-md); padding: 22px; box-shadow: var(--shadow-sm); }
.trust-panel { color: var(--cream); background: linear-gradient(145deg, #70264c, #48172f); }
.trust-panel .eyebrow { color: var(--peach); }
.trust-panel .trust-points p { color: rgba(255,255,255,.72); }
.trust-panel .trust-points article > span { color: var(--wine); background: var(--cream); }
.faq-card { background: rgba(255,250,244,.8); }
.booking-progress { margin-bottom: 32px; }
.customer-gate { padding: clamp(24px, 4vw, 42px); }
.customer-form { gap: 16px; }
label { font-size: .88rem; }
input, select, textarea { min-height: 48px; border-color: var(--line); border-radius: 15px; background: rgba(255,255,255,.8); }
textarea { min-height: 110px; }
input:hover, select:hover, textarea:hover { border-color: var(--line-strong); }
.customer-badge { border-radius: 24px; background: linear-gradient(110deg, rgba(227,237,228,.95), rgba(255,255,255,.74)); }
.booking-shell { grid-template-columns: minmax(0, 1fr) 350px; gap: 20px; }
.panel { border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.service-card { min-height: 240px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.7); }
.service-card:hover { border-color: rgba(118,38,78,.25); background: #fff; }
.service-card.selected { outline: none; border-color: var(--wine); background: var(--wine-soft); box-shadow: 0 0 0 4px rgba(118,38,78,.08); }
.checkout-card { border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.calendar-day, .time-slot { border: 1px solid transparent; }
.calendar-day:hover:not(:disabled), .time-slot:hover:not(:disabled) { border-color: rgba(118,38,78,.18); transform: translateY(-1px); }
.payment-card, .confirmation-card { border: 1px solid rgba(255,255,255,.75); border-radius: 38px; box-shadow: var(--shadow); }
.payment-provider-box { border-radius: 22px; }
.client-order-card, .request-card { border-radius: 22px; background: rgba(255,255,255,.75); }
.admin-tabs { position: sticky; z-index: 4; top: 88px; border-radius: 18px; padding: 7px; background: rgba(255,250,244,.92); backdrop-filter: blur(12px); }
.stats-grid div { min-height: 112px; display: flex; flex-direction: column; justify-content: center; }
.request-details { gap: 18px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 28px; width: min(1200px, calc(100% - 32px)); margin: 0 auto 24px; border: 1px solid rgba(255,255,255,.7); border-radius: 28px; padding: 20px 24px; background: rgba(255,250,244,.72); box-shadow: var(--shadow-sm); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand div { display: grid; gap: 3px; }
.footer-brand small, .site-footer > p { color: var(--muted); }
.footer-links { display: flex; gap: 6px; }
.footer-links button { border: 0; padding: 9px 12px; color: var(--wine); background: transparent; font-weight: 800; }

/* Painel administrativo amplo e compacto */
body:has(#adminView.active) main,
body:has(#adminView.active) .topbar,
body:has(#adminView.active) .site-footer { width: min(1540px, calc(100% - 32px)); }
body:has(#adminView.active) { color: #f8edf3; background: radial-gradient(circle at 8% 0%, #35212c 0, transparent 34%), radial-gradient(circle at 95% 8%, #3c1830 0, transparent 28%), #0d0a0c; }
body:has(#adminView.active)::before { opacity: .16; }
body:has(#adminView.active) .topbar { border-color: rgba(255,255,255,.08); background: rgba(20,15,18,.92); box-shadow: 0 16px 40px rgba(0,0,0,.3); }
body:has(#adminView.active) .brand strong { color: #fff; }
body:has(#adminView.active) .brand small { color: #9f9099; }
body:has(#adminView.active) .segmented { border-color: rgba(255,255,255,.06); background: #211a1f; }
body:has(#adminView.active) .nav-button { color: #b9abb4; }
body:has(#adminView.active) .nav-button:hover { color: #fff; background: rgba(255,255,255,.06); }
body:has(#adminView.active) .nav-button.active { color: #fff; background: var(--wine); }
body:has(#adminView.active) #adminView > .section-heading h2 { color: #fff8fb; }
body:has(#adminView.active) #adminView > .section-heading > p { color: #aa9aa4; }
body:has(#adminView.active) .site-footer { border-color: rgba(255,255,255,.08); color: #f8edf3; background: #171216; box-shadow: 0 18px 46px rgba(0,0,0,.25); }
body:has(#adminView.active) .site-footer small,
body:has(#adminView.active) .site-footer > p { color: #9f9099; }
body:has(#adminView.active) .footer-links button { color: #e8a4c2; }
body:has(#adminView.active) main { margin-bottom: 46px; }
#adminView .section-heading { margin-bottom: 20px; }
#adminView .dashboard { display: grid; grid-template-columns: minmax(300px, 370px) minmax(0, 1fr); gap: 16px; padding: 18px; }
#adminView .dashboard-welcome { grid-column: 1 / -1; margin: 0; padding: 16px 20px; }
#adminView .admin-tabs { grid-column: 1 / -1; position: static; margin: 0; }
#adminView .admin-calendar-panel { grid-column: 1; grid-row: 3 / span 3; align-self: start; margin: 0; padding: 16px; }
#adminView .dashboard-top { grid-column: 2; margin: 0; }
#adminView .stats-grid { grid-column: 2; margin: 0; }
#adminView .request-list { grid-column: 2; min-width: 0; }
#adminView .dashboard.clients-mode { grid-template-columns: 1fr; }
#adminView .dashboard.clients-mode .admin-calendar-panel { display: none; }
#adminView .dashboard.clients-mode .dashboard-top,
#adminView .dashboard.clients-mode .stats-grid,
#adminView .dashboard.clients-mode .request-list { grid-column: 1; }
#adminView .admin-calendar-heading { margin-bottom: 12px; }
#adminView .admin-calendar-weekdays,
#adminView .admin-calendar { gap: 4px; }
#adminView .admin-calendar-day { min-height: 40px; border-radius: 10px; }
#adminView .admin-calendar-day small { top: 3px; right: 3px; min-width: 15px; height: 15px; font-size: .55rem; }
#adminView .admin-calendar-legend { margin-top: 10px; }
#adminView .stats-grid div { min-height: 92px; padding: 14px; }
#adminView .empty-state { min-height: 180px; }
#adminView .dashboard { border-color: rgba(255,255,255,.08); color: #f9eff4; background: #171216; box-shadow: 0 28px 70px rgba(36,19,31,.22); }
#adminView .dashboard-welcome { border: 1px solid rgba(255,255,255,.08); background: linear-gradient(120deg, #090709, #21131b 58%, #59213e); }
#adminView .admin-tabs { border: 1px solid rgba(255,255,255,.08); background: #211a1f; }
#adminView .admin-tab { color: #bcaeb7; }
#adminView .admin-tab:hover { color: #fff; background: rgba(255,255,255,.07); }
#adminView .admin-tab.active { color: #fff; background: var(--wine); }
#adminView .admin-calendar-panel,
#adminView .dashboard-top,
#adminView .request-card,
#adminView .empty-state { border-color: rgba(255,255,255,.08); background: #211a1f; }
#adminView .eyebrow { color: #d98bac; }
#adminView .dashboard-count strong,
#adminView .admin-calendar-heading strong,
#adminView .request-name,
#adminView .empty-state strong { color: #fff8fb; }
#adminView .admin-calendar-weekdays,
#adminView .admin-calendar-legend,
#adminView .toolbar-actions label,
#adminView .request-meta,
#adminView .empty-state > span:not(.empty-state-icon),
#adminView .stats-grid small { color: #a998a3; }
#adminView .admin-calendar-day { border-color: rgba(255,255,255,.03); color: #eee4ea; background: #181316; }
#adminView .admin-calendar-day:hover { border-color: rgba(217,139,172,.42); background: #2a2026; }
#adminView .admin-calendar-day.has-booking { color: #ffddea; background: #502039; }
#adminView .admin-calendar-day.selected { color: #fff; background: #932f60; }
#adminView .calendar-arrow,
#adminView .secondary-button { border-color: rgba(255,255,255,.12); color: #f8edf3; background: #2a2227; }
#adminView .calendar-arrow:hover,
#adminView .secondary-button:hover { border-color: rgba(217,139,172,.35); background: #372831; }
#adminView .toolbar-actions label input,
#adminView .toolbar-actions label select,
#adminView .status-select,
#adminView .payment-select,
#adminView .reschedule-controls input { border-color: rgba(255,255,255,.1); color: #fff; background: #110e10; color-scheme: dark; }
#adminView .toolbar-actions input::placeholder { color: #776a72; }
#adminView .stats-grid div { border-color: rgba(255,255,255,.08) !important; background: #211a1f !important; }
#adminView .stats-grid div::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--wine); opacity: .75; }
#adminView .stats-grid span { color: #fff; }
#adminView .stats-grid i { color: #f1b8d1; background: rgba(255,255,255,.07); }
#adminView .request-service-summary { color: #e9a3c2; }
#adminView .request-header {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(210px, 1.35fr) auto;
  gap: 12px 16px;
  align-items: center;
}
#adminView .request-card.expanded .request-header {
  grid-template-columns: minmax(230px, 1fr) minmax(210px, 1.35fr) auto auto;
}
#adminView .registered-client-card .request-header,
#adminView .registered-client-card.expanded .request-header { grid-template-columns: minmax(0, 1fr) auto; }
#adminView .request-summary { min-width: 0; }
#adminView .request-day,
#adminView .request-name,
#adminView .request-meta,
#adminView .request-service-summary { overflow-wrap: anywhere; }
#adminView .status-select { min-width: 0; }
#adminView .request-toggle,
#adminView .delete-request {
  min-width: max-content;
  white-space: nowrap;
  line-height: 1.2;
}
#adminView .request-details { border-color: rgba(255,255,255,.08); }
#adminView .request-details dt { color: #a998a3; }
#adminView .request-details dd { color: #f3e9ee; }
#adminView .request-actions { border-color: rgba(255,255,255,.08); }
#adminView .empty-state { background: radial-gradient(circle at 50% 15%, #38222f, #211a1f 60%); }

/* Tema escuro unificado para o site inteiro */
body { color: #f8edf3; background: radial-gradient(circle at 8% 0%, #35212c 0, transparent 34%), radial-gradient(circle at 95% 8%, #3c1830 0, transparent 28%), #0d0a0c; }
body::before { opacity: .14; }
main, .topbar, .site-footer { width: min(1540px, calc(100% - 32px)); }
.topbar { border-color: rgba(255,255,255,.08); background: rgba(20,15,18,.92); box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.brand { color: #fff; }
.brand small { color: #9f9099; }
.segmented { border: 1px solid rgba(255,255,255,.06); background: #211a1f; }
.nav-button { color: #b9abb4; }
.nav-button:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-button.active { color: #fff; background: var(--wine); }
.hero-shell { grid-template-columns: minmax(0, 1.75fr) minmax(300px, .55fr); padding-top: 30px; }
.hero-copy { min-height: 470px; border-color: rgba(255,255,255,.08); padding: clamp(34px, 4.5vw, 68px); background: linear-gradient(145deg, #191317, #251720); box-shadow: 0 28px 70px rgba(0,0,0,.25); }
.hero-copy h1, .home-section-heading h2, .trust-panel h2, .section-heading h2 { color: #fff8fb; }
.hero-copy > p, .section-heading p:last-child, .home-service-card p, .steps-grid article p, .trust-points p, .faq-card details p { color: #aa9aa4; }
.hero-copy::after { color: rgba(217,139,172,.07); }
.text-link { color: #e8a4c2; }
.trust-row { color: #d89db7; }
.trust-row span { border: 1px solid rgba(255,255,255,.07); border-radius: 999px; padding: 8px 11px; background: #241b20; }
.hero-card { min-height: 470px; border: 1px solid rgba(255,255,255,.08); background: linear-gradient(155deg, #702449, #331322); }
.home-service-card, .steps-grid article, .trust-panel, .faq-card, .customer-gate, .panel, .checkout-card, .login-card, .payment-card, .confirmation-card, .client-orders, .client-order-card { border-color: rgba(255,255,255,.08); color: #f8edf3; background: #1c161a; box-shadow: 0 20px 48px rgba(0,0,0,.18); }
.home-service-card.featured { border-color: rgba(217,139,172,.28); background: linear-gradient(145deg, #3b1c2c, #22171d); }
.home-service-card > small, .select-label, .eyebrow { color: #d98bac; }
.home-service-card div, .steps-grid article, .faq-card details { border-color: rgba(255,255,255,.08); }
.home-service-card div span, .home-service-card p, .service-duration { color: #a998a3; }
.home-service-card div b { color: #f3b1cf; }
.trust-points article > span { color: #f3b1cf; background: #3a1d2c; }
.service-card {
  border-color: rgba(255,255,255,.09);
  color: #f8edf3;
  background: linear-gradient(145deg, #22191f, #191417);
  box-shadow: 0 16px 34px rgba(0,0,0,.16);
}
.service-card:hover {
  border-color: rgba(217,139,172,.32);
  background: linear-gradient(145deg, #2b1d25, #1e161b);
}
.service-card.selected {
  border-color: #d98bac;
  color: #fff7fb;
  background: linear-gradient(145deg, #4a2034, #281820);
  box-shadow: 0 0 0 3px rgba(217,139,172,.1), 0 18px 38px rgba(0,0,0,.22);
}
.service-card strong { color: #fff7fb; }
.service-card small, .service-card .service-duration { color: #aa9aa4; }
.service-card b { color: #f2b0ce; }
.service-card .select-label { color: #e89fbe; }
.secondary-button, .ghost-button { border-color: rgba(255,255,255,.11); color: #f8edf3; background: #2a2227; }
.secondary-button:hover, .ghost-button:hover { background: #382a32; }
input, select, textarea { border-color: rgba(255,255,255,.1); color: #fff; background: #110e10; color-scheme: dark; }
input::placeholder, textarea::placeholder { color: #776a72; }
label { color: #e9dce3; }
.booking-progress { border-color: rgba(255,255,255,.08); }
.booking-progress li { color: #9f9099; }
.booking-progress li::before { background: #3a3036; }
.booking-progress li span { border-color: #4b3b44; color: #d8c9d1; background: #171216; }
.customer-badge { border: 1px solid rgba(255,255,255,.08); color: #f8edf3; background: linear-gradient(110deg, #251b21, #171216); }
.notice, .payment-security { border-color: rgba(255,255,255,.08); color: #dacbd3; background: #251c21; }
.payment-provider-box { border-color: rgba(194,75,132,.42); background: linear-gradient(135deg, #20161c, #160f14); }
.payment-brick-container { border: 1px solid rgba(255,255,255,.08); background: #171116; padding: 14px; }
.payment-cpf-field { color: #f8edf3; }
.payment-cpf-field input { color: #f8edf3; border-color: rgba(255,255,255,.12); background: #120d10; }
.payment-cpf-field small { color: #b9a6b0; }
.confirmation-receipt, .client-deliverables { border-color: rgba(255,255,255,.1); background: #211a1f; }
.site-footer { border-color: rgba(255,255,255,.08); color: #f8edf3; background: #171216; box-shadow: 0 18px 46px rgba(0,0,0,.25); }
.site-footer small, .site-footer > p { color: #9f9099; }
.footer-links button { color: #e8a4c2; }

/* Pagamento: escolha simples; o formulário do cartão aparece apenas quando necessário. */
.payment-provider-box { grid-template-columns: minmax(0, 1fr) minmax(250px, 300px); align-items: center; gap: 18px 24px; padding: 20px 22px; border-color: rgba(194,75,132,.34); background: linear-gradient(135deg, rgba(43,23,34,.92), rgba(23,15,20,.96)); }
.provider-brand { align-self: center; width: fit-content; gap: 10px; padding: 7px 11px 7px 7px; border: 1px solid rgba(255,255,255,.09); border-radius: 15px; background: rgba(10,7,9,.3); }
.provider-brand > span { width: 34px; height: 34px; border-radius: 11px; color: #fbeaf2; background: #7d1e50; font-size: .9rem; box-shadow: none; }
.provider-brand strong { color: #fff7fb; font-size: .92rem; }
.provider-brand small { color: #aa98a3; font-size: .73rem; }
.payment-cpf-field { max-width: none; }
.payment-method-choice, .card-payment-heading, .payment-brick-container, .payment-provider-box > p { grid-column: 1 / -1; }
.payment-method-choice { margin: 2px 0 0; gap: 12px; }
.payment-method-choice legend { margin-bottom: 2px; color: #f8edf3; font-size: .88rem; letter-spacing: .02em; }
.payment-method-card { min-height: 70px; padding: 12px 15px; border-color: rgba(255,255,255,.1); border-radius: 14px; background: #171116; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.payment-method-card:hover { border-color: rgba(225,111,161,.5); transform: translateY(-1px); }
.payment-method-card:has(input:checked) { border-color: #c2477f; background: rgba(150,43,100,.18); box-shadow: 0 0 0 2px rgba(194,71,127,.13); }
.payment-method-icon { width: 38px; height: 38px; border-radius: 12px; background: #38202e; color: #f5c2d8; }
.payment-method-card:has(input:checked) .payment-method-icon { background: #962b64; color: #fff; }
.payment-method-card small { color: #aa98a3; }
.reading-details { margin-top: 18px; padding: 18px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: rgba(16,10,14,.42); }
.reading-details-heading { display: grid; gap: 4px; }
.reading-details-heading strong { color: #f8edf3; }
.reading-details-heading span { color: #a995a0; font-size: .86rem; }
.involved-toggle { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 2px; cursor: pointer; font-weight: 800; }
.involved-toggle input { width: 18px; height: 18px; accent-color: #b63674; }
.reading-details label small { color: #a995a0; font-weight: 600; }
.card-payment-heading { display: grid; gap: 3px; padding: 4px 2px 0; }
.card-payment-heading strong { color: #fff7fb; font-size: 1rem; }
.card-payment-heading span { color: #a995a0; font-size: .82rem; }
.payment-brick-container { min-height: 0; padding: 0; border: 0; background: transparent; }
.payment-brick-container:not(.hidden) { margin-top: 2px; padding: 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: #171116; }
/* O cartão já entrega o próprio formulário; não criamos outra moldura em volta dele. */
.payment-brick-container.card-payment-active:not(.hidden) { padding: 0; border: 0; border-radius: 0; background: transparent; }
.payment-brick-container.card-payment-active:not(.hidden) iframe { border-radius: 16px; }
.payment-provider-box > p { padding-top: 0; color: #9f9099; font-size: .86rem; }
.pix-result { padding: 18px 12px 12px; color: #f8edf3; }
.pix-result h3 { margin: 0; color: #fff7fb; }
.pix-result p { color: #b9a6b0; }
.pix-result textarea { border-color: rgba(255,255,255,.1); color: #f8edf3; background: #120d10; }
@media (max-width: 680px) {
  .payment-provider-box { grid-template-columns: 1fr; }
  .payment-method-choice, .card-payment-heading, .payment-brick-container, .payment-provider-box > p { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* Assinaturas */
.subscription-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; margin-top: 16px; }
.subscription-details > div { display: grid; gap: 5px; min-width: 0; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 14px 16px; background: #171215; }
.subscription-details span { color: #9f9099; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.subscription-details strong { overflow: hidden; color: #fff; font-size: .94rem; text-overflow: ellipsis; white-space: nowrap; }
.subscriptions-view { min-height: 70vh; }
.subscriptions-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; border: 1px solid rgba(255,255,255,.08); border-radius: 28px; padding: 28px 30px; background: linear-gradient(120deg, #21151c, #351426); box-shadow: 0 22px 55px rgba(0,0,0,.22); }
.subscriptions-heading h2 { margin: 4px 0 6px; color: #fff8fb; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: .95; }
.subscriptions-heading p:last-child { margin: 0; color: #b8a6b0; }
.subscription-settings-card { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(360px, .9fr); gap: 22px; align-items: center; margin-top: 18px; border: 1px solid rgba(217,139,172,.3); border-radius: 22px; padding: 22px; background: linear-gradient(115deg, #25151e, #321425); }
.subscription-settings-card h3 { margin: 5px 0 7px; color: #fff5f9; font-size: 1.2rem; }
.subscription-settings-card p { margin: 0; color: #b8a6b0; }
.subscription-settings-card > .message { grid-column: 1 / -1; }
.subscription-settings-form { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(110px, .7fr) auto; gap: 10px; align-items: end; }
.subscription-settings-form label { display: grid; gap: 7px; color: #f2e6ec; font-size: .78rem; font-weight: 800; }
.subscription-settings-form input { min-width: 0; }
.subscription-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
.subscription-stats article { display: grid; gap: 5px; border: 1px solid rgba(255,255,255,.08); border-radius: 20px; padding: 20px; background: #1c161a; }
.subscription-stats span { color: #fff; font-size: 1.85rem; font-weight: 900; }
.subscription-stats small { color: #a998a3; }
.subscriptions-toolbar { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(210px, .35fr); gap: 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 20px; padding: 16px; background: #1c161a; }
.subscriptions-toolbar label { display: grid; gap: 7px; font-size: .78rem; font-weight: 800; }
.subscriptions-list { display: grid; gap: 10px; margin-top: 14px; }
.subscription-row { display: grid; grid-template-columns: minmax(230px, 1.35fr) minmax(150px, .8fr) minmax(160px, .8fr) minmax(125px, .55fr) auto; align-items: center; gap: 18px; border: 1px solid rgba(255,255,255,.08); border-radius: 20px; padding: 16px 18px; background: #1c161a; transition: border-color .2s ease, transform .2s ease; }
.subscription-row:hover { border-color: rgba(217,139,172,.3); transform: translateY(-1px); }
.subscription-reader { display: flex; align-items: center; gap: 12px; min-width: 0; }
.subscription-reader > div, .subscription-link, .subscription-period, .subscription-connection { display: grid; gap: 4px; min-width: 0; }
.subscription-reader strong, .subscription-period strong, .subscription-connection strong { overflow: hidden; color: #f8edf3; text-overflow: ellipsis; white-space: nowrap; }
.subscription-reader small, .subscription-link small, .subscription-period small, .subscription-connection small { color: #998a93; font-size: .75rem; }
.subscription-avatar { display: grid; flex: 0 0 43px; height: 43px; place-items: center; border-radius: 14px; color: #fff; font-weight: 900; background: linear-gradient(145deg, #9b2e64, #51152f); }
.subscription-link a { overflow: hidden; color: #e8a4c2; font-weight: 800; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.subscription-status { justify-self: end; border-radius: 999px; padding: 9px 12px; font-size: .73rem; font-weight: 900; white-space: nowrap; }
.subscription-status.owner { color: #ffe2ef; background: #762249; }
.subscription-status.active { color: #bbf1df; background: #174e3f; }
.subscription-status.trialing { color: #ffe3ad; background: #664316; }
.subscription-status.inactive { color: #d5c7cf; background: #3a3036; }
.subscriptions-empty { display: grid; gap: 7px; place-items: center; border: 1px dashed rgba(255,255,255,.1); border-radius: 24px; padding: 50px 20px; color: #fff; background: #171215; }
.subscriptions-empty span { color: #9f9099; }

/* Propostas de magia */
.magic-friday-capacity { display: grid; gap: 7px; max-width: 360px; margin-top: 16px; color: #f8edf3; font-weight: 800; }
.magic-friday-capacity input { width: 100%; }
.magic-friday-capacity small { color: #9f9099; font-size: .8rem; font-weight: 600; line-height: 1.4; }
.magic-friday-picker { display: grid; gap: 12px; margin: 16px 0 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 14px; background: #171215; }
.magic-picker-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.magic-picker-heading > div:first-child { display: grid; gap: 2px; }
.magic-picker-heading small { color: #c899b0; font-size: .7rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.magic-picker-heading strong { color: #fff6fb; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.12rem; text-transform: capitalize; }
.magic-picker-heading > div:last-child { display: flex; gap: 7px; }
.magic-picker-arrow { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; color: #f7eaf0; background: #281d23; cursor: pointer; font-size: 1rem; }
.magic-picker-arrow:hover:not(:disabled) { border-color: #b53a75; background: #3a2030; }
.magic-picker-arrow:disabled { cursor: not-allowed; opacity: .35; }
.magic-friday-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 8px; }
.magic-friday-option { display: grid; min-height: 105px; align-content: center; justify-items: center; gap: 2px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; padding: 9px 6px; color: #f9edf3; background: #231a20; cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.magic-friday-option:hover:not(:disabled) { border-color: #c3417e; background: #341b2b; transform: translateY(-1px); }
.magic-friday-option.selected { border-color: #e38ab4; box-shadow: 0 0 0 2px rgba(208,64,125,.2); background: #5c1d42; }
.magic-friday-option:disabled { cursor: not-allowed; opacity: .48; }
.magic-friday-option small { color: #d69ab6; font-size: .66rem; font-weight: 900; letter-spacing: .08em; }
.magic-friday-option strong { color: #fff8fb; font-size: 1.38rem; line-height: 1; }
.magic-friday-option span { color: #c8b6bf; font-size: .72rem; text-transform: capitalize; }
.magic-friday-option em { color: #a9e5d2; font-size: .66rem; font-style: normal; font-weight: 800; }
.magic-friday-option:disabled em { color: #d9a4b9; }
.magic-picker-note { margin: 0; color: #a998a3; font-size: .78rem; line-height: 1.45; }

@media (max-width: 960px) {
  .hero-copy, .hero-card { min-height: auto; }
  .hero-copy { padding-block: 56px; }
  .booking-shell { grid-template-columns: 1fr; }
  .site-footer { align-items: flex-start; flex-wrap: wrap; }
  #adminView .dashboard { grid-template-columns: 1fr; }
  #adminView .dashboard-welcome, #adminView .admin-tabs, #adminView .admin-calendar-panel, #adminView .dashboard-top, #adminView .stats-grid, #adminView .request-list { grid-column: 1; grid-row: auto; }
  .subscription-stats { grid-template-columns: repeat(2, 1fr); }
  .subscription-row { grid-template-columns: 1fr 1fr; }
  .subscription-status { justify-self: start; }
  .subscription-settings-card { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { background-attachment: scroll; }
  .topbar { width: calc(100% - 20px); margin-top: 10px; padding: 10px; border-radius: 20px; }
  .brand { width: 100%; }
  .segmented { display: grid; grid-template-columns: repeat(2, 1fr); }
  main { width: calc(100% - 20px); }
  .view { padding-top: 24px; }
  .hero-copy { padding: 38px 22px; }
  .hero-copy h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
  .hero-actions .primary-button, .hero-actions .text-link { width: 100%; text-align: center; }
  .trust-row { display: grid; width: 100%; }
  .home-section-heading h2 { font-size: 2.2rem; }
  .panel, .customer-gate, .payment-card, .confirmation-card, .dashboard, .client-orders { border-radius: 25px; padding: 20px; }
  .service-card { min-height: auto; }
  .booking-progress { position: sticky; z-index: 8; top: 8px; border: 1px solid rgba(255,255,255,.8); border-radius: 20px; padding: 12px 8px; background: rgba(255,250,244,.94); backdrop-filter: blur(12px); }
  .booking-progress small { max-width: 65px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .admin-tabs { top: 8px; }
  .site-footer { width: calc(100% - 20px); flex-direction: column; border-radius: 22px; }
  .footer-links { width: 100%; }
  .footer-links button { flex: 1; }
  .site-footer > p { margin: 0; }
  .subscription-details, .subscription-stats, .subscriptions-toolbar, .subscription-row, .subscription-settings-form { grid-template-columns: 1fr; }
  .subscriptions-heading { align-items: stretch; flex-direction: column; padding: 24px 20px; }
  .subscriptions-heading button { width: 100%; }
  .profile-icon-editor { grid-template-columns: 68px 1fr; }
  .delivery-image-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .delivery-audio-grid { grid-template-columns: 1fr; }
  .profile-icon-preview { width: 68px; height: 68px; border-radius: 21px; }
  .magic-friday-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #adminView .request-header,
  #adminView .request-card.expanded .request-header { grid-template-columns: 1fr; }
  #adminView .request-toggle,
  #adminView .delete-request,
  #adminView .status-select { width: 100%; }
}
@media (max-width: 420px) { .delivery-image-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .delivery-image-viewer { padding: 10px; } .delivery-image-viewer-dialog { padding: 12px; } .delivery-viewer-footer button { padding-inline: 10px; font-size: .78rem; } }

/* Tema rubi: mantém contraste alto em toda a experiência, inclusive nos campos. */
:root {
  --wine: #8f171c;
  --wine-strong: #b52a31;
  --ink: #fff3f0;
  --muted: #d6b8b7;
  --cream: #fff7f5;
  --paper: #160203;
  --line: rgba(255, 231, 226, .16);
  --shadow: 0 26px 70px rgba(0, 0, 0, .34);
}
body {
  color: #fff3f0;
  background:
    radial-gradient(circle at 8% 0%, rgba(123, 10, 16, .52), transparent 35%),
    radial-gradient(circle at 96% 8%, rgba(60, 1, 3, .96), transparent 32%),
    #160203;
}
body::before { background-image: radial-gradient(rgba(255, 215, 205, .12) .65px, transparent .65px); }
.topbar { background: rgba(30, 3, 5, .94); border-color: rgba(255, 225, 218, .14); }
.brand-mark { background: linear-gradient(145deg, #9d2026, #3c0103); border: 1px solid rgba(255, 221, 214, .18); }
.segmented, .nav-button { background: #2b0709; }
.nav-button { color: #e9c8c5; border-color: rgba(255, 230, 223, .1); }
.nav-button:hover { color: #fff; background: #451012; }
.nav-button.active, .primary-button, .desk-start {
  color: #fff;
  background: linear-gradient(135deg, #8f171c, #c0363d);
  box-shadow: 0 14px 30px rgba(60, 1, 3, .42);
}
.primary-button:hover, .nav-button.active:hover { background: linear-gradient(135deg, #a21e24, #d4454b); }
.secondary-button, .ghost-button { color: #fff3f0; border-color: rgba(255, 226, 219, .2); background: #30090b; }
.secondary-button:hover, .ghost-button:hover { border-color: rgba(255, 205, 195, .34); background: #4a1114; }
.hero-copy, .home-service-card, .steps-grid article, .trust-panel, .faq-card,
.customer-gate, .panel, .checkout-card, .login-card, .payment-card,
.confirmation-card, .client-orders, .client-order-card, .site-footer,
.reader-profile-heading, .reader-signup-form, .reader-link-card,
.account-status-card, .reader-settings-card, .availability-editor {
  border-color: rgba(255, 226, 219, .13);
  background: #220607;
}
.hero-copy { background: linear-gradient(145deg, #260708, #190304); }
.hero-card { background: linear-gradient(155deg, #6b1015, #2d0608); border-color: rgba(255, 226, 219, .14); }
.platform-link-preview {
  border-color: rgba(255, 221, 214, .2);
  background: linear-gradient(155deg, #6a1116, #3c0103 68%, #210405);
}
.platform-link-preview span { color: #ffc0bb; }
.platform-link-preview strong { color: #fff5f2; }
.platform-link-preview small { color: #e4c2bf; }
.home-service-card.featured, .service-card.selected { background: linear-gradient(145deg, #4a0d10, #240506); border-color: #d75c60; }
.service-card { background: linear-gradient(145deg, #280708, #190304); border-color: rgba(255, 226, 219, .13); }
.service-card:hover { background: linear-gradient(145deg, #3b0c0e, #210506); border-color: rgba(235, 129, 128, .48); }
.trust-row span, .customer-badge, .notice, .payment-security, .confirmation-receipt,
.client-deliverables, .subscription-details > div, .subscription-stats article,
.subscriptions-toolbar, .subscription-row, .magic-friday-picker { background: #2b080a; border-color: rgba(255, 226, 219, .13); }
.payment-provider-box { background: linear-gradient(135deg, #300708, #190304); border-color: rgba(215, 92, 96, .56); }
.payment-method-card, .payment-brick-container:not(.hidden), .reading-details { background: #1b0405; border-color: rgba(255, 226, 219, .13); }
.payment-method-card:has(input:checked) { background: #511014; border-color: #d75c60; box-shadow: 0 0 0 2px rgba(215, 92, 96, .16); }
.payment-method-icon, .provider-brand { background: #400d0f; }
input, select, textarea, .availability-editor > label > input { color: #fff; background: #120102; border-color: rgba(255, 226, 219, .22); }
input:focus, select:focus, textarea:focus { outline: 2px solid #e47171; outline-offset: 1px; border-color: transparent; }
input::placeholder, textarea::placeholder { color: #bd9695; }
label, .payment-method-choice legend, .service-card strong, .brand { color: #fff3f0; }
.brand small, .hero-copy > p, .section-heading p:last-child, .home-service-card p,
.steps-grid article p, .trust-points p, .faq-card details p, .site-footer small,
.site-footer > p, .subscription-reader small, .subscription-link small,
.subscription-period small, .subscription-connection small { color: #d6b8b7; }
.eyebrow, .home-service-card > small, .select-label, .desk-kicker { color: #ef9b98; }
.text-link, .footer-links button, .subscription-link a { color: #ffb8b4; }
.booking-progress { border-color: rgba(255, 226, 219, .14); background: #260708; }
.booking-progress li { color: #d6b8b7; }
.booking-progress li span { color: #ffe5e1; background: #2e090b; border-color: #704042; }
.booking-progress li.complete span, .booking-progress li.active span { background: #a62026; border-color: #a62026; }
.booking-progress li.complete::before, .booking-progress li.active::before { background: #c13b40; }
.notice.success, .message.success, .client-status, .subscription-status.active { color: #c8f1df; background: #124636; }
.message.error { color: #ff9d9d; }
.subscription-settings-card, .subscriptions-heading { background: linear-gradient(120deg, #300708, #4a0d10); border-color: rgba(215, 92, 96, .38); }
#adminView .dashboard, #adminView .admin-calendar-panel, #adminView .dashboard-top,
#adminView .request-card, #adminView .empty-state, #adminView .admin-tabs { background: #220607; border-color: rgba(255, 226, 219, .13); }
#adminView .dashboard-welcome { background: linear-gradient(120deg, #1a0304, #37090b 58%, #701419); }
#adminView .admin-calendar-day { background: #170304; color: #fff0ed; border-color: rgba(255, 226, 219, .08); }
#adminView .admin-calendar-day:hover { background: #390c0e; border-color: rgba(235, 129, 128, .45); }
#adminView .admin-calendar-day.has-booking { background: #581116; color: #ffe8e5; }
#adminView .admin-calendar-day.selected { background: #b52a31; color: #fff; }
@media (max-width: 720px) {
  .booking-progress { background: rgba(38, 7, 8, .96); border-color: rgba(255, 226, 219, .14); }
  .nav-button { background: #2b0709; }
}

/* Ajustes finais para telas de celular. */
@media (max-width: 720px) {
  .topbar { position: relative; gap: 12px; padding: 14px; }
  .segmented { gap: 10px; border: 0; padding: 0; background: transparent; }
  .nav-button { min-height: 50px; border: 1px solid rgba(255,255,255,.09); border-radius: 16px; padding-inline: 10px; background: #211a1f; }
  .nav-button:hover { background: #2a2026; }
  .nav-button.active { border-color: rgba(217,139,172,.34); }

  .profile-menu { position: relative; }
  .profile-dropdown {
    top: calc(100% + 9px);
    right: auto;
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(200% + 10px);
    gap: 6px;
    padding: 9px;
    border-radius: 18px;
  }
  .profile-dropdown button { min-height: 46px; padding: 10px; border: 1px solid rgba(255,255,255,.07); text-align: center; }

  .platform-landing { gap: 16px; }
  .platform-hero, .platform-audiences { gap: 16px; }
  .platform-hero > div, .platform-link-preview, .platform-explanation, .platform-audiences > article { border-radius: 26px; }
  .platform-hero > div, .platform-explanation, .platform-audiences > article { padding: 30px; }
  .platform-link-preview { min-height: 260px; padding: 30px; }
  .platform-steps { gap: 12px; }
  .platform-steps article { padding: 20px; }

  .reader-profile-shell { gap: 16px; }
  .reader-profile-heading,
  .reader-signup-form,
  .reader-link-card,
  .account-status-card,
  .reader-settings-card {
    width: 100%;
    border-radius: 26px;
    padding: 28px;
  }
  .reader-profile-heading { gap: 18px; }
  .reader-profile-heading h2 { font-size: 2.45rem; }
  .reader-profile-grid { gap: 16px; }
  .profile-icon-editor { gap: 16px; padding: 18px; }

  .availability-editor { gap: 14px; padding: 18px; border-radius: 20px; }
  .weekday-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
  .weekday-options label { min-height: 54px; gap: 9px; border-radius: 16px; padding: 10px 12px; font-size: .88rem; }
  .weekday-options input {
    display: grid;
    flex: 0 0 25px;
    width: 25px;
    min-height: 25px;
    height: 25px;
    place-items: center;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 8px;
    background: #0d0a0c;
  }
  .weekday-options input:checked { border-color: #ff75c4; background: #ec62b5; box-shadow: 0 0 0 3px rgba(236,98,181,.12); }
  .weekday-options input:checked::after { content: "✓"; color: #fff; font-size: .95rem; font-weight: 900; }
  .availability-editor > label > input {
    width: 100%;
    min-height: 58px;
    height: 58px;
    appearance: none;
    -webkit-appearance: none;
    border-color: rgba(255,255,255,.14);
    border-radius: 16px;
    padding: 0 16px;
    color: #f8edf3;
    background: #110e10;
    font-weight: 800;
  }
  .availability-editor > label > input[type="time"] { text-align: center; }

  .login-card { display: grid; gap: 14px; padding: 24px; }
  .login-card .wide { width: 100%; margin: 0; }

  #adminView .dashboard { gap: 12px; padding: 14px; }
  #adminView .dashboard-welcome { gap: 14px; padding: 18px; }
  #adminView .admin-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 6px; overflow: visible; }
  #adminView .admin-tab { width: 100%; padding: 12px 6px; font-size: .78rem; }
  #adminView .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #adminView .stats-grid div { min-height: 104px; padding: 13px; }
  #adminView .empty-state { min-height: 210px; padding: 24px 18px; }
  #adminView .empty-state button { width: 100%; }

  .site-footer { gap: 20px; padding: 24px; }
  .footer-links { justify-content: space-between; gap: 4px; }
  .footer-links button { padding-inline: 8px; }
}

/* Mantém o mesmo rubi nos controles específicos do celular. */
@media (max-width: 720px) {
  html, body { width: 100%; max-width: 100%; overflow-x: clip; }
  .topbar, main, .site-footer {
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px);
    margin-left: auto !important;
    margin-right: auto !important;
  }
  #readerProfileView, .reader-profile-shell, .reader-profile-grid,
  .reader-profile-grid > *, .reader-settings-card { width: 100%; max-width: 100%; min-width: 0; }
  .hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    gap: 16px;
  }
  .hero-copy, .hero-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: auto;
  }
  .hero-card { min-height: 300px; }
  .nav-button { background: #2b0709; }
  .nav-button:hover { background: #451012; }
  .profile-dropdown { background: #220607; border-color: rgba(255, 226, 219, .14); }
  .weekday-options input { position: relative; background: #120102; }
  .weekday-options input:checked { border-color: #e47171; background: #b52a31; box-shadow: 0 0 0 3px rgba(181, 42, 49, .2); }
  .weekday-options input:checked::after {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    line-height: 1;
  }
}

/* Destaques textuais: vermelho claro, sem o rosa antigo. */
.eyebrow, .home-service-card > small, .select-label, .desk-kicker,
.platform-link-preview span, .magic-picker-heading small,
.magic-friday-option small { color: #f0aaa5; }
.text-link, .subscription-link a, .request-service-summary,
.home-service-card div b, .service-card b, .service-card .select-label { color: #f6d7d0; }
.footer-links button { color: #f8e7e2; }
#adminView .eyebrow, #adminView .request-service-summary { color: #f0aaa5; }
#adminView .dashboard-welcome .eyebrow { color: #ffc0ba; }

/* Estados selecionados seguem o vermelho rubi em todos os formulários. */
.delivery-mode-options label:has(input:checked),
.magic-access-options label:has(input:checked) {
  border-color: #c85156;
  background: rgba(143, 23, 28, .24);
}
.service-time-check input:checked + .toggle-control { background: #b52a31; }

.service-editor-row { background: linear-gradient(145deg, #260708, #1b0405); border-color: rgba(255, 226, 219, .14); }
.service-number { color: #fff4f1; background: #a62329; }
.remove-service-button, .price-input b { color: #f4b4af; }
.remove-service-button:hover { color: #fff5f2; }
.service-editor-fields label > span { color: #d9bcba; }
.price-input { background: #120102; border-color: rgba(255, 226, 219, .18); }
.platform-client-note { color: #ffe9e4; background: #4a0d10; border: 1px solid rgba(231, 113, 113, .18); }
.gate-copy { border-color: rgba(255, 220, 213, .18); background: linear-gradient(145deg, #631116, #250506 72%); }
.hero-copy::after { color: rgba(216, 101, 96, .09); }
.desk-kicker { color: #efd1ca; }
.trust-row { color: #ead0ca; }
.trust-row span { border-color: rgba(255, 225, 218, .16); background: #35090b; }
.platform-audiences .eyebrow { color: #ead1cb; }

/* Acabamento final Telos: estas regras ficam por último para nenhum vinho reaparecer. */
body { background: radial-gradient(circle at 8% 0%, rgba(83,37,133,.34), transparent 35%), radial-gradient(circle at 96% 8%, rgba(25,10,50,.82), transparent 32%), #090510; }
.topbar, .site-footer { border-color: rgba(175,137,239,.25); background: rgba(21,10,38,.93); }
.nav-button.active, .primary-button, .desk-start { background: linear-gradient(135deg, #713bc6, #a65ae1); box-shadow: 0 14px 30px rgba(112,53,194,.30); }
.reader-profile-heading, .reader-link-card, .account-status-card, .reader-settings-card, .availability-editor, .delivery-settings, .magic-access-settings, .service-editor-row, .reader-signup-form, .reader-signup-copy, .customer-gate, .panel, .checkout-card, .login-card, .payment-card, .confirmation-card, .client-orders, .client-order-card { border-color: rgba(181,145,241,.20); background: linear-gradient(145deg, rgba(31,14,51,.94), rgba(14,7,27,.96)); }
.reader-profile-heading, .account-status-card { background: linear-gradient(135deg, #2b1248, #160a2b); }
.reader-link-card { background: linear-gradient(145deg, #331653, #160a2a); }
.availability-editor, .delivery-settings, .magic-access-settings, .service-editor-row { background: linear-gradient(145deg, #25113e, #110821); }
.weekday-options label, .magic-access-options label, .signup-delivery-choice label, .trust-row span { border-color: rgba(184,149,243,.22); background: rgba(39,20,61,.80); }
input, select, textarea, .availability-editor > label > input { border-color: rgba(185,151,244,.26); background: #0e071a; }
input:focus, select:focus, textarea:focus { outline-color: #b66bf0; }
.delivery-mode-options label:has(input:checked), .magic-access-options label:has(input:checked) { border-color: #aa69e5; background: rgba(115,55,181,.28); }
.service-number, .add-category-button > span { background: linear-gradient(135deg, #713bc6, #a65ae1); }
.add-category-button { border-color: rgba(183,147,242,.30); background: rgba(38,18,59,.86); }
.service-time-check input:checked + .toggle-control, .weekday-options input:checked { background: #8247cd; }
.eyebrow, .home-service-card > small, .select-label, .desk-kicker, .platform-link-preview span { color: #c9afff; }
.customer-badge {
  border-color: rgba(181,145,241,.24);
  background: linear-gradient(110deg, #2d1450, #160a2b);
  box-shadow: 0 14px 34px rgba(65,26,112,.22);
}
.customer-badge span { color: #c8aaff; }
.customer-badge .customer-avatar { background: linear-gradient(145deg, #743cc8, #3d1d70); }

/* Painel administrativo: substituição final do vermelho. */
#adminView .dashboard,
#adminView .admin-calendar-panel,
#adminView .dashboard-top,
#adminView .request-card,
#adminView .empty-state,
#adminView .admin-tabs { border-color: rgba(181,145,241,.20); background: #160a2a; }
#adminView .dashboard-welcome { background: linear-gradient(120deg, #25103f, #44206e 58%, #65399b); }
#adminView .admin-tab.active { background: linear-gradient(135deg, #713bc6, #a65ae1); }
#adminView .admin-calendar-day { border-color: rgba(185,151,244,.12); color: #f6f0ff; background: #1b0d30; }
#adminView .admin-calendar-day:hover { border-color: #aa69e5; background: #342052; }
#adminView .admin-calendar-day.has-booking { color: #f4eaff; background: #4f287c; }
#adminView .admin-calendar-day.selected { background: #8951d5; }
#adminView .stats-grid div { border-color: rgba(184,147,243,.18) !important; background: #25123e !important; }
#adminView .stats-grid div::after { background: #9155df; }
#adminView .empty-state { background: radial-gradient(circle at 50% 15%, #39235a, #170b29 62%); }
#adminView .empty-state-icon { background: linear-gradient(135deg, #743cc8, #a85ae3); }

/* Cartões de status da conta, por último para não herdarem o vinho. */
.subscription-details > div {
  border-color: rgba(184,147,243,.26);
  background: linear-gradient(145deg, #2a1247, #170a2b);
}
.subscription-details span { color: #cfbde4; }
.subscription-details strong { color: #fbf8ff; }
.clicksign-connect-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; grid-column: 1 / -1; border: 1px solid rgba(184,147,243,.24); border-radius: 18px; padding: 16px; background: rgba(42,18,71,.72); }
.clicksign-connect-card div { display: grid; gap: 5px; }
.clicksign-connect-card small { color: #d4c5e4; line-height: 1.45; }
.add-category-button { color: #f8f3ff; border-color: rgba(184,147,243,.34); background: linear-gradient(145deg, #351854, #190c2d); }
.add-category-button small { color: #d4c5e4; }
.add-category-button > span { color: #fff; background: linear-gradient(135deg, #713bc6, #a65ae1); }

/* Prioridade máxima: remove o vinho do fluxo da cliente e dos seus atalhos. */
.booking-progress { border-color: rgba(181,145,241,.24) !important; background: rgba(25,11,43,.96) !important; }
.booking-progress li { color: #cfc2df !important; }
.booking-progress li::before { background: #43315d !important; }
.booking-progress li span { color: #ded1ee !important; border-color: #69537f !important; background: #1b0d30 !important; }
.booking-progress li.active, .booking-progress li.complete { color: #d9c4ff !important; }
.booking-progress li.active span, .booking-progress li.complete span {
  color: #fff !important; border-color: #8247cd !important; background: #8247cd !important;
  box-shadow: 0 0 0 5px rgba(130,71,205,.16) !important;
}
.booking-progress li.complete::before, .booking-progress li.active::before { background: #9859dc !important; }
#showOrdersButton, #editCustomerProfileButton, #customerLogoutButton {
  color: #f7f1ff !important; border-color: rgba(190,151,244,.34) !important;
  background: #2a1247 !important; box-shadow: none !important;
}
#showOrdersButton:hover, #editCustomerProfileButton:hover, #customerLogoutButton:hover {
  background: #3a1c60 !important; border-color: rgba(211,179,255,.54) !important;
}

/* Ação de adicionar serviço: um botão calmo, sem seleção de texto e sem efeito chamativo. */
.add-category-button {
  min-height: 80px;
  color: #f7f1ff !important;
  border: 1px dashed rgba(186, 150, 239, .46) !important;
  border-radius: 18px !important;
  background: rgba(34, 15, 56, .72) !important;
  box-shadow: none !important;
  transform: none !important;
  user-select: none;
  -webkit-user-select: none;
}
.add-category-button > span:last-child { text-align: left; }
.add-category-button strong { color: #f7f1ff; }
.add-category-button small { color: #bfb0cf !important; }
.add-category-button > span:first-child {
  background: #543080 !important;
  box-shadow: none !important;
}
.add-category-button:hover {
  border-color: rgba(205, 180, 247, .64) !important;
  background: rgba(45, 22, 70, .84) !important;
  box-shadow: 0 8px 20px rgba(7, 2, 14, .18) !important;
  transform: none !important;
}
.add-category-button:hover > span:first-child { background: #68409a !important; }
.add-category-button:focus-visible {
  outline: 3px solid rgba(178, 112, 235, .45);
  outline-offset: 3px;
}

/* Etapas do atendimento: numeração no mesmo roxo da Telos. */
.steps-grid article > span {
  color: #fff !important;
  background: linear-gradient(135deg, #6d3bb0, #8e55ce) !important;
  box-shadow: 0 7px 16px rgba(79, 37, 132, .24);
}

/* O progresso é só uma linha de etapas; não precisa de cartão atrás. */
.booking-progress {
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

/* Ícones de confiança sem o vermelho herdado do tema antigo. */
.trust-points article > span {
  color: #d8c0ff !important;
  background: #39205b !important;
  border: 1px solid rgba(194, 159, 245, .30);
}

/* Ações da conta da cliente: todos os três botões usam a mesma paleta. */
#showOrdersButton, #editCustomerButton, #logoutCustomerButton {
  color: #f7f1ff !important;
  border-color: rgba(190,151,244,.34) !important;
  background: #2a1247 !important;
  box-shadow: none !important;
}
#showOrdersButton:hover, #editCustomerButton:hover, #logoutCustomerButton:hover {
  color: #fff !important;
  border-color: rgba(211,179,255,.54) !important;
  background: #3a1c60 !important;
}

/* Avisos do agendamento na paleta roxa, sem o painel vinho antigo. */
.notice {
  color: #e8ddf5 !important;
  border: 1px solid rgba(181,145,241,.22) !important;
  background: #25113e !important;
}
.notice.important {
  color: #f1e6ff !important;
  border-color: rgba(204,169,248,.34) !important;
  background: #39205a !important;
}

/* Ações dentro dos pedidos: roxo em todos os estados. */
.client-order-card .secondary-button,
.client-order-card .ghost-button,
#editCustomerButton {
  color: #f7f1ff !important;
  border-color: rgba(190,151,244,.34) !important;
  background: #2a1247 !important;
  box-shadow: none !important;
}
.client-order-card .secondary-button:hover,
.client-order-card .ghost-button:hover,
#editCustomerButton:hover {
  color: #fff !important;
  border-color: rgba(211,179,255,.54) !important;
  background: #3a1c60 !important;
}

/* Perfil profissional: atalhos e ícone provisório na identidade roxa Telos. */
.profile-icon-preview:not(.has-image) {
  color: #fff !important;
  border-color: rgba(205,177,248,.32) !important;
  background: linear-gradient(145deg, #62358f, #2e154f) !important;
}
.profile-icon-actions .secondary-button,
.reader-link-card .secondary-button,
.account-status-card .secondary-button,
.clicksign-connect-card .secondary-button {
  color: #f7f1ff !important;
  border-color: rgba(190,151,244,.34) !important;
  background: #2a1247 !important;
  box-shadow: none !important;
}
.profile-icon-actions .secondary-button:hover,
.reader-link-card .secondary-button:hover,
.account-status-card .secondary-button:hover,
.clicksign-connect-card .secondary-button:hover {
  color: #fff !important;
  border-color: rgba(211,179,255,.54) !important;
  background: #3a1c60 !important;
}

/* Atalhos de conexão e verificação da conta. */
#verifyReaderEmailButton,
#connectMercadoPagoButton,
#connectClicksignButton {
  color: #f7f1ff !important;
  border-color: rgba(190,151,244,.34) !important;
  background: #2a1247 !important;
  box-shadow: none !important;
}
#verifyReaderEmailButton:hover,
#connectMercadoPagoButton:hover,
#connectClicksignButton:hover {
  color: #fff !important;
  border-color: rgba(211,179,255,.54) !important;
  background: #3a1c60 !important;
}

/* Editor de serviço: campo de valor neutro; só “Remover” fica vermelho. */
.service-editor-row .price-input {
  border-color: rgba(185,151,244,.28) !important;
  background: #0e071a !important;
}
.service-editor-row .price-input b { color: #d8c0ff !important; }
.service-editor-fields label > span { color: #cbb9dd !important; }

/* Configuração de magias: controles no roxo padrão. */
.magic-access-options input { accent-color: #8247cd !important; }
.magic-access-settings .secondary-button {
  color: #f7f1ff !important;
  border-color: rgba(190,151,244,.34) !important;
  background: #2a1247 !important;
  box-shadow: none !important;
}
.magic-access-settings .secondary-button:hover {
  color: #fff !important;
  border-color: rgba(211,179,255,.54) !important;
  background: #3a1c60 !important;
}
.magic-offer-editor input,
.magic-offer-editor textarea {
  color: #f7f1ff !important;
  border-color: rgba(185,151,244,.28) !important;
  background: #0e071a !important;
}
.magic-offer-editor input::placeholder,
.magic-offer-editor textarea::placeholder { color: #ad9abb !important; }

/* O texto do botão de adicionar serviço nunca recebe marcação de seleção. */
.add-category-button,
.add-category-button * {
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-tap-highlight-color: transparent;
}
.add-category-button > span:last-child,
.add-category-button strong,
.add-category-button small { background: transparent !important; }
.add-category-button ::selection {
  color: inherit;
  background: transparent;
}

/* Calendário de reserva: contraste limpo e paleta roxa. */
.calendar-field {
  border-color: rgba(181,145,241,.28) !important;
  background: linear-gradient(145deg, #25113e, #170a2b) !important;
}
.calendar-toolbar, .calendar-weekdays { color: #d8c7eb !important; }
.calendar-arrow {
  color: #eee5fa !important;
  border-color: rgba(185,151,244,.28) !important;
  background: #342052 !important;
  box-shadow: none !important;
}
.calendar-arrow:hover:not(:disabled) { color: #fff !important; background: #4a2b72 !important; }
.calendar-day {
  color: #f4effb !important;
  border: 1px solid rgba(185,151,244,.14) !important;
  background: #2d1b49 !important;
}
.calendar-day:hover:not(:disabled) {
  color: #fff !important;
  border-color: rgba(208,177,250,.62) !important;
  background: #44256a !important;
  transform: none !important;
}
.calendar-day.today { outline-color: #c493f3 !important; }
.calendar-day.selected {
  color: #fff !important;
  border-color: #b870eb !important;
  background: linear-gradient(135deg, #713bc6, #a65ae1) !important;
  box-shadow: 0 7px 18px rgba(117,52,197,.32) !important;
}
.calendar-day:disabled {
  color: #9f8fad !important;
  border-color: rgba(185,151,244,.08) !important;
  background: #1a0d2b !important;
  opacity: 1 !important;
}

/* Botões principais, inclusive “Revisar pagamento”: roxo em repouso e no hover. */
.primary-button {
  color: #fff !important;
  border-color: transparent !important;
  background: linear-gradient(135deg, #713bc6, #a65ae1) !important;
  box-shadow: 0 12px 26px rgba(91, 42, 160, .28) !important;
}
.primary-button:hover:not(:disabled) {
  color: #fff !important;
  background: linear-gradient(135deg, #7f46d5, #b16aed) !important;
  box-shadow: 0 16px 30px rgba(91, 42, 160, .36) !important;
}

/* Painel da agenda: último ajuste dos detalhes que ainda herdavam vinho. */
#adminView .eyebrow { color: #c9afff !important; }
#adminView .admin-calendar-day small {
  color: #fff !important;
  background: #7541b8 !important;
}
#adminView .admin-calendar-legend span {
  background: #7541b8 !important;
  box-shadow: inset 0 0 0 1px rgba(218,195,255,.24) !important;
}
#adminView .secondary-button,
#adminView .empty-state .secondary-button {
  color: #f7f1ff !important;
  border-color: rgba(190,151,244,.34) !important;
  background: #2a1247 !important;
  box-shadow: none !important;
}
#adminView .secondary-button:hover,
#adminView .empty-state .secondary-button:hover {
  color: #fff !important;
  border-color: rgba(211,179,255,.54) !important;
  background: #3a1c60 !important;
}

/* Tela administrativa inteira: o fundo externo também segue o roxo Telos. */
body:has(#adminView.active) {
  color: #f8f3ff !important;
  background:
    radial-gradient(circle at 8% 0%, rgba(84, 37, 133, .34), transparent 35%),
    radial-gradient(circle at 96% 8%, rgba(30, 12, 57, .80), transparent 32%),
    #090510 !important;
}
body:has(#adminView.active) .topbar {
  border-color: rgba(175,137,239,.25) !important;
  background: rgba(21,10,38,.93) !important;
}
body:has(#adminView.active) .segmented {
  border-color: rgba(181,145,241,.24) !important;
  background: #160a2a !important;
}
body:has(#adminView.active) .nav-button {
  color: #e7ddf7 !important;
  background: #1a0c2d !important;
}
body:has(#adminView.active) .nav-button.active {
  color: #fff !important;
  background: linear-gradient(135deg, #713bc6, #a65ae1) !important;
}

/* A cor escolhida para os cartões também personaliza todos os calendários da agenda. */
body.reader-custom-theme .calendar-field,
body.reader-custom-theme #adminView .admin-calendar-panel {
  border-color: color-mix(in srgb, var(--reader-link-card-color) 62%, white 38%) !important;
  background: linear-gradient(145deg, var(--reader-link-card-color), color-mix(in srgb, var(--reader-link-card-color) 48%, #08040f)) !important;
}
body.reader-custom-theme .calendar-arrow,
body.reader-custom-theme #adminView .calendar-arrow {
  color: var(--reader-text-color) !important;
  border-color: color-mix(in srgb, var(--reader-link-card-color) 60%, white 40%) !important;
  background: color-mix(in srgb, var(--reader-link-card-color) 74%, #08040f) !important;
}
body.reader-custom-theme .calendar-arrow:hover:not(:disabled),
body.reader-custom-theme #adminView .calendar-arrow:hover:not(:disabled) {
  background: color-mix(in srgb, var(--reader-link-card-color) 82%, white 18%) !important;
}
body.reader-custom-theme .calendar-day,
body.reader-custom-theme #adminView .admin-calendar-day {
  color: var(--reader-text-color) !important;
  border-color: color-mix(in srgb, var(--reader-link-card-color) 54%, white 46%) !important;
  background: color-mix(in srgb, var(--reader-link-card-color) 68%, #08040f) !important;
}
body.reader-custom-theme .calendar-day:hover:not(:disabled),
body.reader-custom-theme #adminView .admin-calendar-day:hover {
  background: color-mix(in srgb, var(--reader-link-card-color) 82%, white 18%) !important;
}
body.reader-custom-theme .calendar-day.selected,
body.reader-custom-theme #adminView .admin-calendar-day.selected,
body.reader-custom-theme #adminView .admin-calendar-day.has-booking {
  color: var(--reader-text-color) !important;
  background: color-mix(in srgb, var(--reader-link-card-color) 76%, white 24%) !important;
}
body.reader-custom-theme .calendar-day:disabled {
  color: color-mix(in srgb, var(--reader-text-color) 60%, transparent) !important;
  background: color-mix(in srgb, var(--reader-link-card-color) 48%, #08040f) !important;
}
body.reader-custom-theme #adminView .admin-calendar-day small,
body.reader-custom-theme #adminView .admin-calendar-legend span {
  color: var(--reader-text-color) !important;
  background: color-mix(in srgb, var(--reader-link-card-color) 76%, white 24%) !important;
}

/* Escolha de entrega no cadastro: cartões simples e rádio proporcional. */
.signup-delivery-choice {
  gap: 10px !important;
  padding: 12px !important;
  border-color: rgba(181,145,241,.26) !important;
  background: rgba(20,9,36,.48);
}
.signup-delivery-choice legend { color: #f4effb; }
.signup-delivery-choice label {
  min-height: 58px;
  padding: 11px 12px !important;
  border: 1px solid rgba(181,145,241,.22) !important;
  border-radius: 12px;
  color: #e8def4;
  background: #1d0e32 !important;
  font-weight: 800;
  line-height: 1.25;
  transition: border-color .18s ease, background .18s ease;
}
.signup-delivery-choice label:has(input:checked) {
  border-color: #a966e2 !important;
  background: #321853 !important;
}
.signup-delivery-choice input[type="radio"] {
  appearance: none;
  flex: 0 0 20px;
  width: 20px !important;
  min-width: 20px;
  height: 20px !important;
  min-height: 20px !important;
  margin: 0;
  border: 2px solid #9f86ba !important;
  border-radius: 50%;
  background: #160a27 !important;
  box-shadow: none;
}
.signup-delivery-choice input[type="radio"]:checked {
  border-color: #c99af0 !important;
  background: radial-gradient(circle, #c99af0 0 45%, #4b2474 50% 100%) !important;
}

/* Páginas legais: leitura limpa e alinhada ao visual roxo da Telos. */
.legal-view { padding-block: 42px 64px; }
.legal-card {
  width: min(900px, 100%);
  border-color: rgba(190, 145, 241, .32);
  color: #f7f1fb;
  background: linear-gradient(145deg, #24113e, #150923) !important;
  box-shadow: 0 24px 56px rgba(0, 0, 0, .28);
}
.legal-card h2 { color: #fff9ff; }
.legal-card h3 { color: #d9bcf5; }
.legal-card p { color: #d8cce2; }
.legal-card strong { color: #fff9ff; }
.legal-card a { color: #d7a8ff; font-weight: 800; }
.legal-updated { color: #bca9ca !important; border-color: rgba(190, 145, 241, .24); }

/* Confirmações: texto verde sem a faixa de fundo. */
.message.success {
  color: #75d9af !important;
  background: transparent !important;
}
