/* Busca de profissionais (BUSCA_PLAN.md). Text colours checked 2026-11-21 at 4.5:1 or better on every background
   (white on the WhatsApp green 5.0:1); the bright yellow and #B8860B stay for fills only.
    Same paper world as the cartão page (pro.html): results are small
   business cards laid on a desk, each with the pro's own colour band. One look on purpose (no dark theme), like the
   cartão. No inline styles: the pro's colour is a class, the price ruler is SVG attributes. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #F5C518;
  --primary-dark: #B8860B;   /* fills only (avatar gradient); text uses --gold-text */
  --gold-text: #6f5208;
  --ink: #1A2744;
  --ink-soft: #4f586b;
  --muted: #615b4c;
  --paper: #FBF7EF;
  --bg: #EEEAE1;
  --bg-2: #E4DED1;
  --green: #15803D;
  --line: rgba(23, 34, 61, 0.14);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.55;
  background:
    radial-gradient(ellipse 1100px 520px at 50% -8%, rgba(26, 39, 68, 0.06) 0%, rgba(26, 39, 68, 0) 62%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-color: var(--bg);
  min-height: 100vh;
  padding-inline: 16px;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 8px; }
.page { max-width: 1120px; margin: 0 auto; }

/* ── Top: quiet, like the cartão ── */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 16px 6px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 14px; }
.brand img { width: 22px; height: 22px; border-radius: 6px; }
.top-link { font-size: 13px; font-weight: 700; color: var(--ink-soft); text-decoration: none; border-bottom: 1.5px solid rgba(26, 39, 68, 0.22); }


/* ── Hub hero ── */
.hero { padding-block: 26px 4px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); }
.display {
  font-family: var(--serif); font-weight: 700; font-size: clamp(36px, 7vw, 62px); line-height: 1.02;
  letter-spacing: -0.025em; margin-top: 10px; max-width: 15ch; text-wrap: balance;
}
.display em { font-style: italic; font-weight: 500; background: linear-gradient(transparent 64%, rgba(245, 197, 24, 0.6) 64%); padding-inline: 2px; }
.lede { font-size: 17px; color: var(--ink-soft); margin-top: 14px; max-width: 56ch; }

/* ── Search panel ── */
.search {
  position: relative; margin-top: 24px; background: var(--paper); border-radius: 22px; padding: 18px;
  display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 30px 60px -26px rgba(23, 34, 61, 0.38), 0 10px 24px -12px rgba(23, 34, 61, 0.16);
}
.search::before, .mc::before, .panel::before { content: ''; position: absolute; inset: 0; background-image: var(--grain); pointer-events: none; mix-blend-mode: multiply; border-radius: inherit; }
.field { position: relative; min-width: 0; }
.field label { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.04em; color: var(--ink-soft); margin-bottom: 6px; }
.field input {
  width: 100%; font: inherit; font-size: 16px; font-weight: 700; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px;
}
.field input::placeholder { color: #78725f; font-weight: 600; }
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.5); }
.hint { font-size: 12px; color: var(--muted); margin-top: 5px; font-weight: 600; }
.btn-search {
  font: inherit; font-weight: 800; font-size: 16px; background: var(--primary); color: var(--ink); border: 0;
  border-radius: 12px; padding: 14px 24px; cursor: pointer; box-shadow: 0 10px 20px -10px rgba(184, 134, 11, 0.8);
}
@media (min-width: 760px) {
  .search { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; align-items: start; padding: 20px; }
  .search .btn-search { margin-top: 24px; }
}
.search.compact { margin-top: 16px; padding: 12px; border-radius: 16px; gap: 10px; box-shadow: 0 14px 30px -22px rgba(23, 34, 61, 0.55); }
.search.compact label { font-size: 11px; margin-bottom: 4px; }
.search.compact input { padding: 10px 12px; font-size: 15px; }
.search.compact .btn-search { padding: 11px 18px; font-size: 15px; }
@media (min-width: 760px) { .search.compact .btn-search { margin-top: 19px; } }

.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: 13.5px; font-weight: 700; color: var(--ink-soft); list-style: none; }
.facts li { display: flex; align-items: center; gap: 7px; }
.facts svg { width: 16px; height: 16px; flex: none; }

/* ── Sections ── */
.section { margin-top: 46px; }
.h2 { font-family: var(--serif); font-weight: 700; font-size: 26px; letter-spacing: -0.01em; line-height: 1.15; text-wrap: balance; }
.h2-sub { color: var(--ink-soft); font-size: 14.5px; margin-top: 4px; }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 92px;
  background: var(--paper); border-radius: 14px; padding: 14px; text-decoration: none;
  box-shadow: 0 10px 22px -16px rgba(23, 34, 61, 0.5); transition: transform 0.15s ease;
}
.tile b { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 17px; line-height: 1.2; }
.tile span { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.tile:hover { transform: translateY(-2px); }

.cities { columns: 2 180px; column-gap: 28px; margin-top: 12px; }
.cities a { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px dashed var(--line); text-decoration: none; font-weight: 700; break-inside: avoid; }
.cities a span { color: var(--muted); font-variant-numeric: tabular-nums; }

.steps { display: grid; gap: 12px; margin-top: 16px; list-style: none; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { background: rgba(251, 247, 239, 0.55); border: 1.5px dashed rgba(23, 34, 61, 0.2); border-radius: 14px; padding: 16px; }
.step::before { counter-increment: step; content: counter(step); display: block; font-family: var(--serif); font-weight: 700; font-size: 30px; line-height: 1; color: var(--gold-text); }
.step b { display: block; margin-top: 8px; font-size: 16px; }
.step p { font-size: 14px; color: var(--ink-soft); margin-top: 2px; }

/* ── For pros ── */
.pro-cta {
  position: relative; overflow: hidden; margin-top: 50px; border-radius: 24px; color: #fff; padding: 26px 22px;
  background: linear-gradient(135deg, #243260 0%, #1A2744 55%, #111a2e 100%); display: grid; gap: 16px;
}
.pro-cta::after { content: ''; position: absolute; right: -96px; top: -96px; width: 170px; height: 170px; border-radius: 50%; border: 2px dashed rgba(245, 197, 24, 0.35); }
@media (min-width: 760px) { .pro-cta::after { right: -46px; top: -46px; } }
.pro-cta > div { position: relative; z-index: 1; }
.pro-cta h2 { font-family: var(--serif); font-size: 25px; line-height: 1.15; text-wrap: balance; }
.pro-cta p { color: rgba(255, 255, 255, 0.74); font-size: 14.5px; margin-top: 6px; max-width: 54ch; }
.pro-cta a { position: relative; z-index: 1; justify-self: start; background: var(--primary); color: var(--ink); font-weight: 800; text-decoration: none; border-radius: 12px; padding: 13px 20px; white-space: nowrap; }
@media (min-width: 760px) { .pro-cta { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 32px 38px; } }

.foot { padding-block: 30px 34px; text-align: center; font-size: 12.5px; color: var(--muted); }
.foot a { color: var(--ink-soft); font-weight: 700; }

/* ── Listing pages ── */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 12px; font-size: 12.5px; font-weight: 700; color: var(--muted); list-style: none; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs li + li::before { content: '›'; margin-right: 6px; }
.list-head { padding-block: 10px 0; }
.list-head h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 5.4vw, 46px); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; }
.list-head h1 em { font-style: italic; font-weight: 500; }
.list-head p { color: var(--ink-soft); margin-top: 8px; font-size: 15px; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 16px 16px 4px; margin-inline: -16px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; font-size: 13.5px; font-weight: 800; text-decoration: none; padding: 8px 13px; border-radius: 999px; background: rgba(251, 247, 239, 0.8); border: 1px solid var(--line); }
.chip i { font-style: normal; color: var(--muted); margin-left: 5px; font-variant-numeric: tabular-nums; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.on i { color: rgba(255, 255, 255, 0.6); }

.layout { display: grid; gap: 26px; margin-top: 18px; }
@media (min-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
.results { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); list-style: none; }

/* ── The mini cartão ── */
.mc {
  position: relative; display: flex; flex-direction: column; height: 100%; background: var(--paper); border-radius: 18px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 22px 40px -22px rgba(23, 34, 61, 0.45), 0 8px 18px -12px rgba(23, 34, 61, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.results > li:nth-child(3n + 1) .mc { transform: rotate(-0.5deg); }
.results > li:nth-child(3n + 2) .mc { transform: rotate(0.35deg); }
.results > li .mc:hover { transform: translateY(-3px) rotate(0deg); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 30px 50px -22px rgba(23, 34, 61, 0.5), 0 10px 20px -12px rgba(23, 34, 61, 0.2); }
.mc-band {
  --band: #1A2744;
  position: relative; display: flex; align-items: center; gap: 12px; padding: 18px 18px 24px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--band) 95%, white) 0%, var(--band) 55%, color-mix(in srgb, var(--band) 65%, black) 100%);
}
.mc-band::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 13px; background: var(--paper); border-radius: 60% 40% 0 0 / 100% 100% 0 0; }
.mc-avatar {
  width: 48px; height: 48px; border-radius: 12px; flex: none; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--primary), var(--primary-dark));
  font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--ink); box-shadow: 0 5px 12px rgba(0, 0, 0, 0.28);
}
.mc-avatar img { width: 100%; height: 100%; object-fit: contain; background: var(--band); padding: 4px; }
.mc-name {
  font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1.15; color: #fff; letter-spacing: -0.005em;
  overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mc-name.long { font-size: 16.5px; }
.mc-name a { text-decoration: none; }
.mc-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 12px 18px 18px; }
.mc-meta { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 15px; line-height: 1.3; }
.mc-meta span { font-family: var(--sans); font-style: normal; font-weight: 700; font-size: 13px; color: var(--ink-soft); }
.mc-about { font-size: 13.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mc-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: auto; padding-top: 4px; }
.btn-wa {
  display: flex; align-items: center; justify-content: center; gap: 7px; background: var(--green); color: #fff;
  font-weight: 800; font-size: 14.5px; text-decoration: none; border-radius: 11px; padding: 11px 12px;
  box-shadow: 0 8px 18px -8px rgba(21, 128, 61, 0.6);
}
.btn-wa svg { width: 17px; height: 17px; flex: none; }
.mc-actions.showcase { grid-template-columns: minmax(0, 1fr); }
.btn-card { display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13.5px; text-decoration: none; border: 1.5px solid var(--line); border-radius: 11px; padding: 10px 13px; background: rgba(255, 255, 255, 0.55); }

/* The pro's colour (the same 14 as the quote and the cartão), as classes for the page's Content-Security-Policy. */
.c-azul_marinho { --band: #1A2744; } .c-azul { --band: #1D4ED8; } .c-azul_aco { --band: #155E75; } .c-teal { --band: #0F766E; }
.c-verde { --band: #15803D; } .c-dourado { --band: #A16207; } .c-laranja { --band: #C2410C; } .c-marrom { --band: #92400E; }
.c-vermelho { --band: #B91C1C; } .c-vinho { --band: #9F1239; } .c-rosa { --band: #BE185D; } .c-roxo { --band: #6D28D9; }
.c-indigo { --band: #3730A3; } .c-grafite { --band: #1F2937; }

/* ── Side panels ── */
.aside { display: grid; gap: 18px; }
.panel { position: relative; background: var(--paper); border-radius: 18px; padding: 18px; box-shadow: 0 18px 36px -24px rgba(23, 34, 61, 0.45); }
.panel h2 { font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 1.2; text-wrap: balance; }
.panel .sub { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.price-name .sub { font-weight: 700; margin-top: 0; }
.price { margin-top: 16px; }
.price + .price { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.price-name { font-weight: 800; font-size: 14px; }
.ruler { display: block; width: 100%; height: 34px; margin-top: 6px; }
.ruler .tick { stroke: rgba(23, 34, 61, 0.28); stroke-width: 1; }
.ruler .tick.long { stroke: rgba(23, 34, 61, 0.45); }
.ruler .range { fill: var(--primary); }
.ruler .mid { fill: var(--ink); stroke: var(--paper); stroke-width: 2.5; }
.price-line { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.price-line b { color: var(--ink); font-weight: 800; }
.price-foot { font-size: 12px; color: var(--muted); margin-top: 14px; line-height: 1.45; }
.near { list-style: none; margin-top: 10px; }
.near a { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px dashed var(--line); text-decoration: none; font-weight: 700; font-size: 14.5px; }
.near a span { color: var(--muted); font-variant-numeric: tabular-nums; }

/* ── Result pages: the search folded into one line, a trust line ── */
.trust { margin-top: 6px; font-size: 13.5px; font-weight: 700; color: var(--ink-soft); }
.refine { margin-top: 16px; }
.refine > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--paper); border-radius: 14px; padding: 12px 14px; box-shadow: 0 12px 26px -20px rgba(23, 34, 61, 0.55);
}
.refine > summary::-webkit-details-marker { display: none; }
.refine-what { display: flex; align-items: center; gap: 9px; min-width: 0; font-weight: 800; font-size: 15px; }
.refine-what span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.refine-what svg { width: 18px; height: 18px; flex: none; color: var(--ink-soft); }
.refine-change { flex: none; font-size: 13.5px; font-weight: 800; color: var(--gold-text); }
.refine[open] > summary { display: none; }
.refine .search.compact { margin-top: 0; }

/* ── Search home: a few real pros (a swipeable row on a phone) ── */
.results.featured { margin-top: 16px; }
@media (max-width: 759px) {
  .results.featured {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin-inline: -16px; padding: 4px 16px 18px; scrollbar-width: none;
  }
  .results.featured::-webkit-scrollbar { display: none; }
  .results.featured > li { flex: 0 0 86%; scroll-snap-align: start; }
}

/* ── More results, empty city ── */
.more { margin-top: 22px; display: flex; justify-content: center; }
.more .btn-card { padding: 12px 20px; font-size: 14.5px; }
.notice { background: rgba(251, 247, 239, 0.7); border: 1.5px dashed rgba(23, 34, 61, 0.25); border-radius: 16px; padding: 16px 18px; margin-top: 16px; }
.notice b { display: block; font-family: var(--serif); font-size: 19px; line-height: 1.25; }
.notice p { color: var(--ink-soft); font-size: 14.5px; margin-top: 4px; }

@media (prefers-reduced-motion: reduce) {
  .tile, .mc { transition: none; }
  .tile:hover { transform: none; }
}
