/* Jornada inscrição coleção premium */
.enroll-page {
  --enroll-sky: #dbeafe;
  --enroll-cream: #fff9f0;
  --enroll-ink: #0f3a56;
  --enroll-muted: #4a6685;
  --enroll-orange: #f97316;
  --enroll-blue: #0284c7;
  max-width: 1120px;
  margin: 100px auto 64px;
  padding: 0 20px 40px;
}

.enroll-hero {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #bae6fd 0%, #fff7ed 55%, #ffedd5 100%);
  border: 2px solid #e0f2fe;
  box-shadow: 0 18px 40px rgba(14, 116, 144, 0.12);
  margin-bottom: 28px;
}

.enroll-hero-art {
  display: block;
  width: 100%;
  height: clamp(180px, 32vw, 320px);
  object-fit: cover;
  object-position: center 40%;
}

.enroll-hero-copy {
  padding: 22px 28px 26px;
  background: linear-gradient(180deg, rgba(255, 249, 240, 0.92), #fff9f0);
}

.enroll-hero-copy h1 {
  font-family: "Nunito", "Segoe UI", sans-serif;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  color: var(--enroll-ink);
  margin: 0 0 8px;
  line-height: 1.2;
}

.enroll-hero-copy .enroll-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 700;
  color: #c2410c;
  margin: 0 0 10px;
}

.enroll-hero-copy p {
  margin: 0;
  color: var(--enroll-muted);
  line-height: 1.55;
  max-width: 52ch;
}

.enroll-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 24px;
  align-items: start;
}

@media (max-width: 900px) {
  .enroll-grid {
    grid-template-columns: 1fr;
  }
  .enroll-summary {
    position: static !important;
    order: -1;
  }
}

.enroll-card {
  background: #fff;
  border: 2px solid #e0f2fe;
  border-radius: 24px;
  padding: 22px 22px 24px;
  box-shadow: 0 10px 28px rgba(14, 116, 144, 0.07);
}

.enroll-card h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  color: var(--enroll-ink);
}

.enroll-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.enroll-benefits li {
  position: relative;
  padding-left: 1.4rem;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.45;
}

.enroll-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--enroll-blue);
}

.enroll-form label {
  display: block;
  margin-bottom: 14px;
  font-weight: 700;
  color: var(--enroll-ink);
  font-size: 0.92rem;
}

.enroll-form input[type="text"],
.enroll-form input[type="email"],
.enroll-form input[type="tel"],
.enroll-form input[type="password"] {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 2px solid #dbeafe;
  border-radius: 14px;
  font: inherit;
  color: #0f172a;
  background: #fff;
  min-height: 48px;
}

.enroll-form input:focus {
  outline: 3px solid rgba(2, 132, 199, 0.25);
  border-color: #38bdf8;
}

.enroll-hint {
  display: block;
  margin-top: 4px;
  font-weight: 500;
  font-size: 0.8rem;
  color: #64748b;
}

.enroll-login-link {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: var(--enroll-muted);
}

.enroll-login-link a {
  font-weight: 800;
  color: var(--enroll-blue);
}

.enroll-coupon-row {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.enroll-coupon-row input {
  flex: 1;
  margin-top: 0 !important;
}

.enroll-coupon-row button {
  flex-shrink: 0;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  border: 2px solid #bae6fd;
  background: #f0f9ff;
  font-weight: 800;
  color: #0369a1;
  cursor: pointer;
}

.enroll-coupon-msg {
  margin: 8px 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  min-height: 1.2em;
}

.enroll-coupon-msg.is-ok { color: #15803d; }
.enroll-coupon-msg.is-err { color: #b91c1c; }

.enroll-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 12px 0;
  font-weight: 600;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.4;
}

.enroll-check input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #0284c7;
}

.enroll-check a,
.enroll-note a {
  color: #0369a1;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.enroll-check a:hover,
.enroll-note a:hover {
  color: #0c4a6e;
}

.enroll-check a:focus-visible,
.enroll-note a:focus-visible {
  outline: 3px solid #005aab;
  outline-offset: 3px;
  border-radius: 4px;
}

.enroll-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.28);
}

.enroll-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.enroll-trust {
  margin: 14px 0 0;
  font-size: 0.82rem;
  color: #64748b;
  text-align: center;
  line-height: 1.45;
}

.enroll-summary {
  position: sticky;
  top: 96px;
}

.enroll-summary .price-rows {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
}

.enroll-summary .price-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.95rem;
  color: #334155;
}

.enroll-summary .price-row.muted {
  color: #64748b;
  text-decoration: line-through;
}

.enroll-summary .price-row.discount {
  color: #15803d;
  font-weight: 700;
}

.enroll-summary .price-row.total {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 2px dashed #e0f2fe;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--enroll-ink);
}

.enroll-alert {
  padding: 12px 14px;
  border-radius: 14px;
  margin-bottom: 16px;
  font-weight: 600;
}

.enroll-alert.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.enroll-alert.ok {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.enroll-confirm {
  text-align: center;
  max-width: 640px;
  margin: 110px auto 60px;
  padding: 0 20px;
}

.enroll-confirm .enroll-card {
  padding: 32px 28px;
}

.enroll-confirm h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--enroll-ink);
  margin: 0 0 12px;
}

.enroll-confirm .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 22px;
}

.enroll-modal {
  width: min(720px, calc(100vw - 24px));
  max-height: min(88vh, 900px);
  padding: 0;
  border: none;
  border-radius: 24px;
  background: #fff9f0;
  box-shadow: 0 24px 60px rgba(8, 38, 81, 0.28);
  color: #0f172a;
}

.enroll-modal::backdrop {
  background: rgba(8, 38, 81, 0.55);
}

.enroll-modal-inner {
  display: flex;
  flex-direction: column;
  max-height: min(88vh, 900px);
}

.enroll-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 2px solid #e0f2fe;
  background: #fff;
  border-radius: 24px 24px 0 0;
}

.enroll-modal-head h2 {
  margin: 0;
  font-size: 1.15rem;
  color: #0f3a56;
}

.enroll-modal-close {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: #e0f2fe;
  color: #0c4a6e;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.enroll-modal-body {
  overflow: auto;
  padding: 18px 20px 8px;
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.enroll-modal-body .enroll-terms-title {
  font-size: 1.35rem;
  margin: 6px 0 12px;
  color: #0c4a6e;
}

.enroll-modal-body section {
  margin-top: 18px;
}

.enroll-modal-body h3 {
  font-size: 1.05rem;
  margin: 0 0 6px;
  color: #0c4a6e;
}

.enroll-modal-body p,
.enroll-modal-body li {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #334155;
}

.enroll-modal-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  padding: 14px 18px 16px;
  border-top: 2px solid #e0f2fe;
  background: #fff;
  border-radius: 0 0 24px 24px;
}

.enroll-check a.enroll-terms-open {
  cursor: pointer;
}
