/*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;
}
body {
    font-family: Arial, sans-serif;
    background: #f8f8f8;
    text-align: center;
    margin: 0;
    padding: 0;
}

h1 {
    margin: 30px 0;
}

.galeria {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    
}

.galeria img {
    width: 100%;
    max-width: 700px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#btnTopo {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #9e2b2b;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: none;
    transition: 0.3s;
}

#btnTopo:hover {
    background: #7a1f1f;
    transform: scale(1.1);
}

.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;
    }

    .galeria {
        padding: 10px;
    }

    .galeria img {
        max-width: 100%;
    }

    .btn-whatsapp {
        right: 85px;
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    #btnTopo {
        width: 45px;
        height: 45px;
    }
}

/* CELULARES */
@media (max-width: 600px) {

    .container {
        width: 95%;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .galeria {
        padding: 10px;
        gap: 15px;
    }

    .galeria img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    h1 {
        font-size: 1.8rem;
        padding: 0 10px;
    }

    .btn-whatsapp {
        right: 20px;
        bottom: 90px;
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    #btnTopo {
        right: 20px;
        bottom: 20px;
        width: 50px;
        height: 50px;
    }
}