/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* VARIÁVEIS */
:root {
  --primary: #005baa;
  --secondary: #0a2540;
  --light: #f5f7fa;
  --lightDark: rgb(212, 212, 212);
  --dark: #1c1c1c;
  --text: #444;
  --textH2: rgb(51, 51, 53);
}

/* BASE */
body {
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16.5px;
  color: var(--text);
  line-height: 1.75;
  background-color: #fff;
}


.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo {
  height: 60px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 600;
  font-size: 1.05rem;
  transition: color 0.3s;
}


nav a:hover {
  color: var(--primary);
}

/* BANNER */
.banner {
  background: linear-gradient(
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.55)
    ),
    url("imagens/banner.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.banner h1 {
  font-size: 2.9rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.banner p {
  font-size: 1.25rem;
  font-weight: 300;
}


.banner p {
  font-size: 1.25rem;
  font-weight: 300;
}
/* SEÇÕES */
.section {
  padding: 70px 0;
}

.section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 25px;
  color: var(--textH2);
  font-weight: 700;
}


.section p {
  max-width: 800px;
  margin: auto;
  text-align: center;
  font-size: 1.09rem;
}


/* FUNDO CLARO */
.bg-light {
  background-color: var(--light);
}

/* LISTA DE SERVIÇOS */
#servicos ul {
  max-width: 700px;
  margin: 30px auto 0;
  list-style: none;
}

#servicos li {
  background: #fff;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-left: 5px solid var(--textH2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1.05rem;
}


/* GALERIA */
.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.galeria img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.galeria img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* MAPA */
iframe {
  border-radius: 10px;
  margin-top: 20px;
}

/* FOOTER */
footer {
  background: var(--secondary);
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}

/* WHATSAPP FLOAT */
.whatsappfloat {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: transform 0.3s;
}

.whatsappfloat:hover {
  transform: scale(1.1);
}

.my-float {
  margin-top: 14px;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  nav a {
    font-size: 1.05rem;
  }

  .banner {
    padding: 70px 15px;
  }

  .banner h1 {
    font-size: 2rem;
  }

  .banner p {
    font-size: 1.1rem;
  }

  .section {
    padding: 50px 0;
  }

  .section h2 {
    font-size: 1.8rem;
  }

  .section p {
    font-size: 1rem;
    padding: 0 10px;
  }
}
/* AJUSTE DA SEÇÃO MATERIAIS */
#materiais .galeria {
  display: flex;
  justify-content: center;
}

#materiais .galeria img {
  max-width: 350px;   /* controla o tamanho */
  width: 100%;
  height: auto;
  border-radius: 12px;
}
