:root {
    --blue: #2563eb;
    --blue-2: #4f7cff;
    --blue-3: #0f4fe6;
    --pink: #ec4899;
    --green: #22c55e;
    --orange: #f97316;
    --cyan: #06b6d4;
    --violet: #7c3aed;
    --red: #ef4444;
    --ink: #111827;
    --ink-2: #1f2937;
    --muted: #667085;
    --muted-2: #98a2b3;
    --line: #e5eaf3;
    --line-2: #dbe4f0;
    --soft: #f6f8fc;
    --surface: #ffffff;
    --shadow-sm: 0 8px 20px rgba(15, 23, 42, .06);
    --shadow-md: 0 18px 45px rgba(15, 23, 42, .08);
    --shadow-lg: 0 32px 90px rgba(15, 23, 42, .14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at 76% 0%, rgba(37, 99, 235, .08), transparent 34%),
        linear-gradient(180deg, #fbfdff 0%, #f3f7fd 100%);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    transition: .18s ease;
}

.admin-shell {
    display: grid;
    grid-template-columns: 286px minmax(0, 1fr);
    min-height: 100vh;
}

.app-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 24px 18px;
    background: rgba(255, 255, 255, .92);
    border-right: 1px solid var(--line);
    box-shadow: 14px 0 45px rgba(15, 23, 42, .04);
    backdrop-filter: blur(18px);
}

.app-workspace {
    min-width: 0;
}

.app-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 86px;
    padding: 14px 26px;
    background: rgba(255, 255, 255, .86);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(15, 23, 42, .04);
    backdrop-filter: blur(16px);
}

.app-main {
    padding: 34px 36px;
}

.app-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--ink);
    text-decoration: none;
}

.app-brand:hover {
    color: var(--ink);
}

.app-brand-logo {
    width: 76px;
    max-height: 58px;
    object-fit: contain;
    flex: 0 0 auto;
}

.app-brand strong {
    display: block;
    font-size: 1.34rem;
    font-weight: 950;
    letter-spacing: -.02em;
}

.app-brand small {
    display: block;
    color: var(--muted);
    font-size: .86rem;
    font-weight: 650;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    color: #fff;
    background:
        radial-gradient(circle at 25% 20%, rgba(255, 255, 255, .34), transparent 28%),
        linear-gradient(135deg, #f05da8 0%, #2563eb 100%);
    font-weight: 950;
    box-shadow: 0 18px 32px rgba(37, 99, 235, .24);
}

.side-nav {
    display: grid;
    gap: 8px;
}

.side-nav a {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 10px;
    color: #475467;
    text-decoration: none;
    font-weight: 760;
    transition: .18s ease;
}

.side-nav a span {
    display: grid;
    place-items: center;
    width: 28px;
    color: #5b6b86;
    font-size: 1.1rem;
}

.side-nav a:hover,
.side-nav a.active {
    color: var(--blue);
    background: linear-gradient(90deg, rgba(37, 99, 235, .12), rgba(37, 99, 235, .04));
    box-shadow: inset 4px 0 0 var(--blue);
}

.side-nav a:hover span,
.side-nav a.active span {
    color: var(--blue);
}

.system-status {
    margin-top: auto;
    padding: 18px 14px 0;
    border-top: 1px solid var(--line);
}

.system-status span,
.system-status small {
    display: block;
    color: var(--muted);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.system-status strong {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 4px;
    color: #1f2937;
    font-size: .96rem;
}

.system-status i,
.live-chip i {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--green);
    box-shadow: 0 0 0 5px rgba(34, 197, 94, .12);
}

.support-card {
    display: block;
    padding: 16px;
    border: 1px solid #dce6fb;
    border-radius: 12px;
    color: var(--blue);
    text-decoration: none;
    background: linear-gradient(135deg, #eff6ff, #ffffff);
}

.support-card span,
.support-card strong {
    display: block;
}

.support-card span {
    color: var(--blue);
    font-size: .82rem;
    font-weight: 850;
}

.support-card strong {
    margin-top: 3px;
    color: #475467;
    font-size: .88rem;
}

.sidebar-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}

.topbar-spacer {
    flex: 1;
}

.unit-card,
.user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.unit-card {
    display: block;
    min-width: 230px;
}

.unit-card span,
.user-card small {
    display: block;
    color: var(--muted);
    font-size: .76rem;
    font-weight: 700;
}

.unit-card strong,
.user-card strong {
    display: block;
    color: var(--ink);
    font-size: .9rem;
    font-weight: 900;
}

.user-avatar {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), #1d4ed8);
    font-size: .82rem;
    font-weight: 900;
}

.btn {
    border-radius: 12px;
    font-weight: 850;
}

.btn-primary {
    --bs-btn-bg: var(--blue);
    --bs-btn-border-color: var(--blue);
    --bs-btn-hover-bg: #1d4ed8;
    --bs-btn-hover-border-color: #1d4ed8;
    box-shadow: 0 16px 34px rgba(37, 99, 235, .24);
}

.btn-outline-secondary,
.btn-outline-primary,
.btn-outline-danger {
    background: #fff;
}

.btn-outline-primary {
    --bs-btn-color: var(--blue);
    --bs-btn-border-color: rgba(37, 99, 235, .28);
    --bs-btn-hover-bg: rgba(37, 99, 235, .08);
    --bs-btn-hover-color: var(--blue);
    --bs-btn-hover-border-color: rgba(37, 99, 235, .42);
}

.page-title,
.map-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 5px 11px;
    margin-bottom: 10px;
    border: 1px solid rgba(37, 99, 235, .12);
    border-radius: 999px;
    color: var(--blue);
    background: rgba(37, 99, 235, .09);
    font-size: .74rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .055em;
}

.page-title h1,
.map-page-header h1 {
    margin: 0;
    color: var(--ink);
    font-size: 2rem;
    font-weight: 950;
    letter-spacing: -.03em;
}

.page-title p,
.map-page-header p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 1rem;
}

.title-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.live-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: #475467;
    background: #fff;
    font-size: .86rem;
    font-weight: 800;
    box-shadow: var(--shadow-sm);
}

.btn-open-map {
    min-height: 50px;
    padding-inline: 22px;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.metric-card,
.card,
.priority-panel,
#mapa,
.login-card,
.responsavel-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--shadow-md);
}

.metric-card {
    position: relative;
    display: flex;
    gap: 14px;
    min-height: 142px;
    padding: 22px;
    overflow: hidden;
}

.metric-card b {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 20px;
    height: 4px;
    border-radius: 999px;
    background: rgba(102, 112, 133, .16);
}

.metric-card b::after {
    content: "";
    display: block;
    width: 62%;
    height: 100%;
    border-radius: inherit;
    background: var(--metric-color, var(--blue));
}

.metric-icon {
    display: grid;
    place-items: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    color: #fff;
    background: var(--metric-color, var(--blue));
    box-shadow: 0 18px 30px color-mix(in srgb, var(--metric-color, var(--blue)) 28%, transparent);
    font-size: 1.35rem;
}

.metric-card span {
    display: block;
    color: #475467;
    font-size: .84rem;
    font-weight: 850;
}

.metric-card strong {
    display: block;
    margin-top: 5px;
    color: var(--ink);
    font-size: 1.8rem;
    line-height: 1.05;
    font-weight: 950;
}

.metric-card small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: .78rem;
}

.metric-blue { --metric-color: var(--blue); }
.metric-green { --metric-color: var(--green); }
.metric-orange { --metric-color: var(--orange); }
.metric-pink { --metric-color: var(--pink); }
.metric-cyan { --metric-color: var(--cyan); }
.metric-violet { --metric-color: var(--violet); }

.small-text {
    font-size: 1.05rem !important;
    line-height: 1.28 !important;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
}

.card-body {
    padding: 22px;
}

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

.section-heading h2 {
    margin: 0;
    color: var(--ink);
    font-size: 1.08rem;
    font-weight: 950;
}

.section-heading p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: .9rem;
}

.section-heading a {
    color: var(--blue);
    text-decoration: none;
    font-size: .86rem;
    font-weight: 850;
}

.app-table {
    --bs-table-bg: transparent;
}

.app-table th {
    color: #667085;
    font-size: .74rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.app-table td {
    padding-top: 16px;
    padding-bottom: 16px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2554a7;
    font-size: .76rem;
    font-weight: 900;
}

.ops-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}

.ops-row span {
    color: var(--muted);
    font-weight: 720;
}

.ops-row strong {
    color: var(--ink);
    font-size: 1.1rem;
    font-weight: 950;
}

.ops-action {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 18px;
    border-radius: 10px;
    color: var(--blue);
    text-decoration: none;
    background: #eef4ff;
    font-weight: 900;
}

.login-page,
.responsavel-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 18% 18%, rgba(236, 72, 153, .15), transparent 32%),
        radial-gradient(circle at 78% 24%, rgba(37, 99, 235, .16), transparent 31%),
        linear-gradient(135deg, #fff8fc 0%, #eef6ff 58%, #fbfdff 100%);
}

.login-card,
.responsavel-card {
    width: min(480px, calc(100vw - 32px));
    padding: 30px;
}

.responsavel-shell {
    width: 100%;
    display: grid;
    place-items: center;
    padding: 24px 16px;
}

.responsavel-card {
    position: relative;
    overflow: hidden;
}

.responsavel-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: linear-gradient(90deg, var(--pink), var(--blue), var(--green));
}

.responsavel-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.brand-mini {
    color: var(--pink);
    font-size: .82rem;
    font-weight: 950;
    text-transform: uppercase;
}

.responsavel-card h1 {
    margin: 6px 0 0;
    color: var(--ink);
    font-size: 1.45rem;
    font-weight: 950;
}

.secure-chip {
    white-space: nowrap;
    border: 1px solid rgba(34, 197, 94, .2);
    border-radius: 999px;
    padding: 7px 10px;
    color: #08734a;
    background: rgba(34, 197, 94, .08);
    font-size: .72rem;
    font-weight: 900;
}

.student-box,
.privacy-box,
.responsavel-info,
.status-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f8fbff;
}

.student-box {
    padding: 16px;
    margin-bottom: 12px;
}

.student-box span,
.student-box small,
.responsavel-info span {
    display: block;
    color: var(--muted);
    font-size: .88rem;
}

.student-box strong {
    display: block;
    margin-top: 4px;
    color: var(--ink);
    font-size: 1.35rem;
    font-weight: 950;
}

.responsavel-info {
    padding: 13px 14px;
    margin-bottom: 12px;
}

.responsavel-info strong {
    display: block;
    margin-top: 2px;
    font-size: 1rem;
}

.privacy-box {
    padding: 14px;
    margin-bottom: 12px;
    color: #334155;
    font-size: .93rem;
    line-height: 1.55;
}

.status-card {
    margin-bottom: 14px;
    color: #344054;
    font-weight: 760;
}

.codigo-retirada-box {
    border: 2px solid rgba(37, 99, 235, .82);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    text-align: center;
    background: linear-gradient(180deg, #eef6ff, #fff);
    box-shadow: 0 16px 30px rgba(37, 99, 235, .15);
}

.codigo-retirada-box span,
.codigo-retirada-box small {
    display: block;
    color: var(--muted);
}

.codigo-retirada-box span {
    font-size: .8rem;
    font-weight: 950;
    text-transform: uppercase;
}

.codigo-retirada-box strong {
    display: block;
    margin: 8px 0;
    color: var(--blue);
    font-size: 2.85rem;
    line-height: 1;
    letter-spacing: 0;
    font-weight: 950;
}

.btn-main-action {
    min-height: 54px;
    font-size: 1.06rem;
}

.btn-cancel-action {
    min-height: 44px;
}

.trust-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 16px;
}

.trust-list span {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 9px 10px;
    color: var(--muted);
    background: #fff;
    font-size: .84rem;
    font-weight: 760;
}

.mobile-warning {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.45;
}

.login-links {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    font-size: .9rem;
}

.login-links a {
    color: var(--blue);
    text-decoration: none;
    font-weight: 800;
}

/* ==========================================================
   LANDING PAGE PREMIUM
========================================================== */

.site-page {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 83% 7%, rgba(37, 99, 235, .16), transparent 30%),
        radial-gradient(circle at 11% 16%, rgba(236, 72, 153, .13), transparent 28%),
        radial-gradient(circle at 48% 42%, rgba(6, 182, 212, .08), transparent 35%),
        linear-gradient(180deg, #fbfdff 0%, #f2f6fc 48%, #ffffff 100%);
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 84px;
    padding: 16px min(48px, 4vw);
    border-bottom: 1px solid rgba(229, 234, 243, .82);
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(18px);
}

.site-nav-premium {
    box-shadow: 0 12px 34px rgba(15, 23, 42, .045);
}

.site-nav nav,
.site-menu {
    display: flex;
    align-items: center;
    gap: 22px;
}

.site-nav nav a:not(.btn),
.site-menu a:not(.btn) {
    color: #475467;
    text-decoration: none;
    font-weight: 850;
    font-size: .94rem;
}

.site-nav nav a:not(.btn):hover,
.site-menu a:not(.btn):hover {
    color: var(--blue);
}

.site-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 560px;
    gap: 42px;
    align-items: center;
    max-width: 1240px;
    min-height: calc(100vh - 84px);
    margin: 0 auto;
    padding: 54px 24px 70px;
}

.site-hero-premium {
    position: relative;
    grid-template-columns: minmax(0, 1.03fr) minmax(460px, .97fr);
    max-width: 1320px;
    padding-top: 70px;
    padding-bottom: 86px;
}

.hero-glow {
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    filter: blur(10px);
    opacity: .86;
}

.hero-glow-one {
    width: 360px;
    height: 360px;
    right: -110px;
    top: 90px;
    background: radial-gradient(circle, rgba(37, 99, 235, .18), transparent 68%);
}

.hero-glow-two {
    width: 280px;
    height: 280px;
    left: -110px;
    bottom: 120px;
    background: radial-gradient(circle, rgba(236, 72, 153, .14), transparent 68%);
}

.site-hero-copy h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(3rem, 5.9vw, 5.4rem);
    line-height: .95;
    font-weight: 950;
    letter-spacing: -.065em;
}

.site-hero-copy p {
    max-width: 690px;
    margin: 24px 0 0;
    color: #475467;
    font-size: 1.2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.hero-actions .btn {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: 22px;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 720px;
    margin-top: 30px;
}

.hero-proof div {
    padding: 15px 16px;
    border: 1px solid rgba(229, 234, 243, .9);
    border-radius: 16px;
    background: rgba(255, 255, 255, .72);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(14px);
}

.hero-proof strong {
    display: block;
    color: var(--ink);
    font-size: .95rem;
    font-weight: 950;
}

.hero-proof span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: .84rem;
    font-weight: 700;
}

.hero-trust,
.signup-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.hero-trust span,
.signup-benefits span {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
    color: #475467;
    background: rgba(255, 255, 255, .84);
    font-size: .88rem;
    font-weight: 850;
}

.hero-dashboard-wrap {
    position: relative;
}

.hero-dashboard-wrap::before {
    content: "";
    position: absolute;
    inset: 42px -18px -18px 42px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(236, 72, 153, .08));
    transform: rotate(2.4deg);
}

.hero-dashboard-card,
.hero-product {
    position: relative;
    border: 1px solid rgba(219, 228, 240, .9);
    border-radius: 28px;
    padding: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .9)),
        radial-gradient(circle at top right, rgba(37, 99, 235, .12), transparent 34%);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
}

.hero-dashboard-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}

.dashboard-browser {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 2px 16px;
    border-bottom: 1px solid var(--line);
}

.dashboard-browser span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dashboard-browser span:nth-child(1) {
    background: #f87171;
}

.dashboard-browser span:nth-child(2) {
    background: #fbbf24;
}

.dashboard-browser span:nth-child(3) {
    background: #34d399;
}

.dashboard-browser strong {
    margin-left: auto;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 850;
}

.dashboard-header-mini {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 2px 6px;
}

.dashboard-header-mini span,
.dashboard-header-mini em {
    display: block;
    color: var(--muted);
    font-size: .78rem;
    font-style: normal;
    font-weight: 800;
}

.dashboard-header-mini strong {
    display: block;
    margin-top: 3px;
    color: var(--ink);
    font-size: 1.1rem;
    font-weight: 950;
}

.dashboard-header-mini em {
    padding: 7px 10px;
    border: 1px solid rgba(34, 197, 94, .18);
    border-radius: 999px;
    color: #08734a;
    background: rgba(34, 197, 94, .08);
}

.product-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.product-top span {
    color: var(--blue);
    font-weight: 950;
}

.product-top strong {
    color: var(--muted);
    font-size: .9rem;
}

.product-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 16px 0;
}

.product-metrics div,
.product-list div,
.security-card,
.signup-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.product-metrics-premium div {
    position: relative;
    overflow: hidden;
    padding: 16px;
    background:
        radial-gradient(circle at 85% 0%, rgba(37, 99, 235, .1), transparent 42%),
        #ffffff;
}

.product-metrics-premium div::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 0;
    height: 4px;
    border-radius: 999px 999px 0 0;
    background: var(--blue);
}

.product-metrics-premium div:nth-child(2)::after {
    background: var(--green);
}

.product-metrics-premium div:nth-child(3)::after {
    background: var(--orange);
}

.product-metrics div {
    padding: 14px;
}

.product-metrics span,
.product-list span {
    display: block;
    color: var(--muted);
    font-size: .8rem;
    font-weight: 760;
}

.product-metrics strong {
    display: block;
    margin-top: 4px;
    font-size: 1.7rem;
    font-weight: 950;
    letter-spacing: -.03em;
}

.product-metrics small {
    display: block;
    color: var(--muted);
    font-size: .74rem;
    font-weight: 760;
}

.product-map {
    position: relative;
    height: 260px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background:
        linear-gradient(90deg, rgba(37, 99, 235, .09) 1px, transparent 1px),
        linear-gradient(0deg, rgba(37, 99, 235, .09) 1px, transparent 1px),
        #f8fbff;
    background-size: 42px 42px;
}

.product-map-premium {
    height: 282px;
    border-radius: 20px;
    background:
        linear-gradient(90deg, rgba(37, 99, 235, .07) 1px, transparent 1px),
        linear-gradient(0deg, rgba(37, 99, 235, .07) 1px, transparent 1px),
        radial-gradient(circle at 20% 25%, rgba(34, 197, 94, .1), transparent 12%),
        radial-gradient(circle at 80% 70%, rgba(249, 115, 22, .1), transparent 16%),
        #f8fbff;
    background-size: 42px 42px, 42px 42px, auto, auto, auto;
}

.map-grid-line {
    position: absolute;
    height: 18px;
    border-radius: 999px;
    background: rgba(148, 163, 184, .18);
}

.map-grid-one {
    width: 250px;
    left: 48px;
    top: 52px;
    transform: rotate(-24deg);
}

.map-grid-two {
    width: 310px;
    right: 10px;
    bottom: 54px;
    transform: rotate(18deg);
}

.route {
    position: absolute;
    height: 5px;
    border-radius: 999px;
    background: var(--blue);
    box-shadow: 0 8px 16px rgba(37, 99, 235, .2);
}

.route-a {
    width: 330px;
    left: 70px;
    top: 112px;
    transform: rotate(-18deg);
}

.route-b {
    width: 230px;
    right: 48px;
    top: 158px;
    transform: rotate(28deg);
}

.route-c {
    width: 160px;
    left: 210px;
    bottom: 68px;
    transform: rotate(18deg);
    background: var(--cyan);
}

.pin {
    position: absolute;
    width: 22px;
    height: 22px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 10px 18px rgba(15, 23, 42, .18);
}

.pin-school {
    right: 120px;
    top: 92px;
    background: var(--green);
}

.pin-one {
    left: 108px;
    top: 106px;
}

.pin-two {
    right: 182px;
    top: 154px;
    background: var(--orange);
}

.pin-three {
    left: 248px;
    bottom: 63px;
    background: var(--cyan);
}

.map-callout {
    position: absolute;
    right: 44px;
    top: 74px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow-md);
}

.map-callout strong,
.map-callout span {
    display: block;
}

.map-callout span {
    color: var(--muted);
    font-size: .82rem;
}

.product-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.product-list div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 12px;
    padding: 12px 14px;
}

.product-list-premium div {
    border-radius: 16px;
}

.product-list strong {
    font-weight: 950;
}

.product-list em {
    grid-row: span 2;
    align-self: center;
    color: var(--blue);
    font-style: normal;
    font-weight: 950;
}

.site-section {
    max-width: 1240px;
    margin: 0 auto;
    padding: 82px 24px;
}

.section-title {
    max-width: 760px;
    margin-bottom: 30px;
}

.section-title-center {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-title h2,
.split-section h2,
.site-cta h2,
.signup-copy h1 {
    color: var(--ink);
    font-weight: 950;
    letter-spacing: -.04em;
}

.section-title h2,
.split-section h2,
.site-cta h2 {
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.04;
}

.section-title p {
    margin: 15px auto 0;
    color: #475467;
    font-size: 1.08rem;
    line-height: 1.65;
}

.problem-section {
    padding-top: 34px;
}

.pain-grid,
.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.pain-grid article,
.audience-grid article {
    min-height: 190px;
    padding: 24px;
    border: 1px solid rgba(229, 234, 243, .95);
    border-radius: 22px;
    background: rgba(255, 255, 255, .86);
    box-shadow: var(--shadow-sm);
}

.pain-grid article span {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    color: var(--blue);
    background: rgba(37, 99, 235, .08);
    font-weight: 950;
}

.pain-grid article h3,
.audience-grid article h3 {
    margin: 20px 0 8px;
    color: var(--ink);
    font-size: 1.2rem;
    font-weight: 950;
}

.pain-grid article p,
.audience-grid article p {
    margin: 0;
    color: #475467;
    line-height: 1.6;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.feature-grid article {
    min-height: 230px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, .9);
    box-shadow: var(--shadow-sm);
}

.feature-grid-premium article {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(37, 99, 235, .08), transparent 30%),
        rgba(255, 255, 255, .92);
}

.feature-grid-premium article::after {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 0;
    height: 4px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, var(--blue), rgba(37, 99, 235, .12));
}

.feature-grid article span {
    color: var(--blue);
    font-weight: 950;
}

.feature-grid article h3 {
    margin: 22px 0 10px;
    font-size: 1.18rem;
    font-weight: 950;
}

.feature-grid article p,
.split-section p,
.site-cta p,
.signup-copy p {
    color: #475467;
    line-height: 1.62;
}

.flow-section {
    max-width: 1320px;
}

.flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    position: relative;
}

.flow-grid article {
    position: relative;
    min-height: 250px;
    padding: 26px;
    border: 1px solid rgba(229, 234, 243, .95);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-md);
}

.flow-grid article strong {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--violet));
    box-shadow: 0 18px 28px rgba(37, 99, 235, .2);
    font-size: 1.25rem;
    font-weight: 950;
}

.flow-grid article h3 {
    margin: 26px 0 10px;
    color: var(--ink);
    font-size: 1.2rem;
    font-weight: 950;
}

.flow-grid article p {
    margin: 0;
    color: #475467;
    line-height: 1.6;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: center;
}

.security-section {
    max-width: 1180px;
}

.check-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 22px 0 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding: 13px 14px 13px 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: #344054;
    font-weight: 760;
    box-shadow: var(--shadow-sm);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 14px;
    top: 50%;
    display: grid;
    place-items: center;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    color: #fff;
    background: var(--green);
    font-size: .75rem;
    transform: translateY(-50%);
}

.security-card {
    padding: 30px;
    text-align: center;
}

.security-card-premium {
    position: relative;
    overflow: hidden;
    padding: 34px 28px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, .12), transparent 38%),
        linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: var(--shadow-lg);
}

.security-card strong,
.security-card span {
    display: block;
}

.security-label {
    color: var(--muted);
    font-size: .83rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.security-card span:not(.security-status span):not(.security-label) {
    margin: 14px 0;
    color: var(--blue);
    font-size: 4rem;
    line-height: 1;
    font-weight: 950;
}

.security-card-premium strong {
    display: block;
    margin: 14px 0;
    color: var(--blue);
    font-size: 4.8rem;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.04em;
}

.security-status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
    padding: 9px 12px;
    border: 1px solid rgba(34, 197, 94, .16);
    border-radius: 999px;
    background: rgba(34, 197, 94, .08);
}

.security-status span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--green);
}

.security-status em {
    color: #08734a;
    font-size: .82rem;
    font-style: normal;
    font-weight: 900;
}

.audience-section {
    padding-top: 42px;
}

.site-cta {
    max-width: 960px;
    margin: 30px auto 80px;
    padding: 44px 24px;
    border: 1px solid var(--line);
    border-radius: 18px;
    text-align: center;
    background: linear-gradient(135deg, #eff6ff, #fff);
    box-shadow: var(--shadow-md);
}

.site-cta-premium {
    position: relative;
    max-width: 1080px;
    overflow: hidden;
    padding: 64px 34px;
    border-radius: 30px;
    background:
        radial-gradient(circle at 100% 0%, rgba(236, 72, 153, .14), transparent 34%),
        radial-gradient(circle at 0% 100%, rgba(37, 99, 235, .18), transparent 34%),
        linear-gradient(135deg, #ffffff, #eff6ff);
}

.site-cta-premium h2 {
    max-width: 760px;
    margin: 0 auto;
}

.site-cta-premium p {
    max-width: 690px;
    margin: 18px auto 0;
    font-size: 1.08rem;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 28px 24px 44px;
    border-top: 1px solid var(--line);
}

.site-footer strong,
.site-footer span {
    display: block;
}

.site-footer strong {
    color: var(--ink);
    font-weight: 950;
}

.site-footer span {
    margin-top: 3px;
    color: var(--muted);
    font-size: .9rem;
}

.site-footer nav {
    display: flex;
    gap: 18px;
}

.site-footer a {
    color: #475467;
    text-decoration: none;
    font-size: .92rem;
    font-weight: 850;
}

.site-footer a:hover {
    color: var(--blue);
}

.signup-shell {
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(0, 680px);
    gap: 40px;
    align-items: start;
    max-width: 1240px;
    margin: 0 auto;
    padding: 60px 24px 90px;
}

.signup-copy {
    position: sticky;
    top: 112px;
}

.signup-copy h1 {
    font-size: clamp(2.4rem, 5vw, 4.3rem);
    line-height: 1;
}

.signup-card {
    padding: 28px;
}

.signup-card h2 {
    margin-bottom: 14px;
    font-size: 1.15rem;
    font-weight: 950;
}

.signup-card .form-control {
    min-height: 46px;
    border-color: var(--line);
    border-radius: 10px;
}

.consent-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #475467;
    font-size: .92rem;
}

.map-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 18px;
    min-height: calc(100vh - 190px);
}

#mapa {
    min-height: 690px;
    overflow: hidden;
    background: #dbeafe;
}

.priority-panel {
    padding: 20px;
    overflow: auto;
}

.priority-panel h2 {
    margin-bottom: 16px;
    font-size: 1.1rem;
    font-weight: 950;
}

.priority-list {
    display: grid;
    gap: 12px;
}

.priority-card {
    border: 1px solid var(--line);
    border-left: 5px solid #667085;
    border-radius: 12px;
    padding: 14px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.priority-danger { border-left-color: var(--red); }
.priority-warning { border-left-color: var(--orange); }
.priority-success { border-left-color: var(--green); }
.priority-secondary { border-left-color: #667085; }
.priority-card.is-stale { opacity: .58; }

.priority-main strong,
.priority-main span,
.priority-main small {
    display: block;
}

.priority-main strong {
    font-weight: 950;
}

.priority-main small,
.priority-main span {
    color: var(--muted);
}

.priority-meta {
    display: flex;
    gap: 10px;
    margin: 12px 0;
    color: var(--ink);
    font-weight: 950;
}

.priority-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pin-responsavel {
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
}

.pin-responsavel span {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

.pin-danger span { background: var(--red); }
.pin-warning span { background: var(--orange); }
.pin-success span { background: var(--green); }
.pin-secondary span { background: #667085; }

@media (max-width: 1420px) {
    .metric-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1180px) {
    .site-hero,
    .signup-shell,
    .split-section,
    .site-hero-premium {
        grid-template-columns: 1fr;
    }

    .site-hero {
        min-height: auto;
    }

    .signup-copy {
        position: static;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .flow-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-dashboard-wrap {
        max-width: 720px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 1080px) {
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .app-sidebar {
        display: none;
    }

    .sidebar-toggle {
        display: inline-grid;
        place-items: center;
    }

    .app-main {
        padding: 24px 18px;
    }

    .unit-card {
        display: none;
    }

    .map-layout {
        grid-template-columns: 1fr;
    }

    #mapa {
        min-height: 460px;
    }

    .site-nav-premium {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-menu {
        flex-wrap: wrap;
        gap: 12px;
    }
}

@media (max-width: 720px) {
    .app-topbar {
        padding: 12px;
    }

    .user-card {
        display: none;
    }

    .page-title,
    .map-page-header,
    .title-actions,
    .responsavel-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .metric-grid {
        grid-template-columns: 1fr;
    }

    .metric-card {
        min-height: 126px;
    }

    .responsavel-card {
        padding: 22px;
    }

    .site-nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 16px;
    }

    .site-nav nav {
        flex-wrap: wrap;
        gap: 12px;
    }

    .site-hero,
    .site-section,
    .signup-shell {
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-hero-premium {
        padding-top: 42px;
        padding-bottom: 54px;
    }

    .site-hero-copy h1 {
        font-size: 2.75rem;
        letter-spacing: -.05em;
    }

    .site-hero-copy p {
        font-size: 1.04rem;
    }

    .hero-proof,
    .pain-grid,
    .audience-grid,
    .flow-grid {
        grid-template-columns: 1fr;
    }

    .hero-product,
    .hero-dashboard-card {
        padding: 14px;
        border-radius: 22px;
    }

    .product-metrics,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .product-map,
    .product-map-premium {
        height: 220px;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-footer nav {
        flex-wrap: wrap;
    }
}

@media (max-width: 460px) {
    .brand-mark {
        width: 44px;
        height: 44px;
    }

    .app-brand strong {
        font-size: 1.12rem;
    }

    .app-brand small {
        font-size: .76rem;
    }

    .site-menu a.btn {
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .site-hero-copy h1 {
        font-size: 2.35rem;
    }

    .dashboard-header-mini,
    .product-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .security-card-premium strong {
        font-size: 3.8rem;
    }
}

.school-notification-card {
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    background: #eff6ff;
    color: #1e3a8a;
    margin-bottom: 12px;
    padding: 14px;
}

.school-notification-card strong {
    display: block;
    color: #172554;
    font-size: .98rem;
    font-weight: 950;
    margin-bottom: 4px;
}

.school-notification-card p {
    margin: 0;
    color: #1e40af;
    font-size: .92rem;
    line-height: 1.45;
}
