/* Fundo contínuo da marca: a mesma superfície do início ao rodapé. */
:root {
  --atmosphere-paper: #fcf7f9;
  --atmosphere-ink: #36232e;
  --atmosphere-wine: #801c3e;
}

html { background-color: var(--atmosphere-paper); }
body {
  min-height: 100vh;
  background-color: var(--atmosphere-paper);
  background-image:
    radial-gradient(circle, rgb(128 28 62 / .13) 1.15px, transparent 1.6px),
    radial-gradient(ellipse 740px 550px at 0% 2%, rgb(179 62 106 / .16), transparent 74%),
    radial-gradient(ellipse 680px 600px at 100% 24%, rgb(145 51 105 / .12), transparent 75%),
    radial-gradient(ellipse 780px 620px at 0% 49%, rgb(179 62 106 / .13), transparent 74%),
    radial-gradient(ellipse 700px 640px at 100% 73%, rgb(145 51 105 / .12), transparent 75%),
    radial-gradient(ellipse 850px 570px at 20% 100%, rgb(179 62 106 / .14), transparent 76%);
  background-size: 34px 34px, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
}

/* As seções deixam a superfície comum visível, sem faixas brancas. */
body .mast,
body .is-sector,
body .opening,
body .day-bridge,
body .segments-section.wrap,
body .plans-section,
body .ngc,
body .ngp,
body .showcase-section,
body .context-rail,
body .questions,
body .faq {
  background: transparent;
}
body .nav,
body .header {
  background: rgb(252 247 249 / .84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* A demonstração usa texto escuro e os dois cartões sobre o papel. */
body .demo-section { background: transparent; color: #29252a; }
body .demo-section .section-heading { margin-bottom: clamp(20px, 3vw, 36px); }
body .demo-section .section-heading em { color: var(--atmosphere-wine); }
body .demo-section .section-heading > p, body .demo-toolbar label { color: #574b53; }

/* Vidro espelhado: reflexo suave, sem inverter texto ou números. */
body .cash-surface, body .trial-invite {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding-inline: 0;
}
body .cash-surface { padding-block: 0; }
body .cash-sheet,
body .trial-calendar {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .94);
  border-radius: 20px;
  background: linear-gradient(135deg, rgb(255 255 255 / .88), rgb(255 249 253 / .66));
  backdrop-filter: blur(18px) saturate(112%);
  -webkit-backdrop-filter: blur(18px) saturate(112%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgb(255 255 255 / .7),
    0 18px 42px rgb(90 33 59 / .1), 0 3px 8px rgb(90 33 59 / .04);
}
body .cash-sheet::before,
body .trial-calendar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(125deg, transparent 22%, rgb(255 255 255 / .68) 43%, transparent 63%);
}
body .cash-balance { border-bottom-color: rgb(128 28 62 / .12); }
body .cash-balance strong { color: var(--atmosphere-wine); }
body .cash-sheet dl > div:first-child dd { color: #286849; }
body .cash-sheet dl > div:last-child dd { color: var(--atmosphere-wine); }


body .footer {
  color: var(--atmosphere-ink);
  background: transparent;
  border-top: 1px solid rgb(128 28 62 / .14);
}
body .footer-top p,
body .footer-base { color: #655460; }
body .footer .brand-suffix,
body .foot-links a:hover { color: var(--atmosphere-wine); }
body .footer-base { border-top-color: rgb(128 28 62 / .14); }

@media (max-width: 760px) {
  body { background-size: 28px 28px, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%; }
}

@media print {
  body { background: #fff; }
  body .cash-sheet, body .trial-calendar, body .trial-invite { background: #fff; box-shadow: none; }
}

/* Accent color follows the segment; scheduling colors communicate state. */
.segments-grid > a {
  border-color: color-mix(in srgb, var(--sector-color) 25%, white);
  background: linear-gradient(135deg, white 32%, color-mix(in srgb, var(--sector-color) 9%, white));
}
.segments-grid .segment-icon {background:var(--sector-color);color:white}
.segments-grid .segment-arrow {
  background:color-mix(in srgb,var(--sector-color) 12%,white);color:var(--sector-color)
}
.segments-grid > a:is(:hover,:focus-visible,[aria-current=page]) {
  background:linear-gradient(135deg,white,color-mix(in srgb,var(--sector-color) 15%,white));
  border-color:var(--sector-color);
}
.segments-grid > a:is(:hover,:focus-visible) .segment-arrow {background:var(--sector-color);color:white}
.professional-panel .appointment.muted {background:#eaf0fc;border-left-color:#4b70b2;color:#243956}
.professional-panel .appointment.booked {background:#e0f3e9;border-left-color:#277153;color:#214e3b}
.professional-panel .empty-slot {background:#fff8ed;border-color:#b88742;color:#785219}
.demo-workspace .ops-header a,.demo-workspace #wizard-next {background:#235c88;color:white}
.demo-workspace #confirm-booking:not(:disabled) {background:#206a51;color:white}
.demo-workspace :is(.ops-header a,#wizard-next,#confirm-booking):enabled:hover,
.demo-workspace .ops-header a:hover {filter:brightness(.9)}
.demo-toolbar .reset {background:#f2e7ef;color:#69294c;border-radius:10px;padding-inline:12px}
.plans .plan:not(.featured):not(.custom) {background:linear-gradient(158deg,#fff 44%,#eef3fc);border-color:#d4dfef}
.plans .plan.custom {background:linear-gradient(158deg,#fff 44%,#f4effa);border-color:#e4ddec}
.plans .plan.custom .text-link {color:#654184}

