/* =============================================
   CONTA DO MILHÃO - Card com digitação animada
   ============================================= */

.conta-milhao {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 54px;
  width: 100%;
  padding: 48px;
  background: var(--base-white);
  border-radius: 40px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  position: relative;
}

/* ---------- Placa Images (absolute) ---------- */
.conta-milhao__placa {
  position: absolute;
  object-fit: cover;
  pointer-events: none;
  z-index: 1;
}

.conta-milhao__placa--right {
  width: 502px;
  height: 613px;
  right: -30px;
  top: 40px;
  transform: rotate(12deg);
}

.conta-milhao__placa--left {
  width: 479px;
  height: 548px;
  left: -203px;
  top: 160px;
  transform: rotate(-15deg);
}

.conta-milhao__placa--blur {
  width: 520px;
  height: 635px;
  left: -237px;
  top: -505px;
  filter: blur(60px);
  transform: rotate(-15deg);
}

/* ---------- Text Side ---------- */
.conta-milhao__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  width: 684px;
  flex-shrink: 0;
  position: relative;
}

.conta-milhao__label {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
}

.conta-milhao__label i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 24px;
  color: var(--tertiary-normal);
}

.conta-milhao__label span {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4em;
  letter-spacing: 0.05em;
  color: var(--surface-darker);
}

/* ---------- Values ---------- */
.conta-milhao__values {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.conta-milhao__line {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.4em;
  letter-spacing: 0.05em;
  color: var(--primary-darker);
  text-align: left;
}

.conta-milhao__line span {
  font-weight: 700;
  color: var(--primary-normal);
}

.conta-milhao__label,
.conta-milhao__line,
.conta-milhao__typing,
.conta-milhao__note {
  position: relative;
  z-index: 2;
}

.conta-milhao__divider {
  width: 100%;
  height: 5px;
  background: var(--surface-normal);
  border-radius: 3px;
}

/* ---------- Typing Animation ---------- */
.conta-milhao__typing {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.2em;
  letter-spacing: 0.05em;
  color: var(--primary-normal);
  text-align: left;
  min-height: 1.2em;
}

.conta-milhao__typing span::after {
  content: '|';
  animation: cursorBlink 0.6s steps(1) infinite;
  color: var(--primary-normal);
  font-weight: 300;
}

@keyframes cursorBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.conta-milhao__note {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4em;
  letter-spacing: 0.05em;
  color: var(--surface-darker);
  text-align: left;
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .conta-milhao__text {
    width: auto;
    flex: 1;
    min-width: 0;
  }

  .conta-milhao__placa--right {
    width: 400px;
    height: auto;
  }
}

@media (max-width: 834px) {
  .conta-milhao {
    padding: 32px;
    gap: 32px;
  }

  .conta-milhao__text {
    width: auto;
    flex: 1;
    min-width: 0;
    gap: 32px;
  }

  .conta-milhao__typing {
    font-size: 32px;
    text-align: center;
  }

  .conta-milhao__line {
    font-size: 24px;
    text-align: center;
  }

  .conta-milhao__note {
    text-align: center;
  }

  .conta-milhao__label {
    justify-content: center;
  }

  .conta-milhao__placa--right {
    width: 320px;
    height: auto;
    right: -80px;
    top: auto;
    bottom: -60px;
  }

  .conta-milhao__placa--left {
    left: -250px;
    top: auto;
    bottom: 0;
  }
}

@media (max-width: 576px) {
  .conta-milhao {
    padding: 24px 24px 120px;
    gap: 24px;
    border-radius: 40px;
  }

  .conta-milhao__text {
    gap: 40px;
  }

  .conta-milhao__values {
    gap: 24px;
  }

  .conta-milhao__typing {
    font-size: 24px;
    text-align: center;
  }

  .conta-milhao__line {
    font-size: 24px;
    text-align: center;
  }

  .conta-milhao__note {
    font-size: 18px;
    text-align: center;
  }

  .conta-milhao__label {
    justify-content: center;
  }

  .conta-milhao__placa--right {
    display: none;
  }

  .conta-milhao__placa--left {
    width: 280px;
    height: auto;
    left: -20px;
    top: auto;
    bottom: -80px;
    transform: rotate(-18deg);
  }

  .conta-milhao__placa--blur {
    width: 260px;
    height: auto;
    left: auto;
    right: -20px;
    top: auto;
    bottom: -90px;
    filter: blur(30px);
    transform: rotate(18deg);
  }
}
