/* Ajustes específicos para vídeos locais no modal */
.video-wrapper {
    position: relative !important;
    width: 100% !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    border-radius: 12px !important;
    background-color: #000 !important;
    overflow: hidden !important;
    padding-bottom: 0 !important;
    height: auto !important;
}

.video-wrapper video {
    width: 100% !important;
    height: auto !important;
    max-height: 500px !important;
    display: block !important;
    border-radius: 12px !important;
    object-fit: contain !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
}

@media (max-width: 768px) {
    .video-wrapper {
        max-width: 100% !important;
    }
    
    .video-wrapper video {
        max-height: 300px !important;
    }
    
    .video-modal-content {
        width: 95% !important;
        padding: 1.5rem !important;
    }
    
    .video-modal-close {
        top: -10px !important;
        right: -10px !important;
        width: 40px !important;
        height: 40px !important;
    }
}

/* Alinhamento dos botões de depoimento */
.btn-ver-depoimento {
    margin-top: auto !important;
    align-self: flex-end !important;
}
/* Footer personalizado */
.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    text-align: center;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-green);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--medium-green);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--dark-green) var(--light-gray);
}

@media (max-width: 480px) {
    body {
        padding-top: 100px;
    }
    
    .header {
        padding: 1rem 0;
    }
    
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo-text img {
        height: 60px;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .nav a {
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
    }
    
    .hero-main-logo {
        height: 150px !important;
    }
    
    .hero-main-slogan {
        font-size: 1rem;
        margin-left: 0;
        text-align: center;
    }
    
    .hero-arrow-down {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .diferenciais-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .diferencial-card {
        padding: 2rem 1rem;
    }
    
    .sobre-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sobre .section-title {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .sobre-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stepper-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-line {
        display: none;
    }
    
    .step-target {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        gap: 1rem;
    }
    
    .step-indicator {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .stepper-panel-inner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .process-icon {
        padding: 1rem;
    }
    
    .process-title {
        font-size: 1.3rem;
    }
    
    .carousel-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .carousel-track {
        flex-direction: column;
        overflow-x: visible;
        gap: 1rem;
    }
    
    .testimonial-card {
        min-width: 100%;
        min-height: auto;
    }
    
    .carousel-btn {
        display: none;
    }
    
    .calc-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .calc-form {
        gap: 1rem;
    }
    
    .calc-input-group {
        min-width: 100%;
    }
    
    .calc-button-group {
        flex: 1;
    }
    
    .calc-metrics-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .calc-metrics-footer {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .metric-footer.text-right {
        text-align: left;
    }
    
    .footer-content {
        gap: 1rem;
    }
    
    .bc-info h3 {
        font-size: 1.3rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 10px;
        right: 10px;
        font-size: 24px;
    }
    
    .scroll-to-top {
        width: 50px;
        height: 50px;
        bottom: 10px;
        right: 70px;
        font-size: 20px;
    }
    
    .video-modal-content {
        width: 98%;
        padding: 1rem;
        margin: 1rem;
    }
    
    .video-wrapper {
        max-width: 100%;
    }
    
    .video-wrapper video {
        max-height: 180px;
    }
}

@media (max-width: 360px) {
    .hero-main-logo {
        height: 120px !important;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .calc-card {
        padding: 1rem;
        margin: 0 0.5rem;
    }
    
    .diferencial-card {
        padding: 1.5rem 0.8rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .process-title {
        font-size: 1.1rem;
    }
    
    .video-wrapper video {
        max-height: 150px;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    .hero-left {
        padding: 6rem 4% 4rem;
    }
    
    .hero-main-logo {
        height: 200px !important;
    }
    
    .hero-main-slogan {
        font-size: 1.3rem;
        margin-left: 20px;
    }
    
    .diferenciais-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .sobre-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .stepper-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }
    
    .step-target {
        width: 120px;
    }
    
    .carousel-track {
        gap: 20px;
    }
    
    .testimonial-card {
        min-width: calc(50% - 10px);
    }
}

@media (orientation: landscape) and (max-height: 500px) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-left {
        padding: 2rem 8% 2rem;
    }
    
    .hero-main-logo {
        height: 100px !important;
    }
    
    .hero-arrow-down {
        font-size: 2rem;
    }
}