/* ===== ESTILOS GERAIS ===== */
body {
  font-family: "Roboto", sans-serif;
  color: #000000;
  padding-top: 103px !important;
}

* Corrige o espaço do header fixo */ body {
  padding-top: 103px !important; /* Ajuste este valor conforme a altura do seu header */
}

/* Para telas menores (mobile) */
@media (max-width: 768px) {
  body {
    padding-top: 160px !important; /* Aumente se o header for maior no mobile */
  }
}

/* Remove margens/paddings extras do banner */
.banner-topo {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Garante que o carrossel não tenha margens */
#carouselInicio {
  margin-top: 0 !important;
}

.carousel {
  margin-top: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
}

p,
a,
li,
span,
button {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: normal;
}

/* ===== CABEÇALHO E NAVEGAÇÃO ===== */
.navbar {
  border-bottom: 4px solid #000000;
}

.navbar-brand {
  font-size: 1.3rem;
  font-weight: bold;
  color: #05739e !important;
}

.nav-link {
  font-weight: 500;
  color: #0a0a0a !important;
}

.nav-link:hover {
  color: #ffffff !important;
}

.custom-navbar {
  background-color: #0ba5a5 !important;
}

.logo-nome {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.nome-empresa {
  font-size: 20px;
  font-weight: bold;
  color: #ffffff !important;
}

/* ===== BANNERS E CARROSSÉIS ===== */
.banner-topo {
  margin-top: 0px;
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}

.carousel img {
  height: 360px;
  object-fit: cover;
}

.banner-sobre {
  background: linear-gradient(135deg, #0a1a33, #0d3d8d);
  height: 300px;
  padding: 40px 0;
  color: white;
}

.badge-sobre {
  background-color: #00a884;
  color: white;
  padding: 6px 15px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== SEÇÕES DE CONTEÚDO ===== */
section h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

section h5 {
  font-weight: 600;
}

section p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 20px auto;
  font-size: 1.05rem;
  color: #444;
}

/* Seção Sobre */
#sobre-resumo h2 {
  font-size: 2.2rem;
  font-weight: 700;
}

#sobre-resumo p {
  font-size: 1.1rem;
  color: #000000c9;
  max-width: 800px;
}

/* Seção Porque Escolher */
#porque-igual i {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

#porque-igual .numero {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

#porque-igual hr {
  border: 0;
  height: 1px;
  background: #ddd;
  margin: 50px 0;
}

/* Cores temáticas */
.experiencia {
  color: #007bff;
}
.clientes {
  color: #28a745;
}
.suporte {
  color: #000000;
}
.localizacao {
  color: #dc3545 !important;
  font-size: 1.8rem !important;
  line-height: 0 !important;
  position: relative !important;
  top: 4px;
}

/* ===== PRODUTOS E CATEGORIAS ===== */
#produtos {
  background: #f8f9fa;
}

#produtos h2 {
  font-weight: bold;
  margin-bottom: 30px;
}

/* Cards de produtos */
.product-card-compact {
  transition: all 0.2s ease;
  border: 1px solid #e9ecef;
}

.product-card-compact:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #ced4da;
}

.product-title {
  line-height: 1.3;
  height: 2.6em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-description {
  line-height: 1.3;
  height: 2.6em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.pricing {
  border-top: 1px solid #f8f9fa;
  padding-top: 0.5rem;
}

.x-small {
  font-size: 0.75rem;
}

.product-badges {
  position: absolute;
  top: 8px;
  left: 8px;
}

.product-badges .badge {
  font-size: 0.65rem;
  padding: 0.25em 0.5em;
}

/* Filtros */
.filters-container {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.search-box {
  position: relative;
}

.view-options .btn {
  padding: 0.375rem 0.75rem;
}

.view-options .btn.active {
  background-color: #212529;
  border-color: #212529;
  color: #fff;
}

/* Categorias */
.categoria-item {
  display: flex;
  align-items: stretch;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 320px;
}

.categoria-img {
  flex: 0 0 75%;
  height: 100%;
  overflow: hidden;
  background-color: #f1f1f1;
}

.categoria-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: none;
}

.categoria-info {
  flex: 0 0 25%;
  background-color: #f8f9fa;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.categoria-info h5 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.categoria-info p {
  font-size: 0.85rem;
  color: #6c757d;
  line-height: 1.4;
}

/* ===== BOTÕES ===== */
.btn-vermais {
  background-color: #fff !important;
  color: #000 !important;
  border: 1px solid #000 !important;
  font-weight: bold;
  font-size: 0.8rem !important;
  padding: 8px 16px !important;
  border-radius: 4px !important;
  line-height: 1.2 !important;
}

.btn-vermais:hover {
  background-color: #000 !important;
  color: #fff !important;
}

.btn-verprodutos {
  display: inline-block;
  padding: 6px 10px;
  background-color: #046161;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn-verprodutos:hover {
  background-color: #055157;
  color: #fff;
}

/* ===== AGENTES DE COMÉRCIO ===== */
#agentes {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

#agentes .agentes-text {
  font-family: "Roboto", sans-serif;
  font-size: 0.9rem;
  color: #333;
}

#agentes .titulo-agentes {
  font-weight: bold;
  margin-right: 5px;
}

/* ===== WHATSAPP BUTTON ===== */
#whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 30px;
  background-color: #25d366;
  color: white;
  font-size: 22px;
  padding: 10px;
  border-radius: 100%;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 9999;
}

#whatsapp-btn:hover {
  background-color: #1ebe5b;
  color: white;
}

/* ===== FOOTER ===== */
.footer {
  background-color: #02010e !important;
  color: #fff;
  padding: 40px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-section h4 {
  color: #3498db;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #3498db;
}

.social-links {
  margin: 20px 0;
}

.social-links a {
  display: inline-block;
  margin-right: 10px;
  font-size: 1.2rem;
  color: #bdc3c7;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #3498db;
}

.footer-bottom {
  border-top: 1px solid #34495e;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.footer-links a {
  color: #bdc3c7;
  text-decoration: none;
  margin-left: 15px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #3498db;
}

.developer-credit {
  font-size: 0.75rem;
  color: #999;
  text-align: center;
  margin-top: 10px;
  padding: 5px 0;
}

/* Footer Top */
.footer-top {
  background: linear-gradient(90deg, #05739e, #01685f);
  color: white;
  padding: 50px 20px;
  text-align: center;
}

.footer-top h2 {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 10px;
}

.footer-top .footer-subdesc {
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer-top .btn {
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
  margin: 5px;
}

/* ===== LOADING OVERLAY ===== */
#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

#loading-overlay.active {
  opacity: 1;
  visibility: visible;
}

.loading-spinner {
  width: 80px;
  height: 80px;
  position: relative;
}

.spinner-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 5px solid transparent;
  border-top: 5px solid #6a11cb;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.spinner-circle:nth-child(2) {
  border: 5px solid transparent;
  border-top: 5px solid #2575fc;
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
  animation: spin 1.5s linear infinite reverse;
}

.loading-text {
  margin-top: 20px;
  font-size: 18px;
  color: #2c3e50;
  font-weight: 500;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ===== CONTACTOS ===== */
#contactos {
  font-family: "Roboto", "Poppins", sans-serif;
  color: #102a43;
}

.section-title {
  font-size: 1.6rem;
  color: #0b2545;
}

.section-title-sm {
  font-size: 1.05rem;
  color: #0b2545;
}

.form-input {
  border-radius: 8px;
  border: 1px solid #e6eef6;
  padding: 10px 12px;
  background: #fff;
}

.form-input:focus {
  box-shadow: 0 0 0 4px rgba(11, 37, 69, 0.06);
  border-color: #0b63d3;
  outline: none;
}

.btn-send {
  background: linear-gradient(90deg, #0b63d3, #0a53b6);
  color: #fff;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  box-shadow: 0 6px 18px rgba(11, 99, 211, 0.18);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.btn-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(11, 99, 211, 0.22);
}

/* ===== VALORES E MISSÃO ===== */
.valor-card {
  transition: transform 0.3s ease;
  min-height: 200px;
  max-height: 350px;
  width: 100%;
}

.valor-card:hover {
  transform: translateY(-5px);
}

.text-purple {
  color: #6f42c1;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
  body {
    padding-top: 140px;
  }

  .banner-topo {
    margin-top: 140px;
  }

  .banner-topo img {
    height: 250px;
  }

  .banner-sobre {
    padding: 60px 0;
    height: auto;
  }

  .categoria-item {
    flex-direction: column;
    height: auto;
  }

  .categoria-img {
    height: 200px;
  }

  .categoria-info {
    flex: 100%;
    padding: 1rem;
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-links a {
    margin: 0 10px;
  }

  .footer-section {
    width: 100%;
  }
}

@media (min-width: 992px) {
  .valor-card {
    min-width: 200px;
    max-width: 250px;
    margin: 0 auto;
  }
}

/* Controles do carrossel */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  padding: 15px;
}

/* List View para produtos */
.list-view .col-6 {
  flex: 0 0 100%;
  max-width: 100%;
}

.list-view .product-card-compact {
  flex-direction: row;
  height: auto;
}

.list-view .product-card-compact .card-img-top {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.list-view .product-card-compact .card-body {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 1;
  gap: 1rem;
}

.list-view .product-card-compact .product-actions {
  flex-shrink: 0;
  width: 200px;
}

@media (max-width: 768px) {
  .list-view .product-card-compact {
    flex-direction: column;
  }

  .list-view .product-card-compact .card-img-top {
    width: 100%;
    height: 140px;
  }

  .list-view .product-card-compact .card-body {
    flex-direction: column;
    align-items: stretch;
  }

  .list-view .product-card-compact .product-actions {
    width: 100%;
  }
}

/* ============================================
   RESPONSIVIDADE BÁSICA
============================================ */
