/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background: #f5f7fa;
  color: #2c3e50;
  line-height: 1.6;
}

/* Imagens responsivas */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header */
header {
  background: #34495e;
  padding: 20px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 20px;
}

.logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #2c5282;
}

header h1 {
  color: #ecf0f1;
  font-size: 2em;
  font-weight: bold;
}

header p {
  color: #bdc3c7;
  font-size: 0.9em;
}

/* Seções */
section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

h2 {
  color: #2c3e50;
  margin-bottom: 20px;
  font-size: 1.8em;
  font-weight: 600;
}

/* Carrossel de Produtos */
.carrossel-container {
  position: relative;
  max-width: 400px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(52, 73, 94, 0.2);
}

.carrossel {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  background: #fff;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.slide:not(.ativo) {
  opacity: 0.7;
}

.slide.ativo {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  background-color: #d4c4a8;
  padding: 15px;
}

.slide p {
  padding: 20px;
  font-weight: 600;
  color: #34495e;
  text-align: center;
  font-size: 1.1em;
}

.carrossel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(44, 82, 130, 0.8);
  color: white;
  border: none;
  font-size: 18px;
  padding: 15px 12px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s ease;
  z-index: 10;
}

.carrossel-btn:hover {
  background: rgba(26, 54, 93, 0.9);
}

.carrossel-btn.prev {
  left: 15px;
}

.carrossel-btn.next {
  right: 15px;
}

.indicadores {
  text-align: center;
  padding: 20px;
}

.indicador {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bdc3c7;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.indicador.ativo,
.indicador:hover {
  background-color: #2c5282;
}

/* Modal para detalhes do produto */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 600px;
  position: relative;
  text-align: center;
}

.close {
  color: #7f8c8d;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #2c3e50;
}

.modal img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 15px;
  background-color: #f8f9fa;
  padding: 15px;
}

/* Vantagens - Layout mais direto */
.vantagens ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  list-style: none;
  margin-top: 15px;
}

.vantagens li {
  background: #2c5282;
  color: #fff;
  padding: 15px;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  transition: background 0.3s ease;
}

.vantagens li:hover {
  background: #1a365d;
}

/* Depoimentos - mais simples */
.depoimentos-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.depoimentos blockquote {
  background: #fff;
  border-left: 4px solid #2c5282;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(52, 73, 94, 0.1);
}

.depoimentos cite {
  display: block;
  margin-top: 10px;
  color: #34495e;
  font-weight: 600;
}

/* Formulário de Contato - mais direto */
.contato form {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(52, 73, 94, 0.1);
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contato label {
  font-weight: 600;
  color: #2c3e50;
}

.contato input,
.contato textarea {
  padding: 12px;
  border: 2px solid #bdc3c7;
  border-radius: 6px;
  font-size: 1em;
  transition: border-color 0.3s ease;
}

.contato input:focus,
.contato textarea:focus {
  outline: none;
  border-color: #2c5282;
}

.contato button {
  background: #2c5282;
  color: #fff;
  padding: 15px;
  border: none;
  border-radius: 6px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contato button:hover {
  background: #1a365d;
}

/* Footer */
footer {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 30px 0;
  margin-top: 50px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.footer-container a {
  color: #4299e1;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.footer-container a:hover {
  color: #63b3ed;
}

/* Produtos - Carrossel */
.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 20px auto;
  overflow: hidden;
}

.carousel-wrapper {
  overflow: hidden;
  border-radius: 12px;
  padding: 0 60px; /* Espaço para as setas */
}

.produtos .galeria {
  display: flex;
  transition: transform 0.4s ease;
  gap: 20px;
}

.galeria .item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(52, 73, 94, 0.15);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 0 0 350px;
  min-width: 350px;
}

.galeria .item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(52, 73, 94, 0.25);
}

.galeria img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 12px 12px 0 0;
}

.galeria .item p {
  padding: 20px;
  font-weight: 600;
  color: #34495e;
  text-align: center;
  font-size: 1.1em;
}

/* Controles do carrossel */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(44, 82, 130, 0.9);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  z-index: 100;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.carousel-btn:hover {
  background: rgba(26, 54, 93, 1);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

/* Indicadores do carrossel */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #bdc3c7;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: #2c5282;
  transform: scale(1.2);
}

.indicator:hover {
  background: #7f8c8d;
}

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

  .modal-content {
    width: 95%;
    margin: 10% auto;
  }

  .carousel-wrapper {
    padding: 0 50px;
  }

  .galeria .item {
    flex: 0 0 300px;
    min-width: 300px;
  }

  .galeria img {
    height: 240px;
    object-fit: contain;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .carousel-btn.prev {
    left: 5px;
  }

  .carousel-btn.next {
    right: 5px;
  }

  .vantagens ul {
    grid-template-columns: 1fr;
  }

  .depoimentos-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .carousel-wrapper {
    padding: 0 45px;
  }

  .galeria .item {
    flex: 0 0 280px;
    min-width: 280px;
  }

  .galeria img {
    height: 220px;
    object-fit: contain;
  }

  .carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .carousel-btn.prev {
    left: 5px;
  }

  .carousel-btn.next {
    right: 5px;
  }
}