/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Corpo */
body {
  font-family: 'Arial', sans-serif;
  background-color: #f4f4f9;
  color: #333;
}

/* Header */
header {
  background-color: #2c3e50;
  width: 100%;
  padding: 20px 0;
}

header .header-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo e Slogan */
.logo-slogan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo {
  width: 150px;
}

.slogan {
  font-size: 1.2em;
  color: #ffffff;
  margin-top: 10px;
  font-weight: bold;
}

/* Menu */
nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

nav a:hover {
  background-color: #f39c12;
  color: #fff;
}

/* Seções */
section {
  padding: 60px 20px;
  background-color: #fff;
}

section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2em;
  color: #2c3e50;
}

section p {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1em;
  color: #555;
  line-height: 1.6;
}

/* Footer */
footer {
  background-color: #2c3e50;
  color: #ffffff;
  padding: 30px 20px;
  font-size: 0.95em;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.footer-left {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.footer-logo {
  width: 80px;
  height: auto;
}

.footer-info p {
  margin: 2px 0;
}

.footer-info a {
  color: #f39c12;
  text-decoration: none;
}

.footer-info a:hover {
  text-decoration: underline;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #f39c12;
}

.footer-right {
  margin-left: auto;
  align-self: flex-end;
}

/* Formulário de Contato */
#contato {
  padding: 80px 20px;
  background-color: #f9f9f9;
  display: flex;
  justify-content: center;
}

form {
  width: 100%;
  max-width: 600px;
  background-color: #f4f4f9;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

form label {
  font-weight: bold;
  color: #2c3e50;
}

form input[type="text"],
form input[type="email"],
form input[type="file"],
form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
  display: block;
}

form textarea {
  min-height: 180px;
  resize: vertical;
}

form button {
  width: 50%;
  margin: 0 auto;
  background-color: #2c3e50;
  color: #ffffff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.2s;
}

form button:hover {
  background-color: #f39c12;
  transform: translateY(-2px);
}

/* Mensagens de sucesso ou erro */
form .mensagem-sucesso,
form .mensagem-erro {
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Imagens de Destaque */
.imagens-destaque {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 20px;
  gap: 15px;
  margin-bottom: 50px;
}

.imagens-destaque img {
  width: calc(25% - 11.25px);
  height: 200px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  object-fit: cover;
}
/* Cada item de serviço */
.servico-item {
  display: grid;
  grid-template-columns: 280px 1fr; /* imagem fixa + texto flexível */
  align-items: start;
  margin-bottom: 40px;
  gap: 30px;
  padding-bottom: 30px;          /* espaço antes da linha horizontal */
  border-bottom: 1px solid #ccc; /* linha horizontal entre serviços */
}

/* Caixa da imagem */
.servico-media {
  display: flex;
  justify-content: flex-start;
  padding-right: 20px;              /* espaço antes da linha vertical */
  border-right: 2px solid #ddd;     /* linha vertical entre imagem e texto */
}

/* Texto */
.servico-texto {
  text-align: left;
  line-height: 1.6;
  padding-left: 20px; /* dá espaço do lado da linha vertical */
}

/* Imagem padronizada */
.servico-media img {
  width: 250px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}





/* Seção Produtos */
#produtos {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

#produtos h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2em;
  color: #2c3e50;
}

/* Cada item de produto */
.produto-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 60px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 40px;
  flex-wrap: wrap;
}

.produto-media img {
  width: 300px;  /* padronizado */
  height: 200px; /* padronizado */
  border-radius: 10px;
  object-fit: cover;
  order: 2; /* força imagem à direita */
  flex-shrink: 0;
}

.produto-texto {
  flex: 1;
  min-width: 250px;
  order: 1;
}

.produto-texto h3 {
  margin-bottom: 15px;
  font-size: 1.5em;
  color: #2c3e50;
}

.produto-texto p {
  line-height: 1.6;
  color: #444;
  font-size: 1em;
}

/* Responsivo */
@media screen and (max-width: 900px) {
  .produto-item {
    flex-direction: column;
    text-align: center;
    padding-bottom: 20px;
  }

  .produto-media img {
    width: 80%;
    height: auto;
    order: 1;
    margin: 0 auto 20px;
  }

  .produto-texto {
    order: 2;
  }
}.
/* --- Galeria --- */
.galeria {
  padding: 50px 5%;
  background: #f9f9f9;
}

.galeria-titulo {
  text-align: center;
  font-size: 2rem;
  margin: 40px 0 20px 0; /* espaço acima e abaixo */
  color: #333;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 por linha */
  gap: 20px;
  margin-bottom: 60px; /* espaço entre seções */
}

.galeria-grid img,
.galeria-grid video {
  width: 100%;
  height: 220px; /* altura fixa para padronizar */
  object-fit: cover; /* corta sem deformar */
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* efeito ao passar o mouse */
.galeria-grid img:hover,
.galeria-grid video:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Responsivo */
  gap: 20px;
  margin-bottom: 60px;
}
.galeria-grid img,
.galeria-grid video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.galeria-grid img:hover,
.galeria-grid video:hover {
  transform: scale(1.03);
  filter: brightness(1.1) contrast(1.1);
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}
@media screen and (max-width: 768px) {
  .galeria-grid video {
    width: 100%;
    height: auto;
  }
}
.logo,
.footer-logo {
  image-rendering: auto; /* Melhora exibição da logo BMP */
}
/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: zoom-out;
}

.modal img {
  width: 600px;     /* largura fixa */
  height: 400px;    /* altura fixa */
  object-fit: cover; /* corta sem distorcer */
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
