/* Área do cliente Avancini — visual moderno */
:root {
    --zm-ink: #1a1540;
    --zm-brand: #392C7D;
    --zm-teal: #08a9b0;
    --zm-surface: #f4f6fb;
    --zm-card: #ffffff;
    --zm-line: rgba(57, 44, 125, 0.10);
}

body.zm-aluno-page {
    font-family: "Outfit", system-ui, sans-serif;
    background: #eef1f5;
    color: var(--zm-ink);
}

body.zm-aluno-page .content {
    padding-bottom: 64px;
}

/* Header */
header.zm-aluno-header,
header.zm-aluno-header.fixed {
    position: sticky !important;
    top: 0 !important;
    z-index: 1060;
    background: linear-gradient(105deg, #2a2160 0%, #392C7D 48%, #2f4578 100%) !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(26, 21, 64, 0.22);
}

.zm-aluno-header .logo img {
    width: 148px;
    height: auto;
    display: block;
}

.zm-aluno-header .zm-aluno-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.zm-aluno-header .nav-link-aluno {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    font-size: 14px;
    margin-left: 0 !important;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 999px;
    transition: background .2s ease, color .2s ease;
}

.zm-aluno-header .nav-link-aluno:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.10);
}

.zm-aluno-header .zm-aluno-nome {
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 500;
    margin-left: 4px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.zm-aluno-header .zm-btn-sair {
    margin-left: 6px;
    border: 0;
    background: var(--zm-teal);
    color: #fff !important;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 999px;
    text-decoration: none;
    transition: transform .15s ease, filter .15s ease;
}

.zm-aluno-header .zm-btn-sair:hover {
    color: #fff !important;
    filter: brightness(1.08);
    transform: translateY(-1px);
}

/* Título da página — cinza prata (anula o rosa/azul #FEE0DE do tema) */
body.zm-aluno-page .breadcrumb-bar,
html.zm-aluno-page body .breadcrumb-bar,
body.zm-aluno-page div.breadcrumb-bar {
    background: #e6e9ee !important;
    background-color: #e6e9ee !important;
    background-image: none !important;
    padding: 40px 0 28px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06) !important;
    box-shadow: none !important;
}
body.zm-aluno-page .breadcrumb-bar::before,
body.zm-aluno-page .breadcrumb-bar::after {
    display: none !important;
    background: none !important;
    background-image: none !important;
}

/* Banner boas-vindas — volta ao roxo/teal da marca */
.zm-welcome {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: 28px 32px;
    margin-bottom: 28px;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 40%),
        linear-gradient(135deg, #2a2160 0%, #392C7D 45%, #1f6f8a 100%) !important;
    box-shadow: 0 18px 40px rgba(57, 44, 125, 0.22);
    color: #fff;
}

.zm-welcome::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -50px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(8, 169, 176, 0.25);
    pointer-events: none;
}

body.zm-aluno-page .breadcrumb-title {
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--zm-ink);
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
}

.zm-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.zm-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: #fff;
    border: 1px solid var(--zm-line);
    color: #475569;
}

.zm-chip--ok {
    background: rgba(8, 169, 176, 0.12);
    border-color: rgba(8, 169, 176, 0.28);
    color: #067a80;
}

.zm-chip--warn {
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.3);
    color: #92400e;
}

.zm-welcome h5 {
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    color: #fff;
}

.zm-welcome p {
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    max-width: 52ch;
}

.zm-welcome .btn-continuar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--zm-brand);
    font-weight: 700;
    border-radius: 999px;
    padding: 12px 22px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: transform .15s ease;
    position: relative;
    z-index: 1;
}

.zm-welcome .btn-continuar:hover {
    color: var(--zm-brand);
    transform: translateY(-2px);
}

.zm-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.1rem;
    color: var(--zm-ink);
}

/* Cards */
.zm-cat-card {
    border: 1px solid var(--zm-line);
    border-radius: 20px;
    overflow: hidden;
    background: var(--zm-card);
    box-shadow: 0 10px 28px rgba(26, 21, 64, 0.06);
    height: 100%;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.zm-cat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(57, 44, 125, 0.14);
    border-color: rgba(8, 169, 176, 0.35);
}

.zm-cat-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    background: #e8eef6;
}

.zm-aviso {
    position: fixed;
    inset: 0;
    z-index: 100002;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(11, 20, 16, 0.55);
    backdrop-filter: blur(4px);
}

.zm-aviso[hidden] {
    display: none !important;
}

.zm-aviso__card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 20px;
    padding: 36px 32px 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
    text-align: center;
}

.zm-aviso__fechar {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #8a8680;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.zm-aviso__fechar:hover {
    background: #f3f1ec;
    color: #1a1a1a;
}

.zm-aviso__icone {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b261e;
    color: #fff;
    font-size: 1.25rem;
}

.zm-aviso__titulo {
    margin: 0 0 8px;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a1a;
}

.zm-aviso__texto {
    margin: 0 0 22px;
    color: #5c5854;
    line-height: 1.5;
}

.zm-aviso__ok {
    min-width: 140px;
    border: 0;
    border-radius: 12px;
    padding: 12px 22px;
    background: #0b261e;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.zm-aviso__ok:hover {
    background: #14382c;
}

.zm-cat-card__capa-vazia {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b261e;
    color: #fff;
    font-size: 2rem;
}

.zm-cat-card__media img,
.zm-modulo-card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto !important;
    max-height: none;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .35s ease;
}

.zm-cat-card:hover .zm-cat-card__media img {
    transform: scale(1.04);
}

.zm-cat-card__body {
    padding: 18px 18px 20px;
}

.zm-cat-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.zm-cat-card__icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 169, 176, 0.12);
    color: var(--zm-teal);
    font-size: 12px;
}

.zm-cat-card__badge {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.zm-cat-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--zm-ink);
    margin: 0 0 14px;
    line-height: 1.25;
}

.zm-cat-card .progress {
    height: 7px;
    border-radius: 999px;
    background: #eef2f7;
    overflow: hidden;
    margin-bottom: 8px;
}

.zm-cat-card .progress-bar {
    background: linear-gradient(90deg, var(--zm-teal), #3dd4db);
    border-radius: 999px;
}

.zm-cat-card__pct {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 14px;
}

.zm-cat-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--zm-brand);
    color: #fff !important;
    font-weight: 600;
    font-size: 13px;
    border-radius: 999px;
    padding: 10px 18px;
    text-decoration: none !important;
    transition: background .15s ease, transform .15s ease;
}

.zm-cat-card__btn:hover {
    background: #2a2160;
    transform: translateY(-1px);
}

.zm-cat-card__lock {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.82);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

.zm-modulo-bloqueado {
    opacity: 0.72;
}

.zm-modulo-bloqueado:hover {
    transform: none;
    box-shadow: 0 10px 28px rgba(26, 21, 64, 0.06);
}

/* Footer */
.zm-aluno-footer {
    margin-top: 24px;
}

.zm-aluno-footer .footer-top {
    padding: 56px 0 40px !important;
    background:
        radial-gradient(600px 240px at 15% 0%, rgba(8, 169, 176, 0.18), transparent 60%),
        linear-gradient(160deg, #15122e 0%, #0f172a 55%, #0b1220 100%) !important;
}

.zm-aluno-footer .footer-about p,
.zm-aluno-footer .footer-bottom p {
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 14px;
    line-height: 1.6;
    max-width: 36ch;
}

.zm-aluno-footer .footer-logo img {
    max-width: 168px;
    height: auto;
    margin-bottom: 14px;
}

.zm-aluno-footer .footer-col-title {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}

.zm-aluno-footer .footer-link {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    justify-content: flex-start !important;
}

.zm-aluno-footer .footer-link a {
    color: rgba(255, 255, 255, 0.82) !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.zm-aluno-footer .footer-link a:hover {
    color: var(--zm-teal) !important;
}

.zm-aluno-footer .social-icon {
    gap: 10px;
}

.zm-aluno-footer .social-icon a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
    opacity: 1 !important;
    transition: background .15s ease;
}

.zm-aluno-footer .social-icon a:hover {
    background: var(--zm-teal);
    color: #fff !important;
}

.zm-aluno-footer .footer-bottom {
    background: #070b14 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 0;
}

.zm-aluno-footer .footer-bottom .text-secondary {
    color: var(--zm-teal) !important;
}

@media (max-width: 767px) {
    .zm-welcome {
        padding: 22px 20px;
    }
    .zm-welcome .text-lg-end {
        margin-top: 16px;
    }
}
