﻿
#beneficios_marcado a {
    color: var(--cor_principal);
    background-color: var(--cor_principal_transparencia);
}



body {
    background: #f5f5f5 !important;
    color: #2d3436 !important;
}

.container {
    max-width: 80vw !important;
    margin: auto !important;
    margin-top:5vh !important;
}

h1 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: #2d3436;
}

.secao-beneficio {
    margin-bottom: 3rem;
}

    .secao-beneficio h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
        color: var(--cor_principal);
    }

.lista-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.card {
    background-color: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    width: calc(33.333% - 1rem);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .card p {
        font-size: 0.85rem;
        color: #555;
        margin-bottom: 0.3rem;
    }

    .card button {
        background: var(--cor_principal);
        color: white;
        border: none;
        padding: 0.5rem 1rem;
        border-radius: 20px;
        cursor: pointer;
        font-size: 0.85rem;
        margin-top: 0.5rem;
    }

.ver-mais {
    font-size: 0.75rem;
    color: var(--cor_principal);
    text-decoration: underline;
    cursor: pointer;
    margin-top: 0.3rem;
}

/* Cupons */
.cupons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: flex-start;
}

.cupom {
    width: calc(33.333% - 1rem);
    background: white;
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 3px dotted var(--cor_principal);
    border-bottom: 3px dotted var(--cor_principal);
    border-right: 3px dotted var(--cor_principal);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    color: #2d3436;
    overflow: hidden;
}




    .cupom::before {
        content: "";
        position: absolute;
        width: 25px;
        height: 40px;
        background-color: #f5f5f5 !important;
        top: 50%;
        left: -12px;
        border-radius: 0 50% 50% 0;
        transform: translateY(-50%);
        z-index: 2;
    }

    .cupom h2 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
        color: #2d3436;
    }

    .cupom p {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
        color: #2d3436;
    }

.cupom-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.cupom button {
    background-color: var(--cor_principal);
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.85rem;
}


.cupom .ver-mais {
    background: transparent;
    border: none;
    color: var(--cor_principal);
    font-weight: 500;
    font-size: 0.75rem;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

/* Popup */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden; /* ← importante para impedir scroll no fundo */
}

.popup-content {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    max-width: 400px;
    max-height: 80vh; /* ← limite a altura da popup */
    width: 90%;
    text-align: center;
    overflow-y: auto; /* ← rolagem só dentro da popup */
    position: relative;
}


    .popup-content h3 {
        margin-bottom: 1rem;
        color: #2d3436;
    }

    .popup-content p {
        font-size: 0.9rem;
        color: #555;
        margin-bottom: 1.5rem;
    }

    .popup-content .btn_confirmar {
        background: var(--cor_principal);
        color: white;
        border: none;
        padding: 0.5rem 1rem;
        border-radius: 20px;
        cursor: pointer;
        font-weight: bold;
        transition: background-color 0.3s;
    }



    .popup-content .btn_cancelar {
        background-color: transparent;
        border: 0.15em solid var(--cor_principal);
        color: var(--cor_principal);
        padding: 0.5rem 1rem;
        border-radius: 20px;
        cursor: pointer;
        font-weight: bold;
        margin-right: 0.5rem;
        transition: background-color 0.3s;
    }

.fechar-x {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ddd;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: background 0.3s;
}

    .fechar-x:hover {
        background: #bbb;
    }

.selos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.selo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
    color: white;
}

    .selo.preenchido {
        background: var(--cor_principal);
    }

.btn_solicitar {
    background: var(--cor_principal);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.validacao-obrigatoria {
    color: #d9534f !important;
}

.validacao-automatica {
    color: #28a745 !important; 
}
.box_val{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin:0.5em 0;
}

@media (max-width: 1024px) {
    .card, .cupom {
        width: calc(50% - 1rem);
    }
}

@media (max-width: 600px) {
    .card,
    .cupom {
        width: 100%;
    }


    .cupom-footer {
        flex-direction: column-reverse;
        gap: 1em;
    }

    .cupom button {
        width: 100%;
        padding: 0.2rem 0.1rem;
        font-size: 0.9rem;
    }
}