:root {
  color-scheme: dark;
  --canvas: #080f20;
  --surface: #101b30;
  --raised: #14233b;
  --field: #0b1527;
  --ink: #f0f5fc;
  --muted: #a7b7d1;
  --line: #2a3b57;
  --control-line: #546b8c;
  --blue: #7db4ff;
  --mint: #64dfb3;
  --gold: #ffc067;
  --spectrum: linear-gradient(100deg, #135ddf, #00a39b 30%, #23b24a 51%, #e8c113 77%, #ff700b);
  --headline-spectrum: linear-gradient(100deg, #7bbaff, #5de0be 36%, #b9e75b 64%, #ffc354 82%, #ff8e4c);
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 50px);
  --frame: 1280px;
  font: 16px/1.55 "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--canvas); color: var(--ink); min-height: 100vh; }
main { min-height: 55vh; }
p { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.04em; }
a { color: inherit; }
small { color: var(--muted); }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
section[id], h2[id] { scroll-margin-top: 24px; }
output { display: block; margin-top: 12px; color: var(--gold); overflow-wrap: anywhere; }
output:empty { display: none; }

.frame { width: min(var(--frame), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.icon-library { position: absolute; pointer-events: none; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-tile { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 1px solid color-mix(in srgb, var(--tone) 28%, transparent); border-radius: 12px; color: var(--tone); background: color-mix(in srgb, var(--tone) 10%, var(--surface)); }
.tone-blue { --tone: var(--blue); }
.tone-mint { --tone: var(--mint); }
.tone-gold { --tone: var(--gold); }
.signal { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px #64dfb321; }
.eyebrow { color: var(--blue); font-size: .69rem; letter-spacing: .15em; font-weight: 750; }
.skip-link { position: fixed; z-index: 10; top: 10px; left: 10px; transform: translateY(-150%); padding: 10px 14px; border-radius: 9px; background: var(--gold); color: var(--canvas); }
.skip-link:focus { transform: none; }

button, .action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid var(--control-line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--raised);
  font-weight: 700;
  font-size: .88rem;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, filter .18s ease;
}
button:hover:not(:disabled), .action:hover { border-color: var(--blue); background-color: #20385b; }
button:disabled { border-color: var(--line); background: #18253b; color: #a6b5cc; cursor: default; }
.primary {
  background: linear-gradient(105deg, #63c4ff, #62e4ac 54%, #f8ce65);
  border-color: transparent;
  color: #071627;
}
.primary:hover:not(:disabled) { filter: brightness(1.1); }
.muted, .quiet { background: #0d1729; }

/* Global navigation */
.site-header { position: relative; z-index: 1; border-bottom: 1px solid #20304b; background: #0a1223; }
.topbar { min-height: 73px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; width: 127px; flex: none; color: #9caec3; }
.brand svg { display: block; width: 100%; height: auto; }
.topbar nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 34px); }
.topbar nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #c8d5e9; font-size: .9rem; font-weight: 650; text-decoration: none; }
.topbar nav a:hover, .footer-inner > a:last-child:hover { color: var(--mint); }
.workspace-nav .icon { width: 16px; height: 16px; color: var(--blue); }
.workspace-nav a[aria-current="page"] { color: var(--mint); }
.workspace-label { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: .79rem; font-weight: 650; }
.workspace-label .signal { width: 6px; height: 6px; }
.workspace-ready .workspace-label { display: none; }
.profile-menu { position: relative; min-width: 0; z-index: 3; }
.profile-menu summary { list-style: none; display: flex; gap: 9px; align-items: center; min-height: 44px; padding: 4px 8px 4px 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
.profile-menu summary::-webkit-details-marker { display: none; }
.profile-menu summary > span:nth-child(2) { display: grid; min-width: 0; }
.profile-menu summary small { font-size: .59rem; font-weight: 750; letter-spacing: .12em; line-height: 1.3; }
.profile-menu summary strong { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .85rem; }
.profile-menu summary > .icon { width: 13px; height: 13px; color: var(--blue); }
.profile-avatar { display: grid; place-items: center; width: 35px; height: 35px; flex: none; overflow: hidden; border-radius: 10px; background: linear-gradient(135deg,#74b7ff,#67deaf); color: #071627; font-size: .82rem; font-weight: 800; }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.public-avatar { width: 66px; height: 66px; margin-top: 14px; border: 1px solid #86a7d0; border-radius: 16px; }
.profile-dropdown { position: absolute; top: calc(100% + 7px); right: 0; width: min(234px, calc(100vw - 32px)); padding: 6px; border: 1px solid var(--control-line); border-radius: 13px; background: #14233b; box-shadow: 0 16px 34px #020711a8; }
.profile-dropdown a, .profile-dropdown button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 40px; padding: 9px 10px; border: 0; border-radius: 7px; background: transparent; color: var(--ink); text-decoration: none; text-align: left; font-size: .86rem; }
.profile-dropdown a:hover, .profile-dropdown button:hover { background: #20385b; }
.profile-dropdown .icon { width: 15px; height: 15px; color: var(--blue); }
.profile-dropdown #logout { border-top: 1px solid var(--line); border-radius: 0 0 7px 7px; color: var(--gold); }
.nav-action { background: #142541; border-color: #476896; padding-inline: 16px; }
.nav-action .icon { width: 16px; height: 16px; color: var(--blue); }
body:not(.has-landing) .topbar .site-nav, body:not(.has-landing) .nav-action,
.has-landing .topbar .workspace-nav, .has-landing .workspace-label,
.public-catalog .topbar .workspace-nav, .public-catalog .workspace-label,
[data-server] body:not(.workspace-ready) .topbar .workspace-nav,
[data-server] body:not(.workspace-ready) .workspace-label { display: none; }

/* Vitrine e apresentação */
.landing { background: radial-gradient(ellipse 780px 540px at 77% 16%, #152f57 0%, transparent 77%); }
.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  gap: clamp(28px, 5vw, 77px);
  align-items: center;
  padding-block: clamp(57px, 8vw, 111px) clamp(68px, 8.7vw, 125px);
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 6px 12px;
  border: 1px solid #314d74;
  border-radius: 999px;
  background: #12223d;
  color: #cfddf1;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.landing h1 { margin-block: 24px 22px; font-size: clamp(3.25rem, 5.4vw, 5.25rem); font-weight: 800; line-height: .99; letter-spacing: -.075em; }
.landing h1 em {
  color: var(--mint);
  font-style: normal;
  background: var(--headline-spectrum);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-description { max-width: 37ch; color: #bdcce2; font-size: clamp(1rem, 1.5vw, 1.23rem); }
.hero-note { margin-top: 13px; color: var(--muted); font-size: .81rem; }
.landing-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.landing-actions .action { min-height: 51px; padding-inline: 17px; }
.landing-actions .quiet { border-color: #435674; }
.landing-actions .quiet .icon { width: 17px; height: 17px; color: var(--blue); }
.showcase { position: relative; min-width: 0; margin: 0; isolation: isolate; }
.showcase::before { content: ""; position: absolute; z-index: -1; inset: 17% -9px -9px 11%; border: 1px solid #315580; border-radius: 24px; }
.showcase-photo { position: relative; overflow: hidden; border: 1px solid #526d94; border-radius: 24px; box-shadow: 0 26px 56px #02071180; }
.showcase-photo img { width: 100%; height: auto; aspect-ratio: 1.37; object-fit: cover; object-position: 50% 51%; }
.showcase-photo::after { content: ""; position: absolute; inset: 46% 0 0; background: linear-gradient(transparent, #050c1aeb); pointer-events: none; }
.showcase-label, .showcase-caption, .showcase-date { position: absolute; z-index: 1; }
.showcase-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  top: 18px;
  left: 18px;
  padding: 6px 10px;
  border: 1px solid #a1c5ff55;
  border-radius: 999px;
  background: #080f20e8;
  color: #d8e7fb;
  font-size: .72rem;
  font-weight: 700;
}
.showcase-label .icon { width: 13px; height: 13px; color: var(--blue); }
.showcase-caption { display: grid; left: 23px; bottom: 28px; gap: 3px; }
.showcase-caption span { color: #d3dff0; font-size: .65rem; font-weight: 750; letter-spacing: .13em; }
.showcase-caption strong { font-size: clamp(1.35rem, 2.5vw, 2rem); line-height: 1.05; letter-spacing: -.04em; }
.showcase-date {
  display: flex;
  align-items: center;
  gap: 11px;
  right: -12px;
  bottom: -29px;
  padding: 11px 14px 11px 11px;
  border: 1px solid #426183;
  border-radius: 15px;
  background: #112039;
  box-shadow: 0 16px 34px #0509137a;
}
.showcase-date .icon-tile { width: 39px; height: 39px; }
.showcase-date div { display: grid; min-width: 0; }
.showcase-date strong { font-size: .83rem; line-height: 1.3; }
.showcase-date small { font-size: .72rem; }
.date-check { width: 17px; height: 17px; margin-left: 4px; color: var(--mint); }
.feature-band { background: #101c31; border-block: 1px solid #263959; }
.feature-grid, .workflow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid article { display: flex; align-items: start; gap: 14px; padding: 26px clamp(12px, 2.4vw, 35px); }
.feature-grid article:first-child { padding-left: 0; }
.feature-grid article + article { border-left: 1px solid var(--line); }
.feature-grid h2 { font-size: 1rem; margin: 1px 0 5px; letter-spacing: -.012em; }
.feature-grid p, .workflow-card p { color: var(--muted); font-size: .9rem; }
.workflow { padding-block: clamp(62px, 8vw, 104px); }
.workflow-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 25px; }
.workflow h2 { font-size: clamp(2.15rem, 4.3vw, 4rem); letter-spacing: -.068em; }
.workflow-heading .eyebrow { margin-bottom: 9px; }
.workflow-heading > p { max-width: 28ch; color: var(--muted); }
.workflow-grid { gap: 15px; }
.workflow-card {
  min-width: 0;
  padding: clamp(17px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-top-color: color-mix(in srgb, var(--tone) 65%, #223552);
  border-radius: var(--radius);
  background: radial-gradient(ellipse at top right, color-mix(in srgb, var(--tone) 12%, var(--surface)), var(--surface) 70%);
}
.step-top { display: flex; align-items: center; justify-content: space-between; color: var(--tone); margin-bottom: 24px; }
.step-top span { font-size: .76rem; font-weight: 800; letter-spacing: .13em; font-variant-numeric: tabular-nums; }
.step-top .icon { width: 26px; height: 26px; }
.workflow-card h3 { margin-bottom: 6px; font-size: 1.21rem; }
.membership {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 67px);
  align-items: center;
  margin-bottom: clamp(46px, 8vw, 95px);
  padding: clamp(22px, 4.7vw, 57px);
  border: 1px solid #395a7d;
  border-radius: 23px;
  background: radial-gradient(ellipse at 96% 10%, #1b4a53, transparent 65%), #14243e;
}
.membership-copy h2 { margin-block: 10px 14px; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.061em; }
.membership-copy p:not(.eyebrow), .membership-steps p { color: var(--muted); }
.membership-copy .action { margin-top: 21px; }
.membership-steps > div { display: flex; align-items: start; gap: 12px; padding: 12px 0; border-bottom: 1px solid #456080; }
.membership-steps h3 { margin-block: 2px 4px; font-size: 1.01rem; letter-spacing: -.015em; }
.membership-steps p { font-size: .88rem; }
.membership-steps .membership-note { margin-top: 13px; color: #d2e5fb; font-size: .77rem; }

/* Acesso */
.access {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  max-width: 1040px;
  margin-bottom: clamp(46px, 8vw, 102px);
  border: 1px solid #344b6b;
  border-radius: 23px;
  background: var(--surface);
  box-shadow: 0 20px 55px #02071366;
}
.signed-out:not(.has-landing) .access { margin-top: clamp(36px, 8vw, 90px); }
.access-cover {
  display: flex;
  align-items: end;
  min-height: 320px;
  padding: clamp(24px, 4.2vw, 56px);
  background: linear-gradient(180deg, #07102411 18%, #071024dc 79%, #071024), url("tumia-vitrine.webp") 48% 48% / cover #0e203e;
}
.access-cover .eyebrow { color: #b5d5ff; }
.cover-title { margin-top: 11px; font-size: clamp(2rem, 4.4vw, 3.7rem); font-weight: 800; line-height: 1.02; letter-spacing: -.062em; }
.access-content { padding: clamp(24px, 4.4vw, 55px); }
.access-content h2 { font-size: clamp(1.75rem, 3vw, 2.55rem); margin-bottom: 8px; }
.access-content > p { color: var(--muted); }
#account-form { display: grid; gap: 11px; margin-top: 19px; }
#slug-help { margin-top: -5px; }
#account-submit, #account-switch, .google-entry { width: 100%; }
#account-switch { margin-top: 10px; }
.google-entry { margin-top: 22px; }
.google-entry svg { width: 20px; height: 20px; }
.access-divider { display: flex; align-items: center; gap: 12px; margin-top: 16px; color: var(--muted); font-size: .78rem; }
.access-divider::before, .access-divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.google-entry[hidden] + .access-divider { display: none; }
.subscription-gate { max-width: 790px; margin-block: clamp(30px, 7vw, 90px); padding: clamp(22px, 4.6vw, 55px); border: 1px solid #435d85; border-radius: 23px; background: radial-gradient(ellipse at 100% 0%, #203b60, #101b30 70%); }
.subscription-gate .eyebrow { margin-top: 16px; }
.subscription-gate h1 { margin-block: 6px 13px; font-size: clamp(2rem, 4.5vw, 3.4rem); }
.subscription-gate p:not(.eyebrow) { max-width: 52ch; color: var(--muted); }
.site-footer { background: #0c1526; border-top: 1px solid var(--line); }
.footer-inner { min-height: 81px; display: flex; align-items: center; gap: 18px; color: var(--muted); font-size: .84rem; }
.footer-inner .brand { width: 95px; }
.footer-inner > a:last-child { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; text-decoration: none; min-height: 44px; }
.footer-inner > a:last-child .icon { width: 14px; height: 14px; }

/* Painel e catálogo público */
.workspace { padding-block: 27px 69px; }
.workspace-breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; color: var(--muted); font-size: .84rem; }
.workspace-breadcrumb a { color: var(--blue); text-decoration: none; font-weight: 700; }
.workspace-breadcrumb span::before { content: "/"; margin-right: 9px; color: #7185a7; }
.workspace .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(25px, 4.1vw, 51px);
  border: 1px solid #3c567e;
  border-radius: 23px;
  background: #102344;
}
.workspace .hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 30%;
  background: linear-gradient(90deg, #102344, #10234411 70%), url("tumia-vitrine.webp") 50% 49% / cover;
}
.workspace .hero::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--spectrum); }
.workspace-hero-copy { max-width: 68%; }
.workspace-kicker { display: flex; align-items: center; gap: 11px; color: #b2cefa; text-transform: uppercase; }
.workspace .hero h1 { margin-block: 13px 10px; font-size: clamp(2.25rem, 5.1vw, 4.6rem); font-weight: 780; overflow-wrap: anywhere; letter-spacing: -.066em; }
.workspace-description { max-width: 46ch; color: #d3def0; }
.hero-actions, #account-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hero-actions { margin-top: 22px; }
.hero-actions .icon { width: 16px; height: 16px; }
.hero-image-label { position: absolute; bottom: 16px; right: 17px; padding: 3px 9px; border-radius: 999px; color: #cedbf0; background: #080f20e8; font-size: .67rem; }
.workspace-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 16px 0 23px; padding: 0; list-style: none; }
.workspace-stats li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}
.workspace-stats li div { display: grid; gap: 1px; }
.workspace-stats strong { font-size: 1.52rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.workspace-stats li div span { color: var(--muted); font-size: .81rem; line-height: 1.3; }
.admin-panel { margin-bottom: 17px; }
.admin-panel > p { margin-block: 11px 14px; color: var(--muted); }
.admin-row { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 12px 0; border-top: 1px solid var(--line); }
.admin-account { display: grid; justify-items: start; min-width: 0; gap: 4px; overflow-wrap: anywhere; }
.admin-row form, .admin-actions { display: flex; align-items: end; flex-wrap: wrap; gap: 9px; }
.admin-row input { width: 155px; max-width: 100%; }
#admin-more { margin-top: 10px; }
.rental-flow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.rental-summary { display: grid; gap: 16px; }
.box, .module-card {
  min-width: 0;
  padding: clamp(16px, 2.2vw, 25px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.box h2, .section-title h2, .modules h2 { font-size: clamp(1.25rem, 2.3vw, 1.7rem); }
.section-heading, .period-heading { display: flex; gap: 12px; align-items: center; min-width: 0; }
.section-heading .eyebrow { margin-bottom: 4px; }
.period-box { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 15px; background: linear-gradient(125deg, #152947, #101b30 75%); }
.period-heading h2 { margin-bottom: 3px; }
.period-heading small { font-size: .79rem; }
.date-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.section-title { display: flex; justify-content: space-between; align-items: end; gap: 10px; margin: 24px 0 12px; }
.section-title .eyebrow, .modules .eyebrow { margin-bottom: 4px; }
.badge {
  display: inline-flex;
  padding: 4px 10px;
  border: 1px solid #3b5379;
  border-radius: 999px;
  background: #132643;
  color: #c5d9f9;
  font-size: .73rem;
  font-weight: 750;
  white-space: nowrap;
}
.grid, .module-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.catalog-heading { margin-top: 27px; margin-bottom: 17px; }
.catalog-heading h2 { font-size: clamp(1.75rem, 3.5vw, 2.65rem); }
.catalog-heading-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: end; gap: 9px; }
.catalog-heading-actions .action { background: #172845; }
.catalog-heading-actions .icon { width: 16px; height: 16px; color: var(--mint); }
#catalog { grid-template-columns: repeat(3,minmax(0,1fr)); column-gap: clamp(12px,2vw,21px); align-items: start; }
#catalog.has-offers { grid-auto-rows: 8px; grid-auto-flow: dense; row-gap: 0; }
.product-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid #2f4565; border-radius: 19px; background: linear-gradient(160deg,#172743,#101b30 69%); box-shadow: 0 14px 27px #02071249; }
.product-card.selected { border-color: var(--mint); }
.product-card:hover { border-color: #6386b1; }
.product-card.selected:hover { border-color: var(--mint); }
.product-media { overflow: hidden; border-radius: 18px 18px 0 0; }
.art {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 7px;
  aspect-ratio: 4 / 3;
  background: radial-gradient(ellipse at 50% 42%, #274968, #152b48 55%, #14213a);
  overflow: hidden;
}
.kit .art { background: radial-gradient(ellipse at 50% 42%, #245957, #15364d 55%, #15253e); }
.placeholder-icon { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid #5a789c; border-radius: 18px; color: #9ecaff; background: #213c5b; }
.placeholder-icon .icon { width: 28px; height: 28px; }
.art.has-photo { display: block; aspect-ratio: auto; }
.photo-open { display: block; width: 100%; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.photo-open:not(.photo-loaded) { aspect-ratio: 4 / 3; }
.photo-open:hover { background-color: #5072a11a; }
.photo-open:focus-visible { outline-offset: -5px; }
.photo-open img { width: 100%; height: auto; }
.product-meta { display: flex; align-items: center; justify-content: space-between; min-height: 24px; gap: 5px; margin-bottom: 7px; }
.product-kind { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: .69rem; font-weight: 790; letter-spacing: .075em; text-transform: uppercase; }
.product-kind::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.kit .product-kind { color: var(--mint); }
.photo-control { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 7px 9px; border: 1px solid #4f688b; border-radius: 9px; background: #13223a; color: #c4dcff; cursor: pointer; font-size: .74rem; }
.photo-control .icon { width: 16px; height: 16px; color: #9cc7ff; }
.photo-control:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.photo-control input { position: absolute; inset: 0; min-height: 0; opacity: 0; cursor: pointer; }
.offer-page .catalog-flow { display: flex; flex-direction: column; gap: 15px; }
.offer-detail { order: -1; }
.offer-back { display: inline-flex; align-items: center; min-height: 40px; margin-bottom: 9px; color: var(--blue); font-weight: 700; text-decoration: none; }
.offer-layout { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); align-items: start; overflow: hidden; border: 1px solid #3b5479; border-radius: 19px; background: var(--surface); }
.offer-stage { min-width: 0; background: #182743; color: var(--muted); }
.offer-stage:has(img) img { width: 100%; height: auto; }
.offer-stage:not(:has(img)) { display: grid; min-height: 190px; place-items: center; }
.offer-info { display: grid; justify-items: start; gap: 10px; padding: clamp(20px,4vw,42px); }
.offer-info h1 { font-size: clamp(1.85rem,4.5vw,3.45rem); overflow-wrap: anywhere; }
.offer-info > p:not(.eyebrow) { color: var(--muted); overflow-wrap: anywhere; }
.offer-price { display: grid; margin-block: 4px; }
.offer-price strong { font-size: clamp(1.43rem,3vw,2.1rem); }
.offer-stock-form { margin-top: 5px; }
#offer-order-label input { max-width: 130px; }
html:not([data-server]) .server-photo { display: none; }
.server-photo small { font-weight: 400; }
input[type="file"]::file-selector-button { margin-right: 8px; padding: 5px 8px; border: 1px solid var(--control-line); border-radius: 6px; background: var(--raised); color: var(--ink); cursor: pointer; }
.product-content { flex: 1; display: flex; flex-direction: column; min-width: 0; padding: clamp(15px, 2vw, 21px); }
.product-card h3 { margin: 0 0 5px; overflow-wrap: anywhere; font-size: clamp(1.24rem, 2vw, 1.6rem); }
.product-card h3 a { text-decoration: none; }
.product-card h3 a:hover { color: var(--mint); }
.product-pieces { color: var(--muted); font-size: .81rem; overflow-wrap: anywhere; margin-bottom: 9px; }
.product-pieces:empty { display: none; }
.product-price-row { margin-top: auto; padding-top: 10px; display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 7px; }
.product-price-row > div { display: grid; align-content: center; line-height: 1.3; }
.product-price-row small { font-size: .72rem; }
.product-price { font-size: 1.23rem; font-weight: 800; }
.product-content button { width: 100%; margin-top: 12px; overflow-wrap: anywhere; }
.select-product { border-color: #4b7f80; color: #bff4de; background: #17393e; }
.availability { padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--raised); color: var(--muted); font-size: .71rem; overflow-wrap: anywhere; }
.availability.available { color: #a1f1cb; background: #15352f; border-color: #3a6a58; }
.availability.unavailable { color: #ffd296; background: #382b25; border-color: #70533d; }
.empty-state { grid-column: 1 / -1; padding: 16px; border: 1px dashed #3c526f; border-radius: 11px; color: var(--muted); font-size: .88rem; }
.catalog-selection-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 14px; padding: 10px 13px; border: 1px solid #4b7f80; border-radius: 12px; background: #122a38; }
.catalog-selection-bar .icon { width: 15px; height: 15px; }

label { display: grid; min-width: 0; gap: 5px; color: #dce7f7; font-size: .86rem; font-weight: 650; }
input, textarea, select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--control-line);
  border-radius: 9px;
  background: var(--field);
  color: var(--ink);
  font-size: 1rem;
}
textarea { resize: vertical; }
input::placeholder { color: #a3b1c8; }
input[type="date"] { padding-inline: 9px; }
#selection { margin-block: 16px 12px; padding: 10px 11px; border: 1px solid #314561; border-radius: 9px; background: var(--field); color: #c0cfe5; font-size: .85rem; overflow-wrap: anywhere; }
#quote { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.quote-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
#contract { border-top: 3px solid var(--mint); }
#contract .eyebrow { color: var(--mint); margin-bottom: 3px; }
#contract dl { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: 11px; font-size: .87rem; }
#contract dt, #contract dd { margin: 0; padding: 8px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
#contract dt { font-weight: 700; }
#contract dd { color: var(--muted); }
.agenda-panel, .stock-panel, #cadastro, .modules { margin-top: 18px; }
.panel-heading-actions { display: flex; align-items: end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.stock-panel > p { margin-block: 11px 12px; color: var(--muted); }
.stock-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin: 0; padding: 0; list-style: none; }
.stock-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #0d182c; }
.stock-list li div { min-width: 0; display: grid; overflow-wrap: anywhere; }
.stock-adjust { justify-self: start; color: var(--blue); font-size: .78rem; margin-top: 4px; }
.agenda-calendar { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 5px; max-width: 760px; margin-top: 16px; }
.agenda-calendar > small { text-align: center; font-size: .73rem; }
.calendar-day { display: grid; min-height: 45px; align-content: center; justify-items: center; border: 1px solid var(--line); border-radius: 8px; background: var(--field); font-size: .83rem; font-variant-numeric: tabular-nums; }
.calendar-day.occupied { border-color: #4a806b; background: #173831; color: #b5f3d7; font-weight: 700; }
.calendar-day small { color: #a4dbc9; font-size: .65rem; }
.agenda-list-title { margin-top: 22px; font-size: 1rem; }
#agenda { margin-top: 13px; }
.entry { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.entry > div > div { color: var(--muted); font-size: .86rem; }
.entry button { flex: none; }
#cadastro > p { margin-block: 12px 17px; color: var(--muted); }
.editor { display: grid; align-content: start; justify-items: start; gap: 11px; padding: clamp(13px, 2vw, 19px); border: 1px solid var(--line); border-radius: 12px; background: var(--field); }
.editor h3 { margin-bottom: 3px; }
.editor > label, .editor fieldset { width: 100%; }
.editor fieldset { min-width: 0; margin: 0; padding: 8px 11px; border: 1px solid var(--control-line); border-radius: 9px; }
.editor legend { color: var(--muted); font-size: .8rem; }
.profile-panel { margin-top: 18px; }
.profile-panel > p, .public-about { margin-block: 11px 16px; color: var(--muted); overflow-wrap: anywhere; }
.profile-fields, .profile-form { display: grid; gap: 13px; }
.profile-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
.profile-form > button { justify-self: start; }
.payment-preference, .public-request-actions { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 15px; }
.payment-preference { margin-top: 15px; }
.payment-preference output { flex-basis: 100%; }
#kit-pieces label { display: flex; align-items: center; min-height: 34px; gap: 9px; overflow-wrap: anywhere; }
.kit-part { display: grid; grid-template-columns: minmax(0,1fr) minmax(60px,80px); align-items: center; gap: 8px; margin: 6px 0; }
input[type="checkbox"] { width: 17px; min-height: 17px; margin: 0; flex: none; accent-color: var(--mint); }
.module-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px; }
.module-grid h3 { margin-bottom: 5px; font-size: 1rem; }
.module-grid p { color: var(--muted); font-size: .85rem; }
.module-card { display: grid; align-content: start; gap: 5px; text-decoration: none; background: radial-gradient(ellipse at top right,color-mix(in srgb,var(--tone) 12%,var(--surface)),var(--surface) 72%); }
.module-card .icon-tile { margin-bottom: 7px; }
.module-card:hover { border-color: var(--tone); }
.finance-totals { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin-block: 16px; }
.finance-totals > div { display: grid; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--field); overflow-wrap: anywhere; }
.finance-totals strong { font-size: clamp(1.02rem,2vw,1.36rem); }
.finance-form { grid-template-columns: .8fr 1fr 1.55fr .9fr; }
.finance-form h3, .finance-form output { grid-column: 1 / -1; }
.studio-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 14px; }
.studio-grid p { color: var(--muted); font-size: .88rem; }
.studio-toggle { display: flex; align-items: center; gap: 9px; }
#studio-combinations { display: grid; width: 100%; gap: 8px; }
.studio-combination { display: grid; gap: 5px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow-wrap: anywhere; }
.studio-combination button { justify-self: start; }
.mockup-stage { --mockup-art: var(--spectrum); display: flex; align-items: end; justify-content: center; gap: 5px; width: 100%; min-height: 225px; padding: 21px; border: 1px solid var(--line); border-radius: 13px; background: #243650; overflow: hidden; }
.mockup-stage.ambient { background: radial-gradient(ellipse at 30% 10%,#527196,#233653 59%,#14243e 65%); }
.mockup-stage span { display: block; width: 95px; height: 190px; background: var(--mockup-art) center / cover; box-shadow: 8px 10px 18px #06111e88; }
.mockup-stage[data-format="romano"] span:first-child { border-radius: 50px 50px 0 0; }
.mockup-stage[data-format="redondo"] span:first-child { width: 160px; height: 160px; border-radius: 50%; }
.mockup-stage:not([data-format="cilindros"]) span:nth-child(n+2) { display: none; }
.mockup-stage[data-format="cilindros"] span { width: min(25%,67px); height: 115px; border-radius: 50% 50% 12% 12% / 14% 14% 7% 7%; }
.mockup-stage[data-format="cilindros"] span:nth-child(2) { height: 88px; }
.mockup-stage[data-format="cilindros"] span:nth-child(3) { height: 64px; }
.public-catalog .workspace-stats { display: none; }
.public-request > p { margin-block: 10px; color: var(--muted); }
#public-selection { padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--field); overflow-wrap: anywhere; }
.public-catalog .workspace .hero { padding-block: clamp(35px, 5vw, 73px); }
.public-catalog .rental-flow { margin-top: 18px; }

@media (max-width: 1020px) {
  .landing-hero { gap: 27px; }
  .landing h1 { font-size: clamp(3rem, 6.2vw, 5rem); }
  .showcase-caption { bottom: 47px; }
}
@media (max-width: 790px) {
  .landing-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 43px 55px; }
  .landing h1 { font-size: clamp(3.1rem, 9.9vw, 5.15rem); }
  .showcase { width: min(100%, 620px); margin: 0 auto; }
  .showcase-photo img { aspect-ratio: 1.55; }
  .showcase-caption { bottom: 28px; }
  .showcase-date { right: 11px; }
  .feature-grid article { flex-direction: column; gap: 8px; }
  .access { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
  .membership { grid-template-columns: minmax(0, 1fr); }
  .workspace-hero-copy { max-width: 83%; }
  #catalog { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .period-box { grid-template-columns: minmax(0,1fr); }
  .finance-form { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 540px) {
  .private-workspace.workspace-ready .site-header { position: sticky; top: 0; }
  .private-workspace.workspace-ready section[id], .private-workspace.workspace-ready h2[id] { scroll-margin-top: 112px; }
  .topbar { min-height: 63px; gap: 5px 10px; flex-wrap: wrap; }
  .topbar .site-nav { display: none; }
  .topbar .workspace-nav { order: 1; flex: 1 0 100%; border-top: 1px solid var(--line); justify-content: space-between; gap: 8px; }
  .topbar nav a { font-size: .79rem; gap: 6px; }
  .brand { width: 107px; }
  .profile-menu summary strong { max-width: 112px; }
  .profile-fields { grid-template-columns: minmax(0, 1fr); }
  .workspace-label { font-size: .7rem; }
  .landing-hero { padding-top: 32px; }
  .hero-kicker { font-size: .61rem; letter-spacing: .06em; }
  .landing h1 { margin-block: 16px 13px; font-size: clamp(2.7rem, 11vw, 3.75rem); }
  .landing-actions { margin-top: 21px; }
  .landing-actions .action { min-height: 46px; padding-inline: 11px; font-size: .8rem; }
  .landing-actions .icon { width: 15px; height: 15px; }
  .showcase-photo, .showcase::before { border-radius: 17px; }
  .showcase-label { left: 10px; top: 10px; font-size: .65rem; }
  .showcase-caption { left: 13px; bottom: 18px; }
  .showcase-caption strong { font-size: 1.18rem; }
  .showcase-caption span { font-size: .57rem; }
  .showcase-date { right: 8px; bottom: -36px; gap: 8px; padding: 7px 9px; }
  .showcase-date .icon-tile { width: 31px; height: 31px; border-radius: 8px; }
  .showcase-date .icon { width: 16px; height: 16px; }
  .showcase-date strong { font-size: .73rem; }
  .showcase-date small { font-size: .65rem; }
  .feature-grid, .workflow-grid, .access { grid-template-columns: minmax(0, 1fr); }
  .module-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feature-grid article { flex-direction: row; gap: 12px; padding: 14px 0; }
  .feature-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .feature-grid .icon-tile { width: 37px; height: 37px; border-radius: 10px; }
  .workflow-heading { display: grid; gap: 10px; }
  .access-cover { min-height: 183px; background-position: center 54%; }
  .footer-inner { flex-wrap: wrap; gap: 0 12px; padding-block: 10px; }
  .footer-inner > span { flex: 1; line-height: 1.3; }
  .footer-inner > a:last-child { margin-left: 0; }
  .workspace { padding-top: 16px; }
  .workspace .hero { padding: 21px 17px 36px; }
  .workspace .hero::before { inset: 0; background-image: linear-gradient(90deg, #102344f2, #102344c2), url("tumia-vitrine.webp"); }
  .workspace-hero-copy { max-width: none; }
  .hero-actions { margin-top: 16px; }
  #account-bar { gap: 6px; }
  #account-bar .action, #account-bar button { padding-inline: 9px; font-size: .78rem; }
  .hero-image-label { bottom: 9px; right: 10px; }
  .workspace-stats { gap: 7px; margin-block: 11px 16px; }
  .workspace-stats li { flex-direction: column; align-items: start; gap: 6px; padding: 9px; }
  .workspace-stats .icon-tile { width: 31px; height: 31px; border-radius: 8px; }
  .workspace-stats .icon-tile .icon { width: 16px; height: 16px; }
  .workspace-stats li div span { font-size: .72rem; }
  .workspace-stats strong { font-size: 1.33rem; }
  .editor { justify-items: stretch; }
  .admin-row { align-items: start; flex-direction: column; }
  #cadastro .grid { grid-template-columns: minmax(0, 1fr); }
  #catalog { grid-template-columns: minmax(0,1fr); }
  #quote { grid-template-columns: minmax(0,1fr); }
  .stock-list, .offer-layout, .studio-grid { grid-template-columns: minmax(0,1fr); }
  .finance-totals { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .catalog-heading-actions .badge { display: none; }
  .quote-actions > button { width: 100%; }
  .entry { align-items: start; flex-direction: column; }
}
@media (max-width: 360px) {
  .landing-actions .action { flex: 1 0 100%; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .workspace-nav .icon { display: none; }
  .showcase-caption { bottom: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
@media print {
  :root { color-scheme: light; --ink: #101010; --muted: #333; --line: #ccc; }
  body, #contract { background: white; color: var(--ink); }
  body > :not(main), main > :not(.workspace), .workspace > :not(#contract), #contract button { display: none !important; }
  .workspace { display: block; width: 100%; padding: 0; }
  #contract { border: 0; padding: 0; }
  #contract .eyebrow { color: var(--muted); }
}
