@import url('_global.css');

.about-hero {
    background-image: url('/img/hero-img-about.png');
    position: relative;
    z-index: 1;
}

.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.container-about {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    height: 90vh;
}

.texts-container-about {
    width: 40%;
    height: 40vh;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
}

.subtitle-everco {
    font-size: 4.7rem;
}

.p-everco {
    width: 80%;
    font-size: 1.4rem;
}

.container-img {
    width: 45%;
    position: relative;
}

.escritorio {
    width: 100%;
}

.btn-about {
    --color: #000000;
    font-family: inherit;
    display: inline-block;
    width: 20%;
    height: 4em;
    line-height: 2.5em;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border: 2px solid rgb(0, 0, 0);
    transition: color 0.5s;
    z-index: 1;
    font-size: 17px;
    border-radius: 50px;
    font-weight: 500;
    color: #fff;
    background-color: transparent;
}

.btn-about:hover {
    background-color: #000000;
    color: #ffffff;
    transition: 600ms;
}

.btn-about:not(:hover) {
    background-color: transparent;
    color: #000000;
    transition: 600ms;
}


.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;

}

.carousel-images {
    display: flex;
    transition: transform 0.6s ease-in-out;
    width: 100%;
}


.carousel-image {
    flex-shrink: 0;
    width: 100%;
    object-fit: cover;
}

.carousel-image.active {
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.4rem;
    background-color: transparent;
    color: #ffffff;
    border: none;
    padding: 0.5rem 1rem;
    font-weight: 200 !important;
    cursor: pointer;
    z-index: 10;
    border-radius: 45px;
    transition: background-color 0.3s;
}


.left-btn {
    left: 10px;
}


.right-btn {
    right: 10px;
}

.about-description {
    background-color: #212121;
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
    border-radius: 3rem 3rem 0 0 !important;
}

.description-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 80%;

}

.title-team {
    font-size: 7rem;
    color: #fff;
    font-weight: 300;

    opacity: 0;              /* começa invisível */
  transform: translateX(-100px); 
  animation: slideIn 2s ease forwards;
}

/* animação */
@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.title-gptw {
    font-size: 5rem;
    color: #fff;
    font-weight: 300;
}


.description-text {
    color: #ffffff;
    line-height: 1.8;
    font-size: 1.3rem;
    font-weight: 500;
    text-align: justify !important;
}


.qr-image {
    width: 200px;
    height: auto;
    object-fit: contain;
}

.team-section {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: space-evenly;

}

.texts-gptw {
    width: 50%;
    height: 50vh;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: space-evenly;
}


.team-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/img/foto-equipe.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.3);
    z-index: -1;
}

.gptw-section * {
    position: relative;
    z-index: 2;
}

.p-gptw {
    font-size: 1.4rem;
    color: #fff;
    width: 73%;
}

.qr-wrapper {
    position: absolute;
    right: 30px;
    top: -10px;
}

.about-team {
    background-color: var(--secundary-background);
    padding-top: clamp(2rem, 5vh, 4rem);
    padding-bottom: clamp(2rem, 5vh, 4rem);
    width: 100%;
    display: flex;
    justify-content: center;
}

.team-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--tertiary-text);
    text-align: center;
    margin: 2% 0;
}

.team-heading {
    font-size: var(--font-xl);
    font-weight: 600;
    margin-bottom: clamp(1rem, 3vw, 2rem);
    text-transform: uppercase;
    color: var(--quaternary-text);
}

.team-member {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
    max-width: 1000px;
    width: 80%;
}

.team-text {

    font-size: var(--font-lg);
    line-height: 1.6;
    color: var(--tertiary-text);
    text-align: left;

}

.photo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.photo {
    width: clamp(300px, 30vw, 350px);
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}


.gptw-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/img/gptw.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.4);
    z-index: -1;
}

.gptw-section {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: space-evenly;

}



@media (max-width: 1366px) {

    .hero-subtitle {
        font-size: 1.2rem !important;
    }

    .photo {
        height: 73vh;
    }

    .team-heading {
        font-size: 1.7rem;
    }

    .team-text {
        font-size: 1.3rem;
        height: 50vh;
    }

}

@media (max-width: 992px) {
    .description-container {
        flex-direction: column;
        align-items: center;
    }

    .description-text {
        text-align: center;
        margin: 2rem 0;
    }

    .qr-image {
        margin: 10% 10%;
        width: 120px;
    }

    .team-member {
        flex-direction: column;
        text-align: center;
    }

    .team-text {
        text-align: center;
    }

    .photo {
        width: clamp(250px, 60vw, 400px);
    }
}

@media (max-width: 768px) {

    .container-about{
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .subtitle-everco, .title-gptw, .team-heading{
        font-size: 4rem;
    }

    .qr-image {
        width: 130px;
        top: -13px;
    }

    .texts-container-about{
        width: 100%;
         flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        text-align: center;
        
    }

    .p-everco{
        font-size: 1.3rem;
    }

    .btn-about{
        height: 5.5vh;
    }

    .container-img{
        width: 64%;
    }

    .texts-gptw{
        width: 80%;
    }

    .team-text{
        height: 30vh;
    }
    
    
}

@media (max-width: 425px){

    .title-team{
        font-size: 5rem;
    }

    .subtitle-everco{
        font-size: 2rem;
    }

    .p-everco, .p-gptw, .team-text{
        font-size: 1.1rem;
    }

    .texts-container-about{
        width: 100%;
        text-align: center;
    }

    .container-about{
        flex-direction: column;
    }

    .p-everco{
        width: 100%;
    }

    .container-img{
        width: 94%;
    }
    
    .btn-about{
       
       height: 5vh;
       width: 25%;
       font-size: 1rem;
    }

    .title-gptw, .team-heading{
        font-size: 2rem;
    }

    .team-text{
        height: 35vh;
    }
    
    .qr-wrapper{
        top: -6px;
    }

    .qr-image{
        width: 100px;
    }

    .gptw-section{
        height: 55vh;
    }

    .p-gptw{
        width: 110%;
    }

    .title-gptw{
        width: 140%;
    }

    .photo{
        height: 50vh;
        width: 100%;
    }

    .texts-gptw{
        gap: 20px;
        justify-content: center;
    }

}

@media(max-width: 375px){
       .team-text{
        font-size: 1rem;
    }

    .title-gptw{
        font-size: 1.6rem;
    }

    .team-heading{
        font-size: 1.6rem;
    }
}

@media (max-width: 320px){
    .p-gptw{
        width: 120%;
    }

    .title-gptw{
        font-size: 1.4rem;
    }

    .team-text{
        font-size: 1rem;
    }

    .photo-wrapper{
        margin-top: 13%;
    }
    
    .btn-about{
        width: 30%;
    }
}