/* Hotspot para o botão "Inscreve-te já" nas imagens */
.carousel-item {
    position: relative;
    /* Garante que o absoluto é relativo ao slide */
}


.hero-hotspot {
    position: absolute;
    left: 49.5%;
    /* Posição horizontal */
    transform: translate(-50%, -50%);
    /* Centra no ponto */

    width: 11%;
    /* Largura mais curta */
    height: 12%;
    /* Altura ajustada */
    border-radius: 50px;
    /* Formato cápsula */

    display: block;
    z-index: 100;
    cursor: pointer;

    /* Debug removido - invisível mas clicável */
    /* border: 2px dashed red; */
    /* background-color: rgba(255, 0, 0, 0.2); */

    background-color: transparent;
    /* Garantir transparência */
    transition: all 0.3s ease;
}

.hero-hotspot:hover {
    background-color: rgba(255, 255, 255, 0.15);
    /* Mais subtil */
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    /* Efeito de luz suave */
}

/* Posição para o Slide 2 (mais baixo) */
.hero-hotspot-low {
    top: 80%;
}

/* Posição específica para o Slide 4 (mais abaixo ainda) */
.hero-hotspot-slide4 {
    top: 82%;
}

/* Posição para os outros slides (mais alto) */
.hero-hotspot-high {
    top: 73%;
}

/* Posição específica para o Slide 5 (mais à esquerda) */
.hero-hotspot-slide5 {
    left: 24%;
    top: 71%;
}

@media (max-width: 992px) {

    /* Hotspot volta a ser apenas uma área específica em mobile */
    .hero-hotspot {
        width: 50%;
        height: 15%;
        top: 75%;
        /* Ajuste genérico para mobile, pode variar conforme o slide */
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 50px;
    }

    /* Ajuste para o botão fixo em mobile - Estilo Canto Fixo */
    .hero-static-btn,
    .hero-static-btn-2 {
        right: 0 !important;
        margin: 0 !important;
        padding: 4px 10px;
        font-size: 9px !important;
        font-weight: 600;
        line-height: normal;

        width: auto !important;
        max-width: 90vw !important;
        white-space: nowrap;

        border-width: 0 0 1px 1px;
        border-radius: 0 0 0 12px;
        background-color: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(2px);
    }

    .hero-static-btn {
        top: 6px !important;
    }

    .hero-static-btn-2 {
        top: 32px !important;
    }

    /* Esconder a quebra de linha em mobile */
    .hero-static-btn br,
    .hero-static-btn-2 br {
        display: none;
    }

    /* Altura reduzida para "afastar" o zoom (menos crop lateral) */
    .carousel-item {
        height: 35vh !important;
        /* Menor altura = Menos zoom necessário */
        min-height: 280px !important;
        /* Equilíbrio para não ficar uma tira fina */
        padding-bottom: 0 !important;
    }

    .carousel-item img {
        height: 100% !important;
        /* Preenche a altura */
        width: 100% !important;
        object-fit: cover !important;
        /* Faz o crop */
        object-position: 50% 50% !important;
        /* Foca no centro exato da imagem */
    }
}

/* Botão Estático "Academia da Maia" e "Recrutamento" */
.hero-static-btn,
.hero-static-btn-2 {
    position: absolute;
    right: 60px;
    z-index: 1050;

    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    line-height: 1.2;
    text-align: center;
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    transition: all 0.3s ease;
}

.hero-static-btn {
    top: 60px;
}

.hero-static-btn-2 {
    top: 130px;
}

.hero-static-btn:hover,
.hero-static-btn-2:hover {
    background-color: white;
    color: #f39c12;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}