/* ==========================================================================
   LUCRO CERTO — Área de Membros
   Identidade visual baseada na página de vendas (cores, fontes e componentes).
   ========================================================================== */
:root {
  --navy-900: #1F2C6E;
  --navy-700: #2A3A8C;
  --orange: #F58220;
  --orange-dark: #E6731A;
  --orange-light: #FBA85C;
  --orange-soft: #FFF1E5;
  --orange-text: #A44900;
  --cream: #FAF7F2;
  --sand: #F5F1EC;
  --border: #E7E2DA;
  --border-soft: #EFEAE2;
  --ink: #141416;
  --text: #2B2B2F;
  --muted: #6B6B73;
  --green-bg: #F0FDF4;
  --green-border: #BBF7D0;
  --green: #166534;
  --red-bg: #FEF2F2;
  --red-border: #FECACA;
  --red: #D93025;
  --font-body: Inter, system-ui, sans-serif;
  --font-title: Manrope, Inter, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font-body); color: var(--text); background: var(--cream);
  -webkit-font-smoothing: antialiased; line-height: 1.55;
  min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden;
}
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }
h1, h2, h3 { font-family: var(--font-title); color: var(--ink); letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; }
code { background: var(--sand); padding: 2px 6px; border-radius: 6px; font-size: .88em; word-break: break-all; }
:where(a, button, input, textarea):focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 32px); }
.main { flex: 1; padding-top: 36px; padding-bottom: 64px; }
.muted { color: var(--muted); }

/* Rótulo em caixa alta (igual "transformacao-destaque") */
.eyebrow {
  display: inline-block; font-family: var(--font-title); font-size: 12px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--orange);
}

/* ---------- Topo ---------- */
.topbar { background: var(--navy-900); color: #fff; position: sticky; top: 0; z-index: 20; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: flex; flex-direction: column; line-height: 1.1; color: #fff; }
.brand:hover { color: #fff; }
.brand__name { font-family: var(--font-title); font-weight: 800; font-size: 15px; letter-spacing: .12em; }
.brand__tag { font-size: 12px; color: #FFD7B6; font-weight: 500; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a, .nav__logout button {
  padding: 9px 16px; border-radius: 999px; color: rgba(255,255,255,.82); font: inherit;
  font-family: var(--font-title); font-weight: 700; font-size: 14px; background: none; border: 0; cursor: pointer;
}
.nav a:hover, .nav__logout button:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav a.is-active { color: #fff; background: rgba(255,255,255,.14); }
.nav__logout { margin: 0 0 0 6px; }
.nav__logout button { border: 1px solid rgba(255,255,255,.3); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 24px; cursor: pointer; padding: 6px; }
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--navy-900); padding: 8px 18px 18px; border-top: 1px solid rgba(255,255,255,.12); }
  .nav-open .nav { display: flex; }
  .nav__logout { margin: 6px 0 0; }
  .nav__logout button { width: 100%; }
}

/* ---------- Hero (faixa azul com pontos, como na página de vendas) ---------- */
.hero-band {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-700) 100%);
  margin: -36px calc(50% - 50vw) 40px; padding: clamp(40px, 6vw, 64px) 0 clamp(48px, 6vw, 72px);
}
.hero-band::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.18) 1.2px, transparent 1.2px); background-size: 24px 24px;
}
.hero-band::after {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  background: rgba(245,130,32,.16); right: -280px; bottom: -320px; pointer-events: none;
}
.hero-band .container { position: relative; z-index: 2; }
.hero-band .eyebrow { color: var(--orange-light); }
.hero-band h1 { color: #fff; font-size: clamp(28px, 4.2vw, 44px); font-weight: 800; line-height: 1.08; margin: 16px 0 16px; max-width: 760px; }
.hero-band h1 em { font-style: normal; color: var(--orange-light); }
.hero-band p { color: rgba(255,255,255,.78); font-size: 18px; max-width: 600px; margin: 0; }
.hero-band__chips { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.88); }
.chip__dot { width: 18px; height: 18px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; }

.hero { margin-bottom: 28px; }
.hero--small h1 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; margin-top: 10px; }

/* ---------- Seções e cards ---------- */
.section { margin: 48px 0; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.section__head h2 { margin: 8px 0 0; }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  padding: clamp(22px, 2.6vw, 28px); margin-bottom: 24px;
}
.card h2 { font-size: 20px; }

/* Card da planilha — azul fixo, como o card 01 da seção "O que tem dentro" */
.card--highlight {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(18px, 3vw, 28px);
  background: linear-gradient(150deg, var(--navy-900) 0%, var(--navy-700) 100%);
  border-color: var(--navy-700); box-shadow: 0 18px 42px -22px rgba(42,58,140,.6); color: #fff;
  border-top: 5px solid var(--orange);
}
.card--highlight h2 { color: #fff; margin-bottom: 6px; }
.card--highlight .card__body p { color: rgba(255,255,255,.78); margin: 0; font-size: 15px; }
.card--highlight .eyebrow { color: var(--orange-light); font-size: 11px; letter-spacing: .16em; margin-bottom: 8px; }
.card--highlight .muted { color: rgba(255,255,255,.65); }
.card__icon {
  width: 64px; height: 64px; border-radius: 16px; background: rgba(255,255,255,.1);
  display: grid; place-items: center; color: var(--orange-light);
}
@media (max-width: 760px) {
  .card--highlight { grid-template-columns: 1fr; }
  .card__action .btn { width: 100%; }
}

.support {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--sand); border-color: var(--border);
}
.support p { margin: 0; font-family: var(--font-title); font-weight: 700; color: var(--ink); font-size: 17px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.grid-2 .card { margin: 0; }

/* ---------- Player de vídeos ---------- */
.player { display: grid; grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr); gap: 14px; align-items: start; }
@media (max-width: 900px) { .player { grid-template-columns: 1fr; } }
.player__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: var(--navy-900); }
.player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player__info { padding: 18px 4px 0; }
.player__info h3 { font-size: 20px; font-weight: 700; margin: 6px 0 6px; }
.player__info p { margin: 0; font-size: 15px; }
.playlist {
  list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--border);
  border-radius: 18px; max-height: 600px; overflow-y: auto;
}
.playlist__item {
  display: flex; gap: 14px; align-items: center; width: 100%; text-align: left; padding: 14px;
  border: 0; border-radius: 12px; background: none; font: inherit; color: var(--ink); cursor: pointer;
  transition: background .2s, color .2s;
}
.playlist li + li .playlist__item { border-top: 1px solid var(--border-soft); border-radius: 0 0 12px 12px; }
.playlist__item:hover { background: var(--cream); }
.playlist__item.is-active { background: var(--navy-700); color: #fff; border-radius: 12px; }
.playlist__num {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: var(--orange-soft); color: var(--orange-text); font-family: var(--font-title);
  font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums;
}
.playlist__item.is-active .playlist__num { background: var(--orange); color: #fff; }
.playlist__title { font-family: var(--font-title); font-weight: 700; font-size: 15px; line-height: 1.3; }

/* ---------- Botões (pílula, como na página de vendas) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-title); font-weight: 700; font-size: 15px; line-height: 1.2;
  cursor: pointer; transition: background .2s, border-color .2s, transform .05s; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 8px 24px -8px rgba(245,130,32,.6); }
.btn--primary:hover { background: var(--orange-dark); color: #fff; }
.btn--navy { background: var(--navy-700); color: #fff; }
.btn--navy:hover { background: var(--navy-900); color: #fff; }
.btn--outline { border-color: var(--navy-700); color: var(--navy-700); background: transparent; }
.btn--outline:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { background: var(--sand); color: var(--ink); }
.btn--ghost:hover { background: var(--border); color: var(--ink); }
.btn--danger { background: #FEE2E2; color: var(--red); }
.btn--danger:hover { background: #FECACA; color: var(--red); }
.btn--lg { padding: 17px 30px; font-size: 16.5px; }
.btn--sm { padding: 7px 14px; font-size: 13px; box-shadow: none; }
.btn--block { width: 100%; }

/* ---------- Formulários ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.form--inline { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; }
.form--inline input { flex: 1 1 200px; }
.form__row { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.form__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: 7px; font-family: var(--font-title); font-weight: 700; font-size: 14px; color: var(--ink); }
.field small { font-family: var(--font-body); font-weight: 400; font-size: 13px; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], input[type=search], textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--border); border-radius: 12px;
  font: 400 15px var(--font-body); background: var(--cream); color: var(--ink); transition: border-color .2s, background .2s;
}
input:focus, textarea:focus { outline: none; border-color: var(--orange); background: #fff; box-shadow: 0 0 0 3px rgba(245,130,32,.18); }
input:disabled { color: var(--muted); }
.check { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; font-weight: 600; }
.check input { accent-color: var(--orange); width: 18px; height: 18px; }

/* ---------- Alertas e selos ---------- */
.alert { padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; font-size: 14.5px; border: 1px solid; }
.alert--success { background: var(--green-bg); border-color: var(--green-border); color: #14532D; }
.alert--error { background: var(--red-bg); border-color: var(--red-border); color: #5B2020; }
.badge { display: inline-block; padding: 5px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.badge--ok { background: #DCFCE7; color: var(--green); }
.badge--off { background: #FEE2E2; color: var(--red); }

/* ---------- Admin ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 28px; }
.tabs a {
  padding: 10px 18px; border-radius: 999px; color: var(--muted); background: #fff; border: 1px solid var(--border);
  font-family: var(--font-title); font-weight: 700; font-size: 14px;
}
.tabs a:hover { color: var(--ink); border-color: var(--navy-700); }
.tabs a.is-active { color: #fff; background: var(--navy-700); border-color: var(--navy-700); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 22px; }
.stat:first-child { background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); border-color: var(--navy-700); }
.stat:first-child strong { color: var(--orange-light); }
.stat:first-child span { color: rgba(255,255,255,.78); }
.stat strong { display: block; font-family: var(--font-title); font-size: 38px; font-weight: 800; letter-spacing: -.04em; color: var(--orange); line-height: 1; margin-bottom: 6px; }
.stat span { color: var(--muted); font-size: 14px; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 14px 10px; border-bottom: 1px solid var(--border-soft); text-align: left; vertical-align: top; }
.table th { color: var(--muted); font-family: var(--font-title); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.table--compact td { padding: 9px 10px; }
.table__actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.table__actions form { margin: 0; }

/* ---------- Telas de acesso (login, recuperar senha) ---------- */
.page-auth { background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-700) 100%); position: relative; }
.page-auth::before {
  content: ""; position: fixed; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.18) 1.2px, transparent 1.2px); background-size: 24px 24px;
}
.page-auth::after {
  content: ""; position: fixed; width: 560px; height: 560px; border-radius: 50%;
  background: rgba(245,130,32,.16); left: -280px; bottom: -320px; pointer-events: none;
}
.page-auth .auth { flex: 1; display: grid; place-items: center; padding: 40px 18px; position: relative; z-index: 2; }
.auth__card {
  width: 100%; max-width: 440px; background: #fff; border-radius: 20px; padding: 32px 30px 28px;
  border-top: 5px solid var(--orange); box-shadow: 0 34px 90px -34px rgba(0,0,0,.6);
}
.auth__brand { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 22px; }
.auth__brand .brand__name { color: var(--ink); }
.auth__brand .brand__tag { color: var(--orange); font-family: var(--font-title); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.auth__title { font-size: clamp(22px, 3vw, 26px); font-weight: 800; }
.auth__subtitle { color: var(--muted); margin-top: 0; font-size: 15px; }
.auth__links { text-align: center; margin: 20px 0 0; font-size: 14.5px; font-weight: 600; }
.page-auth .footer { color: rgba(255,255,255,.6); position: relative; z-index: 2; }

.footer { padding: 26px 0; color: var(--muted); font-size: 13px; text-align: center; }
