@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --bg-primary: #f8f7f5;

    --blue-primary: #0f263b;
    --blue-secondary: #04192e;

    --green-primary: #0B6519;
    --green-secundary: #07921f;
    --green-dark-3: #055f15; /* cerca de 35% mais escuro */

    --yellow-primary: #fdbe10;
    --yellow-secundary: #edac0d;

    --text-primary: #ffffff;
    --text-secundary: #000000;

    --font-text: "Exo 2", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-text);
}

#container {
    width: 100%;
    margin: auto;
    overflow-x: hidden;
}

/* Botão fixo na pagina */
#btn_page_all {
    position: fixed;
    bottom: 20px;
    right: 20px;

    background-color: var(--green-primary);
    padding: 0.5rem 0.8rem;
    border-radius: 50%;

    font-size: 2rem;
    color: var(--text-primary);
    text-decoration: none;

    animation: large_small 1s ease infinite;
}

@keyframes large_small {
    from {
        transform: scale(0.3);
    }
    to {
        transform: scale(1);
    }
}

/* Header */


header {
    background-color: var(--bg-primary);
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 1;
    border-bottom: 1px solid var(--blue-primary);
}

.nav_bar img {
    width: 200px;
    height: auto;
    transform: scale(1.3);
}

.nav_bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#btn_mobile {
    background-color: transparent;
    border: none;
    height: 45px;
    font-size: 20px;
    color: var(--blue-secondary);
    padding: 0.5rem;
}

.nav_links {
    display: none;
    flex-direction: column;
    gap: 0.8rem;
    position: absolute;
    top: 130px;
    background-color: var(--bg-primary);
    left: 0;
    width: 100%;
    padding: 1rem;
    list-style: none;
}

.nav_links.show {
    display: flex;
    
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 1rem;

    /* Usando a mesma animação do keyframe das caixas do FAQ*/
    animation: slide_down 0.5s ease forwards;
    
}

.nav_links li {
    text-align: center;
    
}

.nav_links li a {
    text-decoration: none;
    color: var(--blue-secondary);
    font-size: 1rem;
    font-weight: 600;
    
    
}

.btn_whats-yellow {
   background-color: var(--yellow-primary);
   color: var(--text-secundary);
   padding: 0.3rem 0.5rem;
   border-radius: 1rem;
   border: 1px solid var(--yellow-secundary);
   text-decoration: none;
}

/*Main - section hero*/
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;

    background-image: url("../img/imagem-desktop.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    background-color: var(--blue-secondary);
}

.hero h1 {
    color: var(--yellow-primary);
}

.hero span {
    color: var(--yellow-primary);
    padding: 0.1rem 0.5rem;
    border: 3px solid var(--yellow-secundary);
    border-radius: 1rem;
}

.hero p {
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 0.1rem;
}

.hero ul {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    list-style: none;
    color: var(--text-primary);
}

.hero ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero ul li i {
    color: var(--yellow-primary);
    font-size: 1.5rem;
}

.hero .btn_whats-green {
    
    background-color: var(--green-primary);
    color: var(--text-primary);
    padding: 0.2rem 0.8rem;
    border-radius: 1rem;
    border: 1px solid var(--green-secundary);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);

    animation: 0.5s linear 0s infinite alternate up-down;
}

/* Animação do botão whats na section hero */
@keyframes up-down {
  from {
    transform: translateY(1rem);
  }
  to {
    transform: translateY(0);
  }
}

.hero .btn_whats-green i {
    font-size: 30px;
}


/*
estilização da section - why-search
onde tem 3 cards mostrando o porque escolher a empresa
*/

.why-search {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background-color: var(--bg-primary);
}

.box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.item {
    border: 1px solid var(--blue-primary);
    border-radius: 1rem;
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    padding: 1rem;
    max-width: 400px;
    align-items: center;
}

.img {
    background-color: var(--yellow-primary);
    padding: 1rem;
    border-radius: 50%;
}

.img i {
    font-size: 2rem;
}

.text p {
    color: var(--blue-secondary);
    font-weight: 600;
}

/* Classes ultilizadas em outros locais do codigo 
    section - why-search
    section - how-work
*/
.h2 {
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--yellow-primary);
}

.span_text {
    color: var(--green-dark-3);
}

/* ----------------------------------------------------------------  */

/* Sectin how-work */
.how-work {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background-color: var(--bg-primary);
}

.item-how_work {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 1rem;
    border: 1px solid var(--blue-primary);
    border-radius: 25rem;
}

.img-how_work i {
    font-size: 2rem;
}

.text-how_work p {
    color: var(--blue-secondary);
    font-weight: 400;
    
}

/* section clients */
.clients {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background-color: var(--blue-primary);
}

.h2_dark {
    color: var(--text-primary);
    border-bottom: 2px solid var(--green-secundary);
}

.span_dark {
    color: var(--yellow-primary);
}

.clients h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.avaliacao {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card_avaliacao img{
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 1rem;
}

.star_avaliacao {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.star_avaliacao img {
    width: 1.5rem;
    height: auto;
    transform: scale(1.5);
}

.star_avaliacao span {
    color: var(--bg-primary);
    font-size: 1rem;
}

.star_avaliacao i {
    font-size: 1rem;
}

.star_avaliacao p {
    color: var(--text-primary);
}

/* secition google maps*/

.container_maps {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    gap: 1rem;
}

.container_maps h2 {
    margin-bottom: 0.5rem;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.content p {
    font-weight: 600;
    color: var(--blue-secondary);
}

.content a {
    background-color: var(--yellow-secundary);
    padding: 0.5rem 0.8rem;
    border-radius: 1rem;
    text-decoration: none;
    color: var(--text-secundary);
}

.maps iframe {
    width: 100%;
    height: 300px;
}

/* section - Faq */

.faq {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--blue-primary);
    padding: 2rem;
}

#container_faq {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    padding: 0.2rem 0.8rem;

}

.faq_item {
    background-color: var(--bg-primary);
    border: 1px solid var(--blue-secondary);
    border-radius: 1rem;
    
}

.faq_question {
    border: none;
    border-radius: 1rem;
    background-color: var(--bg-primary);
    color: var(--blue-secondary);
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.5rem 0.8rem;
    width: 100%;
    text-align: start;
    cursor: pointer;
}

.faq_answer {
    display: none;
}

.faq_answer.active {
    display: block;

    color: var(--blue-secondary);
    padding: 0.5rem 0.8rem;

    animation: slide_down 0.5s ease forwards;
}

@keyframes slide_down {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.btn_whats_faq {
    width: 100%;
    padding: 0.5rem 0.8rem;
    border: none;
    border-radius: 1rem;
    margin-top: 2rem;
    background: linear-gradient(to right, var(--green-primary), var(--green-dark-3));
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--text-primary);
    text-align: center;
    text-decoration: none;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
    
    animation: up 0.8s infinite;
}

/* Animação do botão whats na section FAQ */
@keyframes up {
    from {
        transform: scale(0.5);
    }
    to{
        transform: scale(1);
    }
}

/* Section - rodape com as informaçoes de contato da empresa */

.info_contacts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    align-items: center;
    text-align: center;
}

.img-descripion {
    display: flex;
    align-items: center;
}

.img-descripion img {
    width: 200px;
    height: auto;
    transform: scale(1.4);
}

.style_commun {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.style_commun a {
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
}

.social_medias a {
    text-decoration: none;
    color: var(--text-secundary);
}
/* Footer */

footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    background-color: var(--blue-primary);
    
    padding: 1rem;
    color: var(--yellow-primary);

}

footer #dev {
    color: var(--text-primary);
}

footer a {
    color: var(--yellow-secundary);
}


/* tablets */
@media (min-width: 768px) {

    /* Header */
    #btn_mobile {
        display: none;
    }

    .nav_links {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        position: static;
        justify-content: right;
    
    }

    .nav_links li .links {
        font-size: 0.8rem;
        cursor: pointer; 
    
    }

    .nav_links li .links:hover {
        border-bottom: 2px solid var(--yellow-secundary);
        padding-bottom: 0.2rem;
    }

    /* Main hero */
    .hero {
        background-position: right;
        align-items: start;
    }

    .hero ul {
        display: flex;
        flex-direction: row;
        gap: 2rem;
    }

    /* Main why-search */
    .box {
        display: flex;
        flex-direction: row;
    }

    /* Main how_work */

    .how-work .box {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    /* clients */
    .card_avaliacao img{
        width: 400px;
        
    }
    .star_avaliacao img {
        width: 2rem;
        transform: scale(2.2);
    }

    .star_avaliacao span {
        color: var(--bg-primary);
        font-size: 2rem;
    }

    .star_avaliacao i {
        font-size: 1.5rem;
    }

    /* main maps */

    .container_maps {

        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
        padding: 2rem;
        gap: 1rem;
    }

    .content {
        align-items: start;
    }

    .maps iframe {
        min-width: 500px;
    }

    /* FAQ */

    .btn_whats_faq {
        width: 50%;
        
        cursor: pointer;
        
    }

    /* Section contacts company */
    .info_contacts {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .img-descripion img {
        max-width: 300px;
        height: auto;
    }

    .img-descripion p {
        text-align: left;
    }


}

/* notebooks */
@media (min-width: 1024px) {
}

/* desktops */
@media (min-width: 1280px) { 
    /* section clients */
    .avaliacao {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
}

/* telas grandes */
@media (min-width: 1440px) { }


