/* =================================
   ESTILOS GERAIS DA PÁGINA
   ================================= */
/*
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    color: #333;
    background-color: #fdfdfd;
}

h1, h2 {
    color: #0056b3;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-top: 40px;
}

h1 {
    text-align: center;
    border: none;
}
*/
/* =================================
   ESTILOS GERAIS DO CARROSSEL (SWIPER)
   ================================= */
#banners_section .swiper {
    width: 100%;
    background: #e9ecef; /* Um fundo cinza claro para o container do banner */
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

#banners_section .swiper-slide {
    /* Garante que o link e a imagem dentro do slide ocupem todo o espaço */
    width: 100%;
    height: 100%;
}

#banners_section .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

#banners_section .swiper-slide img {
    /* ESTA É A PARTE MAIS IMPORTANTE */
    display: block;
    width: 100%;
    height: 100%;
    /* object-fit: cover; faz a "mágica":
     - A imagem cobre todo o espaço do container.
     - Mantém a proporção original, sem distorcer.
     - Corta as "sobras" da imagem (seja na vertical ou horizontal).
    */
    object-fit: cover; 
}


/* =================================
   FORMATOS ESPECÍFICOS DOS BANNERS
   ================================= */

/* Modelo 1: Topo Principal */
#banners_section .banner-swiper-modelo_1 {
    height: 400px;
}

/* Modelo 2: Box Quadrado */
#banners_section .banner-swiper-modelo_2 {
    max-width: 450px; /* Limita a largura máxima */
    height: 450px;
    margin-left: 0; /* Alinha à esquerda */
}

/* Modelo 3: Faixa Secundária */
#banners_section .banner-swiper-modelo_3 {
    height: auto;
    width: 1250px;
}

/* Modelo 4: Retângulo Médio */
#banners_section .banner-swiper-modelo_4 {
    max-width: 450px; /* Limita a largura máxima */
    height: 200px;
    margin-left: 0; /* Alinha à esquerda */
}
.swiper .swiper-button-next, .swiper .swiper-button-prev, .swiper .swiper-pagination {
    display: none !important;
}

.swiper:hover .swiper-button-next, .swiper:hover .swiper-button-prev, .swiper:hover .swiper-pagination  {
    display: block !important;
}