/* Landing page: hero and the gate panel (signature element). */

.os-hero {
  padding-block: var(--os-space-8) var(--os-space-7);
}

.os-hero__grid {
  display: grid;
  gap: var(--os-space-7);
  align-items: center;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
}

@media (max-width: 991px) {
  .os-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--os-space-6);
  }
}

.os-hero__copy {
  display: grid;
  gap: var(--os-space-5);
  justify-items: start;
}

.os-hero__title .os-hero__title-cut {
  display: block;
  color: var(--os-muted);
}

.os-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--os-space-3);
}

@media (max-width: 575px) {
  .os-hero__cta {
    width: 100%;
  }

  .os-hero__cta .os-btn {
    flex: 1 1 100%;
  }
}

.os-hero__price {
  display: flex;
  align-items: baseline;
  gap: var(--os-space-3);
  font-family: var(--os-font-mono);
  font-size: var(--os-step-1);
  font-variant-numeric: tabular-nums;
  color: var(--os-text);
}

.os-hero__price-was {
  font-size: var(--os-step--1);
  color: var(--os-muted);
  text-decoration: line-through;
}

/* --- Gate panel --------------------------------------------------------- */

.os-panel-wrap {
  position: relative;
}

.os-panel-wrap::before {
  content: "";
  position: absolute;
  inset: -12% -6%;
  z-index: -1;
  background: radial-gradient(50% 45% at 50% 45%, rgba(182, 255, 0, 0.13), transparent 70%);
  pointer-events: none;
}

.os-panel__match {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--os-space-4);
  padding: var(--os-space-5);
  border-bottom: 1px solid var(--os-line);
}

.os-panel__match .os-panel__minute {
  margin-right: var(--os-space-3);
}

.os-panel__teams {
  font-family: var(--os-font-display);
  font-size: var(--os-step-2);
  font-weight: 600;
  line-height: 1.1;
}

.os-panel__score {
  color: var(--os-muted);
  font-weight: 500;
}

.os-panel__competition {
  display: block;
  font-family: var(--os-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--os-muted);
  margin-top: var(--os-space-2);
}

.os-panel__minute {
  font-family: var(--os-font-mono);
  font-size: var(--os-step-1);
  font-variant-numeric: tabular-nums;
  color: var(--os-text);
  white-space: nowrap;
}

.os-panel__gates {
  list-style: none;
  margin: 0;
  padding: var(--os-space-2) 0;
}

.os-gate {
  display: flex;
  align-items: center;
  gap: var(--os-space-3);
  padding: 0.6875rem var(--os-space-5);
}

.os-gate__mark {
  width: 14px;
  height: 14px;
  border: 1px solid var(--os-line-strong);
  border-radius: 3px;
  flex-shrink: 0;
  position: relative;
}

.os-gate--pass .os-gate__mark {
  border-color: rgba(182, 255, 0, 0.45);
  background: var(--os-volt-wash);
}

.os-gate--pass .os-gate__mark::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid var(--os-volt);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(42deg);
}

.os-gate--fail .os-gate__mark {
  border-color: var(--os-red);
  background: rgba(255, 77, 94, 0.12);
}

.os-gate--fail .os-gate__mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--os-red);
  clip-path: polygon(
    12% 0,
    50% 38%,
    88% 0,
    100% 12%,
    62% 50%,
    100% 88%,
    88% 100%,
    50% 62%,
    12% 100%,
    0 88%,
    38% 50%,
    0 12%
  );
}

.os-gate--skip .os-gate__mark::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 50%;
  height: 1px;
  background: var(--os-line-strong);
}

.os-gate__label {
  font-size: var(--os-step--1);
  color: var(--os-text);
}

.os-gate--fail .os-gate__label {
  color: var(--os-red);
}

.os-gate--skip .os-gate__label {
  color: var(--os-muted);
}

.os-gate__detail {
  margin-left: auto;
  font-family: var(--os-font-mono);
  font-size: var(--os-step--1);
  font-variant-numeric: tabular-nums;
  color: var(--os-muted);
  text-align: right;
}

/* Declared after the base gate rules so the mobile overrides win on order. */
@media (max-width: 575px) {
  .os-gate {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr);
    column-gap: var(--os-space-3);
    row-gap: 0.125rem;
    align-items: start;
    padding-inline: var(--os-space-4);
  }

  .os-gate__mark {
    margin-top: 0.25rem;
  }

  .os-gate__label,
  .os-gate__detail {
    grid-column: 2;
  }

  .os-gate__detail {
    margin-left: 0;
    text-align: left;
  }
}

.os-panel__verdict {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--os-space-4);
  padding: var(--os-space-4) var(--os-space-5);
  border-top: 1px solid var(--os-line);
  font-family: var(--os-font-mono);
  font-size: var(--os-step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.os-panel__verdict--discarded {
  color: var(--os-muted);
}

.os-panel__verdict--emitted {
  color: var(--os-volt);
  background: var(--os-volt-wash);
}

/* Evaluation cycling: one visible at a time, gates revealed in sequence. */

.os-eval {
  display: none;
}

.os-eval.is-active {
  display: block;
}

.os-eval.is-active .os-gate,
.os-eval.is-active .os-panel__verdict {
  animation: os-gate-in 300ms ease both;
  animation-delay: calc(var(--os-i, 0) * 150ms);
}

@keyframes os-gate-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .os-eval.is-active .os-gate,
  .os-eval.is-active .os-panel__verdict {
    animation: none;
  }
}

/* --- Readout strip ------------------------------------------------------ */

.os-readout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--os-line);
  border-bottom: 1px solid var(--os-line);
}

.os-readout__cell {
  padding: var(--os-space-5);
  border-left: 1px solid var(--os-line);
}

.os-readout__cell:first-child {
  border-left: 0;
  padding-left: 0;
}

.os-readout__value {
  font-family: var(--os-font-display);
  font-size: var(--os-step-3);
  font-weight: 900;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--os-volt);
  line-height: 1.1;
}

.os-readout__label {
  display: block;
  margin-top: var(--os-space-2);
  font-family: var(--os-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  color: var(--os-muted);
}

@media (max-width: 767px) {
  .os-readout {
    grid-template-columns: minmax(0, 1fr);
  }

  .os-readout__cell {
    border-left: 0;
    border-top: 1px solid var(--os-line);
    padding-inline: 0;
  }

  .os-readout__cell:first-child {
    border-top: 0;
  }
}

/* --- Section scaffolding ------------------------------------------------ */

.os-section--raised {
  background: var(--os-ink-sunken);
  border-block: 1px solid var(--os-line);
}

/* --- Etapa 1: gate steps ------------------------------------------------ */

.os-steps {
  list-style: none;
  counter-reset: os-step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--os-space-4);
}

.os-step {
  counter-increment: os-step;
  padding: var(--os-space-5) var(--os-space-5) 1.625rem;
  border: 1px solid var(--os-line);
  border-radius: var(--os-radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  transition: transform 200ms ease, border-color 200ms ease;
}

.os-step:hover {
  transform: translateY(-4px);
  border-color: var(--os-volt-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}

.os-step::before {
  content: counter(os-step);
  display: block;
  font-family: var(--os-font-display);
  font-weight: 900;
  font-size: 1.375rem;
  color: rgba(163, 230, 53, 0.5);
  margin-bottom: var(--os-space-4);
}

.os-step__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: row-reverse;
  gap: var(--os-space-3);
  margin-bottom: var(--os-space-2);
}

.os-step__label {
  font-family: var(--os-font-display);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0;
}

.os-step__threshold {
  font-family: var(--os-font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--os-volt);
  white-space: nowrap;
  border: 1px solid var(--os-volt-border);
  border-radius: 999px;
  padding: 0.25rem 0.625rem;
}

.os-step__why {
  color: var(--os-muted);
  font-size: var(--os-step--1);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 991px) {
  .os-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .os-steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- Etapa 2: weights --------------------------------------------------- */

.os-score {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--os-space-7);
  align-items: start;
}

@media (max-width: 991px) {
  .os-score {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--os-space-6);
  }
}

.os-weights-card {
  padding: 1.625rem 1.75rem;
}

.os-weights-card__title {
  font-family: var(--os-font-mono);
  font-size: var(--os-step--1);
  letter-spacing: 0.1em;
  color: var(--os-muted);
  margin: 0 0 1.375rem;
}

.os-weights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--os-space-4);
}

.os-weight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: var(--os-space-4);
  row-gap: 0.4375rem;
}

.os-weight__label {
  font-size: var(--os-step--1);
  color: #dfe2e5;
}

.os-weight__value {
  font-family: var(--os-font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--os-volt);
  text-align: right;
}

.os-weight__bar {
  grid-column: 1 / -1;
  height: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.os-weight__bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--os-w, 0%);
  border-radius: 4px;
  background: var(--os-volt);
}

.os-weight__detail {
  display: none;
}

.os-score__rules {
  display: grid;
  gap: var(--os-space-4);
}

.os-rule-card {
  border: 1px solid var(--os-line);
  border-radius: var(--os-radius-lg);
  padding: var(--os-space-5) 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}

.os-rule-card--highlight {
  border-color: var(--os-volt-border);
  background: linear-gradient(180deg, rgba(163, 230, 53, 0.08), rgba(163, 230, 53, 0.02));
}

.os-rule-card--highlight .os-rule-card__title {
  color: var(--os-volt);
}

.os-rule-card--highlight .os-rule-card__body {
  color: #dfe2e5;
}

.os-rule-card__title {
  font-family: var(--os-font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--os-text);
  margin: 0 0 var(--os-space-2);
}

.os-rule-card__body {
  color: var(--os-muted);
  font-size: var(--os-step--1);
  line-height: 1.5;
  margin: 0;
}

.os-score__note {
  margin-top: var(--os-space-6);
}

/* --- Etapa 3: alerta + unidades ---------------------------------------- */

.os-deliver {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--os-space-7);
  align-items: start;
}

@media (max-width: 991px) {
  .os-deliver {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--os-space-6);
  }
}

.os-alert {
  border: 1px solid var(--os-line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  font-size: var(--os-step--1);
  line-height: 1.55;
}

.os-alert__band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--os-space-4) var(--os-space-5);
  border-bottom: 1px solid var(--os-line);
  background: var(--os-volt-wash);
}

.os-alert__header {
  font-family: var(--os-font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--os-volt);
}

.os-alert__tag {
  font-family: var(--os-font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--os-muted);
}

.os-alert__body {
  padding: var(--os-space-5);
}

.os-alert__body p {
  margin: 0 0 var(--os-space-4);
}

.os-alert__match {
  font-family: var(--os-font-display);
  font-weight: 800;
  font-size: var(--os-step-1);
  letter-spacing: -0.01em;
}

.os-alert__line,
.os-alert__score,
.os-alert__units,
.os-alert__status {
  font-family: var(--os-font-mono);
  font-variant-numeric: tabular-nums;
}

.os-alert__score,
.os-alert__units {
  color: var(--os-volt);
  margin-bottom: var(--os-space-2);
}

.os-alert__window-title {
  font-family: var(--os-font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--os-muted);
  margin-bottom: var(--os-space-3) !important;
}

.os-alert__window {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--os-space-2);
  margin: 0 0 var(--os-space-4);
}

.os-alert__window-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--os-space-2);
  padding: 0.625rem 0.8125rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--os-line);
  border-radius: 10px;
}

.os-alert__window-row dt {
  font-weight: 400;
  color: var(--os-muted);
}

.os-alert__window-row dd {
  margin: 0;
  font-family: var(--os-font-mono);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--os-volt);
}

.os-alert__status {
  color: var(--os-amber);
}

.os-alert__footer {
  margin: 0 !important;
  padding-top: var(--os-space-4);
  border-top: 1px solid var(--os-line);
  color: var(--os-muted);
}

.os-deliver__notes {
  display: grid;
  gap: var(--os-space-6);
}

.os-notes {
  display: grid;
  gap: var(--os-space-4);
  margin: 0;
}

.os-note {
  display: grid;
  gap: var(--os-space-2);
  padding: var(--os-space-5);
  border: 1px solid var(--os-line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}

.os-note__term {
  font-family: var(--os-font-display);
  font-weight: 800;
  font-size: var(--os-step-0);
  color: var(--os-text);
  margin: 0;
}

.os-note__body {
  margin: 0;
  color: var(--os-muted-2);
  font-size: var(--os-step--1);
  line-height: 1.5;
}

/* --- Resultados (card com tabela, exclusivo da landing) ----------------- */

.os-results__body {
  padding: 0;
  overflow-x: auto;
}

/* Qualificado por elemento: `.os-table th` (0,1,1) venceria a classe sozinha. */
.os-results th.os-results__outcome-col,
.os-results td.os-results__outcome-col {
  text-align: right;
}

.os-results__note {
  margin-top: var(--os-space-4);
}

/* --- Transparencia ------------------------------------------------------ */

.os-claims {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--os-space-4);
}

@media (max-width: 767px) {
  .os-claims {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--os-space-5);
  }
}

.os-claim {
  padding: 1.625rem 1.625rem 1.75rem;
  border: 1px solid var(--os-line);
  border-radius: var(--os-radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  transition: transform 200ms ease, border-color 200ms ease;
}

.os-claim:hover {
  transform: translateY(-4px);
  border-color: var(--os-volt-border);
}

.os-claim::before {
  content: "";
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: radial-gradient(circle, var(--os-volt) 0 4.5px, var(--os-volt-wash) 4.5px);
  margin-bottom: var(--os-space-4);
}

.os-claim__title {
  font-family: var(--os-font-display);
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 0.625rem;
}

.os-claim__body {
  margin: 0;
  font-size: var(--os-step--1);
  line-height: 1.55;
  color: var(--os-muted);
}

/* --- Planos ------------------------------------------------------------- */

.os-plan {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: var(--os-space-7);
  align-items: start;
}

@media (max-width: 991px) {
  .os-plan {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--os-space-6);
  }
}

.os-plan__copy {
  display: grid;
  gap: var(--os-space-4);
  align-content: start;
}

.os-plan__promo {
  font-family: var(--os-font-mono);
  font-size: var(--os-step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--os-volt);
  margin: 0;
}

.os-plan__card {
  border-color: var(--os-volt-border);
  background: linear-gradient(180deg, rgba(163, 230, 53, 0.08), rgba(163, 230, 53, 0.02));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.os-plan__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--os-space-3);
  font-family: var(--os-font-mono);
  font-weight: 700;
  font-size: 2rem;
  font-variant-numeric: tabular-nums;
  margin: 0 0 1.75rem;
}

.os-plan__list {
  list-style: none;
  margin: 0 0 var(--os-space-5);
  padding: 0;
  display: grid;
  gap: var(--os-space-3);
}

.os-plan__item {
  position: relative;
  padding-left: var(--os-space-5);
  font-size: var(--os-step--1);
  color: var(--os-text);
}

.os-plan__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 4px;
  height: 7px;
  border: solid var(--os-volt);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(42deg);
}

.os-plan__cta {
  width: 100%;
  margin-bottom: var(--os-space-3);
}

/* --- FAQ ---------------------------------------------------------------- */

.os-faq {
  display: grid;
  gap: var(--os-space-3);
  margin-top: 34px;
  max-width: 760px;
}

.os-faq__item {
  border: 1px solid var(--os-line);
  border-radius: var(--os-radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  overflow: hidden;
}

.os-faq__question {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--os-space-4);
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-family: var(--os-font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  list-style: none;
  transition: background-color 160ms ease;
}

.os-faq__question:hover {
  background: rgba(255, 255, 255, 0.02);
}

.os-faq__question::-webkit-details-marker {
  display: none;
}

.os-faq__question::after {
  content: "+";
  font-family: var(--os-font-mono);
  font-size: 1.375rem;
  color: var(--os-volt);
  flex-shrink: 0;
}

.os-faq__item[open] .os-faq__question::after {
  content: "\2212";
}

.os-faq__answer {
  margin: 0;
  padding: 0 1.5rem 1.375rem;
  max-width: 640px;
  font-size: 0.90625rem;
  line-height: 1.6;
  color: var(--os-muted-2);
}

/* --- CTA final ---------------------------------------------------------- */

.os-cta__inner {
  display: grid;
  justify-items: center;
  gap: var(--os-space-5);
  text-align: center;
  padding: 56px 48px;
  border: 1px solid var(--os-volt-border);
  border-radius: 24px;
  background: radial-gradient(600px 300px at 80% 0%, rgba(163, 230, 53, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

@media (max-width: 575px) {
  .os-cta__inner {
    padding: var(--os-space-6) var(--os-space-5);
  }
}

.os-cta__title {
  max-width: 20ch;
}

.os-cta__lead {
  max-width: 56ch;
}

.os-cta__actions {
  justify-content: center;
}

.os-cta__fineprint {
  max-width: 60ch;
}
