/* ── Animations ── */
@keyframes ps-fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
.animated-content {
    animation: ps-fadeUp .65s ease-out forwards;
    opacity: 0;
}

/* ── Hero ── */
.ps-hero {
    position: relative;
    background: #132e53;
    padding: 100px 24px 100px;
    overflow: hidden;
    text-align: center;
}
.ps-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
}
.ps-hero-sub {
    position: relative;
    color: rgba(255,255,255,.55);
    font-size: .75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
}
.ps-hero-title {
    position: relative;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4.5vw, 2.7rem);
    font-weight: 500;
    color: #fff;
    margin: 0;
    line-height: 1.18;
}
.ps-hero-title span { color: #F7B500; }

/* ── Feature strip ── */
.ps-strip {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
    position: relative;
    z-index: 1;
}
.ps-strip-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 36px;
    border-right: 1px solid #f0f4f8;
}
.ps-strip-item:last-child { border-right: none; }
.ps-strip-icon {
    flex-shrink: 0;
    width: 46px; height: 46px;
    border-radius: 12px;
    background: rgba(247,181,0,.1);
    color: #F7B500;
    font-size: 1.35rem;
    display: flex; align-items: center; justify-content: center;
}
.ps-strip-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: .86rem;
    color: #1a202c;
    margin-bottom: 1px;
}
.ps-strip-sub {
    font-size: .75rem;
    color: #a0aec0;
}

/* ── Section base ── */
.ps-section {
    padding: 62px 15% 32px;
}
.ps-section-head {
    margin-bottom: 42px;
}
.ps-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: #F7B500;
    margin-bottom: .45rem;
}
.ps-section-sub {
    color: #a0aec0;
    font-size: .87rem;
    margin: 0;
}

/* ── Department cards ── */
.ps-dept-link {
    text-decoration: none;
    display: block;
    height: 100%;
    color: inherit;
}
.ps-dept-card {
    background: #fff;
    border-radius: 16px;
    border: 1.5px solid #e8edf5;
    box-shadow: 0 2px 14px rgba(0,0,0,.05);
    overflow: hidden;
    height: 100%;
    transition: transform .28s cubic-bezier(.4,0,.2,1),
                box-shadow .28s ease,
                border-color .28s ease;
}
.ps-dept-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 48px rgba(8,98,173,.13);
    border-color: #b8cdf0;
}
.ps-dept-accent {
    height: 4px;
    background: linear-gradient(90deg, #0862ad, #3d95d8);
}
.ps-dept-body {
    padding: 30px 24px 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.ps-dept-icon-wrap {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: rgba(247,181,0,.1);
    color: #F7B500;
    font-size: 1.5rem;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
    transition: background .28s ease, color .28s ease;
}
.ps-dept-card:hover .ps-dept-icon-wrap {
    background: rgba(8,98,173,.07);
    color: #0862ad;
}
.ps-dept-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #1a202c;
    font-size: .97rem;
    margin-bottom: 8px;
}
.ps-dept-desc {
    color: #a0aec0;
    font-size: .82rem;
    line-height: 1.65;
    margin-bottom: 22px;
    flex-grow: 1;
}
.ps-dept-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .79rem;
    font-weight: 600;
    color: #0862ad;
    border: 1.5px solid #d0daf0;
    border-radius: 8px;
    padding: .38rem 1.1rem;
    transition: background .2s, color .2s, border-color .2s;
    text-decoration: none;
}
.ps-dept-card:hover .ps-dept-cta {
    background: #0862ad;
    color: #fff;
    border-color: #0862ad;
}

/* ── Divider ── */
.ps-hr {
    height: 1px;
    background: #eef1f5;
    margin: 4px 15%;
}

/* ── How-we-help section ── */
.ps-help-section {
    padding: 52px 22.5% 64px;
}
.ps-help-card {
    background: #fff;
    border-radius: 14px;
    border: 1.5px solid #e8edf5;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
    padding: 24px;
    height: 100%;
}
.ps-help-head {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: .88rem;
    color: #0862ad;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 2px solid #eef1f5;
    display: flex;
    align-items: center;
    gap: 7px;
}
.ps-help-list {
    list-style: none;
    padding: 0; margin: 0;
}
.ps-help-list li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: .83rem;
    color: #4a5568;
    padding: 7px 0;
    border-bottom: 1px solid #f5f7fa;
}
.ps-help-list li:last-child { border-bottom: none; }
.ps-help-list .bi-check-circle-fill { color: #F7B500; font-size: .82rem; flex-shrink: 0; }

/* ── Page footer ── */
.ps-page-footer {
    border-top: 1px solid #eef1f5;
    padding: 20px;
    text-align: center;
    color: #c0cad8;
    font-size: .78rem;
    background: #fff;
    margin-top: 0;
}

/* ── Dept page header (used in ti/rh/logistica home) ── */
.ps-dept-header {
    background: #fff;
    border-bottom: 1px solid #e8edf5;
    padding: 28px 15%;
    position: relative;
    animation: ps-fadeUp .5s ease-out forwards;
    opacity: 0;
}
.ps-dept-header-accent {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0862ad, #3d95d8);
}
.ps-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .76rem;
    color: #a0aec0;
    text-decoration: none;
    margin-bottom: 14px;
    transition: color .15s;
}
.ps-breadcrumb:hover { color: #0862ad; text-decoration: none; }
.ps-breadcrumb .bi-chevron-right { font-size: .62rem; color: #d0d8e4; }
.ps-dept-header-main {
    display: flex;
    align-items: center;
    gap: 18px;
}
.ps-dept-header-icon {
    width: 54px; height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0862ad, #3d95d8);
    color: #fff;
    font-size: 1.65rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.ps-dept-header-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #0862ad;
    margin: 0 0 3px;
    line-height: 1.2;
}
.ps-dept-header-sub {
    color: #a0aec0;
    font-size: .82rem;
    margin: 0;
}

/* ── Service cards (dept home pages) ── */
.ps-services {
    padding: 48px 15% 24px;
}
.ps-svc-card {
    background: #fff;
    border-radius: 16px;
    border: 1.5px solid #e8edf5;
    box-shadow: 0 2px 14px rgba(0,0,0,.05);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .28s cubic-bezier(.4,0,.2,1),
                box-shadow .28s ease,
                border-color .28s ease;
}
.ps-svc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(8,98,173,.11);
    border-color: #c0d0ec;
}
.ps-svc-accent {
    height: 4px;
    background: linear-gradient(90deg, #0862ad, #3d95d8);
    flex-shrink: 0;
}
.ps-svc-logo {
    height: 56px;
    width: 76%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin: 18px auto 0;
    flex-shrink: 0;
}
.ps-svc-body {
    padding: 14px 20px 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.ps-svc-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #1a202c;
    font-size: .93rem;
    margin-bottom: 8px;
}
.ps-svc-desc {
    color: #a0aec0;
    font-size: .8rem;
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}
.ps-svc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #0862ad;
    color: #fff !important;
    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 !important;
    transition: background .18s, transform .18s;
    align-self: center;
}
.ps-svc-btn:hover {
    background: #064f88;
    transform: translateY(-1px);
}

/* Wide (horizontal) service card */
.ps-svc-card.ps-wide {
    flex-direction: column;
}
.ps-wide-inner {
    display: flex;
    align-items: center;
    padding: 16px 22px 22px;
    gap: 20px;
    flex: 1;
}
.ps-wide-logo {
    flex-shrink: 0;
    width: 70px; height: 70px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.ps-wide-body {
    text-align: left;
    flex: 1;
}
.ps-wide-body .ps-svc-title { text-align: left; }
.ps-wide-body .ps-svc-desc  { text-align: left; }
.ps-wide-body .ps-svc-btn   { align-self: flex-start; }

/* ── Apps section ── */
.ps-apps-section {
    background: #fff;
    padding: 60px 15%;
    border-top: 1px solid #eef1f5;
}
.ps-apps-grid {
    background: #fff;
    border-radius: 16px;
    border: 1.5px solid #e8edf5;
    box-shadow: 0 2px 14px rgba(0,0,0,.05);
    padding: 28px;
    position: relative;
    overflow: hidden;
}
.ps-apps-grid::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0862ad, #3d95d8);
}

/* ── Suporte rápido section ── */
.ps-support-section {
    padding: 60px 0;
    background: #f5f7fa;
    border-top: 1px solid #eef1f5;
}
