/* ============================================================
   infos.css
   assets/css/infos.css
   Desenvolvido por AGENCIAPAZ
   ============================================================
   Seção de cards deslizantes abaixo da hero.
   Fundo branco, cards com borda, ícones SVG vermelhos.
   Animação CSS pura — sem dependência de biblioteca.
   ============================================================ */

/* ============================================================
   [INFOS — WRAPPER DA SEÇÃO]
   ============================================================ */
.infos {
  background: #f8f8f8;
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid #eee;
  position: relative;
  z-index: 1;
}

/* Fade lateral — esmaecer nas bordas */
.infos::before,
.infos::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.infos::before {
  left: 0;
  background: linear-gradient(to right, #f8f8f8, transparent);
}
.infos::after {
  right: 0;
  background: linear-gradient(to left, #f8f8f8, transparent);
}


/* ============================================================
   [INFOS — TRACK ANIMADO]
   Duplicamos os cards no PHP para loop infinito contínuo.
   ============================================================ */
.infos__track {
  display: flex;
  gap: 0;
  animation: infos-scroll 32s linear infinite;
  width: max-content;
  padding: 20px 0;
}

.infos__track:hover {
  animation-play-state: paused;
}

@keyframes infos-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* 50% porque duplicamos os itens */
}


/* ============================================================
   [INFOS — CARD INDIVIDUAL]
   ============================================================ */
.info-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1.5px solid #e8e8e8;
  border-radius: 10px;
  padding: 16px 22px;
  margin: 0 10px;
  min-width: 220px;
  max-width: 240px;
  flex-shrink: 0;
  transition: border-color .2s, box-shadow .2s;
}

.info-card:hover {
  border-color: #e63329;
  box-shadow: 0 4px 16px rgba(230,51,41,.1);
}

/* Ícone SVG */
.info-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card__icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: #e63329;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Ícones que usam fill em vez de stroke */
.info-card__icon svg.icon-fill {
  fill: #e63329;
  stroke: none;
}

/* Texto do card */
.info-card__text {
  font-size: 13.5px;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
}

.info-card__text strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #e63329;
  line-height: 1.1;
}


/* ============================================================
   [INFOS — RESPONSIVO]
   ============================================================ */
@media (max-width: 600px) {
  .info-card {
    min-width: 190px;
    max-width: 200px;
    padding: 14px 16px;
    gap: 10px;
  }

  .info-card__icon svg {
    width: 28px;
    height: 28px;
  }

  .info-card__text {
    font-size: 12.5px;
  }

  .infos__track {
    animation-duration: 24s;
  }
}