/**
 * Portal RH — OS Pará 2000
 * Contatos do colaborador — RH/Suporte
 * @author Albert Madureira
 */

.pc-contact-shell {
    margin: 0 0 1.25rem;
    border: 1px solid rgba(221, 227, 236, .95);
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(138, 154, 176, .18), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 14px 36px rgba(30, 42, 74, .08);
    padding: 18px;
    animation: pcContactIn .28s ease both;
}

.pc-contact-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-end;
    margin-bottom: 14px;
}

.pc-contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted, #6a7a8e);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.pc-contact-eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--navy, #1e2a4a);
    box-shadow: 0 0 0 5px rgba(30, 42, 74, .08);
}

.pc-contact-head h2 {
    margin: 0;
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    line-height: 1.15;
    color: var(--navy, #1e2a4a);
    font-weight: 900;
}

.pc-contact-head p {
    max-width: 390px;
    margin: 0;
    color: var(--text-muted, #6a7a8e);
    font-size: 12px;
    text-align: right;
}

.pc-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.pc-contact-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 15px;
    min-height: 116px;
    border-radius: 18px;
    border: 1px solid #e5ecf6;
    background: #fff;
    box-shadow: 0 8px 20px rgba(30, 42, 74, .055);
    transition: transform .2s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s ease, border-color .2s ease;
}

.pc-contact-card::after {
    content: "";
    position: absolute;
    right: -36px;
    top: -42px;
    width: 110px;
    height: 110px;
    border-radius: 999px;
    background: rgba(30, 42, 74, .05);
    pointer-events: none;
}

.pc-contact-card:hover {
    transform: translateY(-2px);
    border-color: #cfdbea;
    box-shadow: 0 14px 30px rgba(30, 42, 74, .10);
}

.pc-contact-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #edf3fb;
    font-size: 22px;
    flex-shrink: 0;
}

.pc-contact-info {
    min-width: 0;
}

.pc-contact-info h3 {
    margin: 0 0 4px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    line-height: 1.15;
    color: var(--navy, #1e2a4a);
    font-weight: 900;
}

.pc-contact-info p {
    margin: 0;
    color: var(--text-muted, #6a7a8e);
    font-size: 12px;
    line-height: 1.45;
}

.pc-contact-hours {
    display: inline-flex;
    margin-top: 8px;
    color: #53627a;
    background: #f3f6fb;
    border: 1px solid #e3eaf4;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 10px;
    font-weight: 800;
}

.pc-contact-action {
    grid-column: 1 / -1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 12px;
    background: var(--navy, #1e2a4a);
    color: #fff;
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: 12px;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.pc-contact-action:hover {
    background: var(--navy-mid, #2a3a5e);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(30, 42, 74, .18);
}

.pc-contact-modal[hidden] {
    display: none !important;
}

.pc-contact-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 15000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.pc-contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .58);
    backdrop-filter: blur(5px);
    animation: pcFadeIn .18s ease both;
}

.pc-contact-modal-dialog {
    position: relative;
    width: min(430px, calc(100vw - 28px));
    margin: 0 auto;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(15, 23, 42, .24);
    padding: 26px;
    animation: pcPop .22s ease both;
}

.pc-contact-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 12px;
    background: #eef3fb;
    color: #334155;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: transform .16s ease, background .16s ease;
}

.pc-contact-modal-close:hover {
    background: #e2eaf7;
    transform: scale(1.04);
}

.pc-contact-modal-kicker {
    color: var(--text-muted, #6a7a8e);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.pc-contact-modal-dialog h2 {
    margin: 0 42px 8px 0;
    color: var(--navy, #1e2a4a);
    font-family: 'Nunito', sans-serif;
    font-size: 24px;
    font-weight: 900;
}

.pc-contact-modal-dialog p {
    margin: 0 0 18px;
    color: var(--text-muted, #6a7a8e);
    font-size: 13px;
    line-height: 1.55;
}

.pc-contact-modal-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.pc-contact-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    border-radius: 16px;
    border: 1px solid #dfe7f2;
    text-decoration: none;
    color: var(--navy, #1e2a4a);
    font-weight: 900;
    background: #f8fbff;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.pc-contact-option:hover {
    transform: translateY(-1px);
    border-color: #c8d6e8;
    background: #fff;
}

.pc-contact-option-icon {
    font-size: 18px;
}

body.pc-contact-modal-open {
    overflow: hidden;
}

@keyframes pcContactIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pcFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pcPop {
    from { opacity: 0; transform: translateY(14px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 760px) {
    .pc-contact-shell {
        padding: 15px;
        border-radius: 20px;
    }

    .pc-contact-head {
        display: block;
    }

    .pc-contact-head p {
        margin-top: 6px;
        text-align: left;
        max-width: none;
    }

    .pc-contact-grid {
        grid-template-columns: 1fr;
    }

    .pc-contact-card {
        min-height: auto;
        padding: 14px;
    }
}

@media (max-width: 420px) {
    .pc-contact-card {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .pc-contact-info p {
        max-width: 280px;
    }

    .pc-contact-modal {
        align-items: flex-end;
        padding: 10px;
    }

    .pc-contact-modal-dialog {
        width: calc(100vw - 18px);
        margin-top: 0;
        padding: 22px 18px;
        border-radius: 20px;
    }

    .pc-contact-modal-options {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   Login — suporte antes do acesso
   ============================================================ */
.pc-login-support {
    position: relative;
    z-index: 2;
    width: min(100%, 280px);
    margin-top: 18px;
    padding: 13px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 18px;
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 26px rgba(0,0,0,.12);
    color: #fff;
    animation: pcContactIn .28s ease both;
}

.pc-login-support-text {
    display: grid;
    gap: 3px;
    text-align: center;
    margin-bottom: 10px;
}

.pc-login-support-text strong {
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 900;
}

.pc-login-support-text span {
    color: rgba(255,255,255,.72);
    font-size: 11px;
    line-height: 1.35;
}

.pc-login-support-text em {
    color: rgba(255,255,255,.58);
    font-size: 10px;
    font-style: normal;
    line-height: 1.35;
}

.pc-login-support-btn {
    width: 100%;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 13px;
    background: #fff;
    color: var(--navy, #1e2a4a);
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.pc-login-support-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0,0,0,.16);
    background: #f8fbff;
}

.pc-wa-svg {
    width: 18px;
    height: 18px;
    color: #178f45;
    flex-shrink: 0;
}

.pc-login-mail-icon {
    line-height: 1;
    font-size: 16px;
}

@media (max-width: 620px) {
    .pc-login-support {
        width: 100%;
        margin-top: 14px;
        padding: 12px;
        border-radius: 16px;
    }

    .pc-login-support-text {
        margin-bottom: 8px;
    }

    .pc-login-support-text span {
        font-size: 10.5px;
    }
}

/* Inline cleanup v2 — portal_contatos.php */
.pc-wa-svg {
    max-width: 18px;
    max-height: 18px;
    display: inline-block;
    vertical-align: -3px;
}
