/*
 * Matrícula (/matricula). Builds on landing.css: same paper, type, buttons and notebook sections.
 * The page script hooks onto data-* attributes, never onto these classes.
 */

/* ---------- Hero ---------- */

.mt-hero {
  padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(3rem, 7vw, 5rem);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--blue-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--blue-grid) 1px, transparent 1px);
  background-size: 28px 28px;
  border-bottom: 1.5px solid var(--ink);
}
.mt-hero__grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 960px) {
  .mt-hero__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); }
}
.mt-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6.4vw, 5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.mt-hero__title .lp-mark { white-space: nowrap; }
.mt-hero__lead { margin-top: 1.4rem; max-width: 34rem; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-2); }
.mt-hero__action { margin-top: 2rem; }
.mt-hero__note { margin-top: 0.8rem; font-size: 0.9rem; color: var(--ink-3); }

.oa-enrollment-start[data-pending] { opacity: 0.7; pointer-events: none; }
.oa-enrollment-unavailable {
  max-width: 32rem;
  padding: 1rem 1.25rem;
  border: 1.5px solid var(--orange);
  border-radius: var(--radius);
  background: var(--paper-3);
  font-weight: 500;
}
.oa-enrollment-unavailable a { font-weight: 700; color: var(--ink); }

/* Index card: what to have ready */
.mt-ticket {
  position: relative;
  padding: 1.75rem 1.75rem 1.5rem 3.4rem;
  background: var(--paper-3);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 10px 10px 0 var(--blue);
}
.mt-ticket::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 2.1rem; width: 1.5px; background: rgb(0 143 181 / 0.55);
}
.mt-ticket__owl { position: absolute; right: 1.1rem; top: -2.4rem; width: 64px; height: auto; transform: rotate(6deg); }
.mt-ticket__title {
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);
}
.mt-ticket__list { list-style: none; padding: 0; margin: 0.6rem 0 0; }
.mt-ticket__list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.9rem;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
}
.mt-ticket__list li::before {
  content: ""; position: absolute; left: 0; top: 0.85rem; width: 1rem; height: 1rem;
  border: 1.5px solid var(--ink); border-radius: 4px;
}
.mt-ticket__hand { margin: 1.1rem 0 0.8rem; transform: rotate(-1.5deg); }

/* ---------- 01 · Steps ---------- */

.mt-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.mt-step {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
}
.mt-step__n {
  width: 3rem; height: 3rem; display: grid; place-items: center;
  border: 1.5px solid var(--ink); border-radius: 50%;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
}
.mt-step:last-child .mt-step__n { background: var(--ink); color: var(--paper); }
.mt-step h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.25; padding-top: 0.55rem; }
.mt-step p { margin-top: 0.4rem; color: var(--ink-2); max-width: 44rem; }
@media (min-width: 900px) {
  .mt-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
}

/* ---------- 02 · Calculator ---------- */

.mt-fees { display: grid; gap: 0 4rem; align-items: start; }
@media (min-width: 960px) { .mt-fees { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.mt-promo {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  background: var(--sun);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
}
.mt-promo[hidden] { display: none; }
/* Next-course (prematrícula) notice: a short paragraph, not a pill. */
.mt-prematriculation { display: block; max-width: 34rem; line-height: 1.5; font-weight: 600; }

.mt-calc {
  background: var(--paper-3);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.mt-calc__help { color: var(--ink-2); font-size: 0.98rem; }
.mt-calc__form { display: grid; gap: 1rem; margin-top: 1.25rem; }
@media (min-width: 640px) {
  .mt-calc__form { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; }
  .mt-calc__form .lp-btn { grid-column: 1 / -1; justify-self: start; }
}
.mt-field { display: grid; gap: 0.4rem; font-weight: 600; font-size: 0.9rem; }
.mt-field select, .mt-field input {
  width: 100%;
  min-height: 48px;
  padding: 0.6rem 0.8rem;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
}
.mt-field select:disabled, .mt-field input:disabled { opacity: 0.6; }
.mt-calc__form .lp-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

.mt-quote { margin-top: 1.25rem; color: var(--ink-2); }
.mt-quote:empty { display: none; }
.mt-quote:focus { outline: none; }
.mt-quote dl { margin: 0; border-top: 1.5px solid var(--ink); }
.mt-quote dl > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.75rem 0; border-bottom: 1px solid var(--rule);
}
.mt-quote dt { color: var(--ink-2); }
.mt-quote dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); white-space: nowrap; }
.mt-quote dl > div:nth-child(3) { background: rgb(242 210 46 / 0.35); margin-inline: -0.5rem; padding-inline: 0.5rem; border-radius: 6px; }
.mt-quote dl > div:nth-child(3) dd { font-size: 1.4rem; }
.mt-quote > p { margin-top: 0.9rem; font-size: 0.9rem; color: var(--ink-3); }

/* ---------- 03 · Current students ---------- */

.mt-current {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 3rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1.5px dashed rgb(17 17 16 / 0.35);
  border-radius: var(--radius);
}
.mt-current > div { max-width: 40rem; }
.mt-current__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.2; }
.mt-current p { margin-top: 0.5rem; color: var(--ink-2); }

@media (max-width: 479px) {
  .mt-hero__title .lp-mark { white-space: normal; }
}
