:root {
  --ink: #1c1917;
  --muted: #57534e;
  --line: #e7e5e4;
  --bg: #fafaf9;
  --card: #fff;
  --green: #e8f6ee;
  --amber: #fff6e8;
  --danger: #fde8e8;
  color: var(--ink);
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
}

* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 28px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 700; font-size: 20px; letter-spacing: -0.03em; }
.nav { display: flex; gap: 18px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a.on { color: var(--ink); border-bottom: 2px solid var(--ink); padding-bottom: 4px; }

.wrap { max-width: 980px; margin: 0 auto; padding: 28px; }
h1 { font-size: 28px; margin: 0 0 8px; letter-spacing: -0.03em; }
.sub { color: var(--muted); margin: 0 0 20px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.choice, .btn, .ghost {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: left;
}
.choice strong { display: block; }
.choice span, .muted { color: var(--muted); font-size: 13px; }
.btn.black, button.black {
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
}
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
}
.card.ok { background: var(--green); }
.card.wait { background: var(--amber); }
.card.late { background: var(--danger); }
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
input {
  display: block;
  width: 100%;
  margin-top: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.err { color: #9f1239; }
.tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.code { font-size: 28px; letter-spacing: 0.08em; font-weight: 700; }
.tabs button.on { background: var(--ink); color: #fff; }

.stage { min-height: 70vh; display: grid; place-items: center; padding: 24px; }
.phone {
  width: 390px;
  height: 760px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: none;
}
.phone header {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
#log { flex: 1; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.bubble {
  align-self: flex-end;
  background: #d9fdd3;
  border-radius: 12px;
  padding: 10px 12px;
  max-width: 86%;
  white-space: pre-wrap;
}
#opts { padding: 10px; display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); }
#opts .row { display: grid; grid-template-columns: repeat(3, 1fr); }
#opts button, .composer input { width: 100%; }
.composer { display: flex; gap: 6px; }
.switch { display: flex; gap: 8px; margin-bottom: 12px; }
@media (max-width: 800px) {
  .two { grid-template-columns: 1fr; }
  .book .summary .row { grid-template-columns: 1fr; }
  .wrap { padding: 16px; }
}

.book {
  --bg: #08090b;
  --bg-2: #101216;
  --card: #14171b;
  --line: #30343a;
  --gold: #d9a441;
  --gold-2: #f2c66d;
  --ink: #f5f5f5;
  --muted: #a9adb5;
  --ok: #4ade80;
  --danger: #f87171;
  --wa: #25d366;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  min-height: 100vh;
}
.book .top {
  position: sticky;
  top: 0;
  z-index: 3;
  background: rgba(8, 9, 11, 0.92);
  border-bottom: 1px solid var(--line);
  padding: 12px 16px;
  flex-wrap: wrap;
}
.book .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.book .mark { width: 28px; height: 28px; color: var(--gold); flex: none; }
.book .brand strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}
.book .brand small {
  display: block;
  margin-top: 3px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.book .nav { gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.book .nav a {
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 160ms ease;
}
.book [hidden] { display: none !important; }
.book .nav a.on { color: var(--ink); border-color: var(--gold); background: rgba(217, 164, 65, 0.16); }
.book .nav a:active { transform: scale(0.96); }
.book .nav a.wa {
  background: var(--wa);
  color: #06210f;
  border-color: transparent;
  font-weight: 600;
  flex: none;
  white-space: nowrap;
}
.book .nav a.wa:active { transform: scale(0.96); }
.book .wa svg { width: 16px; height: 16px; flex: none; }
.book .layout {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 20px 16px 48px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.book .intro { order: 1; }
.book .flow { order: 2; }
.book .photo { order: 3; }
.book .planos { order: 4; }
.book .mural { order: 5; }
.book .kicker {
  margin: 0 0 8px;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
}
.book .intro h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: clamp(28px, 8vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}
.book .intro h1 em { color: var(--gold); font-style: italic; font-weight: 600; }
.book .lead, .book .lunch { color: var(--muted); margin: 0; }
.book .lunch { margin-top: 8px; }
.book .photo {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  background: var(--bg-2);
}
.book .shots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 12px;
  margin: 0 0 12px;
}
.book .shots figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0c0e11;
}
.book .shots img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center center;
}
.book .shots button { width: 100%; border-radius: 0; }
.book .shots figcaption {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px;
}
.book .shots figcaption a {
  color: var(--gold);
  font-size: 13px;
  text-decoration: none;
}
.book .shots figcaption button { width: auto; border-radius: 10px; }
.book .photo { height: 240px; }
.book .photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.book .gal-prev,
.book .gal-next {
  position: absolute;
  bottom: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(8, 9, 11, 0.72);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}
.book .gal-prev { left: 14px; }
.book .gal-next { right: 14px; }
.book .gal-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 66px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.book .gal-dots button {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  position: relative;
}
.book .gal-dots button::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.book .gal-dots button.on::after { background: var(--gold); }
.book .mural { min-width: 0; }
.book .mural h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  margin: 0 0 12px;
}
.book .board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.book .board article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  cursor: pointer;
  padding: 16px 18px;
}
.book .board article p {
  display: none;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.book .board article.open p { display: block; }
.book .board .tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
}
.book .board strong {
  display: block;
  min-width: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}
.book .board article.promo {
  background: #1c170f;
  border-color: #8a6a2e;
}
.book .board article.promo .tag {
  background: var(--gold);
  color: #14120c;
}
.book .board article.aviso {
  background: #141a22;
  border-color: #4d6278;
}
.book .board article.aviso .tag {
  background: #d5e4f2;
  color: #141a22;
}
.book .photo::after {
  content: "";
  position: absolute;
  inset: 10px auto auto 10px;
  width: 42px;
  height: 42px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
  pointer-events: none;
}
.book .flow { min-width: 0; }
.book .flow h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  margin: 16px 0 6px;
}
.book .sub { color: var(--muted); }
.book .steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.book .steps li {
  color: var(--muted);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.book .steps span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 12px;
}
.book .steps .now { color: var(--gold); }
.book .steps .now span { border-color: var(--gold); color: var(--gold); }
.book .steps .done span { background: var(--gold); color: #14120c; border-color: var(--gold); }
.book .weeks { display: flex; flex-direction: column; gap: 6px; }
.book .week-block h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  margin: 10px 0 0;
}
.book .week-when {
  margin: 2px 0 10px;
  color: var(--gold);
  font-size: 14px;
}
.book .pager { display: flex; gap: 8px; margin-top: 8px; }
.book .pager .ghost { flex: 1; }
.book .day.today { border-color: var(--gold); }
.book .day.today .wk { color: var(--gold); }
.book .days, .book .slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.book .day, .book .slot, .book .back, .book .ghost, .book .gold {
  min-height: 48px;
  border-radius: 14px;
}
.book .day, .book .slot {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink);
  text-align: left;
  padding: 14px 12px;
  position: relative;
  transition: border-color 160ms ease;
}
.book .day {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.book .day-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 18px;
}
.book .day:hover, .book .slot:hover, .book .day:focus-visible, .book .slot:focus-visible {
  border-color: var(--gold);
  outline: none;
}
.book .day .wk, .book .slot span, .book .day .full { color: var(--muted); font-size: 13px; }
.book .day strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 32px;
  line-height: 1;
  margin: 6px 0;
}
.book .day.on {
  border-color: var(--gold);
  background: #0c0e11;
}
.book .day.on strong { color: var(--gold); }
.book .day.on::after {
  content: "✓";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: #14120c;
  display: grid;
  place-items: center;
  font-size: 12px;
}
.book .day .cal {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: block;
  color: var(--gold);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.book .day .wk { line-height: 1; }
.book .service { min-height: 88px; }
.book .service strong { font-size: 22px; }
.book .services h3 { margin: 18px 0 8px; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.book .service .note { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.35; }
.book .slots { margin-top: 12px; }
.book .slot { text-align: center; }
.book .slot strong { display: block; font-size: 18px; }
.book .back, .book .ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 10px 14px;
  margin-bottom: 12px;
}
.book .gold {
  background: var(--gold);
  color: #14120c;
  border: 0;
  font-weight: 600;
  padding: 12px 16px;
}
.book .gold:disabled { opacity: 0.6; cursor: wait; }
.book .card {
  background: var(--card);
  border-color: var(--line);
}
.book .summary { width: 100%; }
.book .summary p {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.book .summary p strong { font-weight: 600; }
.book .summary span { color: var(--muted); }
.book .summary .two { margin-top: 16px; }
.book .summary .two label { margin-bottom: 0; }
.book .summary .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
  align-items: stretch;
}
.book .summary .gold,
.book .summary .ghost {
  width: 100%;
  height: 100%;
  margin: 0;
  min-height: 48px;
}
@media (max-width: 800px) {
  .book .summary .row { grid-template-columns: 1fr; }
}
.book label { color: var(--muted); }
.book input,
.book textarea,
.book select {
  background: #0c0e11;
  border-color: var(--line);
  color: var(--ink);
}
.book input:not([type="checkbox"]),
.book textarea,
.book select {
  font-size: 16px;
  min-height: 44px;
}
.book textarea {
  display: block;
  width: 100%;
  margin-top: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  min-height: 88px;
  resize: vertical;
}
.book .err { color: var(--danger); min-height: 1.2em; }
.book .empty { color: var(--muted); }
.book .done-card { border-color: var(--gold); }
.book :focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 359px) {
  .book .photo { display: none; }
  .book .brand strong { font-size: 18px; }
}
@media (min-width: 768px) {
  .book .days { grid-template-columns: repeat(3, 1fr); }
  .book .photo { height: 280px; }
  .book .intro h1 { font-size: 46px; }
  .book .board { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .book .top { padding: 16px 28px; }
  .book .layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    column-gap: 36px;
    align-items: start;
    padding: 36px 28px 72px;
  }
  .book .intro, .book .flow, .book .photo, .book .mural, .book .planos { order: 0; }
  .book .intro { grid-column: 1; grid-row: 1; }
  .book .flow { grid-column: 1; grid-row: 2; }
  .book #planos { grid-column: 1; grid-row: 3; }
  .book #mural { grid-column: 1; grid-row: 4; }
  .book .photo {
    grid-column: 2;
    grid-row: 1 / span 4;
    position: sticky;
    top: 92px;
    align-self: start;
    min-width: 0;
    max-height: calc(100vh - 120px);
  }
  .book .photo { height: min(68vh, 620px); }
  .book .board { grid-template-columns: 1fr; }
  .book .days { grid-template-columns: repeat(4, 1fr); }
  .book .slots { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .book .day, .book .slot { transition: none; }
}

.book .wrap { width: min(980px, 100%); margin: 0 auto; padding: 28px 16px 72px; }
.book .wrap h1, .book .panel h1, .book #panel h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}
.book h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  margin: 8px 0 12px;
}
.book .login { max-width: 420px; margin: 28px auto; }
.book .tabs button {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  min-height: 44px;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 160ms ease;
}
.book .tabs button.on { background: var(--gold); color: #14120c; border-color: var(--gold); }
.book .tabs button:active { transform: scale(0.96); }
.book button.black {
  background: var(--gold);
  color: #14120c;
  border: 0;
  border-radius: 12px;
  min-height: 44px;
  padding: 12px 16px;
  font-weight: 600;
}
.book .card.ok { background: #122117; }
.book .card.wait { background: #231c10; }
.book .card.late { background: #2a1515; }
.book select {
  display: block;
  width: 100%;
  margin-top: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: #0c0e11;
  color: var(--ink);
  font-size: 16px;
  min-height: 44px;
}
.book .row label { display: flex; align-items: center; gap: 8px; margin: 0; }
.book .row input { width: auto; }
.book ol { color: var(--muted); padding-left: 18px; }
.book #panel button:not(.black),
.book .login button:not(.black) {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 44px;
  padding: 10px 14px;
}
.book .subnav { margin-top: -8px; }
.book .subnav button.on {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.book .finance {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0 0 18px;
}
.book .finance article strong {
  display: block;
  margin-top: 6px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  color: var(--gold);
  letter-spacing: -0.03em;
}
.book .finance span { color: var(--muted); font-size: 13px; }
.book .card:not(.summary) > .row,
.book .card.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}
.book .card:not(.summary) > .row button,
.book .card.row button { width: 100%; margin: 0; }
.book .week { display: grid; gap: 8px; margin: 4px 0 14px; }
.book .dayline {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 96px 96px;
  gap: 8px;
  align-items: center;
  margin: 0;
  color: var(--ink);
}
.book .dayline span { display: flex; align-items: center; gap: 8px; }
.book .dayline input[type="checkbox"] { width: 18px; height: 18px; margin: 0; }
.book .dayline input:not([type="checkbox"]) { width: 100%; margin: 0; }
@media (max-width: 520px) {
  .book .dayline { grid-template-columns: 1fr 1fr; }
  .book .dayline span { grid-column: 1 / -1; }
}
@media (min-width: 768px) {
  .book .finance { grid-template-columns: repeat(3, 1fr); }
}
