:root {
    --black: #080808;
    --ink: #151515;
    --muted: #6f6a5f;
    --gold: #c8a44d;
    --gold-strong: #e4bf5e;
    --white: #ffffff;
    --soft: #f7f4ee;
    --line: #e5dcc8;
    --green: #177a4d;
    --blue: #245a9b;
    --danger: #a93434;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--black);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(8, 8, 8, .95);
    border-bottom: 1px solid rgba(200, 164, 77, .32);
}
.nav {
    width: min(1180px, calc(100% - 32px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); font-weight: 800; }
.brand-mark {
    width: 48px;
    height: 48px;
    border: 1px solid var(--gold);
    display: grid;
    place-items: center;
    color: var(--gold-strong);
    font-weight: 900;
    background: #111;
}
.brand img { width: 52px; height: 52px; object-fit: contain; }
.menu { display: flex; align-items: center; gap: 18px; color: #e9e1d1; font-size: 14px; }
.menu a:hover { color: var(--gold-strong); }

.btn, button {
    border: 0;
    min-height: 44px;
    padding: 12px 18px;
    background: var(--gold);
    color: #0c0c0c;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn:hover, button:hover { filter: brightness(1.05); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-light { background: var(--white); color: var(--black); border: 1px solid var(--line); }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-small { min-height: 34px; padding: 8px 12px; font-size: 13px; }

.hero {
    background:
        linear-gradient(90deg, rgba(8, 8, 8, .94), rgba(8, 8, 8, .78), rgba(8, 8, 8, .48)),
        url('../img/hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
}
.hero-inner, .section-inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}
.hero-content { max-width: 720px; padding: 72px 0 96px; }
.eyebrow { color: var(--gold-strong); text-transform: uppercase; letter-spacing: 0; font-size: 13px; font-weight: 800; }
h1, h2, h3 { line-height: 1.08; margin: 0 0 16px; }
h1 { font-size: clamp(38px, 7vw, 78px); }
h2 { font-size: clamp(28px, 4vw, 46px); }
h3 { font-size: 22px; }
.lead { font-size: clamp(18px, 2.2vw, 24px); color: #f3ead8; max-width: 690px; }
.hero-actions, .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.band { padding: 76px 0; background: var(--white); }
.band.alt { background: var(--soft); }
.band.dark { background: var(--black); color: var(--white); }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
}
.dark .card { background: #111; border-color: rgba(200, 164, 77, .24); }
.mentor-photo {
    aspect-ratio: 4 / 5;
    background: #111;
    border: 1px solid var(--gold);
    object-fit: cover;
    width: 100%;
}
.placeholder-photo {
    aspect-ratio: 4 / 5;
    border: 1px solid var(--gold);
    background: linear-gradient(145deg, #101010, #302716);
    color: var(--gold-strong);
    display: grid;
    place-items: center;
    font-weight: 800;
    text-align: center;
    padding: 24px;
}
.method-list { display: grid; gap: 14px; margin-top: 24px; }
.method-item { border-left: 4px solid var(--gold); padding: 4px 0 4px 16px; }

.page {
    width: min(1180px, calc(100% - 32px));
    margin: 34px auto 64px;
    color: var(--white);
}
.panel {
    background: #101010;
    border: 1px solid rgba(200, 164, 77, .34);
    border-radius: 8px;
    padding: 26px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .22);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 800; font-size: 14px; }
input, textarea, select {
    width: 100%;
    border: 1px solid rgba(200, 164, 77, .38);
    background: #070707;
    padding: 12px 13px;
    min-height: 44px;
    color: var(--white);
    font: inherit;
}
input:focus, textarea:focus, select:focus {
    outline: 2px solid rgba(228, 191, 94, .28);
    border-color: var(--gold-strong);
}
textarea { min-height: 110px; resize: vertical; }
.phone-row {
    display: grid;
    grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
    gap: 8px;
}
.country-select {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    border: 1px solid rgba(200, 164, 77, .38);
    background: #070707;
}
.country-flag {
    display: grid;
    place-items: center;
    min-height: 44px;
    font-size: 22px;
    border-right: 1px solid rgba(200, 164, 77, .24);
}
.phone-row select {
    min-width: 0;
    border: 0;
}
.help { color: #d8ccb5; font-size: 13px; }
.alert { padding: 14px 16px; border-radius: 8px; margin-bottom: 16px; background: #2c220f; border: 1px solid rgba(228, 191, 94, .5); color: #ffe3a0; }
.qr-box {
    width: min(360px, 100%);
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--gold);
    border-radius: 8px;
}
.qr-box img {
    width: 100%;
    height: auto;
}

.app-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; background: var(--black); color: var(--white); }
.sidebar { background: #050505; color: var(--white); padding: 24px; border-right: 1px solid rgba(200, 164, 77, .24); }
.sidebar nav { display: grid; gap: 8px; margin-top: 24px; }
.sidebar a { padding: 10px 12px; color: #eadfca; border-radius: 6px; }
.sidebar a:hover, .sidebar a.active { background: rgba(200, 164, 77, .18); color: var(--gold-strong); }
.main { padding: 28px; background: radial-gradient(circle at top right, rgba(200, 164, 77, .1), transparent 36%), var(--black); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 20px 0; }
.stat { background: #101010; border: 1px solid rgba(200, 164, 77, .34); padding: 20px; border-radius: 8px; }
.stat strong { font-size: 30px; display: block; color: var(--gold-strong); }
table { width: 100%; border-collapse: collapse; background: #101010; border: 1px solid rgba(200, 164, 77, .34); color: var(--white); }
th, td { padding: 13px; border-bottom: 1px solid rgba(200, 164, 77, .18); text-align: left; vertical-align: top; }
th { background: #18130a; color: var(--gold-strong); font-size: 13px; text-transform: uppercase; }
.tag { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; background: #eee; }
.tag-gold { background: #f3df9d; color: #604800; }
.tag-green { background: #dcefe6; color: var(--green); }
.tag-blue { background: #dfeafe; color: var(--blue); }
.tag-dark { background: #222; color: var(--gold-strong); }

.chat-panel { padding: 0; overflow: hidden; }
.chat-header { padding: 22px 24px; border-bottom: 1px solid rgba(200, 164, 77, .24); }
.chat-box { display: flex; flex-direction: column; gap: 12px; height: min(62vh, 560px); overflow: auto; padding: 18px; background: radial-gradient(circle at top left, rgba(200, 164, 77, .08), transparent 34%), #070707; border-bottom: 1px solid rgba(200, 164, 77, .24); }
.bubble { max-width: min(78%, 680px); padding: 12px 14px; border-radius: 8px; background: #18130a; color: var(--white); border: 1px solid rgba(200, 164, 77, .24); }
.bubble.mine { margin-left: auto; background: var(--gold); color: #080808; border-color: var(--gold); }
.bubble.theirs { margin-right: auto; }
.bubble-author { display: block; font-size: 12px; font-weight: 800; opacity: .75; margin-bottom: 4px; }
.bubble small { display: block; opacity: .7; margin-top: 5px; font-size: 11px; }
.chat-file { display: inline-flex; margin-top: 8px; padding: 7px 9px; border-radius: 6px; border: 1px solid currentColor; font-size: 12px; font-weight: 800; }
.chat-compose { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 14px; background: #101010; }
.chat-compose textarea { min-height: 48px; max-height: 140px; }
.chat-compose input[type="file"] { grid-column: 1 / -1; min-height: auto; }
.video-guests-toggle {
    margin-top: 14px;
}
.video-guests-toggle summary {
    width: fit-content;
    min-height: 34px;
    padding: 8px 12px;
    background: #101010;
    color: var(--gold-strong);
    border: 1px solid rgba(200, 164, 77, .5);
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}
.video-guests-toggle summary::-webkit-details-marker {
    display: none;
}
.video-guests-toggle summary::after {
    content: " +";
}
.video-guests-toggle[open] summary::after {
    content: " -";
}
.video-guests {
    display: grid;
    gap: 10px;
    max-width: 620px;
    margin-top: 12px;
}
.guest-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-height: 210px;
    overflow: auto;
    padding: 8px;
    border: 1px solid rgba(200, 164, 77, .24);
    border-radius: 8px;
    background: #070707;
}
.guest-check {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    padding: 8px;
    border: 1px solid rgba(200, 164, 77, .18);
    border-radius: 6px;
    font-weight: 700;
}
.guest-check input {
    width: 18px;
    min-height: 18px;
    margin-top: 2px;
}
.guest-check small {
    display: block;
    color: #d8ccb5;
    font-weight: 400;
    overflow-wrap: anywhere;
}
.footer { background: var(--black); color: #d8ccb5; padding: 28px 0; text-align: center; }
.qr-card { display: grid; gap: 12px; text-align: center; align-content: start; }
.qr-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.qr-card strong { color: var(--gold-strong); overflow-wrap: anywhere; }
.social-links { align-content: center; }
.social-card {
    display: grid;
    gap: 8px;
    transition: transform .18s ease, border-color .18s ease;
}
.social-card:hover {
    transform: translateY(-2px);
    border-color: var(--gold-strong);
}
.social-card span {
    color: var(--white);
    font-weight: 800;
}
.social-card strong {
    color: var(--gold-strong);
    overflow-wrap: anywhere;
}
.social-card small {
    color: #d8ccb5;
}
.assessment-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 22px;
    align-items: start;
    margin-bottom: 22px;
}
.assessment-head img, .login-logo {
    border: 1px solid rgba(200, 164, 77, .34);
    border-radius: 8px;
}
.assessment-head img {
    width: 100%;
    background: var(--white);
}
.login-logo {
    width: 160px;
    margin: 0 auto 18px;
    display: block;
}
.page .card, .main .card {
    background: #101010;
    border-color: rgba(200, 164, 77, .34);
    color: var(--white);
}
.page .btn-light, .main .btn-light {
    background: #101010;
    color: var(--gold-strong);
    border-color: rgba(200, 164, 77, .5);
}
.page .btn-light:hover, .main .btn-light:hover {
    background: var(--gold);
    color: #080808;
}
.page .btn-dark, .main .btn-dark {
    background: #211806;
    color: var(--gold-strong);
    border: 1px solid rgba(200, 164, 77, .5);
}
.video-call-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(0, 0, 0, .88);
}
.video-call-modal[hidden] {
    display: none;
}
.video-call-box {
    width: min(420px, 100%);
    display: grid;
    gap: 14px;
    padding: 28px 22px;
    border: 1px solid rgba(200, 164, 77, .5);
    border-radius: 8px;
    background: #101010;
    color: var(--white);
    text-align: center;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .58);
}
.video-call-box p {
    margin: 0;
    color: var(--gold-strong);
    font-weight: 800;
    text-transform: uppercase;
}
.video-call-box small {
    color: #d8ccb5;
}
.video-call-pulse {
    width: 76px;
    height: 76px;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 0 rgba(228, 191, 94, .55);
    animation: callPulse 1.35s infinite;
}
@keyframes callPulse {
    70% { box-shadow: 0 0 0 26px rgba(228, 191, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(228, 191, 94, 0); }
}
.notice-bell span {
    min-width: 18px;
    min-height: 18px;
    display: inline-grid;
    place-items: center;
    margin-left: 4px;
    padding: 2px 5px;
    border-radius: 999px;
    background: #333;
    color: #fff;
    font-size: 11px;
    line-height: 1;
}
.notice-bell.unread {
    color: #ff5a5a;
    animation: bellShake .75s infinite;
}
.notice-bell.unread span {
    background: #d12f2f;
}
.aviso-list {
    display: grid;
    gap: 14px;
}
.aviso-card {
    display: grid;
    gap: 10px;
}
.aviso-card img,
.aviso-card video {
    width: min(620px, 100%);
    max-height: 420px;
    object-fit: contain;
    border: 1px solid rgba(200, 164, 77, .28);
    border-radius: 8px;
    background: #050505;
}
@keyframes bellShake {
    0%, 100% { transform: rotate(0); }
    20% { transform: rotate(-10deg); }
    40% { transform: rotate(8deg); }
    60% { transform: rotate(-6deg); }
    80% { transform: rotate(4deg); }
}

@media (max-width: 860px) {
    .nav { align-items: flex-start; flex-direction: column; padding: 14px 0; }
    .menu { width: 100%; overflow-x: auto; padding-bottom: 4px; }
    .hero { min-height: auto; }
    .grid-2, .grid-3, .grid-4, .form-grid, .stats, .app-shell, .assessment-head { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .main { padding: 18px; }
    table { display: block; overflow-x: auto; }
}

@media (max-width: 640px) {
    .nav { width: min(100% - 20px, 1180px); }
    .brand { width: 100%; }
    .brand img, .brand-mark { width: 44px; height: 44px; }
    .menu { gap: 10px; font-size: 13px; }
    .menu a { white-space: nowrap; }
    .hero-content { padding: 52px 0 70px; }
    h1 { font-size: 36px; }
    h2 { font-size: 28px; }
    h3 { font-size: 19px; }
    .band { padding: 50px 0; }
    .page { width: min(100% - 20px, 1180px); margin: 20px auto 42px; }
    .panel { padding: 18px; }
    .actions, .hero-actions { flex-direction: column; align-items: stretch; }
    .btn, button { width: 100%; min-height: 48px; }
    .app-shell { min-height: auto; }
    .sidebar { padding: 16px; }
    .sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .sidebar a { text-align: center; font-size: 13px; }
    .main { padding: 14px; }
    .stat strong { font-size: 24px; }
    th, td { padding: 10px; font-size: 13px; }
    input, textarea, select { font-size: 16px; }
    .phone-row { grid-template-columns: 1fr; }
    .chat-header { padding: 16px; }
    .chat-box { height: 58vh; padding: 12px; }
    .bubble { max-width: 92%; }
    .chat-compose { grid-template-columns: 1fr; padding: 12px; }
    .chat-compose textarea { min-height: 76px; }
    .guest-list { grid-template-columns: 1fr; max-height: 260px; }
    .login-logo { width: 132px; }
}

/* Densidade compacta e conteúdo progressivo */
.main { font-size: 14px; }
.main .panel { padding: 20px; }
.main .form-grid { gap: 12px; }
.main input, .main textarea, .main select { min-height: 40px; padding: 9px 11px; }
.main textarea { min-height: 82px; }
.main .btn, .main button { min-height: 40px; padding: 9px 14px; }
.main .btn-small { min-height: 32px; padding: 6px 10px; }
.compact-actions { flex-direction: row; margin-top: 2px; }
.compact-actions > * { width: auto; }
.table-panel { padding: 0 !important; overflow-x: auto; }
.table-panel table { border-radius: inherit; }

.compact-disclosure { padding: 0 !important; overflow: hidden; }
.compact-disclosure > summary {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 18px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background .18s ease;
}
.compact-disclosure > summary::-webkit-details-marker { display: none; }
.compact-disclosure > summary:hover { background: rgba(255,255,255,.035); }
.compact-disclosure > summary > span:first-child { display: grid; gap: 2px; }
.compact-disclosure > summary strong { color: #f5f7fb; font-size: 16px; }
.compact-disclosure > summary small { color: #8f99aa; }
.compact-disclosure > summary::after { content: "+"; width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 8px; background: #252d3b; color: var(--gold-strong); font-size: 18px; font-weight: 800; }
.compact-disclosure[open] > summary { border-bottom: 1px solid #293243; }
.compact-disclosure[open] > summary::after { content: "−"; }
.summary-count, .summary-action { margin-left: auto; padding: 5px 9px; border: 1px solid #354054; border-radius: 999px; color: #b9c1cf; font-size: 11px; white-space: nowrap; }
.disclosure-content { padding: 18px; }
.content-tools { margin-top: 14px; }
.content-tools .video-admin-grid { padding: 14px; }
.content-tools .video-admin-grid > .panel { box-shadow: none; background: rgba(255,255,255,.025); }
.media-dashboard { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
.media-stat { min-height: 84px; padding: 13px 15px; box-shadow: none; }
.media-stat strong { font-size: 28px; }
.media-section-title { margin-bottom: 12px; }
.auth-folder { padding: 12px 0; }
.client-check-grid { max-height: 260px; overflow-y: auto; grid-template-columns: repeat(auto-fit,minmax(190px,1fr)); }

.compact-stats { margin-bottom: 14px; }
.compact-stats .stat { min-height: 94px; padding: 15px 17px; }
.compact-stats .stat strong { font-size: 29px; }
.dashboard-insights { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 14px; margin-bottom: 14px; }
.insight-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.insight-head h2, .projection-card h2 { font-size: 21px; }
.progress-score { min-width: 105px; display: grid; padding: 12px 15px; border-left: 3px solid var(--gold-strong); border-radius: 6px 14px 14px 6px; background: linear-gradient(90deg,rgba(215,173,74,.13),rgba(255,255,255,.025)); }
.progress-score strong { color: #fff; font-size: 25px; line-height: 1; }
.progress-score small { margin-top: 4px; color: #9ca6b7; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.metric-bars { display: grid; gap: 12px; margin-top: 18px; }
.metric-bars > div { display: grid; gap: 6px; }
.metric-bars span { display: flex; justify-content: space-between; gap: 12px; }
.metric-bars small { color: #8f99aa; }
.metric-bars i { height: 7px; overflow: hidden; border-radius: 10px; background: #2a3343; }
.metric-bars em { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#b8892d,var(--gold-strong)); }
.projection-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 16px 0; }
.projection-grid div { display: grid; align-content: start; gap: 4px; padding: 12px; border-radius: 10px; background: rgba(255,255,255,.035); border: 1px solid #293243; }
.projection-grid strong { color: var(--gold-strong); font-size: 25px; }
.projection-grid span { color: #aeb6c5; font-size: 11px; line-height: 1.35; }
.recent-evaluations { margin-top: 0; }

@media (max-width: 900px) {
    .dashboard-insights { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .compact-disclosure > summary { min-height: 62px; padding: 13px 14px; gap: 9px; }
    .compact-disclosure > summary small { display: none; }
    .summary-action { display: none; }
    .disclosure-content { padding: 13px; }
    .media-dashboard { grid-template-columns: repeat(3, 1fr); }
    .media-stat { min-width: 0; padding: 10px; }
    .media-stat strong { font-size: 23px; }
    .projection-grid { grid-template-columns: 1fr; }
}

/* Página pública: experiência editorial e movimento suave */
.public-menu-toggle { display: none; }
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: calc(100svh - 76px); }
.hero::before { content: ""; position: absolute; z-index: -1; width: 540px; height: 540px; right: -140px; top: -180px; border-radius: 50%; background: rgba(215,173,74,.14); filter: blur(80px); animation: heroGlow 7s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0; height: 180px; background: linear-gradient(transparent,rgba(7,10,15,.92)); }
.hero-content { max-width: 820px; }
.hero-content h1 { max-width: 800px; letter-spacing: -.055em; text-wrap: balance; }
.hero-content h1 span { color: var(--gold-strong); text-shadow: 0 0 45px rgba(215,173,74,.2); }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; padding: 7px 11px; border: 1px solid rgba(240,203,112,.3); border-radius: 999px; color: #f1d482; background: rgba(7,10,15,.45); backdrop-filter: blur(10px); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.hero-kicker span { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-strong); box-shadow: 0 0 0 6px rgba(240,203,112,.11); }
.btn-ghost { color: #fff; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(9px); box-shadow: none; }
.hero-pillars { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 34px; }
.hero-pillars span { padding: 8px 11px; border: 1px solid rgba(255,255,255,.12); border-radius: 9px; color: #b8bec9; background: rgba(7,10,15,.43); backdrop-filter: blur(8px); font-size: 12px; }
.hero-pillars b { color: var(--gold-strong); margin-right: 4px; }
.band { position: relative; overflow: hidden; padding: 92px 0; }
.band.alt { background: linear-gradient(135deg,#f7f8fb,#eef1f6); }
.band.dark { background: radial-gradient(circle at 80% 20%,rgba(215,173,74,.09),transparent 32%),#080b11; }
.public-section-grid { gap: clamp(34px,6vw,82px); align-items: center; }
.band:not(.dark) .card { border: 1px solid #e2e6ed; box-shadow: 0 16px 44px rgba(20,26,37,.08); }
.band:not(.dark) .card:hover { border-color: rgba(183,139,44,.45); box-shadow: 0 22px 55px rgba(20,26,37,.13); }
.value-grid .card { min-height: 112px; display: flex; align-items: flex-end; position: relative; padding-top: 50px; }
.value-grid .card::before { content: ""; position: absolute; top: 22px; left: 24px; width: 28px; height: 3px; border-radius: 5px; background: var(--gold-strong); }
.mentor-frame { position: relative; padding: 14px; }
.mentor-frame::before { content: ""; position: absolute; inset: 0; border: 1px solid rgba(183,139,44,.35); border-radius: 18px; transform: rotate(-2deg); }
.mentor-frame .mentor-photo { position: relative; border-radius: 14px; filter: saturate(.9) contrast(1.03); }
.method-list { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; counter-reset: method; }
.method-item { counter-increment: method; position: relative; min-height: 165px; padding: 60px 18px 18px; border: 1px solid #e2e6ed; border-radius: 14px; background: #fff; box-shadow: 0 14px 38px rgba(20,26,37,.07); }
.method-item::before { content: "0" counter(method); position: absolute; top: 18px; left: 18px; color: #b88c31; font-size: 23px; font-weight: 900; }
.public-reveal, .public-reveal-stack > * { opacity: 0; transform: translateY(24px); transition: opacity .65s ease var(--reveal-delay,0ms),transform .65s cubic-bezier(.2,.7,.2,1) var(--reveal-delay,0ms); }
.public-reveal.is-visible, .public-reveal-stack > *.is-visible { opacity: 1; transform: translateY(0); }
@keyframes heroGlow { to { transform: translate(-70px,70px) scale(1.12); opacity: .62; } }
@media (max-width: 980px) { .method-list { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 860px) {
    .topbar .nav { flex-direction: row; align-items: center; padding: 10px 0; }
    .public-menu-toggle { width: 44px; height: 44px; min-height: 44px; display: grid; place-content: center; gap: 5px; padding: 0; }
    .public-menu-toggle span { width: 20px; height: 2px; background: #111; }
    .topbar .menu { position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); display: none; width: auto; padding: 12px; overflow: visible; flex-direction: column; align-items: stretch; background: rgba(15,20,29,.98); border: 1px solid #30394a; border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
    .topbar .menu.is-open { display: flex; }
    .topbar .menu a { padding: 10px; }
}
@media (max-width: 640px) {
    .band { padding: 62px 0; }
    .hero-pillars { display: grid; grid-template-columns: repeat(3,1fr); }
    .hero-pillars span { padding: 8px 6px; text-align: center; }
    .hero-pillars b { display: block; }
    .method-list { grid-template-columns: 1fr; }
    .method-item { min-height: auto; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Admin 2026 v2: interface clara, profissional e orientada ao conteúdo */
.app-shell {
    --admin-navy: #101d35;
    --admin-navy-2: #172945;
    --admin-blue: #2f80ed;
    --admin-blue-soft: #eaf4ff;
    --admin-cyan: #62c3f3;
    --admin-bg: #f3f7fb;
    --admin-card: rgba(255,255,255,.94);
    --admin-text: #1b2a41;
    --admin-muted: #728096;
    --admin-border: #dce6f0;
    grid-template-columns: 268px minmax(0,1fr);
    color: var(--admin-text);
    background: var(--admin-bg);
}
.app-shell .sidebar {
    width: auto;
    padding: 20px 16px;
    color: #fff;
    background: linear-gradient(165deg,#172a49 0%,#101d35 58%,#0b162a 100%);
    border-right: 0;
    box-shadow: 12px 0 35px rgba(17,35,61,.13);
}
.app-shell .sidebar::after { content: ""; position: absolute; inset: auto 0 0; height: 190px; pointer-events: none; background: radial-gradient(circle at 80% 100%,rgba(98,195,243,.15),transparent 65%); }
.app-shell .sidebar .brand img,.app-shell .sidebar .brand-mark { border: 0; border-radius: 13px; background: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.app-shell .sidebar .brand strong { font-size: 14px; letter-spacing: .03em; }
.app-shell .sidebar .brand small { color: #91a9c8; }
.app-shell .sidebar-user { margin: 22px 0 17px; padding: 11px; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.09); box-shadow: inset 0 1px rgba(255,255,255,.04); }
.app-shell .sidebar-user > span { border-radius: 11px; color: #fff; background: linear-gradient(135deg,var(--admin-blue),var(--admin-cyan)); box-shadow: 0 7px 17px rgba(47,128,237,.28); }
.app-shell .sidebar-user small,.app-shell .nav-label { color: #8fa7c7; }
.app-shell .sidebar nav { gap: 3px; }
.app-shell .sidebar a { min-height: 42px; display: flex; align-items: center; padding: 10px 12px; color: #bdcce1; border-radius: 11px; font-weight: 650; }
.app-shell .sidebar a:hover { color: #fff; background: rgba(255,255,255,.075); transform: none; }
.app-shell .sidebar a.active { color: #fff; background: linear-gradient(90deg,rgba(47,128,237,.9),rgba(78,163,231,.72)); box-shadow: 0 9px 24px rgba(18,102,207,.24); }
.app-shell .sidebar a.active::before { display: none; }
.app-shell .sidebar-footer { border-color: rgba(255,255,255,.09); z-index: 1; }

.app-shell .main {
    position: relative;
    isolation: isolate;
    padding: 34px clamp(22px,3.3vw,52px) 58px;
    color: var(--admin-text);
    background: linear-gradient(135deg,rgba(247,250,253,.98),rgba(238,245,251,.97));
}
.app-shell .main::before { content: ""; position: fixed; z-index: -1; width: min(45vw,650px); height: 78vh; right: 0; bottom: 0; pointer-events: none; opacity: .035; filter: grayscale(1) contrast(1.1); background: url('../img/lion-dashboard.jpg') center / cover no-repeat; mask-image: linear-gradient(90deg,transparent,#000 35%); }
.app-shell .main > h1,.app-shell .page-heading h1 { color: var(--admin-text); font-size: clamp(27px,2.6vw,38px); font-weight: 780; letter-spacing: -.035em; }
.app-shell .main > h1::after { width: 38px; height: 3px; margin-top: 10px; background: linear-gradient(90deg,var(--admin-blue),var(--admin-cyan)); }
.app-shell .help { color: var(--admin-muted); }
.app-shell .eyebrow { color: var(--admin-blue); letter-spacing: .1em; }

.app-shell .panel,.app-shell .card,.app-shell .stat,.app-shell .media-stat,.app-shell .video-card {
    color: var(--admin-text);
    background: var(--admin-card);
    border: 1px solid var(--admin-border);
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(28,55,90,.065);
}
.app-shell .panel:hover { border-color: #cfdeeb; }
.app-shell .card:hover,.app-shell .stat:hover,.app-shell .media-stat:hover,.app-shell .video-card:hover { transform: translateY(-1px); border-color: #c3d8ea; box-shadow: 0 13px 34px rgba(28,55,90,.1); }
.app-shell .stats { gap: 11px; }
.app-shell .stat { min-height: 96px; padding: 17px 18px; color: var(--admin-muted); }
.app-shell .stat strong { color: var(--admin-blue); font-size: 30px; }
.app-shell .compact-stats .stat:nth-child(2n) strong { color: #3178a8; }

.app-shell .btn,.app-shell button { color: #fff; background: linear-gradient(135deg,var(--admin-blue),#4b9ee8); border: 0; border-radius: 10px; box-shadow: 0 7px 17px rgba(47,128,237,.18); font-weight: 700; }
.app-shell .btn:hover,.app-shell button:hover { filter: saturate(1.08); box-shadow: 0 9px 22px rgba(47,128,237,.25); }
.app-shell .btn-light { color: #38506d; background: #fff; border: 1px solid #d4e0eb; box-shadow: none; }
.app-shell .btn-light:hover { color: var(--admin-blue); background: var(--admin-blue-soft); border-color: #b9d6ef; }
.app-shell .btn-danger { color: #fff; background: #d84d5f; }

.app-shell label { color: #344761; font-weight: 700; }
.app-shell input,.app-shell textarea,.app-shell select { color: var(--admin-text); background: #f9fbfd; border: 1px solid #d6e1ec; border-radius: 10px; box-shadow: inset 0 1px 2px rgba(30,55,85,.025); }
.app-shell input:hover,.app-shell textarea:hover,.app-shell select:hover { border-color: #b8cadb; }
.app-shell input:focus,.app-shell textarea:focus,.app-shell select:focus { color: var(--admin-text); background: #fff; border-color: var(--admin-blue); box-shadow: 0 0 0 4px rgba(47,128,237,.1); }
.app-shell input[type="file"] { padding: 7px; }
.app-shell input[type="checkbox"] { accent-color: var(--admin-blue); }

.app-shell table { color: var(--admin-text); background: transparent; border-radius: 13px; }
.app-shell th { color: #5e7088; background: #edf3f8; border-bottom: 1px solid #dae5ee; font-size: 11px; letter-spacing: .075em; }
.app-shell td { color: #32445d; border-color: #e7edf3; }
.app-shell tbody tr { background: rgba(255,255,255,.76); }
.app-shell tbody tr:nth-child(even) { background: rgba(246,249,252,.78); }
.app-shell tbody tr:hover { background: #eef7ff; }
.app-shell .table-panel { background: rgba(255,255,255,.88); }

.app-shell .alert { color: #245078; background: #eaf5ff; border: 1px solid #c5e1f7; box-shadow: none; }
.app-shell .tag { color: #53657b; background: #edf1f5; }
.app-shell .tag-green { color: #187656; background: #ddf5e9; }
.app-shell .tag-blue { color: #1d67a0; background: #deeffd; }
.app-shell .tag-gold { color: #8b6618; background: #fff2c9; }

.app-shell .compact-disclosure { background: rgba(255,255,255,.92); }
.app-shell .compact-disclosure > summary { min-height: 62px; padding: 13px 16px; }
.app-shell .compact-disclosure > summary:hover { background: #f5f9fc; }
.app-shell .compact-disclosure > summary strong { color: var(--admin-text); }
.app-shell .compact-disclosure > summary small { color: var(--admin-muted); }
.app-shell .compact-disclosure > summary::after { color: var(--admin-blue); background: var(--admin-blue-soft); }
.app-shell .compact-disclosure[open] > summary { border-color: var(--admin-border); background: #f8fbfd; }
.app-shell .summary-count,.app-shell .summary-action { color: #5d718a; background: #f4f8fb; border-color: #d9e5ef; }
.app-shell .disclosure-content { padding: 15px; }

.app-shell .content-tools .video-admin-grid > .panel { background: #f8fbfe; border: 1px solid #deE8f1; }
.app-shell .media-stat { min-height: 82px; border-left-width: 1px; overflow: hidden; }
.app-shell .media-stat::before { content: ""; width: 4px; position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: var(--admin-blue); }
.app-shell .media-stat { position: relative; }
.app-shell .media-stat span,.app-shell .media-stat small { color: var(--admin-muted); }
.app-shell .media-stat strong { color: var(--admin-blue); }
.app-shell .media-stat-podcast::before { background: #7e6fe5; }
.app-shell .media-stat-podcast strong { color: #6f62ca; }
.app-shell .media-upload-panel::before,.app-shell .media-library-panel::before { width: 3px; background: var(--admin-blue); }

.app-shell .auth-access-row { border: 1px solid #dae5ef; border-radius: 14px; background: #f8fbfd; box-shadow: none; }
.app-shell .auth-access-row:hover { border-color: #bcd2e5; }
.app-shell .auth-access-row[open] { border-color: #b5d5f1; background: #f4faff; }
.app-shell .auth-access-row > summary strong { color: var(--admin-text); }
.app-shell .auth-access-row > summary small { color: var(--admin-muted); }
.app-shell .auth-access-row > summary::after { color: var(--admin-blue); background: #e4f2ff; }
.app-shell .auth-access-row .auth-folder { border-color: #dce8f1; }
.app-shell .auth-access-row .client-check-grid label { color: #344761; background: #fff; border-color: #dce6ef; border-radius: 11px; }
.app-shell .auth-access-row .client-check-grid label:hover { border-color: #a9d1f2; background: #f0f8ff; }

.app-shell .insight-card,.app-shell .projection-card { background: rgba(255,255,255,.94); }
.app-shell .progress-score { border-left-color: var(--admin-blue); background: linear-gradient(90deg,#eaf4ff,#f7fbff); }
.app-shell .progress-score strong { color: var(--admin-blue); }
.app-shell .progress-score small { color: var(--admin-muted); }
.app-shell .metric-bars i { background: #e1eaf2; }
.app-shell .metric-bars em { background: linear-gradient(90deg,var(--admin-blue),var(--admin-cyan)); }
.app-shell .metric-bars small { color: var(--admin-muted); }
.app-shell .projection-grid div { background: #f7fafc; border-color: #e0e8f0; border-radius: 12px; }
.app-shell .projection-grid strong { color: var(--admin-blue); }
.app-shell .projection-grid span { color: var(--admin-muted); }

.app-shell .app-modal::backdrop { background: rgba(12,27,48,.55); backdrop-filter: blur(5px); }
.app-shell .modal-card { color: var(--admin-text); background: #fff; border-color: #dce6f0; box-shadow: 0 28px 80px rgba(13,34,62,.26); }
.app-shell .modal-heading h2 { color: var(--admin-text); }
.app-shell .modal-close { color: #53657b; background: #eff4f8; border: 1px solid #dce5ed; box-shadow: none; }

@media (max-width: 860px) {
    .app-shell { display: block; }
    .app-shell .sidebar { width: min(300px,88vw); }
    .app-shell .sidebar-toggle { background: var(--admin-navy); border: 0; box-shadow: 0 8px 23px rgba(16,29,53,.24); }
    .app-shell .sidebar-toggle span { background: #fff; }
    .app-shell .main { padding-top: 74px; }
}
@media (max-width: 640px) {
    .app-shell .main { padding-left: 12px; padding-right: 12px; }
    .app-shell .stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .app-shell .stat { min-height: 86px; }
    .app-shell .panel { border-radius: 14px; }
}

/* Identidade oficial Rumo à Posse: preto e dourado */
.app-shell {
    --admin-navy: #080808;
    --admin-navy-2: #111111;
    --admin-blue: #c9a34a;
    --admin-blue-soft: #292312;
    --admin-cyan: #f0cf78;
    --admin-bg: #090909;
    --admin-card: rgba(20,20,20,.95);
    --admin-text: #f6f2e8;
    --admin-muted: #aaa395;
    --admin-border: #302c23;
    background: #090909;
}
.app-shell .sidebar { background: linear-gradient(165deg,#15130e 0%,#090909 58%,#050505 100%); box-shadow: 12px 0 35px rgba(0,0,0,.3); }
.app-shell .sidebar::after { background: radial-gradient(circle at 80% 100%,rgba(201,163,74,.13),transparent 65%); }
.app-shell .sidebar-user { background: rgba(255,255,255,.045); border-color: rgba(201,163,74,.13); }
.app-shell .sidebar-user > span { color: #080808; background: linear-gradient(135deg,#b78d30,#f0cf78); box-shadow: 0 7px 17px rgba(201,163,74,.2); }
.app-shell .sidebar .brand small,.app-shell .sidebar-user small,.app-shell .nav-label { color: #9d927a; }
.app-shell .sidebar a { color: #c7bead; }
.app-shell .sidebar a:hover { color: #fff; background: rgba(201,163,74,.08); }
.app-shell .sidebar a.active { color: #0b0b0b; background: linear-gradient(100deg,#b78d30,#efd078); box-shadow: 0 9px 24px rgba(201,163,74,.18); }
.app-shell .main { color: var(--admin-text); background: linear-gradient(135deg,rgba(12,12,12,.985),rgba(20,18,14,.98)); }
.app-shell .main::before { opacity: .055; filter: grayscale(.2) sepia(.2) contrast(1.08); }
.app-shell .main > h1,.app-shell .page-heading h1 { color: #fff; }
.app-shell .main > h1::after { background: linear-gradient(90deg,#b78d30,#f0cf78); }
.app-shell .help { color: var(--admin-muted); }
.app-shell .eyebrow { color: #d9b85f; }
.app-shell .panel,.app-shell .card,.app-shell .stat,.app-shell .media-stat,.app-shell .video-card { color: var(--admin-text); background: var(--admin-card); border-color: var(--admin-border); box-shadow: 0 10px 32px rgba(0,0,0,.2); }
.app-shell .panel:hover,.app-shell .card:hover,.app-shell .stat:hover,.app-shell .media-stat:hover,.app-shell .video-card:hover { border-color: #51462d; box-shadow: 0 15px 38px rgba(0,0,0,.28); }
.app-shell .stat { color: var(--admin-muted); }
.app-shell .stat strong,.app-shell .compact-stats .stat:nth-child(2n) strong { color: #e4bf61; }
.app-shell .btn,.app-shell button { color: #0a0a0a; background: linear-gradient(135deg,#b98e31,#e6c467); box-shadow: 0 7px 17px rgba(201,163,74,.13); }
.app-shell .btn:hover,.app-shell button:hover { box-shadow: 0 9px 22px rgba(201,163,74,.2); }
.app-shell .btn-light { color: #e8d9b1; background: #191919; border-color: #403923; }
.app-shell .btn-light:hover { color: #0a0a0a; background: #d8b65c; border-color: #d8b65c; }
.app-shell .btn-danger { color: #fff; background: #a93e48; }
.app-shell label { color: #e5dece; }
.app-shell input,.app-shell textarea,.app-shell select { color: #f5f1e7; background: #0d0d0d; border-color: #383328; box-shadow: inset 0 1px 2px rgba(0,0,0,.15); }
.app-shell input:hover,.app-shell textarea:hover,.app-shell select:hover { border-color: #625538; }
.app-shell input:focus,.app-shell textarea:focus,.app-shell select:focus { color: #fff; background: #111; border-color: #d8b65c; box-shadow: 0 0 0 4px rgba(216,182,92,.1); }
.app-shell input[type="checkbox"] { accent-color: #c9a34a; }
.app-shell table { color: var(--admin-text); }
.app-shell th { color: #d8bf7a; background: #1c1912; border-color: #373124; }
.app-shell td { color: #ddd7ca; border-color: #2e2b25; }
.app-shell tbody tr,.app-shell tbody tr:nth-child(even) { background: rgba(20,20,20,.8); }
.app-shell tbody tr:nth-child(even) { background: rgba(25,24,21,.84); }
.app-shell tbody tr:hover { background: #292419; }
.app-shell .table-panel { background: rgba(18,18,18,.93); }
.app-shell .alert { color: #f0d792; background: #29220f; border-color: #5b4a1e; }
.app-shell .compact-disclosure { background: rgba(20,20,20,.94); }
.app-shell .compact-disclosure > summary:hover { background: #1d1b17; }
.app-shell .compact-disclosure > summary strong { color: #f7f3e9; }
.app-shell .compact-disclosure > summary small { color: var(--admin-muted); }
.app-shell .compact-disclosure > summary::after { color: #e4bf61; background: #2b2517; }
.app-shell .compact-disclosure[open] > summary { border-color: #383226; background: #191713; }
.app-shell .summary-count,.app-shell .summary-action { color: #c7b98f; background: #1d1b16; border-color: #3e3829; }
.app-shell .content-tools .video-admin-grid > .panel { background: #121212; border-color: #332f27; }
.app-shell .media-stat::before { background: #d0a94d; }
.app-shell .media-stat span,.app-shell .media-stat small { color: var(--admin-muted); }
.app-shell .media-stat strong { color: #e0bc60; }
.app-shell .media-stat-podcast::before { background: #9f7b34; }
.app-shell .media-stat-podcast strong { color: #d7b45b; }
.app-shell .media-upload-panel::before,.app-shell .media-library-panel::before { background: #d0a94d; }
.app-shell .auth-access-row { border-color: #373229; background: #121212; }
.app-shell .auth-access-row:hover { border-color: #554a31; }
.app-shell .auth-access-row[open] { border-color: #67562e; background: #17150f; }
.app-shell .auth-access-row > summary strong { color: #f4efe4; }
.app-shell .auth-access-row > summary small { color: var(--admin-muted); }
.app-shell .auth-access-row > summary::after { color: #e4bf61; background: #2c2618; }
.app-shell .auth-access-row .auth-folder { border-color: #353026; }
.app-shell .auth-access-row .client-check-grid label { color: #ddd6c7; background: #0c0c0c; border-color: #353128; }
.app-shell .auth-access-row .client-check-grid label:hover { border-color: #6a5931; background: #1e1a11; }
.app-shell .insight-card,.app-shell .projection-card { background: rgba(20,20,20,.95); }
.app-shell .progress-score { border-left-color: #d8b65c; background: linear-gradient(90deg,#2b2516,#181713); }
.app-shell .progress-score strong { color: #e4bf61; }
.app-shell .progress-score small,.app-shell .metric-bars small { color: var(--admin-muted); }
.app-shell .metric-bars i { background: #302d27; }
.app-shell .metric-bars em { background: linear-gradient(90deg,#a77c27,#e7c76c); }
.app-shell .projection-grid div { background: #111; border-color: #332f27; }
.app-shell .projection-grid strong { color: #e1bd60; }
.app-shell .projection-grid span { color: var(--admin-muted); }
.app-shell .app-modal::backdrop { background: rgba(0,0,0,.72); }
.app-shell .modal-card { color: var(--admin-text); background: #151515; border-color: #3e382d; box-shadow: 0 28px 80px rgba(0,0,0,.62); }
.app-shell .modal-heading h2 { color: #fff; }
.app-shell .modal-close { color: #e5dece; background: #24211b; border-color: #40392b; }
.app-shell .sidebar-toggle { background: #111; }

/* Contraste expressivo: leão mais presente e navegação mais intuitiva */
.app-shell .main {
    background:
        radial-gradient(circle at 82% 8%,rgba(211,169,72,.1),transparent 29%),
        radial-gradient(circle at 12% 88%,rgba(139,92,28,.08),transparent 31%),
        linear-gradient(135deg,rgba(9,9,9,.975),rgba(24,20,13,.96));
}
.app-shell .main::before {
    width: min(62vw,900px);
    height: 92vh;
    right: -2vw;
    bottom: -3vh;
    opacity: .2;
    filter: sepia(.18) saturate(.9) contrast(1.12);
    background-position: center 42%;
    mask-image: linear-gradient(90deg,transparent 0%,rgba(0,0,0,.28) 18%,#000 50%);
}
.app-shell .main::after {
    content: "";
    position: fixed;
    z-index: -1;
    inset: 0 0 0 268px;
    pointer-events: none;
    background: linear-gradient(90deg,rgba(7,7,7,.2),transparent 48%,rgba(7,7,7,.08));
}
.app-shell .panel,.app-shell .card,.app-shell .stat,.app-shell .media-stat,.app-shell .video-card {
    background: linear-gradient(145deg,rgba(24,24,23,.965),rgba(15,15,15,.94));
    backdrop-filter: blur(8px);
}
.app-shell .stat { position: relative; overflow: hidden; border-top: 2px solid #b58a32; }
.app-shell .stat:nth-child(2) { border-top-color: #e2c46f; }
.app-shell .stat:nth-child(3) { border-top-color: #9f6e28; }
.app-shell .stat:nth-child(4) { border-top-color: #f0d78e; }
.app-shell .stat strong { text-shadow: 0 5px 24px rgba(218,179,79,.12); }
.app-shell .sidebar a.active { outline: 1px solid rgba(255,235,176,.2); }
.app-shell .sidebar a:not(.active)::before { content: ""; width: 4px; height: 4px; margin-right: 9px; border-radius: 50%; background: #766b55; transition: background .18s ease,box-shadow .18s ease; }
.app-shell .sidebar a:not(.active):hover::before { background: #e2bd61; box-shadow: 0 0 0 4px rgba(226,189,97,.1); }
.app-shell .compact-disclosure > summary { border-left: 3px solid transparent; }
.app-shell .compact-disclosure[open] > summary { border-left-color: #d0aa4e; }
.app-shell .content-tools > summary { border-left-color: #a97529; }
.app-shell .media-library-video > summary { border-left-color: #e1be62; }
.app-shell .media-library-podcast > summary { border-left-color: #9d6b2a; }
.app-shell .btn { letter-spacing: .01em; }
.app-shell .btn-danger { background: linear-gradient(135deg,#8e3039,#bd4b54); }
.app-shell .tag-green { color: #aee3c4; background: #153428; border: 1px solid #28523f; }
.app-shell .tag-blue { color: #f0d999; background: #332810; border: 1px solid #5b471e; }
.app-shell .tag-gold { color: #f3d681; background: #392c0e; border: 1px solid #66501d; }
.app-shell .auth-access-row[open] { box-shadow: 0 12px 34px rgba(0,0,0,.18),inset 3px 0 #cda64a; }
.app-shell .metric-bars em { box-shadow: 0 0 16px rgba(220,182,85,.24); }
.app-shell .progress-score { box-shadow: inset 0 1px rgba(255,236,183,.04); }

@media (max-width: 860px) {
    .app-shell .main::before { width: 100vw; height: 72vh; right: -28vw; opacity: .14; background-position: center; }
    .app-shell .main::after { left: 0; }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .app-shell { grid-template-columns: 210px minmax(0, 1fr); }
    .main { padding: 22px; }
    .chat-box { height: 54vh; }
}

.video-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
}

.media-dashboard {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 20px 0;
}

.media-stat {
    display: grid;
    gap: 4px;
    min-height: 118px;
    padding: 18px;
    border: 1px solid rgba(200, 164, 77, .34);
    border-radius: 8px;
    background: #101010;
}

.media-stat span {
    color: #d8ccb5;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.media-stat strong {
    color: var(--gold-strong);
    font-size: 36px;
    line-height: 1;
}

.media-stat small {
    color: #d8ccb5;
}

.media-stat-video {
    border-left: 5px solid var(--blue);
}

.media-stat-podcast {
    border-left: 5px solid var(--gold-strong);
}

.media-upload-panel,
.media-library-panel {
    position: relative;
    overflow: hidden;
}

.media-upload-panel::before,
.media-library-panel::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
}

.media-upload-video::before,
.media-library-video::before {
    background: var(--blue);
}

.media-upload-podcast::before,
.media-library-podcast::before {
    background: var(--gold-strong);
}

.media-upload-video h2,
.media-library-video h2 {
    color: #dfeafe;
}

.media-upload-podcast h2,
.media-library-podcast h2 {
    color: var(--gold-strong);
}

.media-section-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.inline-form {
    display: inline;
}

.folder-edit {
    display: inline-block;
    margin-right: 8px;
}

.folder-edit summary {
    min-height: 34px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    background: var(--gold);
    color: #080808;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    list-style: none;
}

.folder-edit summary::-webkit-details-marker {
    display: none;
}

.folder-edit-form {
    width: min(360px, 78vw);
    display: grid;
    gap: 10px;
    margin-top: 10px;
    padding: 12px;
    border: 1px solid rgba(200, 164, 77, .28);
    background: #070707;
}

.folder-edit-form label {
    display: grid;
    gap: 6px;
}

.folder-edit-form textarea {
    min-height: 78px;
}

.client-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
    margin: 12px 0 16px;
}

.client-check-grid label {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid rgba(200, 164, 77, .22);
    background: rgba(255, 255, 255, .03);
}

.auth-folder {
    padding: 18px 0;
    border-top: 1px solid rgba(200, 164, 77, .18);
}

.auth-folder:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.auth-access-row { margin: 9px 0; overflow: hidden; border: 1px solid #30394a; border-radius: 16px; background: linear-gradient(135deg,rgba(255,255,255,.035),rgba(255,255,255,.012)); transition: border-color .18s ease,background .18s ease; }
.auth-access-row:hover { border-color: #465269; }
.auth-access-row[open] { border-color: rgba(215,173,74,.42); background: rgba(215,173,74,.035); }
.auth-access-row > summary { min-height: 58px; display: flex; align-items: center; gap: 14px; padding: 12px 15px; cursor: pointer; list-style: none; }
.auth-access-row > summary::-webkit-details-marker { display: none; }
.auth-access-row > summary > span:first-child { display: grid; gap: 2px; }
.auth-access-row > summary strong { font-size: 14px; color: #f3f5f8; }
.auth-access-row > summary small { font-size: 11px; color: #8f99aa; }
.auth-access-row > summary .summary-count { margin-left: auto; }
.auth-access-row > summary::after { content: "+"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: var(--gold-strong); background: #232b39; font-weight: 900; }
.auth-access-row[open] > summary::after { content: "−"; }
.auth-access-row .auth-folder { padding: 4px 15px 15px; border-top: 1px solid rgba(255,255,255,.06); }
.auth-access-row .client-check-grid label { border: 1px solid #30394a; border-radius: 12px; background: rgba(7,10,15,.52); font-weight: 600; transition: border-color .16s ease,background .16s ease; }
.auth-access-row .client-check-grid label:hover { border-color: rgba(215,173,74,.45); background: rgba(215,173,74,.055); }

.video-panel-title,
.video-card-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.video-library {
    display: grid;
    gap: 20px;
}

.video-folder {
    display: grid;
    gap: 12px;
}

.video-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.video-card {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(200, 164, 77, .2);
    background: rgba(255, 255, 255, .025);
}

.video-card video,
.aviso-card video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #050505;
    border: 1px solid rgba(200, 164, 77, .2);
}

.video-card audio {
    width: 100%;
}

.video-card-title span {
    color: var(--muted);
    font-size: .9rem;
    white-space: nowrap;
}

.podium-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    place-items: center;
    padding: 18px;
    background: rgba(0, 0, 0, .72);
}

.podium-modal.is-visible {
    display: grid;
}

.podium-dialog {
    position: relative;
    width: min(100%, 760px);
    padding: 28px;
    background: #0d0d0d;
    border: 1px solid rgba(200, 164, 77, .48);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
}

.podium-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(200, 164, 77, .35);
    background: #151515;
    color: var(--text);
}

.podium-stage {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: end;
    gap: 14px;
    margin-top: 22px;
}

.podium-place {
    display: grid;
    place-items: center;
    gap: 8px;
    min-height: 150px;
    padding: 18px;
    text-align: center;
    background: linear-gradient(180deg, rgba(200, 164, 77, .2), rgba(255, 255, 255, .04));
    border: 1px solid rgba(200, 164, 77, .32);
}

.podium-place-1 {
    min-height: 210px;
}

.podium-place-2 {
    min-height: 180px;
}

.podium-place span {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--gold);
    color: #080808;
    font-weight: 800;
}

.podium-place strong {
    font-size: 1.05rem;
}

.podium-place small {
    color: var(--muted);
}

@media (max-width: 700px) {
    .media-dashboard,
    .media-section-title {
        grid-template-columns: 1fr;
        display: grid;
    }

    .video-panel-title,
    .video-card-title {
        display: grid;
    }

    .podium-stage {
        grid-template-columns: 1fr;
    }

    .podium-place,
    .podium-place-1,
    .podium-place-2 {
        min-height: 130px;
    }
}

/* Interface 2026: acabamento global e painel administrativo */
:root {
    --black: #070a0f;
    --ink: #121722;
    --muted: #8d96a7;
    --gold: #d7ad4a;
    --gold-strong: #f0cb70;
    --soft: #f5f7fb;
    --line: #dfe4ec;
    --surface: #10151f;
    --surface-2: #171d29;
    --surface-3: #202838;
    --shadow: 0 20px 55px rgba(0, 0, 0, .28);
    --radius: 14px;
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #080b11;
    text-rendering: optimizeLegibility;
}

.btn, button {
    border-radius: 10px;
    box-shadow: 0 7px 18px rgba(215, 173, 74, .12);
    transition: transform .18s ease, filter .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover, button:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn:active, button:active { transform: translateY(0); }
.btn:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid rgba(240, 203, 112, .38); outline-offset: 2px; }
.btn-danger { background: #c33f4a; }

.card, .panel, .stat, .media-stat, .video-card, .aviso-card {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.card, .stat, .media-stat, .video-card {
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover, .stat:hover, .media-stat:hover, .video-card:hover {
    transform: translateY(-2px);
    border-color: rgba(240, 203, 112, .5);
    box-shadow: 0 24px 65px rgba(0, 0, 0, .34);
}

input, textarea, select {
    border-radius: 10px;
    background: #0b1018;
    border-color: #30394a;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
input:hover, textarea:hover, select:hover { border-color: #566075; }
input:focus, textarea:focus, select:focus {
    outline: 0;
    background: #0e1420;
    border-color: var(--gold-strong);
    box-shadow: 0 0 0 4px rgba(240, 203, 112, .12);
}
label { color: #f0f3f8; letter-spacing: .01em; }
.help { color: #9ea7b7; }
.alert { border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }

.app-shell { grid-template-columns: 280px minmax(0, 1fr); background: #080b11; }
.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 22px 18px;
    overflow-y: auto;
    background: linear-gradient(180deg, #111722, #090d14 72%);
    border-right: 1px solid #242c3a;
    box-shadow: 15px 0 45px rgba(0, 0, 0, .18);
    z-index: 80;
}
.sidebar-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sidebar .brand { min-width: 0; }
.sidebar .brand img, .sidebar .brand-mark { width: 46px; height: 46px; border-radius: 12px; }
.sidebar .brand > span:last-child { display: grid; min-width: 0; }
.sidebar .brand strong { color: #fff; font-size: 15px; }
.sidebar .brand small { color: #8f99aa; font-size: 11px; font-weight: 600; }
.sidebar-user {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin: 24px 0 18px;
    padding: 12px;
    background: rgba(255,255,255,.04);
    border: 1px solid #252e3d;
    border-radius: 12px;
}
.sidebar-user > span {
    width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px;
    color: #111; background: linear-gradient(135deg, var(--gold-strong), #b9882c); font-weight: 900;
}
.sidebar-user div { min-width: 0; display: grid; }
.sidebar-user strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.sidebar-user small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #8f99aa; font-size: 10px; }
.nav-label { color: #697386; font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; padding: 0 11px; }
.sidebar nav { margin-top: 8px; gap: 5px; }
.sidebar a { position: relative; padding: 11px 12px; border-radius: 10px; transition: background .18s ease, color .18s ease, transform .18s ease; }
.sidebar a:hover { transform: translateX(2px); }
.sidebar a.active { background: linear-gradient(90deg, rgba(215,173,74,.22), rgba(215,173,74,.07)); }
.sidebar a.active::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px; border-radius: 3px; background: var(--gold-strong); }
.sidebar-footer { display: grid; gap: 5px; margin-top: auto; padding-top: 18px; border-top: 1px solid #252e3d; }
.sidebar-close, .sidebar-toggle, .sidebar-backdrop { display: none; }

.main {
    min-width: 0;
    padding: 34px clamp(20px, 3vw, 48px) 60px;
    background:
        linear-gradient(90deg, rgba(8,11,17,.97) 0%, rgba(8,11,17,.91) 46%, rgba(8,11,17,.69) 100%),
        radial-gradient(circle at 92% 0, rgba(215,173,74,.12), transparent 30%),
        url('../img/lion-dashboard.jpg') center center / cover fixed,
        #080b11;
}
.main > h1 { font-size: clamp(30px, 3vw, 44px); letter-spacing: -.035em; }
.main > h1::after { content: ""; display: block; width: 52px; height: 4px; margin-top: 13px; border-radius: 5px; background: linear-gradient(90deg, var(--gold-strong), transparent); }
.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.page-heading h1 { font-size: clamp(30px, 3vw, 44px); letter-spacing: -.035em; }
.page-heading p { margin: 8px 0 0; }
.stats { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 24px 0; }
.stat { position: relative; overflow: hidden; min-height: 122px; padding: 22px; background: linear-gradient(145deg, var(--surface-2), var(--surface)); border-color: #293243; color: #aeb6c5; }
.stat::after { display: none; }
.stat strong { font-size: 36px; letter-spacing: -.04em; }
.panel { background: linear-gradient(145deg, rgba(23,29,41,.96), rgba(13,18,27,.96)); border-color: #293243; }

table { border: 0; border-radius: 12px; overflow: hidden; background: #101620; }
th { padding: 14px; background: #1b2230; color: #e7c66f; letter-spacing: .05em; }
td { border-color: #252e3d; }
tbody tr { transition: background .16s ease; }
tbody tr:hover { background: rgba(255,255,255,.025); }
.tag { border-radius: 7px; }

.app-modal { width: min(720px, calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 18px; color: #fff; background: transparent; box-shadow: 0 35px 100px rgba(0,0,0,.65); }
.app-modal::backdrop { background: rgba(2,5,10,.76); backdrop-filter: blur(7px); }
.modal-card { margin: 0; padding: 26px; background: linear-gradient(145deg, #1a2130, #0e131d); border: 1px solid #364053; border-radius: 18px; }
.modal-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.modal-heading h2 { margin-bottom: 5px; font-size: 25px; }
.modal-heading p { margin: 0; }
.modal-close { width: 38px; height: 38px; min-height: 38px; padding: 0; flex: 0 0 auto; border: 1px solid #3a4558; background: #222a38; color: #fff; box-shadow: none; font-size: 23px; }

.topbar { backdrop-filter: blur(14px); background: rgba(8,11,17,.86); }
.hero { background-position: center; }
.page { margin-top: 42px; }
.page .panel { border-color: #293243; }

@media (max-width: 860px) {
    .app-shell { display: block; }
    .sidebar {
        position: fixed; left: 0; top: 0; width: min(310px, 88vw); height: 100dvh;
        transform: translateX(-105%); transition: transform .25s ease; box-shadow: 25px 0 70px rgba(0,0,0,.55);
    }
    .sidebar.is-open { transform: translateX(0); }
    .sidebar-toggle {
        position: fixed; z-index: 70; top: 12px; left: 12px; width: 46px; height: 46px; min-height: 46px;
        display: grid; place-content: center; gap: 5px; padding: 0; background: #171d29; border: 1px solid #30394a;
    }
    .sidebar-toggle span { display: block; width: 20px; height: 2px; background: var(--gold-strong); }
    .sidebar-close { display: grid; place-items: center; width: 36px; height: 36px; min-height: 36px; padding: 0; background: transparent; color: #fff; box-shadow: none; font-size: 24px; }
    .sidebar-backdrop { position: fixed; inset: 0; z-index: 75; background: rgba(0,0,0,.65); backdrop-filter: blur(3px); }
    .sidebar.is-open + .sidebar-backdrop { display: block; }
    .main { padding: 76px 16px 42px; background-position: center, center, 68% center, center; background-attachment: scroll; }
    .page-heading { display: grid; }
}

@media (max-width: 640px) {
    .sidebar nav { grid-template-columns: 1fr; }
    .sidebar a { text-align: left; font-size: 14px; }
    .main > h1 { font-size: 30px; }
    .panel { padding: 18px 15px; overflow-x: auto; }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat { min-height: 105px; padding: 16px; }
    .stat strong { font-size: 28px; }
    table { min-width: 640px; }
    td .actions { flex-direction: row; }
    td .btn, td button { width: auto; min-height: 38px; }
}

/* WhatsApp connection experience */
.whatsapp-connect-panel{margin-bottom:18px;padding:26px;overflow:hidden;background:linear-gradient(145deg,#fff 0%,#f7fffb 100%);border:1px solid #dce9e2}
.wa-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:22px}.wa-panel-head h2{margin:4px 0 2px}.wa-eyebrow{font-size:11px;font-weight:800;letter-spacing:.14em;color:#138a55}.wa-status{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:#f1f3f2;color:#59635e;font-size:13px;font-weight:700;white-space:nowrap}.wa-status i{width:8px;height:8px;border-radius:50%;background:#8c9691}.wa-status-connected,.wa-status-qr{background:#e8f8ef;color:#08753f}.wa-status-connected i,.wa-status-qr i{background:#14a65d;box-shadow:0 0 0 4px #c9efd9}
.wa-link-grid{display:grid;grid-template-columns:minmax(230px,300px) 1fr;align-items:center;gap:34px;padding:22px;border-radius:18px;background:#fff;border:1px solid #e3ece7}.qr-box{display:grid;place-items:center;padding:15px;background:#fff;border-radius:16px;box-shadow:0 12px 35px rgba(23,67,44,.12)}.qr-box img{display:block;width:100%;max-width:270px;height:auto}.wa-steps{list-style:none;padding:0;margin:0;display:grid;gap:20px}.wa-steps li{display:flex;align-items:center;gap:14px;color:#435149}.wa-steps li>span{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:50%;background:#e8f8ef;color:#08753f;font-weight:800}.wa-refresh-note{text-align:center;margin:16px 0 0;color:#68756e;font-size:13px}
.wa-success,.wa-loading{display:flex;align-items:center;gap:14px;padding:18px;border-radius:14px;background:#eaf9f0;color:#175d3b;margin-bottom:16px}.wa-success p,.wa-loading p{margin:3px 0 0;color:#527063}.wa-success-icon{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:50%;background:#19a862;color:#fff;font-size:24px;font-weight:800}.wa-device{display:flex;justify-content:space-between;gap:15px;padding:14px 0;margin-bottom:14px;border-bottom:1px solid #e3ece7;color:#657169}.wa-device strong{color:#23382d}.wa-spinner{flex:0 0 34px;height:34px;border:3px solid #bde6ce;border-top-color:#159557;border-radius:50%;animation:wa-spin .8s linear infinite}.wa-retry-form{margin-top:14px}.wa-error{color:#a33}.alert-error{background:#fff0f0!important;color:#9b2929!important}@keyframes wa-spin{to{transform:rotate(360deg)}}
@media(max-width:720px){.whatsapp-connect-panel{padding:18px}.wa-panel-head{display:block}.wa-status{margin-top:12px}.wa-link-grid{grid-template-columns:1fr;gap:24px;padding:16px}.qr-box{max-width:290px;margin:auto}.wa-device{display:grid}.wa-panel-head .help{margin-bottom:0}}
