/* FONTS */

@font-face {
  font-family: 'OpenSans';
  src: url('../fonts/OpenSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'OpenSans';
  src: url('../fonts/OpenSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'OpenSauce';
  src: url('../fonts/OpenSauce-Light.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'OpenSauce';
  src: url('../fonts/OpenSauce-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

.container {
  display: grid;
  gap: 15rem;
  margin-top: 10rem;
  min-width: 90%;
  align-items: center;
  justify-content: center;
  background-image: url('../img/products/bg/bg.png');
  background-repeat: repeat-y;
}

.section {
  /* position: sticky; */
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  transition: opacity 0.3s ease;
}

.card {
  width: 100%;
  border: 0 !important;
  border-radius: 10px;
  transition: transform 0.3s ease;
  background: transparent !important;
}

.tbs-card {
  display: flex;
  justify-content: space-between;
  color: #fff;
  width: 100%;
  padding: 0 8rem;
  box-sizing: border-box;
  overflow: hidden;
}

.tbs-card-content {
  flex: 1;
  max-width: 50%;
}

.tbs-card-title {
  font-family: 'OpenSauce', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
}

.tbs-card-subtitle {
  font-family: 'OpenSauce', sans-serif;
  color: #00aaff;
  font-size: 1.8rem;
}

.tbs-card-text {
  font-family: 'OpenSans', sans-serif;
  font-size: 1.1rem;
  text-align: justify;
  line-height: 1.6;
  color: #ddd;
}

.tbs-card-btn {
  min-height: 70px;
  min-width: 225px;
  background: linear-gradient(
    145deg,
    rgba(56, 182, 255, 0.25),
    rgba(8, 15, 27, 0.15)
  );
  border: 2px solid rgba(56, 182, 255, 0.6);
  color: white;
  padding: 0 1.8rem;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.4),
    inset 0 0 15px rgba(0, 212, 255, 0.2);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.tbs-card-btn:hover {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.35),
    rgba(0, 212, 255, 0.25)
  );
  box-shadow:
    0 0 25px rgba(0, 212, 255, 0.7),
    inset 0 0 20px rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.card:hover {
  transform: scale(1.02);
  /* box-shadow: 0 0 25px rgba(0, 212, 255, 0.5); */
}

.card h2 {
  font-size: 3em;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card p {
  font-size: 1.2em;
  color: #555;
  line-height: 1.8;
  max-width: 600px;
}

.card-number {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 5em;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.05);
}

.section .card { background: var(--tbs-color-dark-blue); color: white; }
.section .card h2 { -webkit-text-fill-color: white; }
.section .card p { color: rgba(255, 255, 255, 0.9); }

.tbs-card-img-wrapper {
  padding: 0 25px;
}

.tbs-card-img {
  width: 550px;
  height: 500px;
  object-fit: contain;
}

/* Animação de entrada */
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.card {
  animation: fadeIn 2.6s ease-out;
}

.scroll-indicator {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 0.9em;
  z-index: 1000;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

@media (max-width: 1300px) {
  .tbs-card {
    padding: 0 4rem;
  }

  .tbs-card-img {
    max-width: 450px;
    max-height: 450px;
  }
}

@media (max-width: 1100px) {
  .tbs-card {
    display: block;
    height: auto;
    padding: 0 2rem;
    text-align: center;
  }

  .tbs-card-content {
    max-width: 100%;
    width: 100%;
    text-align: center !important;
  }

  .tbs-card-title,
  .tbs-card-subtitle,
  .tbs-card-text {
    text-align: center !important;
    justify-content: center;
  }

  .tbs-card-text {
    text-align: justify !important;
    justify-self: center;
  }

  .tbs-card-img-wrapper {
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: center;
  }

  .tbs-card-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: none !important;
  }

  .flex-row,
  .flex-row-reverse {
    flex-direction: column !important;
  }
}

@media (max-width: 750px) {
  .container {
    margin-top: 1.5rem !important;
    gap: 8rem !important;
  }
}