:root {
  --brand-blue: #0f2f5f;
  --brand-blue-dark: #081f42;
  --brand-blue-900: #0b2348;
  --brand-blue-soft: rgba(15, 47, 95, 0.10);
  --accent-blue: #2599eb;
  --accent-blue-soft: rgba(37, 153, 235, 0.14);
  --navy: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --soft: #f8fafc;
  --white: #ffffff;
  --border: rgba(15, 47, 95, 0.12);
  --border-strong: rgba(15, 47, 95, 0.22);
  --card: rgba(255, 255, 255, 0.84);
  --glass: rgba(255, 255, 255, 0.62);
  --shadow-soft: 0 18px 55px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 30px 90px rgba(15, 47, 95, 0.14);
  --shadow-blue: 0 22px 55px rgba(15, 47, 95, 0.24);
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--navy);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f8fafc;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
}

a {
  color: inherit;
}

/* =========================================================
   PAGE BACKGROUND
   ========================================================= */

/* ============================================
   FUNDO INTERATIVO — Partículas estilo premium
   ============================================ */

.simulator-page {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;

  background:
    radial-gradient(circle at 10% 18%, rgba(15, 47, 95, 0.10), transparent 26rem),
    radial-gradient(circle at 86% 20%, rgba(37, 153, 235, 0.12), transparent 30rem),
    radial-gradient(circle at 70% 85%, rgba(15, 47, 95, 0.07), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 52%, #f8fafc 100%);
}

.page-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background-image:
    linear-gradient(rgba(15, 47, 95, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 47, 95, 0.035) 1px, transparent 1px);

  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 0%, black 72%, transparent 100%);
}

.particles-canvas {
  position: fixed;
  inset: 0;
  z-index: 3;

  display: block;
  width: 100vw;
  height: 100vh;

  pointer-events: none;
  opacity: 1;
}

.bg-glow {
  position: absolute;
  z-index: 1;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(55px);
  opacity: 0.72;
  animation: glowFloat 14s ease-in-out infinite alternate;
}

.bg-glow-1 {
  width: 28rem;
  height: 28rem;
  top: 8rem;
  left: -10rem;
  background: rgba(15, 47, 95, 0.10);
}

.bg-glow-2 {
  width: 30rem;
  height: 30rem;
  top: 7rem;
  right: -9rem;
  background: rgba(37, 153, 235, 0.13);
  animation-delay: -5s;
}

.bg-glow-3 {
  width: 22rem;
  height: 22rem;
  right: 22%;
  bottom: 4rem;
  background: rgba(15, 47, 95, 0.08);
  animation-delay: -9s;
}

.site-header,
.simulator-main {
  position: relative;
  z-index: 10;
}

@keyframes glowFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(2.5rem, -1.8rem, 0) scale(1.08);
  }

  100% {
    transform: translate3d(-1.4rem, 2.2rem, 0) scale(1.14);
  }
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
  border-bottom: 1px solid rgba(15, 47, 95, 0.08);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 12px 40px rgba(15, 47, 95, 0.06);
  animation: headerDrop 520ms ease both;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(100% - 2rem, 1220px);
  min-height: 5.25rem;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
  font-weight: 900;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-decoration: none;
  transition: transform 180ms ease;
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0.9rem;
  background: transparent;
  box-shadow: none;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.main-nav a {
  color: #475569;
  font-weight: 800;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.main-nav a:hover {
  color: var(--brand-blue);
  transform: translateY(-1px);
}

/* =========================================================
   BUTTONS
   ========================================================= */

.header-cta,
.primary-action,
.secondary-action,
.primary-button,
.ghost-button,
.whatsapp-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  gap: 0.55rem;
  overflow: hidden;
  border-radius: 0.95rem;
  padding: 0.85rem 1.25rem;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.header-cta,
.primary-action,
.primary-button,
.whatsapp-button {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue-dark), var(--brand-blue));
  box-shadow: var(--shadow-blue);
}

.header-cta::after,
.primary-action::after,
.primary-button::after,
.whatsapp-button::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -70%;
  width: 40%;
  height: 220%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: rotate(12deg);
  opacity: 0;
  pointer-events: none;
  transition: left 650ms ease, opacity 220ms ease;
}

.header-cta:hover,
.primary-action:hover,
.primary-button:hover,
.whatsapp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 65px rgba(15, 47, 95, 0.30);
}

.header-cta:hover::after,
.primary-action:hover::after,
.primary-button:hover::after,
.whatsapp-button:hover::after {
  left: 125%;
  opacity: 1;
}

.primary-button,
.ghost-button {
  min-width: 10rem;
}

.secondary-action,
.ghost-button {
  color: var(--brand-blue);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.secondary-action:hover,
.ghost-button:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 47, 95, 0.18);
  box-shadow: 0 16px 40px rgba(15, 47, 95, 0.10);
}

/* =========================================================
   MAIN / HERO
   ========================================================= */

.simulator-main {
  width: min(100% - 2rem, 1220px);
  margin: 0 auto;
  padding: clamp(3rem, 5vw, 5rem) 0 5rem;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(21rem, 0.72fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  min-height: calc(100vh - 10rem);
  padding: 0 0 clamp(2.5rem, 5vw, 4rem);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 0.55rem;
  border: 1px solid rgba(15, 47, 95, 0.15);
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.82);
  color: var(--brand-blue);
  font-weight: 900;
  letter-spacing: -0.01em;
}

.hero-kicker {
  margin-bottom: 1.25rem;
  padding: 0.58rem 0.85rem;
}

.pulse-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: var(--brand-blue);
  box-shadow: 0 0 0 0 rgba(15, 47, 95, 0.32);
  animation: pulseBlue 1.8s ease-out infinite;
}

.hero-copy h1 {
  max-width: 13.2ch;
  margin: 0;
  color: var(--navy);
  font-size: clamp(3rem, 6.3vw, 5.6rem);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -0.072em;
}

.hero-text {
  max-width: 43rem;
  margin: 1.35rem 0 0;
  color: #475569;
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.9rem;
}

/* =========================================================
   HERO VISUAL CARD
   ========================================================= */

.hero-visual {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  animation: visualFloat 7s ease-in-out infinite;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(15, 47, 95, 0.24), transparent 38%, rgba(37, 153, 235, 0.20));
  opacity: 0.62;
}

.hero-card,
.hero-mini-card,
.benefit-card,
.form-card {
  position: relative;
  border: 1px solid var(--border);
  background: var(--card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-card,
.hero-mini-card {
  border-radius: 1.5rem;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.hero-card-main {
  min-height: 19rem;
  padding: 1.5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 18%, rgba(37, 153, 235, 0.16), transparent 11rem),
    rgba(255, 255, 255, 0.80);
}

.hero-card-main::after {
  content: "";
  position: absolute;
  inset: auto -20% -48% -20%;
  height: 70%;
  background: radial-gradient(circle, rgba(15, 47, 95, 0.20), transparent 68%);
  filter: blur(18px);
  opacity: 0.8;
  animation: glowBreath 4.8s ease-in-out infinite;
}

.hero-card-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-card-topline > span:first-child,
.hero-mini-card span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-pill {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  color: var(--brand-blue);
  background: rgba(15, 47, 95, 0.08);
  font-size: 0.74rem;
  font-weight: 900;
}

.hero-card-main strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 0.55rem;
  color: var(--brand-blue);
  font-size: clamp(3rem, 7vw, 5.4rem);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: -0.075em;
}

.hero-card-main p {
  position: relative;
  z-index: 1;
  max-width: 22rem;
  margin: 1.1rem 0 0;
  color: #475569;
  line-height: 1.6;
}

.hero-meter {
  position: relative;
  z-index: 1;
  height: 0.62rem;
  margin-top: 1.6rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
}

.hero-meter span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-blue-dark), var(--brand-blue), var(--accent-blue));
  animation: meterLoad 1.8s ease both;
}

.hero-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hero-mini-card {
  min-height: 8rem;
  padding: 1.1rem;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hero-mini-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 22px 46px rgba(15, 47, 95, 0.10);
}

.hero-mini-card strong {
  display: block;
  margin-top: 0.55rem;
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.hero-floating-note {
  position: absolute;
  right: -1.2rem;
  bottom: -1.15rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 55px rgba(15, 47, 95, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: cardFloat 4.8s ease-in-out infinite;
}

.hero-floating-note > span {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border-radius: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue), var(--accent-blue));
  font-weight: 950;
}

.hero-floating-note strong,
.hero-floating-note small {
  display: block;
}

.hero-floating-note strong {
  color: var(--navy);
  font-size: 0.95rem;
}

.hero-floating-note small {
  color: var(--muted);
  font-weight: 750;
}

/* =========================================================
   BENEFITS
   ========================================================= */

.benefits-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 2.5rem;
}

.benefit-card {
  display: flex;
  gap: 1rem;
  min-height: 8.4rem;
  overflow: hidden;
  border-radius: 1.5rem;
  padding: 1.15rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.benefit-card::after,
.form-card::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -80%;
  width: 42%;
  height: 220%;
  background: linear-gradient(115deg, transparent, rgba(37, 153, 235, 0.14), transparent);
  transform: rotate(12deg);
  opacity: 0;
  transition: left 750ms ease, opacity 250ms ease;
  pointer-events: none;
}

.benefit-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 60px rgba(15, 47, 95, 0.12);
}

.benefit-card:hover::after,
.form-card:hover::after {
  left: 125%;
  opacity: 1;
}

.benefit-icon {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 0.85rem;
  color: var(--brand-blue);
  background: rgba(15, 47, 95, 0.08);
  font-size: 0.82rem;
  font-weight: 950;
}

.benefits-strip strong {
  display: block;
  color: var(--navy);
  font-weight: 900;
}

.benefits-strip p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* =========================================================
   FORM
   ========================================================= */

.simulator-section {
  scroll-margin-top: 6.5rem;
}

.form-card {
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: var(--shadow-card);
}

.form-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.35rem, 4vw, 2rem);
  border-bottom: 1px solid rgba(148, 163, 184, 0.20);
  background:
    radial-gradient(circle at top right, rgba(37, 153, 235, 0.12), transparent 18rem),
    rgba(255, 255, 255, 0.40);
}

.eyebrow {
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.form-card h2 {
  margin: 0.65rem 0 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.06em;
}

.form-card-header p {
  max-width: 38rem;
  margin: 0.8rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.progress-wrap {
  padding: 0 clamp(1.35rem, 4vw, 2rem) 1.35rem;
}

.progress-bar {
  height: 0.55rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
}

.progress-bar span {
  display: block;
  width: 33.333%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-blue-dark), var(--brand-blue), var(--accent-blue));
  transition: width 280ms ease;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.65rem;
  color: #94a3b8;
  font-size: 0.83rem;
  font-weight: 850;
}

.progress-labels .active {
  color: var(--brand-blue);
}

form {
  padding: 0 clamp(1.35rem, 4vw, 2rem) clamp(1.35rem, 4vw, 2rem);
}

.form-step {
  display: none;
  border: 0;
  padding: 0;
  margin: 0;
  animation: stepIn 260ms ease;
}

.form-step.active {
  display: block;
}

.form-step legend {
  margin-bottom: 1rem;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 900;
}

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

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

.field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.45rem;
}

.field span,
.consent-check span {
  color: #334155;
  font-size: 0.9rem;
  font-weight: 850;
}

.field input,
.field select {
  width: 100%;
  height: 3.25rem;
  border: 1px solid rgba(148, 163, 184, 0.42);
  border-radius: 1rem;
  outline: none;
  background: rgba(255, 255, 255, 0.78);
  color: var(--navy);
  padding: 0 1rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, transform 180ms ease;
}

.field input:hover,
.field select:hover {
  border-color: rgba(15, 47, 95, 0.24);
}

.field input:focus,
.field select:focus {
  border-color: rgba(15, 47, 95, 0.72);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(15, 47, 95, 0.10);
  transform: translateY(-1px);
}

.field small,
.consent-error {
  min-height: 1rem;
  color: #dc2626;
  font-size: 0.76rem;
  font-weight: 750;
}

.field.invalid input,
.field.invalid select {
  border-color: rgba(220, 38, 38, 0.72);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(15, 47, 95, 0.12);
  border-radius: 1.1rem;
  background: rgba(239, 246, 255, 0.70);
}

.consent-check input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.1rem;
  accent-color: var(--brand-blue);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.primary-button:disabled,
.ghost-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.hidden-button {
  display: none;
}

.form-message {
  min-height: 1.5rem;
  margin-top: 1rem;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 750;
}

.form-message.error {
  color: #dc2626;
}

.form-message.success {
  color: var(--brand-blue);
}

/* =========================================================
   RESULT
   ========================================================= */

.result-panel {
  min-height: 25rem;
}

.empty-result,
.result-card {
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.74);
  padding: clamp(1rem, 3vw, 1.5rem);
}

.empty-result {
  display: grid;
  min-height: 23rem;
  place-items: center;
  text-align: center;
}

.empty-icon {
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  border-radius: 1.3rem;
  background: rgba(15, 47, 95, 0.08);
  color: var(--brand-blue);
  font-size: 2rem;
  font-weight: 950;
}

.empty-result h3 {
  margin-top: 1rem;
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 900;
}

.empty-result p {
  max-width: 27rem;
  margin-top: 0.45rem;
  color: var(--muted);
  line-height: 1.6;
}

.result-card {
  animation: resultIn 360ms ease;
}

.result-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.result-topline span {
  color: var(--brand-blue);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.result-card h3 {
  color: var(--navy);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.result-highlight {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1rem 0;
}

.metric {
  padding: 1rem;
  border-radius: 1.2rem;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.metric span,
.metric strong {
  display: block;
}

.metric span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.metric strong {
  margin-top: 0.35rem;
  color: var(--navy);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 950;
  letter-spacing: -0.04em;
}

.result-disclaimer {
  margin-top: 1rem;
  padding: 0.9rem;
  border-radius: 1rem;
  background: rgba(239, 246, 255, 0.85);
  color: #1e3a8a;
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.55;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* =========================================================
   ENTRANCE ANIMATIONS
   ========================================================= */

/* =========================================================
   REVEAL PREMIUM — rápido, fluido e sem sensação de loading
   ========================================================= */

.animate-in {
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.985);
  transition:
    opacity 520ms ease,
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.animate-in.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Direções mais elegantes */
.reveal-left {
  transform: translate3d(-22px, 10px, 0) scale(0.985);
}

.reveal-right {
  transform: translate3d(22px, 10px, 0) scale(0.985);
}

.reveal-up {
  transform: translate3d(0, 22px, 0) scale(0.985);
}

.reveal-scale {
  transform: translate3d(0, 14px, 0) scale(0.97);
}

.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-up.is-visible,
.reveal-scale.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

/* Delays curtos: não parece carregamento */
.delay-1 { --reveal-delay: 40ms; }
.delay-2 { --reveal-delay: 80ms; }
.delay-3 { --reveal-delay: 70ms; }
.delay-4 { --reveal-delay: 110ms; }
.delay-5 { --reveal-delay: 150ms; }
.delay-6 { --reveal-delay: 90ms; }

/* Evita sumiço estranho caso JS falhe */
html.no-js .animate-in {
  opacity: 1;
  transform: none;
}

/* =========================================================
   KEYFRAMES
   ========================================================= */

@keyframes headerDrop {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseBlue {
  0% { box-shadow: 0 0 0 0 rgba(15, 47, 95, 0.34); }
  100% { box-shadow: 0 0 0 14px rgba(15, 47, 95, 0); }
}

@keyframes backgroundFlow {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }

  50% {
    transform: translate3d(3%, 2%, 0) scale(1.05);
  }

  100% {
    transform: translate3d(-1%, 3%, 0) scale(1.08);
  }
}

@keyframes orbFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(3.5rem, -2.5rem, 0) scale(1.08);
  }

  100% {
    transform: translate3d(-1.5rem, 2.5rem, 0) scale(1.14);
  }
}

@keyframes dotDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(0.9);
    opacity: 0.22;
  }

  50% {
    transform: translate3d(1.2rem, -2.5rem, 0) scale(1.25);
    opacity: 0.80;
  }

  100% {
    transform: translate3d(-0.8rem, -4rem, 0) scale(0.95);
    opacity: 0.28;
  }
}

@keyframes glowBreath {
  0%, 100% { transform: translateY(0) scale(0.96); opacity: 0.58; }
  50% { transform: translateY(-0.6rem) scale(1.04); opacity: 0.88; }
}

@keyframes meterLoad {
  from { width: 0; }
  to { width: 72%; }
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-0.65rem) rotate(1deg); }
}

@keyframes visualFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.45rem); }
}

@keyframes stepIn {
  from { transform: translateY(0.45rem); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes resultIn {
  from { transform: scale(0.98); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* =========================================================
   ACCESSIBILITY / RESPONSIVE
   ========================================================= */

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

@media (max-width: 1024px) {
  .site-header-inner {
    min-height: 4.75rem;
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy h1 {
    max-width: 14ch;
  }

  .hero-visual {
    max-width: 44rem;
  }
}

@media (max-width: 760px) {
  .site-header-inner {
    min-height: 4.4rem;
  }

  .main-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .simulator-main {
    width: min(100% - 1rem, 1220px);
    padding-top: 2rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
    letter-spacing: -0.065em;
  }

  .hero-actions,
  .form-actions,
  .result-actions {
    flex-direction: column;
  }

  .primary-action,
  .secondary-action,
  .primary-button,
  .ghost-button,
  .whatsapp-button {
    width: 100%;
  }

  .hero-card-grid,
  .benefits-strip,
  .field-grid,
  .result-highlight {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: auto;
  }

  .form-card,
  .hero-visual {
    border-radius: 1.5rem;
  }

  .hero-floating-note {
    position: relative;
    right: auto;
    bottom: auto;
  }
}

.form-step.active .field,
.form-step.active .consent-check {
  opacity: 0;
  transform: translateY(8px);
  animation: fieldRevealFast 320ms ease forwards;
}

.form-step.active .field:nth-child(1) { animation-delay: 20ms; }
.form-step.active .field:nth-child(2) { animation-delay: 45ms; }
.form-step.active .field:nth-child(3) { animation-delay: 70ms; }
.form-step.active .field:nth-child(4) { animation-delay: 95ms; }
.form-step.active .field:nth-child(5) { animation-delay: 120ms; }
.form-step.active .field:nth-child(6) { animation-delay: 145ms; }
.form-step.active .field:nth-child(7) { animation-delay: 170ms; }
.form-step.active .field:nth-child(8) { animation-delay: 195ms; }

@keyframes fieldRevealFast {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   ANIMAÇÕES DO SIMULADOR — Contabiliza
   Cole este bloco no final do simulador.css
   Ele substitui qualquer bloco antigo de .animate-in / .delay-*
   ========================================================= */

.animate-in {
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.985);
  transition:
    opacity 460ms ease,
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.animate-in.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.reveal-left {
  transform: translate3d(-18px, 8px, 0) scale(0.99);
}

.reveal-right {
  transform: translate3d(18px, 8px, 0) scale(0.99);
}

.reveal-up {
  transform: translate3d(0, 18px, 0) scale(0.99);
}

.reveal-down {
  transform: translate3d(0, -12px, 0) scale(0.995);
}

.reveal-scale {
  transform: translate3d(0, 12px, 0) scale(0.975);
}

.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-up.is-visible,
.reveal-down.is-visible,
.reveal-scale.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

.delay-1 { --reveal-delay: 20ms; }
.delay-2 { --reveal-delay: 70ms; }
.delay-3 { --reveal-delay: 40ms; }
.delay-4 { --reveal-delay: 80ms; }
.delay-5 { --reveal-delay: 120ms; }
.delay-6 { --reveal-delay: 60ms; }

.form-step.active .field,
.form-step.active .consent-check {
  opacity: 0;
  transform: translate3d(0, 7px, 0);
  animation: fieldRevealPremium 260ms ease forwards;
}

.form-step.active .field:nth-child(1) { animation-delay: 10ms; }
.form-step.active .field:nth-child(2) { animation-delay: 30ms; }
.form-step.active .field:nth-child(3) { animation-delay: 50ms; }
.form-step.active .field:nth-child(4) { animation-delay: 70ms; }
.form-step.active .field:nth-child(5) { animation-delay: 90ms; }
.form-step.active .field:nth-child(6) { animation-delay: 110ms; }
.form-step.active .field:nth-child(7) { animation-delay: 130ms; }
.form-step.active .field:nth-child(8) { animation-delay: 150ms; }

@keyframes fieldRevealPremium {
  from {
    opacity: 0;
    transform: translate3d(0, 7px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate-in,
  .animate-in.is-visible,
  .reveal-left,
  .reveal-right,
  .reveal-up,
  .reveal-down,
  .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .form-step.active .field,
  .form-step.active .consent-check {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* =========================================================
   PREMIUM CLEAN FINANCEIRO — Atualização visual v2
   Cole este bloco no final do simulador.css
   ========================================================= */

:root {
  --premium-blue: #0b2c5f;
  --premium-blue-2: #155da0;
  --premium-cyan: #25a7f0;
  --premium-ink: #07152f;
  --premium-muted: #60708a;
  --premium-line: rgba(11, 44, 95, 0.11);
  --premium-card: rgba(255, 255, 255, 0.88);
  --premium-card-strong: rgba(255, 255, 255, 0.96);
  --premium-shadow: 0 34px 110px rgba(7, 21, 47, 0.13);
  --premium-focus: 0 0 0 5px rgba(37, 153, 235, 0.13);
}

body {
  background: #f7fbff;
}

.page-bg {
  background:
    radial-gradient(circle at 9% 16%, rgba(15, 47, 95, 0.10), transparent 26rem),
    radial-gradient(circle at 88% 17%, rgba(37, 153, 235, 0.16), transparent 34rem),
    radial-gradient(circle at 70% 82%, rgba(15, 47, 95, 0.075), transparent 30rem),
    linear-gradient(135deg, #ffffff 0%, #f7fbff 42%, #eef8ff 100%);
}

.page-bg::before {
  background-image:
    linear-gradient(rgba(11, 44, 95, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 44, 95, 0.045) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, black 0%, black 78%, transparent 100%);
}

.bg-grid-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.55;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(37, 153, 235, 0.09) 42.2%, transparent 42.8% 100%),
    linear-gradient(65deg, transparent 0 58%, rgba(15, 47, 95, 0.06) 58.2%, transparent 58.8% 100%);
  animation: financeGridShift 16s ease-in-out infinite alternate;
}

.bg-tax-line {
  position: absolute;
  z-index: 2;
  height: 1px;
  width: min(42vw, 34rem);
  background: linear-gradient(90deg, transparent, rgba(37, 153, 235, 0.45), transparent);
  transform-origin: left center;
  opacity: 0.38;
  filter: blur(0.2px);
}

.bg-tax-line-1 {
  top: 24%;
  right: 4%;
  transform: rotate(-12deg);
  animation: taxLineOne 12s ease-in-out infinite alternate;
}

.bg-tax-line-2 {
  left: 2%;
  bottom: 22%;
  transform: rotate(10deg);
  animation: taxLineTwo 14s ease-in-out infinite alternate;
}

.particles-canvas {
  z-index: 3;
  opacity: 0.56;
  mix-blend-mode: multiply;
}

.bg-glow {
  filter: blur(68px);
  opacity: 0.58;
}

.bg-glow-1 {
  width: 34rem;
  height: 34rem;
  background: rgba(15, 47, 95, 0.095);
}

.bg-glow-2 {
  width: 36rem;
  height: 36rem;
  background: rgba(37, 153, 235, 0.145);
}

.bg-glow-3 {
  background: rgba(14, 165, 233, 0.08);
}

.site-header {
  background: rgba(255, 255, 255, 0.80);
  border-bottom-color: rgba(11, 44, 95, 0.075);
  box-shadow: 0 14px 44px rgba(7, 21, 47, 0.055);
}

.header-cta,
.primary-action,
.primary-button,
.whatsapp-button {
  background: linear-gradient(135deg, #071f46 0%, #0f2f5f 58%, #155da0 100%);
  box-shadow: 0 22px 52px rgba(11, 44, 95, 0.24);
}

.secondary-action,
.ghost-button {
  background: rgba(255, 255, 255, 0.80);
  border-color: rgba(11, 44, 95, 0.12);
}

.hero-section {
  min-height: calc(100vh - 9.5rem);
  gap: clamp(2.5rem, 5vw, 5rem);
}

.hero-kicker,
.eyebrow {
  background: rgba(239, 248, 255, 0.80);
  border-color: rgba(37, 153, 235, 0.24);
  box-shadow: 0 12px 34px rgba(15, 47, 95, 0.055);
}

.hero-copy h1 {
  color: var(--premium-ink);
  letter-spacing: -0.078em;
}

.hero-text {
  max-width: 46rem;
  color: var(--premium-muted);
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.hero-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.52rem 0.72rem;
  border: 1px solid rgba(11, 44, 95, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #38516f;
  font-size: 0.84rem;
  font-weight: 850;
  box-shadow: 0 12px 28px rgba(15, 47, 95, 0.045);
}

.hero-trust-row span::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--premium-blue), var(--premium-cyan));
}

.hero-visual {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(240, 248, 255, 0.48));
  box-shadow: var(--premium-shadow);
}

.hero-card-main {
  min-height: 20rem;
  background:
    radial-gradient(circle at 88% 16%, rgba(37, 153, 235, 0.18), transparent 12rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.84));
}

.hero-mini-card,
.benefit-card,
.form-card,
.empty-result,
.result-card {
  background: var(--premium-card);
  border-color: var(--premium-line);
}

.benefit-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(248, 252, 255, 0.78));
}

.form-card {
  border: 1px solid rgba(11, 44, 95, 0.10);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.84));
  box-shadow: var(--premium-shadow);
}

.form-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(circle at top right, rgba(37, 153, 235, 0.10), transparent 22rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), transparent 28%);
}

.form-card > * {
  position: relative;
  z-index: 1;
}

.form-card-header {
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(37, 153, 235, 0.16), transparent 20rem),
    rgba(255, 255, 255, 0.58);
}

.form-title-block {
  max-width: 45rem;
}

.form-card h2 {
  color: var(--premium-ink);
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
}

.form-value-points {
  display: grid;
  gap: 0.72rem;
  min-width: min(100%, 20rem);
  padding: 1rem;
  margin: 0;
  list-style: none;
  border: 1px solid rgba(11, 44, 95, 0.10);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 16px 42px rgba(15, 47, 95, 0.055);
}

.form-value-points li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #37506c;
  font-size: 0.9rem;
  font-weight: 850;
}

.form-value-points span {
  display: grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--premium-blue), var(--premium-cyan));
  font-size: 0.8rem;
  font-weight: 950;
}

.progress-wrap {
  padding-top: 1.35rem;
}

.progress-bar {
  height: 0.42rem;
  background: rgba(148, 163, 184, 0.18);
}

.progress-labels {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.95rem;
}

.progress-labels span {
  position: relative;
  min-height: 4.25rem;
  display: grid;
  align-content: center;
  gap: 0.12rem;
  padding: 0.86rem 0.9rem 0.86rem 3.35rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.66);
  color: #90a0b6;
  font-size: 0.9rem;
  font-weight: 950;
  transition: border-color 220ms ease, background 220ms ease, color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.progress-labels span::before {
  content: attr(data-step-label);
  position: absolute;
  left: 0.86rem;
  top: 50%;
  width: 1.9rem;
  height: 1.9rem;
  display: grid;
  place-items: center;
  border-radius: 0.72rem;
  background: rgba(15, 47, 95, 0.075);
  color: #7d8ca1;
  transform: translateY(-50%);
  font-size: 0.78rem;
  font-weight: 950;
}

.progress-labels span strong {
  display: none;
}

.progress-labels span small {
  display: block;
  color: inherit;
  opacity: 0.72;
  font-size: 0.73rem;
  font-weight: 850;
}

.progress-labels span.active,
.progress-labels span.completed {
  color: var(--premium-blue);
  border-color: rgba(37, 153, 235, 0.26);
  background: rgba(239, 248, 255, 0.88);
  box-shadow: 0 16px 34px rgba(15, 47, 95, 0.075);
}

.progress-labels span.active {
  transform: translateY(-2px);
}

.progress-labels span.active::before,
.progress-labels span.completed::before {
  color: #ffffff;
  background: linear-gradient(135deg, var(--premium-blue), var(--premium-cyan));
}

.progress-labels span.completed::before {
  content: "✓";
}

.step-helper-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
  padding: 0.9rem;
  border: 1px solid rgba(15, 47, 95, 0.095);
  border-radius: 1.15rem;
  background: rgba(248, 252, 255, 0.85);
}

.step-helper-panel--blue {
  background: rgba(239, 248, 255, 0.82);
}

.helper-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  color: var(--premium-blue);
  background: rgba(15, 47, 95, 0.075);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.helper-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.helper-items span {
  padding: 0.42rem 0.58rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #50627b;
  font-size: 0.82rem;
  font-weight: 850;
}

.field {
  gap: 0.5rem;
}

.field span,
.consent-check span {
  color: #263750;
}

.field input,
.field select {
  height: 3.55rem;
  border-color: rgba(110, 127, 150, 0.28);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.field input:hover,
.field select:hover {
  border-color: rgba(15, 47, 95, 0.30);
  background: rgba(255, 255, 255, 0.96);
}

.field input:focus,
.field select:focus {
  border-color: rgba(37, 153, 235, 0.82);
  box-shadow: var(--premium-focus), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.consent-check {
  background: rgba(239, 248, 255, 0.72);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.consent-check.invalid {
  border-color: rgba(220, 38, 38, 0.70);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}

.form-actions {
  align-items: center;
  padding-top: 0.25rem;
}

.primary-button,
.ghost-button {
  min-height: 3.35rem;
  border-radius: 1rem;
}

.result-panel {
  min-height: 27rem;
}

.empty-result {
  background:
    radial-gradient(circle at top, rgba(37, 153, 235, 0.10), transparent 18rem),
    rgba(255, 255, 255, 0.76);
}

.result-card {
  overflow: hidden;
  padding: 0;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 26px 70px rgba(7, 21, 47, 0.09);
}

.result-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.65fr);
  gap: 1rem;
  padding: clamp(1.1rem, 3vw, 1.5rem);
  background:
    radial-gradient(circle at 92% 12%, rgba(37, 153, 235, 0.16), transparent 15rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 249, 255, 0.88));
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.result-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 0.45rem;
  padding: 0.42rem 0.62rem;
  border: 1px solid rgba(37, 153, 235, 0.24);
  border-radius: 999px;
  background: rgba(239, 248, 255, 0.85);
  color: var(--premium-blue);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.result-card h3 {
  margin: 0.8rem 0 0;
  color: var(--premium-ink);
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  line-height: 1.08;
}

.result-summary-text {
  max-width: 44rem;
  margin: 0.75rem 0 0;
  color: #53667f;
  line-height: 1.65;
}

.result-score-card {
  position: relative;
  display: grid;
  align-content: center;
  gap: 0.45rem;
  min-height: 12rem;
  padding: 1.2rem;
  border: 1px solid rgba(37, 153, 235, 0.18);
  border-radius: 1.45rem;
  background:
    radial-gradient(circle at top right, rgba(37, 153, 235, 0.20), transparent 9rem),
    rgba(255, 255, 255, 0.78);
}

.result-score-card span {
  color: var(--premium-blue);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.result-score-card small {
  color: #5e718b;
  font-weight: 850;
  line-height: 1.35;
}

.result-dashboard {
  display: grid;
  gap: 1rem;
  padding: clamp(1.1rem, 3vw, 1.5rem);
}

.result-highlight,
.result-comparison-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
}

.metric {
  position: relative;
  overflow: hidden;
  min-height: 8.3rem;
  background:
    radial-gradient(circle at 88% 10%, rgba(37, 153, 235, 0.10), transparent 8rem),
    #f8fbff;
}

.metric::after {
  content: "";
  position: absolute;
  inset: auto 1rem 0.8rem 1rem;
  height: 0.25rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(15, 47, 95, 0.16), rgba(37, 153, 235, 0.42));
  opacity: 0.55;
}

.metric--primary {
  background:
    radial-gradient(circle at 86% 10%, rgba(37, 153, 235, 0.18), transparent 9rem),
    linear-gradient(145deg, #f7fbff, #ffffff);
  border-color: rgba(37, 153, 235, 0.22);
}

.metric span {
  color: #68788e;
}

.metric strong {
  color: var(--premium-ink);
}

.result-comparison-card {
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 1.2rem;
  background: rgba(248, 252, 255, 0.92);
}

.result-comparison-card span,
.result-next-card span {
  display: block;
  color: #68788e;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.result-comparison-card strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--premium-ink);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 950;
  letter-spacing: -0.04em;
}

.result-next-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(15, 47, 95, 0.10);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at top right, rgba(37, 153, 235, 0.12), transparent 12rem),
    rgba(239, 248, 255, 0.72);
}

.result-next-card p {
  margin: 0.35rem 0 0;
  color: #475569;
  line-height: 1.55;
}

.result-disclaimer {
  margin: 0;
  background: rgba(255, 247, 237, 0.78);
  color: #7c4a03;
  border: 1px solid rgba(251, 191, 36, 0.20);
}

.result-actions {
  margin-top: 0;
}

@keyframes financeGridShift {
  0% { transform: translate3d(-1%, -1%, 0); opacity: 0.38; }
  100% { transform: translate3d(1.5%, 1%, 0); opacity: 0.62; }
}

@keyframes taxLineOne {
  0% { transform: translate3d(-1rem, 0, 0) rotate(-12deg) scaleX(0.86); opacity: 0.20; }
  100% { transform: translate3d(2rem, 0.8rem, 0) rotate(-12deg) scaleX(1.05); opacity: 0.46; }
}

@keyframes taxLineTwo {
  0% { transform: translate3d(1rem, 0, 0) rotate(10deg) scaleX(0.86); opacity: 0.18; }
  100% { transform: translate3d(-2rem, -0.8rem, 0) rotate(10deg) scaleX(1.08); opacity: 0.40; }
}

@media (max-width: 1024px) {
  .form-card-header {
    align-items: stretch;
    flex-direction: column;
  }

  .form-value-points {
    min-width: 0;
  }

  .result-highlight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-comparison-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page-bg::before {
    background-size: 58px 58px;
  }

  .particles-canvas {
    opacity: 0.35;
  }

  .hero-trust-row {
    gap: 0.45rem;
  }

  .hero-trust-row span {
    width: 100%;
    justify-content: center;
  }

  .progress-labels {
    grid-template-columns: 1fr;
  }

  .progress-labels span {
    min-height: 3.75rem;
  }

  .step-helper-panel,
  .helper-items,
  .result-next-card {
    display: grid;
    grid-template-columns: 1fr;
  }

  .helper-items span {
    width: 100%;
    text-align: center;
  }

  .result-hero-grid,
  .result-highlight,
  .result-comparison-grid {
    grid-template-columns: 1fr;
  }

  .result-score-card {
    min-height: 10rem;
  }
}

/* =========================================================
   FIX — impede fundo/canvas/glows de bloquear o formulário
   ========================================================= */

.page-bg,
.page-bg::before,
.page-bg::after,
.particles-canvas,
.bg-glow,
.bg-grid,
.bg-line,
.bg-orb {
  pointer-events: none !important;
}

.site-header,
.simulator-main,
.hero-section,
.benefits-strip,
.simulator-section,
.form-card,
#simuladorForm {
  position: relative;
  z-index: 20;
}

.form-card,
.form-card * {
  pointer-events: auto;
}

.form-card::before,
.form-card::after,
.benefit-card::before,
.benefit-card::after,
.hero-visual::before,
.hero-visual::after,
.hero-card::before,
.hero-card::after {
  pointer-events: none !important;
}

input,
select,
button,
a,
label,
.consent-check {
  pointer-events: auto;
}

/* =========================================================
   RESULTADO CENSURADO / RELATÓRIO RESERVADO
   ========================================================= */

.locked-report-shell {
  position: relative;
  min-height: 42rem;
  overflow: hidden;
  border: 1px solid rgba(15, 47, 95, 0.12);
  border-radius: 2rem;
  background:
    radial-gradient(circle at top right, rgba(37, 153, 235, 0.14), transparent 20rem),
    rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
}

.locked-report-background {
  position: absolute;
  inset: 0;
  padding: clamp(1rem, 3vw, 1.6rem);
  filter: blur(5px);
  transform: scale(1.015);
  opacity: 0.58;
  pointer-events: none;
  user-select: none;
}

.locked-report-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.74)),
    repeating-linear-gradient(
      -45deg,
      rgba(15, 47, 95, 0.035) 0,
      rgba(15, 47, 95, 0.035) 1px,
      transparent 1px,
      transparent 12px
    );
}

.locked-report-header,
.locked-report-grid,
.locked-comparison,
.locked-report-table {
  position: relative;
  z-index: 1;
}

.locked-report-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.locked-report-header h3 {
  margin: 0.35rem 0 0;
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 950;
  letter-spacing: -0.055em;
}

.locked-report-header p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-weight: 750;
}

.locked-report-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(15, 47, 95, 0.12);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  background: rgba(255, 255, 255, 0.74);
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.locked-report-status span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--brand-blue);
}

.locked-report-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.locked-metric-card {
  min-height: 8rem;
  border: 1px solid rgba(15, 47, 95, 0.10);
  border-radius: 1.25rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.locked-metric-card span,
.locked-metric-card small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.locked-metric-card strong {
  display: block;
  margin-top: 0.5rem;
  color: var(--brand-blue);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 950;
  letter-spacing: -0.045em;
}

.locked-metric-card small {
  margin-top: 0.5rem;
}

.locked-comparison {
  margin-top: 1rem;
  border: 1px solid rgba(15, 47, 95, 0.10);
  border-radius: 1.4rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.76);
}

.locked-comparison-title span,
.locked-comparison-title strong {
  display: block;
}

.locked-comparison-title span {
  color: var(--brand-blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.locked-comparison-title strong {
  margin-top: 0.25rem;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 950;
}

.locked-bars {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.locked-bars div {
  display: grid;
  gap: 0.35rem;
}

.locked-bars span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.locked-bars i {
  display: block;
  height: 0.72rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-blue-dark), var(--brand-blue), var(--accent-blue));
}

.locked-report-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.locked-report-table div {
  border: 1px solid rgba(15, 47, 95, 0.10);
  border-radius: 1rem;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.74);
}

.locked-report-table span,
.locked-report-table strong {
  display: block;
}

.locked-report-table span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.locked-report-table strong {
  margin-top: 0.3rem;
  color: var(--navy);
  font-weight: 950;
}

.locked-report-overlay {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 5;
  width: min(100% - 2rem, 44rem);
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 1.75rem;
  padding: clamp(1.2rem, 4vw, 2rem);
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 34px 100px rgba(15, 47, 95, 0.22);
  text-align: center;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.locked-icon {
  display: grid;
  width: 4.3rem;
  height: 4.3rem;
  margin: 0 auto 1rem;
  place-items: center;
  border-radius: 1.35rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue-dark), var(--brand-blue), var(--accent-blue));
  font-size: 2rem;
  font-weight: 950;
  box-shadow: 0 22px 55px rgba(15, 47, 95, 0.24);
}

.locked-report-overlay h3 {
  max-width: 36rem;
  margin: 0.65rem auto 0;
  color: var(--navy);
  font-size: clamp(1.7rem, 4vw, 2.55rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.06em;
}

.locked-report-overlay > p {
  max-width: 38rem;
  margin: 1rem auto 0;
  color: var(--muted);
  line-height: 1.65;
}

.locked-next-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.2rem;
  text-align: left;
}

.locked-next-steps div {
  border: 1px solid rgba(15, 47, 95, 0.10);
  border-radius: 1.1rem;
  padding: 0.95rem;
  background: rgba(239, 246, 255, 0.62);
}

.locked-next-steps strong,
.locked-next-steps span {
  display: block;
}

.locked-next-steps strong {
  color: var(--navy);
  font-weight: 950;
}

.locked-next-steps span {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.locked-actions {
  justify-content: center;
  margin-top: 1.2rem;
}

@media (max-width: 900px) {
  .locked-report-shell {
    min-height: 48rem;
  }

  .locked-report-grid,
  .locked-report-table,
  .locked-next-steps {
    grid-template-columns: 1fr;
  }

  .locked-report-header {
    flex-direction: column;
  }

  .locked-report-overlay {
    position: relative;
    inset: auto;
    width: calc(100% - 1rem);
    margin: 1rem auto;
    transform: none;
  }

  .locked-report-background {
    filter: blur(6px);
  }
}


/* ==========================================================================
   SITE CONTABILIZA ALIGNMENT — navy + gold
   Alinhamento visual com o site institucional
   ========================================================================== */

:root {
  --brand-blue: #0B1F44;
  --brand-blue-dark: #071733;
  --brand-blue-900: #0B1F44;
  --brand-blue-soft: rgba(11, 31, 68, 0.10);
  --accent-blue: #D4AF37;
  --accent-blue-soft: rgba(212, 175, 55, 0.16);

  --navy: #0B1F44;
  --navy-soft: #12315F;
  --navy-muted: #24446F;
  --gold: #D4AF37;
  --gold-dark: #B9911E;
  --gold-soft: rgba(212, 175, 55, 0.16);

  --text: #172033;
  --muted: #64748B;
  --soft: #F7F9FC;
  --white: #FFFFFF;
  --surface: #FFFFFF;

  --border: rgba(11, 31, 68, 0.10);
  --border-strong: rgba(212, 175, 55, 0.34);

  --card: rgba(255, 255, 255, 0.90);
  --glass: rgba(255, 255, 255, 0.68);

  --shadow-soft: 0 18px 48px rgba(11, 31, 68, 0.08);
  --shadow-card: 0 28px 86px rgba(11, 31, 68, 0.13);
  --shadow-blue: 0 22px 55px rgba(11, 31, 68, 0.22);
}

body {
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #F7F9FC;
}

.page-bg {
  background:
    radial-gradient(circle at 12% 16%, rgba(11, 31, 68, 0.10), transparent 27rem),
    radial-gradient(circle at 88% 20%, rgba(212, 175, 55, 0.13), transparent 30rem),
    radial-gradient(circle at 50% 92%, rgba(18, 49, 95, 0.10), transparent 32rem),
    linear-gradient(180deg, #FFFFFF 0%, #F7F9FC 54%, #EEF4FA 100%);
}

.bg-grid-layer {
  opacity: 0.42;
}

.bg-glow {
  background: rgba(212, 175, 55, 0.12);
}

.site-header {
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(11, 31, 68, 0.08);
  backdrop-filter: blur(18px);
}

.site-header-inner {
  border-color: rgba(11, 31, 68, 0.08);
}

.brand {
  color: var(--navy);
  font-weight: 900;
  letter-spacing: -0.045em;
}

.brand-mark {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.92));
  border: 1px solid rgba(212, 175, 55, 0.28);
  box-shadow: 0 12px 30px rgba(11, 31, 68, 0.10);
}

.brand-mark img {
  border-radius: 0.75rem;
}

.hero-kicker,
.form-title-block > span,
.helper-badge {
  color: var(--navy);
  background: rgba(212, 175, 55, 0.13);
  border-color: rgba(212, 175, 55, 0.38);
}

.hero-kicker::before,
.hero-trust-row span::before {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.14);
}

.hero-copy h1,
.form-card h2,
.result-card h3,
.locked-report-header h3 {
  color: var(--navy);
  letter-spacing: -0.075em;
}

.hero-text,
.form-card-header p {
  color: var(--muted);
}

.header-cta,
.primary-action,
.primary-button,
.whatsapp-button {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #FFFFFF;
  border: 1px solid rgba(212, 175, 55, 0.36);
  box-shadow: 0 16px 36px rgba(11, 31, 68, 0.20);
}

.header-cta::after,
.primary-action::after,
.primary-button::after,
.whatsapp-button::after {
  background: linear-gradient(115deg, transparent, rgba(212, 175, 55, 0.28), transparent);
}

.header-cta:hover,
.primary-action:hover,
.primary-button:hover,
.whatsapp-button:hover {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 22px 48px rgba(11, 31, 68, 0.25);
}

.ghost-button {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(11, 31, 68, 0.12);
}

.ghost-button:hover {
  color: var(--navy);
  border-color: rgba(212, 175, 55, 0.42);
  box-shadow: 0 16px 34px rgba(11, 31, 68, 0.10);
}

.hero-visual,
.hero-card,
.hero-mini-card,
.benefit-card,
.form-card,
.result-card,
.locked-report-shell {
  border-color: rgba(11, 31, 68, 0.09);
  box-shadow: var(--shadow-card);
}

.hero-card,
.hero-mini-card,
.benefit-card,
.form-card,
.result-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 250, 252, 0.93));
}

.hero-card-main strong,
.result-score-card strong,
.locked-metric-card strong {
  color: var(--navy);
}

.hero-card-topline > span:first-child,
.hero-mini-card span,
.result-comparison-card span,
.result-next-card span,
.locked-metric-card span,
.locked-metric-card small {
  color: var(--navy-muted);
}

.hero-meter span,
.progress-bar span {
  background: linear-gradient(90deg, var(--navy), var(--gold));
}

.hero-floating-note > span,
.form-value-points span,
.progress-labels span.active::before,
.progress-labels span.completed::before {
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: #FFFFFF;
  box-shadow: 0 12px 26px rgba(11, 31, 68, 0.18);
}

.form-card {
  border: 1px solid rgba(11, 31, 68, 0.09);
}

.form-card::before {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.95;
}

.benefit-card::after,
.form-card::after {
  background: linear-gradient(115deg, transparent, rgba(212, 175, 55, 0.22), transparent);
}

.benefit-card:hover,
.hero-mini-card:hover {
  border-color: rgba(212, 175, 55, 0.36);
  box-shadow: 0 24px 62px rgba(11, 31, 68, 0.14);
}

.progress-labels span {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(11, 31, 68, 0.09);
  color: rgba(11, 31, 68, 0.56);
}

.progress-labels span.active,
.progress-labels span.completed {
  color: var(--navy);
  border-color: rgba(212, 175, 55, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 235, 0.58));
}

.progress-labels span.active {
  box-shadow: 0 14px 34px rgba(11, 31, 68, 0.10);
}

.step-helper-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 252, 0.90));
  border-color: rgba(11, 31, 68, 0.09);
}

.step-helper-panel--blue {
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.14), transparent 16rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 252, 0.92));
}

.field > span,
.consent-check {
  color: var(--navy);
}

.field input,
.field select {
  color: var(--navy);
  background-color: rgba(255, 255, 255, 0.94);
  border-color: rgba(11, 31, 68, 0.13);
  box-shadow: 0 10px 26px rgba(11, 31, 68, 0.035);
}

.field input:hover,
.field select:hover {
  border-color: rgba(11, 31, 68, 0.22);
  background-color: #FFFFFF;
}

.field input:focus,
.field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.16);
  background-color: #FFFFFF;
}

.field.invalid input,
.field.invalid select {
  border-color: rgba(185, 28, 28, 0.46);
  box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.08);
}

.consent-check {
  background: rgba(255, 255, 255, 0.80);
  border-color: rgba(11, 31, 68, 0.12);
}

.consent-check:hover {
  border-color: rgba(212, 175, 55, 0.38);
  box-shadow: 0 12px 30px rgba(11, 31, 68, 0.07);
}

.consent-check input {
  accent-color: var(--navy);
}

.form-message.success {
  color: #0F5132;
  background: rgba(35, 172, 103, 0.10);
  border-color: rgba(35, 172, 103, 0.22);
}

.form-message.error {
  color: #7F1D1D;
  background: rgba(185, 28, 28, 0.08);
  border-color: rgba(185, 28, 28, 0.22);
}

.locked-report-shell {
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.13), transparent 20rem),
    rgba(255, 255, 255, 0.86);
}

.locked-report-background::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.76)),
    repeating-linear-gradient(
      -45deg,
      rgba(11, 31, 68, 0.035) 0,
      rgba(11, 31, 68, 0.035) 1px,
      transparent 1px,
      transparent 12px
    );
}


/* ==========================================================================
   SITE CONTABILIZA ALIGNMENT — ajuste fino do dourado
   Reduz o excesso de dourado e deixa o formulário mais próximo do site
   ========================================================================== */

.page-bg {
  background:
    radial-gradient(circle at 12% 16%, rgba(11, 31, 68, 0.08), transparent 27rem),
    radial-gradient(circle at 88% 20%, rgba(212, 175, 55, 0.055), transparent 30rem),
    radial-gradient(circle at 50% 92%, rgba(18, 49, 95, 0.08), transparent 32rem),
    linear-gradient(180deg, #FFFFFF 0%, #F7F9FC 56%, #EEF4FA 100%);
}

.bg-glow {
  opacity: 0.34;
}

.form-card {
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(212, 175, 55, 0.09), transparent 22rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(248, 250, 252, 0.955));
  border: 1px solid rgba(11, 31, 68, 0.09);
  box-shadow: 0 28px 86px rgba(11, 31, 68, 0.12);
}

.form-card::before {
  top: 0;
  left: 2rem;
  right: 2rem;
  width: auto;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.95), transparent);
  opacity: 1;
  transform: none;
}

.form-card::after {
  background: linear-gradient(115deg, transparent, rgba(212, 175, 55, 0.16), transparent);
}

.progress-bar span {
  background: linear-gradient(90deg, var(--navy), rgba(212, 175, 55, 0.88));
}

.hero-meter span {
  background: linear-gradient(90deg, var(--navy), rgba(212, 175, 55, 0.88));
}

.progress-labels span.active,
.progress-labels span.completed {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 253, 246, 0.72));
}

.step-helper-panel,
.step-helper-panel--blue {
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.075), transparent 15rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 250, 252, 0.94));
}

.field input,
.field select,
.consent-check {
  background-color: rgba(255, 255, 255, 0.965);
}

.hero-kicker,
.form-title-block > span,
.helper-badge {
  background: rgba(212, 175, 55, 0.095);
  border-color: rgba(212, 175, 55, 0.30);
}

.benefit-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.975), rgba(248, 250, 252, 0.94));
}

.benefit-card:first-child {
  border-color: rgba(212, 175, 55, 0.30);
}


/* ==========================================================================
   SITE CONTABILIZA ALIGNMENT — stepper premium
   Refinamento da jornada de etapas e barra de progresso
   ========================================================================== */

.progress-wrap {
  padding-top: 1.15rem;
}

.progress-bar {
  height: 0.42rem;
  overflow: hidden;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(11, 31, 68, 0.055), rgba(11, 31, 68, 0.035));
  box-shadow:
    inset 0 1px 2px rgba(11, 31, 68, 0.08),
    0 10px 26px rgba(11, 31, 68, 0.04);
}

.progress-bar span {
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, #0B1F44 0%, #12315F 48%, #D4AF37 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22) inset,
    0 8px 20px rgba(11, 31, 68, 0.16),
    0 0 22px rgba(212, 175, 55, 0.22);
}

.progress-labels {
  gap: clamp(0.65rem, 1.2vw, 1rem);
  margin-top: 1.05rem;
}

.progress-labels span {
  position: relative;
  min-height: 4.35rem;
  align-items: center;
  gap: 0.78rem;
  padding: 0.95rem 1.05rem;
  overflow: hidden;
  border: 1px solid rgba(11, 31, 68, 0.085);
  border-radius: 1.15rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.78));
  color: rgba(11, 31, 68, 0.46);
  box-shadow: 0 10px 26px rgba(11, 31, 68, 0.035);
}

.progress-labels span::after {
  content: "";
  position: absolute;
  inset: auto 1rem 0 1rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.72), transparent);
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
}

.progress-labels span::before {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 0.78rem;
  background:
    linear-gradient(180deg, rgba(11, 31, 68, 0.075), rgba(11, 31, 68, 0.045));
  color: rgba(11, 31, 68, 0.50);
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow: none;
}

.progress-labels span strong {
  display: block;
  margin-bottom: 0.12rem;
  color: inherit;
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.progress-labels span small {
  display: block;
  margin-top: 0.1rem;
  color: rgba(100, 116, 139, 0.88);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.progress-labels span.active {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.42);
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.11), transparent 9rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(255, 253, 247, 0.78));
  color: #0B1F44;
  box-shadow:
    0 16px 38px rgba(11, 31, 68, 0.08),
    0 0 0 1px rgba(212, 175, 55, 0.08) inset;
}

.progress-labels span.active::before {
  background: linear-gradient(135deg, #0B1F44 0%, #12315F 100%);
  color: #FFFFFF;
  box-shadow:
    0 12px 26px rgba(11, 31, 68, 0.22),
    0 0 0 1px rgba(212, 175, 55, 0.30) inset;
}

.progress-labels span.active::after {
  opacity: 1;
  transform: translateY(0);
}

.progress-labels span.completed {
  border-color: rgba(11, 31, 68, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 250, 252, 0.88));
  color: #0B1F44;
}

.progress-labels span.completed::before {
  content: "✓";
  background:
    linear-gradient(135deg, #0B1F44 0%, #12315F 100%);
  color: #FFFFFF;
  box-shadow:
    0 12px 26px rgba(11, 31, 68, 0.18),
    0 0 0 1px rgba(212, 175, 55, 0.24) inset;
}

.progress-labels span.completed::after {
  opacity: 0.55;
  transform: translateY(0);
}

.progress-labels span:not(.active):not(.completed):hover {
  transform: translateY(-1px);
  border-color: rgba(11, 31, 68, 0.14);
  color: rgba(11, 31, 68, 0.72);
  box-shadow: 0 14px 32px rgba(11, 31, 68, 0.055);
}

@media (max-width: 760px) {
  .progress-wrap {
    padding-top: 0.9rem;
  }

  .progress-labels {
    gap: 0.58rem;
  }

  .progress-labels span {
    min-height: 4rem;
    padding: 0.8rem;
    border-radius: 1rem;
  }

  .progress-labels span::before {
    width: 2rem;
    height: 2rem;
    border-radius: 0.68rem;
    font-size: 0.78rem;
  }

  .progress-labels span strong {
    font-size: 0.9rem;
  }

  .progress-labels span small {
    font-size: 0.72rem;
  }
}

@media (max-width: 540px) {
  .progress-labels {
    grid-template-columns: 1fr;
  }

  .progress-labels span {
    min-height: auto;
  }
}


/* ==========================================================================
   SITE CONTABILIZA ALIGNMENT — correcao logo e stepper
   Ajusta marca do simulador para bater com o site e corrige sobreposicao do stepper
   ========================================================================== */

.brand {
  gap: 1rem;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  width: 3.75rem;
  height: 3.75rem;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 1.05rem;
  box-shadow: 0 14px 34px rgba(11, 31, 68, 0.14);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 1.05rem;
}

.brand-word {
  display: inline-flex;
  align-items: baseline;
  color: #C9A063;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.05rem, 3vw, 2.7rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  text-shadow: 0 10px 26px rgba(11, 31, 68, 0.08);
}

.brand-word-edge {
  font-size: 1.13em;
  line-height: 0.85;
}

.progress-labels span {
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0.82rem;
  row-gap: 0.08rem;
  align-items: center;
}

.progress-labels span::before {
  content: none !important;
  display: none !important;
}

.progress-labels span strong {
  display: grid !important;
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 2.35rem;
  height: 2.35rem;
  margin: 0;
  place-items: center;
  border-radius: 0.82rem;
  background:
    linear-gradient(180deg, rgba(11, 31, 68, 0.075), rgba(11, 31, 68, 0.045));
  color: rgba(11, 31, 68, 0.58);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  box-shadow: none;
}

.progress-labels span.active strong {
  background: linear-gradient(135deg, #0B1F44 0%, #12315F 100%);
  color: #FFFFFF;
  box-shadow:
    0 12px 26px rgba(11, 31, 68, 0.22),
    0 0 0 1px rgba(212, 175, 55, 0.30) inset;
}

.progress-labels span.completed strong {
  color: transparent;
  background: linear-gradient(135deg, #0B1F44 0%, #12315F 100%);
  box-shadow:
    0 12px 26px rgba(11, 31, 68, 0.18),
    0 0 0 1px rgba(212, 175, 55, 0.24) inset;
}

.progress-labels span.completed strong::after {
  content: "✓";
  color: #FFFFFF;
  font-size: 1rem;
  line-height: 1;
}

.progress-labels span small {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
}

.progress-labels span {
  font-weight: 900;
  line-height: 1.12;
}

@media (max-width: 760px) {
  .brand-mark {
    width: 3.25rem;
    height: 3.25rem;
  }

  .brand-word {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .progress-labels span {
    grid-template-columns: 2.15rem minmax(0, 1fr);
  }

  .progress-labels span strong {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 0.74rem;
    font-size: 0.82rem;
  }
}


/* ==========================================================================
   SITE CONTABILIZA ALIGNMENT — ajuste final da logo
   Aproxima a marca do simulador da marca usada no site institucional
   ========================================================================== */

.site-header .brand {
  gap: 0.72rem;
  align-items: center;
}

.site-header .brand-mark {
  width: 3.15rem;
  height: 2.75rem;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0.9rem;
  background: #0B1F44;
  box-shadow:
    0 12px 26px rgba(11, 31, 68, 0.14),
    0 0 0 1px rgba(212, 175, 55, 0.18);
}

.site-header .brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.site-header .brand-word {
  color: #C9A063;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.92rem, 2.45vw, 2.28rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.012em;
  text-transform: none;
  text-shadow: none;
}

.site-header .brand-word-edge {
  font-size: 1.12em;
  line-height: 0.9;
}

@media (max-width: 760px) {
  .site-header .brand {
    gap: 0.6rem;
  }

  .site-header .brand-mark {
    width: 2.85rem;
    height: 2.5rem;
    border-radius: 0.8rem;
  }

  .site-header .brand-word {
    font-size: clamp(1.65rem, 7vw, 2rem);
  }
}


/* ==========================================================================
   SITE CONTABILIZA ALIGNMENT — marca final C e A
   Mantem a marca como ContabilizA, com C e A destacados como no site
   ========================================================================== */

.site-header .brand {
  gap: 0.72rem;
  align-items: center;
  text-decoration: none;
}

.site-header .brand-mark {
  width: 3.15rem;
  height: 2.75rem;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0.9rem;
  background: #0B1F44;
  box-shadow:
    0 12px 26px rgba(11, 31, 68, 0.14),
    0 0 0 1px rgba(212, 175, 55, 0.18);
}

.site-header .brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.site-header .brand-word {
  display: inline-flex;
  align-items: baseline;
  color: #C9A063;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.92rem, 2.45vw, 2.28rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.012em;
  text-transform: none !important;
  text-shadow: none;
}

.site-header .brand-word-edge {
  font-size: 1.12em;
  line-height: 0.9;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .site-header .brand {
    gap: 0.6rem;
  }

  .site-header .brand-mark {
    width: 2.85rem;
    height: 2.5rem;
    border-radius: 0.8rem;
  }

  .site-header .brand-word {
    font-size: clamp(1.65rem, 7vw, 2rem);
  }
}

/* ==========================================================================
   Ajuste logo simulador igual ao site
   ========================================================================== */

header img[src*="logo-contabiliza-icon"],
header img[src*="logocontabiliza"],
header img[src*="logoGuia"],
.simulator-brand__image,
.site-brand__image,
.logo-brand__image {
    height: 40px !important;
    width: 58px !important;
    border-radius: 15px !important;
    object-fit: cover !important;
    display: block;
    background: #102652;
    box-shadow: 0 10px 24px rgba(11, 31, 68, 0.12);
}

header a:has(img[src*="logo-contabiliza-icon"]),
header a:has(img[src*="logocontabiliza"]),
header a:has(img[src*="logoGuia"]),
.simulator-brand,
.site-brand,
.logo-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    text-decoration: none;
}

.simulator-brand__text.brand-wordmark,
.site-brand__text.brand-wordmark,
.logo-brand__text.brand-wordmark,
header .brand-wordmark {
    display: inline-flex !important;
    align-items: baseline;
    gap: 0.015em;
    font-family: 'Cormorant Garamond', serif !important;
    color: #c9a06a !important;
    font-size: 1.82rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none !important;
    white-space: nowrap;
}

.brand-wordmark__edge {
    font-size: 1.28em;
    line-height: 0.82;
    font-weight: 600;
    letter-spacing: 0.005em;
}

.brand-wordmark__body {
    font-size: 0.92em;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.045em;
}

@media (max-width: 767px) {
    header img[src*="logo-contabiliza-icon"],
    header img[src*="logocontabiliza"],
    header img[src*="logoGuia"],
    .simulator-brand__image,
    .site-brand__image,
    .logo-brand__image {
        height: 38px !important;
        width: 54px !important;
        border-radius: 14px !important;
    }

    .simulator-brand__text.brand-wordmark,
    .site-brand__text.brand-wordmark,
    .logo-brand__text.brand-wordmark,
    header .brand-wordmark {
        font-size: 1.48rem;
        letter-spacing: 0.012em;
    }

    .brand-wordmark__body {
        letter-spacing: 0.035em;
    }
}



/* ==========================================================================
   SITE CONTABILIZA ALIGNMENT - marca small caps final
   Marca visual: C + ONTABILIZ menor + A, seguindo o site institucional
   ========================================================================== */

.site-header .brand {
  gap: 0.62rem;
  align-items: center;
  text-decoration: none;
}

.site-header .brand-mark {
  width: 3.15rem;
  height: 2.75rem;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0.9rem;
  background: #0B1F44;
  box-shadow:
    0 12px 26px rgba(11, 31, 68, 0.14),
    0 0 0 1px rgba(212, 175, 55, 0.18);
}

.site-header .brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.site-header .brand-word {
  display: inline-flex;
  align-items: baseline;
  color: #C9A063;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.018em;
  text-transform: none !important;
  text-shadow: none;
  white-space: nowrap;
}

.site-header .brand-word-edge {
  display: inline-block;
  font-size: clamp(2.05rem, 2.55vw, 2.38rem);
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.site-header .brand-word-small {
  display: inline-block;
  font-size: clamp(1.52rem, 1.9vw, 1.78rem);
  line-height: 0.9;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  transform: translateY(-0.03em);
}

@media (max-width: 760px) {
  .site-header .brand {
    gap: 0.55rem;
  }

  .site-header .brand-mark {
    width: 2.85rem;
    height: 2.5rem;
    border-radius: 0.8rem;
  }

  .site-header .brand-word-edge {
    font-size: clamp(1.8rem, 7vw, 2.08rem);
  }

  .site-header .brand-word-small {
    font-size: clamp(1.32rem, 5.3vw, 1.55rem);
  }
}


/* ==========================================================================
   SITE CONTABILIZA ALIGNMENT — refinamento final da marca
   Deixa a marca do simulador mais próxima da marca do site
   ========================================================================== */

.site-header .brand {
  gap: 0.68rem;
  align-items: center;
  text-decoration: none;
}

.site-header .brand-mark {
  width: 3.45rem;
  height: 2.95rem;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 1rem;
  background: #0B1F44;
  box-shadow:
    0 12px 26px rgba(11, 31, 68, 0.14),
    0 0 0 1px rgba(212, 175, 55, 0.18);
}

.site-header .brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.site-header .brand-word {
  display: inline-flex;
  align-items: baseline;
  color: #C9A063;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: 0.012em;
  text-transform: none !important;
  white-space: nowrap;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.site-header .brand-word-edge {
  display: inline-block;
  font-size: clamp(2.16rem, 2.7vw, 2.5rem);
  line-height: 0.88;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-weight: 700;
}

.site-header .brand-word-small {
  display: inline-block;
  font-size: clamp(1.7rem, 2.05vw, 1.92rem);
  line-height: 0.9;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  font-weight: 700;
  transform: translateY(-0.02em);
}

/* compacta levemente a marca para ficar mais próxima da do site */
.site-header .brand-word-small + .brand-word-edge,
.site-header .brand-word-edge + .brand-word-small {
  margin-left: 0.01em;
}

@media (max-width: 760px) {
  .site-header .brand {
    gap: 0.56rem;
  }

  .site-header .brand-mark {
    width: 3.05rem;
    height: 2.62rem;
    border-radius: 0.88rem;
  }

  .site-header .brand-word-edge {
    font-size: clamp(1.88rem, 7vw, 2.16rem);
  }

  .site-header .brand-word-small {
    font-size: clamp(1.46rem, 5.5vw, 1.68rem);
  }
}


/* ==========================================================================
   FORCE LOGO SITE STYLE - simulador
   Forca a marca do simulador a seguir a proporcao do site institucional
   ========================================================================== */

html body .site-header .brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.72rem !important;
  text-decoration: none !important;
}

html body .site-header .brand-mark {
  width: 3.55rem !important;
  height: 3.05rem !important;
  min-width: 3.55rem !important;
  min-height: 3.05rem !important;
  max-width: 3.55rem !important;
  max-height: 3.05rem !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 1rem !important;
  background: #0B1F44 !important;
  box-shadow: 0 12px 26px rgba(11, 31, 68, 0.14) !important;
}

html body .site-header .brand-mark img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: inherit !important;
}

html body .site-header .brand-word {
  display: inline-flex !important;
  align-items: baseline !important;
  color: #C9A063 !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-weight: 700 !important;
  line-height: 0.88 !important;
  letter-spacing: 0.006em !important;
  text-transform: none !important;
  text-shadow: none !important;
  white-space: nowrap !important;
}

html body .site-header .brand-word-edge {
  display: inline-block !important;
  color: #C9A063 !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 2.62rem !important;
  font-weight: 700 !important;
  line-height: 0.88 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
}

html body .site-header .brand-word-small {
  display: inline-block !important;
  color: #C9A063 !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  line-height: 0.88 !important;
  letter-spacing: 0.045em !important;
  text-transform: uppercase !important;
  transform: translateY(-0.025em) !important;
}

@media (max-width: 760px) {
  html body .site-header .brand {
    gap: 0.58rem !important;
  }

  html body .site-header .brand-mark {
    width: 3.05rem !important;
    height: 2.62rem !important;
    min-width: 3.05rem !important;
    min-height: 2.62rem !important;
    max-width: 3.05rem !important;
    max-height: 2.62rem !important;
    border-radius: 0.88rem !important;
  }

  html body .site-header .brand-word-edge {
    font-size: 2.12rem !important;
  }

  html body .site-header .brand-word-small {
    font-size: 1.62rem !important;
  }
}


/* ==========================================================================
   SITE CONTABILIZA ALIGNMENT - UX formulario S4
   Organiza consentimento, respiro entre etapas e percepcao de navegacao
   ========================================================================== */

.form-step {
  scroll-margin-top: 7rem;
}

.form-step.active {
  animation: simulatorStepActiveS4 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.form-step legend {
  margin-bottom: 1rem;
  color: var(--navy);
  letter-spacing: -0.035em;
}

.step-helper-panel {
  margin-bottom: 1.35rem;
}

.form-step .field {
  position: relative;
}

.consent-check.consent-check--final {
  margin: 1.45rem 0 0;
  padding: 1rem 1.08rem;
  border-radius: 1.1rem;
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.07), transparent 12rem),
    rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(11, 31, 68, 0.11);
  box-shadow: 0 12px 30px rgba(11, 31, 68, 0.055);
}

.consent-check.consent-check--final:hover {
  border-color: rgba(212, 175, 55, 0.34);
  box-shadow: 0 16px 38px rgba(11, 31, 68, 0.08);
}

.consent-check.consent-check--final span,
.consent-check.consent-check--final strong {
  color: var(--navy);
}

form:has(.form-step[data-step="3"].active) .consent-check--final {
  display: none;
}

.form-actions {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(11, 31, 68, 0.07);
}

.form-message:not(:empty) {
  margin-top: 1.1rem;
}

@keyframes simulatorStepActiveS4 {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 760px) {
  .consent-check.consent-check--final {
    margin-top: 1.2rem;
    padding: 0.95rem;
  }

  .form-actions {
    margin-top: 1.15rem;
  }
}


/* ==========================================================================
   SITE CONTABILIZA ALIGNMENT - check premium stepper
   Substitui o check tipografico por um check desenhado e centralizado
   ========================================================================== */

html body .progress-labels span.completed strong {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  color: transparent !important;
  overflow: hidden !important;
}

html body .progress-labels span.completed strong::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 47% !important;
  width: 0.42rem !important;
  height: 0.78rem !important;
  border-right: 0.18rem solid #FFFFFF !important;
  border-bottom: 0.18rem solid #FFFFFF !important;
  transform: translate(-50%, -55%) rotate(42deg) !important;
  transform-origin: center !important;
}

html body .progress-labels span.completed strong::before {
  content: "" !important;
  position: absolute !important;
  inset: 0.38rem !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.07) !important;
  pointer-events: none !important;
}

html body .progress-labels span.completed {
  border-color: rgba(212, 175, 55, 0.34) !important;
}

html body .progress-labels span.completed::after {
  opacity: 0.72 !important;
}

@media (max-width: 760px) {
  html body .progress-labels span.completed strong::after {
    width: 0.38rem !important;
    height: 0.7rem !important;
    border-right-width: 0.16rem !important;
    border-bottom-width: 0.16rem !important;
  }
}


/* ==========================================================================
   SITE CONTABILIZA ALIGNMENT - resultado final S5
   Refina a tela final do diagnostico mantendo a mensagem de confirmacao
   ========================================================================== */

/* Na etapa de resultado, o consentimento ja foi cumprido antes do envio */
body:has(.form-step[data-step="3"].active) .consent-check,
body:has(.form-step[data-step="3"].active) .consent-check--final {
  display: none !important;
}

/* Mantem a mensagem de sucesso/erro visivel, mas com acabamento premium */
body:has(.form-step[data-step="3"].active) .form-message {
  margin-top: 1.15rem;
  border-radius: 1rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(11, 31, 68, 0.06);
}

body:has(.form-step[data-step="3"].active) .form-message.success {
  display: block !important;
  color: #0F5132;
  background:
    radial-gradient(circle at top right, rgba(35, 172, 103, 0.08), transparent 14rem),
    rgba(35, 172, 103, 0.10);
  border-color: rgba(35, 172, 103, 0.22);
}

body:has(.form-step[data-step="3"].active) .form-message.error {
  display: block !important;
  color: #7F1D1D;
  background:
    radial-gradient(circle at top right, rgba(185, 28, 28, 0.07), transparent 14rem),
    rgba(185, 28, 28, 0.08);
  border-color: rgba(185, 28, 28, 0.22);
}

.form-step[data-step="3"].active legend {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 1.1rem;
  padding: 0.5rem 0.78rem;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(212, 175, 55, 0.34);
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.10);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.form-step[data-step="3"].active legend::before {
  content: "";
  width: 0.46rem;
  height: 0.46rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.13);
}

.locked-report-shell {
  border-color: rgba(11, 31, 68, 0.09);
  background:
    radial-gradient(circle at 88% 8%, rgba(212, 175, 55, 0.10), transparent 20rem),
    radial-gradient(circle at 8% 18%, rgba(11, 31, 68, 0.055), transparent 18rem),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 30px 90px rgba(11, 31, 68, 0.12);
}

.locked-report-background {
  filter: blur(4px);
  opacity: 0.46;
  transform: scale(1.012);
}

.locked-report-overlay {
  border: 1px solid rgba(11, 31, 68, 0.08);
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.08), transparent 16rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(248, 250, 252, 0.96));
  box-shadow:
    0 34px 90px rgba(11, 31, 68, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.74) inset;
}

.locked-report-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.92), transparent);
}

.locked-report-icon {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 72% 74%, rgba(212, 175, 55, 0.82), transparent 42%),
    linear-gradient(135deg, #0B1F44 0%, #12315F 100%);
  box-shadow:
    0 18px 42px rgba(11, 31, 68, 0.22),
    0 0 0 1px rgba(212, 175, 55, 0.24) inset;
}

.locked-report-badge {
  border-color: rgba(212, 175, 55, 0.34);
  background: rgba(212, 175, 55, 0.10);
  color: var(--navy);
  font-weight: 900;
}

.locked-report-overlay h3 {
  color: var(--navy);
  letter-spacing: -0.065em;
}

.locked-report-overlay p {
  color: var(--muted);
}

.locked-next-steps div {
  border-color: rgba(11, 31, 68, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92));
  box-shadow: 0 12px 28px rgba(11, 31, 68, 0.055);
}

.locked-next-steps strong {
  color: var(--navy);
}

.locked-report-overlay .primary-button,
.locked-report-overlay .whatsapp-button {
  min-width: 14rem;
}

.locked-report-overlay .ghost-button {
  min-width: 12rem;
}

.locked-report-note {
  border-color: rgba(212, 175, 55, 0.28);
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.08), transparent 12rem),
    rgba(255, 253, 246, 0.74);
  color: rgba(11, 31, 68, 0.68);
}

@media (max-width: 760px) {
  .locked-report-overlay {
    width: calc(100% - 1.5rem);
    padding: 1.25rem;
  }

  .locked-report-icon {
    width: 3.75rem;
    height: 3.75rem;
  }

  .locked-report-overlay .primary-button,
  .locked-report-overlay .whatsapp-button,
  .locked-report-overlay .ghost-button {
    width: 100%;
    min-width: 0;
  }
}


/* ==========================================================================
   SITE CONTABILIZA ALIGNMENT - confirmacao final S5.2
   Ajusta tela final: esconde Voltar, refina confirmacao e melhora respiro
   ========================================================================== */

/* Na tela final, as acoes principais ficam dentro do card central */
body:has(.form-step[data-step="3"].active) .form-actions {
  display: none !important;
}

/* Da mais respiro entre o relatorio reservado e a mensagem de status */
body:has(.form-step[data-step="3"].active) .locked-report-shell {
  margin-bottom: 1.1rem;
}

/* Mantem a mensagem de sucesso/erro visivel, mas com acabamento premium */
body:has(.form-step[data-step="3"].active) .form-message {
  width: min(100%, 58rem);
  margin: 1.15rem auto 0;
  padding: 0.9rem 1.1rem;
  border-radius: 1rem;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.35;
  box-shadow:
    0 14px 32px rgba(11, 31, 68, 0.07),
    0 0 0 1px rgba(255, 255, 255, 0.55) inset;
}

body:has(.form-step[data-step="3"].active) .form-message.success {
  display: block !important;
  color: #0F5132;
  background:
    radial-gradient(circle at top right, rgba(35, 172, 103, 0.10), transparent 13rem),
    linear-gradient(180deg, rgba(236, 253, 245, 0.94), rgba(220, 252, 231, 0.78));
  border: 1px solid rgba(35, 172, 103, 0.24);
}

body:has(.form-step[data-step="3"].active) .form-message.error {
  display: block !important;
  color: #7F1D1D;
  background:
    radial-gradient(circle at top right, rgba(185, 28, 28, 0.08), transparent 13rem),
    linear-gradient(180deg, rgba(254, 242, 242, 0.94), rgba(254, 226, 226, 0.74));
  border: 1px solid rgba(185, 28, 28, 0.24);
}

@media (max-width: 760px) {
  body:has(.form-step[data-step="3"].active) .form-message {
    width: 100%;
    padding: 0.85rem 0.95rem;
    font-size: 0.86rem;
    text-align: left;
  }
}


/* ==========================================================================
   SITE CONTABILIZA ALIGNMENT - espacamento diagnostico inicial S5.3
   Ajusta respiro do badge "Diagnostico inicial" na tela final
   ========================================================================== */

body:has(.form-step[data-step="3"].active) .form-step[data-step="3"].active {
  padding-top: 1.35rem;
}

body:has(.form-step[data-step="3"].active) .form-step[data-step="3"].active legend {
  margin: 0 0 1.25rem;
}

body:has(.form-step[data-step="3"].active) .locked-report-shell {
  margin-top: 0;
}

/* Mantem o badge alinhado com o card em telas grandes */
@media (min-width: 761px) {
  body:has(.form-step[data-step="3"].active) .form-step[data-step="3"].active legend {
    margin-left: 0.1rem;
  }
}

@media (max-width: 760px) {
  body:has(.form-step[data-step="3"].active) .form-step[data-step="3"].active {
    padding-top: 1rem;
  }

  body:has(.form-step[data-step="3"].active) .form-step[data-step="3"].active legend {
    margin-bottom: 1rem;
  }
}


/* ==========================================================================
   SITE CONTABILIZA ALIGNMENT - respiro resultado final S5.4
   Aumenta o respiro entre stepper, badge e relatorio final
   ========================================================================== */

body:has(.form-step[data-step="3"].active) .form-step[data-step="3"].active {
  margin-top: 1.85rem !important;
  padding-top: 0 !important;
}

body:has(.form-step[data-step="3"].active) .form-step[data-step="3"].active legend {
  margin: 0 0 1.55rem 0.1rem !important;
}

body:has(.form-step[data-step="3"].active) .locked-report-shell {
  margin-top: 0 !important;
}

/* Em desktop, da uma leitura mais clara de inicio de secao */
@media (min-width: 761px) {
  body:has(.form-step[data-step="3"].active) .form-step[data-step="3"].active {
    margin-top: 2.1rem !important;
  }
}

/* Em mobile, evita respiro excessivo */
@media (max-width: 760px) {
  body:has(.form-step[data-step="3"].active) .form-step[data-step="3"].active {
    margin-top: 1.25rem !important;
  }

  body:has(.form-step[data-step="3"].active) .form-step[data-step="3"].active legend {
    margin-bottom: 1.15rem !important;
  }
}

/* ==========================================================================
   SITE CONTABILIZA - consentimento registrado na etapa 2
   Mantem aceite obrigatorio na etapa 1 e evita repetir o checkbox depois.
   ========================================================================== */

.consent-registered.consent-registered--final {
  display: none;
  align-items: center;
  gap: 0.85rem;
  margin: 1.45rem 0 0;
  padding: 1rem 1.08rem;
  border-radius: 1.1rem;
  background:
    radial-gradient(circle at top right, rgba(35, 172, 103, 0.08), transparent 12rem),
    rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(35, 172, 103, 0.22);
  box-shadow: 0 12px 30px rgba(11, 31, 68, 0.055);
  color: var(--navy);
}

.consent-registered.consent-registered--final::before {
  content: "";
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(35, 172, 103, 0.95), rgba(15, 81, 50, 0.95));
  box-shadow: 0 8px 18px rgba(35, 172, 103, 0.22);
}

.consent-registered.consent-registered--final strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 900;
  color: #0F5132;
}

.consent-registered.consent-registered--final span {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(11, 31, 68, 0.78);
}

form:has(.form-step[data-step="2"].active) .consent-check--final {
  display: none !important;
}

form:has(.form-step[data-step="2"].active) .consent-registered--final {
  display: flex;
}

form:has(.form-step[data-step="3"].active) .consent-registered--final {
  display: none !important;
}

@media (max-width: 760px) {
  .consent-registered.consent-registered--final {
    align-items: flex-start;
    margin-top: 1.2rem;
    padding: 0.95rem;
  }
}
