/*RESET*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Quattrocento", sans-serif;
    
}

/*CONTAINER*/
.container {
    min-width: 320px;
    max-width: 1280px;
    margin: 0 auto;
}


/*HEADER*/
header {
    background: #eee;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.7s ease;
}

.header-hidden { /* esconde */
    transform: translateY(-100%);
    opacity: 0;
}

.header-show { /* mostrar */
    transform: translateY(0);
    opacity: 1;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 17px;
    
}

.logo img {
    height: 30px;
    width: 160px;
}

/*MENU*/
nav ul {
    display: flex;
    list-style: none;
    gap: 125px;
}

nav a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    transition: transform 0.3s ease, background 0.3s ease;
}

nav li:hover {
    transform: scale(1.1);
    background: #9e2b2b17;
    border-radius: 5px;
}
/*SOBRE*/
#sobre {
    padding: 60px 40px;
    background: #fff;
    max-width: 800px;
    margin: 0 auto;
    
}

/* título */
#sobre h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: normal;
    color: rgb(0, 0, 0);
    gap: 0.9;
}

/* linha de cima */
.sobre-topo {
    align-items: flex-start; /* evita desalinhamento vertical */
    gap: 10px;
    margin-bottom: 20px; /* DIMINUI esse espaço */
}


/* quadrado vermelho */
.sobre-img {
    width: 220px;
    height: 260px;
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
    overflow: hidden;
}

.sobre-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* texto ao lado da imagem */
.sobre-texto {
    font-size: 22px;
    line-height: 1.5;
    color: #000;
    margin-top: 10px;
    

}

/* parte de baixo */
.sobre-bottom {
    font-size: 22px;
    line-height: 1.5;
    color: #000;
    margin-top: 10px;
    
}

/* espaçamento entre parágrafos */
.sobre-bottom p {
    margin-bottom: 1px;
}

.btn-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 100px; /* <-- aqui é o segredo */
    width: 55px;
    height: 55px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: 0.3s;
    animation: pulse 2s infinite;

}

.btn-whatsapp:hover {
    transform: scale(1.1);
    background: #1ebe5d;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37,211,102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37,211,102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102, 0); }
}

/*       RESPONSIVO      */
/* Tablets */
@media (max-width: 900px) {
    nav ul {
        gap: 40px;
    }

    .sobre {
        flex-direction: column;
        text-align: center;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .feedback-container {
        gap: 60px;
    }
}

/* Celulares */
@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 10px;
    }

    .banner {
        height: 250px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .card {
        width: 100%;
        height: 300px;
    }

    .feedback-item img {
        width: 120px;
        height: 120px;
    }

    #feedbacks h2 {
        font-size: 26px;
        margin-bottom: 50px;
    }
}

@media (max-width: 768px) {
    .redes-container {
        flex-direction: column;
        text-align: center;
    }

    .contatos-redes {
        text-align: center;
    }
}