*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Maven Pro", sans-serif;
}

body{
    background-color: #fff;
}

.interface{
    max-width: 1200px;
    margin: 0 auto;
}

header .btn-solar button, .hero-site button{
    font-size: 18px;
    background-color: transparent;
    border: 1px solid #000000;
    color: #000000;
    cursor: pointer;
    transition: 0.5s;
}

/* Estilo do Header */
header{
    width: 100%;
    padding: 40px 0;
    position: fixed;
    top: 0;
    left: 0;

    transition: .5s;
    z-index: 999999999999999999999999999999;
}

header .interface{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img{
    max-width: 80px;
}

/* Estilo ddo menu dinâmico*/

header .logo img.logo-preta{
    display: none;
}

header.rolar{
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 0 8px #000000a9;
}

header.rolar .menu-desktop nav ul li a{
    color: #191d88;
}

header.rolar .btn-solar button{
    border: 1px solid #191d88;
    color: #191d88;
}

header.rolar .btn-solar button:hover{
    background-color: #191d88;
    color: #fff;
}

header.rolar .logo .logo-branca{
    display: none;
}

header.rolar .logo .logo-preta{
    display: block;
}

header .menu-desktop nav ul{
    list-style-type: none;
}

header .menu-desktop nav ul li{
    display: inline-block;
    margin: 0 40px;
}

header .menu-desktop nav ul li a{
    color: #000000;
    text-decoration: none;
    display: inline-block;
    transition: 0.2s;
}

.menu-desktop nav a:hover{
    transform: scale(1.05);

}

header .btn-solar button{
    width: 180px;
    height: 50px;
}



header .btn-solar button:hover, .hero-site button:hover{
    background-color: #191d88;
    color: #fff;
}

/* Estilo do Hero */
section.hero-site{
    height: 98vh;
    background-image: url(../images/imagemfundo2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: #000000;
}

.hero-site .interface{
    display: flex;
    align-items: center;
    height: 100%;
}

.hero-site .txt-hero h1{
    font-size: 4em;
    line-height: 70px;
    font-weight: 100;
}

.hero-site .txt-hero h1 span{
    display: block;
    font-weight: 800;
}

.hero-site .txt-hero p{
    font-size: 20px;
    font-weight: 400;
    margin: 20px 0;
}

.hero-site .txt-hero p span{
    display: block;
}

.hero-site button{
    width: 220px;
    height: 60px;
    font-size: 20px;
}

/* Estilo das Vantagens */
section.vantagens{
    padding: 80px 0;
}


.vantagens .itens-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10%;
    margin-bottom: 60px;
}

.vantagens .itens-container .img-itens img{
    max-width: 420px;
}

.vantagens .itens-container .txt-itens h3{
    font-size: 2em;
    line-height: 50px;
    margin-bottom: 20px;
}

.itens-container .txt-itens h3 span{
    font-weight: 300;
}


/* Imagens dos serviços realizados */
h2.titulogaleria{
    color: #000;
    font-size: 40px;
    text-align: center;
    margin-bottom: 40px;
}

.galeria {
  padding: 100px 100px;
  background-color: #f9f9f9;
  text-align: center;
}


.gradeimage {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 colunas fixas */
  gap: 50px;
  margin-top: 20px;
}

.gradeimage img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gradeimage img:hover {
  transform: scale(1.05);
}

/*Estilo dos botões de contato*/
section.contato{
    background-color: #fff;
    padding: 80px 0;
}

.txt-contato, .icons-contato{
    display: inline-block;
    width: 50%;
    margin-right: -4px;
    vertical-align: middle;
}

.contato .txt-contato h3{
    font-size: 2.5em;
    line-height: 50px;
    font-weight: 300;
    margin-bottom: 20px;
}

.contato .txt-contato h3 span{
    display: block;
    font-weight: 700;
}

.contato .icons-contato a{
    text-decoration: none;
}

.contato .icons-contato button{
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 60%;
    height: 60px;
    margin: 0 auto 20px auto;
    padding: 0 60px;

    background-color: transparent;
    border: 2px solid #000;
    cursor: pointer;

    transition: .5s;
}

.contato .icons-contato button i{
    font-size: 20px;
}

.contato .icons-contato button:hover{
    background-color: #191d88;
}

.contato .icons-contato button:hover i, .contato .icons-contato button:hover p{
    color:#fff
}

/* Estilo roodapé*/
footer{
    background-color: #191d88;
    width: 100%;
    text-align: center;
    padding: 30px;
}

footer .top-footer button{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    background-color: transparent;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    margin: 0 10px;
    transition: .5s;

}

footer .top-footer button:hover{
    background-color: #fff;
    color: #000;
}

footer .middle-footer{
    margin: 20px 0;
}

footer .middle-footer a{
    color: #fff;
    margin: 0 15px;
}

footer .bottom-footer{
    border-top: 2px solid #fff;
}

footer .bottom-footer p{
    color: #fff;
    margin-top:  10px;
}

@media screen and (max-width: 768px) {

  /* Interface geral */
  .interface {
    padding: 0 30px;
  }

  /* Header */
  header .interface {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  header .menu-desktop{
    display: none;
  }

  header .menu-desktop nav ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px;
  }

  header .menu-desktop nav ul li {
    margin: -5px;
  }

  header .btn-solar button {
    display: none;
  }

    header.rolar {
    background-color: #fff;
    padding: 15px 0; /* reduzido para caber melhor no mobile */
    box-shadow: 0 0 6px rgba(0,0,0,0.2);
  }

  header.rolar .menu-desktop nav ul li a {
    font-size: 1.1em;
  }

  /* Hero */
  section.hero-site {
    height: auto;
    padding: 150px 40px 60px 20px; /* espaço para header fixo */
    text-align: center;
  }

  header.hero-site{
    padding-top: 200px;
  }

  .hero-site .interface {
    flex-direction: column;
    justify-content: center;
  }

  .hero-site .txt-hero h1 {
    font-size: 2em;
    line-height: 1.4em;
  }

  .hero-site .txt-hero p {
    font-size: 1em;
    line-height: 1.5em;
  }

  .hero-site button {
    width: 100%;
    height: 50px;
    font-size: 1em;
    margin-top: 20px;
  }

  /* Vantagens */
  .vantagens .itens-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .vantagens .itens-container .img-itens img {
    max-width: 100%;
  }

  /* Galeria */
  .galeria {
    padding: 10px 10px;
  }

  .gradeimage {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .gradeimage img {
    height: 100px;
  }

  /* Contato */
  .txt-contato,
  .icons-contato {
    display: block;
    width: 100%;
    margin: 0 auto 30px auto;
    text-align: center;
  }

  .contato .icons-contato button {
    width: 100%;
    height: 50px;
    padding: 0 20px;
    font-size: 1em;
  }

  /* Footer */
  footer {
    padding: 20px;
  }

  footer .middle-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}