/* Cadastro do salão · identidade Lota IA / lotaí (fundo branco fixo, Bricolage Grotesque + DM Sans, berinjela e rosa) */
:root { color-scheme: light; --ink: #2a1530; --green: #c45c7a; --green-l: #f2a7b8; --dark: #3d1f45; --bg1: #fbf3f4; --bg2: #fdf8f9; --line: #eddde2; --muted: #7a6573; }
* { box-sizing: border-box; }
html { background: #fff; }
body { margin: 0; background: #ffffff; color: var(--ink); font: 16px/1.5 'DM Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, legend, .logo b { font-family: 'Bricolage Grotesque', 'DM Sans', sans-serif; letter-spacing: -.04em; font-weight: 800 !important; }
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo svg { width: 38px; height: 38px; }
.logo span { display: flex; flex-direction: column; line-height: 1; }
.logo b { font-size: 22px; font-weight: 800; } .logo b i { font-style: normal; color: var(--green); }
.logo small { font-size: 11px; color: var(--muted); letter-spacing: .02em; margin-top: 3px; }
.saved { font-size: 12px; color: var(--green); font-weight: 700; background: var(--bg1); padding: 4px 10px; border-radius: 999px; }
main { max-width: 860px; margin: 0 auto; padding: 24px 16px 40px; }
.hero { padding: 28px 24px; border-radius: 24px; background: linear-gradient(140deg, var(--dark), #2a1530); color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(242,167,184,.32), transparent 70%); }
.kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green-l); }
.hero h1 { margin: 8px 0 10px; font-size: clamp(26px, 4.6vw, 38px); font-weight: 800; line-height: 1.1; }
.hero p { margin: 0 0 16px; color: #ead9e3; max-width: 640px; }
.hero-steps { display: flex; gap: 8px; flex-wrap: wrap; position: relative; z-index: 1; }
.hero-steps span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 7px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 13px; font-weight: 700; }
.hero-steps b { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; align-items: center; justify-content: center; background: var(--green-l); color: var(--ink); font-size: 12px; }
.progress { position: sticky; top: 63px; z-index: 9; margin: 18px 0; padding: 10px 0 6px; background: #fff; }
.bar { height: 6px; border-radius: 99px; background: var(--bg1); overflow: hidden; } .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green-l), var(--green)); transition: width .35s ease; border-radius: 99px; }
.progress ol { list-style: none; display: flex; gap: 4px; margin: 8px 0 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.progress li { flex: none; font-size: 12px; font-weight: 700; color: var(--muted); padding: 4px 9px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.progress li.on { background: var(--green); color: #fff; } .progress li.ok { color: var(--green); }
.step { border: 0; margin: 0; padding: 22px; border-radius: 22px; background: var(--bg2); border: 1px solid var(--line); display: none; animation: in .3s ease; }
.step.on { display: block; }
@keyframes in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
legend { display: flex; align-items: center; gap: 10px; float: left; width: 100%; margin-bottom: 16px; font-size: 22px; font-weight: 800; }
legend + * { clear: both; }
legend span { display: inline-flex; width: 34px; height: 34px; border-radius: 11px; align-items: center; justify-content: center; background: var(--green); color: #fff; font-size: 16px; }
.hint { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin-top: 12px; }
.f { display: flex; flex-direction: column; gap: 5px; min-width: 0; } .f.wide { grid-column: 1 / -1; }
.f > span { font-size: 13.5px; font-weight: 700; color: var(--ink); }
input, textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px; transition: border-color .15s, box-shadow .15s; }
textarea { resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(31,111,78,.12); }
input.bad, textarea.bad { border-color: #c0392b; box-shadow: 0 0 0 4px rgba(192,57,43,.1); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 3px; border-radius: 999px; background: var(--bg1); align-self: flex-start; }
.seg button { border: 0; background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--muted); padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: all .15s; }
.seg button.on { background: #fff; color: var(--green); box-shadow: 0 2px 8px rgba(42,21,48,.12); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills button { font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer; transition: all .15s; }
.pills button.on { background: var(--green); border-color: var(--green); color: #fff; }
.pills button.on::before { content: "✓ "; }
.hours { display: grid; gap: 6px; }
.hr { display: grid; grid-template-columns: 70px auto 1fr; gap: 10px; align-items: center; padding: 6px 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.hr b { font-size: 14px; } .hr .t { display: flex; gap: 6px; align-items: center; } .hr .t input { width: 100px; padding: 7px 9px; }
.hr.off .t { opacity: .35; pointer-events: none; }
.sw { position: relative; width: 44px; height: 24px; border-radius: 99px; background: #cfd9d2; border: 0; cursor: pointer; transition: background .2s; }
.sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.sw.on { background: var(--green); } .sw.on::after { transform: translateX(20px); }
.svc-head, .svc { display: grid; grid-template-columns: 2fr 1.2fr 0.9fr 0.8fr 32px; gap: 6px; align-items: center; }
.svc-head { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding: 0 4px 4px; }
.svc { margin-bottom: 6px; } .svc input { padding: 9px 10px; }
.svc .x { border: 0; background: none; font-size: 20px; color: var(--muted); cursor: pointer; }
.add { margin: 4px 0 6px; font: inherit; font-weight: 800; color: var(--green); background: #fff; border: 1.5px dashed var(--green-l); border-radius: 12px; padding: 9px 14px; cursor: pointer; }
.ups { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.up { padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.up small { color: var(--muted); font-size: 12.5px; }
.drop { margin-top: 6px; display: flex; align-items: center; justify-content: center; padding: 12px; border-radius: 12px; border: 2px dashed var(--green-l); color: var(--green); font-weight: 800; cursor: pointer; transition: background .15s; }
.drop:hover { background: var(--bg1); }
.thumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.thumbs span { position: relative; width: 58px; height: 58px; border-radius: 10px; overflow: hidden; background: var(--bg1); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: var(--green); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs span.up-ing::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.6) linear-gradient(90deg, transparent, rgba(31,111,78,.2), transparent); animation: sh 1s infinite; }
@keyframes sh { from { background-position: -60px 0; } to { background-position: 60px 0; } }
.thumbs span.fail { outline: 2px solid #c0392b; }
.nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; }
.nav button { font: inherit; font-weight: 800; font-size: 16px; padding: 14px 24px; border-radius: 999px; cursor: pointer; border: 0; }
.ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line) !important; }
.primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(31,111,78,.28); margin-left: auto; transition: transform .1s, box-shadow .15s; }
.primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(31,111,78,.34); }
.primary:disabled { opacity: .6; transform: none; }
.consent { margin: 12px 4px 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.err { margin: 10px 0 0; padding: 10px 14px; border-radius: 12px; background: #fdecea; color: #a1291e; font-weight: 700; text-align: center; }
.done { text-align: center; padding: 50px 20px; border-radius: 24px; background: var(--bg2); border: 1px solid var(--line); }
.done h2 { font-size: 28px; margin: 12px 0 8px; } .done p { color: var(--muted); max-width: 480px; margin: 0 auto; }
.check svg { width: 76px; height: 76px; fill: none; stroke: var(--green); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.check circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .7s ease forwards; } .check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s .6s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.foot { text-align: center; padding: 20px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
@media (max-width: 640px) {
  .grid, .ups { grid-template-columns: 1fr; }
  .step { padding: 16px; } legend { font-size: 19px; }
  .svc-head { display: none; } .svc { grid-template-columns: 1fr 1fr; } .svc input:first-child { grid-column: 1 / -1; } .svc .x { justify-self: end; }
  .hr { grid-template-columns: 54px auto; } .hr .t { grid-column: 1 / -1; } .hr .t input { width: 100%; }
  .nav button { padding: 13px 18px; font-size: 15px; }
}

[hidden] { display: none !important; }

.drive { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; align-items: start; padding: 14px; margin-bottom: 12px; border-radius: 16px; background: #fff; border: 1.5px solid var(--green-l); }
.drive-ic { grid-row: span 2; display: inline-flex; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; background: var(--bg1); color: var(--green); }
.drive-ic svg { width: 24px; height: 24px; }
.drive-tip { font-size: 12px; color: var(--muted); }
input.warn { border-color: #e2a91d; }
@media (max-width: 640px) { .drive { grid-template-columns: 1fr; } .drive-ic { grid-row: auto; } }

.logo b { font-size: 24px; letter-spacing: -.05em; }
.logo img { width: 38px; height: 38px; }
.ii { position: relative; display: inline-block; } .ii .spk { position: absolute; left: 50%; top: -.06em; width: .4em; height: .4em; transform: translateX(-58%); fill: var(--green); }
.colorrow, .slugrow { display: flex; align-items: center; gap: 10px; }
.colorrow input[type=color] { width: 54px; height: 44px; padding: 3px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; flex: none; }
.colorrow small, .slugrow small { color: var(--muted); font-size: 13px; }
.slugrow input { flex: 1; min-width: 0; }
.up.bad { outline: 2px solid #b4232f; outline-offset: 2px; }
.logo span.ii { display: inline-block; flex-direction: row; line-height: 1; }
