/* =====================================================================
   Criteria Financial Group — Simulador de Aposentadoria
   Editorial broadsheet · v1
   ===================================================================== */

/* ------------------------------------------------------------------
   1. Brand font · TT Hoves Pro Trial
   ------------------------------------------------------------------ */
@font-face {
  font-family: "TT Hoves";
  src: url("assets/fonts/TTHoves-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TT Hoves";
  src: url("assets/fonts/TTHoves-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TT Hoves";
  src: url("assets/fonts/TTHoves-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "TT Hoves";
  src: url("assets/fonts/TTHoves-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TT Hoves";
  src: url("assets/fonts/TTHoves-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "TT Hoves";
  src: url("assets/fonts/TTHoves-DemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TT Hoves";
  src: url("assets/fonts/TTHoves-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------------
   2. Design tokens
   ------------------------------------------------------------------ */
:root {
  /* Brand */
  --ink: #0E1F33;
  --ink-soft: #122940;
  --ink-700: #1B3554;
  --accent: #1471A0;
  --accent-700: #0F5E87;
  --mute: #6B6F76;
  --paper: #FFFFFF;
  --paper-soft: #FAFAF6; /* warm cream — only 1% off white */
  --paper-warm: #F2EFE8; /* cream chip */
  --hair: rgba(18, 41, 64, 0.12);
  --hair-strong: rgba(18, 41, 64, 0.25);
  --hair-faint: rgba(18, 41, 64, 0.06);
  --signal: #B8480E; /* warm rust accent — used very sparingly */

  /* Type */
  --font: "TT Hoves", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --gutter: clamp(20px, 4vw, 56px);
  --container: 1280px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ------------------------------------------------------------------
   3. Reset & base
   ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern";
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea, button { font: inherit; color: inherit; }
fieldset { border: 0; padding: 0; margin: 0; }
ul, ol { padding: 0; margin: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--paper); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------------
   4. Container & utilities
   ------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.tabular { font-variant-numeric: tabular-nums lining-nums; }

/* ------------------------------------------------------------------
   5. Type system
   ------------------------------------------------------------------ */
.kicker {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  font-feature-settings: "tnum";
}
.kicker--accent { color: var(--accent); }
.kicker--mute { color: var(--mute); font-weight: 500; }

.display {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  margin: 0;
  font-size: clamp(2rem, 1rem + 4.5vw, 4.75rem);
  text-wrap: pretty;
  overflow-wrap: break-word;
  hyphens: none;
}
@media (min-width: 480px) { .display { line-height: 0.98; } }
.display em {
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
}
.display .accent { color: var(--accent); font-style: italic; font-weight: 500; }

.h2 {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--ink);
  margin: 0;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem);
}
.h2 em { font-style: italic; font-weight: 500; }

.h3 {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}
.h4 {
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.012em;
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 0;
}

.lede {
  font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.25rem);
  line-height: 1.5;
  color: var(--ink);
  font-weight: 400;
  max-width: 56ch;
  margin: 0;
}

/* Numeral as protagonist */
.numeral {
  font-family: var(--font);
  font-weight: 500;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.045em;
  line-height: 0.85;
  color: var(--ink);
  font-feature-settings: "tnum", "ss01";
}
.numeral--xl { font-size: clamp(5rem, 4rem + 8vw, 11rem); }
.numeral--lg { font-size: clamp(3rem, 2.2rem + 4vw, 5.5rem); }
.numeral--md { font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem); }

/* ------------------------------------------------------------------
   6. Page chrome — top bar + header
   ------------------------------------------------------------------ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--hair);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 88px;
}
@media (min-width: 720px) { .header__inner { height: 104px; gap: 24px; } }
.header__logo {
  display: inline-flex;
  align-items: center;
  height: 36px;
}
@media (min-width: 720px) { .header__logo { height: 47px; } }
.header__logo img { height: 100%; width: auto; }

.header__nav {
  display: none;
  gap: 36px;
}
.header__nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}
.header__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  transition: right 0.4s var(--ease-out);
}
.header__nav a:hover::after { right: 0; }
@media (min-width: 960px) { .header__nav { display: flex; } }

/* ------------------------------------------------------------------
   7. Buttons & links
   ------------------------------------------------------------------ */
/* ---- Liquid Glass buttons ----
   Pill-radius + backdrop-blurred translucent surface with a subtle
   top highlight, crisp inner edge, soft outer shadow, and a specular
   sheen that drifts across on hover. */
.btn {
  --bg: linear-gradient(180deg, rgba(30, 60, 92, 0.92), rgba(14, 33, 54, 0.94));
  --fg: var(--paper);
  --br: rgba(255, 255, 255, 0.08);
  --shadow: 0 12px 28px -10px rgba(18, 41, 64, 0.45),
            0 2px 6px -2px rgba(18, 41, 64, 0.22);
  --inner: inset 0 1px 0 rgba(255, 255, 255, 0.22),
           inset 0 -1px 0 rgba(0, 0, 0, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: -0.005em;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--br);
  box-shadow: var(--shadow), var(--inner);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out),
              background 0.3s var(--ease),
              color 0.3s var(--ease),
              border-color 0.3s var(--ease);
}
/* Specular sheen — diagonal highlight that drifts on hover */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    transparent 28%,
    rgba(255, 255, 255, 0.14) 46%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0.14) 54%,
    transparent 72%
  );
  transform: translateX(-110%);
  transition: transform 0.9s var(--ease-out);
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
}
/* Glossy crown — soft radial bloom near the top edge */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    120% 80% at 50% -20%,
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0) 60%
  );
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
  transition: opacity 0.4s var(--ease);
}
.btn > * { position: relative; z-index: 2; }

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px -12px rgba(18, 41, 64, 0.5),
              0 4px 10px -2px rgba(18, 41, 64, 0.25),
              inset 0 1px 0 rgba(255, 255, 255, 0.28),
              inset 0 -1px 0 rgba(0, 0, 0, 0.18);
}
.btn:hover::before { transform: translateX(110%); }
.btn:hover::after { opacity: 1; }
.btn:active {
  transform: translateY(0);
  transition-duration: 0.1s;
}

.btn__arrow {
  display: inline-block;
  transition: transform 0.4s var(--ease-out);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--sm { height: 42px; padding: 0 22px; font-size: 0.8125rem; }
.btn--lg { height: 62px; padding: 0 32px; font-size: 1rem; }

/* Ghost — frosted clear pane on light backgrounds */
.btn--ghost {
  --bg: rgba(255, 255, 255, 0.55);
  --fg: var(--ink);
  --br: rgba(18, 41, 64, 0.14);
  --shadow: 0 8px 22px -10px rgba(18, 41, 64, 0.18),
            0 1px 3px -1px rgba(18, 41, 64, 0.08);
  --inner: inset 0 1px 0 rgba(255, 255, 255, 0.7),
           inset 0 -1px 0 rgba(18, 41, 64, 0.04);
}
.btn--ghost::after {
  background: radial-gradient(
    120% 80% at 50% -20%,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0) 65%
  );
}
.btn--ghost::before {
  background: linear-gradient(
    115deg,
    transparent 28%,
    rgba(18, 41, 64, 0.04) 46%,
    rgba(18, 41, 64, 0.08) 50%,
    rgba(18, 41, 64, 0.04) 54%,
    transparent 72%
  );
  mix-blend-mode: normal;
}
.btn--ghost:hover { --br: rgba(18, 41, 64, 0.32); }

/* Invert — translucent paper on dark spread */
.btn--invert {
  --bg: rgba(248, 241, 231, 0.14);
  --fg: var(--paper);
  --br: rgba(255, 255, 255, 0.28);
  --shadow: 0 10px 28px -10px rgba(0, 0, 0, 0.5),
            0 2px 6px -2px rgba(0, 0, 0, 0.3);
  --inner: inset 0 1px 0 rgba(255, 255, 255, 0.4),
           inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}
.btn--invert:hover {
  --bg: rgba(248, 241, 231, 0.22);
  --br: rgba(255, 255, 255, 0.4);
}

.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .btn, .btn::before, .btn::after { transition: none; }
  .btn:hover { transform: none; }
}

.link {
  position: relative;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--hair-strong);
  transition: text-decoration-color 0.25s var(--ease);
}
.link:hover { text-decoration-color: var(--ink); }

/* ------------------------------------------------------------------
   8. Section frame
   ------------------------------------------------------------------ */
.section {
  padding: clamp(72px, 8vw, 144px) 0;
  position: relative;
}
.section--alt { background: var(--paper-soft); }
.section--invert {
  background: var(--ink);
  color: var(--paper);
}

/* Editorial section header — number + title on a hairline strip */
.section__strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--hair);
  margin-bottom: clamp(48px, 6vw, 88px);
}
.section--invert .section__strip { border-bottom-color: rgba(255,255,255,0.18); }
.section__num {
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  font-variant-numeric: tabular-nums;
  color: var(--mute);
  text-transform: uppercase;
}
.section--invert .section__num { color: rgba(255,255,255,0.55); }
.section__strip-title {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.section--invert .section__strip-title { color: var(--paper); }
.section__meta {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--mute);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.section--invert .section__meta { color: rgba(255,255,255,0.55); }

/* ------------------------------------------------------------------
   9. HERO — editorial spread
   ------------------------------------------------------------------ */
.hero {
  padding: clamp(56px, 7vw, 112px) 0 clamp(64px, 7vw, 120px);
  position: relative;
}
.hero__masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  border-bottom: 1px solid var(--hair);
  padding-bottom: 16px;
  margin-bottom: clamp(40px, 5vw, 72px);
  font-variant-numeric: tabular-nums;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(48px, 5vw, 80px);
  align-items: end;
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
}
.hero__title {
  display: block;
}
.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
}
.hero__title .accent {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
}
.hero__lede {
  margin: clamp(28px, 3vw, 40px) 0 0;
  max-width: 48ch;
  color: var(--ink);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(32px, 3vw, 44px);
}

/* Specimen card on the right side of hero — editorial preview of the result */
.specimen {
  position: relative;
  padding: 28px;
  border: 1px solid var(--hair);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.specimen::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 24px; height: 1px;
  background: var(--ink);
}
.specimen::after {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 1px; height: 24px;
  background: var(--ink);
}
.specimen__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  font-variant-numeric: tabular-nums;
}
.specimen__row {
  display: grid;
  grid-template-columns: 1fr;
  align-items: baseline;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--hair);
}
.specimen__row:first-of-type { border-top: 0; padding-top: 0; }
.specimen__num {
  font-weight: 500;
  font-variant-numeric: tabular-nums lining-nums;
  font-size: clamp(2.25rem, 1.5rem + 2.5vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
}
.specimen__num small {
  font-size: 0.5em;
  font-weight: 500;
  color: var(--mute);
  margin-left: 6px;
  letter-spacing: 0;
}
.specimen__cap {
  font-size: 0.8125rem;
  color: var(--mute);
  letter-spacing: 0.01em;
}
.specimen__foot {
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--hair);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--mute);
  font-style: italic;
}

.hero__strip {
  margin-top: clamp(56px, 6vw, 88px);
  padding-top: 24px;
  border-top: 1px solid var(--hair);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 56px);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--mute);
  font-variant-numeric: tabular-nums;
}
.hero__strip span { display: inline-flex; align-items: center; gap: 8px; }
.hero__strip span::before {
  content: "·";
  color: var(--accent);
  font-weight: 700;
}
.hero__strip span:first-child::before { display: none; }

/* ------------------------------------------------------------------
   10. Editorial benefit list (Section 01)
   ------------------------------------------------------------------ */
.section__head-editorial {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: clamp(48px, 5vw, 80px);
}
@media (min-width: 880px) {
  .section__head-editorial {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: end;
    gap: clamp(40px, 5vw, 96px);
  }
}
.section__head-editorial .lede { max-width: 44ch; }

.itemized {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--hair);
}
@media (min-width: 720px) {
  .itemized { grid-template-columns: 1fr 1fr; }
}
.itemized__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--hair);
  position: relative;
}
@media (min-width: 720px) {
  .itemized__item:nth-child(odd) { padding-right: clamp(24px, 3vw, 56px); border-right: 1px solid var(--hair); }
  .itemized__item:nth-child(even) { padding-left: clamp(24px, 3vw, 56px); }
}
.itemized__num {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--mute);
  font-variant-numeric: tabular-nums;
  padding-top: 6px;
}
.itemized__body h3 {
  font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.375rem);
  font-weight: 500;
  letter-spacing: -0.012em;
  margin: 0 0 8px;
  color: var(--ink);
  line-height: 1.2;
}
.itemized__body p {
  margin: 0;
  color: var(--mute);
  font-size: 0.9375rem;
  line-height: 1.55;
  max-width: 38ch;
}

/* ------------------------------------------------------------------
   11. Simulator — form + result (Section 02 + 03)
   ------------------------------------------------------------------ */
.sim {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  gap: 48px;
}
@media (min-width: 1100px) {
  .sim--with-result {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    justify-content: stretch;
    gap: clamp(32px, 4vw, 64px);
  }
}

/* Modo focado: aplicado quando a simulação é gerada. O formulário some e o
   resultado ocupa toda a largura — a página vira uma "visualização do
   resultado" centrada no gráfico + CTA. */
.sim--focused {
  grid-template-columns: minmax(0, 1100px) !important;
  justify-content: center;
  gap: 0;
}
.sim--focused .sim__form { display: none; }

.sim__form,
.sim__result {
  background: var(--paper);
  border: 1px solid var(--hair);
  padding: clamp(28px, 4vw, 48px);
  position: relative;
}

/* Editorial corner marks on cards */
.sim__form::before, .sim__result::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 28px; height: 1px;
  background: var(--ink);
}
.sim__form::after, .sim__result::after {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 1px; height: 28px;
  background: var(--ink);
}

.sim__formhead, .result__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hair);
  margin-bottom: 32px;
}
.sim__formhead-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.sim__formhead-meta {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--mute);
  font-variant-numeric: tabular-nums;
}

.sim__fieldset { margin-bottom: 32px; }
.sim__fieldset:last-of-type { margin-bottom: 24px; }
.sim__fieldset legend {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  padding: 0;
}

.field { margin-bottom: 22px; position: relative; }
.field:last-child { margin-bottom: 0; }
.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 22px;
}
@media (min-width: 600px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}
.field-row .field { margin-bottom: 0; }

.field label,
.field > legend {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}

/* Editorial input — underline only, no rounded box */
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field select {
  width: 100%;
  height: 44px;
  padding: 0 0 6px;
  border: 0;
  border-bottom: 1px solid var(--hair-strong);
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0;
  transition: border-color 0.25s var(--ease);
  font-variant-numeric: tabular-nums;
}
.field input:focus,
.field select:focus {
  outline: 0;
  border-bottom-color: var(--ink);
}
.field input::placeholder { color: rgba(11, 31, 51, 0.3); }

/* Native select reset to match the editorial underline aesthetic */
.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 24px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5l5 5 5-5' stroke='%230E1F33' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 2px center;
  cursor: pointer;
}
.field select:invalid,
.field select option[value=""] { color: rgba(11, 31, 51, 0.3); }
.field--error select { border-bottom-color: var(--signal); }

.field__prefix {
  position: relative;
  display: flex;
  align-items: center;
}
.field__prefix span {
  position: absolute;
  left: 0;
  bottom: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mute);
  pointer-events: none;
  letter-spacing: 0.04em;
}
/* Especificidade reforçada: a regra base `.field input[type="text"]`
   tem specificity (0,2,1) e usa shorthand `padding: 0 0 6px` (que zera o
   padding-left), por isso precisamos vencê-la para preservar o espaço do "R$". */
.field .field__prefix input[type="text"],
.field .field__prefix input[type="number"],
.field .field__prefix input[type="tel"] {
  padding-left: 28px;
}

.field__error {
  display: none;
  font-size: 0.75rem;
  color: var(--signal);
  margin-top: 6px;
  letter-spacing: 0.02em;
}
.field--error .field__error { display: block; }
.field--error input { border-bottom-color: var(--signal); }

/* Risk profile selector — editorial tabs */
.risk {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--hair);
}
@media (min-width: 600px) {
  .risk { grid-template-columns: repeat(3, 1fr); }
}
.risk__opt { display: block; cursor: pointer; }
.risk__opt input { position: absolute; opacity: 0; pointer-events: none; }
.risk__inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  height: 100%;
  border-bottom: 1px solid var(--hair);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
  position: relative;
}
@media (min-width: 600px) {
  .risk__inner { border-bottom: 0; border-right: 1px solid var(--hair); }
  .risk__opt:last-child .risk__inner { border-right: 0; }
}
.risk__opt:last-child .risk__inner { border-bottom: 0; }
.risk__title {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.risk__title small {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--mute);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.risk__desc {
  font-size: 0.75rem;
  color: var(--mute);
  line-height: 1.45;
}
.risk__opt input:checked + .risk__inner {
  background: var(--ink);
  color: var(--paper);
}
.risk__opt input:checked + .risk__inner .risk__desc,
.risk__opt input:checked + .risk__inner .risk__title small {
  color: rgba(255,255,255,0.7);
}
.risk__opt:hover input:not(:checked) + .risk__inner { background: var(--paper-soft); }

/* Consent */
.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin: 28px 0 24px;
  padding: 18px 20px;
  border: 1px solid var(--hair);
  font-size: 0.8125rem;
  color: var(--mute);
  line-height: 1.5;
  cursor: pointer;
  transition: border-color 0.25s var(--ease);
}
.consent:hover { border-color: var(--hair-strong); }
.consent input {
  margin-top: 3px;
  width: 16px; height: 16px;
  accent-color: var(--ink);
}
.consent.field--error { border-color: var(--signal); color: var(--signal); }

.sim__submit {
  width: 100%;
  position: relative;
}
.sim__submit .btn__loading {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
}
.sim__submit .btn__loading svg { width: 22px; height: 22px; animation: spin 0.9s linear infinite; }
.sim__submit[data-loading="true"] .btn__label,
.sim__submit[data-loading="true"] .btn__arrow { visibility: hidden; }
.sim__submit[data-loading="true"] .btn__loading { display: flex; }
@keyframes spin { to { transform: rotate(360deg); } }

.sim__disclaimer {
  margin: 16px 0 0;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--mute);
  text-align: center;
  line-height: 1.55;
}

/* -------- Result (right side once submitted) -------- */
.sim__result {
  scroll-margin-top: 120px;
  animation: fadeUp 0.55s var(--ease-out);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.result__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

/* Container dos botões "Exportar PDF" + "Refazer simulação" no canto direito. */
.result__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}
.result__head .h3 { margin: 8px 0 0; }
.result__sub {
  margin: 8px 0 0;
  color: var(--mute);
  font-size: 0.875rem;
  letter-spacing: 0.01em;
}

/* Botão "↺ Refazer simulação" no canto do resultado — discreto. */
.result__redo {
  background: transparent;
  border: 1px solid var(--hair);
  color: var(--mute);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 8px 14px;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.result__redo span { margin-right: 4px; font-size: 0.875rem; }
.result__redo:hover { color: var(--ink); border-color: var(--hair-strong); }
.result__redo:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Variante do export — hover azul, e estado de loading com ícone girando. */
.result__redo--export:hover { color: var(--accent); border-color: var(--accent); }
.result__redo[data-loading="true"] { opacity: 0.6; pointer-events: none; }
.result__redo[data-loading="true"] span:first-child {
  display: inline-block;
  animation: spin 0.9s linear infinite;
}

/* KPI strip — magazine stat block */
.kpis {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--hair);
}
@media (min-width: 560px) { .kpis { grid-template-columns: 1fr 1fr; } }

.kpi {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px 0;
  border-bottom: 1px solid var(--hair);
}
@media (min-width: 560px) {
  .kpi:nth-child(odd) { padding-right: clamp(16px, 2vw, 28px); border-right: 1px solid var(--hair); }
  .kpi:nth-child(even) { padding-left: clamp(16px, 2vw, 28px); }
}

/* Variante "strip" — 4 KPIs em linha no modo focado (resumo abaixo do gráfico). */
.kpis--strip {
  margin-top: 24px;
  border-top: 1px solid var(--hair);
}
@media (min-width: 880px) {
  .kpis--strip { grid-template-columns: repeat(4, 1fr); }
  .kpis--strip .kpi { padding: 22px 0; border-bottom: 0; }
  .kpis--strip .kpi:not(:first-child) {
    padding-left: clamp(16px, 2vw, 28px);
    border-left: 1px solid var(--hair);
    border-right: 0;
  }
  .kpis--strip .kpi:not(:last-child) { padding-right: clamp(16px, 2vw, 28px); }
  .kpis--strip .kpi:nth-child(odd),
  .kpis--strip .kpi:nth-child(even) { border-right: 0; }
  .kpis--strip .kpi__value { font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.875rem); }
}
.kpi__label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.kpi__value {
  font-weight: 500;
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums lining-nums;
  margin-top: 4px;
}
.kpi__hint {
  font-size: 0.75rem;
  color: var(--mute);
  letter-spacing: 0.01em;
  margin-top: 6px;
  font-style: italic;
  font-weight: 400;
}
.kpi--accent .kpi__value { color: var(--accent); }
.kpi--accent .kpi__hint::before {
  content: "→ ";
  font-style: normal;
  color: var(--accent);
}

/* Chart — Bloomberg/FT style */
.chart {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
}
.chart__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.chart__title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.chart__title small {
  font-weight: 500;
  color: var(--mute);
  letter-spacing: 0.06em;
}
.chart__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.75rem;
  color: var(--mute);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.legend { display: inline-flex; align-items: center; gap: 8px; }
.legend__sw {
  display: inline-block;
  width: 18px;
  height: 2px;
}
.legend__sw--ideal { background: var(--ink); }
.legend__sw--current {
  background: transparent;
  height: 0;
  border-top: 1px dashed var(--mute);
  position: relative;
  top: -1px;
}
.legend__sw--target { background: var(--accent); height: 1px; }

.chart__canvas {
  width: 100%;
  background: var(--paper);
  min-height: 380px;
}
.chart__canvas svg { width: 100%; height: auto; display: block; }
.chart__canvas #resultChart { width: 100%; }

/* Carimbo "Gerado em DD MMM AAAA" no head do gráfico (substitui chart__foot). */
.chart__stamp {
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--mute);
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
}

.chart__foot {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--mute);
  font-variant-numeric: tabular-nums;
}

/* Result CTA */
.result__cta {
  margin-top: 32px;
  padding: 28px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  position: relative;
}
.result__cta::before, .result__cta::after {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  background: var(--paper);
}
.result__cta::before { width: 28px; height: 1px; }
.result__cta::after { width: 1px; height: 28px; }
@media (min-width: 720px) {
  .result__cta { grid-template-columns: 1fr auto; align-items: center; }
}
.result__cta .h4 { color: var(--paper); margin: 0 0 6px; }
.result__cta p {
  margin: 0;
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  line-height: 1.55;
  max-width: 50ch;
}

.result__disclaimer {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--hair);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--mute);
  font-style: italic;
  line-height: 1.55;
  text-align: center;
  max-width: 64ch;
  margin-left: auto;
  margin-right: auto;
}

/* ------------------------------------------------------------------
   12. DARK SPREAD — Authority section (Section 04)
   ------------------------------------------------------------------ */
.spread {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(48px, 5vw, 96px);
  align-items: start;
}
@media (min-width: 980px) {
  .spread { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
}

.spread__quote {
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.625rem, 1.1rem + 1.8vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin: 0 0 32px;
  max-width: 16ch;
  border-left: 1px solid rgba(255,255,255,0.3);
  padding-left: 24px;
}
.spread__quote::before { content: "“"; }
.spread__quote::after { content: "”"; }

.spread__copy p {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  margin: 0 0 16px;
  max-width: 56ch;
}
.spread__copy p strong { color: var(--paper); font-weight: 500; }

.spread__pillars {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.18);
}
@media (min-width: 600px) { .spread__pillars { grid-template-columns: 1fr 1fr; } }
.spread__pillars li {
  padding: 16px 0;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.78);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  display: flex;
  gap: 12px;
}
.spread__pillars li::before {
  content: counter(pillar, decimal-leading-zero);
  counter-increment: pillar;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  font-variant-numeric: tabular-nums;
  padding-top: 3px;
  flex-shrink: 0;
}
.spread__pillars { counter-reset: pillar; }
.spread__pillars li strong { color: var(--paper); font-weight: 500; }

/* Stats column */
.spread__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.spread__stat {
  padding: 28px 0;
  border-right: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding-right: 16px;
  padding-left: 0;
}
.spread__stat:nth-child(2n) { padding-left: 24px; padding-right: 0; border-right: 0; }
.spread__stat:nth-last-child(-n+2) { border-bottom: 0; }
.spread__stat-num {
  display: block;
  font-weight: 500;
  font-size: clamp(2.5rem, 1.6rem + 4vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--paper);
  font-variant-numeric: tabular-nums lining-nums;
}
.spread__stat-num small {
  font-size: 0.4em;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  margin-left: 6px;
  letter-spacing: 0;
}
.spread__stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
  font-style: italic;
}

/* ------------------------------------------------------------------
   13. Trust ticker (Section 05)
   ------------------------------------------------------------------ */
.section--trust {
  padding: clamp(40px, 4vw, 56px) 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  background: var(--paper-soft);
}
.ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 12px clamp(20px, 4vw, 56px);
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.ticker li { display: flex; align-items: center; gap: 12px; }
.ticker li::after {
  content: "·";
  color: var(--accent);
  font-weight: 700;
  margin-left: clamp(20px, 4vw, 56px);
}
.ticker li:last-child::after { display: none; }

/* ------------------------------------------------------------------
   14. FAQ (Section 06)
   ------------------------------------------------------------------ */
.faq {
  border-top: 1px solid var(--hair);
  counter-reset: q;
}
.faq__item {
  border-bottom: 1px solid var(--hair);
  counter-increment: q;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 56px 28px 64px;
  position: relative;
  font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.1875rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.3;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before {
  content: "Q." counter(q, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 30px;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--mute);
  font-variant-numeric: tabular-nums;
}
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
  line-height: 1;
}
.faq__item[open] summary::after {
  content: "−";
}
.faq__item p {
  margin: 0 0 28px 64px;
  padding-right: 56px;
  color: var(--mute);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 64ch;
}

/* ------------------------------------------------------------------
   15. Footer / Colophon
   ------------------------------------------------------------------ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.78);
  padding: clamp(72px, 8vw, 112px) 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
@media (min-width: 880px) {
  .footer__top { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; }
}
.footer__brand img { height: 56px; width: auto; margin-bottom: 24px; }
.footer__tagline {
  margin: 0;
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--paper);
  font-style: italic;
  font-weight: 500;
  max-width: 18ch;
}
.footer__cta {
  display: inline-flex;
  margin-top: 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding: 56px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
@media (min-width: 700px) { .footer__grid { grid-template-columns: repeat(3, 1fr); } }
.footer__col h5 {
  margin: 0 0 16px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col li, .footer__col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.25s var(--ease);
}
.footer__col a:hover { color: var(--paper); }

.footer__bottom {
  padding-top: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 880px) {
  .footer__bottom { grid-template-columns: 1.6fr 1fr; align-items: end; }
}
.footer__legal {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  max-width: 80ch;
}
.footer__copy {
  margin: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-align: left;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 880px) { .footer__copy { text-align: right; } }

/* ------------------------------------------------------------------
   15.b. Anamnese complementar (Section 03 · etapa 2)
   ------------------------------------------------------------------ */
/* A seção começa hidden; quando revelada via JS recebe data-visible="true"
   e expande com transição suave. */
.anamnese[data-visible="true"] { animation: anamneseReveal 0.6s var(--ease-out); }
@keyframes anamneseReveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.anamnese__form {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  gap: clamp(24px, 3vw, 36px);
  margin: 0 auto;
}
/* Garante que `hidden` não seja sobrescrito pela regra display:grid acima */
.anamnese__form[hidden] { display: none !important; }

.anamnese__block {
  background: var(--paper);
  border: 1px solid var(--hair);
  padding: clamp(28px, 4vw, 40px);
  position: relative;
}
.anamnese__block::before,
.anamnese__block::after {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  background: var(--ink);
}
.anamnese__block::before { width: 28px; height: 1px; }
.anamnese__block::after { width: 1px; height: 28px; }

.anamnese__blockhead {
  border-bottom: 1px solid var(--hair);
  padding-bottom: 20px;
  margin-bottom: 28px;
}
.anamnese__blockkicker {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.anamnese__blockhead .h4 { margin: 0 0 6px; color: var(--ink); }
.anamnese__hint {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--mute);
  max-width: 56ch;
}

.anamnese__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}
.anamnese__submit {
  width: 100%;
  position: relative;
}
.anamnese__submit .btn__loading {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
}
.anamnese__submit .btn__loading svg { width: 22px; height: 22px; animation: spin 0.9s linear infinite; }
.anamnese__submit[data-loading="true"] .btn__label,
.anamnese__submit[data-loading="true"] .btn__arrow { visibility: hidden; }
.anamnese__submit[data-loading="true"] .btn__loading { display: flex; }

.anamnese__skip {
  background: transparent;
  border: 0;
  color: var(--mute);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--hair-strong);
  cursor: pointer;
  padding: 8px 12px;
  transition: color 0.25s var(--ease), text-decoration-color 0.25s var(--ease);
}
.anamnese__skip:hover { color: var(--ink); text-decoration-color: var(--ink); }
.anamnese__skip:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.anamnese__thanks {
  text-align: center;
  padding: clamp(56px, 7vw, 96px) clamp(20px, 4vw, 48px);
  background: var(--paper);
  border: 1px solid var(--hair);
  position: relative;
  animation: fadeUp 0.55s var(--ease-out);
}
.anamnese__thanks::before,
.anamnese__thanks::after {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  background: var(--ink);
}
.anamnese__thanks::before { width: 28px; height: 1px; }
.anamnese__thanks::after { width: 1px; height: 28px; }
.anamnese__thanks h3 { margin: 14px 0 10px; }
.anamnese__thanks p {
  color: var(--mute);
  margin: 0 auto;
  max-width: 48ch;
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* Bloco de ações no agradecimento — "Falar com a Criteria" + "Exportar PDF". */
.anamnese__thanksActions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

/* ------------------------------------------------------------------
   15a. Transição entre Orçamento e Proteções
   Bloco editorial pós-submit do orçamento que prepara o lead para o
   passo seguinte. Tom de "quase lá" + alerta sobre proteções.
   ------------------------------------------------------------------ */
.transicao {
  margin: 56px auto;
  max-width: 760px;
  padding: 40px 44px;
  background: var(--paper-soft);
  border-left: 4px solid var(--accent);
  position: relative;
}
.transicao__kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.transicao__title {
  font-family: var(--font-serif, 'TT Hoves', sans-serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 14px;
}
.transicao__lede {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 24px;
  max-width: 60ch;
}
@media (max-width: 720px) {
  .transicao { padding: 28px 24px; margin: 40px auto; }
  .transicao__title { font-size: 1.25rem; }
}

/* ------------------------------------------------------------------
   15b. Intro do form Proteções
   Header persuasivo dentro do form, antes dos blocos Saúde/Vida/Patrimonial.
   ------------------------------------------------------------------ */
.protecoes__intro {
  margin: 0 0 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--hair);
}
.protecoes__intro .h4 {
  margin: 12px 0 10px;
  color: var(--ink);
}
.protecoes__intro p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--mute);
  margin: 0;
  max-width: 60ch;
}

/* ------------------------------------------------------------------
   16. Page-load stagger animation
   ------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(12px); }
.reveal--in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

/* ------------------------------------------------------------------
   17. Reduced motion
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
