/* Reset e variáveis */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --azul-escuro: #002d72;
  --azul-claro: #00aeef;
  --branco: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: var(--branco);
  color: #000;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 4rem 0;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  text-align: center;
  color: var(--azul-escuro);
  position: relative;
}

h2:after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--azul-claro);
  margin: 15px auto 0;
}

p {
  margin-bottom: 15px;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* Header */
header {
  background-color: rgba(255, 255, 255, 0.9);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

header nav a {
  text-decoration: none;
  color: var(--azul-escuro);
  font-weight: bold;
  transition: color 0.3s ease;
}

header nav a:hover {
  color: var(--azul-claro);
}

/* Menu Toggle para Mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--azul-escuro);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Carrossel */
.carousel {
  margin-top: 90px;
  overflow: hidden;
  width: 100%;
  position: relative;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.slides img {
  width: 100vw;
  height: auto;
  flex-shrink: 0;
  object-fit: cover;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: var(--branco);
}

/* Sobre nós */
.sobre {
  padding: 4rem 0;
}

.sobre-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.texto {
  flex: 1;
  max-width: 900px;
  margin: 0 auto;
}

.texto h2 {
  text-align: center;
}

.texto h2:after {
  margin: 15px auto 0;
}

.diferenciais li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 5px;
}

/* Produtos */
.produtos {
  padding: 3rem 0;
  text-align: center;
  background-color: #f8f8f8;
}

.grid-produtos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 2rem;
}

.produto-card {
  background-color: var(--branco);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.produto-card:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.produto-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.produto-card h3 {
  padding: 15px 15px 5px;
  color: var(--azul-escuro);
  font-size: 1.3rem;
}

.produto-card p {
  padding: 0 15px 20px;
  color: #666;
  font-size: 0.9rem;
}

.catalogo-link {
  margin-top: 40px;
  text-align: center;
  font-size: 1.1rem;
  color: var(--azul-escuro);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Catálogo */
.catalogo {
  background-color: var(--branco);
  text-align: center;
  padding: 4rem 0;
}

.catalogo p {
  max-width: 700px;
  margin: 0 auto 40px;
}

.catalogo-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.catalogo-imagem {
  flex: 1 1 400px;
  max-width: 500px;
}

.catalogo-imagem img {
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}

.catalogo-info {
  flex: 1 1 400px;
  text-align: left;
}

.catalogo-info h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--azul-escuro);
}

.btn-download {
  display: inline-block;
  background-color: var(--azul-claro);
  color: var(--branco);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-download:hover {
  background-color: var(--azul-escuro);
  transform: translateY(-3px);
}

/* Contato */
.contato-section {
  background-color: #f8f8f8;
  padding: 4rem 0;
}

.contato-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

.contato-info,
.contato-form {
  flex: 1 1 400px;
}

.contato-info h3,
.contato-form h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--azul-escuro);
}

.contato-info p {
  margin-bottom: 15px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--azul-claro);
  outline: none;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.btn-enviar {
  background-color: var(--azul-claro);
  color: var(--branco);
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-enviar:hover {
  background-color: var(--azul-escuro);
}

/* WhatsApp Button */
.whatsapp-button {
  display: inline-block;
  background-color: #25d366;
  color: var(--branco);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.whatsapp-button:hover {
  background-color: #128c7e;
  color: var(--branco);
  transform: translateY(-3px);
}

/* Footer */
footer {
  background-color: var(--azul-escuro);
  color: var(--branco);
  padding: 2rem 0;
  margin-top: 0;
}

footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

.footer-logo,
.footer-links,
.footer-contato {
  flex: 1 1 250px;
}

.footer-logo img {
  height: 50px;
  width: auto;
  margin-bottom: 15px;
}

.footer-links h3,
.footer-contato h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-links h3:after,
.footer-contato h3:after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--azul-claro);
  margin-top: 10px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a:hover {
  color: var(--azul-claro);
}

footer p,
footer a {
  color: var(--branco);
  font-size: 0.9rem;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.social-media {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.social-icon:hover {
  background-color: var(--azul-claro);
}

/* Botão Voltar ao Topo */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--azul-claro);
  color: var(--branco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--azul-escuro);
  transform: translateY(-5px);
}

/* Responsividade */
@media (max-width: 992px) {
  section {
    padding: 3rem 0;
  }

  h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  /* Header Mobile */
  .menu-toggle {
    display: flex;
  }

  nav {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--branco);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  nav.active {
    max-height: 300px;
  }

  nav ul {
    flex-direction: column;
    padding: 20px 0;
  }

  nav ul li {
    margin: 0;
  }

  nav ul li a {
    display: block;
    padding: 12px 20px;
  }

  /* Seções */
  section {
    padding: 2.5rem 0;
  }

  h2 {
    font-size: 1.8rem;
  }

  .sobre-content {
    flex-direction: column;
    text-align: center;
  }

  .sobre-content .texto h2 {
    text-align: center;
  }

  .sobre-content .texto h2:after {
    margin: 15px auto 0;
  }

  .catalogo-content {
    flex-direction: column;
  }

  footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links h3:after,
  .footer-contato h3:after {
    margin: 10px auto 0;
  }

  .social-media {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  /* Seções */
  section {
    padding: 2rem 0;
  }

  h2 {
    font-size: 1.5rem;
  }

  .grid-produtos {
    grid-template-columns: 1fr;
  }

  .produto-card img {
    height: 180px;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  /* Botão Voltar ao Topo */
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
  }
}
