/* FCF Online — Landing / seleção de portal */

.fcf-welcome {
    margin: 0;
    min-height: 100vh;
    font-family: "Open Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #2f353b;
    background-color: #2f353b;
    background-image: url('bg-fcf.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.fcf-welcome::before {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(47, 53, 59, 0.82) 0%,
        rgba(47, 53, 59, 0.68) 45%,
        rgba(31, 107, 61, 0.55) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.fcf-welcome-page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px 24px;
}

.fcf-welcome-header {
    text-align: center;
    margin-bottom: 28px;
}

.fcf-welcome-logo {
    max-height: 72px;
    width: auto;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.25));
}

.fcf-welcome-subtitle {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.88);
}

.fcf-welcome-grid {
    width: 100%;
    max-width: 1080px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.fcf-portal-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none !important;
    color: inherit !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.65);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    min-height: 100%;
}

.fcf-portal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.24);
}

.fcf-portal-card__banner {
    position: relative;
    height: 118px;
    overflow: hidden;
    background: #eef2f5;
}

.fcf-portal-card__banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.35s ease;
}

.fcf-portal-card:hover .fcf-portal-card__banner img {
    transform: scale(1.06);
}

.fcf-portal-card__banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(47, 53, 59, 0.05) 0%, rgba(47, 53, 59, 0.35) 100%);
}

.fcf-portal-card__badge {
    position: absolute;
    left: 14px;
    bottom: 12px;
    z-index: 1;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.fcf-portal-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 18px 18px 16px;
}

.fcf-portal-card__label {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.fcf-portal-card__title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: #2f353b;
}

.fcf-portal-card__desc {
    margin: 0 0 18px;
    flex: 1;
    font-size: 13px;
    line-height: 1.5;
    color: #6c7a86;
}

.fcf-portal-card__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #fff !important;
    transition: filter 0.2s ease;
}

.fcf-portal-card:hover .fcf-portal-card__action {
    filter: brightness(1.06);
}

.fcf-portal-card--admin .fcf-portal-card__badge,
.fcf-portal-card--admin .fcf-portal-card__action {
    background: #4db3a5;
}

.fcf-portal-card--admin .fcf-portal-card__label {
    color: #4db3a5;
}

.fcf-portal-card--admin {
    border-top: 4px solid #4db3a5;
}

.fcf-portal-card--clube .fcf-portal-card__badge,
.fcf-portal-card--clube .fcf-portal-card__action {
    background: #1f6b3d;
}

.fcf-portal-card--clube .fcf-portal-card__label {
    color: #1f6b3d;
}

.fcf-portal-card--clube {
    border-top: 4px solid #1f6b3d;
}

.fcf-portal-card--arbitro .fcf-portal-card__badge,
.fcf-portal-card--arbitro .fcf-portal-card__action {
    background: #2c4470;
}

.fcf-portal-card--arbitro .fcf-portal-card__label {
    color: #2c4470;
}

.fcf-portal-card--arbitro {
    border-top: 4px solid #2c4470;
}

.fcf-portal-card--delegados .fcf-portal-card__badge,
.fcf-portal-card--delegados .fcf-portal-card__action {
    background: #d68910;
}

.fcf-portal-card--delegados .fcf-portal-card__label {
    color: #d68910;
}

.fcf-portal-card--delegados {
    border-top: 4px solid #f0ad4e;
}

.fcf-welcome-footer {
    margin-top: 28px;
    text-align: center;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
}

@media (max-width: 991px) {
    .fcf-welcome-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 640px;
    }
}

@media (max-width: 575px) {
    .fcf-welcome-page {
        justify-content: flex-start;
        padding-top: 28px;
    }

    .fcf-welcome-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    .fcf-welcome-logo {
        max-height: 60px;
    }

    .fcf-portal-card__banner {
        height: 104px;
    }
}
