/* Evita seleção de imagem ou elementos durante toque */
* {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Remove o highlight azul ao tocar */
img, .slide img {
    -webkit-tap-highlight-color: transparent;
    touch-action: none;
}

html, body {
    width: 100%;
    height: 100%;
}

.slideshow-container {
    width: 100%;
    height: 100vh;
    max-width: 100%;
}

.slides {
    display: flex;
    transition: transform 0.3s ease;
    height: 100%;
    width: 100%;
}

.slide {
    flex: 0 0 100%;
    min-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide img {
    display: block;         /* remove gaps */
    width: 100% !important; /* força substituir atributo width */
    height: 100% !important;
    object-fit: cover;
    max-width: none;        /* evita restrição por max-width genérico */
}

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background-color: white;
            font-family: Arial, sans-serif;
        }

        .slideshow-container {
            position: relative;
            width: 100%;
            height: 100vh;
            overflow: hidden;
            background-color: white;
        }

        .slides {
            display: flex;
            transition: transform 0.3s ease;
            height: 100%;
        }

        .slide {
            flex: 0 0 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .slide img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            cursor: pointer;
        }

        .nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            background-color: rgba(255, 255, 255, 0.7);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            z-index: 10;
            border: none;
            font-size: 20px;
            transition: background-color 0.3s;
        }

        .nav-btn:hover {
            background-color: rgba(255, 255, 255, 0.9);
        }

        .prev {
            left: 20px;
        }

        .next {
            right: 20px;
        }

        .counter {
            position: absolute;
            top: 20px;
            right: 20px;
            background-color: rgba(255, 255, 255, 0.7);
            border-radius: 50%;
            width: 60px;
            height: 60px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-weight: bold;
            color: black;
            z-index: 10;
        }

        /* Estilos para o zoom */
        .zoomed {
            z-index: 1000;
            background-color: rgba(0, 0, 0, 0.9);
        }

        /* Responsividade */
        @media (max-width: 768px) {
            .nav-btn {
                width: 40px;
                height: 40px;
                font-size: 16px;
            }
            
            .counter {
                width: 40px;
                height: 25px;
                font-size: 14px;
            }
        }
		.nav-btn {
			transition: opacity 0.4s;
		}