/* =========================================================
   ARQUITETO ONLINE — marketplace de arquitetos freelancers
   Visual moderno e arredondado. Troque cores/fontes nos tokens.
   ========================================================= */
:root {
  /* Cores */
  --bg: #ffffff;
  --soft: #f6f5f3;           /* fundo de seções alternadas */
  --soft-2: #eeece8;
  --white: #ffffff;
  --ink: #1f1f22;            /* texto e botões principais */
  --ink-2: #57575f;
  --ink-3: #8a8a92;
  --line: #e8e6e3;
  --line-2: #d6d3cf;
  --accent: #f05a28;         /* laranja-terracota: destaques */
  --accent-2: #d9481a;
  --accent-soft: #fff0ea;
  --ok: #1f8a5b;
  --ok-soft: #e5f5ec;
  --dark: #17151a;           /* hero e seções escuras */

  /* Tons dos cartões de categoria */
  --t1: #ffe9df; --t2: #e7efff; --t3: #e6f4ea; --t4: #f2e9ff; --t5: #fff3cf; --t6: #e3f4f4;

  /* Tipografia */
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  /* Espaçamento */
  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 32px; --s6: 48px; --s7: 64px; --s8: 96px;

  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --pill: 999px;
  --shadow: 0 2px 6px rgba(20, 20, 30, .05), 0 10px 30px rgba(20, 20, 30, .07);
  --shadow-lg: 0 20px 50px rgba(20, 20, 30, .14);
  --max: 1240px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 var(--s3); font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.8rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); letter-spacing: -.03em; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 var(--s3); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--s3); }
@media (min-width: 768px) { .container { padding: 0 var(--s5); } }

/* Etiqueta em "pílula" */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 600;
  padding: 6px 14px; border-radius: var(--pill);
  background: var(--accent-soft); color: var(--accent-2);
}
.section-dark .tag, .hero .tag { background: rgba(255,255,255,.12); color: #fff; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 46px; padding: 0 22px;
  font: 600 .95rem/1 var(--font-sans);
  border-radius: var(--pill); border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none !important; transition: background .15s, border-color .15s, color .15s, transform .15s;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: #000; color: var(--white); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-2); color: var(--white); }
.btn-outline { background: var(--white); color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); padding: 0 var(--s3); }
.btn-ghost:hover { background: var(--soft); color: var(--ink); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .875rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header > .container { display: flex; align-items: center; gap: var(--s4); height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.25rem; letter-spacing: -.03em; text-decoration: none !important; }
.logo:hover { color: var(--ink); }
/* Logo: nome na frente + croqui à mão (casa e prédio) ao fundo */
.wordmark { position: relative; display: inline-block; padding: 24px 8px 6px; font-size: 1.36rem; font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.wordmark .sketch { position: absolute; left: -4px; top: -2px; width: calc(100% + 8px); height: calc(100% + 4px); color: var(--accent); opacity: .42; pointer-events: none; transition: opacity .25s, transform .25s; }
.logo:hover .sketch { opacity: .7; transform: translateY(-1px); }
.wm-text { position: relative; }
.wordmark b { font-weight: 800; color: var(--accent); }
.nav { display: none; gap: 2px; margin-left: var(--s2); }
.nav a { white-space: nowrap; color: var(--ink-2); padding: 8px 14px; border-radius: var(--pill); font-size: .93rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--soft); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: var(--s2); }
.header-actions .btn-ghost, .header-actions .btn-primary, .lang { display: none; }
.lang { white-space: nowrap; align-items: center; gap: 6px; font: 600 .82rem var(--font-sans); color: var(--ink-2); border: 0; border-radius: var(--pill); padding: 8px 12px; background: transparent; cursor: pointer; }
.lang:hover { background: var(--soft); }
.menu-toggle { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--white); border-radius: var(--pill); cursor: pointer; display: grid; place-items: center; }
.menu-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--white); padding: var(--s3) 0 var(--s4); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 12px 0; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: var(--s3); border-bottom: 0; }
.mobile-nav a.btn-primary { color: var(--white); }
@media (min-width: 1120px) {
  .nav { display: flex; }
  .header-actions .btn-ghost, .header-actions .btn-primary, .lang { display: inline-flex; }
  .menu-toggle, .mobile-nav, .mobile-nav.open { display: none; }
}

/* ---------- Hero (painel escuro arredondado) ---------- */
.hero { padding: var(--s3) 0 var(--s6); }
.hero-panel {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse at 85% 10%, rgba(240, 90, 40, .35), transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(90, 110, 255, .22), transparent 55%),
    var(--dark);
  color: #fff;
  padding: var(--s7) var(--s3) var(--s6);
  text-align: center;
}
.hero-panel .blueprint { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .16; pointer-events: none; }
.hero-inner { position: relative; max-width: 860px; margin: 0 auto; }
.hero h1 { color: #fff; margin: var(--s3) 0; }
.hero h1 em { font-style: normal; color: #ffb38f; }
.hero p.lead { font-size: 1.1rem; color: rgba(255,255,255,.78); max-width: 620px; margin: 0 auto; }
.seg {
  display: inline-flex; padding: 4px; gap: 4px; border-radius: var(--pill);
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16);
}
.seg button {
  font: 600 .88rem var(--font-sans); padding: 9px 20px; border: 0; border-radius: var(--pill);
  background: transparent; color: rgba(255,255,255,.85); cursor: pointer;
}
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.search-box {
  margin: var(--s5) auto 0; max-width: 760px; text-align: left;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(6px); border-radius: var(--radius-lg); padding: var(--s3);
}
.search { display: flex; align-items: center; gap: var(--s2); background: #f1efec; border-radius: var(--pill); padding: 6px 6px 6px 22px; }
.search input { flex: 1; min-width: 0; height: 46px; border: 0; background: transparent; font: inherit; font-size: 1rem; color: var(--ink); outline: none; }
.search input::placeholder { color: #8b8891; }
.search button { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; }
.search button:hover { background: var(--accent); }
.search button svg { width: 20px; height: 20px; }
.suggest-tabs { display: flex; justify-content: center; gap: var(--s4); margin-top: var(--s3); border-bottom: 1px solid rgba(255,255,255,.14); }
.suggest-tabs span { padding: 8px 4px; font-size: .9rem; font-weight: 600; color: #fff; border-bottom: 2px solid #fff; display: inline-flex; gap: 6px; align-items: center; }
.suggest { list-style: none; margin: 0; padding: 0; }
.suggest li a { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: 13px 8px; color: rgba(255,255,255,.88); font-size: .95rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.suggest li:last-child a { border-bottom: 0; }
.suggest li a:hover { color: #fff; background: rgba(255,255,255,.05); border-radius: 10px; }
.suggest li a::after { content: "↗"; opacity: .7; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2) var(--s4); margin-top: var(--s5); font-size: .85rem; color: rgba(255,255,255,.7); }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust span::before { content: "✓"; color: #ffb38f; font-weight: 700; }
@media (min-width: 768px) { .hero-panel { padding: var(--s8) var(--s6) var(--s7); } }

/* ---------- Seções ---------- */
.section { padding: var(--s7) 0; }
@media (min-width: 768px) { .section { padding: var(--s8) 0; } }
.section-alt { background: var(--soft); }
.section-dark { background: var(--dark); color: #ecebef; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .muted { color: #b5b3bb; }
.section-head { display: grid; gap: var(--s3); justify-items: start; margin-bottom: var(--s6); max-width: 720px; }
.section-head p { color: var(--ink-2); font-size: 1.05rem; margin: 0; }
.section-dark .section-head p { color: #b5b3bb; }
.section-head h2 { margin: 0; }

.grid { display: grid; gap: var(--s4); }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Cartões de serviços populares (coloridos) */
.tiles { display: grid; gap: var(--s3); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .tiles { grid-template-columns: repeat(6, 1fr); } }
.tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--s4);
  min-height: 170px; padding: var(--s4) 20px; border-radius: var(--radius-lg);
  color: var(--ink); font-weight: 700; font-size: 1.02rem; line-height: 1.25;
  transition: transform .2s, box-shadow .2s;
}
.tile:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow); }
.tile svg { width: 44px; height: 44px; align-self: flex-end; opacity: .85; }
.tile small { display: block; font-weight: 500; font-size: .8rem; color: var(--ink-2); margin-top: 4px; }

/* Áreas (3 especialidades) */
.area {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--s5) var(--s4); display: flex; flex-direction: column; gap: var(--s3);
  transition: box-shadow .2s, transform .2s;
}
.area:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.area .num { display: none; }
.area svg.icon { width: 52px; height: 52px; padding: 12px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); }
.area ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.area li a { display: inline-block; font-size: .83rem; font-weight: 500; padding: 6px 12px; background: var(--soft); border-radius: var(--pill); color: var(--ink-2); }
.area li a:hover { color: var(--ink); background: var(--soft-2); }

/* Passos */
.steps { counter-reset: step; display: grid; gap: var(--s3); }
.step { display: grid; grid-template-columns: 48px 1fr; gap: var(--s3); padding: var(--s4); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; }
.step h3 { margin-bottom: 4px; }
.step p { margin: 0; color: var(--ink-2); font-size: .95rem; }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(5, 1fr); }
  .step { grid-template-columns: 1fr; }
}

/* Diferenciais */
.feature { padding: var(--s4); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.section-dark .feature { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.feature svg { width: 44px; height: 44px; padding: 10px; border-radius: 14px; color: var(--accent); background: var(--accent-soft); margin-bottom: var(--s3); }
.section-dark .feature svg { background: rgba(240,90,40,.15); color: #ffb38f; }
.feature p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.section-dark .feature p { color: #b5b3bb; }

/* ---------- Cards: arquiteto / projeto ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s4); display: flex; flex-direction: column; gap: var(--s3); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.avatar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--white); background: var(--ink); flex: none; font-size: 1.05rem; }
.avatar.lg { width: 104px; height: 104px; font-size: 1.9rem; }
.fl-head { display: flex; gap: var(--s3); align-items: center; }
.fl-head h3 { margin: 0; font-size: 1.05rem; }
.fl-head p { margin: 0; font-size: .88rem; color: var(--ink-2); }
.meta { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); font-size: .83rem; color: var(--ink-2); }
.meta span { display: inline-flex; align-items: center; gap: 4px; }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: var(--pill); background: var(--soft); color: var(--ink-2); }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--accent-soft); color: var(--accent-2); }
.skills { display: flex; flex-wrap: wrap; gap: 6px; }
.skills span { font-size: .78rem; font-weight: 500; padding: 4px 10px; background: var(--soft); border-radius: var(--pill); color: var(--ink-2); }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); margin-top: auto; padding-top: var(--s3); border-top: 1px solid var(--line); }
.price { font-weight: 700; }
.price small { font-weight: 500; color: var(--ink-3); }
.stars { color: #f5a524; letter-spacing: 1px; font-size: .85rem; }

.project { gap: var(--s2); }
.project h3 { margin: 4px 0 0; font-size: 1.1rem; }
.project h3 a { color: var(--ink); }
.project h3 a:hover { color: var(--accent); }
.project p { margin: 0; color: var(--ink-2); font-size: .93rem; }

/* ---------- Listagem com filtros ---------- */
.page-head { padding: var(--s6) 0 var(--s5); background: var(--soft); border-radius: 0 0 var(--radius-xl) var(--radius-xl); }
.page-head h1 { margin-top: 14px; }
.page-head p { color: var(--ink-2); max-width: 640px; margin: 0; }
.listing { display: grid; gap: var(--s5); padding-top: var(--s5); padding-bottom: var(--s7); }
@media (min-width: 960px) { .listing { grid-template-columns: 260px 1fr; } }
.filters { display: flex; flex-direction: column; gap: var(--s4); padding: var(--s4); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); align-self: start; }
.filters fieldset { border: 0; margin: 0; padding: 0; }
.filters legend { font-size: .8rem; font-weight: 700; color: var(--ink); margin-bottom: var(--s2); }
.filters label { display: flex; gap: 10px; align-items: center; font-size: .92rem; padding: 4px 0; cursor: pointer; color: var(--ink-2); }
.filters input[type="checkbox"], .filters input[type="radio"] { accent-color: var(--accent); width: 18px; height: 18px; }
.toolbar { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; justify-content: space-between; margin-bottom: var(--s4); }
.toolbar input, .toolbar select, .field input, .field select, .field textarea {
  font: inherit; font-size: .95rem; height: 48px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: var(--pill); background: var(--white); color: var(--ink);
  transition: border-color .15s;
}
.toolbar input:focus, .toolbar select:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.toolbar input { flex: 1; min-width: 200px; background: var(--soft); border-color: transparent; }
.results { display: grid; gap: var(--s3); }
@media (min-width: 640px) { .results.cols { grid-template-columns: repeat(2, 1fr); } }
.empty { padding: var(--s6); text-align: center; border: 1.5px dashed var(--line-2); border-radius: var(--radius-lg); color: var(--ink-2); }
.filters-toggle { display: inline-flex; }
@media (min-width: 960px) { .filters-toggle { display: none; } }
@media (max-width: 959px) { .filters { display: none; } .filters.open { display: flex; } }

/* ---------- Perfil ---------- */
.profile-top { display: grid; gap: var(--s5); padding: var(--s5) 0 var(--s6); }
@media (min-width: 960px) { .profile-top { grid-template-columns: 1fr 340px; align-items: start; } }
.profile-id { display: flex; gap: var(--s4); align-items: flex-start; flex-wrap: wrap; }
.profile-id h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 4px; }
.hire-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s4); display: grid; gap: var(--s3); box-shadow: var(--shadow); position: sticky; top: calc(var(--header-h) + 16px); }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 8px var(--s3); font-size: .92rem; margin: 0; }
.kv dt { color: var(--ink-2); } .kv dd { margin: 0; font-weight: 600; text-align: right; }
.portfolio { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pf-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .2s; }
.pf-item:hover { box-shadow: var(--shadow); }
.pf-thumb { aspect-ratio: 4 / 3; background: var(--soft); display: grid; place-items: center; color: var(--ink-3); }
.pf-thumb svg { width: 100%; height: 100%; }
.pf-item .cap { padding: 12px var(--s3) 16px; font-size: .92rem; font-weight: 600; }
.pf-item .cap span { display: block; font-size: .78rem; font-weight: 400; color: var(--ink-3); }
.review { padding: var(--s4); margin-bottom: var(--s3); background: var(--soft); border-radius: var(--radius-lg); }

/* ---------- Formulários ---------- */
.form-wrap { max-width: 760px; margin: 0 auto; padding-top: var(--s6); padding-bottom: var(--s8); }
.progress { display: flex; gap: 6px; margin: var(--s4) 0 var(--s5); }
.progress span { flex: 1; height: 6px; border-radius: var(--pill); background: var(--soft-2); }
.progress span.on { background: var(--accent); }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: var(--s5) var(--s4); box-shadow: var(--shadow); }
@media (min-width: 768px) { .panel { padding: var(--s6); } }
.field { display: grid; gap: 6px; margin-bottom: var(--s4); }
.field label { font-weight: 600; font-size: .93rem; }
.field .hint { font-size: .82rem; color: var(--ink-3); }
.field input, .field select, .field textarea { width: 100%; }
.field textarea { height: auto; min-height: 140px; padding: 14px 18px; resize: vertical; line-height: 1.5; border-radius: var(--radius-lg); }
.field input[type="file"] { border-radius: var(--radius); border-style: dashed; }
.field-row { display: grid; gap: 0 var(--s3); }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.choice-grid { display: grid; gap: var(--s2); grid-template-columns: 1fr; }
@media (min-width: 640px) { .choice-grid { grid-template-columns: repeat(3, 1fr); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice label { display: block; height: 100%; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: var(--s3) 18px; cursor: pointer; font-weight: 400; transition: border-color .15s, background .15s; }
.choice label:hover { border-color: var(--line-2); }
.choice label b { display: block; font-weight: 700; margin-bottom: 2px; }
.choice label span { font-size: .85rem; color: var(--ink-2); }
.choice input:checked + label { border-color: var(--ink); background: var(--soft); }
.choice input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-nav { display: flex; justify-content: space-between; gap: var(--s2); margin-top: var(--s5); }
.notice { padding: var(--s3) 20px; background: var(--accent-soft); font-size: .92rem; border-radius: var(--radius-lg); color: #6b2a12; }
.notice.ok { background: var(--ok-soft); color: #134d33; }
.notice.warn { background: #fff4d6; color: #6b4a00; }
.notice.warn a { color: inherit; text-decoration: underline; }
.tabs { display: flex; padding: 4px; gap: 4px; background: var(--soft); border-radius: var(--pill); margin-bottom: var(--s4); }
.tabs button { flex: 1; padding: 10px; border: 0; background: transparent; font: 600 .92rem var(--font-sans); color: var(--ink-2); border-radius: var(--pill); cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--ink); background: var(--white); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px !important; height: 18px !important; margin-top: 3px; accent-color: var(--accent); flex: none; }
.chip-check { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check label { position: relative; font-weight: 500; }
.chip-check input { position: absolute; opacity: 0; }
.chip-check span { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: var(--pill); font-size: .88rem; cursor: pointer; color: var(--ink-2); }
.chip-check input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-check input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Escolha de tipo de conta */
.role-grid { display: grid; gap: var(--s4); }
@media (min-width: 768px) { .role-grid { grid-template-columns: 1fr 1fr; } }
.role {
  display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5) var(--s4);
  border-radius: var(--radius-xl); border: 1.5px solid var(--line); background: var(--white);
  color: var(--ink); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.role:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--ink); }
.role .ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; }
.role .ico svg { width: 42px; height: 42px; }
.role h2 { font-size: 1.5rem; margin: 0; }
.role ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--ink-2); font-size: .95rem; }
.role li::before { content: "✓  "; color: var(--accent); font-weight: 700; }
.role .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Pagamento / taxas ---------- */
.flow { display: grid; gap: var(--s3); }
@media (min-width: 960px) { .flow { grid-template-columns: repeat(3, 1fr); } }
.flow-box { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s4); background: var(--white); position: relative; }
.flow-box .who { font-size: .78rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.flow-box.mid { background: var(--dark); color: #fff; border-color: var(--dark); }
.flow-box.mid .muted { color: #c9c7cf; }
.flow-box.mid .who { color: #ffb38f; }
.calc { display: grid; gap: var(--s4); }
@media (min-width: 960px) { .calc { grid-template-columns: 1fr 1fr; align-items: start; } }
.calc-out { font-size: .95rem; background: var(--soft); border-radius: var(--radius-lg); padding: var(--s3) var(--s4); }
.calc-out div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line-2); }
.calc-out div.total { border-bottom: 0; font-weight: 700; }
.plans { display: grid; gap: var(--s3); }
@media (min-width: 960px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--white); padding: var(--s5) var(--s4); display: flex; flex-direction: column; gap: var(--s3); }
.plan.hl { background: var(--dark); color: #fff; border-color: var(--dark); box-shadow: var(--shadow-lg); }
.plan.hl .muted, .plan.hl ul { color: #c9c7cf; }
.plan.hl .btn-primary { background: var(--accent); }
.plan .big { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; }
.plan ul { padding: 0; margin: 0; list-style: none; display: grid; gap: 8px; font-size: .92rem; color: var(--ink-2); }
.plan li::before { content: "✓  "; color: var(--accent); font-weight: 700; }
.plan .btn { margin-top: auto; }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px var(--s4); margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s3); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); font-size: 1.1rem; color: var(--ink-2); }
.faq details[open] summary::after { content: "−"; background: var(--ink); color: #fff; }
.faq details p { margin: var(--s2) 0 0; color: var(--ink-2); }

/* CTA final */
.cta-panel { border-radius: var(--radius-xl); background: var(--dark); color: #fff; padding: var(--s6) var(--s4); display: grid; gap: var(--s4); align-items: center; position: relative; overflow: hidden;
  background-image: radial-gradient(ellipse at 100% 0%, rgba(240,90,40,.4), transparent 60%); }
.cta-panel h2 { color: #fff; }
@media (min-width: 960px) { .cta-panel { grid-template-columns: 1fr auto; padding: var(--s7) var(--s6); } }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s2); }
.cta-panel .btn-outline, .section-dark .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.cta-panel .btn-outline:hover, .section-dark .btn-outline:hover { border-color: #fff; color: #fff; }
.cta-panel .btn-primary, .section-dark .btn-primary { background: #fff; color: var(--ink); }
.cta-panel .btn-primary:hover, .section-dark .btn-primary:hover { background: var(--accent); color: #fff; }
.cta-panel .muted { color: #c9c7cf; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: var(--s6) 0 var(--s4); font-size: .92rem; color: var(--ink-2); }
.footer-grid { display: grid; gap: var(--s5); grid-template-columns: 1fr 1fr; }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 960px) { .footer-grid > div:first-child { grid-column: auto; } }
.footer-grid h4 { font-size: .9rem; color: var(--ink); font-weight: 700; letter-spacing: 0; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--ink-2); }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); margin-top: var(--s6); padding-top: var(--s3); border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-3); }

/* Aviso de protótipo */
.demo-note { font-size: .78rem; color: var(--ink-2); text-align: center; padding: 7px var(--s3); background: var(--accent-soft); }

/* Planta da seção "como funciona" */
.sheet { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: var(--s4); }
.sheet-title { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: .72rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; border-bottom: 1px solid var(--line); padding-bottom: var(--s2); margin-bottom: var(--s3); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--white); padding: 12px 22px; border-radius: var(--pill); font-size: .9rem; opacity: 0; pointer-events: none; transition: .25s; z-index: 100; max-width: calc(100% - 32px); box-shadow: var(--shadow-lg); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Animações */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tile:hover, .card:hover, .role:hover, .area:hover { transform: none; }
}

/* ---------- Pagamento dentro do site ---------- */
.pay-card { border: 1px solid var(--line, #e6e6e6); border-radius: 16px; padding: 16px; background: #fff; }
.pay-tabs { display: flex; gap: 6px; margin-bottom: 16px; background: #f3f1ee; border-radius: 999px; padding: 4px; width: max-content; max-width: 100%; }
.pay-tab { border: 0; background: transparent; font: inherit; font-weight: 600; padding: 6px 16px; border-radius: 999px; cursor: pointer; color: inherit; }
.pay-tab.on { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.pay-pane { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.pay-pane[hidden] { display: none; }
.pay-pane > div { flex: 1; min-width: 220px; }
.pay-qr { width: 168px; height: 168px; border-radius: 12px; border: 1px solid var(--line, #eee); }
.pay-code { display: block; font-family: "IBM Plex Mono", monospace; font-size: .78rem; word-break: break-all; background: #f7f6f4; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; max-height: 84px; overflow: auto; }
.linkish { border: 0; background: none; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; font-weight: 600; }
.arq-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.arq-list li { overflow-wrap: anywhere; }
/* ---------- Textos longos (termos, privacidade) ---------- */
.prose { max-width: 760px; padding-top: 40px; padding-bottom: 96px; line-height: 1.7; }
.prose h2 { font-size: 1.25rem; margin: 40px 0 12px; }
.prose ul { padding-left: 20px; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent); }
/* ---------- Faixa da fase de testes ---------- */
.test-bar { background: #1d1d1b; color: #fff; font-size: .82rem; text-align: center; padding: 8px 16px; line-height: 1.4; }
.test-bar strong { color: #ffb38f; }