/* Estilo automático para a página: planos */
section.hero {
    margin-top: 0;
}

.card-combo {
    &.plano {
        border: 2px solid transparent;
        border-radius: 1.5rem;
        background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(to bottom, #E91A2F, #FDD118);
        background-origin: border-box;
        background-clip: padding-box, border-box;
        padding: 24px 20px 28px;

        @media (min-width: 768px) {
            padding: 40px 32px 36px;
        }
    }
}

.canais {
    padding: 2.5rem 0;

    @media (min-width: 768px) {
        padding: 4rem 0;
    }

    .canais-title {
        max-width: 640px;

        h2 {
            font-size: clamp(1.75rem, 3vw, 2.25rem);

            em {
                font-style: italic;
                color: var(--speed-red);
                font-weight: 700;
            }
        }

        p {
            color: var(--cinza);
            font-size: 0.95rem;
            margin-top: 0.5rem;
        }
    }

    .canal-card {
        position: relative;
        background: #ffffff;
        border: 1px solid #f0e3e2;
        border-radius: 1.25rem;
        padding: 2.25rem 1.25rem 1.25rem;
        box-shadow: 0 4px 18px rgba(28, 20, 20, 0.05);
        transition:
            transform 0.25s ease,
            box-shadow 0.25s ease;

        &:hover {
            transform: translateY(-4px);
            box-shadow: 0 16px 34px rgba(28, 20, 20, 0.1);
        }

        @media (min-width: 768px) {
            padding: 2.75rem 2rem 2rem;
        }
    }

    .canal-card-tag {
        position: absolute;
        top: -0.9rem;
        left: 50%;
        transform: translateX(-50%);
        background: var(--speed-red);
        color: #ffffff;
        font-size: 0.8rem;
        font-weight: 700;
        padding: 0.4rem 1.25rem;
        border-radius: 999px;
        white-space: nowrap;
    }

    .canal-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;

        @media (min-width: 480px) {
            grid-template-columns: repeat(4, 1fr);
        }

        @media (min-width: 768px) {
            grid-template-columns: repeat(5, 1fr);
            gap: 1rem;
        }
    }

    .canal-item {
        aspect-ratio: 1 / 1;
        border-radius: 0.85rem;
        background: linear-gradient(150deg, #f5f0ef 0%, #e9e2e1 100%);
        background-image:
            url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9a9a7' stroke-width='1.6'%3E%3Crect x='3' y='6' width='18' height='12' rx='2'/%3E%3Cpath d='M8 21h8M12 18v3' stroke-linecap='round'/%3E%3C/svg%3E"),
            linear-gradient(150deg, #f5f0ef 0%, #e9e2e1 100%);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 34% auto, cover;
        transition: transform 0.25s ease;

        &:hover {
            transform: scale(1.06);
        }
    }

    .canal-item-more {
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--speed-red);
        font-size: 2.5rem;
        font-weight: 800;
        line-height: 1;

        &:hover {
            transform: none;
        }
    }
}

.cta {
    padding: 2.5rem 0;

    @media (min-width: 768px) {
        padding: 4rem 0;
    }

    .cta-title {
        text-align: center;
        margin-bottom: 1rem;
    }

    .cta-card {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex: 1 1 auto;
        gap: 1rem;
        background: #ffffff;
        border-radius: 1rem;
        border-bottom: 4px solid var(--speed-red);
        box-shadow: 0 6px 20px rgba(28, 20, 20, 0.08);
        padding: 1rem 1.75rem;
        text-decoration: none;
        color: var(--titulos);
        font-weight: 700;
        transition:
            transform 0.25s ease,
            box-shadow 0.25s ease,
            background-color 0.25s ease,
            color 0.25s ease,
            border-color 0.25s ease;

        &:hover {
            transform: translateY(-4px);
            background: var(--speed-red);
            color: #ffffff;
            border-bottom-color: #c81525;
            box-shadow: 0 16px 30px rgba(230, 50, 40, 0.3);

            .cta-card-icon {
                background: #ffffff;
                transform: scale(1.08) rotate(-4deg);

                svg path {
                    fill: var(--speed-red);
                }
            }
        }

        @media (min-width: 1024px) {
            flex: 1 1 260px;
            max-width: 360px;
        }
    }

    .cta-card-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border-radius: 0.75rem;
        background: var(--speed-red);
        box-shadow: 0 8px 16px rgba(230, 50, 40, 0.3);
        flex-shrink: 0;
        transition:
            transform 0.25s ease,
            background-color 0.25s ease;

        svg path {
            transition: fill 0.25s ease;
        }
    }
}