/*------------------------PRINCIPAIS---------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@font-face {
    font-family: 'Nimbus';
    src: url('./fonts/TAN-NIMBUS.otf');
    font-weight: normal;
    font-style: normal;
}


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

body {
    width: 100%;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    background-color: #0f0f0f;
    color: #ffffff;
    line-height: 1.6;
    position: relative;
}

main {
    z-index: 1000;
}

.blur {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    background-color: #0d00c5;
    left: -100px;
    top: 150px;
    position: absolute;
}

.blur2 {
    width: 200px;
    height: 150px;
    border-radius: 50%;
    filter: blur(150px);
    background-color: #0d00c5;
    top: 450px;
    right: 0;
    position: absolute;
    z-index: -1;
}


.container {
    margin: 0 auto;
    padding: 0 10px;
    max-width: 95%;
}


.hidden {
    opacity: 0;
    transform: translateY(-10%);
    filter: blur(1px);
}

.show {
    filter: blur(0);
    opacity: 1;
    transform: translateY(0);
    transition: all 1s ease-in-out;
}


/*--------------REDES SOCIAIS----------------*/
.social-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 7000;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear;
}

.social-menu a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 60px;
    color: white;
    text-decoration: none;
    font-size: 30px;
    transition: all 0.3s ease;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear;
}

.social-menu .toggle-btn a {
    z-index: 2;
}

.social-menu .linkedin,
.social-menu .instagram,
.social-menu .whatsapp,
.social-menu .tiktok,
.social-menu .toggle-btn {
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
    pointer-events: none;
}


.social-menu .whatsapp::after,
.social-menu .instagram::after,
.social-menu .linkedin::after,
.social-menu .tiktok::after {
    opacity: 0;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    top: 0;
    left: 0;
    font-weight: 800;
    font-size: 0.8vw;
    text-align: center;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    position: absolute;
    transition: all 0.3s ease-in-out;
}

.social-menu .whatsapp:hover::after,
.social-menu .instagram:hover::after,
.social-menu .linkedin:hover::after,
.social-menu .tiktok:hover::after {
    transition: all 0.3s ease-in-out;
    opacity: 1;
}

.social-menu .linkedin {
    background-color: #0077B5;
    background: linear-gradient(45deg, #003fb5, #1d86fd, #05c5ff);
}

.social-menu .linkedin::after {
    content: 'Nosso Linkedin';
    background-color: rgba(3, 53, 73, 0.5);
}


.social-menu .instagram {
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #f56040);
}

.social-menu .instagram::after {
    content: 'Nosso Instagram';
    font-size: 0.7vw;
    background-color: rgba(73, 3, 3, 0.5);
}

.social-menu .whatsapp {
    position: relative;
    background: linear-gradient(45deg, #157a2e, #36dd4c, #40f57c);
}

.social-menu .whatsapp::after {
    content: 'Nosso Contato';
    background-color: rgba(13, 126, 28, 0.5);
}


.social-menu .tiktok {
    border-radius: 0 0 0 10px;
    background: linear-gradient(45deg, #303030, #070707, #373837);
}

.social-menu .tiktok::after {
    content: 'Nosso TikTok';
    background-color: rgba(37, 37, 37, 0.5);
}


.social-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.social-menu.active .linkedin,
.social-menu.active .instagram,
.social-menu.active .whatsapp,
.social-menu.active .tiktok,
.social-menu.active .toggle-btn {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear;
    pointer-events: auto;

}

.social-menu.active .toggle-btn {

    background: linear-gradient(45deg, #b43a77, #fd1d1d, #f56040);
}

/*========SOCIAL MENU TREE MOBILE============*/
.tree-menu {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 1000;
    display: none;
    flex-direction: column-reverse;
    align-items: center;
}

.tree-menu a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    width: 60px;
    height: 60px;
    color: white;
    text-decoration: none;
    font-size: 30px;
    transition: all 0.3s ease;
}

.tree-menu .tree-btn a {
    z-index: 2;
}

.tree-menu .linkedin,
.tree-menu .instagram,
.tree-menu .whatsapp,
.tree-menu .tiktok {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
    pointer-events: none;
}

.tree-menu .linkedin {
    background-color: #0077B5;
    background: linear-gradient(45deg, #003fb5, #1d86fd, #05c5ff);
}

.tree-menu .instagram {
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #f56040);
}

.tree-menu .whatsapp {
    background: linear-gradient(45deg, #157a2e, #36dd4c, #40f57c);
}

.tree-menu .tiktok {
    border-radius: 10px 0 0 0;
    background: linear-gradient(45deg, #303030, #070707, #373837);
}


.tree-menu.active .linkedin,
.tree-menu.active .instagram,
.tree-menu.active .whatsapp,
.tree-menu.active .tiktok {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear;
    pointer-events: auto;

}

#threeink {
    width: 40px;
    margin-left: 5px;
}

.tree-menu .tree-btn .ri-close-line {
    display: none;
}

.tree-menu.active .tree-btn #threeink {
    display: none;
}

.tree-menu.active .tree-btn .ri-close-line {
    display: inline;
}

.tree-menu.active .tree-btn {

    background: linear-gradient(45deg, #b43a77, #fd1d1d, #f56040);
}

/*===============================================================*/



/*------------------------CABEÇALHO----------------------------------*/
header {
    top: 0;
    left: 0;
    position: fixed;
    background-color: rgb(15, 15, 15, 0.7);
    width: 100%;
    z-index: 5000;
}


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


.logo-img {
    cursor: pointer;
    object-fit: cover;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    overflow: hidden;
}


nav {
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: "Nimbus";
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
    background: -webkit-linear-gradient(#0051ff, #19b6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;

}

.logo-text::after {
    content: '';
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: bottom left;
    background-color: #0072fb;
    transition: all 0.5s ease-in-out;
}

.logo-text:hover::after {
    transform: scaleX(1);

}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.5s ease-in-out;
    position: relative;
    font-size: 18px;
}

nav ul li a:hover {
    color: #81d7ff;
    text-decoration: none;
    transition: all 0.5s ease-in-out;

}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    border-radius: 10px;
    bottom: 0;
    left: 0;
    background-color: #0051ff;
    transform-origin: bottom left;
    transition: all 0.4s ease-in-out;
}

nav ul li a:hover::after {
    transform: scaleX(1);
}

.cta-button {
    cursor: pointer;
    font-family: inherit;
    display: inline-block;
    width: 100px;
    height: 50px;
    line-height: 2.5em;
    position: relative;
    overflow: hidden;
    border: none;
    transition: color .5s, opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1;
    font-size: 17px;
    border-radius: 6px;
    font-weight: 500;
    color: #ffffff;
    background-image: linear-gradient(to right bottom, #0ba2e3, #008cf2, #0072fb, #0051fb, #2e12eb);

}

.cta-button.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px);
}


#header-btn {
    letter-spacing: 1px;
    font-size: 1vw;
    font-family: "Nimbus";
}

.cta-button:before {
    content: "";
    position: absolute;
    z-index: -1;
    background-image: linear-gradient(to right bottom, #5f0be3, #7906e3, #8e03e3, #a103e3, #b307e3);
    height: 150px;
    width: 200px;
    border-radius: 50%;
    border: 2px solid #ff01ff;
}

.cta-button:hover {

    color: #fff;
}

.cta-button:before {
    top: 100%;
    left: 100%;
    transition: all .7s;
}


.cta-button:hover:before {
    top: -30px;
    left: -30px;
}

.cta-button:active:before {
    background: #0178ff;
    transition: background 0s;
}


/*----------------TOGGLE OFF-------------------------*/
.btn-toggle-on {
    transition: opacity 0.3s ease-in-out;
    display: none;
    justify-content: center;
    align-items: center;
    row-gap: 5px;
    flex-direction: column;
    background-color: transparent;
    border: none;
    width: 50px;
    height: 50px;
    cursor: pointer;

}

.btn-toggle-on span {
    background-color: rgb(255, 255, 255);
    width: 70%;
    height: 3px;
    border-radius: 10px;
}

/*-------------------------------------------------------*/


/*-------------------TOGGLE ON-------------------------*/

.toggle-on {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    opacity: 0;
    transform: translateY(-20px);
    display: none;
    position: fixed;
    left: 0;
    top: 0px;
    margin: 0 auto;
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    row-gap: 60px;
    align-items: center;
    background: rgba(0, 40, 150, 0.5);
    z-index: 1000;
    backdrop-filter: blur(6px);
}

.toggle-on.active {
    opacity: 1;
    transform: translateY(0);
}

.toggle-on a {
    text-transform: uppercase;
    font-size: 5vw;
    text-decoration: none;
    font-weight: 500;
    color: rgb(255, 255, 255);
    text-shadow: 2px 2px 10px black;
}

.btn-toggle-close {
    top: 20px;
    right: 20px;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    row-gap: 5px;
    flex-direction: column;
    background-color: transparent;
    border: none;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.btn-toggle-close span {
    background-color: rgb(255, 255, 255);
    width: 50px;
    height: 5px;
    border-radius: 10px;
}

.btn-toggle-close span:nth-child(1) {
    transform: rotate(45deg) translate(2px, 2px);


}

.btn-toggle-close span:nth-child(2) {
    transform: rotate(-45deg) translate(5px, -5px);


}

/*-------------------------------------------------------*/

/*------------------FORM--------------------*/
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 9998;
    transition: all 0.7s ease-out;
    opacity: 1;
    backdrop-filter: blur(0px);
}

.overlay.active {
    opacity: 1;
    backdrop-filter: blur(5px);
}

.logo-form {
    transform: translateX(-50%);
    left: 50%;
    top: 10px;
    border-radius: 50%;
    width: 50px;
    position: absolute;
    background-color: rgba(0, 154, 214, 0.9);
    box-shadow: 0px 0px 10px 3px rgba(0, 154, 214, 1);
    padding: 3px;


}

.overlay.leaving {
    opacity: 0;
    backdrop-filter: blur(0px);
}

.btnform {
    animation: float 1.8s ease forwards infinite;
    display: flex;
    gap: 10px;
}

.close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    margin: 0;
    transition: transform 0.3s ease;
    z-index: 3001;
}

.close-icon {
    position: relative;
    width: 20px;
    height: 20px;
}

.close-icon::before,
.close-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: #ffffff;
    top: 50%;
    left: 0;
    transition: background-color 0.3s ease;
}

.close-icon::before {
    transform: rotate(45deg);
}

.close-icon::after {
    transform: rotate(-45deg);
}

.close-button:hover {
    transform: rotate(90deg);
}

.close-button:hover .close-icon::before,
.close-button:hover .close-icon::after {
    background-color: #00f7ff;
}


.form-container {

    display: none;
    opacity: 0;
    background-color: rgba(255, 255, 255, 0.95);
    background-color: rgba(29, 29, 29, 0.95);
    background-image: linear-gradient(to bottom, #020023, #03022f, #01033b, #000347, #050052);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 0 17px #0051fb;
    border: 2px solid #003fb5;
    width: 90%;
    /* Alterado para percentual */
    max-width: 550px;
    backdrop-filter: blur(10px);
    position: fixed;
    top: 50%;
    /* Centralização vertical */
    left: 50%;
    z-index: 9999;
    transform: translate(-50%, -50%);
    /* Centralização completa */
    max-height: 90vh;
    /* Altura máxima */
    overflow-y: auto;
    /* Scroll quando necessário */
    font-family: 'Kanit';
}

.form-container.active {
    animation: blurIn 0.7s ease-out forwards;
}

.form-container.leaving {
    animation: blurOut 0.7s ease-out forwards;
}

/* Estilização da scrollbar */
.form-container::-webkit-scrollbar {
    width: 8px;
}

.form-container::-webkit-scrollbar-track {
    background: #202020;
    border-radius: 4px;
}

.form-container::-webkit-scrollbar-thumb {
    background: #0013c2;
    border-radius: 4px;
}

.form-container::-webkit-scrollbar-thumb:hover {
    background: #000a66;

}

.form-title {
    text-align: center;
    color: #00f7ff;
    text-transform: uppercase;
    text-shadow: 0 0 15px;
    margin-bottom: 1.5rem;
    font-size: clamp(1.5rem, 5vw, 2rem);
    /* Tamanho responsivo */
    font-weight: 600;
    padding-top: 7%;
}

.form-subtitle {
    text-align: center;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: clamp(0.875rem, 2vw, 1rem);
    line-height: 1.5;

}

.form-group {
    margin-bottom: 1.25rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;

}

input,
select,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 3px solid rgb(11, 220, 248, 0.7);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Kanit';
    background-color: white;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

textarea {
    min-height: 100px;
    resize: vertical;
}



.whatsapp-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Close button */
.close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    padding: 0;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.close-button:hover {
    opacity: 1;
    transform: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .form-container {
        width: 95%;
        padding: 2rem 1.5rem;
        max-height: 85vh;
    }

    input,
    select,
    textarea {
        padding: 0.625rem;
        font-size: 16px;
        /* Previne zoom em iOS */
    }

    .form-title {

        padding-top: 10%;
    }

}

@media (max-width: 480px) {
    .form-container {
        width: 90%;
        border-radius: 15px;
        /* Arredonda apenas topo em mobile */
        position: fixed;
        top: 5%;
        transform: translateX(-50%);
        max-height: 90vh;
    }

    .form-title {
        margin-bottom: 1rem;
        padding-top: 15%;
    }

    .form-subtitle {
        margin-bottom: 1rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }
}

@keyframes float {

    0% {
        transform: translateY(-7px);

    }

    50% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-7px);
    }

}


/* Animação de entrada */
/* @keyframes slideUp {
    from {
        transform: translate(-50%, 100%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

@keyframes blur {
    from {
       filter: blur(20px);
        opacity: 0;
    }
    to {
        filter: blur(0px);
        opacity: 1;
    }
}

.form-container {
    animation: blur 0.7s ease-out;
} */

/* Animações de entrada e saída */
@keyframes blurIn {
    from {
        filter: blur(20px);
        opacity: 0;
    }

    to {
        filter: blur(0px);
        opacity: 1;
    }
}

@keyframes blurOut {
    from {
        filter: blur(0px);
        opacity: 1;
    }

    to {
        filter: blur(20px);
        opacity: 0;
    }
}

/*-------------------------HERO SECTION--------------------------------*/

.container-hero {

    text-align: start;
    justify-content: center;
    display: flex;
    flex-direction: row;
    height: 100%;
    max-width: 100%;
    padding: 0 40px;

}


.text-hero {
    max-width: 60%;
    max-width: 100%;
}

#hero h1 {
    font-size: 4vw;
    /* margin-bottom: 20px; */
}

#hero p {
    font-size: 1.1vw;
    /* margin-bottom: 30px; */
    max-width: 70%;
    font-weight: 600;
}

#hero {
    position: relative;
    width: 100%;
    padding: 30px 0;
    margin-bottom: 100px;
    margin-top: 70px;
}

.video-box {
    z-index: -1;
    width: 50vw;
    height: auto;
    overflow: hidden;
    box-shadow: 0 0 30px rgb(0, 81, 255, 0.3);
    border-radius: 80px 8px 80px 8px;
}

.video-box video {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    pointer-events: none;
}

.video-box-mobile {
    display: none;
}


.text-hero h1 {
    line-height: 1.4;
    margin-bottom: 1rem;
    word-spacing: 0.25rem;
}


.highlight-container {
    position: relative;
    display: inline-block;
}

.highlight-base {
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 2px #0051fb;
}

/* .highlight-container {
    position: relative;
    display: inline-block;
}

.highlight-base {
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 2px #0051fb;
} */

.highlight-wave {
    position: absolute;
    left: 0;
    top: 0;
    color: #00ddeb;
    text-transform: uppercase;
    animation: animate 4s ease-in-out infinite;
    background: -webkit-linear-gradient(#b8ebf8, #00b7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes animate {

    0%,
    100% {
        clip-path: polygon(0% 45%, 15% 44%, 32% 50%,
                54% 60%, 70% 61%, 84% 59%, 100% 52%,
                100% 100%, 0% 100%);
    }

    50% {
        clip-path: polygon(0% 60%, 16% 65%, 34% 66%,
                51% 62%, 67% 50%, 84% 45%, 100% 46%,
                100% 100%, 0% 100%);
    }
}


p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
}

.social-proof {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.social-proof img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.buttons-box {
    display: flex;
    gap: 15px;
}

#dev-contact {
    display: flex;
    gap: 5px;
    background: -webkit-linear-gradient(#202020, #424142);
}

#dev-first-img {
    width: 30px;
}

.button {
    font-family: 'Poppins';
    position: relative;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
    padding-block: 0.5rem;
    padding-inline: 1.25rem;
    border-radius: 10px;
    background: -webkit-linear-gradient(#0051ff, #0089c9);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffff;
    font-weight: bold;
    border: none;
    outline: none;
    overflow: hidden;
    font-size: 15px;
    text-transform: capitalize;
}

.icon {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease-in-out;
}

.button:hover {
    transform: scale(1.05);
    border-color: #fff9;
}

.button:hover .icon {
    transform: translate(4px);
}

.button:hover::before {
    animation: shine 1.5s ease-out infinite;
}

.button::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100%;
    background-image: linear-gradient(120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 70%);
    top: 0;
    left: -100px;
    opacity: 0.6;
}

@keyframes shine {
    0% {
        left: -100px;
    }

    60% {
        left: 100%;
    }

    to {
        left: 100%;
    }
}




/*---------------------------------------------------------*/



/*-----------------------------------SERVICES--------------------------------------------*/

.section {
    padding: 80px 0;
}

.titulos {
    text-transform: uppercase;
    text-shadow: 0px 0px 50px rgb(1, 111, 201);
    font-size: 36px;
    margin: 0 auto;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}


.titulos::after {
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    content: '';
    width: 50%;
    height: 3px;
    background-color: #0072fb;
    box-shadow: 0 0 10px #0089c9;
    position: absolute;
}

.title-services::after {
    width: 400px;
}

.title-portfolio::after {
    width: 330px;
}

.title-process::after {
    width: 400px;
}

.title-about::after {
    width: 400px;
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
    grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
    font-size: 1vw;
    gap: 30px;
}


.service-item {
    cursor: pointer;
    background: #07182E;
    padding: 45px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    place-content: center;
    place-items: center;
    overflow: hidden;
    border-radius: 20px;
    transition: 0.3s ease-in-out;
    text-align: center;
}

.service-item:hover {
    background-color: rgb(74, 0, 143);
    transform: scale(1.01);
    transition: 0.3s ease-in-out;
}


.service-item h3,
.service-item p,
.service-item img {
    font-size: 1.2vw;
    z-index: 1;
    color: rgb(255, 255, 255);

}

.service-item::before {
    content: '';
    position: absolute;
    width: 400px;
    width: 10vw;
    background-image: linear-gradient(180deg, rgb(0, 183, 255), rgb(58, 24, 255));
    height: 300rem;
    animation: rotBGimg 5s linear infinite;
    transition: all 0.2s linear;
}

@keyframes rotBGimg {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.service-item::after {
    content: '';
    position: absolute;
    background: #07182E;
    inset: 5px;
    border-radius: 15px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;

}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    background-color: transparent;
    z-index: 8000;
}

.modal-content {
    z-index: 8000;
    background: #000000;
    width: 80%;
    height: auto;
    max-width: 1200px;
    border-radius: 20px;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-top: 3em;
    opacity: 0;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.modal.active .modal-content {

    opacity: 1;
}

.modal-image {
    width: 50%;
    position: relative;
    background: #000;
    height: auto;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: center;
}

.modal-text {
   
    width: 50%;
    padding: 40px;
    color: #ffffff;
    background-image: linear-gradient(to bottom, #000027, #011037, #001948, #01225a, #002b6d);
    overflow-y: auto;
    height: auto;
}

.modal-text h2 {
    color: #89daff;
    font-size: clamp(1.2rem, 1vw, 1.8rem);
    margin-bottom: 20px;
    position: relative;
}

.modal-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #0072fb;
}

.modal-text p {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    line-height: 1.6;
    color: #ffffff;
}

.modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 8000;
    display: none;
}

.modal-mask.active {
    display: block;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: all 0.3s ease;
}

.close-modal:hover {
    transform: rotate(90deg);
    background: #f0f0f0;
}

/* Media Queries */
@media (max-width: 1200px) {
    .modal-content {
        width: 90%;
    }

}

@media (max-width: 992px) {
    .modal-content {

        width: 100%;
        height: auto;
        align-items: center;

    }

    .modal-text {
        margin-left: 1em;
        border-radius: 15px;
        width: 50%;
        height: auto;

    }



    .modal-image {
        width: 50%;
        border-radius: 15px;
        height: auto;
        object-position: left;

    }

    .modal-image img {
        border-radius: 7px;
    }

    .modal-text h2 {
        font-size: 1rem;
    }

    .modal-text p {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .modal {
        padding: 10px;
        overflow-y: auto;
    }

    .modal-content {
        flex-direction: column;
        width: 100%;
        max-height: 90vh;

        overflow: hidden;
    }

    .modal-image {
        width: 100%;
        height: auto;
        max-height: 50vh;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #000;
    }

    .modal-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        max-height: 50vh;
    }

    .modal-text {
        width: 100%;
        height: 40vh;
        overflow-y: auto;
        padding: 20px;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .modal {
        padding: 5px;
    }

    .modal-content {
        width: 98%;
       
    }

    .modal-image {
        max-height: 45vh;
    }

    .modal-image img {
        max-height: 45vh;
    }

    .modal-text {
        height: 40vh;
        padding: 15px;
    }

    .close-modal {
        top: 10px;
        right: 10px;
        width: 25px;
        height: 25px;
        font-size: 16px;
    }
}
/* .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #000000;
    width: 90%;
    height: 80vh;
    margin-top: 2em;
    max-width: 1000px;
    border-radius: 20px;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
 
}


.modal-image {
    width: 60%;
    position: relative;
    background: #000;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: center;
}

.modal-text {
    width: 40%;
    padding: 40px;
    color: #ffffff;
    background-image: linear-gradient(to bottom, #000027, #011037, #001948, #01225a, #002b6d);
}

.modal-text h2 {
    color: #89daff;
    font-size: 1.2em;
    margin-bottom: 20px;
    position: relative;
}

.modal-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #0072fb;
}

.modal-text p {
    font-size: 0.9em;
    line-height: 1.6;
    color: #ffffff;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: all 0.3s ease;
}

.close-modal:hover {
    transform: rotate(90deg);
    background: #f0f0f0;
}

@media (max-width: 1100px) {
    .modal-content {
         flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 15px;
     }
 

     .modal-image {
        width: 90%;
        position: relative;
        background: #000;
    }

    .modal-text {
        width: 90%;
        padding: 40px;
        color: #ffffff;
        background-image: linear-gradient(to bottom, #000027, #011037, #001948, #01225a, #002b6d);
    }

    .modal-text {
        overflow-y: auto;
    }
 }
 
 @media (max-width: 768px) {
     .modal-content {
         flex-direction: column;
         max-height: 90vh;
        
     }
 
     .modal-image,
     .modal-text {
         width: 100% !important;
     }
 
     .modal-text {
         overflow-y: auto;
     }
 } */

/*----------------------------------------------------------------------------*/


/*-----------------------------------PORTFOLIO--------------------------------------------*/

.container-portfolio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 10px;

}

.portfolio-item {
    cursor: pointer;
    overflow: hidden;
    position: relative;
    width: 450px;
    height: 450px;
    box-shadow: 0 0 15px #0d00c5;
    border-radius: 8px;
    transition: 0.4s ease-in-out;
}

.portfolio-item:hover {
    transform: scale(1.03);
    transition: 0.3s ease-in-out;
}


.portfolio-item::after {
    position: absolute;
    content: 'Visualizar Projeto';
    color: white;
    bottom: 0;
    left: 0;
    transition: all 0.5s;
    opacity: 0;
    width: 100%;
    height: 50px;
    padding-left: 15px;
    padding-top: 10px;


}

.portfolio-item:hover::after {
    bottom: 0;
    opacity: 1;
    background: rgba(18, 69, 202, 0.35);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(8.5px);
    -webkit-backdrop-filter: blur(8.5px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.5s;
}

.portfolio-item img {

    width: 100%;
    height: 100%;
    border-radius: 8px;


}



/*-------------------------------------------------------------------------------*/


/*----------------------------------PROCESSOS---------------------------------------------*/

.process-steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    text-align: center;
    max-width: 1600px;
    margin: 0 auto;
}

.process-step {
    cursor: pointer;
    overflow: hidden;
    background: transparent;
    box-shadow: 0px 8px 28px -9px rgba(0, 0, 0, 0.45);
    position: relative;
    width: calc(25% - 2vw);
    min-width: 280px;
    max-width: 600px;
    height: 530px;
    border-radius: 16px;
    transition: 0.5s ease-in-out;
    flex-grow: 1;
}

.process-step:hover {
    box-shadow: 0 0 15px #0072fb;
    transform: scale(1.03);
}

.wave {
    overflow: hidden;
    position: absolute;
    width: 200%;
    height: 200%;
    opacity: 0.6;
    left: -50%;
    top: -100%;
    background: linear-gradient(744deg, #0703cf, #3d21f7 60%, #00ddeb);
    border-radius: 40%;
    animation: wave 55s infinite linear;
}

.wave:nth-child(2),
.wave:nth-child(3) {
    top: 30%;
}

.infotop {
    font-size: 1.2em;
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    color: rgb(255, 255, 255);
    font-weight: 600;
    padding: 5%;
}

.infotop h3 {
    font-size: 1.2em;
    margin-bottom: 0.5em;
}

.infotop p {
    font-size: 0.9em;
}

/* Animações de onda */
.playing .wave {
    animation: wave 3000ms infinite linear;
}

.playing .wave:nth-child(2) {
    animation-duration: 6000ms;
}

.wave:nth-child(2) {
    animation-duration: 50s;
}

.playing .wave:nth-child(3) {
    animation-duration: 7000ms;
}

.wave:nth-child(3) {
    animation-duration: 45s;
}

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/*
PROCESS ANTIGO 

.process-steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    text-align: center;
}

.process-step {
    cursor: pointer;
    overflow: hidden;
    background: transparent;
    box-shadow: 0px 8px 28px -9px rgba(0, 0, 0, 0.45);
    position: relative;
    width: 300px;
    height: 330px;
    border-radius: 16px;
    transition: 0.5s ease-in-out;
}

.process-step:hover {
    box-shadow: 0 0 15px #0072fb;
    transition: 0.5s ease-in-out;
    transform: scale(1.03);
}

.wave {
    overflow: hidden;
    position: absolute;
    width: 540px;
    height: 700px;
    opacity: 0.6;
    left: 0;
    top: 0;
    margin-left: -50%;
    margin-top: -70%;
    background: linear-gradient(744deg, #0703cf, #3d21f7 60%, #00ddeb);
}

.icon {
    width: 3em;
    margin-top: -1em;
    padding-bottom: 1em;
}

.infotop {
    font-size: 20px;
    position: absolute;
    top: 3.6em;
    left: 0;
    right: 0;
    color: rgb(255, 255, 255);
    font-weight: 600;
    padding: 20px;

}

.name {
    font-size: 14px;
    font-weight: 100;
    position: relative;
    top: 1em;
    text-transform: lowercase;
}

.wave:nth-child(2),
.wave:nth-child(3) {
    top: 210px;
}

.playing .wave {
    border-radius: 40%;
    animation: wave 3000ms infinite linear;
}

.wave {
    border-radius: 40%;
    animation: wave 55s infinite linear;
}

.playing .wave:nth-child(2) {
    animation-duration: 6000ms;
}

.wave:nth-child(2) {
    animation-duration: 50s;
}

.playing .wave:nth-child(3) {
    animation-duration: 7000ms;
}

.wave:nth-child(3) {
    animation-duration: 45s;
}

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
} */

/*-------------------------------------------------------------------------------*/

/*---------------------------------SOBRE NOS-----------------------------------------*/


.about-content {
    display: flex;
    justify-content: space-around;
    position: relative;
    width: 100%;
    height: 100%;
    padding: 30px;
    gap: 50px;
}

.about-image {
    justify-content: center;
    gap: 30px;
    display: flex;
    position: relative;
}

.cards-freelings {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
    height: auto;

}

#new-card {
    position: relative;
    background-image: linear-gradient(to right bottom, #001029, #001d5a, #00268d, #0027be, #2412eb);
    overflow: hidden;
    border-radius: 30px;
    width: clamp(250px, 22vw, 550px);
    height: clamp(290px, 30vw, 600px);
}

.new-card-info {
    font-size: 1.5vw;
    position: absolute;
    top: 0;
    padding: 20px 0 0 15px;
    line-height: 22px;
    width: 90%;
    height: 100px;
    z-index: 1;
}

.name-function h3 {
    font-size: clamp(1.2rem, 3vw, 2rem);
}

.name-function p {
    padding-top: 0.3rem;
    font-size: clamp(0.7rem, 2.7vw, 1rem);
    position: relative;
}

#city {
    font-size: 1vw;
    top: 68px;
    font-size: clamp(0.5rem, 2.5vw, 0.9rem);
    position: absolute;

}

#new-card img {
    object-fit: cover;
    right: -80px;
    bottom: -40px;
    position: absolute;
    width: 100%;
    height: 100%;
    object-position: top;
}

.descricao {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;

}

.descricao p {
    background-color: rgba(20, 20, 65, 0.5);
    backdrop-filter: blur(5px);
    position: absolute;
    bottom: -35px;
    left: 0;
    z-index: 1;
    font-size: 0.8vw;
    font-size: clamp(0.6rem, 0.8vw, 1.2rem);
    border-radius: 8px;
    padding: 10px 5px 30px 10px;
}


#george1,
#george2 {
    top: 55px;
    top: 60px;
    left: 70px;

}


#carol {
    top: 40px;
    left: 50px;
}


#julian {
    top: 60px;
    left: 90px;
}



#flip-image {
    transform: rotateY(180deg);
}


.george,
.andrey {
    display: none;
}

.about-us-box-text {
    position: relative;
    width: 100%;
    font-size: 35px;
}

.about-us-box-text p {

    max-width: 90%;
    font-size: 30px;
    font-size: 1.3vw;
}

.about-us-box-text>* {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    border: solid 1px #bebebe;
    background-color: #1f1f1f;
    position: absolute;
    border-radius: 10px;
    padding: 20px;
    color: #fff;
    box-shadow: 0px 8px 20px -10px #bbbbbb;
    text-shadow: 0px 0px 5px #fff;
    letter-spacing: 1px;
    background-image: radial-gradient(circle 160px at 50% 120%, #353535, #1f1f1f);

}

.card1 {
    width: 300px;
    width: 92%;
    margin: -20px 0px 0px 20px;
}

.card2 {
    width: 320px;
    width: 96%;
    margin: -10px 0px 0px 10px;
}

.partners {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.partners a {
    color: white;
    font-weight: 600;
    font-size: clamp(13px, 1.3vw, 20px);
    text-align: center;
}

.partner-box {
    position: relative;
}

.partner-insta {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    right: 50%;
    background: linear-gradient(45deg, rgb(131, 58, 180, 0.5), rgb(253, 29, 29, 0.5), rgb(245, 96, 64, 0.5));
    backdrop-filter: blur(5px);
    width: 120%;
    height: 70%;
    border-radius: 8px 0 0 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}


.partner-course {
    border-radius: 0 8px 8px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(to right top, rgb(5, 25, 55, 0.5), rgb(12, 41, 106, 0.5), rgb(57, 51, 155, 0.5), rgb(116, 51, 200, 0.5), rgb(186, 18, 235, 0.5));
    position: absolute;
    backdrop-filter: blur(5px);
    top: 0;
    left: 50%;
    width: 120%;
    height: 70%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.partner-box img {
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    width: clamp(100px, 10vw, 200px);
}

.partner-box img:hover {
    transition: all 0.3s ease-in-out;
    transform: scale(1.03);
}

footer {
    height: 50px;
    width: 100%;
    justify-content: center;
    display: flex;

}

footer p {
    margin-top: 30px;
    justify-content: center;
    align-items: center;
    display: flex;
    font-size: 14px;

}


/*------------------------------------------------RESPONSIVIDADE------------------------------------------------*/

@media (max-width: 2150px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width:1821px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        font-size: 1vw;
    }

}

@media (min-width: 1800px) {
    .process-step {
        min-width: 400px;
        height: 450px
    }

    .infotop {
        font-size: 1.6em;
    }
}

@media (max-width: 1600px) {
    .portfolio-item {
        width: 350px;
        height: 350px;
    }

    #hero h1 {
        font-size: 3.8vw;
    }


}


@media (max-width:1589px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        font-size: 1vw;
    }



}

@media (max-width:1575px) {
    .process-step {

        min-width: 280px;
        max-width: 350px;

    }

}


@media (min-width: 1401px) {


    .process-step {
        width: calc(25% - 2vw);
        min-width: 350px;
        height: 400px;
    }

    .infotop {
        font-size: 1.4em;
    }

    .infotop h3 {
        font-size: 1.3em;
    }

    .infotop p {
        font-size: 1.1em;
    }
}

@media (max-width: 1400px) {

    .process-step {
        width: calc(33.33% - 2vw);
        max-width: 350px;
        height: 330px;
    }

    .infotop h3 {
        font-size: 1.2em;
        /* Aumentado */
    }

}


@media (max-width: 1270px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-us-box-text p {
        font-size: 1.1vw;
    }

    .service-item h3,
    .service-item p,
    .service-item img {
        font-size: 1.8vw;

    }

    .service-item::before {
        width: 13vw;
        height: 300rem;

    }

}

@media (max-width: 1122px) {


    #hero p {
        font-size: calc(1em + 1vw);
        margin-bottom: 30px;
        max-width: 70%;
        text-align: start;
        max-width: 100%;
    }

    #hero h1 {
        font-size: 8vw;
    }

    .text-hero {
        display: flex;
        align-items: center;
        flex-direction: column;
        max-width: 100%;
    }

    .container-hero {
        text-align: start;
        align-items: center;
        justify-content: center;
        display: flex;
        flex-direction: column;
    }

    .video-box {
        display: none;
    }

    .video-box-mobile {
        margin-top: 50px;
        display: flex;
        width: 90vw;
        height: auto;
        border-radius: 80px 8px 80px 8px;
        box-shadow: 0 0 30px rgb(0, 81, 255, 0.3);
    }

    .video-box-mobile video {
        object-fit: cover;
        width: 100%;
        height: auto;
        border-radius: 80px 8px 80px 8px;
    }
}


@media (max-width: 1000px) {

    .process-step {
        width: calc(50% - 2vw);
    }

    .about-image {
        display: none;
    }

    .george,
    .andrey {
        display: flex;
    }

    .about-content {
        flex-direction: column;
        padding: 0;
    }

    .about-us-box-text {
        height: 620px;

    }

    .cards-freelings {
        margin-top: 50px;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 25px;
        width: 100%;
        height: auto;
    }

    .about-us-box-text p {
        font-size: 3.1vw;
    }

    #new-card {
        width: 250px;
        height: 290px;
    }

}


@media (max-width: 863px) {
    #new-card {
        width: 40vw;
        height: 390px;
    }
}

@media (max-width: 850px) {

    .tree-menu {
        display: flex;
    }

    .portfolio-item {
        width: 300px;
        height: 300px;
    }

    .about-us-box-text {
        height: 550px;
    }

    .btn-toggle-on {
        display: flex;
    }

    .toggle-on {
        display: none;
    }

    .toggle-off {
        display: none;
    }

    .cta-button {
        display: none;
    }
}

@media (max-width: 789px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .service-item h3,
    .service-item p,
    .service-item img {
        font-size: 2.3vw;
    }


    .service-item::before {
        width: 20vw;
        height: 300rem;

    }
}

@media (max-width: 750px) {

    .container-hero {
        padding: 0 20px;

    }

    .portfolio-grid {
        gap: 50px;
        grid-template-columns: repeat(1, 1fr);
    }

    .portfolio-item {
        width: 400px;
        height: 400px;
    }

    .about-us-box-text {
        height: 500px;

    }
}

@media (max-width: 667px) {
    .new-card-info {
        line-height: 28px;
    }

    #city {
        top: 70px;
        font-size: 1rem;
    }

    .name-function h3 {
        font-size: 6vw;
    }

    .name-function p {
        font-size: 3.5vw;
    }

    .descricao p {
        font-size: 3vw;
    }

    #new-card {
        width: 500px;
        height: 590px;
    }

    .cards-freelings {
        gap: 20px;
    }
}

@media (max-width: 650px) {
    .process-step {
        width: 100%;
        max-width: 450px;
    }
}

@media (max-width:578px) {

    .service-item h3,
    .service-item p,
    .service-item img {
        font-size: 4.3vw;
    }

    .service-item::before {
        width: 25vw;
        height: 300rem;

    }

}


@media (max-width:530px) {

    #new-card {
        width: 480px;
        height: 520px;
    }

    .about-us-box-text p {
        font-size: 3.4vw;
    }

    .title-services::after,
    .title-portfolio::after,
    .title-process::after,
    .title-about::after {
        width: 90%;
    }


}

@media (max-width:450px) {
    .portfolio-item {
        width: 100%;
        height: auto;
    }

    .about-us-box-text {
        height: 430px;

    }

    .service-item h3,
    .service-item p,
    .service-item img {
        font-size: 5.3vw;
    }

    .service-item::before {
        width: 28vw;
        height: 300rem;

    }
}

@media (max-width:405px) {
    #hero h1 {
        font-size: 11vw;
        margin-bottom: 20px;
    }

    .about-us-box-text {
        height: 390px;

    }

    .container-hero {
        padding: 0 50px;

    }
}


@media (max-width: 350px) {

    #city {
        font-size: 5vw;
    }

    .name-function h3 {
        font-size: 8vw;
    }

    .name-function p {
        font-size: 5.2vw;
    }

    .descricao p {
        font-size: 3vw;
    }

    #new-card {
        width: 480px;
        height: 400px;
    }
}

@media (max-width: 320px) {

    .titulos {
        font-size: 10vw;
    }

    .logo-side {
        gap: 10px;
    }

    .logo-text {
        font-size: 5vw;
    }

    .logo-img {
        width: 15vw;
        height: 15vw;

    }

    #hero h1 {
        text-align: center;
        padding: 0;
    }


    .container-hero {
        padding: 0;
    }

    #hero p {
        text-align: center;
        font-size: calc(1em + 0.5vw);
        padding: 0 30px;

    }

    .button {
        padding-block: 1rem;
    }

    .buttons-box {
        padding: 0 20px;
        flex-direction: column;
    }

    .social-proof {
        padding: 0 20px;
        justify-content: center;
    }

    #services {
        padding: 0;
        max-width: 100%;

    }

    .services-grid {
        grid-template-columns: 100%;
        max-width: 100%;

    }


    .process-steps-container {
        padding: 1vw;
    }

    .process-step {
        width: 100%;
        min-width: unset;
        max-width: 100%;
        height: 280px;
        margin-bottom: 1rem;
    }

    .infotop {
        font-size: 1.1em;
        top: 15%;
    }

    .infotop h3 {
        font-size: 1.1em;
        margin-bottom: 0.3em;
    }

    .infotop p {
        font-size: 0.8em;
    }

    footer p {
        text-align: center;
    }

    .wave {
        width: 250%;
        height: 250%;
        left: -75%;
        top: -125%;
    }




}