/* ==========================
   IM | TRUST BAR (Smoother Halo Fix)
   ========================== */

/* Contentor principal da secção */
.im-trust-bar {
  background-color: #0d4c63;          /* Petrol blue IM. */
  color: #ffffff;
  padding: 60px 20px;                 /* Ajustei o padding para dar ar */
  font-family: 'Lato', sans-serif;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* CORREÇÃO DO HALO DE LUZ:
   Agora é muito maior (150% de largura) para evitar bordas visíveis,
   e mais suave para não parecer uma "linha" atrás do texto.
*/
.im-trust-bar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Centra perfeitamente */
  
  width: 1200px; /* Aumentado para dispersar a luz */
  height: 800px;
  
  background: radial-gradient(
    ellipse at center,
    rgba(255,255,255,0.12) 0%,   /* Centro ligeiramente iluminado */
    rgba(255,255,255,0.05) 40%,  /* Decaimento suave */
    transparent 70%              /* Desaparece nas bordas */
  );
  
  pointer-events: none;
  z-index: 0; /* Garante que fica no fundo */
}

.im-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2; /* Texto garantidamente acima da luz */
}

/* ==========================
   1) ROW TOP: TOP5 / ANI / AMEC
   ========================== */

.im-stats-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 50px auto; /* Mais espaço entre o Topo e as Pílulas */
}

.im-stat-item {
  flex: 1;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Separador vertical entre Top5 / ANI / AMEC */
.im-stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background-color: rgba(255,255,255,0.20);
}

/* Títulos grandes do topo */
.im-stats-row .im-stat-title {
  font-family: 'Poppins', sans-serif;
  font-size: 44px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: #ffffff;
  line-height: 1.1;
}

.im-stats-row .im-stat-subtitle {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #e7f1f5;
  font-weight: 600;
}

/* ==========================
   2) ROW MIDDLE: 4 KPI PILLS
   ========================== */

.im-stats-pills-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto 40px auto; /* Mais espaço antes do separador final */
}

.im-stat-pill {
  flex: 0 1 48%;
  min-width: 300px;
  max-width: 500px;
  padding: 16px 32px; 
  border-radius: 999px;
  
  /* Borda mais subtil */
  border: 1px solid rgba(255,255,255,0.15);
  
  /* Fundo ligeiramente mais escuro para contraste com o halo */
  background: rgba(4, 28, 42, 0.6); 
  
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  backdrop-filter: blur(4px); /* Blur suave */
  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Número dentro da pill */
.im-stat-pill .im-stat-title {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: #ffffff;
  line-height: 1.2;
}

/* Texto explicativo da pill */
.im-stat-pill .im-stat-subtitle {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #e7f1f5;
  font-weight: 600;
}

/* ==========================
   3) SEPARADOR ("A CONFIANÇA...")
   ========================== */

.im-trust-divider {
  margin: 0 auto 20px auto;
  position: relative;
  text-align: center;
  max-width: 800px; /* Limita a largura da linha */
}

/* A linha horizontal */
.im-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  
  /* Gradiente para a linha desaparecer nas pontas */
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
  
  z-index: 1;
}

/* O texto sobre a linha */
.im-divider-text {
  position: relative;
  z-index: 2;
  
  /* Fundo transparente ou da cor da secção */
  background-color: #0d4c63; 
  
  display: inline-block;
  padding: 0 20px;
  
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ffffff;
  font-weight: 600;
}

/* ==========================
   4) INDUSTRIES PILLS
   ========================== */

.im-industries-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.im-industry-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  border: 1px solid rgba(25