:root {
    --bg: #050713;
    --panel: rgba(9, 18, 38, .82);
    --panel-2: rgba(12, 28, 58, .72);
    --line: rgba(72, 203, 255, .28);
    --text: #e7f7ff;
    --muted: #8faec2;
    --cyan: #35d6ff;
    --blue: #178bff;
    --green: #41ffb6;
    --danger: #ff4f73;
    --warning: #ffd166;
    --shadow: 0 20px 70px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
    min-height: 100%;
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

.app-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 119, 255, .24), transparent 32%),
        radial-gradient(circle at 80% 10%, rgba(25, 255, 220, .15), transparent 34%),
        radial-gradient(circle at 50% 100%, rgba(0, 56, 130, .46), transparent 45%),
        linear-gradient(145deg, #03050d 0%, #071024 45%, #02040a 100%);
}
.app-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(74, 206, 255, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 206, 255, .06) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at center, black 0%, transparent 78%);
}
.app-bg::after {
    content: "";
    position: absolute;
    inset: -20%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 229, 255, .08), transparent, rgba(0, 119, 255, .08), transparent);
    animation: bgSpin 38s linear infinite;
}
@keyframes bgSpin { to { transform: rotate(360deg); } }

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
code { color: var(--green); }

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 14px clamp(16px, 4vw, 44px);
    background: rgba(2, 7, 18, .76);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(71, 203, 255, .18);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.brand img { width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(40, 180, 255, .85)); }
.nav-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.nav-actions a {
    padding: 10px 12px;
    border: 1px solid rgba(77, 211, 255, .16);
    border-radius: 999px;
    color: #d7f5ff;
    background: rgba(255, 255, 255, .04);
    transition: .18s ease;
    font-size: 14px;
}
.nav-actions a:hover, .nav-highlight { border-color: rgba(65, 255, 182, .45) !important; box-shadow: 0 0 18px rgba(65, 255, 182, .14); }
.container { width: min(1220px, calc(100% - 28px)); margin: 24px auto 40px; }
.footer { display: flex; justify-content: center; align-items: center; gap: 12px; color: var(--muted); padding: 20px; font-size: 13px; }
.footer-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

.alert { padding: 14px 16px; border-radius: 16px; margin-bottom: 16px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); }
.alert-success { border-color: rgba(65, 255, 182, .32); color: #c8ffe9; }
.alert-error { border-color: rgba(255, 79, 115, .38); color: #ffd5de; }
.alert-warning { border-color: rgba(255, 209, 102, .38); color: #fff0c4; }

.hero-card, .auth-card, .auth-brand-panel, .quick-card, .tool-panel, .details-panel, .user-edit-card {
    position: relative;
    background: linear-gradient(145deg, rgba(9, 18, 38, .88), rgba(5, 10, 26, .7));
    border: 1px solid rgba(86, 213, 255, .22);
    box-shadow: var(--shadow), inset 0 0 42px rgba(12, 169, 255, .06);
    border-radius: 26px;
}
.hero-card { padding: clamp(18px, 3vw, 30px); overflow: hidden; }
.hero-card::before, .quick-card::before, .tool-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(54, 218, 255, .15), transparent 35%, rgba(65, 255, 182, .08));
    opacity: .65;
}
.narrow-card { width: min(760px, 100%); margin: 0 auto; }
.section-title { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; position: relative; z-index: 1; }
.section-title.between { justify-content: space-between; align-items: flex-start; }
.title-flex { display: flex; align-items: center; gap: 16px; }
.section-title i, .title-flex > i {
    width: 52px; height: 52px; border-radius: 18px;
    display: grid; place-items: center;
    background: rgba(53, 214, 255, .12);
    border: 1px solid rgba(53, 214, 255, .32);
    color: var(--cyan);
    box-shadow: 0 0 22px rgba(53, 214, 255, .18);
    font-size: 22px;
}
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 6px; font-size: clamp(28px, 4vw, 46px); letter-spacing: -.04em; }
h2 { margin-bottom: 12px; }
p { color: var(--muted); line-height: 1.6; }
.eyebrow { color: var(--green); font-weight: 800; letter-spacing: .18em; text-transform: uppercase; font-size: 12px; }

.auth-layout { display: grid; grid-template-columns: 1fr 420px; gap: 24px; align-items: stretch; min-height: 560px; }
.auth-brand-panel { padding: 42px; display: grid; place-items: center; text-align: center; overflow: hidden; }
.auth-brand-panel h1 { font-size: clamp(42px, 6vw, 78px); text-transform: uppercase; }
.scan-ring { position: relative; width: min(300px, 80vw); aspect-ratio: 1; display: grid; place-items: center; }
.scan-ring::before, .scan-ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(53,214,255,.35); animation: pulse 2.8s ease-in-out infinite; }
.scan-ring::after { inset: 26px; animation-delay: .5s; }
.scan-ring img { width: 58%; filter: drop-shadow(0 0 30px rgba(53,214,255,.7)); z-index: 1; }
@keyframes pulse { 50% { transform: scale(1.05); box-shadow: 0 0 40px rgba(53,214,255,.18); } }
.auth-card { padding: 30px; align-self: center; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; position: relative; z-index: 1; }
.compact-form { margin-top: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label, .check-line { color: #cdeeff; font-weight: 700; font-size: 14px; }
input, textarea, select, .file-input {
    width: 100%;
    border: 1px solid rgba(88, 211, 255, .24);
    border-radius: 14px;
    background: rgba(0, 9, 22, .6);
    color: var(--text);
    padding: 13px 14px;
    outline: none;
    transition: .18s ease;
}
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(53, 214, 255, .08); }
.span-2 { grid-column: span 2; }
.full { width: 100%; justify-content: center; margin-top: 10px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(83, 212, 255, .28);
    border-radius: 999px;
    padding: 12px 17px;
    background: rgba(255, 255, 255, .05);
    color: var(--text);
    cursor: pointer;
    transition: .18s ease;
    font-weight: 800;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 0 20px rgba(53, 214, 255, .16); }
.btn.primary { background: linear-gradient(135deg, rgba(19, 148, 255, .9), rgba(53, 214, 255, .72)); color: #001424; border-color: rgba(151, 239, 255, .8); }
.btn.ghost { background: rgba(255,255,255,.04); }
.btn.danger { background: rgba(255, 79, 115, .12); border-color: rgba(255, 79, 115, .35); color: #ffd5de; }
.btn.tiny { padding: 8px 11px; font-size: 12px; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.dashboard-shell { display: grid; gap: 24px; }
.welcome-panel { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 26px; background: rgba(255,255,255,.04); border: 1px solid rgba(77, 211, 255, .14); border-radius: 24px; }
.welcome-panel h1 { margin-bottom: 4px; }
.status-pill { padding: 12px 16px; border-radius: 999px; background: rgba(65, 255, 182, .08); border: 1px solid rgba(65, 255, 182, .22); color: #d6fff0; white-space: nowrap; }
.status-pill span { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); margin-right: 6px; }

.orbit-wrap {
    position: relative;
    height: min(680px, 74vw);
    min-height: 560px;
    border-radius: 38px;
    border: 1px solid rgba(53,214,255,.14);
    background: radial-gradient(circle, rgba(18, 80, 142, .22), transparent 56%);
    overflow: hidden;
}
.orbit-line { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(53, 214, 255, .22); pointer-events: none; }
.orbit-one { width: min(560px, 74%); aspect-ratio: 1; box-shadow: 0 0 40px rgba(53,214,255,.08); }
.orbit-two { width: min(430px, 58%); aspect-ratio: 1; border-style: dashed; animation: rotate 26s linear infinite; }
@keyframes rotate { to { transform: translate(-50%, -50%) rotate(360deg); } }
.center-core {
    position: absolute;
    left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 230px; aspect-ratio: 1; border-radius: 50%;
    display: grid; place-items: center; text-align: center; align-content: center;
    background: radial-gradient(circle at 35% 30%, rgba(53,214,255,.24), rgba(4, 12, 28, .92) 58%);
    border: 1px solid rgba(124, 228, 255, .45);
    box-shadow: 0 0 70px rgba(53, 214, 255, .18), inset 0 0 50px rgba(53,214,255,.12);
    z-index: 5;
}
.core-halo { position: absolute; inset: -22px; border: 1px solid rgba(65,255,182,.24); border-radius: 50%; animation: pulse 3s ease-in-out infinite; }
.center-core img { width: 100px; filter: drop-shadow(0 0 18px rgba(53,214,255,.9)); }
.center-core strong { margin-top: 8px; font-size: 22px; text-transform: uppercase; letter-spacing: .14em; }
.center-core small { color: var(--muted); }
.orbit-item {
    --radius: min(285px, 37vw);
    position: absolute;
    left: 50%; top: 50%;
    width: 168px; min-height: 92px;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--radius)) rotate(calc(-1 * var(--angle)));
    display: grid; place-items: center; text-align: center; gap: 8px;
    padding: 12px;
    border-radius: 22px;
    background: rgba(3, 12, 31, .78);
    border: 1px solid rgba(88, 218, 255, .32);
    box-shadow: 0 0 30px rgba(18, 141, 255, .12), inset 0 0 26px rgba(53,214,255,.06);
    color: #eaffff;
    font-weight: 900;
    z-index: 8;
}
.orbit-item:hover { border-color: rgba(65,255,182,.7); box-shadow: 0 0 34px rgba(65,255,182,.2); transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--radius)) rotate(calc(-1 * var(--angle))) scale(1.04); }
.orbit-icon { width: 42px; height: 42px; border-radius: 16px; display: grid; place-items: center; background: rgba(53,214,255,.12); color: var(--cyan); font-size: 20px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.quick-card { padding: 24px; min-height: 180px; overflow: hidden; }
.quick-card i { font-size: 30px; color: var(--cyan); margin-bottom: 18px; }
.quick-card h3 { margin-bottom: 8px; font-size: 23px; }
.admin-card { border-color: rgba(65,255,182,.28); }

.tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; position: relative; z-index: 1; }
.tool-panel { padding: 22px; }
.file-list { margin: 14px 0; display: grid; gap: 8px; min-height: 42px; }
.file-row { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.file-row em { color: var(--muted); font-style: normal; margin-left: 8px; font-size: 12px; }
.file-row-actions { display: flex; gap: 5px; }
.file-row-actions button { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: var(--text); border-radius: 8px; cursor: pointer; padding: 5px 7px; }
.file-row-actions button:disabled { opacity: .35; cursor: not-allowed; }
.status-console { margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: rgba(0, 0, 0, .28); border: 1px solid rgba(65,255,182,.18); color: #cbffe9; position: relative; z-index: 1; }
.mini-muted { color: var(--muted); font-size: 14px; }

.upload-panel { padding: 18px; border-radius: 22px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); margin-bottom: 18px; }
.search-row { display: flex; gap: 10px; margin: 18px 0; position: relative; z-index: 1; }
.search-row input { flex: 1; }
.table-wrap { overflow: auto; border: 1px solid rgba(83, 212, 255, .16); border-radius: 18px; position: relative; z-index: 1; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 14px 14px; border-bottom: 1px solid rgba(255,255,255,.07); text-align: left; vertical-align: middle; }
th { color: #bfefff; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; background: rgba(255,255,255,.04); }
td { color: #e7f7ff; }
.empty-cell { text-align: center; color: var(--muted); padding: 30px; }
.actions-cell { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.actions-cell form { margin: 0; }

.admin-shell { display: grid; gap: 18px; }
.copy-box { display: flex; gap: 8px; width: min(470px, 100%); }
.copy-box input { font-size: 13px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; position: relative; z-index: 1; }
.metric { padding: 16px; border-radius: 18px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08); }
.metric strong { display: block; font-size: 34px; color: var(--cyan); }
.metric span { color: var(--muted); }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }
.tabs a { padding: 11px 15px; border-radius: 999px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08); color: var(--muted); font-weight: 800; }
.tabs a.active { color: #001424; background: var(--cyan); border-color: var(--cyan); }
.details-panel, .user-edit-card { padding: 0; overflow: hidden; position: relative; z-index: 1; }
.details-panel summary, .user-edit-card summary { list-style: none; cursor: pointer; padding: 16px 18px; display: flex; justify-content: space-between; gap: 12px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.08); }
.details-panel summary::-webkit-details-marker, .user-edit-card summary::-webkit-details-marker { display:none; }
.details-panel form, .user-edit-card form { padding: 18px; }
.accordion-list { display: grid; gap: 12px; position: relative; z-index: 1; }
.user-edit-card summary em { color: var(--muted); font-style: normal; }
.check-line { display: flex; align-items: center; gap: 8px; }
.check-line input { width: auto; }
.hint { position: relative; z-index: 1; }
.toast { position: fixed; right: 18px; bottom: 18px; background: rgba(4, 22, 42, .94); color: var(--text); border: 1px solid rgba(65,255,182,.35); border-radius: 14px; padding: 12px 14px; transform: translateY(16px); opacity: 0; transition: .22s ease; z-index: 100; box-shadow: var(--shadow); }
.toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 920px) {
    .auth-layout, .tools-grid, .quick-grid { grid-template-columns: 1fr; }
    .orbit-wrap { height: auto; min-height: 0; padding: 28px; display: grid; gap: 14px; }
    .orbit-line { display: none; }
    .center-core { position: relative; left: auto; top: auto; transform: none; margin: 0 auto 12px; width: 190px; }
    .orbit-item { position: relative; left: auto; top: auto; transform: none !important; width: 100%; min-height: 72px; grid-template-columns: 44px 1fr; text-align: left; }
    .welcome-panel, .section-title.between { flex-direction: column; }
    .metric-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .topbar { align-items: flex-start; flex-direction: column; }
    .nav-actions { justify-content: flex-start; }
    .form-grid { grid-template-columns: 1fr; }
    .span-2 { grid-column: span 1; }
    .copy-box, .search-row { flex-direction: column; }
    .metric-grid { grid-template-columns: 1fr; }
    .file-row { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   INDEX 1.1 - painel com documentos + ferramentas nos cantos
   ============================================================ */
.home-shell { gap: clamp(14px, 2vw, 24px); }
.command-welcome {
    background:
        linear-gradient(135deg, rgba(53, 214, 255, .08), transparent 36%),
        rgba(255,255,255,.04);
}
.welcome-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.home-command {
    display: grid;
    grid-template-columns: minmax(250px, 320px) minmax(420px, 1fr) minmax(250px, 320px);
    grid-template-areas: "docs radar pdf";
    gap: clamp(14px, 1.8vw, 22px);
    align-items: stretch;
}
.documents-corner { grid-area: docs; }
.radar-stage { grid-area: radar; min-width: 0; }
.pdf-corner { grid-area: pdf; }
.corner-panel {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: clamp(16px, 2vw, 22px);
    background:
        radial-gradient(circle at top left, rgba(53,214,255,.18), transparent 36%),
        linear-gradient(150deg, rgba(9,18,38,.9), rgba(4,10,24,.72));
    border: 1px solid rgba(86, 213, 255, .22);
    box-shadow: var(--shadow), inset 0 0 44px rgba(12, 169, 255, .07);
}
.corner-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(53,214,255,.12), transparent 35%, rgba(65,255,182,.08)),
        repeating-linear-gradient(0deg, transparent 0 11px, rgba(255,255,255,.025) 12px);
    opacity: .68;
}
.corner-panel > * { position: relative; z-index: 1; }
.corner-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.corner-head h2 { margin: 4px 0 4px; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.03em; }
.corner-head p { margin-bottom: 0; font-size: 14px; }
.corner-badge {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    text-align: center;
    background: rgba(53,214,255,.12);
    border: 1px solid rgba(53,214,255,.32);
    box-shadow: 0 0 26px rgba(53,214,255,.14);
}
.corner-badge strong { display: block; font-size: 24px; line-height: 1; color: var(--cyan); }
.corner-badge small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.pdf-badge { color: var(--cyan); font-size: 28px; }
.mini-doc-list { display: grid; gap: 10px; max-height: 455px; overflow: auto; padding-right: 3px; scrollbar-width: thin; }
.mini-doc-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 11px;
    border-radius: 18px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.08);
    transition: .18s ease;
}
.mini-doc-card:hover { transform: translateX(2px); border-color: rgba(65,255,182,.38); box-shadow: 0 0 24px rgba(65,255,182,.1); }
.mini-doc-icon, .pdf-action-icon {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: rgba(53,214,255,.11);
    border: 1px solid rgba(53,214,255,.22);
    color: var(--cyan);
}
.mini-doc-info { min-width: 0; display: grid; gap: 2px; }
.mini-doc-info strong,
.mini-doc-info small,
.mini-doc-info em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-doc-info strong { color: #eefcff; font-size: 14px; }
.mini-doc-info small { color: #b8e9ff; font-size: 12px; }
.mini-doc-info em { color: var(--muted); font-size: 11px; font-style: normal; }
.empty-mini-state {
    min-height: 170px;
    display: grid;
    place-items: center;
    gap: 10px;
    text-align: center;
    color: var(--muted);
    border: 1px dashed rgba(86, 213, 255, .22);
    border-radius: 20px;
    background: rgba(255,255,255,.025);
}
.empty-mini-state i { font-size: 34px; color: var(--cyan); opacity: .8; }
.corner-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 15px; color: var(--muted); font-size: 13px; }
.radar-stage {
    border-radius: 34px;
    padding: 14px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)),
        rgba(3, 10, 24, .34);
    border: 1px solid rgba(53,214,255,.14);
    box-shadow: inset 0 0 55px rgba(53,214,255,.045);
}
.radar-label { display: flex; align-items: center; gap: 12px; justify-content: center; margin: 0 0 12px; color: #c9f5ff; text-transform: uppercase; letter-spacing: .18em; font-size: 12px; }
.radar-label span { width: min(110px, 20%); height: 1px; background: linear-gradient(90deg, transparent, rgba(53,214,255,.65), transparent); }
.command-orbit {
    height: clamp(500px, 48vw, 620px);
    min-height: 500px;
    border-radius: 28px;
}
.command-orbit .center-core { width: clamp(165px, 15vw, 205px); }
.command-orbit .center-core img { width: clamp(74px, 7vw, 95px); }
.command-orbit .center-core strong { font-size: clamp(17px, 1.5vw, 21px); }
.command-orbit .orbit-one { width: min(445px, 78%); }
.command-orbit .orbit-two { width: min(340px, 60%); }
.command-orbit .orbit-item {
    --radius: min(215px, 20vw);
    width: clamp(122px, 11.6vw, 150px);
    min-height: 78px;
    border-radius: 19px;
    padding: 10px;
    font-size: 13px;
}
.command-orbit .orbit-icon { width: 38px; height: 38px; border-radius: 14px; font-size: 18px; }
.pdf-action-list { display: grid; gap: 14px; margin-top: 10px; }
.pdf-action-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 12px;
    padding: 14px;
    min-height: 112px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 10% 10%, rgba(53,214,255,.14), transparent 42%),
        rgba(255,255,255,.045);
    border: 1px solid rgba(86, 213, 255, .18);
    transition: .18s ease;
}
.pdf-action-card:hover { transform: translateY(-2px); border-color: rgba(65,255,182,.45); box-shadow: 0 0 28px rgba(65,255,182,.12); }
.pdf-action-card strong { display: block; margin-bottom: 4px; font-size: 17px; color: #effcff; }
.pdf-action-card small { display: block; color: var(--muted); line-height: 1.45; }
.pdf-action-card > i { color: var(--cyan); }
.quick-links-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.quick-links-strip a {
    flex: 1 1 140px;
    padding: 11px 12px;
    border-radius: 16px;
    text-align: center;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    color: #dff8ff;
    font-weight: 800;
    font-size: 13px;
}
.quick-links-strip a:hover { border-color: rgba(53,214,255,.36); box-shadow: 0 0 18px rgba(53,214,255,.1); }

@media (max-width: 1180px) {
    .container { width: min(100% - 22px, 1120px); }
    .home-command {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas:
            "radar radar"
            "docs pdf";
    }
    .command-orbit { height: min(650px, 68vw); min-height: 540px; }
    .command-orbit .orbit-item { --radius: min(270px, 36vw); width: 158px; min-height: 88px; font-size: 14px; }
    .command-orbit .center-core { width: 220px; }
    .command-orbit .center-core img { width: 100px; }
}

@media (max-width: 920px) {
    .home-command {
        grid-template-columns: 1fr;
        grid-template-areas:
            "docs"
            "pdf"
            "radar";
    }
    .corner-panel { border-radius: 24px; }
    .mini-doc-list { max-height: 360px; }
    .command-orbit {
        height: auto;
        min-height: 0;
        padding: 22px;
    }
    .command-orbit .center-core {
        width: 178px;
        margin-bottom: 6px;
    }
    .command-orbit .center-core img { width: 78px; }
    .command-orbit .orbit-item {
        width: 100%;
        min-height: 68px;
        font-size: 14px;
    }
}

@media (max-width: 700px) {
    .container { width: min(100% - 14px, 100%); margin-top: 12px; }
    .topbar { padding: 12px 14px; }
    .brand span { font-size: 13px; }
    .nav-actions a { padding: 9px 10px; font-size: 12px; }
    .welcome-panel { padding: 18px; border-radius: 20px; }
    .welcome-actions { justify-content: flex-start; width: 100%; }
    .status-pill { white-space: normal; }
    .corner-head { align-items: center; }
    .corner-badge { width: 54px; height: 54px; border-radius: 18px; }
    .corner-foot { align-items: flex-start; flex-direction: column; }
    .pdf-action-card { grid-template-columns: 42px minmax(0, 1fr); }
    .pdf-action-card > i { display: none; }
    .radar-label { letter-spacing: .1em; }
    .radar-label span { width: 42px; }
}

/* ============================================================
   INDEX 2.0 + AGENDA INTELIGENTE
   ============================================================ */
.container { width: min(1480px, calc(100% - 24px)); margin: clamp(12px, 2vw, 24px) auto 38px; }
.topbar { gap: 14px; }
.nav-actions { row-gap: 8px; }
.nav-actions a { white-space: nowrap; }

.cockpit-shell { gap: clamp(12px, 1.6vw, 20px); }
.ultra-welcome {
    overflow: hidden;
    min-height: 132px;
    background:
        radial-gradient(circle at 12% 0%, rgba(53, 214, 255, .22), transparent 34%),
        linear-gradient(120deg, rgba(7, 25, 56, .84), rgba(8, 13, 32, .74) 56%, rgba(0, 55, 83, .34));
    box-shadow: var(--shadow), inset 0 0 80px rgba(53, 214, 255, .07);
}
.ultra-welcome::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent, rgba(65,255,182,.06), transparent),
        repeating-linear-gradient(90deg, transparent 0 64px, rgba(255,255,255,.035) 65px);
    opacity: .85;
}
.ultra-welcome > * { position: relative; z-index: 1; }
.welcome-main-copy { min-width: 250px; }
.welcome-status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 10px;
    width: min(520px, 100%);
}
.status-chip {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 18px;
    color: #dffaff;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(95, 219, 255, .16);
    box-shadow: inset 0 0 22px rgba(53,214,255,.035);
    font-weight: 800;
    font-size: 13px;
}
.status-chip i { color: var(--cyan); }
.admin-chip { border-color: rgba(65,255,182,.28); }

.cockpit-command {
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(460px, 1fr) minmax(300px, 370px);
    grid-template-areas: "docs radar side";
    gap: clamp(12px, 1.5vw, 20px);
    align-items: stretch;
}
.cockpit-command .documents-corner { grid-area: docs; }
.cockpit-command .radar-stage { grid-area: radar; }
.cockpit-side { grid-area: side; display: grid; gap: clamp(12px, 1.5vw, 18px); align-content: stretch; }
.glass-panel-v2 {
    border-color: rgba(105, 225, 255, .2);
    background:
        radial-gradient(circle at 100% 0%, rgba(65, 255, 182, .12), transparent 32%),
        radial-gradient(circle at 0% 0%, rgba(53, 214, 255, .17), transparent 34%),
        linear-gradient(150deg, rgba(8,18,39,.88), rgba(3,8,20,.78));
}
.glass-panel-v2::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(103,235,255,.75), transparent);
    opacity: .6;
}
.modern-radar-stage {
    background:
        radial-gradient(circle at 50% 45%, rgba(53,214,255,.12), transparent 46%),
        linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
}
.orbit-sweep {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 48%;
    height: 48%;
    transform-origin: 0 0;
    background: conic-gradient(from 0deg, rgba(65,255,182,.16), transparent 26%);
    animation: radarSweep 6s linear infinite;
    opacity: .36;
    pointer-events: none;
}
@keyframes radarSweep { to { transform: rotate(360deg); } }
.compact-corner-head { margin-bottom: 12px; }
.compact-corner-head h2 { font-size: clamp(22px, 1.9vw, 28px); }
.calendar-badge { color: var(--green); font-size: 24px; }
.agenda-corner { min-height: 290px; }
.agenda-mini-list { display: grid; gap: 9px; max-height: 250px; overflow: auto; padding-right: 3px; scrollbar-width: thin; }
.agenda-mini-row {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 17px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.08);
    transition: .18s ease;
}
.agenda-mini-row:hover { transform: translateX(2px); border-color: rgba(65,255,182,.35); box-shadow: 0 0 22px rgba(65,255,182,.1); }
.agenda-mini-row.status-done { opacity: .65; }
.agenda-mini-row.status-canceled { opacity: .5; }
.agenda-time {
    display: grid;
    place-items: center;
    height: 44px;
    border-radius: 15px;
    color: #001424;
    background: linear-gradient(135deg, rgba(53,214,255,.94), rgba(65,255,182,.72));
    font-weight: 1000;
    box-shadow: 0 0 20px rgba(53,214,255,.12);
}
.agenda-summary { min-width: 0; display: grid; gap: 2px; }
.agenda-summary strong, .agenda-summary small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.agenda-summary small { color: var(--muted); font-size: 12px; }
.agenda-empty { min-height: 112px; }
.quick-links-strip button,
.quick-links-strip a {
    border: 1px solid rgba(255,255,255,.08);
    cursor: pointer;
}
.quick-links-strip button {
    flex: 1 1 140px;
    padding: 11px 12px;
    border-radius: 16px;
    text-align: center;
    background: rgba(255,255,255,.04);
    color: #dff8ff;
    font-weight: 800;
    font-size: 13px;
}
.quick-links-strip button:hover { border-color: rgba(53,214,255,.36); box-shadow: 0 0 18px rgba(53,214,255,.1); }
.compact-pdf-action { min-height: 88px; padding: 12px; }
.compact-pdf-action strong { font-size: 16px; }
.compact-pdf-action small { font-size: 13px; }

/* Agenda page */
.agenda-page-shell { display: grid; gap: clamp(14px, 2vw, 20px); }
.agenda-hero-panel {
    background:
        radial-gradient(circle at 8% 20%, rgba(65,255,182,.15), transparent 30%),
        radial-gradient(circle at 90% 0%, rgba(53,214,255,.2), transparent 34%),
        rgba(255,255,255,.04);
}
.agenda-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.agenda-metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hologram-metric {
    background:
        linear-gradient(135deg, rgba(53,214,255,.075), rgba(65,255,182,.035)),
        rgba(255,255,255,.04);
    border-color: rgba(105,225,255,.16);
}
.agenda-layout { display: grid; grid-template-columns: minmax(320px, 420px) minmax(0, 1fr); gap: clamp(14px, 2vw, 20px); align-items: start; }
.agenda-form-panel { position: sticky; top: 92px; }
.agenda-form-grid { display: grid; gap: 14px; position: relative; z-index: 1; }
.agenda-form-grid .form-group { gap: 7px; }
.two-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.two-cols label { display: block; margin-bottom: 8px; color: #cdeeff; font-weight: 700; font-size: 14px; }
.agenda-date-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; position: relative; z-index: 1; margin-bottom: 18px; }
.agenda-filter-form { display: flex; align-items: center; gap: 8px; min-width: 0; }
.agenda-filter-form input,
.agenda-filter-form select { min-height: 38px; padding: 8px 10px; border-radius: 999px; }
.compact-title { margin-bottom: 16px; }
.compact-title h2 { margin-bottom: 2px; }
.compact-title p { margin-bottom: 0; }
.timeline-list { display: grid; gap: 12px; position: relative; z-index: 1; }
.timeline-item {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.025)),
        rgba(3, 12, 31, .4);
    border: 1px solid rgba(86,213,255,.14);
    box-shadow: inset 0 0 28px rgba(53,214,255,.04);
}
.timeline-item.priority-alta { border-color: rgba(255, 209, 102, .32); }
.timeline-item.priority-urgente { border-color: rgba(255, 79, 115, .42); }
.timeline-item.status-done { opacity: .68; }
.timeline-item.status-canceled { opacity: .5; }
.timeline-hour {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    min-height: 76px;
    border-radius: 18px;
    color: #001424;
    background: linear-gradient(135deg, rgba(53,214,255,.95), rgba(65,255,182,.74));
    box-shadow: 0 0 24px rgba(53,214,255,.12);
}
.timeline-hour strong { font-size: 22px; }
.timeline-hour small { color: rgba(0,20,36,.72); font-weight: 800; }
.timeline-content { min-width: 0; }
.timeline-topline { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.timeline-topline h3 { margin: 0 0 8px; font-size: 20px; }
.timeline-topline span {
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(53,214,255,.1);
    border: 1px solid rgba(53,214,255,.22);
    color: #dffaff;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}
.timeline-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.timeline-meta em {
    font-style: normal;
    color: var(--muted);
    font-size: 13px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
}
.timeline-content p { margin: 8px 0 0; }
.timeline-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.timeline-actions form { margin: 0; }
.timeline-empty { min-height: 260px; }

/* Notificação visual estilo Windows */
.desktop-alert-zone {
    position: fixed;
    right: 18px;
    bottom: 18px;
    display: grid;
    gap: 10px;
    z-index: 9999;
    width: min(390px, calc(100vw - 28px));
    pointer-events: none;
}
.desktop-alert {
    pointer-events: auto;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 28px;
    gap: 12px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(53,214,255,.22), transparent 36%),
        rgba(5, 16, 35, .96);
    border: 1px solid rgba(86, 213, 255, .32);
    box-shadow: 0 24px 80px rgba(0,0,0,.48), inset 0 0 34px rgba(53,214,255,.08);
    backdrop-filter: blur(16px);
    transform: translateY(22px) scale(.98);
    opacity: 0;
    transition: .24s ease;
}
.desktop-alert.show { transform: translateY(0) scale(1); opacity: 1; }
.desktop-alert.priority-urgente { border-color: rgba(255,79,115,.52); }
.desktop-alert.priority-alta { border-color: rgba(255,209,102,.45); }
.desktop-alert-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #001424;
    background: linear-gradient(135deg, rgba(53,214,255,.95), rgba(65,255,182,.78));
    box-shadow: 0 0 24px rgba(53,214,255,.18);
}
.desktop-alert-body { display: grid; gap: 3px; min-width: 0; }
.desktop-alert-body strong { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: #bff6ff; }
.desktop-alert-body span,
.desktop-alert-body small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.desktop-alert-body span { font-weight: 900; }
.desktop-alert-body small { color: var(--muted); }
.desktop-alert button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.05);
    color: var(--text);
    cursor: pointer;
}

@media (max-width: 1280px) {
    .cockpit-command {
        grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
        grid-template-areas:
            "radar radar"
            "docs side";
    }
    .command-orbit { height: min(650px, 62vw); min-height: 520px; }
    .command-orbit .orbit-item { --radius: min(275px, 36vw); width: 158px; min-height: 88px; }
}

@media (max-width: 980px) {
    .ultra-welcome { flex-direction: column; align-items: flex-start; }
    .welcome-status-grid { width: 100%; }
    .cockpit-command {
        grid-template-columns: 1fr;
        grid-template-areas:
            "docs"
            "side"
            "radar";
    }
    .cockpit-side { grid-template-columns: 1fr; }
    .agenda-layout { grid-template-columns: 1fr; }
    .agenda-form-panel { position: relative; top: auto; }
    .agenda-metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .agenda-date-bar { flex-direction: column; align-items: stretch; }
    .agenda-filter-form { flex-wrap: wrap; }
    .agenda-filter-form input,
    .agenda-filter-form select { flex: 1 1 160px; }
}

@media (max-width: 700px) {
    .container { width: min(100% - 12px, 100%); }
    .topbar { position: relative; }
    .brand img { width: 34px; height: 34px; }
    .nav-actions { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nav-actions a { text-align: center; justify-content: center; display: inline-flex; }
    .welcome-status-grid, .agenda-metrics-grid { grid-template-columns: 1fr; }
    .two-cols { grid-template-columns: 1fr; }
    .timeline-item { grid-template-columns: 1fr; }
    .timeline-hour { min-height: 60px; grid-template-columns: auto auto; justify-content: center; padding: 10px; }
    .timeline-topline { flex-direction: column; }
    .desktop-alert-zone { right: 8px; bottom: 8px; width: calc(100vw - 16px); }
    .desktop-alert { grid-template-columns: 42px minmax(0, 1fr) 28px; padding: 12px; }
    .desktop-alert-icon { width: 42px; height: 42px; }
}

/* ===================================================================
   HERO MURAL — tela de entrada institucional (brasão + significados)
   =================================================================== */
.hero-mural {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    align-items: center;
    gap: 24px;
    min-height: 380px;
    padding: 34px 40px;
    border-radius: 28px;
    border: 1px solid rgba(77, 211, 255, .22);
    background: linear-gradient(120deg, rgba(6, 14, 32, .96) 0%, rgba(8, 22, 52, .88) 55%, rgba(6, 16, 40, .72) 100%);
    overflow: hidden;
    box-shadow: var(--shadow);
    isolation: isolate;
}

/* Mural artístico dos significados do brasão (invertido p/ tema escuro) */
.hero-mural-art {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.hero-mural-art .mural-img {
    position: absolute;
    top: 50%;
    right: -6%;
    width: min(62%, 640px);
    aspect-ratio: 1 / 1;
    height: auto;
    transform: translateY(-50%) scale(1.02);
    object-fit: cover;
    filter: saturate(1.15) brightness(1.04);
    opacity: .85;
    -webkit-mask-image: radial-gradient(circle at 62% 50%, #000 30%, transparent 74%);
    mask-image: radial-gradient(circle at 62% 50%, #000 30%, transparent 74%);
    animation: muralBreath 34s ease-in-out infinite alternate;
}
@keyframes muralBreath {
    from { transform: translateY(-50%) scale(1.02); }
    to   { transform: translateY(-51.5%) scale(1.09); }
}
.hero-mural::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(5, 11, 26, .92) 0%, rgba(5, 11, 26, .55) 46%, transparent 72%);
    pointer-events: none;
}

/* Texto do herói */
.hero-copy { position: relative; z-index: 1; max-width: 560px; }
.hero-copy .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.pulse-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(65, 255, 182, .6);
    animation: pulseDot 2.4s ease-out infinite;
}
@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(65, 255, 182, .55); }
    70% { box-shadow: 0 0 0 10px rgba(65, 255, 182, 0); }
    100% { box-shadow: 0 0 0 0 rgba(65, 255, 182, 0); }
}
.hero-copy h1 { margin: 10px 0 6px; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.02em; }
.hero-copy p { margin: 0 0 18px; color: var(--muted); max-width: 46ch; }

/* Relógio ao vivo — pensado para visores */
.hero-clock {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding: 12px 18px;
    width: fit-content;
    border-radius: 16px;
    border: 1px solid rgba(77, 211, 255, .2);
    background: rgba(10, 24, 52, .55);
    backdrop-filter: blur(6px);
}
.hero-clock strong {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: .03em;
    color: var(--cyan);
    text-shadow: 0 0 24px rgba(53, 214, 255, .45);
    line-height: 1;
}
.hero-clock span {
    color: var(--muted);
    font-size: .92rem;
    text-transform: capitalize;
}
.hero-chips { margin-top: 2px; }

/* Brasão flutuante com halo */
.hero-emblem {
    position: relative;
    z-index: 1;
    justify-self: center;
    display: grid;
    place-items: center;
    width: clamp(210px, 24vw, 290px);
    aspect-ratio: 1 / 1;
}
.emblem-frame {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 68%;
    aspect-ratio: 1 / 1;
    border-radius: 32px;
    overflow: hidden;
    animation: emblemFloat 6.5s ease-in-out infinite;
}
.emblem-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter:
        drop-shadow(0 0 14px rgba(53, 214, 255, .55))
        drop-shadow(0 18px 34px rgba(0, 30, 80, .6))
        brightness(1.12) saturate(1.1);
}
@keyframes emblemFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.emblem-sweep {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(231, 247, 255, .35) 50%, transparent 70%);
    transform: translateX(-130%);
    animation: emblemSweep 7s ease-in-out infinite;
    mix-blend-mode: screen;
    pointer-events: none;
}
@keyframes emblemSweep {
    0%, 68% { transform: translateX(-130%); }
    82%, 100% { transform: translateX(130%); }
}
.emblem-glow {
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(53, 214, 255, .32) 0%, rgba(23, 139, 255, .12) 45%, transparent 70%);
    filter: blur(6px);
    animation: emblemGlow 5s ease-in-out infinite alternate;
}
@keyframes emblemGlow {
    from { opacity: .65; transform: scale(.96); }
    to   { opacity: 1;   transform: scale(1.06); }
}
.emblem-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(53, 214, 255, .45);
    opacity: 0;
    animation: ringPulse 5.2s ease-out infinite;
}
.emblem-ring.ring-b { animation-delay: 1.7s; }
.emblem-ring.ring-c { animation-delay: 3.4s; }
@keyframes ringPulse {
    0% { transform: scale(.55); opacity: 0; }
    18% { opacity: .55; }
    100% { transform: scale(1.18); opacity: 0; }
}
.emblem-caption {
    position: absolute;
    bottom: -8px;
    z-index: 2;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(77, 211, 255, .25);
    background: rgba(8, 20, 46, .82);
    backdrop-filter: blur(4px);
    color: var(--text);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Entrada orquestrada */
.hero-copy > * {
    opacity: 0;
    transform: translateY(14px);
    animation: heroRise .7s cubic-bezier(.22, .8, .3, 1) forwards;
}
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .15s; }
.hero-copy > *:nth-child(3) { animation-delay: .25s; }
.hero-copy > *:nth-child(4) { animation-delay: .35s; }
.hero-copy > *:nth-child(5) { animation-delay: .45s; }
.hero-emblem { opacity: 0; animation: heroRise .9s .3s cubic-bezier(.22, .8, .3, 1) forwards; }
@keyframes heroRise {
    to { opacity: 1; transform: translateY(0); }
}

/* Responsivo */
@media (max-width: 980px) {
    .hero-mural {
        grid-template-columns: 1fr;
        padding: 26px 22px;
        text-align: left;
    }
    .hero-emblem { order: -1; width: clamp(180px, 44vw, 230px); margin: 0 auto 6px; }
    .hero-mural-art .mural-img {
        right: 50%;
        transform: translate(50%, -50%) scale(1.05);
        width: min(120%, 560px);
        opacity: .35;
        -webkit-mask-image: radial-gradient(circle at 50% 38%, #000 30%, transparent 75%);
        mask-image: radial-gradient(circle at 50% 38%, #000 30%, transparent 75%);
    }
    @keyframes muralBreath {
        from { transform: translate(50%, -50%) scale(1.05); }
        to   { transform: translate(50%, -51.5%) scale(1.11); }
    }
    .hero-mural::before { background: linear-gradient(180deg, rgba(5, 11, 26, .4), rgba(5, 11, 26, .85)); }
    .hero-clock { width: 100%; justify-content: space-between; }
}

/* Acessibilidade: movimento reduzido */
@media (prefers-reduced-motion: reduce) {
    .mural-img, .emblem-frame, .emblem-sweep, .emblem-glow, .emblem-ring,
    .pulse-dot, .hero-copy > *, .hero-emblem {
        animation: none !important;
    }
    .hero-copy > *, .hero-emblem { opacity: 1; transform: none; }
}
