/* agingcalc.css — estilos específicos da Calculadora de Aging (TioLeo BPT) */

/* Fonte Comic Neue apenas dentro do bloco da calculadora */
.agingcalc-container,
.agingcalc-container .section-title,
.agingcalc-container .agingcalc-subtitle,
.agingcalc-container .agingcalc-text,
.agingcalc-container .agingcalc-label,
.agingcalc-container .type-btn {
  font-family: "Comic Neue", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Container principal da calculadora */
.agingcalc-container {
  max-width: var(--max-width);
  margin: 18px auto 32px;
  padding: 24px 18px 28px;
  background: var(--glass);
  border-radius: var(--radius);
  box-shadow: var(--shadow-weak);
  text-align: center;
}

/* Cabeçalho */
.agingcalc-header {
  margin-bottom: 18px;
}

/* Esconde as bolinhas (não serão usadas nesta página) */
.agingcalc-dots {
  display: none;
}

/* Mantido para compatibilidade, caso um dia queira ativar */
.agingcalc-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #444;
}

.agingcalc-dots span.active {
  background: var(--accent);
}

.agingcalc-header .section-title {
  font-size: 1.6rem;
  letter-spacing: 0.18em;
  margin: 0 0 4px;
}

.agingcalc-subtitle {
  font-weight: 300;
  font-size: 0.95rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px;
}

.agingcalc-text {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 4px;
}

/* Bloco de tipo */
.agingcalc-type-block {
  margin-bottom: 18px;
}

.agingcalc-label {
  font-size: 1rem;
  margin-bottom: 8px;
}

.agingcalc-type-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Botões LIMPO → AGE / AGE → LIMPO */
.type-btn {
  border: none;
  border-radius: 25px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-weak);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.type-btn-yellow {
  background: var(--accent-2);
  color: #050505;
}

.type-btn-blue {
  background: var(--accent);
  color: #050505;
}

.type-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 14px 36px rgba(0,0,0,0.85);
}

/* Área dos iframes */
.agingcalc-frames {
  margin-top: 10px;
}

/* Wrapper dos iframes — altura fixa generosa para evitar scroll interno */
.agingcalc-frame-wrapper {
  width: 100%;
  max-width: 330px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-weak);
  background: #000;
  height: 1300px;           /* altura suficiente para o conteúdo das calculadoras */
}

/* Iframe interno */
.agingcalc-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Centraliza o footer apenas nesta página */
footer {
  text-align: center;
  padding: 12px 0 18px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Responsivo */
@media (max-width: 768px) {
  .agingcalc-container {
    padding: 20px 12px 22px;
  }

  .agingcalc-header .section-title {
    font-size: 1.4rem;
    letter-spacing: 0.12em;
  }

  .agingcalc-subtitle {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
  }

  .type-btn {
    width: 100%;
    max-width: 260px;
  }

  .agingcalc-frame-wrapper {
    height: 1100px; /* um pouco maior no mobile para evitar cortes */
  }
}