body {
    padding: 0;
    margin: 0;
    background-size: 100%;
    background-repeat: no-repeat;
    background-color: black;
}
a{
    text-decoration: none;
}

header {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    background-color: white;
    font-family: 'Comfortaa', sans-serif;
    width: 100%;
    height: 5rem;

    
}
#logo{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 10rem;

}
#logo img {
    position: relative;
    left: 5rem;
}

#logo img:hover {
    transform: scale(1.1);
}

#menu li {
    display: inline-block;
    text-decoration: none;
    font-size: 0.9rem;
    font-family: 'Comfortaa', cursive;

}
#menu{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 80%;
}

#menu li:hover {
    transform: scale(1.15);
}

#menu ul {
    display: flex;
    justify-content: space-around;
    margin-right: 5rem;
    font-size: 0;
}

#menu a {
    text-decoration: none;
    color: black;
    font-weight: 700;

}

#titleAbout {
    font-size: 2rem;
}
#about{
    font-family: 'Comfortaa';
}
#about h1{
    font-size: 3rem;
    position: relative;
    left: 15rem;
    top: 3rem;
}
#about p{
    font-size: 2rem;
    position: relative;
    left: 15rem;
    top: 2rem;
}

section{
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
}

#home {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Comfortaa';
    background-image: url(img/windows.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    height: 90vh;
    width: 100%;
    z-index: 1;
    overflow: hidden;
  }
  
  #home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Ajuste a opacidade aqui (0.1 a 0.7) */
    z-index: 0;
  }
  
  #home > * {
    position: relative;
    z-index: 2;
  }
#imagehome{
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}
#imagehome button{
    margin-top: 1rem;
}

.cssbuttons-io-button {
    background: #125F94;
    color: white;
    font-family: inherit;
    padding: 0.35em;
    padding-left: 1.2em;
    font-size: 17px;
    font-weight: 500;
    border-radius: 0.9em;
    border: none;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    box-shadow: inset 0 0 1.6em -0.6em #4396ce;
    overflow: hidden;
    position: relative;
    height: 2.8em;
    padding-right: 3.3em;
    cursor: pointer;
  }
  
  .cssbuttons-io-button .icon {
    background: white;
    margin-left: 1em;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.2em;
    width: 2.2em;
    border-radius: 0.7em;
    box-shadow: 0.1em 0.1em 0.6em 0.2em #4396ce;
    right: 0.3em;
    transition: all 0.3s;
  }
  
  .cssbuttons-io-button:hover .icon {
    width: calc(100% - 0.6em);
  }
  
  .cssbuttons-io-button .icon svg {
    width: 1.1em;
    transition: transform 0.3s;
    color: #4396ce;
  }
  
  .cssbuttons-io-button:hover .icon svg {
    transform: translateX(0.1em);
  }
  
  .cssbuttons-io-button:active .icon {
    transform: scale(0.95);
  }
  
#secContact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background-color: #f9f9f9;
  font-family: 'Comfortaa', sans-serif;
  color: #333;
  height: 60vh;
}

#Contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1200px;
  align-items: stretch;
}

.DivContact {
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  padding: 40px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.titlecontact {
  font-size: 1.5rem;
  text-transform: uppercase;
}

.textcontact {
  font-size: 1rem;
  white-space: pre-line;
}

.textcontact i {
  margin-right: 8px;
  color: #007bff;
}

@media (max-width: 900px) {

    #Contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
      }
    #secContact{
        height: 90vh;
    }

}

  #services {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Comfortaa';
    background-color: white;
    width: 90%;
    max-width: 1400px;
    color: black;
    margin: 5rem auto 2rem auto;
  }
  
  .titleservices {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-align: center;
  }
  
  .parent {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px; /* antes era 20px */
    width: 100%;
    justify-items: center;
    padding: 0 10px; /* um espacinho nas laterais também */
  }
  
  .parent img {
    border-radius: 30px;
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  
  .card {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 40px 25px; /* aumentei o padding interno */
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 350px;
    box-sizing: border-box;
  }
  .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  }
  
  .card h1 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
  }
  
  /* Remove o grid-area fixo */
  .div1, .div2, .div3, .div4, .div5, .div6, .div7, .div8 {
    grid-area: unset;
  }
  
  /* Responsividade */
  
  /* Telas até 1024px (ex: iPad paisagem) = 3 colunas */
  @media (max-width: 1024px) {
    .parent {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  /* Telas até 768px (iPad retrato / tablets) = 2 colunas */
  @media (max-width: 768px) {
    .parent {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* Celulares = 1 coluna */
  @media (max-width: 480px) {
    .parent {
      grid-template-columns: 1fr;
    }
    .titleservices {
        font-size: 1rem;
      }
  
    .card {
      max-width: 100%;
    }
  
    .titleservices {
      font-size: 1.3rem;
    }
  }
  
  /* Telas ultra largas (acima de 1600px) = centraliza melhor */
  @media (min-width: 1600px) {
    #services {
      width: 70%;
    }
  
    .parent {
      gap: 30px;
    }
  }
  
.space-top{
    margin-top: 2rem;
}

.title{
    font-size: 2rem;
    margin: 3rem 0 0 10rem;
    text-transform: uppercase;
    font-family: 'Comfortaa';
}
.text{
    font-size: 1rem;
    margin: 1rem 0 0 10rem;
    font-family: 'Comfortaa';
}
.text-align{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    margin-right: 10rem;
}
.button{
    font-size: 0.8rem;
    margin: 1rem 0 0 10rem;
    padding: 10px;
    width: 7rem;
}
.button:hover{
    transform: scale(1.15);
    transition: 0.5s;
}
.button a{
    text-decoration: none;
    color: black;
}
.space{
    margin-bottom: 5rem;
}
#portImg h1{
    color: black;
}
.portfolio h1{
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Comfortaa';
    font-weight: 700;
    justify-content: center;
    font-size: 2rem;
    text-transform: uppercase;
}
.art{
    display: flex;
    flex-direction: column;
    align-items: center;

}
.art img:hover{
    transform: scale(1.15);
    transition: 1s;
}
.tamanho{
    width: 250px;
    margin: 1rem;
    border-radius: 5px;
}
.artes{
    background-color: white;
    height: auto;
    padding: 1rem;
}
footer {
    font-family: 'Comfortaa', sans-serif;
    background-color: #104c74;
    color: #ffffff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 40px 10%;
    border-top: 2px solid #114b72;
  }
  
  footer div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: left;
    flex: 1;
    min-width: 250px;
  }
  
  #direitos p {
    font-size: 0.9rem;
    text-align: center;
    color: #ffffff;
  }

  .location {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-align: left;
  }
  
  .location-text {
    display: flex;
    flex-direction: column;
    text-align: left;
  }
  
  .listRedes {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .listRedes li {
    margin: 10px 0;
    font-size: 0.95rem;
    color: #ffffff;
  }
  
  .listRedes a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  
  .listRedes a:hover {
    color: #007bff;
    transform: translateX(5px);
  }
  
  .listRedes i {
    font-size: 1.2rem;
  }

#enter p{
    margin-bottom: 0;
    font-size: 1.1rem;

}
#enter h1{
    font-size: 2rem;
    margin-top: 0rem;
}
#enter{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#contact{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    font-family: 'Comfortaa', sans-serif;
}
#form form{
    display: flex;
    flex-direction: column;
    margin: 3rem 7rem 0 0 ;
}
#form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
form input{
    font-family: 'Comfortaa';
    color: black;
    margin: 0.2rem 0 1rem 0;
    border-radius: 5px;
    border: none;
    padding: 5px;
}
#mensagem{
    resize: none;
    border-radius: 5px;
    border: none;
    margin-top: 0.2rem;
    margin-bottom: 2rem;
}
#positionButton{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#button{
    margin-bottom: 6rem;
    width: 10rem;
    font-size: 1rem;
    font-family: 'Comfortaa', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;

}
#button:hover{
    border: solid white 2px;
    background-color: black;
    color: white;
    box-shadow: 3px 3px 10px 3px white;
}
#direitos p{
    font-size: 0.8rem;
}
#secSobre{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#sobre{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    font-family: 'Comfortaa', sans-serif;
    width: 80%;
    height: 100%;
    background-color: #4396ce;
    color: black;

}

#sobre p{
    line-height: 1.2rem;
    font-size: 1rem;
}

#sobre button{
    width: 15rem;
}

#principal{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 0;
    color: white;
}
#img{
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#photo{
    box-shadow: 3px 3px 10px 3px white;
    border-radius: 15px;
}
#buttonPort{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#buttonPort button{
    width: 15rem;
    margin: 0;
    margin-top: 1rem;
    text-transform: uppercase;
    margin-bottom: 3rem;
    font-family: 'Comfortaa', sans-serif;
    text-align: center;
}

.pagePort{
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items:center;
}

.pagePort h1{
    font-size: 1.3rem;
    margin-top: 5rem;
}

.swiper-container {
    width: 65%;
    height: auto;
    border-radius: 5px;
  /*     background: #fd5; */
  }
  .swiper-slide img{
    object-fit:cover;
    height: auto;
  }
  #contactSec{
    background-image: url(img/BACKGROUND\ MODELO\ 04.png);
    background-size:cover;
    background-repeat: no-repeat;
    
  }
  #responsiveMenu{
    display: none;
  }
  #textResp{
    display: none;
  }
  #textRespEnter{
    display: none;
}
#contactResp{
    display: none;
}
@media screen and (min-width: 300px) and (max-width: 1399px){
    #responsiveMenu{
        display: block;
    }
    #textDesk{
        display: none;
    }
    #textResp{
        display: block;
    }
    #textDeskEnter{
        display: none;
    }
    #textRespEnter{
        display: block;
    }
    #contactResp{
        display: none;
    }
    #menu{
        display: none;
    }
    header{
        margin: 0;
        display: grid;
        grid-template-columns:50% 50%;
    }
    #logo{
        margin: 0;
        position: relative;
        left: 20px;
    }
    #logo img{
        width: 50%;
        margin: 0;
        float: left;
        position: relative;
        left: 20px;
    }
    #home{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0;
        height: 80vh;
    }
    #imagehome{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    #buttonIdent{
        margin-bottom: 0;
    }
    #design{
        text-align: left;
        
    }
    .title{
        margin-left: 10%;
        font-size: 1.3rem;
    }
    .text{
        margin-left: 10%;
        font-size: 0.85rem;

    }

    #identidade p{
        font-size: 0.8rem;

    }
    .button{
        margin-left: 10%;
        margin-bottom: 10%;
        border: 0;
    }
    .button:hover{
        display: none;
    }
    .text-align{
        margin-right: 10%;
        }
    
    .portfolio h1{
        font-size: 1.3rem;
    }
    .tamanho{
        width: 200px;
    }
    #imagehome img{
        width: 80%;
    }
    @media screen and (min-width: 300px) and (max-width: 738px){
        .images{
            display: flex;
            flex-direction: column;
            align-items: center;
        }
    }
    #contact{
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0;
        height: 88vh;
    }
    #enter{
        align-items: center;
        text-align: center;
        padding: 10px;
    }
    #enter p{
        margin-left: 0;
        font-size: 0.9rem;
    }
    #enter h1{
        margin-top: 10%;
        font-size: 1.3rem;
        margin-left: 0;
    }
    #form{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0;
    }
    #form form{
        margin-right: 0;
        margin-top: 0;
    }
    #form{
        padding: 20px;
    }
    #button{
        margin-bottom: 0;
    }
    footer{
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0;
        position: relative;
    }
    #direitos p{
        margin: 0;
        font-size: 0.8rem;
        margin-top: 2%;
        margin-bottom: 1rem;
    }
    .redes{
        margin: 0;
    }
    .listRedes{
        margin: 0;
    }
    #listRedes{
        margin-left: -13%;
        margin-bottom: 0;
    }
    @media screen and (min-width: 300px) and (max-width: 500px) {
        #sobre{
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 20px;
        }
        #sobre h1{
            margin-left: 0;
        }
        #sobre button{
            margin-left: 0;
            margin-bottom: 0;
        }
        #sobre p{
            margin-left: 0;
        }
        #sobre img{
            width: 250px;
            height: 250px;
            margin-top: 0;
        }
        
    }
    #sobre img{
        width: 100%;
    }
    #principal{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    #principal h1{
        font-size: 1.3rem;
    }
    #principal p{
        font-size: 0.8rem;
    }
    #positionButton{
        margin-top: 1rem;
    }
    .pagePort{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .pagePort h1{
        font-size: 0.9rem;
        margin: 0;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    .swiper-container {
        width: 100%;
        height: auto;
    }
    .swiper-wrapper img{
        width: 33.33%;
    }


    /*Menu*/
    #responsiveMenu{
        margin: 0;
        display: grid;
        grid-template-columns:50% 50%;
    }
    #responsiveMenu span{
        text-align: right;
        position: relative;
        right: -80%;
        top: 10%;
        
        
    }
    .overlay {
        height: 0%;
        width: 100%;
        position: fixed;
        z-index: 1000;
        top: 0;
        left: 0;
        background-color: rgb(0,0,0);
        background-color: rgba(0,0,0, 0.9);
        overflow-y: hidden;
        transition: 0.5s;
      }
      
      .overlay-content {
        position: relative;
        top: 25%;
        width: 100%;
        text-align: center;
        margin-top: 30px;
      }
      
      .overlay a {
        padding: 8px;
        text-decoration: none;
        font-size: 36px;
        color: #818181;
        display: block;
        transition: 0.3s;
      }
      
      .overlay a:hover, .overlay a:focus {
        color: #f1f1f1;
      }
      
      .overlay .closebtn {
        position: absolute;
        top: 20px;
        right: 45px;
        font-size: 60px;
      }
      #mensagem{
        resize: none;
    }
      @media screen and (max-height: 450px) {
        .overlay {overflow-y: auto;}
        .overlay a {font-size: 20px}
        .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
        }

}
}
@media screen and (min-width: 1400px) and (max-width: 2500px){

#secSobre{
    height: 87.2vh;
}
#contactSec{
    height: 87.2vh;
}

}
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 30px;
    height: 30px;
}

/* animação pulse */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}