/* ======== GERAL ======== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #fff;
  color: #333;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%; /* evita zoom automático em iOS */
}

/* ======== TOPO ======== */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 10px 40px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 80px;
}

.top-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand-logo img {
  height: 55px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 16px;
  padding: 5px 10px;
  border-radius: 4px;
  transition: color 0.3s, background 0.3s;
}

.main-nav a:hover {
  color: #0077cc;
}

.main-nav a.active {
  background-color: rgba(0, 119, 204, 0.15);
  color: #0077cc;
}

/* ====== BOTÕES ====== */
.actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn {
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 15px;
  border: none;
  transition: background-color 0.3s, color 0.3s;
  white-space: nowrap;
}

.btn-ghost {
  background: transparent;
  color: #0077cc;
  border: 1px solid #0077cc;
}

.btn-ghost:hover {
  background: #0077cc;
  color: #fff;
}

.btn-login {
  background: #0077cc;
  color: #fff;
}

.btn-login:hover {
  background: #005fa3;
}

/* ======== BANNER ======== */
.banner-container {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 250px;
  overflow: hidden;
}

.banner-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.3s ease-in-out, transform 2.5s ease-in-out;
}

.banner-slide.active {
  opacity: 1;
  transform: scale(1);
}

.banner-slide img {
  width: 100%;
  height: 118%;
  object-fit: cover;
}

.banner-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 15px;
}

.banner-buttons button {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 12px;
  cursor: pointer;
  font-size: 20px;
  border-radius: 50%;
  transition: background 0.3s;
}

.banner-buttons button:hover {
  background: rgba(0, 0, 0, 0.8);
}

.banner-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.banner-dots span {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.banner-dots span.active {
  background-color: #007bff;
}

/* ====== ANIMAÇÃO HIERARQUIA ====== */
.fade-select {
  opacity: 0.6;
  transition: opacity 0.5s ease;
}

.fade-select.fade-in {
  opacity: 1;
}

.fade-select:disabled {
  background-color: #f2f2f2;
  color: #777;
  cursor: not-allowed;
}

/* Botão capturar localização */
.btn-capturar {
  background-color: #00b36b;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  transition: 0.3s;
  margin-top: 8px;
}

.btn-capturar:hover {
  background-color: #00995a;
}

/* ====== SEÇÃO DE INTRO ====== */
.intro {
  text-align: center;
  padding: 40px 20px;
}

.intro h1 {
  font-size: 28px;
  color: #0077cc;
}

.intro p {
  font-size: 18px;
  color: #555;
  margin-top: 10px;
  margin-bottom: 20px;
}

.btn-banner {
  display: inline-block;
  background: #0077cc;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-banner:hover {
  background: #005fa3;
}

/* ======== PRODUTOS ======== */
.produtos {
  text-align: center;
  padding: 40px 20px;
  background: #f9fafb;
}

.produtos h1 {
  color: #003366;
  margin-bottom: 25px;
  font-size: 28px;
}

.produto-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto 30px;
  overflow: hidden;
}

.produto-container {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.produto-card {
  min-width: 280px;
  background: white;
  margin: 0 10px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

.produto-card:hover {
  transform: scale(1.05);
}

.produto-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #f0f0f0;
}

.produto-card h3 {
  margin: 10px 0;
  color: #003366;
}

/* ====== NAVEGAÇÃO PRODUTOS ====== */
.prev-prod,
.next-prod {
  background: rgba(0, 0, 0, 0.4);
  border: none;
  color: white;
  padding: 10px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  transition: 0.3s;
  font-size: 20px;
}

.prev-prod:hover,
.next-prod:hover {
  background: rgba(0, 0, 0, 0.7);
}

.prev-prod {
  left: 10px;
}
.next-prod {
  right: 10px;
}

.dots-prod {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.dot-prod {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.dot-prod.active {
  background: #007bff;
}

/* ======== CATÁLOGOS ======== */
.catalogos {
  margin-top: 40px;
}

.catalogos h2 {
  color: #003366;
  margin-bottom: 15px;
}

.catalogo-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.btn-catalogo {
  display: inline-block;
  background: #003366;
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-catalogo:hover {
  background: #0056b3;
}

/* ====== REDES SOCIAIS TOPO ====== */
.social-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 25px;
}

.social-top span {
  font-size: 0.9rem;
  color: #0077cc;
  font-weight: 600;
}

.social-icons-top {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-icons-top a {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0, 119, 204, 0.08);
  transition: all 0.3s ease;
}

.social-icons-top a:hover {
  background-color: rgba(0, 119, 204, 0.25);
  transform: translateY(-2px);
}

.social-icons-top img {
  width: 18px;
  height: 18px;
}

/* ====== RODAPÉ ====== */
footer {
  position: relative;
  background-color: #002b5c;
  color: #fff;
  padding: 30px 15px;
  overflow: hidden;
}

.footer-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

/* Logomarca decorativa */
.footer-logo-bg {
  position: absolute;
  left: 10px;
  bottom: 10px;
  height: 120px;
  opacity: 0.15;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

/* Conteúdo central */
.footer-right {
  position: relative;
  z-index: 2;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #bcd8ff;
}

/* Informações */
.footer-info {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.footer-info i {
  color: #4da3ff;
  margin-right: 6px;
}

/* Contato */
.footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  color: #dce9ff;
}

.footer-contact i {
  color: #4da3ff;
}

/* WhatsApp */
.whatsapp-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #25d366;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  border-radius: 30px;
  padding: 6px 12px;
  transition: all 0.3s ease;
}

.whatsapp-link:hover {
  background-color: #1ebe5d;
  transform: translateY(-2px);
}

.whatsapp-icon {
  width: 20px;
  height: 20px;
}

/* Direitos autorais */
.footer-copy {
  font-size: 13px;
  opacity: 0.8;
}

/* ======== RESPONSIVIDADE ======== */
@media (max-width: 1024px) {
  .topbar {
    padding: 10px 20px;
  }

  .main-nav {
    gap: 15px;
  }

  .brand-logo img {
    height: 45px;
  }
}

@media (max-width: 768px) {
  .topbar {
    flex-direction: column;
    height: auto;
    padding: 15px 10px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .actions {
    margin-top: 10px;
  }

  .banner-container {
    height: 40vh;
  }

  .footer-logo-bg {
    height: 80px;
    opacity: 0.12;
  }
}

@media (max-width: 480px) {
  .intro h1 {
    font-size: 22px;
  }

  .intro p {
    font-size: 16px;
  }

  .btn,
  .btn-banner,
  .btn-catalogo {
    font-size: 14px;
    padding: 8px 14px;
  }

  .footer-info {
    font-size: 13px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .footer-contact {
    flex-direction: column;
  }

  .footer-logo-bg {
    height: 70px;
    left: 5px;
  }
}

/* ==== MENU FLUTUANTE (mobile) ==== */

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #003366;
}

// adicionei as 11:40

.menu-toggle {
  position: fixed;
  left: 5%;
  top: 5%;
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 20px;
    gap: 20px;
    transition: right 0.3s ease-in-out;
    z-index: 999;
  }

  .main-nav.open {
    right: 0;
  }

  .menu-toggle {
    display: block;
  }

  .actions {
    display: none; /* Oculta os botões Ajuda e Logar do topo em telas pequenas */
  }

  .social-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}

/* ===== HISTÓRIA: regras específicas sem tocar topbar/footer ===== */

/* ===== BLOCO HISTÓRIA ===== */
.historia-container {
  padding: 48px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Título */
.historia-container h1 {
  text-align: center;
  margin-bottom: 28px;
  font-size: 2.2rem;
  color: #003366;
}

/* BLOCO GERAL — cria fundo transparente e alinhamento */
.historia-blocos {
  display: flex;
  align-items: center; /* deixa imagem e texto com mesma altura */
  justify-content: space-between;
  gap: 30px;
  background: rgba(255, 255, 255, 0.1); /* fundo translúcido */
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(5px); /* efeito vidro */
}

/* BLOCO DA IMAGEM — ocupa metade do espaço */
.bloco-imagem {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bloco-imagem img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* mantém a imagem ajustada sem deformar */
  border-radius: 10px;
}

/* BLOCO DO TEXTO — ocupa metade do espaço */
.bloco-texto {
  flex: 1;
  text-align: justify;
  color: #333;
  font-size: 1.05rem;
  line-height: 1.7;
  padding: 10px 15px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* centraliza o texto verticalmente */
}

.bloco-texto strong {
  color: #004aad;
}

.bloco-texto p {
  margin-bottom: 16px;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 900px) {
  .historia-blocos {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .bloco-imagem,
  .bloco-texto {
    flex: none;
    width: 100%;
  }

  .bloco-imagem img {
    max-height: 250px;
    object-fit: cover;
  }
}

.contact-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f9fafc;
  padding: 60px 20px;
}

.contact-card {
  background: #fff;
  padding: 40px 50px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 700px;
  text-align: center;
}

.contact-card h1 {
  color: #0077cc;
  margin-bottom: 10px;
}

.contact-card p {
  color: #555;
  margin-bottom: 30px;
  font-size: 1rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

label {
  font-weight: bold;
  color: #333;
}

input,
textarea,
select {
  padding: 12px;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  width: 100%;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-buttons {
  text-align: center;
  margin-top: 20px;
}

.btn-enviar {
  background-color: #0077cc;
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

.btn-enviar:hover {
  background-color: #005fa3;
}

.btn-capturar {
  background-color: #555;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-capturar:hover {
  background-color: #333;
}

.small {
  font-size: 13px;
  color: #666;
}



iframe {
  width: 100%;              /* ocupa toda a largura do contêiner */
  height: 600px;            /* altura fixa (pode ajustar ou tornar dinâmica) */
  border: none;             /* remove borda padrão */
  border-radius: 12px;      /* cantos arredondados */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* sombra leve */
  overflow: hidden;         /* esconde barras de rolagem internas */
}

/* Responsivo: ajusta altura conforme o tamanho da tela */
@media (max-width: 768px) {
  iframe {
    height: 400px;
  }
}

