/**
 * CSS para Slider e Novas Seções - OnCabo
 * Slider Hero, Serviços, Autoatendimento, Ícones SVG
 */

/* ===================================
   HERO SLIDER
   =================================== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    width: 100%;
    padding: 60px 0;
}

.slide-text {
    max-width: 800px;
}

.slide-text h1 {
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.slide-text h1 .highlight {
    color: var(--oncabo-white-contrast, #FFFFFF);
    position: relative;
}

.slide-subtitle {
    color: #E5E7EB;
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.slide-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Navegação do Slider */
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: var(--oncabo-white-contrast, #FFFFFF);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    border: 2px solid var(--oncabo-white-contrast, #FFFFFF);
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--oncabo-white-contrast, #FFFFFF);
    color: #0F172A;
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* Indicadores */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: var(--oncabo-white-contrast, #FFFFFF);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* ===================================
   SEÇÃO DE SERVIÇOS (Conheça Nossos Serviços)
   =================================== */
.services-section {
    padding: 80px 0;
    background: #F9FAFB;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--oncabo-primary, #0c3c6c);
}

.service-image {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    color: var(--oncabo-primary, #0c3c6c);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image svg {
    width: 100%;
    height: 100%;
}

.service-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--oncabo-primary, #0c3c6c), #00d470);
    margin: 20px auto;
    border-radius: 2px;
}

.service-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 1rem;
}

.service-description {
    color: #6B7280;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--oncabo-primary, #0c3c6c);
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    color: #00d470;
    transform: translateX(5px);
}

/* ===================================
   PLANOS COM ÍCONES SVG
   =================================== */
.plano-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    color: var(--oncabo-primary, #0c3c6c);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 212, 112, 0.1));
    border-radius: 50%;
    padding: 16px;
}

.plano-card:hover .plano-icon {
    transform: scale(1.1) rotate(5deg);
    transition: all 0.3s ease;
}

.plano-card.gaming .plano-icon {
    color: #13fa1c;
    background: linear-gradient(135deg, rgba(19, 250, 28, 0.1), rgba(16, 209, 24, 0.1));
}

.plano-beneficios li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #F3F4F6;
    font-size: 1rem;
    color: #374151;
}

.plano-beneficios li:last-child {
    border-bottom: none;
}

.plano-beneficios li svg {
    flex-shrink: 0;
    color: var(--oncabo-primary, #0c3c6c);
}

.plano-card.gaming .plano-beneficios li svg {
    color: #13fa1c;
}

.gaming-badge {
    background: linear-gradient(135deg, #13fa1c 0%, #10d118 100%) !important;
    color: #111827 !important;
    font-weight: 700;
}

/* ===================================
   AUTOATENDIMENTO SECTION
   =================================== */
.autoatendimento-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #fff 0%, #F9FAFB 100%);
}

.autoatendimento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.auto-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.auto-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--oncabo-primary, #0c3c6c);
}

.auto-card svg {
    color: var(--oncabo-primary, #0c3c6c);
    transition: all 0.3s ease;
}

.auto-card:hover svg {
    transform: scale(1.15);
}

.auto-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
}

.auto-card p {
    font-size: 0.875rem;
    color: #6B7280;
    margin: 0;
}

/* ===================================
   STATS SECTION COM ÍCONES
   =================================== */
.stat-icon {
    color: var(--oncabo-primary, #0c3c6c);
    margin-bottom: 16px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ===================================
   SEÇÃO DE BENEFÍCIOS (GRID 3x2)
   =================================== */
.beneficios-section {
    padding: 80px 0;
    background: #fff;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.beneficio-card {
    background: #F9FAFB;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.beneficio-card:hover {
    background: #fff;
    border-color: var(--oncabo-primary, #0c3c6c);
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.beneficio-icon {
    color: var(--oncabo-primary, #0c3c6c);
    margin-bottom: 20px;
}

.beneficio-titulo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 12px;
}

.beneficio-descricao {
    color: #6B7280;
    font-size: 1.125rem;
    line-height: 1.6;
}

/* ===================================
   SVAS SECTION - Serviços de Valor Agregado
   =================================== */
.svas-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #fff 0%, #F9FAFB 100%);
}

.svas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.sva-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sva-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--oncabo-primary, #0c3c6c);
}

.sva-logo {
    width: 140px;
    height: 70px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sva-card:hover .sva-logo {
    transform: scale(1.05);
}

/* Logos individuais com estilos específicos */
.sva-logo-disney,
.sva-logo-max,
.sva-logo-playkids,
.sva-logo-kaspersky,
.sva-logo-deezer,
.sva-logo-partiu {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.sva-card:hover .sva-logo-disney,
.sva-card:hover .sva-logo-max,
.sva-card:hover .sva-logo-playkids,
.sva-card:hover .sva-logo-kaspersky,
.sva-card:hover .sva-logo-deezer,
.sva-card:hover .sva-logo-partiu {
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

.sva-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 1rem;
}

.sva-description {
    color: #6B7280;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.sva-features {
    list-style: none;
    text-align: left;
    width: 100%;
}

.sva-features li {
    padding: 8px 0;
    color: #374151;
    position: relative;
    padding-left: 28px;
    font-size: 1rem;
}

.sva-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--oncabo-primary, #0c3c6c);
    font-weight: 700;
    font-size: 1.125rem;
}

.svas-cta {
    margin-top: 3rem;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--oncabo-primary, #0c3c6c), #00d470);
    border-radius: 16px;
    color: #fff;
}

.svas-cta-text {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

/* ===================================
   APP SECTION - Aplicativo OnCabo
   =================================== */
.app-section {
    padding: 80px 0;
    background: #F9FAFB;
}

.app-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: center;
}

.app-features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.app-feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.app-feature-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--oncabo-primary, #0c3c6c), #00d470);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.app-feature-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 0.5rem;
}

.app-feature-content p {
    color: #6B7280;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Phone Mockup */
.app-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: linear-gradient(135deg, #1F2937, #111827);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: #111827;
    border-radius: 0 0 20px 20px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.app-screen-content {
    padding: 50px 20px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.app-header-mock {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-header-mock img {
    height: 60px !important;
    width: auto !important;
    max-width: 80%;
}

.app-header-mock h4 {
    color: #fff;
    font-size: 1.5rem;
    margin: 0;
}

.app-stats-mock {
    padding: 40px 0;
    text-align: center;
}

.stat-mock {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 4rem;
    font-weight: 700;
    color: var(--oncabo-white-contrast, #FFFFFF);
    line-height: 1;
}

.stat-label {
    font-size: 1.25rem;
    color: #9CA3AF;
    margin-top: 0.5rem;
}

.app-menu-mock {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: auto;
}

.menu-item-mock {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* App Download */
.app-download {
    margin-top: 4rem;
    text-align: center;
}

.app-download h3 {
    font-size: 1.75rem;
    color: #0F172A;
    margin-bottom: 2rem;
}

.download-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 12px 24px;
    background: var(--oncabo-primary, #0c3c6c);
    color: #ffffff !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 180px;
    border: 2px solid var(--oncabo-primary, #0c3c6c);
}

.store-button:hover {
    background: var(--oncabo-primary-hover, #094061);
    border-color: var(--oncabo-primary-hover, #094061);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(12, 60, 108, 0.3);
}

.store-button svg {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    color: #ffffff !important;
    fill: currentColor;
}

.store-button > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-text {
    font-size: 0.75rem;
    opacity: 0.9;
    color: #ffffff !important;
}

.store-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff !important;
}

/* ===================================
   RESPONSIVE - TABLET
   =================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================================
   RESPONSIVE - MOBILE
   =================================== */
@media (max-width: 768px) {
    .hero-slider {
        height: 500px;
    }

    .slide-text h1 {
        font-size: 2rem;
    }

    .slide-subtitle {
        font-size: 1.125rem;
    }

    .slide-buttons {
        flex-direction: column;
    }

    .slide-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .slider-prev {
        left: 10px;
    }

    .slider-next {
        right: 10px;
    }

    .services-grid,
    .autoatendimento-grid,
    .beneficios-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .auto-card,
    .beneficio-card {
        padding: 24px 20px;
    }

    .service-image {
        width: 100px;
        height: 100px;
    }

    .services-section,
    .autoatendimento-section,
    .beneficios-section,
    .svas-section,
    .app-section {
        padding: 60px 0;
    }

    .svas-grid {
        grid-template-columns: 1fr;
    }

    .app-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .phone-mockup {
        width: 280px;
        height: 560px;
    }

    .app-features-list {
        gap: 1.5rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 450px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .slider-dots {
        gap: 8px;
    }
}

/* ===================================
   ANIMAÇÕES
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.service-card,
.auto-card,
.beneficio-card {
    animation: slideIn 0.6s ease-out;
}
