﻿.sinal-teste-red {
    width: 50px;
    height: 50px;
    background-color: darkblue; /* retirei o !important */
    border: 2px solid black;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: black;
}

/* ==================== Cartão de convite fixo ==================== */
.invite-card {
    width: 100%;
    height: 200px;
    margin: 0;
    padding: 20px;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(135deg, #f0f9ff, #e0f7fa);
    box-shadow: inset 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .invite-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: url("images/bg-pattern.png") center/cover no-repeat;
        opacity: 0.1;
    }

.invite-content {
    position: relative;
    z-index: 1;
    max-width: 400px;
}

    .invite-content h2 {
        font-size: 1.2rem;
        font-weight: bold;
        color: #03173d;
        margin-bottom: 10px;
    }

    .invite-content p {
        font-size: 0.9rem;
        color: #333;
        margin-bottom: 15px;
        line-height: 1.4;
    }

/* Botão de ação */
.invite-btn {
    background: #21BCFF;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    padding: 10px 25px;
    cursor: pointer;
    transition: 0.3s;
}

    .invite-btn:hover {
        background: #03173d;
    }

/* ==================== Banner principal ==================== */
.home-banner {
    width: 100%;
    margin: 0;
    padding: 40px 15px; /* vertical + lateral */
    background: url("images/banner_h.jpg") no-repeat center center;
    background-size: cover;
    color: white;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.dashboard-card {
    margin-top: 0;
    padding: 0; /* consolidado */
}

.home-banner h2 {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.home-banner p {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.home-banner .btn {
    background: #fff;
    color: #03173d;
    font-weight: bold;
    border-radius: 25px;
    padding: 10px 25px;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

    .home-banner .btn:hover {
        background: #21BCFF;
        color: #fff;
    }

/* ==================== Seções rápidas ==================== */
.home-sections {
    display: flex;
    justify-content: space-around;
    padding: 20px 10px;
    gap: 10px;
}

.section-card {
    flex: 1;
    background: #f8f9fa;
    border-radius: 12px;
    text-align: center;
    padding: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: 0.3s;
}

    .section-card i {
        font-size: 1.5rem;
        color: #03173d;
        margin-bottom: 8px;
    }

    .section-card span {
        font-size: 0.85rem;
        font-weight: 600;
        color: #03173d;
    }

    .section-card:active {
        transform: scale(0.95);
        background: #e9ecef;
    }

/* ==================== Ajuste para mobile ==================== */
@media (max-width: 768px) {
    .home-banner {
        padding: 0 0 20px 0; /* topo 0, laterais 0, base 20px */
        margin: 0; /* remove qualquer margem extra */
        width: 100%; /* ocupa toda a largura */
    }

        .home-banner h2 {
            font-size: 1.2rem;
        }

        .home-banner p {
            font-size: 0.8rem;
        }

        .home-banner .btn {
            padding: 8px 20px;
            font-size: 0.85rem;
        }

    .invite-content p {
        font-size: 0.8rem;
    }

    .invite-btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
}
