/* MK Detailing — agendamento online v2. Claro e premium: branco gelo, marinho, laranja do K (mesma linha das artes "Dia limpo"). */
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 900; font-display: swap; src: url(/fontes/barlow-condensed-900-italic.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url(/fontes/barlow-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(/fontes/barlow-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url(/fontes/barlow-700-normal.woff2) format("woff2"); }

:root {
  --gelo: #f3f5f8; --branco: #fff; --tinta: #0e1a2b; --suave: #5b6676; --linha: #e3e8ef; --linha-2: #cfd6e0;
  --laranja: #f5822a; --laranja-texto: #b84f0a; --laranja-claro: #fff3e8; --azul: #1e5bd6; --zap: #1d9e4f;
  --sombra: 0 1px 2px rgb(14 26 43 / .05), 0 10px 30px -14px rgb(14 26 43 / .22);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100dvh; color: var(--tinta); font: 500 16px/1.45 "Barlow", system-ui, sans-serif; -webkit-tap-highlight-color: transparent;
  background: radial-gradient(60rem 26rem at 100% -8rem, #f5822a1c, transparent 70%), radial-gradient(40rem 22rem at -10% 10rem, #1e5bd612, transparent 70%), var(--gelo); }
img { display: block; max-width: 100%; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, h3, .passos i, .num { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-style: italic; font-weight: 900; text-transform: uppercase; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

/* topo */
.topo { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; background: #f3f5f8e6; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--linha); }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tinta); }
.marca img { width: 40px; height: 40px; border-radius: 50%; background: #000; object-fit: cover; box-shadow: 0 0 0 2px var(--laranja); }
.marca span { display: flex; flex-direction: column; line-height: 1.05; }
.marca b { font-family: "Barlow Condensed", sans-serif; font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 19px; }
.marca small { font-size: 12px; color: var(--suave); font-weight: 600; }
.conta-bt { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 99px; border: 1px solid var(--linha-2); background: var(--branco); font-weight: 700; font-size: 14px; box-shadow: var(--sombra); }

.pagina { max-width: 560px; margin: 0 auto; padding: 22px 16px 150px; }

/* hero */
.hero { text-align: left; }
.selo-topo { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--laranja-texto);
  background: var(--laranja-claro); border: 1px solid #ffd9b8; padding: 5px 10px; border-radius: 99px; }
h1 { margin-top: 10px; font-size: 52px; line-height: .9; }
h1 span { color: var(--laranja); }
.hero-sub { margin-top: 10px; font-size: 17px; color: var(--suave); font-weight: 600; }
.garantias { list-style: none; margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.garantias li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 7px 11px; border-radius: 99px; background: var(--branco); border: 1px solid var(--linha); }
.garantias svg { width: 16px; height: 16px; color: var(--laranja-texto); }
.aviso { margin-top: 14px; padding: 10px 14px; border-radius: 14px; background: var(--laranja-claro); border: 1px solid #ffd2ad; color: var(--laranja-texto); font-weight: 700; }
.carregando { margin-top: 40px; display: flex; gap: 10px; align-items: center; justify-content: center; color: var(--suave); }
.giro { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--linha-2); border-top-color: var(--laranja); animation: gira .8s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }

/* etapas */
.passos { list-style: none; margin: 22px 0 6px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.passos li { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; color: #8b95a3; position: relative; }
.passos li::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: var(--linha-2); z-index: 0; }
.passos li:first-child::before { display: none; }
.passos i { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--branco); border: 2px solid var(--linha-2); font-size: 16px; color: #8b95a3; }
.passos li.feito i { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.passos li.feito::before, .passos li.atual::before { background: var(--tinta); }
.passos li.atual i { background: var(--laranja); border-color: var(--laranja); color: var(--tinta); box-shadow: 0 0 0 4px #f5822a33; }
.passos li.atual { color: var(--tinta); }
.passos li.pulado { opacity: .35; }

.tela { margin-top: 16px; animation: entra .25s ease; }
@keyframes entra { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .tela { animation: none; } }
.tela h2 { font-size: 34px; line-height: .95; }
.tela-sub { margin-top: 4px; color: var(--suave); font-weight: 600; }

/* serviços */
.grupo { margin-top: 18px; }
.grupo-tit { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--laranja-texto); margin-bottom: 10px; }
.grupo-tit::after { content: ""; flex: 1; height: 1px; background: var(--linha-2); }
.cards { display: grid; gap: 12px; }
.card-s { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 0; border-radius: 20px; overflow: hidden; background: var(--branco); border: 2px solid transparent; box-shadow: var(--sombra); cursor: pointer; transition: border-color .15s, transform .1s; }
.card-s:active { transform: scale(.99); }
.card-s input { position: absolute; opacity: 0; pointer-events: none; }
.card-s .foto { background-size: cover; background-position: center; min-height: 112px; }
.card-s .info { padding: 12px 40px 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.card-s b { font-family: "Barlow Condensed", sans-serif; font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 21px; line-height: 1; }
.card-s small { font-size: 13.5px; color: var(--suave); line-height: 1.3; }
.card-s .meta { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: var(--gelo); color: var(--suave); }
.preco { font-size: 15px; font-weight: 700; color: var(--laranja-texto); }
.card-s .marcador { position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--linha-2); display: grid; place-items: center; background: #fff; }
.card-s .marcador svg { width: 14px; height: 14px; stroke-width: 3; color: #fff; opacity: 0; }
.card-s:has(input:checked) { border-color: var(--laranja); box-shadow: 0 0 0 4px #f5822a26, var(--sombra); }
.card-s:has(input:checked) .marcador { background: var(--laranja); border-color: var(--laranja); }
.card-s:has(input:checked) .marcador svg { opacity: 1; color: var(--tinta); }
.card-s:has(input:focus-visible) { outline: 2px solid var(--azul); outline-offset: 2px; }
.card-s.desligado { opacity: .45; pointer-events: none; }
.linha-s { grid-template-columns: 1fr; }
.linha-s .info { padding: 14px 44px 14px 16px; }

/* porte */
.portes { margin-top: 14px; display: grid; gap: 10px; }
.porte { position: relative; cursor: pointer; }
.porte input { position: absolute; opacity: 0; pointer-events: none; }
.porte > span { display: grid; grid-template-columns: 64px 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px 16px; border-radius: 18px; background: var(--branco); border: 2px solid transparent; box-shadow: var(--sombra); }
.silhueta { grid-row: 1 / span 2; width: 64px; height: 28px; fill: #dfe5ee; stroke: var(--tinta); stroke-width: 1.6; }
.porte b { font-weight: 700; }
.porte small { grid-column: 2; font-size: 13px; color: var(--suave); }
.porte em { grid-column: 3; grid-row: 1 / span 2; font-style: normal; font-weight: 700; color: var(--laranja-texto); }
.porte input:checked + span { border-color: var(--laranja); box-shadow: 0 0 0 4px #f5822a26, var(--sombra); }
.porte input:checked + span .silhueta { fill: #ffd9b8; }

/* campos */
.campos { margin-top: 16px; display: grid; gap: 12px; }
.campos label { display: grid; gap: 6px; }
.campos label > span { font-size: 14px; font-weight: 700; }
.campos small { color: var(--suave); font-weight: 500; }
.campos input, .campos textarea { width: 100%; padding: 14px; border-radius: 14px; border: 1.5px solid var(--linha-2); background: var(--branco); font-size: 16px; outline: none; resize: vertical; transition: border-color .15s, box-shadow .15s; }
.campos input:focus, .campos textarea:focus { border-color: var(--laranja); box-shadow: 0 0 0 4px #f5822a26; }
.campos input::placeholder, .campos textarea::placeholder { color: #9aa4b1; }
.duas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: end; }

/* placa Mercosul */
.placa { display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; border: 2.5px solid var(--tinta); background: #fff; max-width: 280px; box-shadow: var(--sombra); }
.placa-faixa { background: #1c3f94; color: #fff; text-align: center; padding: 3px 0; }
.placa-faixa small { color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .3em; }
.campos .placa input { border: 0; border-radius: 0; box-shadow: none; text-align: center; font: 700 34px/1 "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: .12em; text-transform: uppercase; padding: 10px 8px 12px; }
.placa:focus-within { box-shadow: 0 0 0 4px #f5822a40; }

/* dias e horas */
.dias { margin: 16px -16px 0; padding: 4px 16px 10px; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.dias::-webkit-scrollbar { display: none; }
.dia { flex: none; width: 66px; padding: 10px 0; border-radius: 16px; border: 2px solid transparent; background: var(--branco); box-shadow: var(--sombra); text-align: center; scroll-snap-align: start; }
.dia small { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--suave); }
.dia b { display: block; font-family: "Barlow Condensed", sans-serif; font-style: italic; font-weight: 900; font-size: 28px; line-height: 1.05; }
.dia span { display: block; font-size: 12px; color: var(--suave); }
.dia[aria-checked="true"] { background: var(--tinta); color: #fff; }
.dia[aria-checked="true"] small, .dia[aria-checked="true"] span { color: #ffc999; }
.periodo { margin-top: 14px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--suave); }
.horas { margin-top: 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hora { padding: 13px 0; border-radius: 12px; border: 2px solid transparent; background: var(--branco); box-shadow: var(--sombra); font-weight: 700; font-variant-numeric: tabular-nums; }
.hora[aria-checked="true"] { background: var(--laranja); color: var(--tinta); box-shadow: 0 0 0 4px #f5822a33; }
.dica { margin-top: 12px; font-size: 14px; color: var(--suave); }

/* salvos (conta) */
.salvos { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.salvo { padding: 9px 12px; border-radius: 12px; background: var(--branco); border: 1.5px solid var(--linha-2); font-size: 14px; font-weight: 700; text-align: left; }
.salvo small { display: block; font-weight: 500; color: var(--suave); font-size: 12px; }
.salvo.ativo { border-color: var(--laranja); background: var(--laranja-claro); }

/* recibo */
.recibo { margin-top: 16px; padding: 20px; border-radius: 22px; background: var(--branco); box-shadow: var(--sombra); position: relative; }
.recibo::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 16px; background: radial-gradient(circle at 8px -2px, transparent 8px, var(--branco) 8.5px) repeat-x; background-size: 16px 16px; }
.recibo .r-quando { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1.5px dashed var(--linha-2); }
.recibo .r-data { width: 58px; flex: none; text-align: center; padding: 8px 0; border-radius: 14px; background: var(--tinta); color: #fff; }
.recibo .r-data small { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; color: #ffc999; }
.recibo .r-data b { display: block; font-family: "Barlow Condensed", sans-serif; font-style: italic; font-weight: 900; font-size: 28px; line-height: 1; }
.recibo .r-hora { font-weight: 700; font-size: 18px; }
.recibo .r-hora small { display: block; font-weight: 500; font-size: 14px; color: var(--suave); }
.recibo ul { list-style: none; padding: 14px 0; display: grid; gap: 8px; border-bottom: 1.5px dashed var(--linha-2); }
.recibo li { display: flex; justify-content: space-between; gap: 12px; }
.recibo li span:last-child { font-weight: 700; white-space: nowrap; }
.recibo .orc { color: var(--laranja-texto); font-size: 14px; }
.recibo .r-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; }
.recibo .r-total b { font-size: 28px; font-variant-numeric: tabular-nums; }
.recibo .r-det { margin-top: 12px; display: grid; gap: 6px; font-size: 14px; color: var(--suave); }
.recibo .r-det p { display: flex; gap: 8px; }
.recibo .r-det svg { width: 17px; height: 17px; color: var(--laranja-texto); margin-top: 1px; }

.erro { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: #fff1f2; border: 1px solid #fecdd3; color: #9f1239; font-weight: 600; }

/* barra fixa */
.barra { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: #ffffffeb; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--linha); box-shadow: 0 -10px 30px -20px rgb(14 26 43 / .35); }
.barra-in { max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 10px; }
.voltar { width: 48px; height: 48px; flex: none; border-radius: 14px; border: 1.5px solid var(--linha-2); background: var(--branco); display: grid; place-items: center; }
.resumo { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.resumo small { font-size: 12.5px; color: var(--suave); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.resumo b { font-size: 21px; font-variant-numeric: tabular-nums; }
#avancar { flex: none; min-width: 140px; padding: 15px 20px; border: 0; border-radius: 16px; font-weight: 700; font-size: 16px; color: #fff; background: var(--tinta); box-shadow: 0 12px 28px -14px rgb(14 26 43 / .8); }
#avancar.final { color: var(--tinta); background: linear-gradient(135deg, #ff9a45, #f5822a 50%, #e8700f); box-shadow: 0 14px 30px -12px #f5822a; }
#avancar:disabled { background: #e3e8ef; color: #8b95a3; box-shadow: none; cursor: not-allowed; }

/* cartões gerais */
.cartao { margin-top: 22px; padding: 24px 20px; border-radius: 24px; background: var(--branco); box-shadow: var(--sombra); }
.centro { text-align: center; }
.cartao h2 { font-size: 34px; line-height: .95; }
.cartao p { margin-top: 10px; }
.forte { font-weight: 700; }
.suave { color: var(--suave); }
.check { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--laranja); color: var(--tinta); box-shadow: 0 0 0 10px #f5822a22; }
.check svg { width: 40px; height: 40px; stroke-width: 3; }
.bt-zap, .bt-laranja, .bt-escuro { margin-top: 18px; display: block; width: 100%; padding: 16px; border-radius: 16px; border: 0; font-weight: 700; font-size: 16px; text-align: center; text-decoration: none; }
.bt-zap { background: var(--zap); color: #fff; }
.bt-laranja { background: linear-gradient(135deg, #ff9a45, #f5822a 50%, #e8700f); color: var(--tinta); }
.bt-escuro { background: var(--tinta); color: #fff; }
.link-suave { margin-top: 14px; display: inline-block; background: none; border: 0; color: var(--suave); font-size: 14px; text-decoration: underline; }
.nota-laranja { margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: var(--laranja-claro); color: var(--laranja-texto); font-size: 14px; font-weight: 600; text-align: left; }
.nota-verde { margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: #ecfdf3; color: #166534; font-weight: 700; }
.criar-conta { margin-top: 22px; padding: 18px; border-radius: 18px; background: var(--gelo); text-align: left; }
.criar-conta h3 { font-size: 22px; }
.criar-conta p { margin-top: 6px; color: var(--suave); font-size: 15px; }

/* modal da conta */
.modal { position: fixed; inset: 0; z-index: 40; background: rgb(14 26 43 / .45); display: flex; align-items: flex-end; justify-content: center; }
.modal-caixa { position: relative; width: 100%; max-width: 520px; max-height: 92dvh; overflow-y: auto; padding: 26px 20px calc(24px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: var(--branco); animation: sobe .25s ease; }
@media (min-width: 600px) { .modal { align-items: center; } .modal-caixa { border-radius: 26px; } }
@keyframes sobe { from { transform: translateY(30px); opacity: 0; } }
.modal h2 { font-size: 32px; line-height: .95; padding-right: 40px; }
.fechar { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--gelo); display: grid; place-items: center; }
.codigo { text-align: center; font: 700 30px/1 "Barlow", sans-serif !important; letter-spacing: .35em; }
.m-sub { margin-top: 20px; font-size: 18px; }
.lista-ag { margin-top: 8px; display: grid; gap: 8px; }
.ag { padding: 12px 14px; border-radius: 14px; background: var(--gelo); font-size: 14px; }
.ag b { display: block; font-size: 15px; }
.ag .st { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: #fff; }
.ag button { margin-top: 8px; display: block; background: none; border: 0; color: #9f1239; font-weight: 700; font-size: 13px; text-decoration: underline; }
.vazio { font-size: 14px; color: var(--suave); }

.credito { margin-top: 34px; display: flex; justify-content: center; }
.credito a { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--suave); text-decoration: none; }
.credito img { height: 16px; width: auto; }
.credito b { color: var(--tinta); font-weight: 600; }
.grupo-dica { margin: -4px 0 10px; font-size: 13px; color: var(--suave); }
.grupo:has(.card-s:not(.desligado) input) .grupo-dica { display: none; }
.porte em { font-size: 15px; }
