/* Landing Econometria Fácil: cores do manual (3.6), Barlow Condensed no lugar da DIN Condensed e Montserrat (auxiliar). */
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url("fonts/barlow-condensed-latin-600-normal.16cc9e59e14c.woff2") format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url("fonts/barlow-condensed-latin-700-normal.936740600377.woff2") format('woff2'); }
@font-face { font-family: 'Montserrat'; font-weight: 100 900; font-display: swap; src: url("fonts/montserrat-latin-wght-normal.057478083c1d.woff2") format('woff2'); }

:root {
  --ef-blue: #0442ae; --ef-indigo: #3e28ae; --ef-purple: #770eae; --ef-gray: #444;
  --ef-ink: #17123a; --ef-night: #0e0a2b; --ef-lav: #f4f2fb; --ef-lilac: #cdbfff; --ef-muted: #55526b;
  --ef-grad: linear-gradient(180deg, var(--ef-blue) 0%, var(--ef-indigo) 52%, var(--ef-purple) 100%);
  --ef-grad-x: linear-gradient(100deg, var(--ef-blue) 0%, var(--ef-indigo) 50%, var(--ef-purple) 100%);
  --ef-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --ef-gutter: clamp(16px, 4vw, 56px); --ef-max: 1280px;
  --ef-ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: #b9acf0 var(--ef-lav); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.ef {
  margin: 0; background: #fff; color: var(--ef-gray);
  font: 400 1.0625rem/1.7 'Montserrat', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; caret-color: var(--ef-purple);
}
.ef ::selection { background: var(--ef-indigo); color: #fff; }
:where(.ef) :is(img, svg) { display: block; max-width: 100%; }
:where(.ef) :is(h1, h2, h3, p, ul, figure) { margin: 0; }
:where(.ef) ul { padding: 0; list-style: none; }
:where(.ef) a { color: inherit; text-underline-offset: .24em; text-decoration-thickness: 2px; }
.ef :focus-visible { outline: 3px solid var(--ef-lilac); outline-offset: 3px; border-radius: 8px; }
.ef-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.ef-main { overflow-x: clip; width: 100%; }
.ef-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ef-skip { position: fixed; left: 16px; top: -80px; z-index: 60; padding: 12px 18px; border-radius: 12px; background: var(--ef-indigo); color: #fff; font-weight: 700; }
.ef-skip:focus { top: 16px; }
.ef-h2 { font: 700 clamp(2.4rem, 4.6vw, 4.25rem)/1 var(--ef-display); letter-spacing: -.01em; color: var(--ef-ink); text-wrap: balance; }

/* Botões: alvo de 48 px ou mais; texto sempre com contraste alto */
.ef-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 0 26px; border-radius: 999px; border: 0; text-decoration: none;
  font: 700 1rem/1 'Montserrat', system-ui, sans-serif; letter-spacing: .005em;
  transition: transform .3s var(--ef-ease), box-shadow .3s var(--ef-ease), background-color .3s var(--ef-ease);
}
.ef-btn__arrow { width: 18px; height: 18px; transition: transform .3s var(--ef-ease); }
.ef-btn:hover { transform: translateY(-2px); }
.ef-btn:hover .ef-btn__arrow { transform: translateX(3px); }
.ef-btn:active { transform: translateY(0) scale(.98); }
.ef-btn--light { background: #fff; color: var(--ef-indigo); box-shadow: 0 16px 34px -18px rgba(9, 4, 50, .7); }
.ef-btn--light:hover { box-shadow: 0 22px 40px -18px rgba(9, 4, 50, .8); }
.ef-btn--grad { background: var(--ef-grad-x); color: #fff; box-shadow: 0 12px 26px -14px rgba(62, 40, 174, .8); }
.ef-btn--sm { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.ef-btn--lg { min-height: 58px; padding: 0 32px; font-size: 1.0625rem; }
.ef-btn--block { width: 100%; }
.ef-link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 6px; color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); }
.ef-link:hover { text-decoration-color: #fff; }
.ef-link--dark { color: var(--ef-indigo); text-decoration-color: rgba(62, 40, 174, .35); }
.ef-link--dark:hover { text-decoration-color: var(--ef-indigo); }

/* Menu: pílula branca flutuante */
.ef-nav { position: fixed; inset: 14px 0 auto; z-index: 40; padding: 0 var(--ef-gutter); pointer-events: none; }
.ef-nav__bar {
  pointer-events: auto; max-width: 1180px; margin: 0 auto; height: 64px; padding: 0 10px 0 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(255, 255, 255, .96); border-radius: 999px;
  box-shadow: 0 10px 30px -18px rgba(9, 4, 50, .55); transition: box-shadow .4s var(--ef-ease);
}
.ef-nav.is-scrolled .ef-nav__bar { box-shadow: 0 18px 40px -20px rgba(9, 4, 50, .55); }
.ef-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.ef-brand__mark { width: 40px; height: auto; }
.ef-brand--light .ef-brand__mark { fill: #fff; }
.ef-brand__word { width: 148px; height: auto; }
.ef-nav__links { display: flex; align-items: center; gap: 4px; }
.ef-nav__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; color: var(--ef-ink); font-weight: 600; font-size: .9375rem; text-decoration: none; transition: background-color .2s; }
.ef-nav__link:hover { background: var(--ef-lav); }

/* Celular: a ação principal desce para a zona do polegar depois do topo */
.ef-dock { display: none; }
@media (max-width: 860px) {
  .ef-hide-sm { display: none !important; }
  .ef-nav { inset: 10px 0 auto; }
  .ef-nav__bar { height: 56px; padding: 0 16px; }
  .ef-brand__mark { width: 34px; }
  .ef-brand__word { width: 128px; }
  .ef-dock {
    display: block; position: fixed; inset: auto 0 0; z-index: 45;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); box-shadow: 0 -12px 30px -20px rgba(9, 4, 50, .5);
    transform: translateY(110%); transition: transform .45s var(--ef-ease); visibility: hidden;
  }
  .ef-dock.is-visible { transform: translateY(0); visibility: visible; }
}
