@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.cdnfonts.com/css/conthrax');
                
:root {
    --header-height: 3.5rem;
    /*========== Colors ==========*/
    /* Color mode HSL(hue, saturation, lightness) */
    --first-color: linear-gradient(90deg, rgba(79,201,176,1) 0%, rgba(5,147,154,1) 50%, rgba(0,156,155,1) 100%);
    --second-color: hsl(182, 94%, 36%);
    --first-color-light: hsl(182, 42%, 56%);
    --title-color: hsl(0, 0%, 100%); /* Branco puro para títulos */
    --text-color: hsl(228, 8%, 76%);
    --white-color: hsl(0, 0%, 100%);
    --black-color: hsl(228, 6%, 4%);
    --body-color: hsl(0, 0%, 0%); /* Fundo escuro */
    --container-color: hsl(240, 3%, 17%); /* Contêiner mais claro que o body */
    --shadow-ing: 0 0 48px hsla(93, 54%, 54%, 0.4);
    --gradient-card: linear-gradient(
        180deg,
        hsl(93, 48%, 38%),
        hsl(93, 8%, 8%)
    );

    /*========== Fonts ==========*/
    --body-font: "Poppins", sans-serif;
    --biggest-font-size: 2.25rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;

    /*========== Font weight =========*/
    --font-regular: 400;
    --font-semi-bold: 500;
    --font-bold: 700;

    /*========== z index =========*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

@media screen and (max-width: 1150px) {
    :root{
    --biggest-font-size: 4.25rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
}
}

*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: #000;
    columns: var(--text-color);
}

h1, h2, h3, h4{
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
}

ul{
    list-style: none;
}

a{
    text-decoration: none;
}

img{
    display: block;
    max-width: 100%;
    height: auto;
}

.container{
    max-width: 1120px;
    margin-inline: 1.5rem;
}

.grid{
    display: grid;
    gap: 1.5rem;
}

.section{
    padding-block: 5rem 1rem;
}

.section__title,
.section__subtitle{
    text-align: center;
}

.section__title{
    font-size: var(--h1-font-size);
    font-weight: var(--font-bold);
    margin-bottom: 1.5rem;
}

.section__subtitle{
    display: block;
    font-size: var(--normal-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--second-color);
    margin-bottom: .5rem;
}

.main{
    overflow: hidden;
}

/*=============== HEADER & NAV ===============*/
.header{
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: transparent;
    z-index: var(--z-fixed);
    transition: background-color .4s;
}

.nav{
    position: relative;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo{
    display: flex;
    width: 10%;
}

.nav__toggle,
.nav__close{
    font-size: 1.5rem;
    color: var(--white-color);
    cursor: pointer;
    transition: color .4s;
}

.active-link{
    color: var(--second-color);
}

/* Mobile Devices */
@media screen and (max-width: 1150px) {
    .nav__menu{
        position: fixed;
        top: 0;
        right: -100%;
        background-color: var(--black-color);
        width: 80%;
        height: 100%;
        padding: 7.5rem 3.5rem 0;
        border-left: 2px solid var(--black-color);
        transition: right .4s;
    }
}

.nav__list{
    display: flex;
    flex-direction: column;
    row-gap: 4rem;
}

.nav__link{
    color: var(--text-color);
    font-weight: var(--font-semi-bold);
    transition: color .4s;
}

.nav__link:hover{
    color: var(--second-color);
}

.nav__close{
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

/* Show Menu */
.show-menu{
    right: 0;
}

/* Change background header */
.bg-header{
    background-color: hsl(0, 0%, 8%);
    box-shadow: 0 4px 16px hsl(0, 0%, 6%);
}

.bg-header .nav__toggle{
    color: var(--white-color);
}

/*=============== BUTTON ===============*/
.login{
    font-weight: bold;
    color: var(--second-color);
}

.login:hover{
    color: var(--white-color);
}

.button{
    display: inline-flex;
    background: var(--first-color);
    color: var(--white-color);
    font-weight: var(--font-semi-bold);
    padding: .75rem 2rem;
    transition: box-shadow .4s;
    border-radius: 100px;
}

.button:hover{
    background-color: linear-gradient(90deg, rgba(5,147,154,1) 0%,rgba(79,201,176,1) 50%, rgba(0,156,155,1) 100%);
    color: var(--white-color);
}

.button__link{
    display: flex;
    align-items: center;
    column-gap: .25rem;
    color: var(--first-color);
}

.button__link span{
    font-weight: var(--font-semi-bold);
}

.button__link i{
    font-size: 1.5rem;
    transition: transform .4s;
}

.button__link:hover i{
    transform: translateX(.25rem);
}

/*=============== HOME ===============*/
.home{
    position: relative;
    background-color: #000;
}

.home__container{
    position: relative;
    row-gap: 3rem;
    padding-block: 2.5rem 6rem;
}

.home__content{
    row-gap: 2.5rem;
}

.home__data{
    text-align: center;
}

.home__title{
    font-size: var(--biggest-font-size);
    font-weight: var(--font-bold);
    margin-bottom: 1rem;
}

.home__title .span{
    color: var(--second-color);
}

.home__subtitle{
    color: var(--white-color);
    margin-bottom: 1rem;
}

.home__description{
    margin-bottom: 2.5rem;
    color: var(--text-color);
}

.home__button{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.home__info{
    display: flex;
    justify-content: center;
    column-gap: 4.5rem;
}

.home__info-title{
    color: var(--second-color);
    font-size: var(--biggest-font-size);
    font-size: var(--font-bold);
    margin-bottom: .5rem;
}

.home__info-description{
    font-size: var(--small-font-size);
    color: var(--white-color);
}

.home__image{
    position: relative;
    justify-self: center;
    width: 500px;
    margin-bottom: 20px;
}

/*=============== ABOUT ===============*/
.about{
    background: linear-gradient(90deg, rgba(79,201,176,1) 0%, rgba(5,147,154,1) 35%, rgba(1,191,188,1) 100%);
}

.about__container{
    row-gap: 8rem;
}

.about__data{
    text-align: center;
}

.about__data .section__subtitle{
    color: hsl(182, 100%, 11%);
}

.about__description{
    color: var(--white-color);
    margin-bottom: 2rem;
}

.about__list{
    text-align: initial;
    color: hsl(182, 100%, 11%);
    grid-template-columns: repeat(2, 130px);
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.about__list-item{
    display: flex;
    column-gap: .5rem;
    color: hsl(182, 100%, 11%);
}

.about__list-item i{
    font-size: 1.25rem;
    color: hsl(182, 100%, 11%);
}

.about__image{
    position: relative;
    justify-self: center;
}

.title__about span{
    color: rgb(2, 83, 73);
}

.about__image-image{
    border: 2px solid hsl(182, 100%, 11%);
    border-radius: 50%;
    width: 400px;
}

/*=============== SERVICES ===============*/
.services{
    position: relative;
}

.services__container{
    position: relative;
    row-gap: 3rem;
}

.services__data{
    text-align: center;
}

.services__description{
    margin-bottom: 2.5rem;
    color: var(--text-color);
}

.services__card{
    place-items: center;
    text-align: center;
    width: 260px;
    background-color: var(--black-color);
    border: 1px solid var(--second-color);
    padding: 2rem 1rem 3.5rem;
    transition: border-color .4s;
}

.services__card:hover{
    border-color: hsl(182, 93%, 23%);
}

.services__card p{
    color: var(--second-color);
}

.services__icon{
    width: 70px;
    height: 70px;
    background-color: var(--second-color);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.services__title{
    font-size: var(--h2-font-size);
    margin-bottom: .5rem;
}

.services__shape{
    position: absolute;
    width: 100%;
    height: 245px;
    background-color: var(--first-color);
    bottom: 0;
    left: 0;
}

/* Swiper */
.swiper{
    margin-inline: initial;
    padding-bottom: 4rem;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    content: '';
}

.swiper-button-prev,
.swiper-button-next{
    top: initial;
    bottom: 0;
    width: 32px;
    height: 32px;
    background-color: var(--second-color);
    box-shadow: 0 2px 8px hsla(255, 8%, 4%, .1);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--black-color);
}

.swiper-button-prev{
    left: calc(50% - 3rem);
}

.swiper-button-next{
    right: calc(50% - 3rem);
}

/*=============== TEAM ===============*/
.team{
    background-color: #000;
}

.team .section__title{
    color: var(--white-color);
}

.team__container{
    padding-block: 1.5rem 3rem;
}

.team__card{
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--second-color);
    width: 400px;
    border: 2px solid transparent;
    border-radius: 20px;
    background-clip: content-box;
}

.team__card .team__img{
    width: 100%;
    border-radius: 20px;
    border: 4px solid var(--second-color);
}

.team__data{
    padding: 1.5rem 1rem 3rem;
}

.team__title{
    font-size: var(--h2-font-size);
    margin-block: .5rem;
    color: var(--white-color);
    font-weight: var(--font-semi-bold);
}

.team__social{
    color: var(--first-color);
    margin-block: .5rem;
    font-size: 22px;
}

.team__social i{
    margin: 0 2px;
    font-weight: var(--font-semi-bold);
    transition: .4s;
    cursor: pointer;
    padding: 3px 3px 3px 3px;
}

.team__social i:hover{
    transform: translateY(10%);
}

/*=============== CONTACT ===============*/
.contact__container{
    row-gap: 3rem;
    margin-bottom: 5rem;
}

.contact__information{
    display: flex;
    margin-bottom: 2rem;
}

.contact__icon{
    font-size: 2rem;
    color: var(--second-color);
    margin-right: .75rem;
}

.contact__title{
    font-size: var(--h3-font-size);
    font-weight: var(--font-semi-bold);
    margin-block: .5rem;
    margin-bottom: .5rem;
}

.contact__subtitle{
    font-size: var(--small-font-size);
    color: var(--text-color);
    margin-bottom: .5rem;
}

.contact__content{
    background-color: var(--container-color);
    border-radius: .5rem;
    padding: .75rem 1rem .25rem;
    color: var(--white-color);
}


.contact__label{
    font-size: var(--small-font-size);
}

.contact__input{
    width: 100%;
    background-color: var(--container-color);
    color: var(--white-color);
    font-size: var(--normal-font-size);
    border: none;
    outline: none;
    padding: .25rem .5rem .5rem 0;
}

/*=============== FOOTER ===============*/
.footer{
    background-color: var(--second-color);
    color: var(--black-color);
    padding-block: 4rem 2rem;
}

.footer__container{
   row-gap: 2.5rem;
}



.footer__logo-img{
    width: 30%;
}

.footer__links{
    display: flex;
    justify-content: center;
    column-gap: 2rem;
    margin-bottom: 1rem;
}

.footer__link{
    color: var(--black-color);
    transition: .5sssas all;
}

.footer__link:hover{
    color: var(--white-color);
}

.footer__social{
    display: flex;
    justify-content: center;
    column-gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer__social-link{
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--black-color);
    color: var(--second-color);
    font-size: 1.5rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: background-color .4s, color .4s;
}

.footer__social-link:hover{
    background-color: var(--white-color);
}

.footer__copy{
    display: block;
    padding-block: 1rem 1rem;
    text-align: center;
    font-size: 1rem;
    color: var(--black-color);
    align-items: center;
    place-items: center;
    text-align: center;
}

/* SCROLL BAR */
::-webkit-scrollbar {
    width: .6rem;
    background-color: hsl(255, 5%, 75%);
}

::-webkit-scrollbar-thumb{
    background-color: hsl(255, 5%, 65%);
}

::-webkit-scrollbar-thumb:hover{
    background-color: hsl(255, 5%, 55%);
}

/* Botão de chat */
.chat-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--second-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 19px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
  z-index: 9999;
}
.chat-btn:hover {
  background-color: rgb(2, 83, 73);
}

/* Formulário flutuante */
.chat-form {
  position: fixed;
  bottom: 80px; /* acima do botão */
  right: 20px;
  width: 300px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  padding: 10px;
  display: none; /* começa invisível */
  z-index: 9999;
  font-family: Arial, sans-serif;
  flex-direction: row;
}

/* Campo de texto */
.type_msg {
  border: 1px solid #ccc;
  border-radius: 4px 0 0 4px;
  padding: 8px 12px;
  flex-grow: 1;
  outline: none;
  font-size: 14px;
}

/* Botão enviar */
.send_btn {
  background-color: var(--second-color);
  border: none;
  color: white;
  padding: 0 15px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}
.send_btn:hover {
  background-color: rgb(2, 83, 73);
}

.input-group {
  display: flex;
}
.input-group-append {
  display: flex;
}
/*=============== LOGIN / REGISTER  ===============*/

/* -- LOGIN -- */
.login{
    position: relative;
    height: 100vh;
    align-items: center;
    overflow: hidden;
}

.login__title{
    font-size: var(--h1-font-size);
    color: var(--white-color);
    text-align: center;
    margin-bottom: 2rem;
}

.login__title span{
    color: var(--second-color);
    font-weight: bold;
}

.login__box{
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 1rem;
    background-color: var(--white-color);
}

.login__input{
    background: none;
    width: 100%;
    padding: 1.5rem 2.5rem 1.5rem 1.25rem;
    font-weight: var(--font-semi-bold);
    border: 3px solid transparent;
    border-radius: 1rem;
    z-index: 1;
    transition: border-color .4s;
}

.login__input:autofill{
    transition: background-color 6000s, color 6000s;
}

.login__label{
    position: absolute;
    left: 1.25rem;
    font-weight: var(--font-semi-bold);
    transition: transform .4s, font-size .4s, color .4s;
}

.login__icon{
    position: absolute;
    right: 1rem;
    font-size: 1.25rem;
    transition: color .4s;
}

.login__password{
    cursor: pointer;
    z-index: 10;
}

.login__forgot{
    display: block;
    width: max-content;
    margin: 1rem 0 0 auto;
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    color: var(--white-color);
    transition: color .4s;
}

.login__forgot:hover{
    color: var(--second-color);
}

.login__button{
    width: 100%;
    display: inline-flex;
    justify-content: center;
    background-color: var(--second-color);
    color: var(--white-color);
    font-weight: var(--font-semi-bold);
    padding-block: 1.5rem;
    border-radius: 4rem;
    margin-block: 2rem;
    cursor: pointer;
}

.login__switch{
    text-align: center;
    font-size: var(--small-font-size);
}

.login__switch button{
    background: none;
    color: var(--second-color);
    font-size: var(--small-font-size);
    font-weight: var(--font-semi-bold);
    cursor: pointer;
}

/*=============== BREAKPOINTS ===============*/
/* Small */
@media screen and (max-width: 340px) {
    .container{
        margin-inline: 1rem;
    }

    .section__title{
        font-size: 1.25rem;
    }
    
    .home__title{
        font-size: 1.75rem;
    }

    .home__buttons{
        flex-direction: column;
    }

    .home__img{
        width: 200px;
    }

    .about__list{
        grid-template-columns: repeat(1, 200px);
    }

    .about__img{
        width: 150px;
    }
}

/* Medium */
@media screen and (min-width: 540px) {
    .home__container,
    .about__container,
    .services__container,
    .team__container,
    .contact__container{
        grid-template-columns: 360px;
        justify-content: center;
    }

}

@media screen and (min-width: 768px){
    .nav__menu{
        width: 50%;
    }

    .team__container{
        grid-template-columns: repeat(1, 400px);
    }

    .footer__container,
    .footer__content{
        grid-template-columns: repeat(2, max-content);
        align-items: center;
    }

    .footer__container{
        justify-content: space-between;
    }

    .footer__content{
        column-gap: 3rem;
    }
    
    .footer__logo-img{
        width: 30%;
    }
}

/* Large */
@media screen and (min-width: 1150px) {
    .container{
        margin-inline: auto;
    }

    .section{
        padding-block: 7rem 2rem;
    }

    .nav{
        height: calc(var(--header-height) + 2rem);
    }

    .nav__toggle,
    .nav__close{
        display: none;
    }

    .nav__menu{
        width: initial;
    }

    .nav__list{
        flex-direction: row;
        align-items: center;
        column-gap: 4rem;
    }

    .bg-header .nav__link{
        color: var(--white-color);
    }

    .bg-header .active-link,
    .bg-header .nav__link:hover{
        color: var(--second-color);
    }

    .bg-header .button,
    .bg-header .button:hover{
        color: hsl(0, 0%, 100%);
    }

    .home__container{
        grid-template-columns: 475px 550px;
        column-gap: 6rem;
        align-items: flex-start;
        padding-top: 5.5rem;
    }

    .home__content{
        row-gap: 4.5rem;
    }

    .home__data{
        text-align: initial;
    }

    .home__description{
        margin-bottom: 3rem;
    }

    .home__buttons{
        justify-content: initial;
        column-gap: 3rem;
    }

    .home__info{
        justify-content: initial;
        column-gap: 5.5rem;
    }

    .home__info-description{
        font-size: var(--normal-font-size);
    }    

    .home__image{
        width: 550px;
        margin-left: 0;
    }

    .about__container{
        grid-template-columns: repeat(2, 480px);
        column-gap: 9rem;
        padding-block: 2rem 2rem;
    }

    .about__images{
        order: -1;
    }

    .about__data,
    .about__data :is(.section__title, .section__subtitle){
        text-align: initial;
    }

    .services__container{
        grid-template-columns: initial;
        row-gap: 5rem;
        padding-bottom: 4.5rem;
    }

    .services__data{
        display: grid;
        grid-template-columns: 415px 370px max-content;
        justify-content: space-between;
        align-items: center;
    }

    .services__data :is(.section__title, .section__subtitle),
    .services__description{
        text-align: initial;
    }

    .services__data .section__title{
        margin-bottom: 0;
    }

    .services__swiper{
        max-width: 1100px;
    }

    .services__card{
        width: 348px;
        border-width: 3px;
        padding: 3.5rem 2rem 6rem;
    }

    .services__shape{
        height: 330px;
    }

    .swiper-button-next,
    .swiper-button-prev{
        bottom: 3rem;
    }

    .team__container{
        grid-template-columns: initial;
        row-gap: 5rem;
        padding-bottom: 4.5rem;
    }

    .team__card{
        width: 348px;
        border-width: 3px;
        padding: 2.5rem 1rem 5rem;
    }
    .contact__container{
        grid-template-columns: repeat(2, 1fr);
    }

    .contact__form{
        width: 100%;
    }

    .contact__inputs{
        grid-template-columns: repeat(2, 1fr);
    }

    .footer{
        padding-top: 3rem;
    }

    .footer__links{
        column-gap: 3rem;
    }

    .footer__copy{
        margin-top: 7rem;
    }

    .footer__logo-img{
        width: 30%;
    }

    .scrollup{
        right: 3rem;
    }
}

