:root {
  color-scheme: light;
  --navy-950: #06142e;
  --navy-900: #0a224a;
  --navy-800: #11356e;
  --blue-600: #1f6feb;
  --blue-500: #2f81f7;
  --blue-100: #e8f1ff;
  --ink-900: #0f1b33;
  --ink-700: #33415c;
  --ink-500: #64748b;
  --surface-50: #f8fafd;
  --border-subtle: #dbe5f4;
  --white: #ffffff;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --content-width: 1220px;

  font-family: var(--font-sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--white);
  color: var(--ink-900);
}

a {
  color: inherit;
}

.container {
  width: min(100% - 48px, var(--content-width));
  margin-inline: auto;
}

/* =========================================================
   TOPBAR EDITORIAL (UNIPIX HEADER STYLE)
   ========================================================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgb(6 20 46 / 92%);
  border-bottom: 1px solid rgb(255 255 255 / 12%);
  backdrop-filter: blur(12px);
  color: var(--white);
}

.topbar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  width: min(100% - 48px, var(--content-width));
  min-height: 78px;
  margin-inline: auto;
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgb(255 255 255 / 84%);
}

.topbar__nav a {
  position: relative;
  text-decoration: none;
  transition: color 160ms ease;
}

.topbar__nav a:hover {
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.brand__logo {
  display: block;
  width: clamp(132px, 14vw, 168px);
  height: auto;
  object-fit: contain;
}

.topbar__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.topbar__tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ac5ff;
}

.topbar__cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.topbar__cta:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
}

/* =========================================================
   HERO EDITORIAL FULL-WIDTH
   ========================================================= */
.hero {
  position: relative;
  display: grid;
  min-height: clamp(640px, 86svh, 860px);
  isolation: isolate;
  overflow: hidden;
  place-items: center;
  padding: 64px 24px 86px;
  text-align: center;
  color: var(--white);
  background: var(--navy-950);
}

.hero__backdrop {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: url("assets/images/cest-fundo.webp");
  background-position: center 45%;
  background-size: cover;
  transform: scale(1.02);
  animation: backdrop-arrive 1.2s ease-out both;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 50% 42%, rgb(13 43 94 / 52%) 0%, rgb(6 20 46 / 84%) 100%),
    linear-gradient(180deg, rgb(6 20 46 / 68%) 0%, rgb(6 20 46 / 86%) 100%);
}

.hero__content {
  width: min(100%, 960px);
  animation: content-arrive 850ms 100ms cubic-bezier(.2, .7, .25, 1) both;
}

.hero__crest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  margin-bottom: 24px;
  border: 1px solid rgb(255 255 255 / 26%);
  border-radius: 50%;
  background: rgb(255 255 255 / 8%);
  backdrop-filter: blur(6px);
}

.hero__crest img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__eyebrow {
  color: #a9d1ff;
}

.hero h1 {
  margin: 0 auto;
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.07;
  text-wrap: balance;
}

.hero__description {
  max-width: 720px;
  margin: 24px auto 0;
  color: rgb(255 255 255 / 86%);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.65;
  text-wrap: balance;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-width: 215px;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
.brand:focus-visible,
.scroll-cue:focus-visible {
  outline: 3px solid #7cc0ff;
  outline-offset: 3px;
}

.button--primary {
  background: var(--blue-600);
  box-shadow: 0 12px 28px rgb(15 76 175 / 34%);
  color: var(--white);
}

.button--primary:hover {
  background: var(--blue-500);
  box-shadow: 0 16px 34px rgb(15 76 175 / 42%);
}

.button--outline {
  border-color: rgb(255 255 255 / 65%);
  background: rgb(255 255 255 / 6%);
  color: var(--white);
}

.button--outline:hover {
  border-color: var(--white);
  background: rgb(255 255 255 / 14%);
}

.hero__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 48px;
  color: rgb(255 255 255 / 74%);
  font-size: 0.86rem;
}

.hero__note p {
  margin: 0;
}

.hero__note-line {
  width: 34px;
  height: 1px;
  background: rgb(169 209 255 / 55%);
}

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  display: grid;
  width: 40px;
  height: 40px;
  border: 1px solid rgb(255 255 255 / 38%);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.1rem;
  place-items: center;
  text-decoration: none;
  animation: cue-float 1.8s ease-in-out infinite;
}

/* =========================================================
   SEÇÃO VANTAGENS (EDITORIAL GRID UNIPIX)
   ========================================================= */
.benefits {
  padding: clamp(76px, 9vw, 120px) 0;
  background: var(--white);
  color: var(--ink-900);
}

.section-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue-600);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-kicker--light {
  color: #9ec9ff;
}

.benefits__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
  margin-bottom: clamp(44px, 6vw, 72px);
}

.benefits h2 {
  max-width: 720px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.4vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--navy-950);
}

.benefits__lead-box {
  display: grid;
  gap: 18px;
}

.benefits__lead {
  margin: 0;
  color: var(--ink-700);
  font-size: 1.05rem;
  line-height: 1.65;
}

.editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--blue-600);
  color: var(--navy-900);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 150ms ease, gap 150ms ease;
}

.editorial-link:hover {
  color: var(--blue-600);
  gap: 12px;
}

.benefits__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.benefit-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  background: var(--white);
  color: var(--ink-900);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgb(10 34 74 / 8%);
}

.benefit-card--featured {
  border-color: var(--navy-900);
  background: linear-gradient(155deg, var(--navy-800) 0%, var(--navy-950) 100%);
  color: var(--white);
}

.benefit-card__index {
  margin-bottom: 22px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-500);
}

.benefit-card--featured .benefit-card__index {
  color: #9ec9ff;
}

.benefit-card__value {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 4.5vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

.benefit-card h3 {
  margin: 8px 0 0;
  color: var(--blue-600);
  font-family: var(--font-sans);
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  font-weight: 700;
  line-height: 1.2;
}

.benefit-card--featured h3 {
  color: #b7d8ff;
}

.benefit-card__rule {
  width: 100%;
  height: 1px;
  margin: 24px 0 20px;
  background: currentColor;
  opacity: 0.16;
}

.benefit-card p {
  margin: auto 0 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink-700);
}

.benefit-card--featured p {
  color: rgb(255 255 255 / 86%);
}

.benefits__fineprint {
  max-width: 860px;
  margin: 28px 0 0;
  color: var(--ink-500);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* =========================================================
   FAIXA INSTITUCIONAL (UNIPIX DARK EDITORIAL BAND)
   ========================================================= */
.institutional-band {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 8vw, 108px) 0;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: var(--white);
}

.institutional-band__watermark {
  position: absolute;
  right: -2%;
  bottom: -24px;
  font-family: var(--font-serif);
  font-size: clamp(4.5rem, 11vw, 9.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgb(255 255 255 / 12%);
  pointer-events: none;
  user-select: none;
}

.institutional-band__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 68px);
}

.institutional-band__copy p {
  margin: 0 0 24px;
  color: rgb(255 255 255 / 82%);
  font-size: 1.05rem;
  line-height: 1.68;
}

.institutional-band__points {
  display: grid;
  gap: 12px;
  margin: 0 0 32px;
  padding: 20px 0 0;
  border-top: 1px solid rgb(255 255 255 / 16%);
  color: var(--white);
  font-size: 0.96rem;
  font-weight: 500;
  list-style: none;
}

.institutional-band__points li {
  position: relative;
  padding-left: 30px;
}

.institutional-band__points li::before {
  position: absolute;
  top: 0.1em;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgb(47 129 247 / 28%);
  border: 1px solid #6eb6ff;
  color: #b7d8ff;
  content: "✓";
  font-size: 0.72rem;
  font-weight: 700;
  place-items: center;
}

.editorial-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgb(2 10 26 / 45%);
}

.editorial-frame img {
  display: block;
  width: 100%;
  height: clamp(280px, 34vw, 430px);
  object-fit: cover;
}

/* =========================================================
   SEÇÃO SIMULAÇÃO SPLIT-SCREEN (APPLY FOR ADMISSION STYLE)
   ========================================================= */
.simulation {
  padding: clamp(76px, 9vw, 118px) 0 108px;
  background: var(--surface-50);
  color: var(--ink-900);
}

.simulation__heading {
  max-width: 780px;
  margin: 0 auto clamp(42px, 5vw, 56px);
  text-align: center;
}

.simulation__heading h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.8vw, 3.9rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--navy-950);
}

.simulation__heading > p:last-child {
  margin: 16px auto 0;
  color: var(--ink-700);
  font-size: 1.08rem;
  line-height: 1.6;
}

.simulation__layout {
  max-width: 820px;
  margin-inline: auto;
}

.form-card {
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 18px 46px rgb(10 34 74 / 6%);
}

.about-card {
  overflow: hidden;
}

.about-card__photo {
  position: relative;
  height: clamp(220px, 24vw, 290px);
  margin: 0;
  overflow: hidden;
  background: var(--navy-900);
}

.about-card__photo::after {
  position: absolute;
  inset: 30% 0 0;
  content: "";
  background: linear-gradient(transparent, rgb(6 20 46 / 90%));
}

.about-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-card__photo figcaption {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 20px;
  left: 24px;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  line-height: 1.15;
}

.about-card__photo figcaption span {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9ec9ff;
}

.about-card__body {
  padding: clamp(24px, 2.8vw, 34px);
}

.about-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--navy-950);
}

.about-card__description {
  margin: 0;
  color: var(--ink-700);
  font-size: 0.98rem;
  line-height: 1.6;
}

.about-card__points {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--border-subtle);
  color: var(--navy-900);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
}

.about-card__points li {
  position: relative;
  padding-left: 30px;
}

.about-card__points li::before {
  position: absolute;
  top: 0.08em;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-600);
  content: "✓";
  font-size: 0.75rem;
  font-weight: 700;
  place-items: center;
}

/* FORMULÁRIO */
.form-card {
  padding: clamp(26px, 3.6vw, 46px);
}

.form-card__step {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.form-card__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--navy-950);
}

.form-card__title h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  font-weight: 600;
}

.form-card__icon {
  display: block;
  width: 26px;
  height: 28px;
  flex: 0 0 26px;
  fill: none;
  stroke: var(--blue-600);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.form-card__icon--cap {
  fill: var(--blue-600);
  stroke-width: 1.6;
}

.form-card__icon--cap path:nth-of-type(2) {
  fill: none;
}

.form-card__divider {
  margin-top: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.form-card__title--subsection {
  margin: 0 0 18px;
}

.lead-form {
  display: grid;
  gap: 18px;
}

.turnstile-wrap {
  display: grid;
  justify-items: center;
  margin-top: 2px;
}

.turnstile-error {
  min-height: 0;
  margin: -14px 0 0;
  color: #b42318;
  font-size: 0.84rem;
  text-align: center;
}

.turnstile-error:empty {
  display: none;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label,
.field__label-row label {
  color: var(--navy-900);
  font-size: 0.94rem;
  font-weight: 700;
}

.field input,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid #c5d4ea;
  border-radius: 12px;
  outline: none;
  background-color: var(--white);
  color: var(--ink-900);
  font: inherit;
  font-size: 0.96rem;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field input::placeholder {
  color: #94a3b8;
}

.field input:focus,
.field select:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgb(31 111 235 / 14%);
}

.field select:disabled {
  cursor: not-allowed;
  background: #f1f5f9;
  color: #94a3b8;
}

.field__label-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
}

.field__label-row span {
  color: var(--ink-500);
  font-size: 0.82rem;
}

.consent-group {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin: 4px 0 0;
  padding: 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--surface-50);
}

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 12px;
  color: var(--ink-700);
  font-size: 0.92rem;
  line-height: 1.45;
  cursor: pointer;
}

.consent input {
  display: grid;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  appearance: none;
  border: 1.5px solid #94b4df;
  border-radius: 5px;
  background: var(--white);
  cursor: pointer;
  place-items: center;
}

.consent input::before {
  width: 9px;
  height: 5px;
  border-bottom: 2px solid var(--white);
  border-left: 2px solid var(--white);
  content: "";
  transform: translateY(-1px) rotate(-45deg) scale(0);
  transition: transform 120ms ease;
}

.consent input:checked {
  border-color: var(--blue-600);
  background: var(--blue-600);
}

.consent input:checked::before {
  transform: translateY(-1px) rotate(-45deg) scale(1);
}

.consent input:focus-visible {
  outline: 3px solid rgb(31 111 235 / 25%);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.lead-form__submit {
  width: min(100%, 420px);
  justify-self: center;
  margin-top: 8px;
}

.form-card__privacy {
  max-width: 600px;
  margin: -6px auto 0;
  color: var(--ink-500);
  font-size: 0.8rem;
  line-height: 1.45;
  text-align: center;
}

/* =========================================================
   FOOTER INSTITUCIONAL
   ========================================================= */
.footer {
  padding: 40px 0;
  background: var(--navy-950);
  border-top: 1px solid rgb(255 255 255 / 10%);
  color: rgb(255 255 255 / 76%);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.footer__brand img {
  width: 130px;
  height: auto;
}

.footer__brand p,
.footer__copy {
  margin: 0;
  font-size: 0.88rem;
}

/* =========================================================
   MODAL DE RESULTADO
   ========================================================= */
/* =========================================================
   MODAL DE RESULTADO (COMPACTO E RESPONSIVO PARA NOTEBOOK)
   ========================================================= */
.result-dialog {
  width: min(860px, calc(100% - 32px));
  max-width: 860px;
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 30px 90px rgb(3 18 49 / 42%);
  color: var(--ink-900);
}

.result-dialog::backdrop {
  background: rgb(6 20 46 / 68%);
  backdrop-filter: blur(4px);
}

.result-dialog[open] {
  display: flex;
  flex-direction: column;
  animation: dialog-enter 240ms cubic-bezier(.2, .7, .25, 1) both;
}

.result-dialog__shell {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  border-radius: inherit;
}

.result-dialog__header {
  position: relative;
  flex-shrink: 0;
  padding: 20px clamp(24px, 4vw, 40px) 22px;
  background: linear-gradient(125deg, var(--navy-800), var(--navy-950));
  color: var(--white);
}

.result-dialog__badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 14px;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #b7d8ff;
}

.result-dialog__close {
  position: absolute;
  top: 18px;
  right: 22px;
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
  place-items: center;
  transition: background-color 150ms ease, transform 150ms ease;
}

.result-dialog__close:hover {
  background: rgb(255 255 255 / 15%);
  transform: rotate(90deg);
}

.result-dialog__header h2 {
  max-width: 720px;
  margin: 12px 48px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.result-dialog__header > p {
  margin: 6px 0 0;
  color: #cbe2ff;
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  font-weight: 500;
}

.result-dialog__content {
  display: grid;
  gap: 12px;
  overflow-y: auto;
  padding: clamp(18px, 3vw, 28px) clamp(24px, 4vw, 40px);
}

.result-discount {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  border: 1px solid #b8d3f8;
  border-radius: 14px;
  background: var(--surface-50);
}

.result-discount p {
  margin: 0;
  color: var(--navy-800);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.result-discount strong {
  color: var(--blue-600);
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  line-height: 1;
}

.result-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.result-value {
  display: flex;
  min-height: 102px;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 14px 18px;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  text-align: center;
}

.result-value h3 {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.9rem;
}

.result-value strong {
  color: var(--navy-900);
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  line-height: 1.15;
}

.result-value span {
  color: var(--ink-500);
  font-size: 0.82rem;
}

.result-value--scholarship {
  border-color: #31bf70;
  background: #f5fff9;
}

.result-value--scholarship strong {
  color: #159447;
}

.result-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}

.result-dialog__whatsapp {
  min-width: min(290px, 100%);
  min-height: 48px;
  padding: 11px 24px;
  background: linear-gradient(105deg, #2fb652, #0e9643);
  color: var(--white);
  font-weight: 700;
}

.result-dialog__whatsapp:hover {
  background: linear-gradient(105deg, #3ac45e, #15a64e);
}

.result-dialog__whatsapp svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.result-dialog__retry {
  padding: 10px 14px;
  border: 0;
  background: transparent;
  color: var(--ink-500);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
}

.result-dialog__retry:hover {
  color: var(--blue-600);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.result-dialog__fineprint {
  max-width: 720px;
  margin: 0 auto;
  color: var(--ink-500);
  font-size: 0.76rem;
  line-height: 1.4;
  text-align: center;
}

/* =========================================================
   ANIMAÇÕES & RESPONSIVIDADE
   ========================================================= */
.reveal {
  opacity: 1;
  transform: none;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(.2, .7, .25, 1);
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes dialog-enter {
  from { opacity: 0; transform: translateY(10px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes content-arrive {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes backdrop-arrive {
  from { opacity: 0.65; transform: scale(1.06); }
  to { opacity: 1; transform: scale(1.02); }
}

@keyframes cue-float {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 5px); }
}

@media (max-width: 900px) {
  .topbar__inner {
    grid-template-columns: auto 1fr;
  }

  .topbar__nav,
  .topbar__tag {
    display: none;
  }

  .benefits__intro,
  .institutional-band__grid,
  .simulation__layout {
    grid-template-columns: 1fr;
  }

  .benefits__cards {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    min-height: 250px;
  }
}

@media (max-width: 600px) {
  .container,
  .topbar__inner {
    width: min(100% - 36px, var(--content-width));
  }

  .hero {
    padding: 48px 18px 76px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .field-row,
  .result-values {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 24px 18px;
  }

  .result-dialog__actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .motion-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
