*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body{
    background: rgb(230, 238, 249);
    font-family: arial;
    line-height: 1.1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: rgb(200, 214, 239);
    height: 40px;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* height: 100%; */
 }

 .lologo{
    display: flex;
    justify-content: center;
    align-items: center;
 }

.logo{
    display: flex;
    align-items: center;
    gap: 0px;
}

.logo img{
    width: 80px;
    height: auto;
}

.logo span{
    font-size: 20px;
    font-weight: 600;
    color: #1b2a4a;
    white-space: nowrap;
}

.logo a{
    text-decoration: none;
}

.menu-links {
    display: flex;
    list-style: none;
    gap: 10px;

}

.menu-links a {
    text-decoration: none;
    color: #3a4a6b;
    padding: 10px;
    transition: background-color 0.5s;
    border-radius: 5px;
}

.menu-links a:hover {
    background-color: white;
}

.contacto {
    background: #0a0a23;
    border-radius: 5px;
    transition: background-color 0.5s;
}


main {
    /* margin-top: 20px; */
    display: grid;
    grid-template-columns: 1fr min(90%, 1200px) 1fr;
    padding-top: 20px;
}

.inicio {
    /* border: 1px solid; */
    /* border-radius: 8px; */
    padding: 20px;
    grid-column: 2;
    min-height: 100vh;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}

.inicio p{
    margin-bottom: 5px;
    color: #0a0a23;
}

.foto{
    width: 150px;
    aspect-ratio: 1/1;
    object-fit: cover;
    overflow: hidden;
    border-radius: 50%;
    outline: 3px solid rgb(230, 238, 249);
    display: block;
    /* margin: auto; */
    max-width: 100%;
}

h1 {
    color: #1b2a4a;
    padding: 10px;
    border-radius: 8px;
    text-align: center;    
}

.inicio h4 {
    color: #1b2a4a;
}

.inicio p {
    color: #3a4a6b;
    text-align: left;
}



.botao-prime {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}

.botao{
    text-decoration: none;
    color: white;
    display: inline-block;
    padding: 15px;
    margin: 2px;
    background-color: #0a0a23;
    border-radius: 15px;
    transition: background-color 0.5s, color 0.5s;
}

.botao:hover {
    background-color: #3a4a6b;
    color: white;
}

 

/* problemas */

.problema {
    grid-column: 2;
    margin-top: 100px;
    margin-bottom: 100px;
    width: 100%;
}

.problema h2{
    text-align: center;
    margin-bottom: 30px;
}

.problema li {
    margin-bottom: 15px;
}

/* Serviços */

#servicos {
    grid-column: 2;
}

.servicos-section {
  padding: 50px 20px;
  text-align: center;
}

.servicos-section .titulo {
  font-size: 2rem;
  margin-bottom: 10px;
}

.servicos-section .subtitulo {
  font-size: 1rem;
  margin-bottom: 40px;
  color: #555;
}

/* --- Cards --- */
.cards-servicos {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-servico {
    background: rgb(228, 238, 248);
    /* padding: 50px 10px; */
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
    padding: 25px 15px;
    /* box-sizing: border-box; */
}

.card-servico:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card-servico .icone {
  font-size: 2rem;
  margin-bottom: 10px;
}

.card-servico h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.card-servico p {
  font-size: 0.95rem;
  color: #555;
}


/* Projetos */

.projetos {
    grid-column: 2;
    /* text-align: center; */
    margin-top: 100px;
    padding: 6rem 2rem;
    /* margin: 0 auto; */
}

.projetos h2 {
    text-align: center;
    /* font-size: 2.5rem; */
    margin-bottom: 30px;
}



.projetos p{
    margin-bottom: 5px;
}

.projetos-caixa {
    margin-top: 70px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    /* grid-template-rows: 3; */
    /* grid-column: 2; */
    gap: 20px;
    max-width: 1200px;
}

.projetos-card {
    background-color: rgb(200, 214, 239);
    border-radius: 16px;
    backdrop-filter: blur(5px);
    border: 1px solid rgb(230, 238, 249);
    overflow: hidden;
    transition: all 0.5s ease;
    /* cursor: pointer; */
}

.projetos-card:hover {
    box-shadow: 0 10px 20px rgb(228, 238, 248);
    transform: translateY(-3px) scale(1.03);
}

.projetos li {
    margin-bottom: 10px;
}

.projetos-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.caixa-textos-projeto {
    padding: 1.5rem;
}

.info-projetos {
    margin-bottom: 10px;
    color: #1b2a4a;
}

.paragragrafo-projetos {
    color: #3a4a6b;
    line-height: 1.25rem;
}

/* Botão dos projetos */

.container-botao-projetos{
    display: flex;
    align-items: center;
    flex-flow: column;
    gap: 20px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.botao-projetos{
    width: 100%;
}

.botao-projetos a {
    display: block;
    padding: 12px 15px;
    background-color: #0a0a23;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    text-align: center;
    font-size: 1.0rem;
    transition: background-color 0.3s;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.3;
}

.botao-projetos a:hover {
    background-color: #3a4a6b;
}



/* Funcionamento */

.funcionamento{
    grid-column: 2;
    margin-top: 100px;
    margin-bottom: 100px;
    width: 100%;
}

.funcionamento h2 {
    text-align: center;
    margin-bottom: 60px;
}

.funcionamento li {
    margin-bottom: 10px;
}

/* perguntas */

.perguntas{
    grid-column: 2;
    margin-top: 100px;
    margin-bottom: 100px;
    width: 100%;
}
.perguntas h2 {
    text-align: center;
    margin-bottom: 60px;
}


.faq {
    width: 100%;
    list-style: none;
}

.faq li {
    width: 100%;
    margin-bottom: 20px;
}

.faq li label {
    border-radius: 10px;
    padding: 10px 10px;
    font-size: 18px;
    font-weight: 500;
    background-color: white;
    display: flex;
    align-items: center;
    cursor: pointer;
}



.faq li label span {
    display: inline-block;
    padding: 8px;
    background-color: #0a0a23;
    color: white;
    border-radius: 99px;
    margin-right: 10px;
}

.faq li label::before {
    content: "+";
    margin-right: 10px;
    font-size: 24px;
}

.faq input[type=radio] {
    display: none;
}

.faq .resposta {
    color: #535353;
    padding: 0px 14px ;
    /* margin-top: 10px; */
    background-color: white;
    line-height: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s, padding 0.5s;
}

.faq input[type=radio]:checked + label + .resposta{
    max-height: 400px;
    padding: 10px 10px 20px;
}


.faq input[type=radio]:checked + label span{
    background-color: #3a4a6b;
}

.faq input[type=radio]:checked + label::before {
    content: "-";
}




/* Estilização do menu-links-mobile */

.menu-links-mobile{
    background-color: rgba(0, 0, 0, 0.438);
    backdrop-filter: blur(10px);
    position:absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 0;
    visibility: hidden;
    transition: 0.5s;
    overflow: hidden;
}

.menu-links-mobile a{
    color: white;
    text-decoration: none;
    display: block;
    padding: 20px 30px;
    font-size: 15pt;
}

.menu-links-mobile a:hover {
    background-color: rgba(200, 214, 239, 0.521);
}

.menu-links-mobile .contacto {
    background-color: transparent;
}

/* Estilização do menu hambúrger */

.btn-menu {
    width: 30px;
    height: 30px;
    border: 1px solid transparent;
    background-color: transparent;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.5s;
}

.btn-menu:hover{
    background-color: #1b2a4a79;
}

.linha {
    width: 20px;
    height: 2px;
    background-color: black;
    display: block;
    margin: 5px auto;
    position: relative;
    transform-origin: center;
    transition: 0.3s;
}

.btn-menu.ativar{
    /* border: 1px solid red; */
}

.btn-menu.ativar .linha:nth-child(1){
    transform: translateY(10px) rotate(-45deg);
    background-color: red;
}

.btn-menu.ativar .linha:nth-child(3){
    transform: translateY(-6px) rotate(45deg);
    background-color: red;
}

.btn-menu.ativar .linha:nth-child(2){
    width: 0;
}

.menu-links-mobile.abrir{
        visibility: visible;
        height: 93.5vh;
    }

    /* Botão Flutuante do WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  box-shadow: 2px 2px 15px rgba(0,0,0,0.3);
}

/* Animação de pulsação (opcional) */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-float {
  animation: pulse 2s infinite;
}

@media(min-width: 284px) {
    .menu-links {
        display: none;
        
    }

    

    .cards-servicos {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    /* padding: 50px 10px; */
  }

  .card-servico {
    width: 100%;
    margin: 10px;
  }
    
}


@media (min-width: 480px) {

}

@media(min-width: 768px) {
    .menu-links {
        display: flex;
    }

    .menu-links-mobile {
        display: none;
    }

    .btn-menu {
        display: none;
    }

    .card-servico {
        width: 22%;
    }

    .container-botao-projetos {
        flex-direction: row;
        flex-wrap: wrap;

    }
    
    .botao-projetos {
        width: calc(50% - 5px);
        flex: 1 1 auto;
    }
}

/* Laptops */
@media (min-width: 1024px) {} 

/* Desktop grande */
@media (min-width: 1280px) {}