/* Container principal do banner */
.black-friday-banner {
    /* Substitua 'sua-imagem-de-fundo.jpg' pelo caminho da sua imagem */
    background-image: url('../img/banner-desktop.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

.container-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Coluna da Esquerda (Título) */
.info-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.title {
    font-size: 100px;
    font-weight: 900;
    line-height: 0.9;
    margin: 0;
}

.title .black {
    color: #FFFFFF;
}

.title .friday {
    color: #00A3FF;
}

.subtitle-button {
    background-color: #00A3FF;
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin-top: 25px;
    display: inline-block;
	background: linear-gradient(27deg, rgb(53, 150, 230, 1) 9%, rgb(4, 47, 77) 85%);
}

/* Coluna da Direita (Ofertas) */
.offers-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-cards {
    display: flex;
    align-items: center; /* Alinha os cards na base */
}

.card {
    color: #fff;
    background-color: #00294a; /* Azul escuro */
    padding: 30px 10px 30px 10px;
    border-radius: 15px;
    border: 1px solid #ccc;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center; /* Para empurrar o preço para baixo */
    z-index: 2;
}

.card p {
    font-size: 1rem;
    font-weight: bold;
}

/* Ajuste para usar Flexbox no preço */
.price {
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}

.price span {
    font-size: 1.5rem;
    font-weight: bold;
}

.price .installments {
    font-size: 18px;
    margin-right: 5px;
}

.price .reais{
    display: flex;
    flex-direction: column;
}

.price .currency {
    margin-right: 2px;
}

.price .value {
    font-size: 65px;
    font-weight: 900;
    line-height: 0.8;
}

.price .cents {
    font-size: 20px;
    align-self: flex-start;
    margin-left: -1px; /* Ajuste para aproximar dos reais */
}

.price .each {
    font-size: 18px;
    width: 100%; /* Para que 'cada' vá para a próxima linha */
    text-align: center;
}

/* Card em destaque */
.card.featured {
    background-color: #00A3FF; /* Azul brilhante */
    height: 180px;
}

/* Informações de pagamento */
.payment-info {
    background-color: #9bccec;
    color: #0a2d4d;
    padding: 40px 10px 10px 10px;
    border-radius: 15px;
    font-size: 1.6rem;
    margin-top: -25px; /* Sobrepõe os cards */
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.payment-info span{
    font-weight: bold;
}

/* Botão de chamada para ação */
.cta-button {
    background-color: #D4AF37; /* Dourado */
    color: #000;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 20px;
    display: inline-block;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #e6c65b;
}

/* Texto de condições */
.conditions {
    color: #fff;
    position: absolute;
    right: 20px;
    bottom: 50%;
    transform: translateY(50%) rotate(-90deg);
    transform-origin: right bottom;
    font-size: 14px;
    white-space: nowrap;
}

/* Media Query para telas menores (celulares) */
@media (max-width: 768px) {
    .black-friday-banner{
        padding: 30px;
    }

    .container-banner {
        flex-direction: column;
        text-align: center;
    }

    .info-column {
        text-align: center;
        align-items: center;
    }

    .price .value{
        font-size: 1.875rem;
    }

    .price .cents{
        font-size: 0.7rem;
    }

    .price span{
        font-size: 0.8rem;
    }

    .card p{
        font-size: 0.7rem;
    }

    .card{
        padding: 15px 5px 15px 5px;
    }

    .title {
        font-size: 70px;
    }

    .price-cards {
        align-items: center;
    }

    .card.featured {
        transform: translateY(0); /* Remove o efeito de elevação */
        height: 115px;
    }

    .price .each{
        font-size: 0.8rem;
    }

    .payment-info {
        margin-top: -30px;
        font-size: 1rem;
    }

    .conditions {
        position: static;
        transform: none;
        margin-top: 30px;
        text-align: center;
    }
}
