body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f8f8f8;
  color: #333;
}

header {
  background: #222;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
}

header .logo {
  font-weight: bold;
  font-size: 20px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  color: red;
}

main {
  padding: 40px;
}

.hero {
  text-align: center;
  background: url('Oficina Mecânica em Ação.png') no-repeat center/cover;
  color: white;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 48px;
}

.btn {
  background: red;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 6px;
}

.btn:hover {
  background: darkred;
}

.servicos {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  width: 300px;
}

footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

.sucesso {
  background: #d4edda;
  padding: 10px;
  border-radius: 4px;
  color: #155724;
  margin-top: 15px;
}




/* ====== Formulário Preto e Laranja ====== */



.form-section {
  max-width: 600px;

  background: #1a1a1a;

  padding: 40px;
  box-shadow: 0 0 15px rgba(255, 102, 0, 0.2);
}

.form-section h1 {
  color: red;
  text-align: center;
  font-size: 28px;
  margin-bottom: 10px;
}

.form-section p {
  text-align: center;
  color: #ccc;
  margin-bottom: 30px;
}

form label {
  display: block;
  margin-top: 15px;
  color: #ff6600;
  font-weight: bold;
  letter-spacing: 0.5px;
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  border: 1px solid #333;
  border-radius: 6px;
  background: #262626;
  color: #f5f5f5;
  font-size: 15px;
  transition: 0.3s;
}

form input:focus,
form select:focus,
form textarea:focus {
  border-color: red;
  outline: none;
  box-shadow: 0 0 5px rgba(255, 102, 0, 0.5);
}

form button {
  margin-top: 25px;
  width: 100%;
  padding: 14px;
  background: red;
  color: white;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

form button:hover {
  background: darkred;
  transform: scale(1.02);
}

.sucesso {
  background: #1f2e1f;
  border-left: 5px solid #00cc66;
  color: #aef5c7;
  padding: 15px;
  margin-top: 25px;
  border-radius: 6px;
  text-align: center;
  font-weight: bold;
  box-shadow: 0 0 8px rgba(0, 204, 102, 0.3);
}


.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form-group {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  padding: 10px;
}

.form-group.full {
  flex: 100%;
}





/* ====== Seção de Notícias ====== */

.noticias {
  background: #0d0d0d;
  color: white;
  padding: 60px 10%;
  text-align: center;
}

.noticias h2 {
  color: #ff6600;
  font-size: 2em;
  margin-bottom: 40px;
  border-bottom: 2px solid #ff6600;
  display: inline-block;
  padding-bottom: 5px;
}

.noticias-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.card-noticia {
  background: #1a1a1a;
  border: 1px solid #ff6600;
  border-radius: 10px;
  width: 300px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(255, 102, 0, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card-noticia:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(255, 102, 0, 0.6);
}

.card-noticia img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.conteudo {
  padding: 20px;
  text-align: left;
}

.conteudo h3 {
  color: #ff6600;
  font-size: 1.2em;
  margin-bottom: 10px;
}

.conteudo p {
  color: #ccc;
  font-size: 0.95em;
  margin-bottom: 15px;
}

.btn-laranja {
  background: #ff6600;
  color: #fff;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 0.9em;
  transition: background 0.3s;
}

.btn-laranja:hover {
  background: #e65c00;
}




/* ====== Carrossel DIAGTEC ====== */
.carrossel-diagtec {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 25px rgba(255, 102, 0, 0.3);
}

.carrossel-diagtec .slides {
  display: flex;
  transition: transform 0.8s ease-in-out;
  width: 300%;
}

.carrossel-diagtec .slide {
  width: 100%;
  position: relative;
  flex-shrink: 0;
}

.carrossel-diagtec img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: brightness(0.75);
}

.texto-slide {
  position: absolute;
  bottom: 60px;
  left: 50px;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  padding: 20px 30px;
  border-left: 4px solid #ff6600;
  border-radius: 6px;
}

.texto-slide h2 {
  color: #ff6600;
  margin-bottom: 5px;
  font-size: 28px;
}

.texto-slide p {
  font-size: 16px;
  color: #ddd;
}

/* Botões */
.carrossel-diagtec .btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: red;
  font-size: 32px;
  cursor: pointer;
  padding: 10px 18px;
  border-radius: 50%;
  z-index: 10;
  transition: 0.3s;
}

.carrossel-diagtec .btn:hover {
  background: darkred;
  color: white;
}

.btn.anterior {
  left: 20px;
}

.btn.proximo {
  right: 20px;
}

/* Indicadores */
.indicadores {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #777;
  cursor: pointer;
  transition: 0.3s;
}

.dot.ativo,
.dot:hover {
  background: red;
}
