:root {
  --bg: #faf7f2; --surface: #fff; --alt: #f1ece3; --ink: #2b2a33; --muted: #6b6877;
  --brand: #5b4b8a; --brand-ink: #fff; --line: #e2dccf; --wa: #1f8f4e; --danger: #b3261e; --ok: #1f6f43;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); } h2 { font-size: clamp(1.4rem, 3.5vw, 1.9rem); } h3 { font-size: 1.15rem; }
a { color: var(--brand); }
p { margin: 0 0 1em; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); } .small { font-size: .875rem; }
section { padding: 48px 0; } section.alt { background: var(--alt); }

.top { background: var(--surface); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding-top: 12px; padding-bottom: 12px; }
.brand { font-family: Georgia, serif; font-size: 1.15rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.top nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: .95rem; }
.top nav a { text-decoration: none; } .top nav a.on { font-weight: 700; text-decoration: underline; }

.hero { padding: 64px 0; text-align: center; background: linear-gradient(180deg, #efe9f7, var(--bg)); }
.hero .wrap { max-width: 760px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--brand); font-weight: 700; }
.lead { font-size: 1.15rem; color: #45424f; }
.final { text-align: center; }

.btn { display: inline-block; background: var(--brand); color: var(--brand-ink); border: 0; border-radius: 999px; padding: 13px 26px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn.small { padding: 7px 14px; font-size: .875rem; }
.btn.ghost { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 2px var(--brand); }
.btn-wa { background: var(--wa); font-size: 1.1rem; padding: 15px 32px; }
.btn-off { background: #c9c5d1; cursor: default; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); text-decoration: underline; cursor: pointer; }
.danger { color: var(--danger); }
.inline { display: inline; }
.wa-float { position: fixed; right: 16px; bottom: 16px; background: var(--wa); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,.25); }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 10px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; } details p { margin: 10px 0 0; }

.foot { border-top: 1px solid var(--line); padding: 28px 0 80px; font-size: .9rem; text-align: center; }
.foot p { margin: 0 0 6px; }

.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; color: inherit; text-decoration: none; }
.card:hover { border-color: var(--brand); }
.tag { display: inline-block; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; background: #ece6f6; color: var(--brand); border-radius: 999px; padding: 2px 10px; font-weight: 700; }
.two { display: grid; gap: 32px; grid-template-columns: 1fr; } @media (min-width: 820px) { .two { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.price { font-size: 1.8rem; font-weight: 700; font-family: Georgia, serif; }
.pix { font-family: ui-monospace, Consolas, monospace; background: var(--alt); border-radius: 8px; padding: 12px; word-break: break-all; user-select: all; }
.video { position: relative; aspect-ratio: 16 / 9; margin-bottom: 1em; } .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; }
.lesson { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 24px; }

.form-card { max-width: 460px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
section > .form-card { margin: 0 auto; }
label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 14px; }
input, select, textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; font: inherit; color: inherit; background: #fff; border: 1px solid #c9c2b3; border-radius: 8px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 400; } .check input { width: auto; margin: 0; }
.grid { display: grid; gap: 0 16px; grid-template-columns: 1fr; margin-bottom: 24px; } @media (min-width: 700px) { .grid { grid-template-columns: 1fr 1fr; } }
.full { grid-column: 1 / -1; }
.flash { padding: 10px 14px; border-radius: 8px; background: #e3f3ea; color: var(--ok); font-weight: 600; } .flash.err { background: #fbe9e7; color: var(--danger); }
.list { padding-left: 0; list-style: none; } .list li { padding: 10px 0; border-bottom: 1px solid var(--line); }

.admin main { padding: 24px 0 60px; } .admin h1 { font-size: 1.7rem; } .admin h2 { font-size: 1.25rem; margin-top: 1.6em; }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 24px; }
.stats div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.stats span { display: block; font-size: .8rem; color: var(--muted); } .stats strong { font-size: 1.3rem; }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-bottom: 16px; } .bar .spacer { flex: 1; } .bar a.on { font-weight: 700; }
.days { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.day { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; } .day.today { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.day h3 { font: 600 .95rem system-ui, sans-serif; display: flex; justify-content: space-between; text-transform: capitalize; }
.day .add { text-decoration: none; font-size: 1.2rem; line-height: 1; }
.appt { border-left: 4px solid var(--brand); padding: 6px 8px; margin-bottom: 8px; background: var(--bg); border-radius: 0 8px 8px 0; display: grid; }
.appt a { text-decoration: none; } .appt.st-realizada { border-color: var(--ok); } .appt.st-cancelada, .appt.st-faltou { border-color: #b9b4a8; opacity: .7; }
table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; display: block; overflow-x: auto; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; white-space: nowrap; } td:nth-child(2) { white-space: normal; min-width: 180px; }
th { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.num { text-align: right; font-variant-numeric: tabular-nums; } td.out { color: var(--danger); } td.in { color: var(--ok); }
