@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('style-carrosel.css');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

.section-nosso-time-quem-somos{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3.125rem;    
}

.sobre-a-feira{
    width: 80%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sobre-a-feira h1{
    font-size: 2rem;
    font-weight: bold;   
}

.div-descricao{
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.descricao-sobre-a-feira{
    text-align: justify;
    font-size: 1.50rem;
    font-weight: 400;
    
}

.section-cards-apoio {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 5rem 0;
    gap: 5rem;
    background-color: rgb(244, 246, 246);
}

.card-apoio {
    background-color: white;
    width: 14.375rem;
    display: flex;
    flex-direction: column;
    border-radius: .5rem;
    overflow: hidden;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.35);
    transition: all .2s ease-in;
}

.card-apoio:hover {
    transform: translateY(-15px); /* sobe o card sem empurrar a section */
    transition: transform 0.2s ease-in;
}

.card-apoio:hover .cabeca-card {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.card1 .top-card {
    background-color: rgb(140, 67, 188);
}
.card2 .top-card {
    background-color: rgb(4, 176, 224);
}
.card3 .top-card {
    background-color: rgb(249, 112, 207);
}
.card4 .top-card {
    background-color: rgb(238, 115, 55);
}

.top-card {
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cabeca-card {
    background-color: #DCDCDC;
    width: 7.5rem;
    height: 7.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-card {
    width: 70%;
}

.corpo-card {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    text-align: center;
    gap: 0.625rem;
    flex-grow: 1;
}

.nome-expo {
    font-weight: 700;
    font-size: 1.1rem;
}

.texto-card {
    font-size: 0.9rem;
    line-height: 1.3rem;
}

.section-apoiadores{
    width: 100%;
    height: 45vh;
    padding: 2.5rem 1.25rem;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.sobre-apoiadores{
    display: flex;
    flex-direction: column;
    align-items: center;

}
.sobre-apoiadores h1{
    padding-top: 2.5rem;
    padding-bottom: 3.125rem;
    font-size: 2.1rem;
    font-weight: bold;
}

.carrossel-apoiadores {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    overflow: hidden;
    scroll-behavior: smooth;
    padding: 7.5rem;
    white-space: nowrap;
    width: 100%;
    height: 7.5rem;
    box-sizing: border-box;    
}

.slider-apoiadores {
    display: flex;
    gap: 1.875rem;
    animation: deslizar 40s linear infinite;
}

@keyframes deslizar {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.div-logo-parceiro {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.div-logo-parceiro img{
    max-height: 7.5rem;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0);
    transition: transform 0.3s ease;
}
.div-logo-parceiro img:hover {
    transform: scale(1.05);
}


/* Responsividade */


/* Celulares pequenos (até 575.98px) */
@media (max-width: 575.98px){
    /* Título centralizado */
    .sobre-a-feira{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 0 1rem;
    }
    .sobre-a-feira h1{
        font-size: 1.5rem;
        text-align: center;
        word-wrap: break-word;
    }

    /* Texto abaixo do título */
    .descricao-sobre-a-feira{
        font-size: 0.9rem;
        max-width: 90%;
        text-align: center;
    }

    /* Cards */
    .section-cards-apoio{
        gap: 2rem;
        padding: 2rem 0;
        flex-direction: column;
        align-items: center;
    }
    .card-apoio{
        width: 90%;
    }

    /* Ajustes finos dos cards */
    .card-apoio .top-card{
        padding: 1rem 0;
    }
    .cabeca-card{
        width: 6.5rem;
        height: 6.5rem;
    }
    .img-card{
        width: 65%;
    }
    .corpo-card{
        padding: 0.8rem;
    }
    .nome-expo{
        font-size: 1rem;
    }
    .texto-card{
        font-size: 0.85rem;
        line-height: 1.2rem;
    }
}

/* Celulares médios (576px até 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px){
    .sobre-a-feira h1{
        font-size: 1.7rem;
        text-align: center;
    }
    .descricao-sobre-a-feira{
        font-size: 1rem;
        max-width: 95%;
        text-align: center;
    }
    .section-cards-apoio{
        gap: 2.5rem;
        padding: 3rem 0;
    }
    .card-apoio{
        width: 11rem;
    }
}

/* Tablets / celulares em paisagem (768px até 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px){
    .sobre-a-feira h1{
        font-size: 1.9rem;
        text-align: center;
    }
    .descricao-sobre-a-feira{
        font-size: 1rem;
        max-width: 85%;
        text-align: center;
    }
    .section-cards-apoio{
        gap: 3rem;
    }
    .card-apoio{
        width: 11.5rem;
    }
}

/* Notebooks / telas médias (992px até 1199.98px) */
@media (min-width: 992px) and (max-width: 1199.98px){
    .sobre-a-feira h1{
        font-size: 2rem;
    }
    .descricao-sobre-a-feira{
        font-size: 1.1rem;
        max-width: 80%;
        text-align: center;
    }
    .section-cards-apoio{
        gap: 3.5rem;
    }
}

/* Desktops grandes / Full HD (1200px até 1399.98px) */
@media (min-width: 1200px) and (max-width: 1399.98px){
    .sobre-a-feira h1{
        font-size: 2.2rem;
    }
    .descricao-sobre-a-feira{
        font-size: 1.2rem;
        max-width: 80%;
        text-align: center;
    }
}

/* Telas extra grandes (1400px+) */
@media (min-width: 1400px){
    .sobre-a-feira h1{
        font-size: 2.5rem;
    }
    .descricao-sobre-a-feira{
        font-size: 1.3rem;
        max-width: 70%;
        text-align: center;
    }
}
