@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --azul-escuro: #5A6B7B;
    --cinza-medio: #666666;
    --cinza-claro: #969696;
    --preto: #000000;
    --branco: #FFFFFF;
    --vinho: #800020;
    --whatsapp: #009414;
}

* {
    margin: 0;
    padding: 0;
    font-family: "Open Sans";
    scroll-behavior: smooth;
    scroll-margin-top: 1rem;
    max-width: 100vw;
}

body {
    width: 100%;
    height: 100%;
    background-color: var(--branco);
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

main {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 7.5rem;
}

.img-principal {
    position: relative;
    width: 95%;
    height: 680px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-image: url(images/Tela.jpg);
    /* linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),  */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 1rem;
    margin-top: 7.5rem;
}

.img-desc {
    cursor: default;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    gap: 2rem;

}

.img-desc1{
    margin-top: 35rem;
    cursor: pointer;
    background-color: transparent;
    color: var(--branco);
    border: 2px solid var(--branco);
    letter-spacing: 1px;
    padding: 10px 25px;
    border-radius: 30px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
    font-size: 1rem;
    font-family: "Montserrat";
    color: var(--branco);
    text-decoration: none;
    transition: 0.35s;
}

.img-desc1:hover {
    text-shadow: 0 0 20px var(--cinza-medio);
    transform: scale(1.1);
    transition: 0.35s;
}

.first{
    width: 100%;
    font-size: 1.5rem;
    font-family: "Montserrat";
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    margin-top: -3rem;
}

.first-posts {
    width: 60%;
    height: 100%;
    display: flex;
    justify-content: center;
    background: var(--branco);
    border: 1px solid var(--branco);
    padding: 0.75rem 0.75rem;
    border-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    margin-top: 1rem;
    margin-bottom: 7.5rem;
}

.first-posts1 {
    color: var(--azul-escuro);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: start;
    justify-content: space-evenly;
}

.first-posts1 div{
    width: 25%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.first-posts1 div i {
    width: 3rem;
    border: 0.2rem solid var(--azul-escuro);
    padding: 1.5rem;
    border-radius: 10rem;
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.35s;
}

.first-posts1 div i:hover {
    transform: scale(1.1);
    transition: 0.35s;
}

.first-posts1 div p {
    font-family: "Montserrat";
    font-size: 1rem;
    font-weight: bold;
}

.sobre {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 1.5rem;
    gap: 1.5rem;
    font-family: "Montserrat";
}

.descricao {
    width: 60%;
    height: 100%;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    text-align: justify;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: "Open Sans";
    margin-bottom: 2rem;
}

.quem-somos {
    position: relative;
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    text-align: justify;
    margin-bottom: 10rem;
}

.quem-somos-p { 
    position: relative;
    width: 40%;
    background: var(--branco);
    border: 1px solid var(--branco);
    padding: 0.4rem 0.75rem 0.4rem 5rem;
    border-radius: 0rem 1rem 1rem 0rem;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    text-align: justify;
    gap: 1rem;
    font-family: "Open Sans";
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1rem;
    right: 20px;
    z-index: 1;
}

.quem-somos-h3 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12.5%;
    cursor: default;
    background: var(--azul-escuro);
    border: 1px solid var(--azul-escuro);
    padding: 0.4rem 0.75rem;
    border-radius: 1rem 0rem 0rem 1rem;
    font-size: 2rem;
    font-family: "Open Sans";
    color: var(--branco);
    transition: 0.35s;
    left: 20px;
    z-index: 2;
}

.quem-somos-h3:hover{
    border-radius: 1rem 0rem 2.5rem 1rem;
    transition: 0.35s;
}

.servicos {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 1.5rem;
    gap: 1.5rem;
    font-family: "Montserrat";
}

.faq-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 1.5rem;
    gap: 2rem;
    font-family: "Montserrat";
}

.faq-container2 {
    width: 50%;
    margin-bottom: 7.5rem;
}

.faq-item {
    border-top: 2px solid var(--azul-escuro);
    padding: 15px 0;
}

.faq-question {
    background: none;
    border: none;
    color: var(--azul-escuro);
    text-align: justify;
    font-size: 1.25rem;
    width: 100%;
    cursor: pointer;
    padding: 0;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question::after {
    content: '▾';
    transition: transform 0.45s ease;
    font-size: 2rem;
    margin-left: 10px;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    height: 0;
    overflow: hidden;
    transition: 
        height 0.3s ease, 
        opacity 0.3s ease, 
        margin-top 0.3s ease;
    color: var(--preto);
    opacity: 0;
    margin-top: 0.5rem;
    font-size: 1.3rem;
    font-family: "Lato";
}

.faq-item.active .faq-answer {
    opacity: 1;
    margin-bottom: 1rem;
}

.contato {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 1.5rem;
    gap: 1.5rem;
    font-family: "Montserrat";
}

.servicos {
    width: 75%;
}

.servicos h2 {
    text-align: center;
    font-size: 2.25rem;
    color: var(--preto);
}

.tabs-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-bottom: 7.5rem;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.tabs {
    flex: 1 1 250px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tab {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #e2e6ea;
    border: none;
    border-left: 4px solid transparent;
    padding: 12px 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 8px;
}

.tab.active {
    background: #c5ccd3;
    border-left-color: var(--azul-escuro);
    transform: translateX(2px);
}

.tab:hover {
    background: #d3d8de;
}

.tab-content {
    flex: 2 1 600px;
    background: var(--branco);
    border-radius: 10px;
    padding: 20px;
}

.content {
    display: none;
    animation: fadeIn 0.35s ease-in-out;
    text-align: justify;
}

.content.active {
    display: block;
}

.content.active h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.content.active p {
    font-size: 1.5rem;
    margin: 2rem;
}

.content.active ul li{
    font-size: 1rem;
    margin: 0.5rem;
}

ul {
    padding-left: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}