/* ============================================================
   gente curando gente — identidade visual
   Orgânica / editorial-wellness · verde folha + areia + marsala + mel
   Tipografia: Fraunces (títulos) + Mulish (corpo)
   Sem terracota, sem rosa, sem preto — tom mais escuro = --folha-700.
   ============================================================ */

:root {
  /* fontes */
  --font-display: "Fraunces", Georgia, serif;                       /* títulos */
  --font-body: "Mulish", system-ui, -apple-system, sans-serif;      /* texto */
  --font-quote: "Fraunces", Georgia, serif;                         /* charmes / citações (itálico) */

  /* === tokens de cor oficiais (v2) ===
     Roxo predominante · verde nos detalhes · dourado como faísca · nada de preto. */
  /* ROXO — cor predominante (vinho/ameixa) */
  --roxo:#4b1e3d;          /* vivo e profundo: texto, títulos, faixas, rodapé, botões, logo */
  --roxo-vivo:#5E2A4D;     /* hover dos botões (um respiro acima do roxo, nunca mais escuro) */
  --roxo-medio:#8D7A8F;    /* malva médio: links, hovers, acentos, tags */
  --roxo-marca:#6C4B74;    /* intermediário do "gente" na marca: nem claro demais, nem o roxo cheio */
  --roxo-claro:#C9BDC9;    /* malva claro: fundos de seção suaves, tints */
  --roxo-tint:#EBE5EC;     /* malva bem pálido p/ fundos soft (derivado) */
  /* VERDE — só em detalhes */
  --verde:#5E6B4A;         /* ícones, tags pequenas, pontos do rizoma, ok/sucesso */
  --verde-fechado:#4A553B; /* verde mais escuro p/ texto de tag */
  --verde-claro:#9DB089;
  /* DOURADO — faísca de calor (parcimônia!) */
  --ouro:#C2A04A;          /* selos, destaques, 1 ponto do rizoma; em formas/ícones, nunca como texto */
  /* BASE CLARA */
  --claro:#F3F0EA;         /* fundo geral */
  --superficie:#FCFAF5;    /* cards */
  --borda:#E2DCD3;         /* bordas / divisórias */
  --taupe:#6E5F6E;         /* texto secundário, malva acinzentado */
  /* Semânticos */
  --sucesso:#5E6B4A; --aviso:#C2A04A;

  /* Aliases de uso — roxo lidera; verde tempero; dourado faísca */
  --bg:var(--claro); --surface:var(--superficie); --border:var(--borda);
  --text:var(--roxo); --text-muted:var(--taupe); --heading:var(--roxo);
  --brand:var(--verde);                                  /* verde — só detalhes (ícones, tags, rizoma) */
  --primary:var(--roxo); --primary-hover:var(--roxo-vivo);
  --accent:var(--roxo); --accent-hover:var(--roxo-vivo); --accent-soft:var(--roxo-claro);
  --lilas:var(--roxo-claro); --mel:var(--ouro);

  /* compatibilidade: nomes antigos -> novos tokens */
  --cream: var(--claro);
  --cream-2: var(--roxo-tint);
  --card: var(--surface);
  --line: var(--border);
  --ink: var(--text);
  --ink-soft: var(--text-muted);
  --title: var(--heading);
  --terracota: var(--primary);          /* roxo — botões/bordas de marca */
  --terracota-dark: var(--primary-hover);
  --salvia: var(--brand);
  --salvia-dark: var(--verde-fechado);
  --ameixa: var(--accent);              /* roxo — acento forte */
  --dourado: var(--ouro);
  --folha-700: var(--verde-fechado);    /* usado em tags de seção */
  --shadow: 0 22px 40px -28px rgba(75, 29, 90, 0.40);
  --shadow-sm: 0 12px 26px -20px rgba(75, 29, 90, 0.34);
  --radius: 20px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.14;
  color: var(--title);
  margin: 0 0 .4em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }

a { color: var(--terracota-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

p { margin: 0 0 1em; }

/* ---------- seletor de idioma (fixo, topo-esquerda) ---------- */
.lang-switch {
  position: fixed; top: .55rem; left: .6rem; z-index: 60;
  display: flex; gap: 2px; padding: 2px;
  background: rgba(250, 244, 236, 0.92); backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm);
}
.lang-switch button {
  border: none; background: transparent; cursor: pointer;
  font-family: var(--font-body); font-weight: 800; font-size: .72rem;
  letter-spacing: .04em; color: var(--ink-soft);
  padding: .25rem .55rem; border-radius: 999px; line-height: 1;
}
.lang-switch button.active { background: var(--accent); color: #fff; }
.lang-switch button:not(.active):hover { color: var(--accent); }

/* ---------- topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: .7rem 1.4rem .7rem 4.3rem;
  background: rgba(250, 244, 236, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .5rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 36px; height: 30px; display: block; }
.brand-name { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; color: var(--text); }
.brand-name .gente { font-style: italic; color: var(--roxo-marca); }
.brand-name .curando { font-style: italic; color: var(--verde); }
.topnav { display: flex; gap: 1.2rem; margin-left: .5rem; }
.topnav a {
  color: var(--ink-soft);
  font-weight: 600;
  padding: .3rem .2rem;
  border-bottom: 2px solid transparent;
}
.topnav a:hover { color: var(--terracota-dark); text-decoration: none; border-bottom-color: var(--terracota); }
.topbar-user { margin-left: auto; display: flex; align-items: center; gap: .6rem; }
.avatar-menu { position: relative; }
.avatar-btn { background: none; border: none; cursor: pointer; padding: 0; border-radius: 50%; line-height: 0; }
.avatar-drop {
  position: absolute; right: 0; top: calc(100% + .5rem); z-index: 60; min-width: 210px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: .4rem; display: none; flex-direction: column;
}
.avatar-menu.open .avatar-drop { display: flex; }
.avatar-drop-nome { font-weight: 800; color: var(--roxo); padding: .5rem .7rem .3rem; font-size: .9rem; }
.avatar-drop a, .avatar-drop button {
  display: flex; align-items: center; gap: .55rem; text-align: left; width: 100%;
  background: none; border: none; cursor: pointer; font: inherit; color: var(--ink);
  padding: .55rem .7rem; border-radius: var(--radius-sm); text-decoration: none;
}
.avatar-drop a:hover, .avatar-drop button:hover { background: var(--cream-2); text-decoration: none; }
.avatar-drop .ico { width: 1.05rem; height: 1.05rem; color: var(--brand); }
.topbar-user .mini-avatar {
  width: 34px; height: 34px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--dourado);
}

/* ---------- app shell ---------- */
.app { flex: 1; width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 2rem 1.4rem 3.5rem; }
.wrap-narrow { max-width: 680px; }

.footer {
  text-align: center;
  padding: 2rem 1.6rem;
  color: rgba(255, 255, 255, .82);
  font-size: .85rem;
  background: var(--accent);
}
.footer p { margin: 0; }
.footer .footer-frase { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: #fff; margin-bottom: .4rem; }
.footer .footer-leaf { width: 1em; height: 1em; color: var(--mel); opacity: .9; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--brand); color: var(--primary-hover); }
.btn-sage { background: var(--accent); color: #fff; }
.btn-sage:hover { background: var(--accent-hover); }
.btn-verde { background: var(--verde); color: #fff; box-shadow: var(--shadow-sm); }
.btn-verde:hover { background: var(--verde-fechado); }
.btn-ghost { background: transparent; color: var(--ink-soft); padding: .5rem .8rem; }
.btn-block { width: 100%; }
.btn-lg { font-size: 1.1rem; padding: 1rem 2rem; }
.btn-sm { font-size: .8rem; padding: .35rem .7rem; }
.invite-list { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- landing ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(75,29,90,.12), transparent),
    radial-gradient(900px 500px at 0% 110%, rgba(141,122,143,.16), transparent),
    var(--cream);
  padding: 2rem 1.4rem;
}
.hero-rizoma { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .08; pointer-events: none; }
.hero-inner { position: relative; max-width: 760px; text-align: center; }
.hero-logo { width: 104px; height: 87px; margin: 0 auto 1.2rem; display: block; }
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}
.hero h1 { font-style: italic; }
.hero h1 em { font-style: normal; color: var(--verde); }
.hero h1 .gente { color: var(--roxo); }
.hero .lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 560px; margin: 1rem auto 2.2rem; }
.hero .lead-intro { font-size: 1.32rem; color: var(--ink); max-width: 600px; margin: 1rem auto .6rem; line-height: 1.5; }
.hero .lead-cta { max-width: 640px; margin: .6rem auto 2.2rem; }
.hero .lead-cta p { font-size: 1.18rem; color: var(--ink); margin: .35rem 0; line-height: 1.5; }
.hero .lead-cta b { color: var(--accent); font-weight: 800; }
@media (max-width: 600px) { .hero .lead-cta p { font-size: 1.05rem; } }

.entry-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}
.entry-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s, border-color .15s;
  cursor: pointer;
}
.entry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--dourado); }
.entry-card .emoji { font-size: 2.6rem; }
.entry-card .entry-ico { width: 46px; height: 46px; margin: 0 auto; color: var(--brand); }
.entry-card .entry-ico svg { width: 100%; height: 100%; display: block; }
.entry-card h3 { margin: .6rem 0 .3rem; }
.entry-card p { color: var(--ink-soft); font-size: .95rem; min-height: 3em; }

/* ---------- o que você encontra (landing) ---------- */
.encontra { max-width: 980px; margin: 0 auto; padding: 3.5rem 1.5rem 1rem; }
.sec-head { text-align: center; max-width: 620px; margin: 0 auto 2.4rem; }
.sec-head .tag {
  display: inline-block; background: rgba(84,126,72,.14); color: var(--folha-700);
  font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1rem;
}
.sec-head h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 .4rem; }
.sec-head p { color: var(--ink-soft); margin: 0; }
.encontra-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.encontra-col {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem; box-shadow: var(--shadow-sm); text-align: left;
}
.encontra-col h3 { font-size: 1.4rem; margin: 0 0 .25rem; }
.encontra-col .who { color: var(--ink-soft); font-size: .92rem; margin: 0 0 1.3rem; }
.encontra-col .feat {
  display: flex; gap: .85rem; align-items: flex-start;
  padding: .7rem 0; border-top: 1px solid var(--line);
}
.encontra-col .feat:first-of-type { border-top: none; }
.encontra-col .feat-ico { width: 24px; height: 24px; flex: none; color: var(--brand); margin-top: .1rem; }
.encontra-col .feat-ico .ico { width: 100%; height: 100%; vertical-align: top; }
.encontra-col .feat b { font-weight: 700; color: var(--title); display: block; }
.encontra-col .feat span { display: block; color: var(--ink-soft); font-size: .9rem; }
@media (max-width: 680px) { .encontra-cols { grid-template-columns: 1fr; } }

/* ---------- ícones de linha (svg .ico) ---------- */
.ico { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -0.18em; flex: none; }
.h1-ico, .h3-ico { display: inline-flex; align-items: center; gap: .5rem; }
.h1-ico .ico { width: 1.05em; height: 1.05em; color: var(--brand); }
.h3-ico .ico { color: var(--brand); }
.pill-ico { display: inline-flex; align-items: center; gap: .3rem; }
.pill-ico .ico { width: .95em; height: .95em; }
.match-lead { display: inline-flex; align-items: center; gap: .4rem; }
.invite-status .ico { width: 1em; height: 1em; color: var(--brand); }
.footer-leaf { width: 1em; height: 1em; color: var(--brand); opacity: .8; }
@keyframes ico-spin { to { transform: rotate(360deg); } }
.emoji.spin .ico { animation: ico-spin 1.6s linear infinite; }

/* ---------- cards / paineis ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.card + .card { margin-top: 1.2rem; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.muted { color: var(--ink-soft); }
.pill {
  display: inline-block;
  background: var(--cream-2);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: .25rem .7rem;
  font-size: .82rem;
  font-weight: 600;
  margin: 0 .35rem .35rem 0;
}
.pill-sage { background: rgba(84,126,72,.14); border-color: rgba(84,126,72,.32); color: var(--salvia-dark); }
.pill-terra { background: rgba(141,122,143,.18); border-color: rgba(141,122,143,.36); color: var(--roxo); }
.pill-ghost { background: transparent; border-style: dashed; color: var(--roxo-medio); }

/* ---------- formulários ---------- */
.form-grid { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
label.field { display: block; }
.field > span.label {
  display: block;
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: .35rem;
  color: var(--ink);
}
.field .hint { font-weight: 400; color: var(--ink-soft); font-size: .82rem; }
input[type=text], input[type=email], input[type=date], input[type=url], input[type=number],
textarea, select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .7rem .85rem;
  transition: border-color .12s, box-shadow .12s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--terracota);
  box-shadow: 0 0 0 3px rgba(65,102,58,.20);
}
textarea { resize: vertical; min-height: 90px; }
.char-count { text-align: right; font-size: .78rem; color: var(--ink-soft); margin-top: .25rem; }

/* campo de senha com botão "olho" */
.pwd-wrap { position: relative; display: block; }
.pwd-wrap input { padding-right: 2.8rem; }
.pwd-eye {
  position: absolute; top: 50%; right: .5rem; transform: translateY(-50%);
  width: 2rem; height: 2rem; padding: 0; display: grid; place-items: center;
  background: none; border: none; cursor: pointer; color: var(--ink-soft);
  border-radius: 50%;
}
.pwd-eye:hover { color: var(--roxo); background: var(--cream-2); }
.pwd-eye svg { width: 1.2rem; height: 1.2rem; }

/* botão de moderação (apagar) — community manager / autor */
.mod-del {
  background: none; border: none; cursor: pointer; padding: .15rem;
  color: var(--ink-soft); opacity: .55; vertical-align: middle;
  margin-left: .4rem; border-radius: 6px; line-height: 0;
  transition: color .12s, opacity .12s, background .12s;
}
.mod-del:hover { color: #b3402e; opacity: 1; background: rgba(179,64,46,.10); }
.mod-del svg { width: 1.05rem; height: 1.05rem; }

/* intro dos fóruns (duas linhas com ícone) */
.forum-intro { display: grid; gap: .7rem; margin: 0 0 1.6rem; }
.forum-intro .fi-line { display: flex; gap: .7rem; align-items: flex-start; }
.forum-intro .fi-line p { margin: 0; color: var(--ink-soft); font-size: .94rem; line-height: 1.5; }
.forum-intro .fi-ico {
  flex: 0 0 auto; width: 2.1rem; height: 2.1rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--roxo-tint); color: var(--roxo);
}
.forum-intro .fi-ico svg { width: 1.25rem; height: 1.25rem; }

/* destaque de campo obrigatório não preenchido */
.field-erro { outline: 2px solid #C2486B; outline-offset: 2px; border-radius: var(--radius-sm); }

/* multiselect de especialidades (acordeão compacto) */
.multiselect { border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .6rem; background: #fff; }
.multiselect .ms-searchrow { display: flex; gap: .4rem; align-items: stretch; margin-bottom: .5rem; }
.multiselect .ms-searchrow .ms-search { flex: 1; margin-bottom: 0; }
.multiselect .ms-search { border: 1.5px solid var(--line); padding: .5rem .6rem; margin-bottom: .5rem; }
.multiselect .ms-add {
  flex: 0 0 auto; border: 1.5px solid var(--verde); background: var(--verde); color: #fff;
  border-radius: var(--radius-sm); padding: 0 .8rem; font-weight: 700; font-size: .82rem; cursor: pointer; white-space: nowrap;
}
.multiselect .ms-add:hover { background: var(--verde-fechado); }
.chip-add-row { display: inline-flex; gap: .35rem; align-items: center; }
.chip-add-input { border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .3rem .55rem; font-size: .85rem; width: 150px; }
.chip-add-btn { border: 1.5px solid var(--verde); background: transparent; color: var(--verde-fechado); border-radius: 999px; padding: .25rem .7rem; font-weight: 700; font-size: .8rem; cursor: pointer; }
.chip-add-btn:hover { background: var(--verde); color: #fff; }
.ms-selected { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .5rem; }
.ms-selected:empty { display: none; }
.ms-groups { border-top: 1px solid var(--line); }
.ms-group { border-bottom: 1px solid var(--line); }
.ms-group-title {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; user-select: none;
  font-weight: 700; font-size: .9rem; color: var(--ink);
  padding: .55rem .2rem;
}
.ms-group-title:hover { color: var(--terracota-dark); }
.ms-gcount { color: var(--ink-soft); font-weight: 700; font-size: .85rem; }
.ms-gcount b { color: var(--terracota); }
.ms-options { display: none; flex-wrap: wrap; gap: .4rem; padding: 0 0 .6rem; }
.ms-group.open .ms-options { display: flex; }
.ms-group.open .ms-caret { transform: rotate(180deg); }
.ms-caret { display: inline-block; transition: transform .15s; }
.ms-chip {
  border: 1.5px solid var(--line);
  background: var(--cream);
  border-radius: 999px;
  padding: .3rem .7rem;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: all .1s;
}
.ms-chip:hover { border-color: var(--terracota); }
.ms-chip.selected { background: var(--terracota); color: #fff; border-color: var(--terracota); }
.chip-picker { display: flex; flex-wrap: wrap; gap: .4rem; }

/* avatar uploader */
.avatar-uploader { display: flex; align-items: center; gap: 1rem; }
.avatar-preview {
  width: 92px; height: 92px; border-radius: 50%;
  object-fit: cover; background: var(--cream-2);
  border: 3px solid var(--dourado);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
}
.avatar-preview .ico { width: 34px; height: 34px; }
/* foto carregada dentro do preview (wizard/editar): contém no círculo */
.avatar-preview img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }

/* ---------- onboarding (estilo Preply) ---------- */
.onb { max-width: 620px; margin: 0 auto; padding: 2.4rem 1.4rem 3rem; }
.onb-progress { height: 8px; background: var(--cream-2); border-radius: 999px; overflow: hidden; margin-bottom: 2rem; }
.onb-progress > i { display: block; height: 100%; background: linear-gradient(90deg, var(--dourado), var(--terracota)); transition: width .3s ease; }
.onb-step { text-align: center; animation: fade .25s ease; }
.onb-step h2 { margin-bottom: .3rem; }
.onb-step .sub { color: var(--ink-soft); margin-bottom: 1.8rem; }
.onb-options { display: grid; gap: .8rem; text-align: left; }
.onb-option {
  display: flex; align-items: center; gap: .9rem;
  border: 2px solid var(--line);
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  cursor: pointer;
  font-weight: 600;
  transition: all .12s;
}
.onb-option:hover { border-color: var(--terracota); transform: translateY(-1px); }
.onb-option.selected { border-color: var(--terracota); background: rgba(84,126,72,.09); box-shadow: var(--shadow-sm); }
.onb-option .opt-emoji { display: inline-flex; color: var(--brand); }
.onb-option .opt-emoji .ico { width: 26px; height: 26px; }
.onb-option.selected .opt-emoji { color: var(--accent); }
.onb-nav { display: flex; justify-content: space-between; margin-top: 2rem; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* wizard de cadastro do profissional */
.wiz { max-width: 640px; margin: 0 auto; padding: 1.6rem 1.4rem 3rem; }
.wiz .step-label { text-align: center; color: var(--ink-soft); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.2rem; }
.wiz-step { animation: fade .25s ease; }
.wiz-step h2 { margin-bottom: .2rem; }
.wiz-step .step-sub { color: var(--ink-soft); margin-bottom: 1.4rem; }
.wiz-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; }
.field-guide {
  background: rgba(84,126,72,.10); border: 1px solid rgba(84,126,72,.26);
  border-radius: var(--radius-sm); padding: .6rem .8rem; font-size: .85rem;
  color: var(--salvia-dark); margin-bottom: .5rem;
}

/* ---------- perfil estilo Orkut ---------- */
.profile-grid { display: grid; grid-template-columns: 300px 1fr; gap: 1.4rem; align-items: start; }
@media (max-width: 820px) { .profile-grid { grid-template-columns: 1fr; } }
.profile-side { display: grid; gap: 1.2rem; }
.profile-photo-card { text-align: center; }
.profile-photo {
  width: 100%; max-width: 220px; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius-sm);
  border: 4px solid var(--card);
  box-shadow: var(--shadow);
  background: var(--cream-2);
  margin: 0 auto .8rem;
}
.profile-name { font-family: var(--font-display); font-size: 1.7rem; margin: 0; }
.profile-tagline { color: var(--ink-soft); font-size: .92rem; }
.profile-quote {
  font-family: var(--font-quote); font-style: italic; font-size: 1.3rem;
  color: var(--ameixa); margin: .7rem 0 0; line-height: 1.35;
}
.quote-author {
  display: block; margin-top: .5rem; font-style: normal; font-family: var(--font-body, inherit);
  font-size: .85rem; font-weight: 600; color: var(--roxo-medio);
}

/* vídeo de apresentação no perfil */
.profile-video { padding: .5rem; }
.video-embed { position: relative; width: 100%; padding-top: 56.25%; border-radius: var(--radius-sm); overflow: hidden; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* card de convites (indicação) */
.invite-card { border: 1px dashed var(--dourado); background: rgba(194,160,74,.12); }
.invite-row {
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .55rem .7rem; background: var(--card); margin-top: .5rem;
}
.invite-row code {
  font-family: ui-monospace, monospace; font-weight: 700; color: var(--terracota-dark);
  background: var(--cream-2); padding: .15rem .5rem; border-radius: 6px;
}
.invite-row.used { opacity: .55; }
.invite-row .invite-status { margin-left: auto; font-size: .8rem; font-weight: 700; }
.stat-list { list-style: none; padding: 0; margin: 0; }
.stat-list li {
  display: flex; justify-content: space-between; gap: .9rem; align-items: baseline;
  flex-wrap: wrap; padding: .45rem 0; border-bottom: 1px dashed var(--line); font-size: .92rem;
}
.stat-list li:last-child { border-bottom: none; }
.stat-list li > span { flex: 0 0 auto; color: var(--ink-soft); }
.stat-list li b {
  color: var(--salvia-dark); text-align: right; min-width: 0;
  word-break: break-word; overflow-wrap: anywhere;
}
.stat-list li b a { word-break: break-word; overflow-wrap: anywhere; }

.about-box p { white-space: pre-wrap; }

/* depoimentos (scraps) */
.scrap {
  display: flex; gap: .8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .9rem 1rem;
  background: var(--cream);
}
.scrap + .scrap { margin-top: .8rem; }
.scrap .scrap-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--cream-2); object-fit: cover;
  display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--ink-soft);
}
.scrap .scrap-body { flex: 1; }
.scrap .scrap-author { font-weight: 700; font-size: .9rem; }
.scrap .scrap-date { color: var(--ink-soft); font-size: .76rem; }

/* ---------- diretório / comunidade ---------- */
.directory-toolbar { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.4rem; }
.directory-toolbar input, .directory-toolbar select { max-width: 280px; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.pro-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .14s, box-shadow .14s, border-color .14s;
  cursor: pointer;
}
.pro-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--dourado); }
.pro-card .pro-avatar {
  width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
  border: 3px solid var(--dourado); background: var(--cream-2); margin: 0 auto .7rem;
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--ink-soft);
}
.pro-card h4 { margin: .2rem 0; font-family: var(--font-body); font-weight: 800; font-size: 1.02rem; }
.pro-card .pro-specs { font-size: .82rem; color: var(--ink-soft); min-height: 2.4em; }
/* versão compacta (diretório): mais carinhas por linha, só foto + nome + especialidade */
.pro-card.mini { padding: .9rem .7rem 1rem; }
.pro-card.mini .pro-avatar { width: 64px; height: 64px; border-width: 2px; margin-bottom: .5rem; font-size: 1.3rem; }
.pro-card.mini h4 { font-size: .92rem; line-height: 1.2; }
.pro-card.mini .pro-specs { min-height: 0; margin-top: .2rem; font-size: .78rem; }

/* ---------- fóruns ---------- */
.forum-list { display: grid; gap: 1rem; }
.forum-cat {
  display: flex; gap: 1rem; align-items: center;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.2rem 1.4rem; cursor: pointer;
  transition: border-color .14s, transform .14s;
}
.forum-cat:hover { border-color: var(--terracota); transform: translateX(2px); }
.forum-cat .fc-emoji { display: inline-flex; color: var(--brand); }
.forum-cat .fc-emoji .ico { width: 30px; height: 30px; }
.forum-cat .fc-meta { margin-left: auto; text-align: right; color: var(--ink-soft); font-size: .85rem; }

/* fóruns em quadrados (grid, ordenados pela última atividade) */
.forum-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.forum-card {
  display: flex; flex-direction: column; gap: .4rem;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.3rem 1.3rem 1.1rem; cursor: pointer;
  transition: border-color .14s, transform .14s, box-shadow .14s;
}
.forum-card:hover { border-color: var(--terracota); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.forum-card .fc-nome { font-weight: 800; font-size: 1.05rem; color: var(--ink); line-height: 1.3; }
.forum-card .fc-snippet { color: var(--ink-soft); font-size: .88rem; line-height: 1.4; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.forum-card .fc-foot { display: flex; align-items: center; gap: .9rem; margin-top: .3rem;
  border-top: 1px solid var(--line); padding-top: .55rem; color: var(--ink-soft); font-size: .82rem; }
.forum-card .fc-stat { display: inline-flex; align-items: center; gap: .25rem; font-weight: 600; }
.forum-card .fc-stat .ico { width: 1rem; height: 1rem; color: var(--brand); }
.forum-card .fc-when { margin-left: auto; font-size: .76rem; }
.thread-body { margin: .2rem 0 .2rem; white-space: pre-wrap; }

/* layout dos fóruns: temas (quadrados estreitos, 2 a 2) à esquerda,
   caixa larga de "puxar tema" ao lado, mais para o centro */
.forum-layout { display: grid; grid-template-columns: 1fr 1.35fr; gap: 1.5rem; align-items: start; }
.forum-layout .forum-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.forum-layout .forum-new { position: sticky; top: 5rem; }
.forum-layout .forum-card { padding: .9rem 1rem 0.8rem; }
.forum-layout .forum-card .fc-nome { font-size: .98rem; }
@media (max-width: 820px) {
  .forum-layout { grid-template-columns: 1fr; }
  .forum-layout .forum-new { position: static; }
  .forum-layout .forum-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* miniatura de mídia no cartão do tema */
.forum-card .fc-thumb {
  height: 110px; border-radius: var(--radius-sm); margin-bottom: .2rem;
  background-size: cover; background-position: center; background-color: var(--cream-2);
  display: flex; align-items: center; justify-content: center; color: var(--roxo-medio);
}
.forum-card .fc-thumb-video .ico { width: 32px; height: 32px; }

/* mídia dentro da discussão */
.thread-media { margin: .6rem 0; }
.thread-media img { width: 100%; border-radius: var(--radius-sm); display: block; }
.thread-foto-prev { height: 160px; background-size: cover; background-position: center; border-radius: var(--radius-sm); }

/* menções (@) */
.mention-row { margin-top: .6rem; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .82rem; }
.mention-chip {
  border: 1px solid var(--line); background: var(--cream-2); color: var(--roxo);
  border-radius: 999px; padding: .15rem .6rem; font-size: .8rem; font-weight: 600; cursor: pointer;
}
.mention-chip:hover { border-color: var(--terracota); }
.reply .mention { color: var(--accent); font-weight: 700; }

/* autocomplete de @menção */
.mention-wrap { position: relative; }
.tag-input-row .mention-wrap { flex: 1; }
.tag-input-row .mention-wrap input { width: 100%; }
.mention-menu {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 40;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); max-height: 220px; overflow-y: auto; margin-top: 2px;
}
.mention-opt { padding: .5rem .7rem; cursor: pointer; font-size: .9rem; display: flex; flex-direction: column; }
.mention-opt span { font-size: .78rem; color: var(--ink-soft); }
.mention-opt:hover { background: var(--cream-2); }

/* botão favoritar (coração) */
.fav-btn { background: none; border: none; cursor: pointer; color: var(--ink-soft); padding: .25rem; border-radius: 50%; line-height: 0; }
.fav-btn .ico { width: 1.35rem; height: 1.35rem; }
.fav-btn:hover { color: #C2486B; background: var(--cream-2); }
.fav-btn.on { color: #C2486B; }
.fav-btn.on .ico { fill: #C2486B; stroke: #C2486B; }
.fav-btn.fav-lg .ico { width: 1.6rem; height: 1.6rem; }
.pro-card { position: relative; }
.pro-card-fav { position: absolute; top: .4rem; right: .4rem; z-index: 2; }
.pro-card-fav .fav-btn { background: rgba(255,255,255,.85); }

/* KPIs do painel admin */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .8rem; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.1rem; }
.kpi-num { font-size: 1.8rem; font-weight: 800; color: var(--roxo); line-height: 1; }
.kpi-lbl { color: var(--ink-soft); font-size: .82rem; margin-top: .35rem; }
.kpi-link { text-decoration: none; display: block; transition: border-color .12s, transform .12s; }
.kpi-link:hover { border-color: var(--terracota); transform: translateY(-2px); text-decoration: none; }
.kpi-link .kpi-lbl { color: var(--accent); font-weight: 600; }

/* tabela do painel admin (rolagem horizontal no celular) */
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); -webkit-overflow-scrolling: touch; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 640px; }
.admin-table th, .admin-table td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table th { background: var(--cream-2); color: var(--roxo); font-weight: 800; cursor: pointer; user-select: none; position: sticky; top: 0; }
.admin-table td { color: var(--ink); }
.admin-table tbody tr[data-id] { cursor: pointer; }
.admin-table tbody tr[data-id]:hover { background: var(--cream-2); }
.admin-table td:nth-child(5) { white-space: normal; min-width: 200px; }
.optin-card { border: 1px solid var(--dourado); background: rgba(194,160,74,.06); }
.profile-manage { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-top: .8rem; }
.btn.danger { color: #b3402e; }
.btn.danger:hover { background: rgba(179,64,46,.08); border-color: rgba(179,64,46,.4); }
.auto-block { display: grid; gap: .6rem; }
.auto-status { font-size: .8rem; font-weight: 700; }
.auto-status.on { color: var(--verde-fechado); }
.auto-status.off { color: var(--ink-soft); }
.auto-toggle { display: flex; align-items: center; gap: .5rem; font-size: .95rem; }
.auto-toggle input { width: 1.05rem; height: 1.05rem; }
/* práticas em cartões grandes (2 por linha) com capa do vídeo */
.pratica-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.pratica-mini {
  cursor: pointer; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform .14s, box-shadow .14s, border-color .14s;
}
.pratica-mini:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--terracota); }
.prat-cover { position: relative; height: 190px; background-size: cover; background-position: center; background-color: var(--cream-2); display: flex; align-items: center; justify-content: center; }
.prat-cover-ph { color: var(--roxo-medio); }
.prat-cover-ph .ico { width: 48px; height: 48px; }
.prat-play { width: 54px; height: 54px; border-radius: 50%; background: rgba(75,30,61,.72); color: #fff; display: flex; align-items: center; justify-content: center; }
.prat-play .ico { width: 28px; height: 28px; }
.prat-body { padding: .9rem 1.1rem 1rem; }
.prat-body .fc-nome { font-weight: 800; font-size: 1.05rem; color: var(--ink); margin-bottom: .4rem; }
.prat-body .fc-foot { display: flex; align-items: center; gap: .9rem; color: var(--ink-soft); font-size: .82rem; }
.prat-body .fc-stat { display: inline-flex; align-items: center; gap: .25rem; }
.prat-body .fc-stat .ico { width: 1rem; height: 1rem; color: var(--brand); }
.prat-body .fc-when { margin-left: auto; }
@media (max-width: 640px) { .pratica-grid { grid-template-columns: 1fr; } .prat-cover { height: 160px; } }

/* autor do fórum: foto + nome clicável + especialidade(s) — numa linha */
.forum-author-link { display: inline-flex; align-items: center; gap: .4rem; max-width: 100%; vertical-align: middle; }
a.forum-author-link:hover { text-decoration: none; }
a.forum-author-link:hover .fa-nome { text-decoration: underline; }
.fa-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex: none; border: 1.5px solid var(--dourado); }
.fa-avatar.ph { display: inline-flex; align-items: center; justify-content: center; background: var(--roxo-tint); color: var(--roxo); font-size: .7rem; font-weight: 800; }
.fa-nome { color: var(--roxo); font-weight: 700; }
.reply-espec { color: var(--verde-fechado); font-weight: 600; font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reply-espec::before { content: "· "; color: var(--ink-soft); font-weight: 400; }

/* editar resposta do fórum */
.reply-edit { background: none; border: none; cursor: pointer; color: var(--ink-soft); padding: .1rem .25rem; margin-left: .3rem; vertical-align: middle; }
.reply-edit:hover { color: var(--accent); }
.reply-edit .ico { width: 1rem; height: 1rem; }
.edit-area { width: 100%; }
.edit-actions { display: flex; gap: .5rem; margin-top: .4rem; }
.thread {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1rem 1.2rem; background: var(--card);
}
.thread + .thread { margin-top: .8rem; }
.thread .thread-title { font-weight: 800; font-size: 1.05rem; }
.thread .thread-meta { color: var(--ink-soft); font-size: .8rem; margin-bottom: .4rem; }
.reply { border-left: 3px solid var(--line); padding: .6rem 0 .6rem 1rem; margin: .8rem 0 0 .4rem; }
.reply .reply-author { font-weight: 700; font-size: .88rem; }
.reply.is-pro .reply-author::after { content: " · profissional"; color: var(--salvia-dark); font-weight: 600; font-size: .78rem; }

/* ---------- S.O.S ---------- */
.sos-banner {
  background: linear-gradient(120deg, rgba(92,122,79,.12), rgba(75,29,90,.12));
  border: 1px solid var(--dourado);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.6rem;
}
.sos-post {
  border: 1px solid var(--line); border-left: 5px solid var(--terracota);
  border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; background: var(--card);
}
.sos-post + .sos-post { margin-top: 1rem; }
.sos-post.urgent { border-left-color: var(--accent); }
.sos-tags { margin-top: .6rem; }
.sos-matches {
  margin-top: .9rem; padding-top: .8rem; border-top: 1px dashed var(--line);
  font-size: .9rem;
}
.sos-matches .match-avatars { display: flex; gap: .4rem; margin-top: .4rem; flex-wrap: wrap; }
.sos-matches .match-avatars a {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--cream); border: 1px solid var(--line); border-radius: 999px;
  padding: .25rem .6rem .25rem .3rem; font-size: .82rem; font-weight: 600;
}
.sos-matches .match-avatars img, .sos-matches .match-avatars .ph {
  width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: var(--cream-2);
  display: inline-flex; align-items: center; justify-content: center; font-size: .8rem;
}

/* como funciona o S.O.S — 3 linhas com ícone */
.sos-howto { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.sos-howto li { display: flex; align-items: flex-start; gap: .7rem; line-height: 1.45; font-size: .94rem; }
.sos-howto-ico {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(75,29,90,.1); color: var(--roxo);
}
.sos-howto-ico .ico { width: 19px; height: 19px; }

/* cartões de match (quando dá indicação): foto + nome + especialidade + CTA */
.match-list { display: grid; gap: .6rem; margin-top: .8rem; }
.match-card {
  display: flex; align-items: center; gap: .8rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .6rem .8rem; background: var(--card);
}
.match-foto {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
  background: var(--cream-2);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .95rem; font-weight: 700; color: var(--roxo);
}
.match-info { flex: 1; min-width: 0; }
.match-nome { font-weight: 700; color: var(--roxo); }
.match-espec { font-size: .84rem; color: var(--text-muted); }
.match-cta { flex: 0 0 auto; white-space: nowrap; }

/* chat reduzido (porém aberto) do pedido */
.sos-chat { margin-top: .8rem; }
.sos-chat > summary {
  cursor: pointer; font-size: .82rem; font-weight: 700; color: var(--roxo-medio);
  list-style: none; padding: .2rem 0; user-select: none;
}
.sos-chat > summary::-webkit-details-marker { display: none; }
.sos-chat > summary::before { content: "▾ "; }
.sos-chat:not([open]) > summary::before { content: "▸ "; }

/* destaque ao chegar de um link de e-mail (?post=ID) */
.sos-post-focus {
  border-left-color: var(--dourado);
  box-shadow: 0 0 0 3px rgba(194,160,74,.32);
  transition: box-shadow .3s;
}

/* editor de foto (cropper) */
.cropper-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(40,20,46,.55);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.cropper-box {
  background: var(--card); border-radius: var(--radius); padding: 1.4rem;
  box-shadow: var(--shadow); max-width: 340px; width: 100%; text-align: center;
}
.cropper-title { font-weight: 700; color: var(--roxo); margin: 0 0 .9rem; }
.cropper-frame {
  margin: 0 auto; border-radius: 50%; overflow: hidden;
  background: var(--cream-2); box-shadow: 0 0 0 3px rgba(75,29,90,.15);
  touch-action: none;
}
.cropper-canvas { display: block; cursor: grab; }
.cropper-canvas:active { cursor: grabbing; }
.cropper-zoom { display: flex; align-items: center; gap: .6rem; margin: 1rem 0; font-size: .85rem; color: var(--text-muted); }
.cropper-zoom input { flex: 1; }
.cropper-actions { display: flex; gap: .6rem; justify-content: center; }

/* ---------- curtir (coração) no fórum ---------- */
.thread-actions { margin-top: .7rem; }
.reply-foot { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: .3rem; }
.like-btn {
  display: inline-flex; align-items: center; gap: .3rem;
  background: none; border: none; cursor: pointer; padding: .2rem .35rem;
  color: var(--ink-soft); border-radius: 999px; font-weight: 700; font-size: .85rem;
  transition: color .12s, background .12s, transform .1s;
}
.like-btn .ico { width: 1.15rem; height: 1.15rem; }
.like-btn:hover { color: var(--accent); background: var(--cream-2); }
.like-btn.liked { color: #C2486B; }
.like-btn.liked .ico { fill: #C2486B; stroke: #C2486B; }
.like-btn:active { transform: scale(.92); }
.like-n { min-width: .6em; }

/* ---------- modal genérico (formulários em sobreposição) ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(40,20,46,.55); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
  overflow-y: auto;
}
.modal-box {
  position: relative; background: var(--card); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow); max-width: 480px; width: 100%;
  margin: auto;
}
.modal-close {
  position: absolute; top: .7rem; right: .8rem;
  background: none; border: none; font-size: 1.1rem; cursor: pointer;
  color: var(--ink-soft); line-height: 1; padding: .3rem;
}
.modal-close:hover { color: var(--accent); }

/* ---------- práticas de cuidado ---------- */
.pratica-card .video-embed { margin-top: .8rem; }

/* ---------- diversos ---------- */
.back-link { display: inline-block; margin-bottom: 1rem; color: var(--ink-soft); font-weight: 600; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--ink-soft); }
.empty-state .emoji { display: flex; justify-content: center; margin-bottom: .6rem; color: var(--brand); }
.empty-state .emoji .ico { width: 46px; height: 46px; }
.divider { height: 1px; background: var(--line); margin: 1.4rem 0; border: none; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.tag-input-row { display: flex; gap: .5rem; }
.tag-input-row input { flex: 1; }

/* toast */
.toast {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: .8rem 1.3rem; border-radius: 999px;
  font-weight: 600; box-shadow: var(--shadow); z-index: 100; animation: fade .2s;
}
/* variante verde — mais visível para avisos como "e-mail ou senha incorretos" */
.toast.toast-ok { background: var(--verde); color: #fff; }

/* badges de papel */
.role-badge { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: .2rem .55rem; border-radius: 999px; }
.role-pro { background: rgba(84,126,72,.18); color: var(--salvia-dark); }
.role-seeker { background: rgba(141,122,143,.22); color: var(--roxo); }

/* ============================================================
   MOBILE — adaptação para telas de celular
   ============================================================ */
@media (max-width: 640px) {
  .wrap { padding: 1.3rem 1rem 2.4rem; }
  h1 { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  h2 { font-size: 1.4rem; }

  /* topbar compacta: mantém o logo, esconde o texto da marca, nav rolável */
  .topbar { gap: .5rem; padding: .5rem .7rem .5rem 3rem; }
  .brand-name { display: none; }
  .topnav { gap: .8rem; margin-left: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .topnav a { white-space: nowrap; font-size: .9rem; padding: .3rem .1rem; }
  .topnav a:hover { border-bottom-color: transparent; }
  .lang-switch { top: .4rem; left: .45rem; }
  .lang-switch button { font-size: .66rem; padding: .2rem .45rem; }
  .avatar-drop { min-width: 190px; max-width: calc(100vw - 1.2rem); }

  /* títulos de seção e filtros empilham */
  .section-title { gap: .6rem; }
  .directory-toolbar { gap: .5rem; }
  .directory-toolbar input, .directory-toolbar select { max-width: none; width: 100%; }

  /* grids em telas pequenas */
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .kpi { padding: .8rem .9rem; }
  .kpi-num { font-size: 1.5rem; }
  .forum-layout .forum-grid-2 { grid-template-columns: 1fr; }
  .forum-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .entry-cards { grid-template-columns: 1fr; }

  /* formulários e caixas */
  .card { padding: 1.1rem 1rem; }
  .modal-box { padding: 1.2rem 1rem; }
  .btn { padding: .75rem 1.2rem; }
  .btn-lg { font-size: 1rem; padding: .85rem 1.5rem; }

  /* S.O.S / match: quebra em telas estreitas */
  .match-card { flex-wrap: wrap; }
  .match-cta { width: 100%; }

  /* fórum: autor um pouco menor */
  .fa-avatar { width: 22px; height: 22px; }
  .reply-espec { max-width: 45vw; }

  /* hero: menos altura forçada */
  .hero { min-height: auto; padding: 2.4rem 0 2.8rem; }
}

/* telas bem pequenas (≈ iPhone SE) */
@media (max-width: 380px) {
  .topnav { gap: .6rem; }
  .topnav a { font-size: .84rem; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
}
