/* css/contratar-sky-tv.css */
:root {
    --bg-primary-contratar: #F3F3F3;
    --bg-secondary-contratar: #FFFFFF;
}

body.contratar-page {
    background-color: var(--bg-primary-contratar);
}

.planos-section {
    padding: 2rem 5% 1rem;
}

.planos-section .section-title {
    margin-bottom: 0.5rem;
}

.planos-section .section-subtitle {
    margin-bottom: 1.5rem;
}

.planos-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 0.5rem 0 1.5rem;
    scrollbar-width: thin;
}

.planos-carousel::-webkit-scrollbar {
    height: 8px;
}

.planos-carousel::-webkit-scrollbar-thumb {
    background: #E00000;
    border-radius: 4px;
}

.planos-carousel::-webkit-scrollbar-track {
    background: #eaeaea;
    border-radius: 4px;
}

@media (min-width: 769px) {
    .planos-carousel {
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE and Edge */
    }

    .planos-carousel::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari and Opera */
    }
}

.plano-card {
    background-color: var(--bg-secondary-contratar);
    border-radius: 16px;
    padding: 1.5rem;
    min-width: 275px;
    max-width: 300px;
    flex-shrink: 0;
    scroll-snap-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    border: 1px solid #eaeaea;
}

.plano-nome {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 0.5rem;
    min-height: 3.2rem;
}

.plano-adesao {
    font-size: 2rem;
    font-weight: 800;
    color: #E00000;
    margin-bottom: 0.25rem;
}

.plano-adesao small {
    font-size: 1rem;
    font-weight: 500;
}

.plano-asterisco {
    font-size: 1.25rem;
    vertical-align: super;
    font-weight: 400;
    margin-left: 2px;
}

.plano-preco-promo {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1A1A1A;
}

.plano-meses-promo {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.plano-incluso-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.plano-incluso-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    min-height: 48px;
}

.plano-incluso-grid img {
    width: 47px;
    height: 47px;
    border-radius: 8px;
    background-color: #f8f9fa;
    border: 1px solid #eaeaea;
    object-fit: contain;
    padding: 4px;
}

.plano-detalhes {
    font-size: 0.9rem;
    color: #4A4A4A;
    margin-bottom: 0.25rem;
}

.plano-preco-de {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.btn-plano {
    width: 100%;
    margin-bottom: 0.75rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Amazon Section */
.amazon-section {
    background-color: #00A8E1;
    color: white;
    padding: 4rem 5%;
}

.amazon-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 2rem 0;
    scrollbar-width: thin;
}

.amazon-carousel::-webkit-scrollbar {
    height: 8px;
}

.amazon-carousel::-webkit-scrollbar-thumb {
    background: #ffffff;
    border-radius: 4px;
}

.amazon-carousel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.amazon-card {
    background: white;
    color: #1A1A1A;
    border-radius: 16px;
    padding: 1.25rem;
    min-width: 250px;
    flex-shrink: 0;
    scroll-snap-align: center;
    text-align: center;
}

.amazon-card img {
    height: 130px;
    margin-bottom: 1rem;
    object-fit: contain;
}

@media (min-width: 769px) {
    .amazon-carousel {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        overflow-x: visible;
        gap: 1.5rem;
        padding-bottom: 0;
        max-width: 800px;
        margin: 0 auto;
    }

    .amazon-card {
        min-width: auto;
    }
}

/* Vantagens */
.vantagens-section {
    padding: 4rem 5%;
    background-color: var(--bg-secondary-contratar);
}

.faq-section {
    padding: 4rem 5%;
    background-color: var(--bg-primary-contratar);
}

.faq-item {
    background: var(--bg-secondary-contratar);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.faq-question {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1A1A1A;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
    margin-bottom: 0;
}

.faq-question:hover {
    color: #E00000;
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    font-weight: 400;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    color: #4A4A4A;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s ease;
    margin-top: 0;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    margin-top: 1rem;
}

/* Carousel controls */
.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid #eaeaea;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: all 0.3s ease;
    color: #1A1A1A;
}

.carousel-control:hover {
    background: #f8f9fa;
    color: #E00000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.carousel-control.prev {
    left: -20px;
}

.carousel-control.next {
    right: -20px;
}

/* =============================================
   FOOTER B2B
   ============================================= */

.site-footer-b2b {
    background: #E81C24;
    border-top: 3px solid rgba(0, 0, 0, 0.2);
    padding: 3rem 5% 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-family: inherit;
}

/* --- Links de Políticas --- */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 1.5rem;
    margin-bottom: 2.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Separador visual entre links */
.footer-links a+a::before {
    content: '|';
    margin-right: 1.5rem;
    color: rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

/* --- Bloco Logo + Empresa --- */
.footer-company {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.footer-logo {
    height: 65px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.footer-company p {
    margin: 0;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
}

/* --- Copyright --- */
.footer-copyright {
    margin-bottom: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    padding-top: 1.25rem;
}

.footer-copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.78rem;
}

/* --- Safe Browsing Badge --- */
.footer-safe {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}

.footer-safe-badge {
    height: 38px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.footer-safe-badge:hover {
    opacity: 1;
}

/* --- Responsivo Mobile --- */
@media (max-width: 600px) {
    .footer-links {
        gap: 0.5rem 1rem;
    }

    .footer-links a+a::before {
        display: none;
    }

    .footer-logo {
        height: 50px;
    }
}

/* Mobile Pricing Cards Optimizations */
@media (max-width: 768px) {
    .carousel-control {
        display: none;
    }

    .planos-section {
        padding: 30px 5%;
    }

    .planos-section .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.25rem;
    }

    .planos-section .section-subtitle {
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
    }

    .planos-carousel {
        padding: 0.5rem 0 1.5rem;
        gap: 1rem;
    }

    .plano-card {
        padding: 1.25rem;
        min-width: 280px;
        max-width: 280px;
        border-radius: 12px;
    }

    .plano-nome {
        font-size: 1.1rem;
        min-height: 2.8rem;
        margin-bottom: 0.5rem;
    }

    .plano-adesao {
        font-size: 2rem;
    }

    .plano-meses-promo {
        margin-bottom: 1rem;
    }

    .plano-incluso-grid {
        margin-bottom: 1rem;
        min-height: 40px;
    }

    .plano-incluso-grid img {
        width: 40px;
        height: 40px;
    }

    .plano-preco-de {
        margin-bottom: 0.25rem;
    }

    .btn-plano {
        font-size: 0.85rem;
        padding: 0.6rem;
    }

    .amazon-card {
        min-width: 210px;
        padding: 1rem;
        border-radius: 12px;
    }

    .amazon-card img {
        height: 100px;
    }

    .amazon-card p {
        font-size: 0.9rem;
    }
}

/* Custom Plano Buttons styling */
.btn-wpp-plano {
    background: #25D366 !important;
    color: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
}

.btn-wpp-plano:hover {
    background: #20ba59 !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5) !important;
    transform: translateY(-2px) !important;
}

.btn-plano.btn-outline {
    background: #e00000 !important;
    color: #FFFFFF !important;
    border: 2px solid #e00000 !important;
    box-shadow: 0 4px 15px rgba(224, 0, 0, 0.3) !important;
}

.btn-plano.btn-outline:hover {
    background: #c20000 !important;
    border-color: #c20000 !important;
    box-shadow: 0 6px 20px rgba(224, 0, 0, 0.5) !important;
    transform: translateY(-2px) !important;
}