/* ESTILO GERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

section {
    scroll-margin-top: 100px;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f5f7fa;
    height: 100vh;
}

.interface {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.flex {
    display: flex;
}

.btn-contato button {
    padding: 20px 40px;
    font-size: 18px;
    font-weight: 600;
    background-color: #0074D9;
    color: white;
    border: 0;
    border-radius: 35px;
    cursor: pointer;
    transition: .2s;
}

h2.titulo {
    color: #2c3e50;
    font-size: 38px;
    text-align: center;
}

h2.titulo span {
    color: #007bff;
}

button:hover,
form .btn-enviar input:hover {
    background-color: #0056b3;
    box-shadow: 0px 0px 8px #007bff;
    transform: scale(1.05);
}

/* ESTILO DO CABEÇALHO */
header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 15vh;
    padding: 20px 4%;
    background-color: #f5f7fa;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.044);
}

header>.interface {
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header a {
    font-size: large;
    color: #5c5c5c;
    text-decoration: none;
    display: inline-block;
    transition: .2s;
}

header nav.menu-desktop a:hover {
    color: #007bff;
    transform: scale(1.05);
}

header nav ul {
    list-style-type: none;
}

header nav.menu-desktop ul li {
    display: inline-block;
    padding: 0 40px;
}


/* ESTILO DO MENU MOBILE */

.menu-mobile {
    display: none;
    /* Escondido por padrão */
}

.btn-abrir-menu {
    display: none;
}

.btn-abrir-menu i {
    color: #34495e;
    font-size: 40px;
}

/* Menu Mobile */
#mobile-menu.hidden {
    display: none;
}

#mobile-menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
    background-color: #fff;
    position: absolute;
    top: 100px;
    right: 0;
    width: 200px;
    display: none;
    /* Escondido por padrão */
}

#mobile-menu li {
    padding: 10px;
    text-align: right;
}

#mobile-menu li a {
    color: #000;
    text-decoration: none;
}

#hamburger-icon {
    font-size: 30px;
    color: #333;
    cursor: pointer;
}

@media (max-width: 768px) {

    /* Exibe o menu hambúrguer em telas pequenas */
    .menu-desktop {
        display: none;
    }

    .menu-mobile {
        display: block;
    }

    #mobile-menu {
        display: block;
        /* Mostrar o menu hambúrguer */
    }
}


/* ESTILO DO TOPO DO SITE */
section.topo-do-site {
    padding: 40px 4%;
    margin-top: 10%;
    margin-bottom: 10%;
}

section.topo-do-site .flex {
    align-items: center;
    justify-content: center;
    gap: 90px;
}

.topo-do-site h1 {
    color: #2c3e50;
    font-size: 6rem;
    line-height: 6rem;
}

.txt-topo-site {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    height: 60vh;
    width: 100%;
    gap: 1rem;
}

.txt-topo-site span {
    color: #007bff;
    text-transform: uppercase;
    font-weight: 900;
}

.topo-do-site .txt-topo-site h1 span {
    color: #007bff;
}

.topo-do-site .txt-topo-site p {
    color: #34495e;
    font-size: 1.5rem;
    margin: 40px 0;
    width: 75%;
}

.topo-do-site .img-topo-site img {
    position: relative;
    animation: flutuar 2s ease-in-out infinite alternate;
    border-radius: 15px;
    width: 34rem;
    box-shadow: 3px 3px 3px var(0, 0, 0, 0.325);
}

@keyframes flutuar {
    0% {
        top: 0;
    }

    100% {
        top: 30px;
    }
}

.quem-somos {
    background-color: #f9f9f9;
    padding: 100px 80px;
    text-align: center;
    font-family: Arial, sans-serif;
    height: 90vh;
    width: 100vw;
}

.quem-somos-conteudo {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    height: 70vh;
}

.quem-somos-txt {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40vw;
}

.quem-somos-img {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    width: 35rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.quem-somos-img:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px #007bff67;
}

.quem-somos .titulo {
    text-align: center;
    font-size: 4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 4rem;
}

.quem-somos .titulo span {
    color: #007bff;
}

.quem-somos p {
    font-size: 1.4rem;
    color: #555;
    text-align: start;
    animation: fadeInText 2s ease-out forwards;
    animation-delay: 1s;
    width: 90%;
}

.bolinhas {
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.bolinhas::before,
.bolinhas::after {
    content: '';
    position: absolute;
    left: -50px;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, #007bff 12%, transparent 12%);
    background-size: 700px 400px;
    animation: mover-bolinhas 10s linear infinite, estourar-bolinhas 10s ease-in-out infinite;
    z-index: -1;
    opacity: 0.6;
}

.bolinhas::after {
    animation-delay: 5s;
    opacity: 0.8;
}

@keyframes mover-bolinhas {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(50px, -50px) scale(1.2);
    }

    100% {
        transform: translate(-50px, -50px) scale(1);
    }
}

@keyframes estourar-bolinhas {
    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}


.como-funciona {
    margin-top: 100px;
    background-color: #f9f9f9;
    padding: 100px 80px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.como-funciona .titulo {
    font-size: 4rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 4rem;
}

.como-funciona .titulo span {
    color: #007bff;
}

.como-funciona .flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 100px;
}

.como-funciona .btn-contato {
    margin-top: 6rem;
}

.card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 350px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;

}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px #007bff67;
}

.card i {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}


.card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
}



/* Ajuste do formulário */
section.formulario {
    padding: 80px 4%;
    margin-top: 100px;
    background-color: #f9f9f9;
    border-radius: 15px;
}

section.formulario .titulo {
    font-size: 4rem;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

form {
    background-color: #ffffff;
    max-width: 450px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

form:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 5px rgba(0, 116, 217, 0.5);
}

form input,
form textarea {
    width: 100%;
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    color: #333;
    transition: border-color 0.3s, box-shadow 0.3s;
}

form input:focus,
form textarea:focus {
    border-color: #0074D9;
    box-shadow: 0 0 5px rgba(0, 116, 217, 0.5);
    outline: none;
}

form textarea {
    resize: none;
    height: 120px;
}

form .btn-enviar {
    margin-top: 20px;
}

form .btn-enviar input {
    width: 100%;
    background-color: #0074D9;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 12px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

form .btn-enviar input:hover {
    background-color: #005bb5;
}

/* Seção Fale Conosco */
.form-contact-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 40px 0;
}

.formulario-left {
    flex: 1;
    min-width: 300px;
}

.formulario-middle {
    text-align: center;
    font-size: xx-large;
    font-weight: bold;
    color: #0074D9;
    padding: 0 10px;
}

.formulario-right {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.whatsapp-container {
    color: #25d366;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.whatsapp-container i {
    font-size: xxx-large;
    margin-bottom: 10px;
}

.whatsapp-container p {
    font-size: x-large;
    margin-bottom: 50px;
}

.whatsapp-container a {
    display: flex;
    margin-top: 30px;
    background-color: #128c7e;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;

    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 20px 40px;
    font-size: 18px;
    border-radius: 35px;
}

.whatsapp-container a:hover {
    background-color: #0d6e56;
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: #fff;
    color: #000;
    padding: 2rem 0;
}

footer .footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

footer .footer-content div {
    flex: 1;
    min-width: 250px;
}

footer h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #000;
}

footer p {
    font-size: 0.9rem;
    margin: 0.3rem 0;
}

footer a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #0074D9;
}

footer .footer-social a {
    font-size: 1.5rem;
    margin-right: 1rem;
    display: inline-block;
}

footer .footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #0074D9;
}

footer .footer-bottom a {
    color: #0074D9;
    text-decoration: underline;
}

footer i {
    margin-right: 0.5rem;
}

.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: scroll;

}

.popup-content {
    background: #fff;
    padding: 20px;
    width: 50%;
    margin: 10% auto;
    border-radius: 8px;
    position: relative;
    white-space: wrap;
}

.popup-content p {
    font-size: x-large;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

/* Ajustes gerais para responsividade */
@media (max-width: 1024px) {
    .interface {
        max-width: 90%;
    }

    .topo-do-site .flex {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .topo-do-site h1 {
        font-size: 4rem;
        line-height: 4.5rem;
    }

    .topo-do-site .img-topo-site img {
        width: 90%;
    }

    .quem-somos-conteudo {
        flex-direction: column;
        height: auto;
    }

    .quem-somos-txt {
        width: 100%;
        text-align: center;
    }

    .quem-somos-img {
        width: 80%;
    }

    .como-funciona .flex {
        gap: 50px;
    }

    .form-contact-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    /* Ajustes no cabeçalho */
    header {
        height: auto;
        padding: 15px 5%;
    }

    .menu-desktop {
        display: none;
    }

    .menu-mobile {
        display: block;
    }

    /* Ajuste geral de títulos e textos */
    h2.titulo {
        font-size: 28px;
    }

    .topo-do-site h1 {
        font-size: 3rem;
        line-height: 3.5rem;
    }

    .topo-do-site p {
        font-size: 1rem;
        width: 100%;
    }

    /* Ajuste da seção "Quem Somos" */
    .quem-somos {
        padding: 60px 5%;
    }

    .quem-somos .titulo {
        font-size: 2.5rem;
    }

    .quem-somos p {
        font-size: 1.2rem;
    }

    .quem-somos-img {
        width: 90%;
    }

    /* Ajuste da seção "Como Funciona" */
    .como-funciona .flex {
        flex-direction: column;
        gap: 30px;
    }

    .card {
        width: 90%;
    }

    /* Ajustes no formulário */
    section.formulario {
        padding: 60px 5%;
    }

    form {
        max-width: 100%;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .logo img {
        width: 100px;
        height: 50px;
    }

    .txt-topo-site {
        gap: 0;
        margin-top: 4rem;
    }

    .topo-do-site h1 {
        font-size: 2.8rem;
        line-height: 3rem;
    }

    .topo-do-site p {
        font-size: 1rem !important;
    }

    .topo-do-site .img-topo-site img {
        width: 100%;
    }

    .quem-somos .titulo {
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }

    .quem-somos p {
        font-size: 1rem;
    }

    .quem-somos-img {
        width: 50%;
    }

    .como-funciona .titulo {
        font-size: 2.8rem;
    }

    .card {
        width: 100%;
        padding: 30px;
    }

    .formulario .titulo {
        font-size: 3rem !important;
    }

    form {
        padding: 15px;
    }

    form input,
    form textarea {
        padding: 10px;
        font-size: 14px;
    }

    form .btn-enviar input {
        font-size: 16px;
        padding: 10px;
    }

    .whatsapp-container a {
        padding: 15px 25px;
    }
}
