:root {
    --primary-home: #0862ad;
    --primary-home-dark: #0c2444;
    --primary-home-lighter: #eef3f8;
    --border: #eef1f5;
    --text-muted: #a0aec0;
    --text-dark: #1a202c;
}

.img-app {
    width: 60px !important;
    height: 60px;
    border-radius: .5em;
    transition: .1s ease-in-out;
}

.img-app:hover {
    transform: scale(1.05, 1.05);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.264) !important;
}

/* ═══════════════════════════════════════════════════════
   DICAS TOAST — welcome page
   ═══════════════════════════════════════════════════════ */
.dicas-toast {
    min-width: 350px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: 3px solid #fbbf24;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .12), 0 2px 8px rgba(0, 0, 0, .06);
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    max-height: max-content;
    flex-basis: auto;
}

.dicas-toast-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px 10px;
    border-bottom: 1px solid #f0f4f8;
    position: relative;
}

.dicas-toast-icon {
    width: 26px;
    height: 26px;
    background: rgba(251, 191, 36, .15);
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    font-size: 13px;
    flex-shrink: 0;
}

.dicas-toast-title {
    font-size: .8rem;
    font-weight: 700;
    color: #1a202c;
    letter-spacing: -.1px;
    flex: 1;
}

.dicas-toast-close {
    background: none;
    border: none;
    padding: 0;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    color: #a0aec0;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s, color .15s;
    line-height: 1;
    flex-shrink: 0;
}

.dicas-toast-close:hover {
    background: #f0f4f8;
    color: #1a202c;
}

.dicas-toast-body {
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dicas-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13.5px;
    color: #4a5568;
    line-height: 1.55;
}

.dicas-item-icon {
    color: #10305b;
    font-size: 13.5px;
    margin-top: 2px;
    flex-shrink: 0;
}

.dicas-item strong {
    color: #1a202c;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════
   Apps section — TI home
   ═══════════════════════════════════════════════════════ */
.ps-apps-card {
    background: #fff;
    border-radius: 16px;
    border: 1.5px solid var(--border);
    box-shadow: 0 2px 14px rgba(0,0,0,.05);
    padding: 28px 32px;
    position: relative;
    overflow: hidden;
}
.ps-apps-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--primary-home);
}
.ps-apps-item {
    text-align: center;
}
.ps-apps-item a {
    text-decoration: none;
    display: inline-block;
}
.ps-apps-item h5 {
    font-size: .78rem;
    color: #4a5568;
    margin-top: 8px;
    font-weight: 600;
}
.ps-apps-how {
    background: #f5f7fa;
    border-radius: 14px;
    border: 1.5px solid var(--border);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
}
.ps-apps-how h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary-home);
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.ps-apps-how p {
    color: #718096;
    font-size: .85rem;
    line-height: 1.65;
    margin-bottom: 20px;
}
.ps-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1.5px solid var(--primary-home);
    color: var(--primary-home);
    border-radius: 9px;
    padding: .42rem 1.1rem;
    font-size: .8rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    text-decoration: none;
    background: transparent;
    transition: background .18s, color .18s;
}
.ps-btn-outline:hover {
    background: var(--primary-home);
    color: #fff;
    text-decoration: none;
}

/* ═══════════════════════════════════════════════════════
   Suporte rápido — TI home
   ═══════════════════════════════════════════════════════ */
.ps-support-wrap {
    background: #f5f7fa;
    border-top: 1px solid var(--border);
    padding: 64px 0 72px;
}
.ps-support-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--primary-home);
    margin-bottom: .3rem;
}
.ps-support-title span { color: #4a5568; }

/* ═══════════════════════════════════════════════════════
   Suporte Rápido — utilitário hidden
   ═══════════════════════════════════════════════════════ */
.hidden { display: none !important; }

/* ═══════════════════════════════════════════════════════
   Suporte Rápido — ícones de categoria
   ═══════════════════════════════════════════════════════ */
.img {
    text-align: center;
    cursor: pointer;
    padding: 6px 4px;
}
.img img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    border: 1.5px solid var(--border);
    background: #fff;
    padding: 4px;
    object-fit: contain;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.img img:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(8,98,173,.15);
    border-color: var(--primary-home);
}
.img p {
    font-size: .75rem;
    font-weight: 600;
    color: #4a5568;
    margin-top: 8px;
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════
   Suporte Rápido — lista de opções e conteúdo
   ═══════════════════════════════════════════════════════ */
.option-title {
    display: block;
    padding: 10px 16px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    margin-bottom: 8px;
    cursor: pointer;
    text-decoration: none !important;
    background: #fff;
    transition: border-color .18s, background .18s;
}
.option-title h5 {
    font-size: .88rem;
    font-weight: 600;
    margin: 0;
    color: var(--primary-home);
}
.option-title:hover {
    border-color: var(--primary-home);
    background: #eef4ff;
}
.option-content {
    text-align: left;
    font-size: .87rem;
    color: #4a5568;
    line-height: 1.75;
    background: #f5f7fa;
    border-radius: 10px;
    padding: 16px 20px;
    border: 1px solid var(--border);
}
.option-text { margin-top: 8px; }

/* ═══════════════════════════════════════════════════════
   Suporte Rápido — botão voltar e área de conteúdo
   ═══════════════════════════════════════════════════════ */
.voltar {
    cursor: pointer;
    color: var(--primary-home);
    font-size: 1.3rem;
    display: inline-block;
    margin-bottom: 14px;
    transition: transform .18s;
}
.voltar:hover { transform: scale(1.15); }

.table-element { text-align: left; }

.foto-element {
    display: flex;
    align-items: center;
    justify-content: center;
}
.img-element {
    width: 100%;
    max-width: 180px;
    border-radius: 10px;
}

/* ═══════════════════════════════════════════════════════
   Dept header
   ═══════════════════════════════════════════════════════ */
.dept-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 24px 15%;
}
.ps-breadcrumb:hover { color: var(--primary-home); }
.dept-header-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.dept-header-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}
.dept-header-title .bi {
    color: var(--text-muted);
    font-size: 1.1em;
}
.dept-header-sub {
    color: var(--text-muted);
    font-size: .82rem;
    margin: 0;
}
@media (max-width: 768px) {
    .dept-header { padding-left: 20px; padding-right: 20px; }
}

/* ═══════════════════════════════════════════════════════
   Service cards
   ═══════════════════════════════════════════════════════ */
.svc-card {
    background: #fff;
    border-radius: 14px;
    border: 1.5px solid var(--border);
    box-shadow: 0 1px 8px rgba(0,0,0,.04);
    padding: 28px 20px 24px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: border-color .2s, box-shadow .2s;
    text-decoration: none !important;
    color: inherit !important;
    cursor: pointer;
}
.svc-card:hover {
    border-color: #c8d4e4;
    box-shadow: 0 8px 24px rgba(16,48,91,.08);
}
.svc-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-home-lighter);
    color: var(--primary-home);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    flex-shrink: 0;
}
.svc-card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    font-size: .93rem;
    margin-bottom: 8px;
}
.svc-card-desc {
    color: var(--text-muted);
    font-size: .8rem;
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}
.svc-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-home);
    color: #fff;
    border: none;
    border-radius: 9px;
    padding: .45rem 1.15rem;
    font-size: .8rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: background .18s;
}
.svc-card-btn:hover {
    background: var(--primary-home-dark);
    color: #fff;
    text-decoration: none;
}

/* ═══════════════════════════════════════════════════════
   Services section padding
   ═══════════════════════════════════════════════════════ */
.dept-services {
    padding: 48px 15% 24px;
}
@media (max-width: 768px) {
    .dept-services { padding-left: 20px; padding-right: 20px; }
}
