:root {
    --primary-color: rgb(01,46,65);
    --secondary-color: rgb(60,166,166);
    --tertiary-color: rgb(02,74,89);
    --white-color: #fff;
    --black-color: #000;
    --green-wpp: #25d366;
    --lightgrey-color: rgba(190, 190, 190, 0.671);
    --darkgrey-color: rgb(29, 29, 29);
    --transparent-color: rgba(255, 255, 255, 0.7);
    --gap: 3rem;
    --max-width: 130rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    transition: all 150ms ease-in-out;
}

/* font-family: 'Open Sans', sans-serif;
font-family: 'Playfair Display', serif;
font-family: 'Montserrat', sans-serif;
font-family: 'Dancing Script', cursive;
font-family: 'Caveat', cursive; */

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    background-color: var(--white-color);
    color: var(--darkgrey-color);
    
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    margin-bottom: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

h3 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

h4 {
    font-size: 2.2rem;
}

p {
    margin-bottom: 1.8rem;
}

a {
    text-decoration: none;
}

/* ============== Backgrounds ============= */



.white-bg {
    background-color: var(--white-color);
}

.transparent-bg {
    background-color: rgba(255, 255, 255, 0.5);
}

.primary-bg {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.secondary-bg {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.tertiary-bg {
    background-color: var(--tertiary-color);
    color: var(--white-color);
}

.home-bg {
    background: none;
    /* background-image: url(../img/home-bg.jpg);
    background-size: cover;
    background-attachment: fixed;
    position: relative; */
} 

.parallax{
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

.logo-bg>.main-content {
    background-color:rgba(255, 255, 255, 0.6);
  }

.logo-bg {
    background-image: url(../img/Logo-empresa.jpg);
    background-size: 40rem;
    background-position-X: 110%;
    background-position-Y: 100%;
 }

 .servicos-bg {
    background-image: url(../img/servicos-bg.jpg);
 }


/* ============== Estrutural ============= */

.main-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 7.5rem 2rem 7rem;
    min-height: 100% !important;
}

.section100 {
    min-height: 100vh;
}

.section {
    min-height: 80vh;
}

.section70 {
    min-height: 70vh;
}

.section50 {
    min-height: 50vh;
}

.section30 {
    min-height: 30vh;
}

/* ============== Botão Wpp ============= */

.whatsapp-button {
    display: inline-block;
    background-color: var(--tertiary-color);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    margin-top: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0.15rem 0.15rem 0.25rem grey;
    font-size: 1.8rem;
    border-radius: 1rem;
    cursor: pointer;
    border: none;
  }

  .whatsapp-button i {
    margin-right: 5px;
  }
  
  .whatsapp-button:hover {
    background-color: #25d366;
    scale: 1.1;
  }

  #whatsapp-floating {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 6rem;
    height: 6rem;
    background-color: #25d366;
    border-radius: 50%;
    color: var(--white-color);
    text-align: center;
    font-size: 3rem;
    box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.25);
    text-decoration: none;
    border: none;
    cursor: pointer;
  }
  
  #whatsapp-floating i {
    line-height: 60px;
  }
  
  #whatsapp-floating:hover {
    scale: 1.2;
  }
  
/* ============== Menu ============= */

.menu {
    color: var(--white-color);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 4;
    background: var(--primary-color);
}

.menu-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.menu ul {
    display: flex;
    list-style: none;
}

.menu ul li a {
    display: inline-block;
    position: relative;
}

.menu h1 {
    font-size: 4rem;
    padding: 1rem;
    margin-bottom: 0;
}

.menu a:not(.logo-menu) {
    color: var(--white-color);
    padding: 1.5rem;
}



.menu a:hover {
    scale: 1.2;
    transition: all 200ms ease-in-out;
}

.menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 1rem;
    left: 50%;
    width: 0;
    height: 0.3rem;
    background: var(--secondary-color);
    transition: all 300ms ease-in-out;
}

.menu ul li a:hover::after {
    width: 60%;
    left: 50%;
    transform: translateX(-50%);
}

.logo-menu img {
    height: 6rem;
}

.logo-menu {
    padding: 0.5rem 2.5rem;
}

.menu-spacing {
    height: 7.3rem;
}

.close-menu {
    display: none;
}

/* ============== Carrosel ============= */
.carrossel {
    display: block;
    position: relative;
    margin: 0 auto;
}

.gallery-wrapper {
    overflow-x: auto;
    max-width: 90%;
    margin: 0 auto;
}

.gallery {
    display: flex;
    flex-flow: row nowrap;
    gap: 1.5rem;
}

.arrow-left, .arrow-right {
    position: absolute;
    top: 50%;
    left: 0;
    right: auto;
    font-size: 4rem;
    transform: translateY(-50%);
    text-align: center;
    color: var(--primary-color);
    cursor: pointer;
    border: none;
    opacity: 0.1;
    transition: all 200ms ease-in-out;
    margin: 0 0.5rem;
    background: none;
}

.arrow-right {
    left: auto;
    right: 0;
}

.arrow-left:hover , .arrow-right:hover {
    opacity: 1;
}

.itens {
    transition: all 600ms ease-in-out;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.gallery-wrapper::-webkit-scrollbar {
    display: none;
  }
  
/* Hide scrollbar for IE, Edge and Firefox */
.gallery-wrapper {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
 }



/* ============== Page Home ============= */

#home .home-content {
    justify-content: center;
    text-align: center;
    display: flex;
    flex-flow: column wrap;
    margin: auto;
    align-items: center;
    min-height: 100%;
}

.home-text {
    margin: 0 auto;
}

.home-logo {
    margin-top: 2rem;
    margin-bottom: 6rem;
}

.home-logo img {
    height: 15rem;
}

#home h3 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* ============== Atuação - Carrossel ============= */
.atuacao {
    text-align: center;
}

.atuacao article {
    display: grid;
    grid-template-rows: 1.5fr 1fr;
    text-align: center;
    background: var(--white-color);
    width: 30.5%;
    box-shadow: 0 0 1rem 0.1rem var(--lightgrey-color);
    min-height: 50rem;
    margin: 2rem 1rem;
    flex-shrink: 0;
}

.img-card img {
    width: 100%;
    height: 35rem;
    object-fit: cover;
}

.card-text-atuacao {
    padding: 1.2rem;
    text-align: left;
}

.card-text-atuacao h3 {
    margin: 0.5rem 0 1.5rem;
}

/* ============== Áreas ============= */
.atuacao-text-content.main-content {
    padding: 4rem 7rem;
}

.atuacao-text-content {
    text-align: justify;
    margin: 0 auto;

}

.atuacao-text-content h2 {
    text-align: center
}

.atuacao-text-content h3 {
    font-size: 3.2rem;
}

.atuacao-text-content p {
    font-size: 2.2rem;
}

#tributario h2 {
    color: var(--white-color);
}

/* ============== Serviços - Carrossel ============= */
.servicos {
    text-align: center;
    color: var(--primary-color);
}

.servicos.gallery {
    gap: 0;
    margin: auto;
}

.servicos article {
    text-align: center;
    padding: 3rem 5rem;
    background: var(--transparent-color);
    max-width: 100%;
    margin: 2rem auto;
    flex-shrink: 0;
}

.servicos-card {
    max-width: 70%;
    margin: auto;
}

.icon {
    color: var(--primary-color);
    font-size: 9rem;
    margin: 2rem auto;
}

.servicos article h4 {
    color: var(--secondary-color);
    margin: 1rem;
    font-size: 3rem;
}

.servicos article p {
    color: var(--primary-color);
    text-align: justify;
    margin: 1rem;
    margin-top: 2.5rem;
    font-size: 2.5rem;
}

 /* ============== FAQ ============= */

.faq-content h2{
    text-align: center;
    margin-bottom: 4rem;
    color: var(--white-color);
}

.faq-content{
    position: relative;
    margin: 0 auto;
    display: flex;
    flex-flow: column nowrap;
    text-align: left;
    max-width: 95rem;
    max-height: 80rem;
}

.faq {
    overflow-y: auto;
}

.faq-content p{
    text-align: justify;
    padding: 2rem;
    padding-right: 5rem;
    border-left: 0.1rem solid var(--lightgrey-color);
    border-right: 0.1rem solid var(--lightgrey-color);
    margin: 0;
}

.faq-tittle {
    text-align: center;
    margin: 2.3rem auto 1.5rem;
    font-size: 2.9rem;
}

.faq-tittle h4{
    font-size: 2.5rem;
}


summary {
    background-color: var(--tertiary-color);
}

details p {
    background-color: var(--white-color);
    color: var(--primary-color);
}

details {
    display: block;
    margin-left: 0;
}

.faq-content summary {
    display: block;
    position: relative;
    cursor: pointer;
    margin: 0;
    padding: 1.5rem;
    list-style: none;
    font-weight: 600;
    border: 0.1rem solid var(--lightgrey-color);
    color: var(--primary-color);
}

.faq details summary p {
    padding: 0;
    margin: 0;
    margin-right: 2.5rem;
    border: none;
    text-align: left;
    background-color: var(--tertiary-color);
    color: var(--white-color);
}

summary::after {
    content: '⟩';
    float: right;
    font-size: 2.7rem;
    font-weight: 400;
    text-align: center;
    position: absolute; 
    top: 50%;
    right: 1.2rem;
    transform: translate(-50%, -50%) rotate(90deg);
    color: var(--white-color);
    transition: all 300ms ease-in-out;
    
}

.faq-box[open] summary::after {
    right: 1.4rem;
    transform: translate(-50%, -50%) rotate(-90deg);
    color: var(--white-color);
}

.faq-box[open] summary {
    color: var(--white-color);
    background-color: var(--tertiary-color);
}

.pgfaq-content .whatsapp-button {
    align-self: center;
    justify-self: center;
    /* margin: 3rem auto; */
}

/* ============== Contato =============== */
.contato .main-content {
    padding: 3rem 2rem;
}

.contato-content{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    color: var(--tertiary-color);
}

.map {
    display: flex;
    justify-content: center;
}

.map iframe {
    min-height: 40rem;
    max-width: 65rem;
}

.form-field {
    display: flex;
    flex-flow: row wrap;
    gap: 1.5rem;
    font-size: 2.7rem;
    padding: 2rem;
    min-height: 40rem;
    max-width: 65rem;
    margin: auto;
    background-color: var(--transparent-color);
}

.form-field legend {
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1 1 100%;
    font-size: 2rem;
}

.form-group label {
    display: block;
}

.form-group input, .form-group textarea {
    padding: 0.7rem 2rem;
    width: 100%;
}

.form-group ::placeholder {
    color: var(--secondary-color);
}

.form-group button {
    border: 0.3rem solid var(--tertiary-color);
    background: var(--tertiary-color);
    color: var(--white-color);
    padding: 0.8rem 2rem;
    font-size: 1.7rem;
    cursor: pointer;
    transition: all 300ms ease-in-out;
    margin-top: 2.5rem;
}

.form-group button:hover {
    border: 0.3rem double var(--primary-color);
    background: var(--secondary-color);
    color: var(--primary-color);
    font-size: 1.7rem;
    font-weight: bold;
}
/* ============== Footer =============== */

.footer {
    margin: 0 auto;
    background-color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
    padding: 1rem;
}

.main-footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 5rem;
    /* align-items: center; */
    justify-content: center;
    color: var(--white-color);
    max-width: var(--max-width);
    margin: 0 auto;
}

.contatos {
    text-align: center;
    margin: 0 auto;
}

.contatos h4 {
    margin-bottom: 1rem;
}

.contatos a, .contatos p{
    display: block;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 100;
    line-height: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white-color);
}

.contatos p {
    margin-top: 0.5rem;
    line-height: 1rem;
}

.horario-funcionamento {
    margin-top: 1.5rem;
}

.horario-funcionamento h4{
    font-size: 1.5rem;
}

.logo-footer {
    text-align: center;
    margin: auto;
}

.logo-footer img {
    height: 10rem;
}

.logo-footer h2 {
    margin-bottom: auto;
    color: var(--white-color);
}

.logo-footer p {
    margin-top: 1rem;
    font-size: 1.3rem;
}


div.developed {
    /* position: relative;
    top: 4rem; */
    display: flex;
    color: var(--white-color);
    text-align: right;
    font-size: 1.5rem;
    font-weight: 100;
    padding: 0.5rem;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
}

.developed p{
    margin: 0;
}

@media (max-width: 1150px) and (min-width:700px) {

    .home-bg {
    background-position-X: right;
    background-position-Y: 50%;
    }

    .home-container {
        max-width: 80rem;
        margin: 0 auto;
    }

    .atuacao article {
        width: 47%;
    }

    .servicos-card {
        max-width: 90%;
    }

    .contato-content{
        grid-template-columns: 1fr;
    }

    .main-footer {
        gap: 1rem;
    }

}

@media (max-width: 700px) {
    body {
        font-size: 1.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    h1 {
        font-size: 3.2rem;
    }

    h2 {
        font-size: 2.8rem;
    }

    h3 {
        font-size: 1.8rem;
    }

    .arrow-left, .arrow-right {
        font-size: 2rem;
        margin: 0;
    }

    .gallery-wrapper {
        max-width: 100%;
    }

    .transparent-bg {
        background-color: rgba(255, 255, 255, 0.9);
    }

    .section {
        min-height: 10rem;
    }

    .home-bg {
    background: none;
    }

    .home-logo img {
        height: auto;
        max-width: 95%;
    }

    .logo-bg>.main-content {
    background-color:rgba(255, 255, 255, 0.8);
    }
    
    .logo-bg {
    background-image: none;
    /* background-size: 40rem;
    background-position-X: 50%;
    background-position-Y: 50%; */
    }
    
    .atuacao article {
        grid-template-rows: 1.2fr 1fr;
        width: 90%;
        max-width: 40rem;
    }

    .img-card img {
        max-height: 30rem;
    }

    .areas-atuacao h3 {
        text-align: center;
        font-size: 2.8rem;
    }

    .atuacao-text-content.main-content {
    padding: 2rem 2.2rem;
    }

    .atuacao-text-content p {
    font-size: 2rem;
    }

    .servicos-card {
        max-width: 98%;
    }

    .gallery {
        margin: 0 auto;
    }

    .carrossel {
        max-width: 100%;
    }

    .servicos article {
        padding: 0;
    }

    .servicos .icon {
        font-size: 7rem;
    }

    .servicos article h4{
        font-size: 2.2rem;
    }
    .servicos article p{
        font-size: 1.8rem;
    }

    .atuacao-text-content h3 {
        font-size: 2.5rem;
    }
    
    .atuacao-text-content p {
        font-size: 1.8rem;
    }

    .contato-content{
        grid-template-columns: 1fr;
    }

    .main-content {
        padding: 1.6rem;
    }

    .whatsapp-button, .pgprofile-text-content {
        margin-right: auto;
        margin-left: auto;
    }

    .faq-content p {
        font-size: 1.7rem;
    }
    
    .faq-content summary p {
        font-size: 1.6rem;
    }

    .main-footer {
        gap: 2rem;
        grid-template-columns: 1fr;
    }

    .contatos {
        text-align: center;
    }

    .developed {
        margin-top: 1.5rem;
    }

    .whatsapp-floating {
        bottom: 1rem;
        right: 1rem;
        scale: 0.7;
    }

    .menu {
        bottom: 0;
        text-align: center;
        display: none;
        background-color: var(--primary-color);
    }

    .menu-content, .menu-content ul {
        flex-direction: column;
        justify-content: center;
    }

    .menu-content {
        height: 100vh;
    }

    .close-menu {
        position: fixed;
        z-index: 2;
        top: 0;
        left: 0;
    }

    .logo-menu img {
        max-width: 60%;
        height: auto;
    }

    .logo-footer img {
        max-width: 80%;
        height: auto;
    }

    .footer h4 {
        font-size: 1.7rem;
    }

    .close-menu-label {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        position: fixed;
        z-index: 5;
        top: 1.5rem;
        right: 1.5rem;
        background: var(--primary-color);
        color: var(--white-color);
        width: 4rem;
        height: 4rem;
        padding: 0.5rem;
        cursor: pointer;
        transition: all 500ms ease-in-out;
        opacity: 0.4;
    }

    .close-menu-label hr{
        width: 80%;
        height: 7%;
        border: none;
        background-color: var(--white-color);
    }

    .l1 {
        transform: translate(0, 100%);
        transition: all 500ms ease-in-out;
        margin-bottom: 25%;
    }
    .l2 {
        transition: all 750ms ease-in-out;
    }
    .l3 {
        transform: translate(0, -100%);
        transition: all 500ms ease-in-out;
        margin-top: 25%;
    }

    .close-menu:checked~.close-menu-label {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        border: solid 0.01rem white;
    }
    
    .close-menu:checked~.close-menu-label {
        cursor: pointer;
    }
    
    .close-menu:checked~.close-menu-label hr {
        width: 100%;
        margin: 0;
    }
    
    .close-menu:checked~.close-menu-label .l2 {
        width: 0;
        height: 0;
        transform: rotate(360deg);
    }
    
    .close-menu:checked~.close-menu-label .l1 {
        transform: translate(0, 50%) rotate(225deg);
    }
    
    .close-menu:checked~.close-menu-label .l3 {
        transform: translate(0, -50%) rotate(-225deg);
    }
    
    .close-menu:checked~.menu {
        display: block;
        transition: all 300ms ease-in-out;
    }

    .menu-spacing {
        display: none;
    }

}