/*
Theme Name: Musas Online
Theme URI: https://encontroselecionado.com.br
Author: você
Description: Tema de perfis/relacionamento com chat de assistente virtual, grid de perfis e espaços de anúncio reservados.
Version: 1.0
Text Domain: musas-online
*/

:root {
  --bg: #1a1025;
  --bg-alt: #241733;
  --card: #2b1c3d;
  --text: #f5f0ff;
  --text-muted: #b8a9cc;
  --accent: #e879c4;
  --accent-2: #f0b94d;
  --online: #4ade80;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  background: var(--bg);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.logo { font-size: 22px; font-weight: 700; color: var(--accent); }

nav.main-nav { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
nav.main-nav a { color: var(--text-muted); font-size: 15px; }
nav.main-nav a:hover { color: var(--text); }

.btn {
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #b74fd6);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  display: inline-block;
}

/* ---- Ad placeholder: troque pelo seu código de anúncio real ---- */
.ad-slot {
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  margin: 24px auto;
}
.ad-slot--banner { max-width: 1100px; min-height: 90px; }
.ad-slot--row { max-width: 1100px; min-height: 220px; }
.ad-slot--inline { min-height: 120px; }

/* ---- Hero / home ---- */
.hero { max-width: 900px; margin: 64px auto 32px; padding: 0 24px; text-align: left; }
.hero .eyebrow { color: var(--accent-2); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.hero h1 { font-size: 48px; margin: 12px 0 20px; font-family: Georgia, serif; }
.hero .see-all { float: right; color: var(--accent); font-size: 14px; }

/* ---- Grid de perfis ---- */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 32px auto;
  padding: 0 24px;
}

.profile-card { background: var(--card); border-radius: var(--radius); overflow: hidden; display: block; }
.profile-card .thumb {
  aspect-ratio: 3/4;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; font-weight: 700; color: #fff;
  background-size: cover; background-position: center;
}
.profile-card .info { padding: 14px 16px; }
.status { font-size: 12px; color: var(--online); margin-bottom: 4px; }
.profile-card h3 { margin: 0 0 2px; font-size: 18px; }
.profile-card .profession { font-size: 13px; color: var(--accent-2); margin-bottom: 6px; }
.profile-card .bio-snippet { font-size: 13px; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.profile-card .see-more { font-size: 13px; color: var(--accent); margin-top: 8px; display: inline-block; }

.filters { display: flex; gap: 10px; margin: 8px 0 28px; padding: 0 24px; max-width: 1100px; margin-left: auto; margin-right: auto; }
.filters a { padding: 8px 18px; border-radius: 999px; background: var(--card); color: var(--text-muted); font-size: 14px; }
.filters a.active { background: var(--accent); color: #fff; }

/* ---- Página de perfil ---- */
.profile-detail { max-width: 700px; margin: 40px auto; padding: 0 24px; }
.back-link { display: inline-block; margin-bottom: 20px; color: var(--text-muted); font-size: 14px; }
.profile-hero-img {
  width: 100%; aspect-ratio: 16/9; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 72px; font-weight: 700; color: #fff; margin-bottom: 24px;
  background-size: cover; background-position: center;
}
.profile-detail h1 { font-size: 28px; margin-bottom: 4px; }
.profile-meta { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }
.profile-detail .bio { font-size: 15px; margin-bottom: 24px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.tag { background: var(--card); padding: 6px 14px; border-radius: 999px; font-size: 12px; color: var(--text-muted); }

/* ---- Chat ---- */
.chat-header {
  display: flex; align-items: center; gap: 12px; padding: 14px 20px;
  background: var(--card); border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky; top: 0;
}
.chat-header .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; background-size: cover; background-position: center;
}
.chat-header .who { font-weight: 600; font-size: 15px; }
.chat-header .status-line { font-size: 12px; color: var(--accent-2); }
.chat-body { max-width: 760px; margin: 0 auto; padding: 24px; min-height: 55vh; }
.bubble { max-width: 70%; padding: 10px 16px; border-radius: 16px; margin-bottom: 12px; font-size: 14px; }
.bubble.bot { background: var(--card); border-bottom-left-radius: 4px; }
.bubble.user { background: var(--accent); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.chat-form { position: sticky; bottom: 0; display: flex; gap: 10px; padding: 16px 24px; background: var(--bg); border-top: 1px solid rgba(255,255,255,0.08); max-width: 760px; margin: 0 auto; }
.chat-form input { flex: 1; padding: 12px 16px; border-radius: 999px; border: none; background: var(--card); color: var(--text); font-size: 14px; }
.chat-form button { width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--accent); color: #fff; cursor: pointer; }

footer.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 60px; padding: 32px 24px; text-align: center;
  color: var(--text-muted); font-size: 13px;
}
footer.site-footer .footer-logo { color: var(--accent); font-weight: 700; margin-bottom: 6px; }
footer.site-footer nav { display: flex; gap: 18px; justify-content: center; margin: 10px 0; flex-wrap: wrap; }

.legal { max-width: 700px; margin: 40px auto; padding: 0 24px; }
.legal h1 { margin-bottom: 16px; }
