/*
Theme Name: Sky Oferta Hoje
Theme URI: https://skyofertahoje.com.br/
Author: Tiago Luvizoto Neves - TLN Design
Author URI: https://tln.design/
Description: Tema personalizado para Sky Oferta Hoje com Bootstrap 5
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: skyofertahoje
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

/* Import Bootstrap 5 */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');

/* CSS Variables */
:root {
    --sky-red: #ed1c24;
    --sky-yellow: #FFCC00;
}

/* Base Styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
}

/* Top Section */
.topo-sky {
    background-color: var(--sky-red);
    padding: 4rem 0;
}

.logo-sky {
    max-width: 200px;
    height: auto;
}

.text-sky-yellow {
    color: var(--sky-yellow) !important;
}

/* Cards */
.card-promocao {
    background: white;
    border-radius: 15px 0 0 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 100%;
    min-height: 500px;
}

.badge-promocao {
    background-color: var(--sky-red);
    color: white;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* Price Styles */
.preco-destaque {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--sky-red);
}

.preco-simbolo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--sky-red);
    vertical-align: top;
    line-height: 1;
    margin-top: -0.5rem;
}

.preco-valor {
    font-size: 3rem;
    font-weight: 900;
    color: var(--sky-red);
    line-height: 1;
}

.canal-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.foto-familia {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 15px 15px 0;
    min-height: 500px;
    margin-top: -24px;
}

.card-familia {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 100%;
    margin-left: -15px;
}

.card-familia .card-body {
    padding: 2rem;
}

/* Buttons */
.btn-sky-red {
    background-color: var(--sky-red);
    border-color: var(--sky-red);
    color: white;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-sky-red:hover {
    background-color: #d41920;
    border-color: #d41920;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(237, 28, 36, 0.3);
}

.btn-laranja {
    background-color: #FF6B35;
    border-color: #FF6B35;
    color: white;
    font-weight: 700;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.2;
    font-size: 1rem;
}

.btn-laranja:hover {
    background-color: #e55a2b;
    border-color: #e55a2b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.btn-whatsapp {
    background-color: #25D366;
    border-color: #25D366;
    color: white;
    font-weight: 700;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: left;
    line-height: 1.2;
    font-size: 1rem;
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    border-color: #20ba5a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-amarelo {
    background-color: var(--sky-yellow);
    border-color: var(--sky-yellow);
    color: #333;
    font-weight: 700;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.2;
    font-size: 1rem;
}

.btn-amarelo:hover {
    background-color: #e6b800;
    border-color: #e6b800;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    margin-right: 0.6rem;
    vertical-align: middle;
}

.btn-texto-duas-linhas {
    display: block;
    font-size: 0.8rem;
    line-height: 1.1;
}

.btn-texto-duas-linhas strong {
    display: block;
    font-size: 1rem;
    line-height: 1.1;
}

/* Animations */
.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

/* Utility Classes */
.divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #dee2e6, transparent);
    margin: 1.5rem 0;
}

.preco-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
}

.sky-plus-badge {
    background: var(--sky-yellow);
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .topo-sky {
        min-height: auto;
        padding: 1rem 0;
    }

    .preco-destaque {
        font-size: 2rem;
    }

    .card-familia .card-body {
        padding: 1rem;
    }

    /* Mobile: Card com cantos arredondados no topo */
    .card-promocao {
        border-radius: 15px 15px 0 0 !important;
        margin-bottom: 0 !important;
    }

    /* Mobile: Foto com cantos arredondados embaixo */
    .foto-familia {
        border-radius: 0 0 15px 15px !important;
        margin-top: 0 !important;
    }

    /* Mobile: Remover padding zero para ter espaço nas laterais */
    .col-md-6.pe-0 {
        padding-right: 0.75rem !important;
    }

    .col-md-6.ps-0 {
        padding-left: 0.75rem !important;
    }

    /* Mobile: Ajustar espaçamento entre card e foto */
    .col-md-6.mb-4 {
        margin-bottom: 0 !important;
    }

    /* Mobile: Botão laranja em 2 linhas */
    .btn-laranja .btn-texto-duas-linhas {
        font-size: 0.7rem !important;
        line-height: 1 !important;
    }

    .btn-laranja .btn-texto-duas-linhas strong {
        font-size: 0.9rem !important;
        line-height: 1 !important;
    }

    /* Mobile: Botão WhatsApp em 2 linhas com mesma altura */
    .btn-whatsapp .btn-texto-duas-linhas {
        font-size: 0.7rem !important;
        line-height: 1 !important;
    }

    .btn-whatsapp .btn-texto-duas-linhas strong {
        font-size: 0.9rem !important;
        line-height: 1 !important;
    }

    /* Mobile: Ajustar ícone WhatsApp para manter proporção */
    .whatsapp-icon {
        width: 20px !important;
        height: 20px !important;
        margin-right: 0.4rem !important;
    }

    /* Mobile: Botão amarelo em 2 linhas */
    .btn-amarelo .btn-texto-duas-linhas {
        font-size: 0.7rem !important;
        line-height: 1 !important;
    }

    .btn-amarelo .btn-texto-duas-linhas strong {
        font-size: 0.9rem !important;
        line-height: 1 !important;
    }
}