/* Estilos para a tabela comparativa */
.comparison-table {
    margin-top: 4rem;
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.comparison-table h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-table th {
    background: var(--light);
    font-weight: 600;
    color: var(--dark);
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--dark);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* Melhorias para botões grandes */
.btn--large {
    padding: 1.5rem 3rem;
    font-size: 1.3rem;
}

/* Melhorias para vídeo */
.hero__video-container {
    margin-top: 2rem;
    text-align: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    background: #000;
}

.hero__video {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.hero__video:hover {
    transform: scale(1.02);
}

.hero__fallback-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.hero__fallback-image:hover {
    transform: scale(1.02);
}


.video-wrapper:hover::before {
    opacity: 1;
}

.video-wrapper.playing::before {
    display: none;
}

/* Melhorias para imagens */
.hero__image-container {
    margin-top: 2rem;
    text-align: center;
}

.hero__image {
    max-width: 80%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.hero__image:hover {
    transform: scale(1.02);
}

.before-after {
    margin-top: 3rem;
    text-align: center;
}

.before-after img {
    max-width: 70%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.before-after img:hover {
    transform: scale(1.02);
}

/* Melhorias para responsividade da tabela */
@media (max-width: 768px) {
    .comparison-table {
        overflow-x: auto;
    }
    
    .comparison-table table {
        min-width: 600px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
}

/* Melhorias para acessibilidade */
@media (prefers-reduced-motion: reduce) {
    .animate {
        animation: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .card:hover {
        transform: none;
    }
}

/* Melhorias para foco */
.btn:focus,
.card:focus,
.pricing__card:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Melhorias para loading */
.hero__image {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero__image.loaded {
    opacity: 1;
}

/* Melhorias para performance */
@media (max-width: 768px) {
    .hero__image {
        max-width: 95%;
    }
    
    .hero__video {
        height: 350px;
    }
    
    .hero__fallback-image {
        height: 350px;
    }
    
    .video-wrapper {
        max-width: 95%;
    }
    
    .before-after img {
        max-width: 85%;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }
    
    .section__title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero__image {
        max-width: 100%;
    }
    
    .hero__video {
        height: 250px;
    }
    
    .hero__fallback-image {
        height: 250px;
    }
    
    .video-wrapper {
        max-width: 100%;
    }
    
    .before-after img {
        max-width: 95%;
    }
} 