/* Gerais / Compartilhadas */
:root{
    --primary-color: #0D364A;
    --secondary-color: #DEDCCF;
    --tertiary-color: #E18537;
    --quaternary-color: #6C7A7B;
    --border-color: #4D4D4D;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Inter', 'Roboto', sans-serif;
}

body {
    height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    background-color: var(--tertiary-color);
    padding: 10px 20px;
    color: var(--primary-color);
    font-weight: bold;
    border-radius: 40px;
    font-size: 1.2rem;
}

a:hover {
    background-color: var(--tertiary-color);
    opacity: 0.9;
    transition: 0.3s;
}

.specialist, .my-clients {
    background-color: var(--quaternary-color);
    border: 1px solid var(--border-color);
    width: 40%;
    padding: 10px;
    color: #DEDCCF;
    transform: translateY(-30px);
}

/* Cabeçalho - Primeiro Bloco */
.hero {
    background-image: url(/img/img-principal.jpg);
    background-position: left;
    background-size: cover;
    background-repeat: no-repeat;
}

.content-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  justify-self: end;
  width: 60%;
  color: var(--secondary-color);
  height: 100%;
  padding: 60px 0;
  background: linear-gradient(to left, var(--primary-color) 88%, #0d364a94, transparent);
}

.text-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: auto;
    width: 60%;
}

.text-hero h1 {
    padding-bottom: 20px;
    color: #E18537;
    font-size: 1.3rem;   
    width: 100%;
    text-align: center;
}

.content-hero p{
    padding-bottom: 20px;
    font-size: 1.1rem;
    text-align: center;
}

/* Especialista - Segundo bloco */
.specialist-sec {
    background-color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    height: 100%;
}

.specialist-text { 
    display: flex;
    width: 80%;
    margin: auto;
    align-items: center;
}

.specialist-text a {
    color: var(--secondary-color);
}
.specialist-img img, .julia-karsten p{
    padding-bottom: 40px;
}

.julia-karsten p{
    text-align: left;
    font-size: 1.2rem;
}

.julia-karsten h2 {
    padding-bottom: 40px;
}

.julia-karsten {
    margin: 0 100px 0 0;
    width: 90%;
    height: 100%;
    margin-bottom: 40px;
}

.specialist-img {
    margin: auto;
}

.specialist-img img {
    width: 100%;
    min-width: 500px;
    max-width: 800px;
    margin-bottom: 10px;
}

/* Meus serviços - Terceiro Bloco */
.my-service-container {
    background-color: #0D364A;
}

.container {
    display: flex;  
    position: relative;
    height: 560px;
    width: 1080px;
    margin: auto;
    place-content: center;
}

.my-service {
    display: flex;
    flex-direction: column;    
    justify-content: center;
    align-items: center; 
    margin-right: 20%;

}

.container-lines {
    position: absolute;
    width: 1080px;
    height: 1px;
}

.lines1 {
  position: absolute;
  top: 98px;
  left: 460px;
  height: 222px;
  width: 1px;
  background-color: var(--secondary-color);
}

.lines2 {
  position: absolute;
  top: 320px;
  left: 230px;
  height: 1px;  
  width: 231px;
  background-color: var(--secondary-color);
}

.lines3 {
  position: absolute;
  top: 98px;
  left: 460px;
  height: 1px;
  width: 56.5%;
  background-color: var(--secondary-color);
}

.btn-mobile {
    display: none;
}

.my-service h3 {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-align: center;
    width: 100%;
    padding: 10px;
    margin-top: 70px;
}

.my-service p {
    text-transform: uppercase;
    color: var(--secondary-color);
    margin: 40px 0;
    font-size: 2rem;
    text-align: center;
}

.my-service a {
    border-radius: 0;
    display: flex;
    width: 100%;
    place-content: center;
}

.services-container {
    display: flex;
    flex-direction: column;
    height: 60%;
    margin: auto 0;
    gap: 20px;
}

.services {
    background-color: var(--secondary-color);
    display: flex;    
    flex: 1;
}

.services p {
    padding: 10px;
    display: flex;
    place-items: center;
    text-align: center;
}

/* Meus clientes - Quarto Bloco */
.my-clients-container {
    background-color: var(--primary-color);
}

.my-clients {
    margin: auto;
    text-align: center;
    border: 1px solid var(--secondary-color);
}

.cards-container {
    height: 100%;
    width: 80vw;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 60px auto;
}

.card {
    border: 1px solid var(--tertiary-color);
    border-radius: 20px;
    width: 250px;
}

.card p {
    padding: 40px 20px;
    color: var(--secondary-color);
}

.my-clients-btn {
    display: flex;
    justify-content: center;
    display: relative;
}

.my-clients-btn a {
    margin-bottom: 60px;
}

/* Dúvidas frequentes - Quinto Bloco */
.faq-container {
    background-color: var(--secondary-color);
}

.faq {
    width: 80vw;
    margin: auto;
}

.faq h1 {
    text-align: center;
    padding: 40px 0;
}

.faq-question {
    max-width: 60vw;
    margin: 0 auto 20px auto;
}

.question {
    display: flex;
    background-color: var(--quaternary-color);
    cursor: pointer;    
    justify-content:space-between;
    align-items: center;
}

.question h3 {
    padding: 10px;
    color: var(--secondary-color);
    font-weight: 300;
}

.question svg {
    display: flex;
    place-items: center;
    margin-right: 10px;
    color: var(--secondary-color);
    transition: transform .5s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s;
}

.faq-answer p {
    padding: 10px;
    border: 1px solid var(--border-color);
}

.faq-question.active .faq-answer {
    max-height: 300px;
}

.faq-question.active svg {
    transform: rotate(180deg);
}

.faq-btn {
    display: flex;
    justify-self: center;
}

.faq-btn a { /*confirmar se é isso mesmo, essa classe e a debaixo*/
    margin: 40px auto;
}

.faq a {
    justify-content: center;
    color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);

}

.grid-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    color: var(--secondary-color);
    padding: 40px 0;
    width: 80vw;
    margin: auto;
}

.name-footer {
    place-content: start;
}

.name-footer h1 {
    font-size: 1.8rem;
}

.name-footer p {
    font-size: 0.8rem;
    font-weight: 100;
    place-content: center;
}

.mail {
    height: 30px;
    width: 220px;
}

.mail a {
    display: flex;
}

.mail p {
    display: flex;
    margin-left: 10px;
    align-items: flex-end;
}

.mail svg {
    display: flex;
    align-content: center;
}

.rights {
    font-size: 0.6rem;
    width: 210px;
    text-align: center;
    place-content: center;
    margin: auto;
}

.contacts {
    display: flex;
    justify-content: center;
    align-items: center;

}

.contacts a, .mail a {
    background-color: unset;
    color: var(--secondary-color);
    padding: 0;
}

.contacts svg {
    margin: 0 10px;
    color: var(--secondary-color);
}

@media screen and (max-width: 1310px) {
    /* Grid Cards - Meus clientes */ 
    .cards-container {
    grid-template-columns: repeat(2, 1fr);
    }   
    .card {
        height: 100%;
        width: 100%;
    }

    .card p {
        padding: 40px 20px;
        color: var(--secondary-color);
    }

    .my-clients h2 {
        width: 100%;
    }
    
    .specialist-img img {
        width: 100%;
        min-width: 300px;
        max-width: 600px;
        margin-bottom: 10px;
    }

    /* Meus serviços */
    .my-service h3 {
        background-color: var(--secondary-color);
        color: var(--primary-color);
        text-align: center;
        width: 100%;
        padding: 10px;
        margin: 40px 0;
    }

} 

@media screen and (max-width: 1100px) {
    /* Cabeçalho - Primeiro Bloco */
    .hero {
        height: 800px;
        background-image: url(/img/img-tablet.jpg);
    }

    .content-hero {
        display: flex;
        grid-template-columns: 0 auto;
        width: 100%;
        height: 450px;
        padding: 30px;
        background: linear-gradient(to bottom, var(--primary-color) 88%, #0d364a94, transparent);
    }
    
    .text-hero {
        text-align: center;
        display: flex;
        justify-content: center;
        place-items: center;
        flex-direction: column;
        margin: auto;
        width: 100%;
    }

    .text-hero h1 {
        padding-bottom: 20px;
        font-size: 1.6rem;
    }

    /* Especialista - Segundo bloco */
    .container {/*Necessário?*/
        flex-direction: column; 
        height: 100%;
        width: 80%;
    }

    .container-lines {
        display: none;
    }

    /* Especialista - Segundo bloco */
    .specialist-text {
        flex-direction: column-reverse;
        text-align: center;
    }
    .specialist-text p {
        text-align: left;
    }

    .julia-karsten, .specialist-img {
        margin: auto;
    }
    
    .julia-karsten {
        margin-bottom: 40px;
    }

    /* Meus serviços - Terceiro Bloco */
    .my-service {
        margin-right: 0;
    }

    .my-service a{
        display: none;
    }

    .services p{
        text-align: center;
        width: 90%;
    }

    .btn-mobile {
        display: block;
        border-radius: 0%;
        text-align: center;
        margin-bottom: 100px;
    }

    /* Footer */
    .name-footer h1 {
        font-size: 1.4rem;
    }

    .name-footer {
        place-content: start;
    }

    .name-footer p {
        font-size: 0.8rem;
        font-weight: 100;
        place-content: center;
    } 
}


@media screen and (max-width: 760px) {
    /* Gerais / Compartilhadas */
    .specialist, .my-clients {
        width: 80%;
    }

    /* Cabeçalho - Primeiro Bloco */
    .hero {
        background-position: bottom left;
        background-image: url(/img/img-mobile.jpg);
    }

    .content-hero {
        display: flex;
        grid-template-columns: 0 auto;
        width: 100%;
        padding: 0px;
        margin: 0;
        height: 600px;
    }

    .text-hero {
        text-align: center;
    }

    .text-hero a {
        margin: 0px 20px;
    }

    /* Especialista - Segundo bloco */
    .julia-karsten {
        width: 100%;
    }

    .specialist-img img {
        width: 100%;
        min-width: 30%;
        max-width: 85%;
        margin-bottom: 10px;
    }

    /* Meus serviços - Terceiro Bloco */
    .services p {
        width: 100%;
    }

    /* Meus clientes - Quarto Bloco */
    .cards-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .card {
        height: 100%;
        width: 100%;
    }

    .card p {
        padding: 20px 20px;
        color: var(--secondary-color);
    }

    /* Dúvidas frequentes - Quinto Bloco */    
    .faq-question {
        max-width: 100%;
    }

    .question h3 {
        width: 90%;
    }

    .question svg {
        margin: 0 auto;
    }

    .rights {
        font-size: 0.6rem;
        width: 80vw;
        text-align: center;
        place-content: center;
        margin: auto;
    }

    .contacts {
        margin-bottom: 20px;
    }

    /* Footer */
    .name-footer h1 {
        font-size: 1.8rem;
        padding-bottom: 0;
    }

    .name-footer {
        place-content: start;
    }

    .name-footer p {
        font-size: 1rem;
        font-weight: 100;
        place-content: center;
        padding-bottom: 40px;
    }

    .mail {
        display: flex;
        gap: 0px;
        margin: 0;
        width: 260px;
    }

    .mail p {
        align-items: baseline;
    }

    .grid-footer {
        display: flex;
        flex-direction: column;
        place-items: center;
        color: var(--secondary-color);
        padding: 20px 0;
        width: 80vw;
        text-align: center;
        margin: auto;
    }

    .order1 { order: 2; }

    .order2 { order: 3; }

    .order3 { order: 1; }
}
