.studiomatsu-page{--studiomatsu-ink:#f5f7f5;--studiomatsu-muted:#b0bcb4;--studiomatsu-border:#343e38;--studiomatsu-green:#74df9e;--studiomatsu-focus:#74df9e;margin:0;color:var(--studiomatsu-ink);background:#101512}
.studiomatsu-page *{box-sizing:border-box}
.studiomatsu-wrap{width:min(1080px,calc(100% - 40px));margin-inline:auto}
.studiomatsu-header{border-bottom:1px solid var(--studiomatsu-border)}
.studiomatsu-header .studiomatsu-wrap,.studiomatsu-page footer{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:84px}
.studiomatsu-header span{text-align:right;color:var(--studiomatsu-muted)}
.studiomatsu-intro{padding:48px 0 32px}
.studiomatsu-intro h1{margin:12px 0}
.studiomatsu-intro p:last-child{margin:0;color:var(--studiomatsu-muted)}
.studiomatsu-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,345px);gap:24px;align-items:start}
.studiomatsu-fields{display:grid;gap:16px}
.studiomatsu-card,.studiomatsu-summary{border:1px solid var(--studiomatsu-border);border-radius:14px;padding:24px}
.studiomatsu-card h2{display:flex;align-items:center;gap:12px;margin:0 0 20px}
.studiomatsu-card label{display:grid;gap:8px;margin-top:14px;min-width:0}
.studiomatsu-card input:not([type=checkbox]),.studiomatsu-card select{width:100%;min-height:46px;border:1px solid #58655d;border-radius:8px;padding:8px 10px;color:inherit;background:#101512}
.studiomatsu-pair{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px}
.studiomatsu-card .studiomatsu-option{display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:48px;margin:0;padding:10px 0;border-top:1px solid var(--studiomatsu-border);cursor:pointer}
.studiomatsu-option input{width:18px;height:18px;margin:0;accent-color:#365e15}
.studiomatsu-option b{white-space:nowrap}
.studiomatsu-summary{position:sticky;top:20px;background:#19221d}
.studiomatsu-summary h2{margin:14px 0 20px}
.studiomatsu-line,.studiomatsu-total{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-block:8px}
.studiomatsu-total{margin-top:12px;border-top:1px solid #58655d;padding-block:16px}
.studiomatsu-summary button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;width:100%;padding:10px 14px;border:1px solid #74df9e;border-radius:8px;color:#18210f;background:var(--studiomatsu-green);cursor:pointer}
.studiomatsu-summary button:hover{background:#9cebbb}
.studiomatsu-note{margin:12px 0 0;color:var(--studiomatsu-muted)}
.studiomatsu-page :focus-visible{outline:3px solid var(--studiomatsu-focus);outline-offset:3px}
.studiomatsu-page footer{border-top:1px solid var(--studiomatsu-border);margin-top:48px}
.studiomatsu-page a{color:#8de9ad}
@media(max-width:720px){.studiomatsu-grid{grid-template-columns:minmax(0,1fr)}.studiomatsu-summary{position:static}.studiomatsu-intro{padding-top:32px}.studiomatsu-card,.studiomatsu-summary{padding:18px}}
@media(max-width:380px){.studiomatsu-pair{grid-template-columns:minmax(0,1fr);gap:0}}
.studiomatsu-pair[hidden]{display:none}
.studiomatsu-endereco-status{color:var(--studiomatsu-muted)}
.studiomatsu-endereco-status:empty{display:none}

.studiomatsu-card label[hidden]{display:none}

.studiomatsu-page {
  color-scheme: dark;
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.5;
}
.studiomatsu-header img { object-fit: contain; }
.studiomatsu-intro h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -.045em;
  line-height: 1.12;
}
.studiomatsu-page h2 {
  font-size: 1.2rem;
  letter-spacing: -.02em;
}
.studiomatsu-card { background: #151c18; }
.studiomatsu-card label { font-weight: 500; }
.studiomatsu-page :is(input, select, textarea, button) { font: inherit; }
.studiomatsu-card input::placeholder { color: #9daaa1; opacity: 1; }
.studiomatsu-card input:not([type=checkbox]),
.studiomatsu-card select { min-height: 48px; padding-inline: 12px; }
.studiomatsu-summary button { font-weight: 700; }
.studiomatsu-summary button[type=submit] { border-radius: 999px; }
.studiomatsu-total strong { color: var(--studiomatsu-green); font-size: 1.5rem; }

.studiomatsu-card select {
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 400;
}
.studiomatsu-card h2 + label:has(> select) {
  margin-top: 0;
}
.studiomatsu-card input:is([type=date], [type=time]) {
  min-width: 0;
  min-height: 54px;
  padding: 12px 16px;
  border-radius: 10px;
}



.studiomatsu-card {
  --studiomatsu-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23f5f7f5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.studiomatsu-card select,
.studiomatsu-card input:is([type=date], [type=time]) {
  position: relative;
  padding-inline-end: 44px;
  background-image: var(--studiomatsu-chevron);
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}
.studiomatsu-card select {
  appearance: none;
}
.studiomatsu-card input:is([type=date], [type=time])::-webkit-calendar-picker-indicator {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: 44px;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

@supports not selector(input::-webkit-calendar-picker-indicator) {
  .studiomatsu-card input:is([type=date], [type=time]) {
    background-image: none;
    padding-inline-end: 16px;
  }
}

.studiomatsu-page footer { justify-content: center; }

.studiomatsu-summary .studiomatsu-confirmacao {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin-bottom: 20px;
  cursor: pointer;
}
.studiomatsu-confirmacao input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--studiomatsu-green);
}

.studiomatsu-page form :is(input, select).studiomatsu-erro,
.studiomatsu-summary .studiomatsu-confirmacao.studiomatsu-erro {
  border: 2px solid #ff8585;
  outline-color: #ff8585;
}
.studiomatsu-summary .studiomatsu-confirmacao.studiomatsu-erro {
  border-radius: 8px;
  padding: 10px;
}
.studiomatsu-confirmacao.studiomatsu-erro input {
  outline: 2px solid #ff8585;
  outline-offset: 2px;
}
.studiomatsu-page .studiomatsu-tremer {
  animation: studiomatsu-erro-tremor .3s ease-in-out;
}
@keyframes studiomatsu-erro-tremor {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}
@media (prefers-reduced-motion: reduce) {
  .studiomatsu-page .studiomatsu-tremer { animation: none; }
}

.studiomatsu-summary .studiomatsu-confirmacao span { font-size: 14px; }

.studiomatsu-summary .studiomatsu-note { font-size: 14px; }

.studiomatsu-envio-slot { display: flex; justify-content: center; min-height: 56px; }
.studiomatsu-summary .studiomatsu-enviar {
  position: relative;
  min-height: 56px;
  overflow: hidden;
}
.studiomatsu-enviar-texto {
  display: flex;
  justify-content: space-between;
  width: 100%;
  white-space: nowrap;
}
.studiomatsu-summary .studiomatsu-enviar > .studiomatsu-enviar-icone {
  position: absolute;
  inset: 0;
  width: 26px !important;
  height: 26px !important;
  min-width: 26px;
  max-width: 26px;
  min-height: 26px;
  max-height: 26px;
  display: block;
  flex: none;
  overflow: visible;
  margin: auto;
  opacity: 0;
  pointer-events: none;
}
.studiomatsu-summary .studiomatsu-enviar.studiomatsu-encaminhando {
  width: 56px;
  padding: 0;
  background: #25d366;
  border-color: #25d366;
  cursor: wait;
}
.studiomatsu-encaminhando .studiomatsu-enviar-texto { opacity: 0; }
.studiomatsu-summary .studiomatsu-enviar.studiomatsu-encaminhando > .studiomatsu-enviar-icone { opacity: 1; }
.studiomatsu-envio-status { margin: 12px 0 0; color: var(--studiomatsu-muted); }
.studiomatsu-envio-status:empty { display: none; }

.studiomatsu-card .studiomatsu-select-original { display: none; }
.studiomatsu-seletor { position: relative; min-width: 0; }
.studiomatsu-card .studiomatsu-seletor-controle {
  display: block;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 10px 38px 10px 12px;
  border: 1px solid #58655d;
  border-radius: 8px;
  color: var(--studiomatsu-ink);
  background: #101512 var(--studiomatsu-chevron) no-repeat right 12px center / 14px;
  text-align: left;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
}
.studiomatsu-seletor-lista {
  position: absolute;
  z-index: 30;
  inset-inline: 0;
  top: calc(100% + 5px);
  max-height: 248px;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 4px;
  border: 1px solid var(--studiomatsu-border);
  border-radius: 8px;
  background: #19221d;
  box-shadow: 0 8px 24px #0006;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: #58655d #19221d;
}
.studiomatsu-seletor-lista[hidden] { display: none; }
.studiomatsu-seletor-acima .studiomatsu-seletor-lista {
  top: auto;
  bottom: calc(100% + 5px);
}
.studiomatsu-seletor-lista [role=option] {
  min-height: 40px;
  margin: 0;
  padding: 9px 10px;
  border-radius: 4px;
  color: var(--studiomatsu-ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.studiomatsu-seletor-lista [aria-selected=true] { color: var(--studiomatsu-green); }
.studiomatsu-seletor-lista .studiomatsu-opcao-ativa { background: #243c2e; }
@media (hover: hover) {
  .studiomatsu-seletor-lista [role=option]:hover { background: #304638; }
}
.studiomatsu-seletor-controle.studiomatsu-erro {
  border: 2px solid #ff8585;
  outline-color: #ff8585;
}

.studiomatsu-page form .studiomatsu-campo-atual {
  outline: 2px solid var(--studiomatsu-focus);
  outline-offset: 3px;
}
.studiomatsu-page form .studiomatsu-campo-atual[aria-invalid=true] {
  outline-color: #ff8585;
}

.studiomatsu-campo-erro {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: #ffb0b0;
}
.studiomatsu-campo-erro[hidden] { display: none; }
.studiomatsu-card input[type=search] { appearance: none; }

#studiomatsu-form-conteudo { display: contents; }
