:root {
	--ink: #2a1a33;
	--plum: #3b2147;
	--plum-2: #5a3768;
	--rose: #c9858c;
	--blush: #f3dfe1;
	--cream: #fbf7f4;
	--paper: #ffffff;
	--line: #eadfdc;
	--muted: #7a6a78;
	--ok: #2f7d5b;
	--ok-bg: #e3f3ea;
	--warn: #94640c;
	--warn-bg: #fbf0d9;
	--bad: #a23b3b;
	--bad-bg: #f8e1e1;
	--info: #3d5a8a;
	--info-bg: #e3ebf7;
	--radius: 14px;
	--shadow: 0 1px 2px rgba(42, 26, 51, 0.04), 0 4px 16px rgba(42, 26, 51, 0.05);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font: 15px/1.55 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	color: var(--ink);
	background: var(--cream);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
h1, h2, h3 { font-family: Fraunces, Georgia, serif; font-weight: 600; line-height: 1.2; margin: 0 0 0.6rem; color: var(--plum); }
h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h2 { font-size: 1.25rem; margin-top: 0.4rem; }
h3 { font-size: 1.05rem; }
a { color: var(--plum-2); }
p { margin: 0 0 0.8rem; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.pre { white-space: pre-line; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; color: var(--rose); font-weight: 600; margin: 0 0 0.3rem; }
.lead { font-size: 1.1rem; color: var(--muted); }
.bad-text { color: var(--bad); font-weight: 600; }

/* layout */
.topbar {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: 0.8rem clamp(1rem, 4vw, 2.5rem); background: var(--paper); border-bottom: 1px solid var(--line);
	position: sticky; top: 0; z-index: 10;
}
.brand { font-family: Fraunces, serif; font-size: 1.45rem; font-weight: 600; color: var(--plum); text-decoration: none; display: flex; align-items: center; gap: 0.5rem; }
.brand-mark { color: var(--rose); letter-spacing: -0.1em; font-size: 1rem; }
.topbar-right { display: flex; gap: 0.6rem; align-items: center; }
.subnav {
	display: flex; gap: 0.25rem; overflow-x: auto; padding: 0.5rem clamp(1rem, 4vw, 2.5rem);
	background: var(--paper); border-bottom: 1px solid var(--line); scrollbar-width: none;
}
.subnav a { white-space: nowrap; padding: 0.4rem 0.8rem; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.92rem; }
.subnav a:hover { background: var(--cream); color: var(--plum); }
.subnav a.active { background: var(--blush); color: var(--plum); }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 4vw, 2.5rem) 3rem; flex: 1; }
.footer { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; padding: 1.5rem; font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--line); }
.footer a { color: var(--muted); }
.narrow { max-width: 760px; margin-inline: auto; }
.auth { max-width: 560px; margin: 1rem auto; }

.row { display: flex; gap: 0.6rem; align-items: center; }
.row.wrap, .wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.grow { flex: 1; }
.stack { display: flex; flex-direction: column; gap: 0.9rem; }
.stack-lg { display: flex; flex-direction: column; gap: 1.5rem; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.scroll-x { overflow-x: auto; }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1rem, 2.5vw, 1.5rem); box-shadow: var(--shadow); }
.callout { background: #fff8f6; border-color: #f0d3d3; }
.callout p:last-child { margin-bottom: 0; }
.flash { background: var(--plum); color: #fff; padding: 0.8rem 1.1rem; border-radius: var(--radius); margin-bottom: 1.2rem; }
.empty { text-align: center; padding: 2.5rem 1rem; color: var(--muted); background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); }

/* buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
	background: var(--plum); color: #fff; border: 1px solid var(--plum); border-radius: 999px;
	padding: 0.6rem 1.2rem; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap;
	transition: background 0.15s, transform 0.05s;
}
.btn:hover { background: var(--plum-2); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-outline { background: transparent; color: var(--plum); }
.btn-outline:hover { background: var(--blush); }
.btn-ghost { background: transparent; color: var(--plum-2); border-color: transparent; }
.btn-ghost:hover { background: var(--blush); }
.btn-sm { padding: 0.35rem 0.85rem; font-size: 0.87rem; }
.btn-lg { padding: 0.85rem 1.6rem; font-size: 1.02rem; }
summary.btn { list-style: none; display: inline-flex; }
summary.btn::-webkit-details-marker { display: none; }

/* forms */
.field { display: flex; flex-direction: column; gap: 0.3rem; }
.field-label { font-weight: 500; font-size: 0.9rem; }
.field-hint { font-size: 0.8rem; color: var(--muted); }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea {
	font: inherit; color: inherit; background: #fff; border: 1px solid #dccfcc; border-radius: 10px; padding: 0.55rem 0.75rem; width: 100%;
}
.inline-form input:not([type=checkbox]), .inline-form select, .row > select, .row > input { width: auto; }
.inline-form .grow { flex: 1; min-width: 180px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--rose); outline-offset: 1px; border-color: transparent; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; }
.check { display: inline-flex; align-items: flex-start; gap: 0.45rem; font-size: 0.93rem; }
.check input { margin-top: 0.25rem; accent-color: var(--plum); }
.inline-form { margin: 0.6rem 0 1rem; }

/* data */
table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
th, td { text-align: left; padding: 0.6rem 0.5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
tr:last-child td { border-bottom: 0; }
.badge { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: 0.78rem; font-weight: 500; white-space: nowrap; }
.badge.ok { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.badge.warn { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.badge.bad { background: var(--bad-bg); color: var(--bad); border-color: transparent; }
.badge.info { background: var(--info-bg); color: var(--info); border-color: transparent; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.7rem 1rem; margin: 0.8rem 0; }
.facts dt { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.facts dd { margin: 0; font-weight: 500; }
.plain { list-style: none; padding: 0; margin: 0 0 0.8rem; }
.plain li { padding: 0.25rem 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0.8rem; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; text-decoration: none; color: inherit; box-shadow: var(--shadow); }
a.stat:hover { border-color: var(--rose); }
.stat-value { font-family: Fraunces, serif; font-size: 1.55rem; font-weight: 600; color: var(--plum); }
.stat-label { font-size: 0.83rem; color: var(--muted); }
.stars { color: #b8860b; font-weight: 600; font-size: 0.9rem; }
.tabs { display: flex; gap: 0.3rem; flex-wrap: wrap; }
.tabs a { padding: 0.35rem 0.9rem; border-radius: 999px; text-decoration: none; color: var(--muted); border: 1px solid var(--line); background: var(--paper); font-size: 0.9rem; }
.tabs a.active { background: var(--plum); color: #fff; border-color: var(--plum); }
details.plan { border-top: 1px solid var(--line); padding: 0.7rem 0; }
details.plan summary { cursor: pointer; font-weight: 500; }
details.plan p { margin-top: 0.6rem; }

/* professional */
.avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.avatar-initials { display: inline-flex; align-items: center; justify-content: center; background: var(--blush); color: var(--plum); font-family: Fraunces, serif; font-weight: 600; }
.pro-card { display: flex; flex-direction: column; gap: 0.4rem; }
.pro-card-head { display: flex; gap: 0.9rem; align-items: center; }
.pro-card h3 { margin: 0; }
.pro-card h3 a { text-decoration: none; color: var(--plum); }
.pro-card .facts { grid-template-columns: 1fr 1fr; font-size: 0.88rem; }
.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: 0.9rem; }
.profile { display: flex; flex-direction: column; gap: 1rem; }
.profile-head { display: flex; gap: 1.4rem; align-items: flex-start; flex-wrap: wrap; }
.profile-price { min-width: 210px; text-align: center; padding: 1rem; background: var(--cream); border-radius: var(--radius); }
.crit { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0.4rem 1.2rem; margin-bottom: 1rem; }
.crit div { display: flex; justify-content: space-between; border-bottom: 1px dotted var(--line); padding: 0.2rem 0; }
.review { margin: 0.8rem 0; padding: 0.6rem 1rem; border-left: 3px solid var(--blush); }
.search-layout { display: grid; grid-template-columns: 280px 1fr; gap: 1.5rem; align-items: start; }
.filters { position: sticky; top: 130px; }

/* agenda */
.week { display: grid; grid-template-columns: repeat(7, minmax(110px, 1fr)); gap: 0.5rem; overflow-x: auto; margin-bottom: 1rem; }
.day { background: var(--cream); border-radius: 10px; padding: 0.6rem; min-height: 90px; display: flex; flex-direction: column; gap: 0.35rem; }
.slot { display: inline-flex; align-items: center; justify-content: space-between; gap: 0.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 0.2rem 0.5rem; font-size: 0.85rem; margin: 0.2rem 0.3rem 0.2rem 0; }
.x { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 0; }
.x:hover { color: var(--bad); }
.checklist { list-style: none; padding: 0; }
.checklist li { padding: 0.25rem 0; }
.checklist li.done { color: var(--ok); }

/* negociação */
.thread { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 0.8rem; max-height: 420px; overflow-y: auto; }
.msg { background: var(--cream); padding: 0.6rem 0.9rem; border-radius: 12px; max-width: 85%; }
.msg.mine { background: var(--blush); align-self: flex-end; }

/* landing */
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; padding: 1.5rem 0 2.5rem; }
.hero h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
.hero-art svg { width: 100%; max-width: 340px; display: block; margin: auto; }
.how { margin-bottom: 1.5rem; }
.trust { margin-bottom: 2rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.ticks li::before { content: "✓ "; color: var(--ok); font-weight: 700; }
.choice { text-decoration: none; color: inherit; transition: border-color 0.15s; }
.choice:hover { border-color: var(--rose); }
.prose ul { padding-left: 1.2rem; }

@media (max-width: 860px) {
	.search-layout { grid-template-columns: 1fr; }
	.filters { position: static; }
	.hero { grid-template-columns: 1fr; }
	.hero-art { display: none; }
	.hide-sm { display: none; }
	.profile-price { width: 100%; }
}
@media print {
	.topbar, .subnav, .footer, .btn, form { display: none !important; }
	body { background: #fff; }
	.card, .stat { box-shadow: none; }
}
