@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

/* Reset e Configurações Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto Condensed", sans-serif;
}

body {
    background-color: #f2f2f2;
}

html {
    scroll-behavior: smooth;
}

:target {
    scroll-margin-top: 0.8em;
}

p {
    margin-bottom: 1.5rem;
}

a:link, a:visited, a:hover, a:active {
    text-decoration: none;
}

/* Menu e Navegação */
.menu-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 20px;
    z-index: 2002;
}

.navbar-toggle {
    background-color: transparent;
    border: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    z-index: 5000;
    position: fixed;
    top: 15px;
    right: 20px;
}


.navbar-toggle i {
    transition: transform 0.3s, content 0.3s;
    font-size: 28px;
    z-index: 5000;
}

#navbarToggleExternalContent {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 60vh;
    background-color: #D5D2CB;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease-in-out;
    z-index: 2000;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;

}

#navbarToggleExternalContent.show {
    right: 0;
}

#navbarToggleExternalContent::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    transform: rotate(45deg);
    background-color: #353841;
}


.nav-list {
    list-style-type: none;
    padding-left: 10%;
    margin: 0;
    text-align: center;
    width: 600px;
    text-align: left;
}

.nav-list li {
    margin: 15px 0;
}

.nav-list a {
    text-decoration: none;
    font-size: 2rem;
    color: #353841;
    display: inline-block;
    position: relative;
    transition: color 0.3s;
    text-align: left;
}

.nav-list a:hover {
    color: #353841;
    font-size: 3.5rem;
    font-weight: 800;
    transition: all 0.3s ease-in-out;
}

.nav-list a::after {
    content: "";
    display: block;
    width: 30%;
    height: 10px;
    background-color: #52caec;
    position: absolute;
    bottom: -5px;
    transition: width 0.3s ease-in-out;
}

.nav-list a:hover::after {
    width: 50%;
    transition: all 0.5s ease-in-out;
}

.header {
    background-image: url(../assets/secao1.jpg);
    height: 622px;
    width: 100%;
    position: relative;background-size: cover;
    background-position: center center;
}

/* Cabeçalho Geral */
.header-logo-pp {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.header-logo-pp ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-logo-pp ul li img {
    width: 130%;
    margin: 0 auto;
}

.header-logo-pp button {
    z-index: 10000;
    position: absolute;
}

/* Seções */
.banner-section {
    background-image: url(../assets/secao2.jpg);
    width: 100%;
    height: 661px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-position: center center;
    background-size: cover;
}

.banner-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 900px; /* Aumentado para acomodar imagem e texto lado a lado */
    gap: 2rem; /* Espaço entre imagem e texto */
}

.banner-image {
    flex-shrink: 0; /* Impede que a imagem encolha */
}

.banner-image img {
    max-width: 100%;
    height: auto;
    width: 450px; /* Tamanho fixo para a imagem no desktop */
}

.banner-content {
    color: #fff;
}

.highlight-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.highlight-text strong {
    color: #52caec;
}

.sub-text {
    font-size: 1.2rem;
    margin-top: 1rem;
    line-height: 1.5; /* Melhora a legibilidade */
}

.secao-3 {
    background-image: url(../assets/secao3.jpg);
    width: 100%;
    height: 663px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.secao-3-box {
    width: 800px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    color: #30333C;
}

.secao-3-box p {
    margin-top: 1.5rem;
    font-size: 1.5rem;
    letter-spacing: 5px;
    font-weight: 500;
}

.secao-3-box span {
    font-size: 1.2rem;
    text-align: center;
    font-weight: 600;
}

.secao-4 {
    background-image: url(../assets/secao4.jpg);
    height: 657px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-right: 30%;
}

.secao-4-box {
    width: 430px;
    color: #30333C;
}

.secao-4 p {
    margin-top: 1.5rem;
    font-size: 1.5rem;
    letter-spacing: 5px;
    font-weight: 500;
}

.secao-4 span {
    font-size: 1.2rem;
}

.secao-5 {
    background-image: url(../assets/secao5.jpg);
    height: 659px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.secao-5-box {
    width: 800px;
    color: #30333C;
    text-align: center;
    margin-top: 2rem;
    text-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.secao-5-p1 {
    font-size: 2rem;
    letter-spacing: 5px;
    font-weight: 500;
    color: #fff;
}

.secao-5-span {
    font-size: 1.8rem;
    color: #fff;
    text-align: center;
}

.secao-5-p2 {
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: #fff;
    font-weight: 600;
    margin-top: 10%;
}

/* Footer */
.footer {
    width: 100%;
    background-color: #30333c;
    height: 40vh;
    display: flex;
    justify-content: center;
}

.footer-box {
    width: 80%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row;
    font-size: 1.2rem;
    color: #fff;
}

.footer b {
    color: #52caec;
    font-size: 1.5rem;
}

.footer a {
    color: #f2f2f2;
}

.footer a:hover {
    color: #d1d1d1;
}

/* Quem Somos */
.header-qs {
    background-image: url(../assets/banner-qs.jpg);
    height: 430px;
    width: 100%;
    position: relative;
}

.nav-qs {
    margin-left: 70%;
    top: 10%;
    z-index: 100;
    position: relative;
}

.nav-qs button {
    position: absolute;
    right: 20px;
    background-color: transparent;
    border: none;
}

.header-logo-qs {
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    position: relative;
}

.header-logo-qs ul {
    margin: 0;
}

.header-logo-qs li {
    list-style: none;
}

.header-logo-qs img {
    height: 75px;
}
.header-section {
    width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin: 50px auto;
}

.header-section h1 {
    color: #f2f2f2;
    font-size: 4rem;
    margin-top: 7rem;
    text-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
    margin-bottom: 3rem;
}
.header-section-qs {
    width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin: 50px auto;
}

.header-section-qs h1 {
    color: #f2f2f2;
    font-size: 4rem;
    margin-top: 7rem;
    text-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.secao-1qs {
    background-image: url(../assets/secao1-qs.jpg);
    width: 100%;
    height: 1129px;
}

.secao-1qs-text-box {
    margin: 0 auto;
    color: #31343d;
    width: 50%;
    height: 40vh;
    padding-top: 2%;
    text-align: center;
}

.secao-1qs-text-box b {
    color: #52caec;
}

.secao-1qs-text-box p {
    font-size: 2.5rem;
    font-weight: 600;
}

.secao-1qs-text-box span {
    font-size: 1.4rem;
    font-weight: 400;
}

.secao-1qs-imgs {
    display: flex;
    margin: 0 auto;
    justify-content: space-evenly;
    width: 70%;
    gap: 5%;
}

.secao-1qs-img1, .secao-1qs-img2 {
    width: 30%;
}

.secao-1qs-img1 p, .secao-1qs-img2 p {
    font-size: 1.5rem;
    font-weight: 600;
    padding: 30px 0 0 40px;
    text-align: left;
}

/* Header AA */
.header-aa {
    background-image: url(../assets/banner-aa.jpg);
    height: 564px;
    width: 100%;
    position: relative;
}

.header-section-aa {
    width: 850px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin: 0 auto;
    color: #f2f2f2;
}

.header-section-aa h1 {
    color: #f2f2f2;
    font-size: 4rem;
    margin-top: 12rem;
    text-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.header-section-aa p {
    color: #f2f2f2;
    font-size: 1.2rem;
}

.secao-aa {
    background-image: url(../assets/secao1-qs.jpg);
    height: 1129px;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
}

.secao-aa-text-box {
    width: 45%;
    height: 821px;
    padding: 100px 50px 30px 0px;
}

.secao-aa-text-bloco {
    width: 60%;
    display: flex;
    justify-content: right;
    flex-direction: column;
    float: right;
}

#titulo-texto {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 5px;
}

#descricao-texto {
    font-size: 1rem;
    line-height: 25px;
    text-align: justify;
    text-justify: inter-word;
}

.secao-aa-imagem {
    width: 35%;
    height: 821px;
}

.secao-aa-menu {
    width: 25%;
    max-height: 821px;
    overflow-y: auto;
    background-color: #52caec;
    display: flex;
    align-items: center;
}

.secao-aa-menu ul {
    list-style-type: none;
    padding: 0;
    font-size: 1.6rem;
    width: 50%;
}

.secao-aa-menu li {
    cursor: pointer;
    padding-top: 20px;
    padding-left: 50px;
    margin-bottom: 10px;
    text-align: left;
    transition: all 0.3 ease-out;
}

.secao-aa-menu li:hover {
    text-decoration: underline;
    line-height: 35px;
    font-weight: 700;
}

/* Projetos Principais - Refatorado */
.header-pp {
    background-image: url(../assets/banner-pp.jpg);
    height: 565px;
    width: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
}

.nav-pp {
    margin-left: 70%;
    top: 10%;
    z-index: 100;
    position: relative;
}

.nav-pp button {
    right: 20px;
    position: absolute;
}

.header-section-pp {
    width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin: 75px auto;
}

.header-section-pp h1 {
    color: #f2f2f2;
    font-size: 4rem;
    margin-top: 7rem;
    text-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.header-section-pp p {
    color: #f2f2f2;
}

.secao-1pp {
    background-image: url(../assets/bg-pp.jpg);
    width: 100%;
    height: auto;
    padding-bottom: 50px;
    background-size: cover;
    background-position: center;
}

.secao-1pp-text-box {
    margin: 0 auto;
    color: #31343d;
    width: 50%;
    min-height: 20vh;
    padding: 2% 0;
    text-align: center;
}

.secao-1pp-text-box b {
    color: #52caec;
}

.secao-1pp-text-box p {
    font-size: 2.5rem;
    font-weight: 600;
}

.secao-1pp-text-box span {
    font-size: 1.4rem;
    font-weight: 400;
}

.secao-1pp-imgs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 5% auto 0;
    width: 60%;
}

/* Grid items positioning */
.project-item.p1.image { grid-area: 1 / 1; }
.project-item.p1.text  { grid-area: 1 / 2; }
.project-item.p2.text  { grid-area: 2 / 1; }
.project-item.p2.image { grid-area: 2 / 2; }
.project-item.p3.text  { grid-area: 3 / 1; } /* Nova posição para o antigo p4 */
.project-item.p3.image { grid-area: 3 / 2; } /* Nova posição para o antigo p4 */
.project-item.p4.image { grid-area: 4 / 1; } /* Nova posição para o antigo p3 (note a troca de layout) */
.project-item.p4.text  { grid-area: 4 / 2; } /* Nova posição para o antigo p3 (note a troca de layout) */
.project-item.p5.image { grid-area: 5 / 1; }
.project-item.p5.text  { grid-area: 5 / 2; }


.project-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.project-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    text-align: left;
    padding: 10px;
}

.project-text h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5em;
}

.project-text p {
    font-size: 1.5rem;
    margin-bottom: 0.5em; /* Adjusted margin for paragraphs */
}

/* Contato */
.contato {
    background-image: url(..../assets/bg-pp.jpg);
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.form-contato {
    background-color: #f2f2f2;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 700px;
    height: 959px;
    width: 90%;
}

.form-contato h2 {
    font-size: 42px;
    margin-top: 10%;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20%;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.form-group textarea {
    height: 150px;
    resize: none;
    border-radius: 25px;
    padding: 10px 20px;
}

.form-contato button {
    background: #00D1D6;
    color: #30333C;
    font-size: 18px;
    border: none;
    padding: 15px;
    border-radius: 25px;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
    margin-top: 10px;
    font-weight: 600;
}

button:hover {
    background: #01bbbe;
}

/* Media Queries */

/* 1600px */
@media (max-width: 1600px) {
    .header {
        background-size: cover;
        background-position: center center;
    }

    .header-section{
        width: 600px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        text-align: center;
        margin: 50px auto;
    }
    
    .header-section h1 {
        color: #f2f2f2;
        font-size: 4rem;
        margin-top: 9rem;
        text-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
        margin-bottom: 4rem;
    }

    .banner-container {
        width: 800px; /* Reduz a largura do container */
    }

    .banner-image img {
        width: 400px; /* Reduz o tamanho da imagem */
    }

    .secao-5 {
        background-size: cover;
        background-position: center center;
    }
}

/* 1400px */
@media (max-width: 1400px) {
    #navbarToggleExternalContent {
        height: 80vh;
    }

    .header {
        background-size: cover;
        background-position: center center;
    }

    .header-section {
        width: 600px;
    }

    .header-section h1 {
        font-size: 3rem;
    }

    .banner-container {
        width: 700px; /* Reduz ainda mais o container */
    }

    .banner-image img {
        width: 350px; /* Imagem menor */
    }

    .highlight-text {
        font-size: 1.4rem; /* Reduz levemente o tamanho da fonte */
    }

    .sub-text {
        font-size: 1.1rem; /* Ajuste proporcional */
    }

    .secao-3-box {
        width: 600px;
    }

    .secao-4-box {
        width: 400px;
    }

    .header-pp {
        height: 500px;
    }

    .nav-pp {
        margin-left: 60%;
    }

    .header-section-pp {
        width: 500px;
        margin: 50px auto;
    }

    .header-section-pp h1 {
        font-size: 3.5rem;
        margin-top: 6rem;
    }

    .secao-1pp-text-box {
        width: 60%;
    }

    .secao-1pp-text-box p {
        font-size: 2.2rem;
    }

    .secao-1pp-text-box span {
        font-size: 1.3rem;
    }

    .secao-1pp-imgs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 5% auto 0;
    width: 60%;
}

    .project-text h1 {
        font-size: 1.6rem;
    }

    .project-text p {
        font-size: 1.4rem;
    }

    .secao-1qs {
        background-size: cover;
        height: 100%;
    }

    .secao-1qs p{
        font-size: 1.5rem;
    }

    .secao-1qs span {
        font-size: 1rem;
    }

    .secao-1qs-imgs{
        padding: 3% 0 3% 0;
    }
    .secao-1qs-imgs img{
        width: 100%;
    }

    .secao-1qs-img1 p {
        font-size: 1.3rem;
    }
    .secao-1qs-img2 p {
        font-size: 1.3rem;
    }

    .secao-aa-text-bloco{
        width: 80%;
    }

    .secao-aa-text-box {
        width: 40%;
    }
}

@media screen and (max-width: 1366px) {
    .secao-aa-menu ul {
    list-style-type: none;
    padding: 0;
    font-size: 1.3rem;
    width: 50%;
}

.secao-aa-menu li {
    cursor: pointer;
    padding-top: 20px;
    padding-left: 40px;
    margin-bottom: 10px;
    text-align: left;
    transition: all 0.3 ease-out;
}
}

/* 768px (tablets) */
@media (max-width: 768px) {
    .header-section {
        width: 500px;
    }

    .header-section h1 {
        font-size: 2.5rem;
    }

    .secao-3-box {
        width: 400px;
    }

    .secao-4-box {
        width: 300px;
    }

    .header-pp {
        height: 400px;
    }

    .nav-pp {
        margin-left: 0;
        top: 5%;
        text-align: center;
        width: 100%;
    }

    .nav-pp button {
        position: relative;
        right: 0;
    }

    .header-section-pp {
        width: 80%;
        margin: 30px auto;
    }

    .header-section-pp h1 {
        font-size: 2.5rem;
        margin-top: 4rem;
    }

    .secao-1pp {
        padding-bottom: 20px;
    }

    .secao-1pp-text-box {
        width: 80%;
        padding-top: 5%;
    }

    .secao-1pp-text-box p {
        font-size: 1.8rem;
    }

    .secao-1pp-text-box span {
        font-size: 1.2rem;
    }

    .secao-1pp-imgs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Define 5 linhas, uma para cada projeto */
    grid-template-rows: repeat(5, auto);
    gap: 40px;
    align-items: center;
    margin: 5% auto 0;
    width: 60%;
}
    
    /* Stacking order for single column */
.project-item.image:nth-child(4n-3) {
    grid-column: 1;
}
/* Seleciona o texto do 1º, 3º e 5º projeto */
.project-item.text:nth-child(4n-2) {
    grid-column: 2;
}

/* Linhas PARES (2, 4): Texto à esquerda | Imagem à direita */
/* Seleciona o texto do 2º e 4º projeto */
.project-item.text:nth-child(4n-1) {
    grid-column: 1;
}
/* Seleciona a imagem do 2º e 4º projeto */
.project-item.image:nth-child(4n) {
    grid-column: 2;
}
    
    .project-text {
        align-items: center;
        text-align: center;
    }

    .project-text h1 {
        font-size: 1.5rem;
    }

    .project-text p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    /* Geral */
    body {
        height: auto;
        background-color: #D5D2CB;
        overflow-x: hidden; /* Impede o scroll horizontal */
    }

    .header-section {
        width: 100%;
        max-width: 100%;
        margin-top: 4rem;
        box-sizing: border-box;
    }

    .header-section h1 {
        font-size: 2.4rem;
    }

    .header-logo {
        justify-content: flex-start;
        padding-left: 10px;
    }

    .header-logo img {
        width: 200px;
        max-width: 100%;
    }

    /* Menu Toggle */
    .navbar-toggle {
        font-size: 24px;
        top: 10px;
        display: flex;
        float: right;
        right: 0px;
    }

    .navbar-toggle button {
        display: flex;
        right: 0;
        justify-content: flex-end;
    }

    #navbarToggleExternalContent {
        width: 100%;
        height: 50vh;
        right: -100%; /* Esconde o menu fora da tela */
        position: fixed;
        top: 0;
        transition: right 0.3s ease;
        text-align: center; /* Centraliza os textos */
        background-color: #D5D2CB; /* Cor de fundo original */
        z-index: 2000;
        overflow-y: auto;
        overflow-x: hidden;
        font-weight: 500;
    }

    #navbarToggleExternalContent.show {
        right: 0; /* Mostra o menu quando ativado */
        height: 50vh;
    }

    .nav-list {
        width: 50%;
        margin: 0;
    }

    .nav-list a {
        font-size: 1.2rem; /* Tamanho da fonte original */
        color: #353841; /* Cor do texto */
        text-decoration: none;
        margin: 0 auto;
        text-align: left; /* Alinha o texto ao centro */
    }

    .nav-list a:hover {
        font-size: 2rem; /* Efeito hover */
        color: #353841; /* Cor do hover */
        text-align: left;
        font-weight: 800;
    }

    .nav-list ul {
        text-align: left;
    }

    .banner-section {
        height: auto;
        min-height: 400px;
        padding: 20px 0;
        width: 100%;
        overflow: hidden;
        background-color: #30333C;
    }

    .banner-container {
        flex-direction: column;
        width: 100%;
        max-width: 90%;
        gap: 1.5rem;
        box-sizing: border-box;
    }

    .banner-image img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .highlight-text {
        font-size: 1.5rem;
        text-align: center;
        line-height: 30px;
    }

    .sub-text {
        font-size: 1rem;
        margin-top: 0.5rem;
        text-align: center;
    }

    .secao-3-box, .secao-4-box, .secao-5-box {
        width: 100%;
        max-width: 90%;
        box-sizing: border-box;
    }

    .secao-3 p {
        text-align: center;
    }

    .secao-4 {
        padding: 0;
    }

    .secao-4-box {
        text-align: center;
    }

    .secao-4 p {
        text-align: center;
    }

    .secao-4 span {
        text-align: justify;
        padding: 0;
        text-justify: inter-word;
    }

    .secao-5 {
        background-size: cover;
        background-position: center center;
        padding: 20px 0;
        width: 100%;
        overflow: hidden;
    }

    .secao-5-box {
        width: 100%;
        max-width: 90%;
        margin-top: 1rem;
        box-sizing: border-box;
    }

    .secao-5-p1 {
        font-size: 1.5rem;
        letter-spacing: 3px;
    }

    .secao-5-span {
        font-size: 1.3rem;
    }

    .secao-5-p2 {
        font-size: 1rem;
        letter-spacing: 1px;
        margin-top: 5%;
    }

    /* Footer */
    .footer {
        height: 70vh;
        width: 100%;
        padding: 50px 0; /* Espaçamento vertical */
        background-color: #333; /* Cor de fundo original */
        color: #fff; /* Cor do texto */
        text-align: center; /* Centraliza os textos */
    }

    .footer-box {
        flex-direction: column; /* Elementos em coluna */
        align-items: center; /* Centraliza os itens */
        justify-content: space-around; /* Centraliza verticalmente */
        width: 100%;
        box-sizing: border-box;
        padding: 20px 0;

    }

    .footer img {
        width: 100px; /* Tamanho da imagem */
        max-width: 100%;
        margin-bottom: 20px; /* Espaçamento abaixo da imagem */
    }



    /* Quem Somos */
    .nav-qs {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-left: 0;
        top: 0;
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .header-logo-qs {
        flex: 1;
        display: flex;
    }

    .header-qs {
        background-size: cover;
        background-position: center center;
    }

    .header-section-qs {
        width: 100%;
        margin-top: 4rem;
        box-sizing: border-box;
    }

    .header-section-qs h1 {
        font-size: 3rem;
    }

    .secao-1qs {
        background-size: contain;
        height: 100%;
    }

    .secao-1qs-text-box {
        width: 100%;
        height: auto;
        padding-top: 5%;
        box-sizing: border-box;
    }

    .secao-1qs-text-box p {
        font-size: 1.4rem;
    }

    .secao-1qs-text-box span {
        font-size: 1.1rem;
    }

    .secao-1qs-imgs {
        display: block;
        width: 100%;
        gap: 10%;
    }

    .secao-1qs-img1, .secao-1qs-img2 {
        margin-top: 30px;
        width: 100%;
        text-align: center;
    }

    .secao-1qs-img1 img, .secao-1qs-img2 img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .secao-1qs-img1 p, .secao-1qs-img2 p {
        font-size: 1.3rem;
        padding: 20px 0;
        width: 80%;
        margin: 0 auto;
        text-align: center;
    }

    /* Header AA */
    .header-aa {
        height: auto;
        padding: 20px 0;
    }

    .header-section-aa {
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
    }

    .header-section-aa h1 {
        font-size: 2.5rem;
        margin-top: 5rem;
    }

    .header-section-aa p {
        font-size: 1rem;
        text-align: center;
        display: flex;
        flex-direction: row;
    }

    .nav-qs button {
        font-size: 24px;
        z-index: 200;
    }

    .collapse .text-muted {
        font-size: 0.9rem;
    }

    .nav-qs {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px;
    }

    #navbarToggleExternalContent .text-muted {
        font-size: 1.5rem;
    }

    .header-logo-qs img {
        height: 50px;
        max-width: 100%;
    }

    .secao-aa {
        flex-direction: column;
        height: auto;
    }
/* Estilos gerais para a seção do menu */
.secao-aa-menu {
    width: 100%;
    padding: 10px 0;
    overflow-x: auto; /* Habilita a rolagem horizontal */
    white-space: nowrap; /* Impede que os itens quebrem linha */
    -webkit-overflow-scrolling: touch; /* Suaviza a rolagem no iOS */
    box-sizing: border-box; /* Para garantir que o padding não interfira na largura */
    position: relative;
    border-bottom: 2px solid #ccc; /* Apenas para criar uma separação visual */
}

/* Estilos para os itens da lista */
.secao-aa-menu ul {
    display: inline-flex; /* Exibe os itens horizontalmente */
    padding: 0;
    margin: 0;
}

.secao-aa-menu li {
    font-size: 1.1rem;
    padding: 15px 20px;
    text-align: center;
    margin: 0 10px; /* Espaçamento entre os itens */
    white-space: nowrap; /* Impede quebra de linha */
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s ease; /* Animação suave */
    border-radius: 5px; /* Bordas arredondadas para uma aparência mais amigável */
}

/* Efeito de hover (passar o mouse ou tocar no item) */
.secao-aa-menu li:hover {
    background-color: #f0f0f0;
    transform: scale(1.05); /* Leve aumento de tamanho no hover/touch */
    text-decoration: underline;
    font-weight: bold;
}

/* Barra de rolagem personalizada para dispositivos móveis */
.secao-aa-menu::-webkit-scrollbar {
    height: 8px; /* Controla a altura da barra de rolagem */
}

.secao-aa-menu::-webkit-scrollbar-thumb {
    background-color: #888; /* Cor do "thumb" da barra */
    border-radius: 10px; /* Borda arredondada para um design mais amigável */
}

.secao-aa-menu::-webkit-scrollbar-thumb:hover {
    background-color: #555; /* Cor quando o usuário passa o mouse em cima */
}

.secao-aa-menu::-webkit-scrollbar-track {
    background: #f1f1f1; /* Cor de fundo da trilha da barra de rolagem */
    border-radius: 10px;
}

    
.secao-aa-imagem {
    /* Sem necessidade de ajustes adicionais para a imagem diretamente */
    width: 100%; /* Garante que o contêiner ocupe a largura total */
    height: auto; /* Garante que o contêiner seja redimensionado proporcionalmente */
    order: 3;
}

.secao-aa-imagem img {
    /* Redimensiona a imagem para que ela se ajuste à largura da tela */
    width: 100%; /* Faz a imagem ocupar 100% da largura disponível */
    height: auto; /* Mantém a proporção da imagem */
}

    .secao-aa-text-box {
        width: 100%;
        padding: 20px;
        height: auto;
        order: 2;
        box-sizing: border-box;
    }

    .secao-aa-text-bloco {
        width: 100%;
        text-align: center;
        padding: 0 20px;
    }

    #titulo-texto {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    #descricao-texto {
        font-size: 1rem;
        line-height: 30px;
        text-align: justify;
        text-justify: center;
    }

    /* Projetos Principais */
    .header-pp {
        height: 300px;
        background-position: center center;
    }

    .nav-pp {
        top: 2%;
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    .header-logo-pp ul li img {
        width: 100%;
        margin: 0 auto;
    }




    .header-logo-pp button {
        position: absolute;
        top: 30px;
        background-color: transparent;
        border: none;
    }

    .header-section-pp {
        width: 100%;
        margin: 40px auto;
        text-align: center;
        box-sizing: border-box;
    }

    .header-section-pp h1 {
        font-size: 2.4rem;
        margin-top: 3%;
        padding: 0;
    }

    .header-section-pp p {
        font-size: 1.1rem;
    }

    .secao-1pp-text-box {
        width: 90%;
        padding-top: 8%;
        box-sizing: border-box;
    }

    .secao-1pp-text-box p {
        font-size: 1.5rem;
    }

    .secao-1pp-text-box span {
        font-size: 1rem;
    }

    .secao-1pp-imgs {
        width: 90%;
        gap: 15px;
    }
    
    .project-text h1 {
        font-size: 1.3rem;
    }

    .project-text p {
        font-size: 1.1rem;
    }

    /* Contato */
    .form-contato {
        padding: 50px 30px;
        border-radius: 10px;
        height: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .form-contato h2 {
        font-size: 24px;
        margin-top: 0;
    }

    .form {
        gap: 10px;
        margin-top: 5%;
    }

    .form-row {
        flex-direction: column;
    }

    .form-group {
        flex: none;
    }

    .form-group input,
    .form-group textarea {
        padding: 6px;
        font-size: 13px;
        border-radius: 10px;
    }

    .form-group textarea {
        height: 80px;
        padding: 6px 10px;
    }

    .form-contato button {
        font-size: 14px;
        padding: 10px;
        border-radius: 10px;
    }
}

#notification {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

/* Estilo para mensagem de sucesso */
#notification.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Estilo para mensagem de erro */
#notification.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}