* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none;
    list-style: none;
}
  
body {
    font-size: 15px;
    font-family: "Poiret One", sans-serif;
    /* font-weight: 400; */
    font-style: normal;
    letter-spacing: 1.2px;
    overflow-x: hidden;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar {
    width: 0.6em;
    height: 0.6em;
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(180, 180, 180, 1);
    border-radius: 2em;
}

a#whatsapp {
    position: fixed;
    bottom: 2em;
    right: 2em;
    z-index: 1000;
    width: 2.5em;
    height: 2.5em;

    img {
        position: relative;
        width: 100%;
    }
}


/* BARRA DE NAVEGAÇÃO */
nav {
    position: sticky;
    top: 0;
    width: 100%;
    height: 15vh;
    background-color: rgba(255, 255, 255, 0);
    transition: 0.3s ease;
    z-index: 1000;
    border-bottom: 3px solid transparent;
    padding: 0 10vw;
    
    display: flex;
    align-items: center;
    justify-content: space-between;

    img {
        position: relative;
        height: 80%;
    }

    div {
        display: flex;
        gap: 1em;

        a {
            text-decoration: none;
            color: rgba(8, 62, 95, 1);
            border-bottom: 3px solid rgba(8, 62, 95, 0);
            font-weight: bold;
            font-size: 0.9em;
            transition: 0.3s ease;
        }

        a:hover {
            text-decoration: none;
            color: rgba(8, 62, 95, 1);
            border-bottom: 3px solid rgba(8, 62, 95, 1);
        }

        a.social-media {
            border: none;
            font-size: 1.2em;
        }

        a.social-media:hover {
            border: none;
        }
    }
}

nav.scrolled {
    background-color: rgba(255, 255, 255, 1);
    height: 10vh;
}


/* SESSÃO */
section {
    position: relative;
    width: 100%;
    height: 70vh;
    top: 0;
    background-image: url(/img/background/background.jpeg);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-attachment: fixed;
    background-size: auto 100%;
    background-position: center;
    transition: 0.3s ease;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2em;

    h1 {
        margin: 0;
        padding: 0;
        font-size: 2em;
        color: white;
        text-align: center;
    }

    p {
        margin: 0;
        padding: 0;
        font-size: 1em;
        color: white;
        text-align: center;
        padding: 0 3em;
    }

    button {
        position: relative;
        font-size: 0.9em;
        box-shadow: 0 0 0 0;
        outline: 0;
        border: none;
        width: auto;
        padding: 0.7em 2em;
        border-radius: 1.5em;
        cursor: pointer;
        background-color: rgb(150, 58, 58, 1);
        color: white;
        opacity: 1;
        transition: 0.3s;
    }

    button:hover {
        opacity: 0.7;
    }

    button:focus {
        box-shadow: 0 0 0 0;
        outline: 0;
        border: none;
    }
}

div.section {
    position: relative;
    width: 100%;
    height: auto;
    padding: 5vh 10vw;

    div.section-title {
        position: relative;
        width: 100%;
        margin-bottom: 2em;

        div.title-container {
            position: relative;
            background-color: #f0f2f5;
            height: 25vh;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;

            div.wave-top {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 3em;
                background-color: #fff;
                clip-path: polygon(0 0, 100% 0, 100% 90%, 0 30%);
                z-index: 2;
            }

            div.wave-bottom {
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 70px;
                background-color: #fff;
                clip-path: ellipse(55% 80% at 50% 100%);
                z-index: 2;
            }

            h2 {
                font-size: 2em;
                color: #2c3e50;
                font-weight: 600;
                letter-spacing: 1px;
                text-align: center;
                position: relative;
                font-weight: normal;
                z-index: 5;
            }
        }

        div.content {
            padding: 30px;
            background-color: #fff;
            border-radius: 4px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }
    }

    div.section-cards {
        position: relative;
        width: 100%;
        height: auto;
        padding: 1em;
        display: flex;
        justify-content: center;
        gap: 5em;
        flex-wrap: wrap;

        div.section-card {
            width: 280px;
            height: 350px;
            border-radius: 1em;
            overflow: hidden;
            position: relative;
            box-shadow: 0 0.8em 1.8em rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            cursor: pointer;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                transition: all 0.5s ease;
            }

            div.overlay {
                position: absolute;
                bottom: 0;
                left: 0;
                right: 0;
                background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
                padding: 1.5em;
                color: white;
                text-align: center;
                transition: all 0.3s ease;

                h3 {
                    font-size: 1.7em;
                    font-weight: 600;
                    margin-bottom: 0.5em;
                    opacity: 0.9;
                    text-shadow: .1em .1em .3em rgba(0, 0, 0, 0.5);
                }

                p {
                    font-size: 1em;
                    opacity: 0;
                    max-height: 0;
                    overflow: hidden;
                    transition: all 0.3s ease;
                }

                a {
                    display: inline-block;
                    background-color: #2196F3;
                    color: white;
                    padding: .8em 1em;
                    border-radius: 4em;
                    margin-top: 1em;
                    text-decoration: none;
                    font-size: 1em;
                    opacity: 0;
                    transform: translateY(1.8em);
                    transition: all 0.3s ease;
                }

                a:hover {
                    background-color: #0d8aee;
                }
            }
        }

        div.section-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 1em 2em rgba(0, 0, 0, 0.2);

            img {
                transform: scale(1.1);
            }

            div.overlay {
                padding-bottom: 2em;

                p {
                    opacity: 1;
                    max-height: 100px;
                    margin-top: .9em;
                }

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

div.contato {
    position: relative;
    width: 100%;
    height: auto;
    padding: 5vh 10vw;
    background-color: rgba(8, 62, 95, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1em;

    h1 {
        margin: 0;
        font-size: 2em;
        color: white;
        font-weight: normal;
    }

    h2 {
        position: relative;
        margin: 0;
        font-size: 1.5em;
        color: white;
        font-weight: normal;

        img {
            position: relative;
            height: 1em;
            margin-right: 0.3em;
        }
    }

    h3 {
        margin: 0;
        font-size: 1.2em;
        color: white;
        font-weight: normal;
    }

    div {
        position: relative;
        display: flex;
        align-items: end;
        flex-direction: column;
        gap: 1em;
        width: 100%;
        padding: 0 10vw;
        margin-top: 3em;

        input,
        textarea {
            position: relative;
            font-size: 1em;
            box-shadow: 0 0 0 0;
            outline: 0;
            border: none;
            width: 100%;
            background-color: transparent;
            border-bottom: 1px solid white;
            padding: 0.3em 0.5em;
            color: gray;
            resize: none;
        }

        input::placeholder,
        textarea::placeholder {
            color: rgba(255, 255, 255, 0.3);
            transition: 0.3s;
        }

        input:focus::placeholder,
        textarea:focus::placeholder {
            color: rgba(255, 255, 255, 0.1);
        }

        button {
            position: relative;
            font-size: 1em;
            box-shadow: 0 0 0 0;
            outline: 0;
            border: none;
            width: auto;
            padding: 0.5em 2em;
            border-radius: 1em;
            cursor: pointer;
            background-color: rgba(255, 255, 255, 1);
            color: rgba(8, 62, 95, 1);
            transition: 0.3s;
        }

        button:hover {
            background-color: rgba(255, 255, 255, 0.7);
        }

        button.send {
            background-color: rgba(255, 255, 255, 0.7);
        }

        span {
            position: relative;
            top: -1em;
            width: 100%;
            text-align: left;
            color: white;
            font-size: 0.9em;
        }

        h1 {
            position: relative;
            width: 100%;
            text-align: center;
            color: white;
            padding: 0.5em 1em;
            border-radius: 0.5em;
            font-size: 1.3em;
            
            opacity: 0;
            transition: opacity 1.5s ease-in-out;
            display: none;
        }

        h1.mostrar {
            display: block;       /* Faz aparecer na tela */
            opacity: 1;
        }

        h1.enviado {
            background-color: green;
        }

        h1.erro {
            background-color: red;
        }
    }
}


@media screen and (max-device-width: 480px) {
    body {
        font-size: 2em;
    }

    nav {
        height: 10vh;
    }

    div.section {
        div.section-cards {
            div.section-card {
                width: 100vw;
                height: 100vw;
            }
        }
    }

    div.contato {
        padding: 2em;

        div {
            padding: 0 2em;
        }
    }

    a#whatsapp {
        right: 1em;
        bottom: 1em;
    }
}