/* Mental Clean — Lives
   Identidade extraída de mentalclean.com.br: navy #21356A, terracota #9E4E39,
   magenta #CC3366, creme #F2F0E9, areia #DAC8AF, fonte Parkinsans. */
:root {
  --navy: #21356a;
  --navy-900: #172548;
  --navy-700: #2b4483;
  --terra: #9e4e39;
  --terra-700: #84402e;
  --pink: #cc3366;
  --cream: #f2f0e9;
  --sand: #dac8af;
  --ink: #333333;
  --muted: #69727d;
  --line: #e4e0d5;
  --white: #ffffff;
  --ok: #2f7d4f;
  --err: #b3261e;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 10px 30px rgba(23, 37, 72, .12);
  --font: "Parkinsans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--terra); }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Header ---------- */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.site-header img.logo { height: 40px; width: auto; }
.site-header nav { display: flex; align-items: center; gap: 22px; }
.site-header nav a { color: #fff; text-decoration: none; font-weight: 500; font-size: .95rem; opacity: .9; }
.site-header nav a:hover { opacity: 1; }
@media (max-width: 720px) { .site-header nav a.hide-sm { display: none; } }
.site-header nav .btn { opacity: 1; border-radius: 999px; }
.site-header nav .btn.ghost-nav { background: transparent; border: 1.5px solid rgba(255,255,255,.45); }
.site-header nav .btn.ghost-nav:hover { background: rgba(255,255,255,.12); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--terra); color: #fff; border: 0; border-radius: var(--radius);
  padding: 14px 26px; font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--terra-700); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn.sm { padding: 9px 16px; font-size: .9rem; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; }
.btn.light { background: #fff; color: var(--navy); }
.btn.light:hover { background: var(--cream); }
.btn.navy { background: var(--navy); }
.btn.navy:hover { background: var(--navy-700); }
.btn.wa { background: #1f9d55; }
.btn.wa:hover { background: #187a42; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(204, 51, 102, .28), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(158, 78, 57, .35), transparent 60%),
    var(--navy);
  color: #fff; padding: 64px 0 72px; position: relative; overflow: hidden;
}
.hero h1, .hero h2 { color: #fff; }
.hero .lead { font-size: 1.15rem; opacity: .92; max-width: 620px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } .hero { padding: 40px 0 48px; } }

.badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.12); color: #fff; margin-bottom: 18px;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(204,51,102,.3); animation: pulse 1.6s infinite; }
.badge.light { background: var(--cream); color: var(--terra); }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(204,51,102,0); } }

.meta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0; }
.meta {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 10px 16px; min-width: 120px;
}
.meta small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.meta strong { font-size: 1.05rem; }

.countdown { display: flex; gap: 10px; margin: 6px 0 28px; }
.countdown div { background: rgba(255,255,255,.1); border-radius: var(--radius); padding: 10px 0; width: 74px; text-align: center; }
.countdown b { display: block; font-size: 1.7rem; line-height: 1; }
.countdown span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }

.hosts-inline { display: flex; align-items: center; gap: 12px; }
.hosts-inline .avatars { display: flex; }
.hosts-inline .avatars img, .hosts-inline .avatars .ph { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--navy); margin-left: -10px; background: var(--sand); }
.hosts-inline .avatars :first-child { margin-left: 0; }

/* ---------- Form card ---------- */
.card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 28px; }
.form-card h3 { font-size: 1.35rem; }
.form-card .sub { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
label.f { display: block; margin-bottom: 14px; }
label.f > span { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: 400 1rem var(--font); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius); padding: 12px 14px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(33,53,106,.12); }
textarea { min-height: 110px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .row-2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); margin: 6px 0 18px; }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--terra); }
.form-msg { font-size: .9rem; margin-top: 12px; }
.form-msg.err { color: var(--err); }
.privacy { font-size: .75rem; color: var(--muted); margin-top: 12px; text-align: center; }

.success { text-align: center; }
.success .ok-icon { width: 64px; height: 64px; border-radius: 50%; background: #e7f4ec; color: var(--ok); display: grid; place-items: center; margin: 0 auto 14px; font-size: 32px; }
.success .actions { display: grid; gap: 10px; margin-top: 18px; }
.share-row { display: flex; gap: 8px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section.block { padding: 72px 0; }
section.block.cream { background: var(--cream); }
.eyebrow { color: var(--terra); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; margin-bottom: 8px; }
.topics { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.topics li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 20px 20px 56px; position: relative; font-weight: 500; }
.topics li::before { content: counter(t, decimal-leading-zero); counter-increment: t; position: absolute; left: 18px; top: 18px; color: var(--pink); font-weight: 700; }
.topics { counter-reset: t; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.step .n { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 12px; }

.hosts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 28px; }
.host { display: flex; gap: 18px; align-items: flex-start; background: #fff; border-radius: var(--radius-lg); padding: 22px; border: 1px solid var(--line); }
.host img, .host .ph { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; flex: none; background: var(--sand); }
.host h3 { margin-bottom: 2px; }
.host .role { color: var(--terra); font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.host p { font-size: .93rem; color: var(--muted); margin: 0; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr; } }
.stat b { display: block; font-size: 2.6rem; color: var(--terra); line-height: 1; }
.stat span { color: var(--muted); }

.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--terra); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

.cta-band { background: var(--terra); color: #fff; padding: 56px 0; text-align: center; }
.cta-band h2 { color: #fff; }

/* ---------- Event cards (home) ---------- */
.featured { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; overflow: hidden; padding: 0; }
.featured .cover { min-height: 320px; background: var(--navy-700) center/cover; }
.featured .body { padding: 32px; }
@media (max-width: 860px) { .featured { grid-template-columns: 1fr; } .featured .cover { min-height: 200px; } }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; margin-top: 24px; }
.ev-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.ev-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ev-card .cover { aspect-ratio: 16/9; background: var(--navy) center/cover; position: relative; }
.ev-card .cover .date-chip { position: absolute; left: 14px; bottom: 14px; background: #fff; border-radius: 8px; padding: 6px 10px; font-weight: 700; color: var(--navy); font-size: .85rem; }
.ev-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ev-card h3 { margin: 0; font-size: 1.12rem; }
.ev-card .go { margin-top: auto; padding-top: 10px; color: var(--terra); font-weight: 600; font-size: .92rem; }
.cover-fallback { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 55%, var(--terra) 130%) !important; }
.empty { padding: 40px; text-align: center; color: var(--muted); background: var(--cream); border-radius: var(--radius-lg); }

/* ---------- Room ---------- */
.room { display: grid; grid-template-columns: 1fr 360px; gap: 20px; margin-top: 22px; }
.room.no-chat { grid-template-columns: 1fr; }
@media (max-width: 1000px) { .room { grid-template-columns: 1fr; } }
.player { aspect-ratio: 16/9; background: #000; border-radius: var(--radius-lg); overflow: hidden; }
.player iframe, .chat iframe { width: 100%; height: 100%; border: 0; }
.chat { background: #fff; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; }
.waiting { aspect-ratio: 16/9; border-radius: var(--radius-lg); display: grid; place-items: center; text-align: center; padding: 24px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.8); padding: 48px 0 28px; font-size: .92rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 10px; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; font-size: .8rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 20px rgba(0,0,0,.08); z-index: 40; display: none; }
@media (max-width: 960px) { .sticky-cta.show { display: block; } body.has-sticky { padding-bottom: 80px; } }

.skeleton { background: linear-gradient(90deg, #eee 25%, #f6f6f6 50%, #eee 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 8px; }
@keyframes sk { to { background-position: -200% 0; } }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: .9rem; z-index: 100; box-shadow: var(--shadow); }

/* funcionalidades publicadas aos poucos: escondidas até o painel confirmar que estão ligadas */
[data-feature]:not(.feat-on) { display: none !important; }
.preview-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 200; max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 12px; background: #9e4e39; color: #fff; font-size: .9rem; box-shadow: 0 10px 30px rgba(0,0,0,.35); text-align: center; }
.preview-bar a { color: #fff; font-weight: 700; margin-left: 8px; text-decoration: underline; }
