@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Seção banner */
.secao-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.secao-banner picture img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    filter: brightness(0.4);
}

.efeito-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.397), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

header.topo {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    min-height: 80px;
}

.logo img {
    height: 60px;
    width: 220px;
    margin: 1%;
    filter: drop-shadow(1px 1px 2px black);
}

.links-topo {
    width: 300px;
    height: 50px;
}

.links-topo nav {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 1rem;
}

.links-topo i {
    height: 32px;
    width: 40px;
    transition: transform 0.3s;
    filter: drop-shadow(1px 1px 2px black);
    color: #fff;
    margin-top: 10px;
}

.links-topo i:hover {
    transform: scale(1.1);
    color: blue;
}

.conteudo-banner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 80%;
    color: white;
    padding: 1rem;
}

.links-banner nav {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.links-banner a {
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.3s;
}

.links-banner a:hover {
    text-shadow: 0 0 5px #fff, 0 0 10px #ff4500;
}

.conteudo-banner h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin: 2rem auto 0.1rem;
    text-shadow: 2px 2px 5px black;
}

.conteudo-banner p {
    max-width: 700px;
    margin: 2rem auto;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    text-shadow: 1px 1px 3px black;
    line-height: 1.6;
}

.conteudo-banner button {
    padding: 15px 30px;
    font-size: 1.1rem;
    background-color: #A32D00;
    border: none;
    border-radius: 30px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.conteudo-banner button:hover {
    background-color: #e03e00;
}

.icone-whats-animado {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: transparent;
    padding: 0;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    font-family: 'Roboto', sans-serif;
    z-index: 999;
    max-width: 320px;
    animation: fadeIn 1s ease;
}

.icone-whats-animado img {
    width: 48px;
    height: 48px;
    animation: pulse 1.5s infinite;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.escondido {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
    pointer-events: none;
}

.mostrar {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}


@media (max-width:480px) {
    .popup-mensagem {
        bottom: 10px;
        right: 20px;
        max-width: 80%;
    }

    .links-topo {
        margin-top: 20%;
    }

    .logo img {
        width: 200px;
        height: max-content;
        padding-left: 10px;
    }
}

@media (max-width:600px) {
    .caixa-paragrafo-banner {
        width: 80%;
    }

    .conteudo-banner button {
        margin-top: 1rem;
    }

    .links-banner {
        margin-top: -8rem;
    }

    .topo {
        height: 150px;
    }

    header.topo {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 1rem;
    }

    .logo img {
        margin-top: 2rem;
    }

    .links-topo {
        width: auto;
        height: 50px;
        margin: 0;
    }

    .links-topo nav {
        justify-content: center;
        gap: 1.5rem;
    }
}