:root{
    --default:'Atkinson Hyperlegible';
    --blue:#1891ff;
    --dark:#333;
}
body{
    background: #fff;
}
body.disablescroll{
    overflow-y:hidden;
}
.container{
    width: 1300px;
    margin: 0 auto 0 auto;
}

header{
    position: fixed;
    width: 100%;
    left: 0; top: 0;
    z-index: 9999;
    padding: 20px 0;
    transition: 0.3s;
    backdrop-filter: blur(3px);
}

header.mission{
    position: fixed;
    width: 100%;
    left: 0; top: 0;
    z-index: 9999;
    padding: 10px 0;
    transition: 0.3s;
    background-color: #0346FA;
}

header.fixed{
    background: #0346FA;
    padding: 10px 0;
    box-shadow: 5px 5px 5px rgba(0,0,0,0);
}


a.logo img{
    /* float: left; -- REMOVIDO/SOBRESCRITO */
    width: 180px; height: auto;
}


a.showmenu, a.hidemenu{
    display: none;
}

/* Alterar .menublock para ser um contentor flex */
.menublock{
    /* float: right; -- REMOVIDO/SOBRESCRITO */
    margin: 0; /* Remover margem antiga se houver */
    display: flex; /* Torna-o um contentor flex */
    align-items: center; /* Alinha nav e social verticalmente */
    gap: 20px; /* Espaço entre o menu principal e os ícones sociais no desktop */
}

/* Remover floats da nav e ul */
nav, nav ul {
    /* float: left; -- REMOVIDO/SOBRESCRITO */
    padding: 0; /* Remover padding padrão do ul */
    margin: 0; /* Remover margem padrão do ul */
}

/* Aplicar Flexbox ao ul */
nav ul {
    display: flex; /* Transforma a lista num contentor flexível */
    align-items: center; /* Alinha os itens da lista verticalmente ao centro */
    list-style: none; /* Remover marcadores de lista */
}

nav ul li {
    /* float: left; -- REMOVIDO/SOBRESCRITO */
    font-family: var(--default);
    font-size: 14px;
    color: #fff;
    margin-right: 8px; /* Mantém o espaçamento entre os itens do menu */
}

nav ul li img {
    margin-right: -50px;
}

nav ul li:last-of-type{
    margin-right: 0;
}
nav ul li a{
    /* float: left; -- REMOVIDO/SOBRESCRITO */
    color: #fff;
    text-decoration: none;
    padding: 12px 20px;
}

nav ul li.active a {
    position: relative;
    border-radius: 24px;
    display: inline-block;
}

nav ul li.active a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px; /* distância abaixo do texto */
    width: 100%;
    height: 6px; /* espessura da linha */
    background-color: #FF2E47;
    border-radius: 3px;
}


/* Regras para a div.social */
.social {
    /* float: right; -- REMOVIDO/SOBRESCRITO */
    padding: 10px; /* Mantém o padding se desejar */
    display: flex; /* Torna-o um contentor flex para os links sociais */
    align-items: center; /* Alinha os ícones verticalmente */
    gap: 19px; /* Adiciona espaçamento entre os ícones sociais (substitui margin-left no 'a') */
}

.social a {
    /* float: left; -- REMOVIDO/SOBRESCRITO */
    color: #fff;
    font-size: 18px;
    /* margin-left: 19px; -- REMOVIDO, AGORA USAMOS GAP NO PAI (.social) */
    transition: 0.8s;
}
.social a:hover{
    color: #FF2E47;
    transition: 0.3s;
}

/* --- Resto do seu CSS (não alterado) --- */

.banner{
    float: left;
    width: 100%;
   /* ---  background: url(images/banner/banner02.jpg);--- */
    background-size: cover;
    padding: 250px 0 250px 0;
}
.language-switch {
    display: flex;
    gap: 1px;
    align-items: center;
}
.bannervideo {
    position: relative;
    height: 100vh; /* Ajusta conforme o design */
    overflow: hidden;
    display: flex;
    align-items: center; /* Centraliza o conteúdo verticalmente */
}

.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que o vídeo cobre o espaço sem distorção */
    z-index: -1; /* Coloca o vídeo atrás do conteúdo */
}

.banner .container {
    position: relative;
    z-index: 1; /* Garante que o texto fique sobre o vídeo */
    text-align: center;
    color: #fff; /* Texto em branco para visibilidade */
}

.banner .text{
    text-align: center;
    font-family: var(--default);
}
.banner .text h1{
    font-size: 72px;
    color: #fff;
    margin-bottom: 20px;
}
.banner .text p{
    font-size: 18px;
    color: #fff;
    margin-bottom: 50px;
}
.banner .text a{
    font-size: 21px;
    color: #fff;
    text-decoration: none;
    font-style: italic;
    padding: 12px 20px;
    border-radius: 24px;
    border: 1px solid #FF2E47;
}

.banner .text a:hover{
    background-color: #FF2E47 ;
    color: #fff;
    transition: 0.3s;
}

.banner .visual{
    float: right;
    width: 58%;
}


.about{
    float: left;
    width: 100%;
    padding: 100px 0 100px 0;
}
.about .text{
    float: left;
    width: 100%;
    font-family: var(--default);
}
.about .text h2{
    width: 30%;
    font-size: 72px;
    color: #000;
    margin-bottom: 50px;
}
.about .text .para{
    width: 58%;
}
.about .text p{
    font-size: 18px;
    color: #000;
    margin-bottom: 20px;
}
.about .visual{
    float: left;
    width: 100%;
    margin-top: 60px;
    margin-bottom: 60px;
}
.about .visual img{
    float: left;
    width: 100%;
    height: auto;
    aspect-ratio: 16/8;
}



.services {
    float: left;
    width: 100%;
    padding: 100px 0 10px 0;
    font-family: var(--default);
}

.services h2 {
    font-size: 72px;
    color: #FF2E47;
    margin-bottom: 10px;
    text-align: center;
}

.services p {
    font-size: 16px;
    color: #0346FA;
    margin-bottom: 50px;
    text-align: center;
}

.services-items {
    /* float: left; -- Pode ser alterado para flex no futuro se quiseres */
    width: 100%;
}
.services-items .item {
    float: left; /* Manter float para os items de serviço, se preferir o layout atual */
    width: 30%;
    margin-bottom: 60px;
    padding: 40px 40px;
    text-align: center;
    background: #fff;
    color: #000;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    height: 300px;
}
.services-items .item.type {
    border: 1px solid #FF2E47;
    color: #0346FA;
}
.services-items .hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.services-items .item:hover .hover-image {
    opacity: 1;

}
.services-items .item:hover {
    color: #fff;
    background-color: #FF2E47;
}
.services-items .item:hover h3,
.services-items .item:hover p {
    color: #fff;
    position: relative;
    z-index: 1;
}

.services-items .item i{
    color: #f8ab0f;
    width: 60px; height: 60px;
    font-size: 48px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.services-items .item h3{
    font-size: 30px;
    margin-bottom: 20px;
    text-align: left;
}

.services-items .item p{
    font-size: 16px;
    text-align: left;
}




.team {
    float: left;
    width: 100%;
    padding: 100px 0 50px 0;
    font-family: var(--default);
    background-color: #fff;
}
.team h2 {
    font-size: 72px;
    color: #FF2E47;
    margin-bottom: 10px;
    text-align: center;
}

.team p {
    font-size: 16px;
    color: #0346FA;
    margin-bottom: 30px;
    text-align: center;
}

.team-items {
    float: left;
    width: 100%;
}
.team-items .item {
    float: left;
    width: 30%;
    margin-bottom: 60px;
    padding: 120px 40px;
    text-align: center;
    background: #fff;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    height: 300px;
}

.team-items .item:hover {
    background-color: #0346FA;
}
.team-items .item .hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 0.3s ease-in-out;
}
.team-items .hover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-items .item:hover .hover-image {
    opacity: 0;
}
.team-items .item h3,
.team-items .item p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    color: #fff;
    z-index: 1;
}
.team-items .item:hover h3,
.team-items .item:hover p {
    opacity: 1;
}

.team-items .item h3 {
    width: 100%;
    font-size: 30px;
    text-align: center;
    margin-top: 0px;
}

.team-items .item p {
    font-size: 16px;
    margin-top: 30px;
}


.contact{
    float: left;
    width: 100%;
    background: #FF2E47;
    padding: 100px 0;
    font-family: var(--default);
}
.contact h2{
    font-size: 72px;
    color: #fff;
    margin-bottom: 50px;
}
.contact-options{
    float: left;
    width: 100%;
    height: auto;
    margin: 0 0 0 0;
}
.formarea{
    float: left;
    width: 60%;
}
form.contactform{
    float: left;
    width: 100%;
}
form.contactform fieldset{
    float: left;
    width: 100%;
    border: none;
    margin-bottom: 30px;
}
form.contactform fieldset.half{
    width: 48%;
}
form.contactform fieldset.full{
    width: 100%;
}
form.contactform fieldset label{
    float: left;
    width: 100%;
    font-size: 16px;
    color: #fff;
    margin-bottom: 10px;
}
form.contactform fieldset input,
form.contactform fieldset textarea{
    float: left;
    width: 100%;
    height: 48px;
    font-size: 16px;
    color: #000;
    margin-bottom: 10px;
    border: none;
    outline: 0;
    padding: 0 0 0 20px;
}
form.contactform fieldset textarea{
    height: 160px;
    padding: 20px;
}
form.contactform button {
    float: left;
    width: 190px;
    height: 52px;
    border: 1px solid #0346FA;
    background: none;
    cursor: pointer;
    text-align: center;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    border-radius: 24px;
}

form.contactform button:hover {
    background: #0346FA;
    transition: 0.3s;
}

.contact-info{
    float: right;
    width: 35%;
}
.contact-info ul{
    float: left;
    width: 100%;
}
.contact-info ul li{
    font-size: 18px;
    color: #fff;
    margin-bottom: 25px;
}
.contact-info ul li a{
    color: #fff;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 20px;
}
footer{
    float: left;
    width: 100%;
    background: #0346FA;
    padding: 40px 0;
}
footer .copyright{
    float: left;
    color: #fff;
    font-size: 16px;
    font-family: var(--default);
}
footer .copyright a{
    color: #fff;
    text-decoration: none;
}
footer .social{
    float: right;
}
footer .social a{
    float: left;
    color: #fff;
    font-size: 18px;
    margin-left: 19px;
    transition: 0.8s;
}
footer .social a:hover{
    color: #FF2E47;
    transition: 0.3s;
}


.projects {
    float: left;
    width: 100%;
    padding: 100px 0 50px 0;
    font-family: var(--default);
    background-color: #fff;
}

.projects h2 {
    font-size: 72px;
    color: #FF2E47;
    margin-bottom: 10px;
    text-align: center;
}

.projects p {
    font-size: 16px;
    color: #0346FA;
    margin-bottom: 30px;
    text-align: center;
}

/* Layout Desktop: Grid para projetos */
.projects-items {
    display: grid;
    grid-template-columns: 2fr 1fr;      /* Coluna maior à esquerda, coluna menor à direita */
    grid-template-rows: repeat(2, 300px); /* Duas linhas iguais */
    gap: 40px;
    width: 100%;
}

/* Item grande (primeiro) ocupa 2 linhas na coluna 1 */
.projects-items .item:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    padding: 120px 40px;
    text-align: center;
    background: #fff;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

/* Itens pequenos à direita, com padding menor para ajustar */
.projects-items .item:nth-child(2),
.projects-items .item:nth-child(3) {
    grid-column: 2 / 3;
    padding: 60px 40px;
    text-align: center;
    background: #fff;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

/* Ajuste específico para linha de cada item pequeno */
.projects-items .item:nth-child(2) {
    grid-row: 1 / 2;
}

.projects-items .item:nth-child(3) {
    grid-row: 2 / 3;
}

/* Hover para todos os items */
.projects-items .item:hover {
    background-color: #0346FA;
}

/* Imagem de fundo com efeito hover */
.projects-items .item .hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
    background-size: cover;
    background-position: center;
}

/* Quando hover, imagem desaparece */
.projects-items .item:hover .hover-image {
    opacity: 0;
}

/* Texto centralizado e oculto, aparece no hover */
.projects-items .item h3,
.projects-items .item p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    color: #fff;
    z-index: 1;
}

.projects-items .item:hover h3,
.projects-items .item:hover p {
    opacity: 1;
}

.projects-items .item h3 {
    width: 100%;
    font-size: 30px;
    text-align: center;
    margin-top: 0px;
}

.projects-items .item p {
    font-size: 16px;
    margin-top: 30px;
}

.project-content {
    float: left;
    width: 100%;
    padding: 100px 0;
    font-family: var(--default);
    color: #000; /* texto preto como em about */
}

.project-content .container {
    max-width: 1200px;
    margin: 0 auto;
}

.project-content h2 {
    font-size: 72px;
    color: #FF2E47; /* cor de destaque igual às secções principais */
    margin-bottom: 50px;
}

.about .project-intro {
    font-size: 18px;
    color: #0346FA; /* azul da paleta */
    margin-bottom: 30px;
}

.about .project-details p {
    font-size: 18px;
    color: #0346FA; /* azul da paleta */
    margin-bottom: 30px;
}


.orcamento {
    width: 1200px;
    margin: 50px auto 100px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.project-button {
    margin: 50px auto 50px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.button a{
    font-family: var(--default);
    font-size: 21px;
    color: #FF2E47;
    text-decoration: none;
    font-style: italic;
    padding: 12px 20px;
    border-radius: 24px;
    border: 1px solid #FF2E47;
}

.button a:hover{
    background-color: #FF2E47 ;
    color: #fff;
    transition: 0.3s;
}


.orc a{
    font-family: var(--default);
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    font-style: italic;
    padding: 12px 20px;
    border-radius: 24px;
    border: 1px solid #fff;
}

.orc a:hover{
    background-color: #FF2E47 ;
    border: 1px solid #FF2E47;
    color: #fff;
    transition: 0.3s;
}


.gallery {
    float: left;
    width: 100%;
    padding: 100px 0 10px 0;
    font-family: var(--default);
    background-color: #fff;
}
.gallery h2 {
    font-size: 72px;
    color: #FF2E47;
    margin-bottom: 10px;
    text-align: center;
}

.gallery p {
    font-size: 16px;
    color: #0346FA;
    margin-bottom: 30px;
    text-align: center;
}

.gallery-items {
    float: left;
    width: 100%;
}
.gallery-items .item {
    float: left;
    width: 30%;
    margin-bottom: 60px;
    padding: 120px 40px;
    text-align: center;
    background: #fff;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    height: 300px;
}

.gallery-items .item:hover {
    background-color: #0346FA;
    
}
.gallery-items .item .hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 0.3s ease-in-out;
}
.gallery-items .hover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-items .item:hover .hover-image {
    opacity: 0;
}
.gallery-items .item h3,
.gallery-items .item p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    color: #fff;
    z-index: 1;
}
.gallery-items .item:hover h3,
.gallery-items .item:hover p {
    opacity: 1;
}

.gallery-items .item h3 {
    width: 100%;
    font-size: 30px;
    text-align: center;
    margin-top: 0px;
}

.gallery-items .item p {
    font-size: 16px;
    margin-top: 30px;
}


.mission {
    float: left;
    width: 100%;
    padding: 200px 0 10px 0;
    font-family: var(--default);
}

.mission h2 {
    font-size: 72px;
    color: #FF2E47;
    margin-bottom: 10px;
    text-align: center;
}

.mission p {
    font-size: 16px;
    color: #0346FA;
    margin-bottom: 50px;
    text-align: center;
}

.mission-items {
    /* float: left; -- Pode ser alterado para flex no futuro se quiseres */
    width: 100%;
}
.mission-items .item {
    float: left; /* Manter float para os items de serviço, se preferir o layout atual */
    width: 47%;
    margin-bottom: 60px;
    padding: 40px 40px;
    text-align: center;
    background: #fff;
    color: #000;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    height: 300px;
}
.mission-items .item.type {
    border: 1px solid #FF2E47;
    color: #0346FA;
}
.mission-items .hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.mission-items .item:hover .hover-image {
    opacity: 1;

}
.mission-items .item:hover {
    color: #fff;
    background-color: #FF2E47;
}
.mission-items .item:hover h3,
.mission-items .item:hover p {
    color: #fff;
    position: relative;
    z-index: 1;
}

.mission-items .item i{
    color: #f8ab0f;
    width: 60px; height: 60px;
    font-size: 48px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.mission .item h3{
    font-size: 30px;
    margin-bottom: 20px;
    text-align: left;
}

.mission-items .item p{
    font-size: 16px;
    text-align: left;
}


.allprojects {
    float: left;
    width: 100%;
    padding: 200px 0 50px 0;
    font-family: var(--default);
    background-color: #fff;
}
.allprojects h2 {
    font-size: 72px;
    color: #FF2E47;
    margin-bottom: 10px;
    text-align: center;
}

.allprojects p {
    font-size: 16px;
    color: #0346FA;
    margin-bottom: 50px;
    text-align: center;
}

.allprojects-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* espaçamento entre colunas */
    gap: 30px; /* espaço entre linhas e colunas */
}

/* Remove os floats e ajusta o tamanho dos itens */
.allprojects-items .item {
    width: calc(33.333% - 20px); /* 3 por linha com espaço entre */
    margin-bottom: 0;
    padding: 120px 40px;
    text-align: center;
    background: #fff;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    height: 300px;
    display: block;
}


.allprojects-items .item:hover {
    background-color: #0346FA;
}
.allprojects-items .item .hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 0.3s ease-in-out;
}
.allprojects-items .hover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.allprojects-items .item:hover .hover-image {
    opacity: 0;
}
.allprojects-items .item h3,
.allprojects-items .item p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    color: #fff;
    z-index: 1;
}
.allprojects-items .item:hover h3,
.allprojects-items .item:hover p {
    opacity: 1;
}

.allprojects-items .item h3 {
    width: 100%;
    font-size: 30px;
    text-align: center;
    margin-top: 0px;
}

.allprojects-items .item p {
    font-size: 16px;
    margin-top: 30px;
}


.clients {
    float: left;
    width: 100%;
    padding: 100px 0 10px 0;
    font-family: var(--default);
    background-color: #fff;
}
.clients h2 {
    font-size: 72px;
    color: #FF2E47;
    margin-bottom: 10px;
    text-align: center;
}

.clients p {
    font-size: 16px;
    color: #0346FA;
    margin-bottom: 30px;
    text-align: center;
}

.clients-items {
    float: left;
    width: 100%;
    margin-bottom: 60px;
}
.clients-items .item {
    float: left;
    width: 25%;
    padding: 50px;
    text-align: center;
    background: #fff;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    height: 150px;
}

.clients-items .item:hover {
    background-color: #0346FA;
}
.clients-items .item .hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 0.3s ease-in-out;
}
.clients-items .hover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.clients-items .item:hover .hover-image {
    opacity: 0;
}
.clients-items .item h3,
.clients-items .item p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    color: #fff;
    z-index: 1;
}
.clients-items .item:hover h3,
.clients-items .item:hover p {
    opacity: 1;
}

.clients-items .item h3 {
    width: 100%;
    font-size: 30px;
    text-align: center;
    margin-top: 0px;
}

.clients-items .item p {
    font-size: 16px;
    margin-top: 30px;
}


.allservices {
    float: left;
    width: 100%;
    padding: 200px 0 50px 0;
    font-family: var(--default);
}

.allservices h2 {
    font-size: 72px;
    color: #FF2E47;
    margin-bottom: 10px;
    text-align: center;
}

.allservices p {
    font-size: 16px;
    color: #0346FA;
    margin-bottom: 50px;
    text-align: center;
}

.allservices-items {
    /* float: left; -- Pode ser alterado para flex no futuro se quiseres */
    width: 100%;
}
.allservices-items .item {
    float: left; /* Manter float para os items de serviço, se preferir o layout atual */
    width: 30%;
    margin-bottom: 60px;
    padding: 40px 40px;
    text-align: center;
    background: #fff;
    color: #000;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    height: 300px;
}
.allservices-items .item.type {
    border: 1px solid #FF2E47;
    color: #0346FA;
}
.allservices-items .hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.allservices-items .item:hover .hover-image {
    opacity: 1;

}
.allservices-items .item:hover {
    color: #fff;
    background-color: #FF2E47;
}
.allservices-items .item:hover h3,
.allservices-items .item:hover p {
    color: #fff;
    position: relative;
    z-index: 1;
}

.allservices-items .item i{
    color: #f8ab0f;
    width: 60px; height: 60px;
    font-size: 48px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.allservices-items .item h3{
    font-size: 30px;
    margin-bottom: 20px;
    text-align: left;
}

.allservices-items .item p{
    font-size: 16px;
    text-align: left;
}

.project-filter-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
    font-family: var(--default);
    font-size: 14px;
    color: #FF2E47;
    text-decoration: none;
    font-style: italic;
    padding: 12px 20px;
    border-radius: 24px;
    border: 1px solid #FF2E47;
    background-color: #fff;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #FF2E47;
  color: #fff;
}

.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
}

.modal .close {
  position: absolute;
  top: 30px;
  right: 45px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

/* Mobile: voltar para layout em coluna */
@media screen and (max-width: 768px) {
    .projects-items {
        display: block;
        height: 100%;
    }
    .allservices-items {
        display: block;
        height: 100%;
    }
    .mission-items {
        display: block;
        height: 100%;
    }
    .gallery-items {
        display: block;
        height: 100%;
    }

    .allprojects-items {
        display: block;
        height: 100%;
    }
    .clients-items {
        display: block;
        height: 100%;
    }
    .clients-items .item {
        width: 100% !important;
        padding: 120px 40px;
        float: none;
        margin-bottom: 60px;
        position: relative;
        overflow: hidden;
        text-align: center;
        height: 300px; /* altura fixa para todos os itens no mobile */
        position: relative;
        overflow: hidden;
    }
      
    .mission-items .item {
        width: 100% !important;
        float: none;
        margin-bottom: 60px;
        position: relative;
        overflow: hidden;
        text-align: center;
        height: 300px; /* altura fixa para todos os itens no mobile */
        position: relative;
        overflow: hidden;
    }

    .mission h2{
        font-size: 55px;
    }
    .allprojects-items .item {
        width: 100% !important;
        padding: 120px 40px;
        float: none;
        margin-bottom: 60px;
        position: relative;
        overflow: hidden;
        text-align: center;
        height: 300px; /* altura fixa para todos os itens no mobile */
        position: relative;
        overflow: hidden;
    }
    .projects-items .item {
        width: 100% !important;
        padding: 120px 40px;
        float: none;
        margin-bottom: 60px;
        position: relative;
        overflow: hidden;
        text-align: center;
        height: 300px; /* altura fixa para todos os itens no mobile */
        position: relative;
        overflow: hidden;
    }
    .gallery-items .item {
        width: 100% !important;
        padding: 120px 40px;
        float: none;
        margin-bottom: 60px;
        position: relative;
        overflow: hidden;
        text-align: center;
        height: 300px; /* altura fixa para todos os itens no mobile */
        position: relative;
        overflow: hidden;
    }
    .about .visual {
        width: 100% !important;
        height: 300px; /* altura fixa para todos os itens no mobile */

    }

    /* Reseta grid */
    .projects-items .item:nth-child(1),
    .projects-items .item:nth-child(2),
    .projects-items .item:nth-child(3) {
        grid-column: auto;
        grid-row: auto;
    }
}