/* Recrutamento público — telemóveis e toque */
html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}
.recrutamento-header .container {
    max-width: 100%;
}
@media (max-width: 991.98px) {
    .recrutamento-header {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }
    .recrutamento-header .d-flex.flex-wrap.align-items-center.justify-content-between {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .recrutamento-header-contact {
        text-align: left !important;
        width: 100%;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        font-size: 0.8125rem;
        line-height: 1.5;
        word-break: break-word;
    }
    .recrutamento-header-sub {
        font-size: 0.8rem;
        line-height: 1.35;
    }
    .recrutamento-header-logo {
        max-height: 40px;
        max-width: min(160px, 45vw);
    }
    .recrutamento-header h1.h5 {
        font-size: 1rem;
    }
}
@media (max-width: 575.98px) {
    .recr-main {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        padding-top: 1rem !important;
        padding-bottom: 1.25rem !important;
    }
    .recr-footer .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .recrutamento-footer {
        padding-bottom: env(safe-area-inset-bottom, 0);
    }
    .recrutamento-footer-text,
    .recrutamento-footer-copy {
        font-size: 0.8125rem;
    }
    .recrutamento-footer-title {
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }
    .recrutamento-footer .row.g-4 > div:first-child .recrutamento-footer-title {
        margin-top: 0;
    }
}
/* Botões confortáveis para toque */
@media (max-width: 575.98px) {
    .recr-btn-touch {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* ——— Cartão candidatura espontânea: mobile (igual ao que já gostava) ——— */
.recr-card-espontanea-body {
    padding: 0.85rem 1rem;
}
.recr-esp-icon-wrap {
    width: 48px;
    height: 48px;
}
.recr-esp-icon {
    font-size: 1.4rem;
}
.recr-esp-title {
    font-size: 1rem;
}
.recr-esp-desc {
    font-size: 0.875rem;
    line-height: 1.45;
}

/* ——— PC / tablet largo: cartão mais premium ——— */
@media (min-width: 992px) {
    .recr-card-espontanea {
        border-radius: 0.65rem;
        border-width: 2px !important;
        box-shadow: 0 0.5rem 1.25rem rgba(13, 110, 253, 0.12), 0 0.125rem 0.25rem rgba(0, 0, 0, 0.04) !important;
    }
    .recr-card-espontanea-body {
        padding: 1.75rem 2.25rem !important;
        min-height: 7.5rem;
    }
    .recr-esp-icon-wrap {
        width: 64px;
        height: 64px;
    }
    .recr-esp-icon {
        font-size: 1.85rem;
    }
    .recr-esp-title {
        font-size: 1.35rem;
        letter-spacing: -0.02em;
    }
    .recr-esp-desc {
        font-size: 1.05rem;
        line-height: 1.55;
        max-width: 36rem;
    }
    .recr-esp-cta {
        padding-left: 2rem;
        margin-left: 0.5rem;
        border-left: 1px solid rgba(13, 110, 253, 0.22);
        min-width: 240px;
    }
    .recr-esp-btn {
        padding: 0.7rem 1.75rem !important;
        font-size: 1rem !important;
        border-radius: 0.5rem;
        box-shadow: 0 4px 14px rgba(13, 110, 253, 0.35);
        white-space: nowrap;
    }
    .recr-esp-btn:hover {
        box-shadow: 0 6px 20px rgba(13, 110, 253, 0.45);
        transform: translateY(-1px);
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .recr-card-espontanea-body {
        padding: 1.25rem 1.5rem !important;
    }
    .recr-esp-desc {
        font-size: 0.95rem;
        max-width: 32rem;
    }
    .recr-esp-btn {
        min-height: 48px;
    }
}
