@charset "UTF-8";
@font-face {
    font-family: 'Stencil Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Stencil Regular'), url('STENCIL.woff') format('woff');
    }

.zoom {
    cursor: pointer;
}

.close-btn {
   position: absolute;
   top: 10px;
   right: 10px;
   background-color: #f44336;
   color: rgb(255, 0, 0);
   border: none;
   padding: 10px;
   cursor: pointer;
   z-index: 1000;
}

header{  
   height: auto;
   text-align: center;
}

header h1, header h2 { 
    font-family: "Stencil Regular";
    text-align: center; /* Centralizando os elementos */
}

header h1 {
    margin-top: 40px;
    color:#fa0000;
}

header h2 {
margin-top: 15px;
margin-top: -10px;
}

#scrollTopBtn { 
   position: fixed; 
   bottom: 20px;
   right: 20px; 
   width: 60px; 
   height: 60px; 
   color: white; 
   border: none; 
   border-radius: 25px; 
   cursor: pointer; 
   display: none; 
   margin-bottom: -15px;
   /* Inicialmente oculto */
   z-index: 1000; 
   }
   
#scrollTopBtn:hover { 
   background-color: #ff4d4d; 
   }
   
    body {
        font-family: 'Open Sans', sans-serif;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    .main {
        max-width: 1200px;
        margin: auto;
        padding: 20px;
    }
    header {
        text-align: center;
    }
    .logotipo {
        max-width: 100%;
        height: auto;
        border-radius: 15px;
    }
    nav {
        display: flex;
        justify-content: center;
        background-color: #fa0000;
        padding: 15px 0;
    }
    nav ul {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        padding: 0;
        margin: 0;
        justify-content: center;
    }
    nav li {
        margin: 10px;
    }
    nav a {
        text-decoration: none;
        color: white;
        font-weight: bold;
        padding: 10px;
    }
    nav a:hover {
        color: black;
    }

    
   /* .container {
        max-width: 1200px;
        margin: auto;
        margin-top: 20px;
        margin-bottom: 20px;
        background-color: #222;
        padding: 20px;
    }
*/
    .container, footer {
        max-width: 1200px;
        margin: auto;
        margin-top: 20px;
        margin-bottom: 20px;
        background-color: #222;
        padding: 20px;
        text-align: center;
    }

.publicacao {
    margin-bottom: 40px;
    width: 100%; /* Garante que o container ocupe a largura disponível */
    display: flex;
    justify-content: center; /* Centraliza a imagem se o container for maior que ela */
    overflow: hidden;
}

.publicacao img {
    /* Remove a largura fixa do HTML e torna a imagem flexível */
    max-width: 100%; 
    height: auto; /* Mantém a proporção original da imagem */
    display: block; /* Remove espaços vazios abaixo da imagem */
    
    /* Opcional: Se você quiser que ela nunca ultrapasse os 1150px originais */
    width: 1150px; 
}

/* Container Principal */
        .gallery-wrapper {
            position: relative;
            width: 100%;
            max-width: 1200px;
            height: 90vh;
            margin: auto;
            overflow: hidden; /* Garante que nada escape do limite */
        }

        /* Container de Rolagem (Carrossel) */
        .gallery-container {
            display: flex;
            overflow-x: auto;
            /* Suporte para Snap Scroll em todos os browsers modernos */
            scroll-snap-type: x mandatory;
            scroll-behavior: smooth;
            width: 100%;
            height: 100%;
            
            /* Esconde scrollbar */
            -ms-overflow-style: none;  /* IE e Edge antigo */
            scrollbar-width: none;     /* Firefox */
        }

        .gallery-container::-webkit-scrollbar {
            display: none; /* Chrome, Safari e Edge Moderno */
        }

        /* Cada Foto (Card) */
        .photo-card {
            /* Força o card a ocupar 100% da largura do pai sem encolher */
            flex: 0 0 100%; 
            width: 100%;
            height: 100%;
            scroll-snap-align: start;
            background-color: #000;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* Ajuste da Imagem para Edge e outros */
        .photo-card img {
            /* Em vez de 1080px fixos, usamos proporção máxima */
            max-width: 100%;
            max-height: 100%;
            width: auto;
            height: auto;
            /* 'contain' garante que a imagem 9:16 apareça inteira sem cortes */
            object-fit: contain; 
        }

        /* Botões de Navegação */
        .nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.5); /* Escurecido para melhor contraste */
            color: white;
            border: none;
            padding: 15px 20px;
            cursor: pointer;
            z-index: 10;
            border-radius: 50%;
            transition: background 0.3s;
            font-size: 18px;
            line-height: 1;
        }

        .nav-btn:hover { 
            background: rgba(0, 0, 0, 0.8); 
        }
        
        .prev { left: 15px; }
        .next { right: 15px; }

        /* Ajuste extra solicitado para imagens fora da galeria */
        .main-content img {
            display: block;
            width: 100%;
            max-width: 850px;
            height: auto;
            margin: 20px auto;
        }

    .qs {
        font-family: "Open Sans", sans-serif;
        font-size: 1.1em;
        color: #ffffff;
        text-align: justify;
        line-height: 1.5;
        margin: auto;
        margin-top: 10px;
        padding: 40px 80px;
        background-color: #222;
        width: 85%;
    }

    .qs h2 {
        text-align: center;
        color: #fa0000;
    }

   /* .especialidades h2 {
        color: red;
        font-size: 3em;
        text-align: center;
    }

.formacoes {
    list-style: none;
    align-items: left;
    padding: 0;
    margin-bottom: 60px;
}

.formacoes li {
    font-size: 1.2em;
    padding: 0;
    align-items: left;
    color: #ffffff;
}

.certificacao {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 40px;
    color:#ffffff;
}

.certificacao img {
    max-width: 100%;
    height: auto;
    align-items: center;
    gap: 20px;
}

.vigilante-img {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
}
*/
.requisitos {
    text-align: justify;
    padding: 10px;
    color: #ffffff;
}

.requisitos h2 {
    color: red;
    font-size: 3em;
    text-align: center;
}

 
.map-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}


.map-box h2 {
    text-align: left;
    font-family: "Protest Strike", sans-serif;
    text-shadow: 5px 5px 10px #000;
    color: #ff0000;
    padding-top: 30px;
    padding-left: 60px;
}

.map-box {
    flex: 1 1 300px;
    max-width: 600px;
    text-align: center;
}

.map-box iframe {
    width: 100%;
    height: 350px;
    border: none;
}

.map-box img {
    width: 90%;
    max-width: 500px;
    height: auto;
    margin-top: 10px;
    margin-bottom: 10px;
   
}

.carousel-item img {
    width: 40%;
    height: auto;
    max-height: 90vh; /* Limita a altura máxima da imagem a 90% da altura da viewport */
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-shadow: #000;
}

.carousel-item p {
    color: #fa0000;
    font-size: 1.1em;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(255, 2, 2, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.fullscreen-img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: pointer;
}

.fullscreen-img img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.fullscreen-prev,
.fullscreen-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(253, 5, 5, 0.7);
    border: none;
    font-size: 2rem;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 1001;
}

.fullscreen-prev {
    left: 10px;
}

.fullscreen-next {
    right: 10px;
}

.container .contactos{
    background-color: #ffffff;
}

.contactos {
    padding: 20px;
}

.linha-superior {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 10px;
}

.linha-superior img {
    max-width: 100%;
    height: auto;
}

.linha-media {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 10px;
}

.linha-media img {
    max-width: 100%;
    height: auto;
}

.insta img {
    width: 100px;
    height: 100px;
}
.face img {
    width: 100px;
    height: 100px;
}

.horario{
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.politica-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 18px;
    color: #ff0000;
    text-decoration: underline;
}

.politica-link:hover {
    color: #ff0000;
}

.reclamacoes {
    background-color: #ffffff;
    padding-top: 200px;
    padding-bottom: 200px;
}

.reclamacoes p {
    font-family: "Open Sans", sans-serif;
    font-size: 1.1em;
    font-weight: bolder;
}

.moodle {
    background-color: #ffffff;
}

.moodle p {
    font-family: "Open Sans", sans-serif;
    font-size: 1.2em;
    color: #000;
    font-weight: bolder;
} 

footer {
    text-align: center;
    background-color: red;
    color: white;
    padding: 20px;
    font-size: 1.2em;
}
    
@media (min-width: 768px) {
    .certificacao {
        flex-direction: row;
        justify-content: space-around;
    }
}

    @media (max-width: 768px) {
        .container {
            padding: 10px;
        }
        nav ul {
            flex-direction: column;
            align-items: center;
        }
        
        .especialidades, footer {
            width: 95%;
        }
        .especialidades h2 {
            font-size: 2.5em;
            text-align: center;
        }
        .certificacao-img{
            align-items: center;
        }
        .map-section {
            flex-direction: column;
            align-items: center;
        }
        .map-box {
            max-width: 100%;
        }
    }

    #scrollTopBtn {
        bottom: 100px;
    }

    @media (max-width: 480px) {
        .qs{
            padding: 15px;
            padding-bottom: 100px;
            margin: auto;
            width: 90%;
        }
        footer {
            margin: auto;
            width: 90%;
        }
        #scrollTopBtn {
            bottom: 120px;
            right: 10px;
        }
       .especialidades, footer {
            width: 90%;
        }
        .certificacao-img{
            text-align: center;
        }
    }
  /* Ajustes para Smartphones */
@media (max-width: 768px) {
    .publicacao {
        margin-bottom: 20px; /* Reduz a margem em telas menores */
        padding: 0 10px;    /* Adiciona um respiro nas laterais se desejar */
        box-sizing: border-box;
    }
}
  







