/* ==========================================================================
   0. TRAVA GLOBAL ANTIVAZAMENTO LATERAL
   ========================================================================== */
html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

/* ==========================================================================
   1. SEÇÃO DO MAPA MUNDIAL
   ========================================================================== */
.map-section {
  background-color: #2a2a2a;
  width: 100%;
  text-align: center;
  padding: 60px 15px;
}

.map-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
  font-family: 'Quicksand', sans-serif;
}

.map-subtitle {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Quicksand', sans-serif;
}

.legend {
  display: block;
  text-align: center;
  margin-bottom: 40px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #cccccc;
  font-family: 'Quicksand', sans-serif;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.legend-dot.data-center {
  background-color: #ff7800;
}

.world-map-container {
  position: relative;
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
  border-radius: 20px;
  overflow: hidden;
}

.world-map {
  width: 100%;
  height: 100%;
  background-image: url("../images/world-map.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.8;
}

.data-point {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ff7800;
  box-shadow: 0 0 20px rgba(255, 120, 0, 0.8);
  animation: pulse-point 2s ease-in-out infinite;
  z-index: 10;
}

.data-point::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 120, 0, 0.3);
  border-radius: 50%;
  animation: ripple 2s ease-in-out infinite;
}

.sao-paulo {
  top: 65%;
  left: 20%;
  animation-delay: 0.5s;
}

.sao-paulo::before {
  animation-delay: 0.5s;
}

.data-point.sao-paulo:hover::after {
  content: "São Paulo, Brasil";
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 20;
}

@keyframes pulse-point {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes ripple {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

/* ==========================================================================
   2. SEÇÃO DE ANÚNCIO DE SOLUÇÕES
   ========================================================================== */
.anuncio-solucoes-section {
  padding: 50px 30px;
  background: linear-gradient(135deg, #ff7800, #f7931e);
  border-radius: 16px;
  max-width: 1170px;
  margin: 40px auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.anuncio-solucoes-content {
  width: 55%;
  float: left;
  text-align: left;
  padding-right: 20px;
  box-sizing: border-box;
}

.anuncio-solucoes-image {
  width: 45%;
  float: right;
  text-align: center;
  box-sizing: border-box;
}

.anuncio-solucoes-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.anuncio-solucoes-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: white;
  margin-top: 0;
  margin-bottom: 15px;
}

.anuncio-solucoes-section p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
  line-height: 1.6;
}

.btn-saiba-mais {
  padding: 12px 35px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  background-color: white;
  color: #ff7800;
}

.btn-saiba-mais:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  background-color: #fff;
  color: #f7931e;
}

.anuncio-solucoes-section::after {
  content: "";
  display: table;
  clear: both;
}

/* ==========================================================================
   3. FORÇAR VISIBILIDADE DAS CERTIFICAÇÕES (Garantia Antiquebra do WOW)
   ========================================================================== */
.achivement-section .empresas-logo {
  display: block !important;
  text-align: center !important;
  padding: 0 !important;
  margin: 0 auto !important;
}

.achivement-section .empresas-logo li {
  display: inline-block !important;
  margin: 15px 20px !important;
  vertical-align: middle !important;
}

.achivement-section .empresas-logo li img {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  display: block !important;
  height: auto !important;
  max-width: 150px !important;
}

/* ==========================================================================
   4. MEDIA QUERIES (Responsividade)
   ========================================================================== */
@media (max-width: 991px) {
  .anuncio-solucoes-content,
  .anuncio-solucoes-image {
    width: 100%;
    float: none;
    padding-right: 0;
    text-align: center;
  }
  .anuncio-solucoes-image {
    margin-top: 30px;
  }
  .world-map-container {
    height: 380px;
  }
}

@media (max-width: 768px) {
  .map-section {
    padding: 40px 15px;
  }
  .map-title {
    font-size: 28px;
  }
  .anuncio-solucoes-section {
    padding: 35px 20px;
    margin: 20px 15px;
  }
  .anuncio-solucoes-section h2 {
    font-size: 24px;
  }
  .world-map-container {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .map-title {
    font-size: 22px;
  }
  .world-map-container {
    height: 240px;
  }
  .data-point {
    width: 8px;
    height: 8px;
  }
  .data-point::before {
    width: 16px;
    height: 16px;
  }
  .sao-paulo {
    top: 62%;
    left: 19%;
  }
}