/* =============================
   HERO SECTION - VÍDEO DE FUNDO
============================= */

#inicio {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

#inicio video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inicio-video-background {
  object-fit: cover;
  z-index: -2;
}

.inicio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.inicio-content {
  color: #fff;
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding-left: 0; /* alinhado com container */
}

.inicio-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1.2rem;
}

.inicio-content p {
  font-size: 1.5rem;
  margin-bottom: 1.6rem;
  color: #eaeaea;
}

.inicio-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.95rem;
  color: #e8e8e8;
}

.inicio-icons span i {
  margin-right: 8px;
  color: #0b63d6;
}

/* Responsivo */
@media (max-width: 768px) {
  .inicio-content h1 {
    font-size: 2rem;
  }

  .inicio-content p {
    font-size: 1rem;
  }

  .inicio-icons {
    font-size: 0.9rem;
  }
}

/* =============================
      (O que o sistema faz?)
    ============================== */
.plataforma-section {
  padding: 80px 0;
}

.plataforma-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.tag {
  color: #0b63d6;
  font-weight: 600;
  font-size: 15px;
  border-left: 3px solid #0b63d6;
  padding-left: 8px;
  margin-bottom: 10px;
}

.title {
  font-size: 38px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.subtitle {
  font-size: 18px;
  color: #666;
  margin: 8px 0 50px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.card {
  background: #fff;
  border-radius: 20px;
  padding: 35px 25px 25px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.05);
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

/* barra colorida à direita */
.top-bar {
  position: absolute;
  top: 0;
  right: 0; /* agora à direita */
  height: 5px;
  width: 50%;
  border-radius: 0 0 0 10px;
}

.icon {
  width: 55px;
  height: 55px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
  margin-bottom: 18px;
}

.card h4 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  text-align: center;
}

.card p {
  margin: 0;
  font-size: 14px;
  text-align: center;
  color: #555;
}
/* Estilos para os cards padronizados */
.plataforma-section .card {
  border-top: 4px solid var(--primary-color);
  border-top: none; /* Remove a borda superior para não conflitar com o novo estilo */
  align-items: center;
}
.plataforma-section .card .icon {
  background: linear-gradient(135deg, #0984e3, #29b6f6);
}
.plataforma-section .card .icon i {
  /* Garante que o ícone seja branco */
  color: #fff;
}

#depoimentos {
  padding: 50px 0;
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.depoimento-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.depoimento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.depoimento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  border-radius: 16px 16px 0 0;
}

.depoimento-card.green::before {
  background: #06c270;
}
.depoimento-card.blue::before {
  background: #007bff;
}
.depoimento-card.purple::before {
  background: #c44dff;
}

.quote-icon {
  position: absolute;
  top: -18px;
  left: 20px;
  background: #06c270;
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.depoimento-card.blue .quote-icon {
  background: #007bff;
}
.depoimento-card.purple .quote-icon {
  background: #c44dff;
}

.stars {
  color: #fbc02d;
  margin-top: 10px;
  font-size: 1rem;
  letter-spacing: 1px;
}

.depoimento-card p {
  font-size: 0.95rem;
  color: #444;
  margin: 1rem 0 1.5rem 0;
  line-height: 1.6;
}

.autor {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.avatar {
  background: #06c270;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.depoimento-card.blue .avatar {
  background: #007bff;
}
.depoimento-card.purple .avatar {
  background: #c44dff;
}

.autor strong {
  font-size: 0.95rem;
  color: #333;
}

.autor span {
  font-size: 0.8rem;
  color: #777;
}



  .cards-grid-container{
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 20px;
      justify-content: center; /* centraliza colunas quando há espaço extra */
      align-items: start;
      width: 100%;
    }

  .card-data-driven {
      display: flex;
      align-items: center;
      padding: 20px;
      border-radius: 12px;
      max-width: 350px; /* evita largura fixa que quebra o grid */
      width: 100%; /* permite encolher em telas menores */
      background-image: linear-gradient(to right, #007bff, #00c6ff);
      background-size: 100% 5px;
      background-repeat: no-repeat;
      background-position: top;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  /* EFEITOS HOVER */
  .card-data-driven:hover {
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
      transform: translateY(-5px);
  }

  /* Estilos do container do ícone (o círculo de fundo claro) */
  .card-icon-container {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 15px;
  }

  .card-text-content {
      display: flex;
      flex-direction: column;
  }

  .card-title {
      font-size: 16px;
      font-weight: 600;
      color: #333333;
      margin: 0 0 4px 0;
  }

  .card-description {
      font-size: 14px;
      color: #555555;
      margin: 0;
  }

  /* -----------------------
     Efeito bolha em todos os cards
     Aplica-se a: .card, .card-data-driven, .benefit-card,
     .seg-card, .tecnologia-card, .depoimento-card, .info-card
     ----------------------- */
  .card,
  .card-data-driven,
  .benefit-card,
  .seg-card,
  .tecnologia-card,
  .depoimento-card,
  .info-card {
    position: relative;
    overflow: hidden;
    /* garante que o conteúdo fique acima das bolhas */
  }

  /* coloca filhos diretos acima das bolhas */
  .card > *,
  .card-data-driven > *,
  .benefit-card > *,
  .seg-card > *,
  .tecnologia-card > *,
  .depoimento-card > *,
  .info-card > * {
    position: relative;
    z-index: 2;
  }

  /* pseudo-elements que criam as bolhas */
  .card::before,
  .card::after,
  .card-data-driven::before,
  .card-data-driven::after,
  .benefit-card::before,
  .benefit-card::after,
  .seg-card::before,
  .seg-card::after,
  .tecnologia-card::before,
  .tecnologia-card::after,
  .depoimento-card::before,
  .depoimento-card::after,
  .info-card::before,
  .info-card::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.18;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.95), rgba(255,255,255,0.25) 35%, rgba(255,255,255,0.06) 60%, transparent 70%);
    filter: blur(10px);
    transform: translate3d(0,0,0) scale(1);
    transition: opacity 0.3s ease;
  }

  /* posições e tamanhos distintos para before/after (variação entre cards) */
  .card::before,
  .card-data-driven::before,
  .benefit-card::before,
  .seg-card::before,
  .tecnologia-card::before,
  .depoimento-card::before,
  .info-card::before {
    width: 160px;
    height: 160px;
    top: -40px;
    right: -40px;
    animation: bubble-move-1 8s ease-in-out infinite;
  }

  .card::after,
  .card-data-driven::after,
  .benefit-card::after,
  .seg-card::after,
  .tecnologia-card::after,
  .depoimento-card::after,
  .info-card::after {
    width: 100px;
    height: 100px;
    bottom: -30px;
    left: -30px;
    opacity: 0.12;
    animation: bubble-move-2 10s ease-in-out infinite;
  }

  /* variação de cor para cards que já possuem fundo escuro */
  .depoimento-card::before,
  .depoimento-card::after {
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.85), rgba(255,255,255,0.18) 35%, rgba(255,255,255,0.04) 60%, transparent 70%);
  }

  /* animações suaves das bolhas */
  @keyframes bubble-move-1 {
    0%   { transform: translateY(0) scale(1); opacity: 0.18; }
    50%  { transform: translateY(8px) translateX(-6px) scale(1.05); opacity: 0.22; }
    100% { transform: translateY(0) scale(1); opacity: 0.18; }
  }
  @keyframes bubble-move-2 {
    0%   { transform: translateY(0) scale(1); opacity: 0.12; }
    50%  { transform: translateY(-6px) translateX(6px) scale(1.08); opacity: 0.16; }
    100% { transform: translateY(0) scale(1); opacity: 0.12; }
  }

  /* reduz movimento para usuários que preferem menos animação */
  @media (prefers-reduced-motion: reduce) {
    .card::before,
    .card::after,
    .card-data-driven::before,
    .card-data-driven::after,
    .benefit-card::before,
    .benefit-card::after,
    .seg-card::before,
    .seg-card::after,
    .tecnologia-card::before,
    .tecnologia-card::after,
    .depoimento-card::before,
    .depoimento-card::after,
    .info-card::before,
    .info-card::after {
      animation: none;
      opacity: 0.13;
    }
  }

  /* adaptações responsivas (bolhas menores em telas pequenas) */
  @media (max-width: 600px) {
    .card::before,
    .card-data-driven::before,
    .benefit-card::before,
    .seg-card::before,
    .tecnologia-card::before,
    .depoimento-card::before,
    .info-card::before {
      width: 110px;
      height: 110px;
      top: -30px;
      right: -30px;
      filter: blur(8px);
    }
    .card::after,
    .card-data-driven::after,
    .benefit-card::after,
    .seg-card::after,
    .tecnologia-card::after,
    .depoimento-card::after,
    .info-card::after {
      width: 70px;
      height: 70px;
      bottom: -20px;
      left: -20px;
      filter: blur(6px);
    }
  }