:root {
    --cor-primaria: #273270;
    --cor-hover: #213191;
    --cor-secundaria: #facc15;
    --cor-terciaria: #fde047;
    --cor-texto: #000;
    --cor-fundo: #F4F4F4;
}

html {
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    scroll-behavior: smooth;
}


header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: var(--cor-primaria);
    height: 10vh;
}

.whatsapp-button {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    background-color: #25D366;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}
  
.whatsapp-button:hover {
    transform: scale(1.1);
}
  
.whatsapp-button img {
    width: 48px;
    height: 48px;
}

.logo {
    margin-top: 2px;
}

.menu {
    display: flex;
    gap: 2rem;
}

.menu h3 {
    color: white;
}

.redes-sociais {
    display: flex;
    gap: 1rem;
}

.redes-sociais img {
    width: 30px;
    height: 30px;
    cursor: pointer;
}

header .button-header {
    background: linear-gradient(to right, #fde047, #facc15);
    color: #000;
    font-weight: bold;
    padding: 10px 24px;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}
  
header .button-header:hover {
    opacity: 0.9;
}

/* main */

.hero {
    background-image: url(../imagens/bg-fast.jpeg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-width: auto;
    height: 90vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: white;
    text-align: left;
    padding: 20px;
}

.hero-text {
    width: 60vw;
    margin: 3rem 0 0 2rem;
}

.hero-text h3 {
    font-size: 1.5rem;
    font-weight: 650;
    color: var(--cor-primaria);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 900;
    color: var(--cor-secundaria);
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-text p {
    max-width: 500px;
    width: 100%;
}

.hero p  {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.hero-info {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
}

.hero-info-text {
    width: 12vw;
}

.hero-info-text h1 {
    color: white;
}

.hero-info-text p {
    font-size: 1rem;
}

.hero a {
    background: var(--cor-primaria);
    color: white;
    font-weight: normal;
    padding: 1rem 2rem;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.container-services {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 70%;
    padding: 5rem;
    background-color: white;
}

.container-services h2 {
    font-weight: 800;
    font-size: 3rem;
    color: var(--cor-primaria);
}
.about-card {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: space-evenly;
    margin-top: 2rem;
}

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

.container-services img {
    width: 35%;
    box-shadow: 0px 0px 10px #00000073;
    border-radius: 1rem;
}

.container-services h2 {
    line-height: 1.1;
    color: #000;
}

.container-services p {
    font-size: 1rem;
    font-weight: 800;
    color: var(--cor-primaria);
}

.container-services button {
    background: var(--cor-primaria);
    color: white;
    font-weight: bold;
    padding: 1rem 2rem;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
    font-size: 1.5rem;
}
  
.container-services button:hover {
    opacity: 0.9;
}
/* services */

.service {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    gap: 1rem;
}

.service h1 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--cor-primaria);
    margin-top: 3rem;
}

.services {
    display: flex;
    flex-direction: row;
    padding: 2rem 7rem;
    gap: 1rem;
}

.services-container {
    padding: 2rem;
    gap: 2rem;
    border: 1px solid var(--cor-primaria);
    border-radius: .5rem;
    width: 24vw;
}

.services-container img {
    max-width: 100%;
    height: auto;
}

.first-container {
    background-color: var(--cor-primaria);
    color: white;
}

.services-container h2 {
    margin: 1rem 0;
}

.service button {
    background: var(--cor-primaria);
    color: white;
    font-weight: bold;
    padding: 1rem 2rem;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.service button:hover {
    background: var(--cor-hover);
}

/* how-we-work */

.how-we-work {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    background-color: var(--cor-fundo);
}

.how-we-work h1 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--cor-primaria);
    margin-top: 3rem;
}

.how-we-work-container {
    display: flex;
    flex-direction: row;
    justify-content: start;    
    align-items: center;
    gap: 6rem;
    width: 100vw;
    padding: 2.3rem 0;
}

.how-we-work-container man-img {
    align-self: flex-start;
    flex: 1 1 300px;
    max-width: 100%;
    height: auto;
}

.how-we-work-info {
    width: 30vw;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.how-we-work-info-text p {
    margin-top: 1rem;
}

.how-we-work-info-text {
    display: flex;
    flex-direction: row;
}

.how-we-work-info-text img {
    width: 40px;
    height: 46px;
    margin-right: 1rem;
}

.how-we-work-info-text h2 {
    font-size: 1.5rem;
}

/* about-us */

.about-us {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;  
    gap: 4rem;
}

.about-us-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;    
    align-items: center;
    width: 80vw;
}

.about-us-container div {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-us-container img {
    width: 35rem;
    height: auto;
}

.about-us-title {
    font-size: .8rem;
    text-transform: uppercase;
    color: var(--cor-hover);
}

.about-us-container h1 {
    font-size: 3rem;
    text-transform: uppercase;
    line-height: 1.1;
    font-weight: 900;
    color: var(--cor-primaria);
}

.about-us-cards {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    flex-wrap: wrap;
}

/* footer */

footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    background-color: var(--cor-primaria);
    height: 50vh;
    padding: 0 5rem;
    color: white;
}

.footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    margin-top: 2rem;
}

.units-container {   
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: .8rem;
}

.footer-about div {
    gap: .5rem !important;
}

.units-container h3 {
    align-self: center;
}

.footer-units {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.links {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    text-align: center;
}

.links div {
    display: flex;
    gap: .5rem;
    flex-direction: column;
    text-align: center;
}

.links-container {
    display: flex !important;
    flex-direction: column !important;
    gap: .5rem !important;
}

.links-container div {
    display: flex;
    flex-direction: row;
}

.footer-policy {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 1rem;
    width: 100%;
    font-size: small;
}

.footer-policy a {
    font-weight: 900;
}

.wrapper {
    height: 1px;
    width: 100vw;
    background-color: var(--cor-fundo);
    margin-top: 3rem;
}

@media (max-width: 1400px) {
    .how-we-work h1 {
        font-size: 2.5rem;
    }

    .how-we-work-container h2 {
        font-size: 1.2rem;
    }

    .how-we-work-info-text p {
        font-size: .9rem;
    }

    .man-img {
        width: 50vw;
    }

    .about-us-container h1 {
        font-size: 2.5rem;
    }

    .about-us-container p {
        font-size: .9rem;
    }

    .about-us-container img {
        width: 35vw;
    }

    .about-us-cards img {
        width: 25vw;
    }
}

@media (max-width: 1015px) {
    .about-us-container h1 {
        font-size: 2rem;
    }
}

@media (max-width: 912px) {
    .service h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {

    .about-us-container img {
        display: none;
    }

    header {
        height: 7vh;
    }

    header .logo {
        display: none;
    }

    header .button-header {
        display: none;
    }

    header h3 {
        font-size: 1rem;
    }

    .hero {
        height: 20rem;
    }

    .hero-text {
        margin: 1rem 0 0 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h3 {
        font-size: 1.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-info-text h1 {
        font-size: 1.5rem;
    }

    .hero-info-text p {
        font-size: 0.9rem;
    }

    .hero-text {
        width: 80vw;
    }

    .hero button {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }

    .service {
        height: 65rem;
    }

    .services {
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        padding: 1rem 4rem;
        height: 50rem;
    }

    .service img {
        display: none;
    }

    .service h1 {
        font-size: 2rem;
    }

    .services h2 {
        font-size: 1rem;
        margin: 0 0 1rem;
    }

    .services p {
        font-size: 0.7rem;
    }

    .service button {
        margin-bottom: 2rem;
    }

    .services-container {
        width: 100%;
        max-width: 25rem;
        max-height: 15rem;
        padding: 1rem 2rem;
    }

    .how-we-work {
        height: 80vh;
    }

    .how-we-work h1 {
        font-size: 2rem;
    }

    .how-we-work-container {
        flex-direction: column-reverse;
        align-items: center;
        gap: 3rem;
    }

    .how-we-work-info {
        width: 80vw;
    }

    .about-us {
        height: 80vh;
    }

    .about-us-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .about-us-container div {
        width: 80vw;
    }

    footer {
        padding: 0 1rem;
        height: 60vh;
    }

    .footer-links {
        gap: 1rem;
    }

    footer h3 {
        font-size: .8rem;
    }

    footer p {
        font-size: 0.7rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-policy p {
        font-size: 0.6rem;
    }

    .link {
        display: none;
    }

    .title-contact {
        display: none;
    }

    .footer-about div {
        gap: 1rem !important;
    }
}

@media (max-width: 476px) {
    .hero-info-text {
        width: 16vw;
    }

    .hero-text h3 {
        font-size: 1rem;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .text p {
        font-size: .9rem;
    }

    .footer-units img {
        display: none;
    }

    .service button {
        padding: .5rem 1rem;
    }

    .man-img {
        display: none;
    }

    .how-we-work {
        height: 60vh;
        margin-bottom: 3rem;
    }

    .service h1 {
        margin-top: 0;
    }
}

@media (max-width: 430px) {
    header h3 {
        font-size: .8rem;
    }

    header .menu {
        gap: 1rem;
    }

    .hero-text {
        width: 60vw;
        margin: 0;
        width: 90vw;
    }

    .hero-info-text {
        width: 20vw;
    }

    .hero-info {
        gap: .5rem;
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: .5rem;
    }

    .hero h3 {
        font-size: .9rem;
        margin-bottom: .5rem;
    }

    .hero p {
        font-size: .7rem;
    }

    .hero button {
        margin-top: 3rem;
    }

    .service button {
        padding: .5rem 1rem;
    }
}

@media (max-width: 403px) {
    .service h1 {
        font-size: 1.5rem;
        margin-top: 3rem;
    }

    .service button {
        padding: .5rem 1rem;
        margin-bottom: 2rem;
    }

    .service button a {
        font-size: .9rem;
    }

    .how-we-work h1 {
        font-size: 1.5rem;
    }

    .service {
        height: 90%;
    }

    .services {
        height: 65%;
    }

    .services-container p {
        font-size: .6rem;
    }

    .services-container {
        max-height: 20rem !important;
    }

    .how-we-work h2 {
        font-size: 1rem;
    }

    .how-we-work p {
        font-size: .6rem;
    }

    .how-we-work {
        height: 45%;
    }

    .about-us-container img {
        display: none;
    }
}

@media (max-width: 380px) {
    .about-us-container h1 {
        font-size: 1.7rem;
    }

    .footer-policy p {
        font-size: .5rem;
    }

    footer p {
        font-size: .5rem;
    }
}

@media (max-width: 370px) {
    .units-container {
        width: 20vh;
    }
}

@media (max-width: 775px) {
    .container-services h2 {
        font-size: 1.5rem;
    }

    .container-services img {
        /* width: 15rem; */
        display: none;
    }

    .container-services h3 {
        font-size: 1rem;
    }

    .container-services p {
        font-size: .8rem;
    }

    .container-services {
        padding: 5rem 0;
    }

    .about-text-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        width: 65%;
        gap: 2rem;
    }
}
