/*
 * Ajustes fáceis do site estático.
 * Use este arquivo para novas regras sem alterar o CSS compilado em site.css.
 */

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

.sevon-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.625rem;
  margin-top: 0.875rem;
  text-align: left;
}

.sevon-plan-card {
  position: relative;
  width: 100%;
  min-width: 0;
  padding: 0.875rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.96);
  color: var(--primary);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 10px 24px rgba(30, 21, 73, 0.14);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.sevon-plan-card::after {
  content: "✓";
  position: absolute;
  top: -0.45rem;
  right: -0.4rem;
  display: grid;
  width: 1.4rem;
  height: 1.4rem;
  place-items: center;
  border: 2px solid var(--primary);
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-foreground);
  font-size: 0.75rem;
  font-weight: 900;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 160ms ease, transform 160ms ease;
}

.sevon-plan-card:hover {
  transform: translateY(-2px);
}

.sevon-plan-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.sevon-plan-card.is-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent), 0 14px 30px rgba(30, 21, 73, 0.22);
  transform: translateY(-2px);
}

.sevon-plan-card.is-selected::after {
  opacity: 1;
  transform: scale(1);
}

.sevon-plan-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.35rem;
  padding-bottom: 0.65rem;
  margin-bottom: 0.65rem;
  border-bottom: 1px solid rgba(123, 110, 182, 0.18);
}

.sevon-plan-heading h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.sevon-plan-heading span {
  max-width: 4rem;
  color: #5d5b6e;
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: right;
}

.sevon-plan-original {
  color: #777287;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: line-through;
}

.sevon-plan-label {
  margin-top: 0.35rem;
  color: #49435f;
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1.2;
}

.sevon-plan-price {
  margin-top: 0.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 4.6vw, 1.42rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  white-space: nowrap;
}

.sevon-plan-installment {
  margin-top: 0.45rem;
  color: #5d5b6e;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.2;
}

.sevon-plan-selection {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 700;
}

@media (min-width: 48rem) {
  .sevon-plan-card {
    padding: 1rem 0.875rem;
  }

  .sevon-plan-price {
    font-size: 1.35rem;
  }
}
