/* =====================================================================
   GESTÃO EQUESTRE — Landing Page (teste copy)
   Mobile-first · Editorial "Programa Oficial"
   Paleta: #0B2A4A azul profundo · #00A8E8 azul elétrico ·
           #2B2E33 grafite · #F57C00 laranja âmbar · #FFFFFF
====================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --c-navy:        #0B2A4A;
  --c-navy-ink:    #06172A;
  --c-navy-deep:   #081E37;
  --c-navy-soft:   #123B68;
  --c-electric:    #00A8E8;
  --c-graphite:    #2B2E33;
  --c-amber:       #F57C00;
  --c-amber-deep:  #C15F00;
  --c-amber-soft:  #FFB366;

  /* Surfaces — papel editorial */
  --c-paper:       #F7F3EA;
  --c-paper-2:     #EFE9DA;
  --c-paper-3:     #E3DCC7;
  --c-white:       #FFFFFF;
  --c-line:        #D6CFBD;
  --c-line-soft:   #E7E1D1;

  /* Text */
  --c-ink:         #0B2A4A;
  --c-ink-soft:    #2B2E33;
  --c-muted:       #6C6A62;
  --c-muted-2:     #8E8B7E;
  --c-on-dark:     #EAEFF7;
  --c-on-dark-2:   #B6C2D3;
  --c-on-dark-3:   #8FA0B7;

  /* Semantic */
  --c-ok:          #2E7D57;
  --c-warn:        #C15F00;
  --c-info:        #00A8E8;
  --c-danger:      #B3261E;

  /* Type */
  --ff-display: "Fraunces", "Iowan Old Style", "Apple Garamond", Georgia, serif;
  --ff-ui:      "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Rhythm */
  --container: 1280px;
  --pad-x: max(5px, clamp(1rem, 4vw, 2.5rem));
  --section-pad-y: clamp(2.75rem, 6vw, 5.5rem);
  --radius-sm: 6px;
  --radius:   10px;
  --radius-lg: 18px;

  /* Shadows — silenciosas */
  --shadow-s: 0 1px 2px rgba(11,42,74,.08);
  --shadow-m: 0 10px 30px -18px rgba(11,42,74,.35), 0 2px 6px rgba(11,42,74,.06);
  --shadow-l: 0 30px 60px -32px rgba(11,42,74,.40), 0 6px 12px rgba(11,42,74,.08);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
/* scroll-behavior: auto — a rolagem suave das âncoras é feita via JS (easeInOutCubic).
   ROLLBACK: voltar para `scroll-behavior: smooth` se o bloco JS de easing for removido. */
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
  /* Bloqueia overflow horizontal já na raiz — no mobile, qualquer elemento
     filho que estoure 100vw deixa de criar "coluna vazia" ao lado do corpo. */
  overflow-x: hidden;
  max-width: 100%;
}
body {
  margin: 0;
  font-family: var(--ff-ui);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink-soft);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}
img, svg { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--c-amber); color: var(--c-navy-ink); }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- 3. Type base ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--ff-display);
  font-weight: 500;
  color: var(--c-navy);
  letter-spacing: -0.012em;
  margin: 0 0 0.5em;
  line-height: 1.1;
  font-variation-settings: "opsz" 90, "SOFT" 20, "WONK" 0;
}
h1 em, h2 em, h3 em, h4 em {
  font-style: italic;
  font-variation-settings: "opsz" 100, "SOFT" 60, "WONK" 1;
}
p { margin: 0 0 1em; }

/* ---------- 4. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left:  var(--pad-x);
  padding-right: var(--pad-x);
}

/* ---------- 5. Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  font-family: var(--ff-ui);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin: 0 0 1.1rem;
}
.eyebrow--light { color: rgba(255,255,255,.7); }
.eyebrow__mark {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  padding: 4px 8px;
  border: 1px solid var(--c-line);
  border-radius: 2px;
  color: var(--c-ink);
  letter-spacing: 0.02em;
  text-transform: none;
  background: var(--c-white);
}
.eyebrow--light .eyebrow__mark {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
  color: #fff;
}

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--ff-ui);
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .25s var(--ease),
              background-color .25s var(--ease),
              color .25s var(--ease),
              box-shadow .25s var(--ease),
              border-color .25s var(--ease);
}
.btn--primary {
  background: var(--c-amber);
  color: var(--c-navy-ink);
  box-shadow: 0 10px 26px -14px rgba(245,124,0,.65), inset 0 -2px 0 rgba(0,0,0,.12);
}
.btn--primary:hover { background: #FF8B0A; transform: translateY(-1px); }
.btn--primary:disabled { background: #C9C3B2; color: #6C6A62; box-shadow: none; cursor: wait; transform: none; }
.btn--ghost { background: transparent; color: var(--c-navy); border-color: var(--c-navy); }
.btn--ghost:hover { background: var(--c-navy); color: var(--c-white); }
.btn--lg  { padding: 1rem 1.6rem; font-size: 0.98rem; }
.btn--sm  { padding: 0.55rem 0.9rem; font-size: 0.86rem; }
.btn--full { width: 100%; }

.section--dark .btn--ghost,
.section--quote .btn--ghost,
.cta-final .btn--ghost {
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.section--dark .btn--ghost:hover,
.section--quote .btn--ghost:hover,
.cta-final .btn--ghost:hover {
  background: #fff;
  color: var(--c-navy);
}

/* ---------- 7. Announcement ---------- */
.announcement {
  background: var(--c-navy-ink);
  color: var(--c-on-dark);
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.announcement__wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 0;
  justify-content: center;
  text-align: center;
  line-height: 1.35;
  min-height: 34px;
}
.announcement__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #3FD37A;
  box-shadow: 0 0 0 3px rgba(63,211,122,.18);
  animation: pulseGreen 2.4s var(--ease) infinite;
  flex: 0 0 auto;
}
@keyframes pulseGreen {
  0%   { box-shadow: 0 0 0 0 rgba(63,211,122,.55); }
  70%  { box-shadow: 0 0 0 10px rgba(63,211,122,0); }
  100% { box-shadow: 0 0 0 0 rgba(63,211,122,0); }
}
.announcement__text {
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.announcement__text strong {
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}
.announcement__text span {
  color: var(--c-on-dark-2);
  display: none;            /* mobile: esconde detalhe para ficar em 1 linha */
}
.announcement__link {
  color: var(--c-electric);
  font-weight: 600;
  font-size: 0.78rem;
  white-space: nowrap;
  display: none;            /* mobile: esconde o link para não brigar com o texto */
}
.announcement__link:hover { color: #7BD5FF; }

/* ---------- 8. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,243,234,0.92);
  backdrop-filter: saturate(1.15) blur(10px);
  -webkit-backdrop-filter: saturate(1.15) blur(10px);
  border-bottom: 1px solid var(--c-line-soft);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(247,243,234,0.98);
  box-shadow: var(--shadow-s);
}
.site-header__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; min-width: 0; }
.brand__crop {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  height: 44px;
  overflow: hidden;
}
.brand__logo {
  height: 80px;              /* maior que o crop: overflow recorta top/bottom transparentes */
  width: auto;
  max-width: none;
  display: block;
}

.nav { display: none; }
.nav__list { display: flex; gap: 1.6rem; }
.nav__link {
  position: relative;
  font-weight: 500;
  color: var(--c-ink);
  padding: 6px 0;
  font-size: 0.92rem;
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--c-amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }

.site-header__actions { display: flex; align-items: center; gap: 0.75rem; }
.site-header .btn--header { display: none; }

.menu-toggle {
  display: inline-flex;
  width: 42px; height: 42px;
  border: 1px solid var(--c-line);
  background: transparent;
  border-radius: 8px;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.menu-toggle span {
  width: 18px; height: 1.5px;
  background: var(--c-ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px var(--pad-x) 20px;
  border-top: 1px solid var(--c-line-soft);
  background: var(--c-paper);
}
.mobile-menu[data-open="true"] { display: flex; }
.mobile-menu__link {
  padding: 12px 0;
  font-weight: 500;
  font-size: 1rem;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-line-soft);
}
.mobile-menu__cta { margin-top: 14px; }
.mobile-menu__cta--secondary { margin-top: 8px; }

/* ---------- 9. HERO ---------- */
.hero {
  position: relative;
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
  background:
    radial-gradient(1200px 620px at 110% -10%, rgba(0,168,232,.12), transparent 60%),
    radial-gradient(700px 420px at -10% 20%, rgba(11,42,74,.08), transparent 70%),
    var(--c-paper);
}
.hero__grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(11,42,74,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,42,74,.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 85%);
  pointer-events: none;
}
.hero__wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.hero__title {
  font-size: clamp(1.9rem, 7vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1.2rem;
  font-variation-settings: "opsz" 110, "SOFT" 30, "WONK" 0;
}
.hero__title em {
  font-variation-settings: "opsz" 120, "SOFT" 80, "WONK" 1;
}
.accent-underline {
  position: relative;
  white-space: nowrap;
}
.accent-underline::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%;
  bottom: 0.07em;
  height: 0.35em;
  background: var(--c-amber);
  opacity: .35;
  z-index: -1;
  border-radius: 2px;
  transform: skewY(-1deg);
}
.hero__sub {
  font-size: clamp(0.98rem, 2.2vw, 1.18rem);
  color: var(--c-ink-soft);
  max-width: 55ch;
  margin-bottom: 1.8rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.8rem;
}
.hero__actions .btn { flex: 1 1 auto; }
.hero__trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0.65rem 1rem;
  font-size: 0.84rem;
  color: var(--c-ink-soft);
  padding-top: 1rem;
  border-top: 1px solid var(--c-line);
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}
.hero__trust svg {
  width: 14px; height: 14px;
  color: var(--c-ok);
  flex: 0 0 auto;
}

/* Hero preview */
.hero__preview { position: relative; }
.panel {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-l);
  overflow: hidden;
}
.panel__titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--c-paper-2);
  padding: 10px 14px;
  border-bottom: 1px solid var(--c-line);
  font-size: 0.76rem;
  color: var(--c-muted);
  font-family: var(--ff-mono);
}
.panel__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #D6CFBD;
}
.panel__dot:nth-of-type(1) { background: #D9A38F; }
.panel__dot:nth-of-type(2) { background: #E3C07A; }
.panel__dot:nth-of-type(3) { background: #9CC9A5; }
.panel__title {
  margin-left: 8px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.panel__body { padding: 1rem 1.1rem 1.2rem; }
.panel__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
  margin-bottom: 1.1rem;
}
.metric {
  padding: 10px 12px;
  background: var(--c-paper);
  border: 1px solid var(--c-line-soft);
  border-radius: 10px;
}
.metric__label {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 4px;
}
.metric__value {
  display: block;
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--c-navy);
  font-variation-settings: "opsz" 80, "SOFT" 20;
}
.metric__value em {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--c-muted);
  font-weight: 400;
  font-family: var(--ff-ui);
  margin-left: 2px;
}
.metric__value--warn { color: var(--c-warn); }
.metric__delta {
  display: block;
  font-family: var(--ff-mono);
  font-size: 0.66rem;
  color: var(--c-muted);
  margin-top: 6px;
}
.metric__delta--up { color: var(--c-ok); }
.metric__delta--warn { color: var(--c-warn); }

.panel__live {
  background: var(--c-navy);
  color: #fff;
  border-radius: 12px;
  padding: 12px 14px 10px;
}
.panel__live header {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.panel__live h4 {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  margin: 0;
  font-family: var(--ff-ui);
  font-variation-settings: initial;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-amber);
}
.live-badge__pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-amber);
  box-shadow: 0 0 0 0 rgba(245,124,0,.6);
  animation: pulse 1.8s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(245,124,0,.55); }
  70%  { box-shadow: 0 0 0 10px rgba(245,124,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,124,0,0); }
}
.live-rank { display: flex; flex-direction: column; gap: 2px; }
.live-rank li {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 6px 2px;
  font-size: 0.8rem;
  border-bottom: 1px dashed rgba(255,255,255,.08);
}
.live-rank li:last-child { border-bottom: 0; }
.live-rank .rk {
  font-family: var(--ff-mono);
  color: var(--c-electric);
  text-align: center;
  font-weight: 500;
}
.live-rank .nm { color: #fff; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-rank .sc {
  font-family: var(--ff-mono);
  color: #B9CEE4;
  font-size: 0.76rem;
}
.live-rank .is-next .nm { color: var(--c-amber); font-style: italic; }
.live-rank .is-next .rk { color: var(--c-amber); }

/* Selo decorativo do hero */
.hero__stamp {
  position: absolute;
  right: -10px; bottom: -18px;
  background: var(--c-navy);
  color: var(--c-paper);
  border-radius: 50%;
  width: 96px; height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  text-align: center;
  box-shadow: var(--shadow-l);
  border: 1px solid rgba(255,255,255,.15);
  transform: rotate(-6deg);
}
.hero__stamp-num {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--c-amber);
  font-variation-settings: "opsz" 100, "SOFT" 60, "WONK" 1;
  font-style: italic;
}
.hero__stamp-label {
  font-family: var(--ff-ui);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-top: 4px;
  line-height: 1.2;
}
.hero__rule { display: none; }

/* ---------- 10. Context bar com ícones ---------- */
.context {
  background: var(--c-paper-2);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding: 1.6rem 0 1.4rem;
}
.context__label {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  color: var(--c-navy);
  margin: 0 0 1.1rem;
  text-align: center;
  font-variation-settings: "opsz" 90, "SOFT" 60, "WONK" 1;
}
.context__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0.75rem;
  max-width: 1080px;
  margin: 0 auto;
}
.ctx-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  background: var(--c-white);
  border: 1px solid var(--c-line-soft);
  border-radius: 10px;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.ctx-item:hover {
  transform: translateY(-2px);
  border-color: var(--c-line);
  box-shadow: var(--shadow-s);
}
.ctx-item__icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--c-paper-2);
  color: var(--c-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.ctx-item__icon svg {
  width: 20px; height: 20px;
  stroke: currentColor; fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ctx-item__label {
  font-family: var(--ff-ui);
  font-weight: 500;
  color: var(--c-ink);
  font-size: 0.88rem;
  line-height: 1.2;
}

/* ---------- 11. Section base ---------- */
.section {
  padding: var(--section-pad-y) 0;
  position: relative;
}
.section--dark {
  background: var(--c-navy-ink);
  color: var(--c-on-dark);
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--light { background: var(--c-paper); }

.section__head { max-width: 960px; margin: 0 0 2.2rem; }
.section__head--with-illustration::after { content: ""; display: block; clear: both; }
.dor-illustration {
  float: right;
  width: clamp(200px, 28vw, 300px);
  height: auto;
  margin: 0 0 1rem 1.8rem;
  color: var(--c-on-dark-2);
  shape-outside: margin-box;
}
.dor-illustration__accent { color: var(--c-amber); }
@media (max-width: 720px) {
  .dor-illustration {
    float: none;
    width: 100%;
    max-width: 280px;
    margin: 0 auto 1.2rem;
    display: block;
  }
}
.section__head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section__head--split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  max-width: 100%;
  align-items: end;
}
.section__title {
  font-size: clamp(1.6rem, 5vw, 3rem);
  line-height: 1.08;
  margin: 0 0 0.8rem;
  letter-spacing: -0.02em;
  max-width: 26ch;
}
.section__head--center .section__title { margin-left: auto; margin-right: auto; }
.section__lead {
  font-size: clamp(0.96rem, 1.6vw, 1.08rem);
  color: var(--c-ink-soft);
  max-width: 60ch;
  margin: 0;
}
.section--dark .section__lead { color: var(--c-on-dark-2); }
.section__lead--right { max-width: 50ch; }
.section__lead--light { color: rgba(255,255,255,.82); }
/* Dentro de `.quote-block` (seção № 07) o lead precisa centralizar em bloco
   para acompanhar o título centralizado — text-align só alinha inline. */
.quote-block .section__lead { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- 12. PAIN LIST ---------- */
.pain-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255,255,255,.08);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-top: 2rem;
}
.pain-list li {
  background: var(--c-navy-ink);
  padding: 1.4rem 1.3rem 1.5rem;
  position: relative;
}
.pain-list__num {
  font-family: var(--ff-mono);
  font-size: 0.76rem;
  color: var(--c-amber);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.7rem;
}
.pain-list h3 {
  color: #fff;
  font-size: 1.18rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  line-height: 1.22;
}
.pain-list p {
  color: var(--c-on-dark-3);
  font-size: 0.9rem;
  margin: 0;
}
.pain-cost {
  margin: 2rem 0 0;
  padding: 1.6rem 1.4rem;
  border-left: 3px solid var(--c-amber);
  background: rgba(255,255,255,.03);
  max-width: 820px;
}
.pain-cost p {
  font-family: var(--ff-display);
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  line-height: 1.35;
  color: #EAEFF7;
  margin: 0;
  font-style: italic;
  font-variation-settings: "opsz" 110, "SOFT" 80, "WONK" 1;
}

/* ---------- 13. PILLARS (com ícones) ---------- */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--c-line);
  margin-top: 1.8rem;
}
.pillar {
  padding: 1.6rem 1.2rem 1.8rem;
  border-bottom: 1px solid var(--c-line);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.pillar__icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--c-paper) 0%, var(--c-white) 100%);
  border: 1px solid var(--c-line);
  color: var(--c-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 -2px 0 rgba(11,42,74,.05), 0 1px 2px rgba(11,42,74,.03);
}
.pillar__icon svg {
  width: 28px; height: 28px;
  stroke: currentColor; fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pillar__icon--accent {
  background: linear-gradient(145deg, var(--c-navy) 0%, var(--c-navy-soft) 100%);
  color: var(--c-amber);
  border-color: var(--c-navy);
}
.pillar h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 0.4rem;
  line-height: 1.18;
}
.pillar p {
  color: var(--c-ink-soft);
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- 14. DEMOS ---------- */
.section--demo {
  background:
    radial-gradient(900px 500px at 80% 0%, rgba(0,168,232,.06), transparent 60%),
    var(--c-paper);
}
.demo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.8rem, 4vw, 3rem) 0;
  border-bottom: 1px dashed var(--c-line);
}
.demo:last-of-type { border-bottom: 0; }
.demo__label {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-amber-deep);
  padding: 4px 8px;
  background: rgba(245,124,0,.08);
  border: 1px solid rgba(245,124,0,.22);
  border-radius: 2px;
  margin-bottom: 0.9rem;
}
.demo__title {
  font-size: clamp(1.35rem, 3.4vw, 2.1rem);
  line-height: 1.12;
  margin-bottom: 0.8rem;
}
.demo__body {
  font-size: 0.98rem;
  color: var(--c-ink-soft);
  margin-bottom: 1rem;
}
.demo__bullets {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--c-ink-soft);
  padding-top: 1rem;
  border-top: 1px solid var(--c-line);
}
.demo__bullets li {
  position: relative;
  padding-left: 1.2rem;
}
.demo__bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 0.7rem; height: 2px;
  background: var(--c-amber);
}
.demo__media {
  margin: 0;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 0.9rem;
  box-shadow: var(--shadow-m);
  position: relative;
}
.demo__media figcaption {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--c-muted);
  text-align: center;
  margin-top: 0.9rem;
  font-variation-settings: "opsz" 80, "SOFT" 60, "WONK" 1;
}

/* Wizard (6 passos) */
.wizard { padding: 0.3rem; font-family: var(--ff-ui); }
.wizard__steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-bottom: 10px;
}
.wizard__step {
  font-size: 0.62rem;
  padding: 6px 4px;
  border: 1px solid var(--c-line);
  border-radius: 4px;
  text-align: center;
  color: var(--c-muted);
  background: var(--c-paper);
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wizard__step.is-done {
  background: var(--c-navy);
  border-color: var(--c-navy);
  color: #fff;
}
.wizard__step.is-active {
  background: var(--c-amber);
  border-color: var(--c-amber);
  color: var(--c-navy-ink);
}
.wizard__progress {
  height: 3px;
  background: var(--c-line);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1.1rem;
}
.wizard__progress span {
  display: block;
  height: 100%;
  width: 66%;
  background: linear-gradient(90deg, var(--c-navy), var(--c-amber));
  animation: wz-fill 2.6s var(--ease) infinite alternate;
}
@keyframes wz-fill {
  0% { width: 50%; }
  100% { width: 70%; }
}
.wz-field { margin-bottom: 0.85rem; }
.wz-field label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 4px;
}
.wz-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--c-line);
  background: var(--c-paper);
  border-radius: 8px;
  font-family: var(--ff-ui);
  color: var(--c-ink);
  font-weight: 500;
  appearance: none;
}
.wz-field--chips .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  color: var(--c-ink-soft);
}
.chip.is-on {
  background: var(--c-navy);
  color: #fff;
  border-color: var(--c-navy);
}
.wz-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.7rem;
  padding: 10px 12px;
  background: var(--c-paper-2);
  border-radius: 8px;
  border: 1px solid var(--c-line);
}
.wz-summary span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.wz-summary strong {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  color: var(--c-navy);
  font-variation-settings: "opsz" 80, "SOFT" 20;
}
.wz-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 0.9rem;
}

/* Dash */
.dash { padding: 0.3rem; font-family: var(--ff-ui); }
.dash__row { display: grid; gap: 8px; }
.dash__row--metrics {
  grid-template-columns: repeat(2, minmax(0,1fr));
  margin-bottom: 8px;
}
.dash__row:not(.dash__row--metrics) { grid-template-columns: 1fr; }
.mini-metric {
  padding: 10px 12px;
  background: var(--c-paper);
  border: 1px solid var(--c-line-soft);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mini-metric span {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.mini-metric strong {
  font-family: var(--ff-display);
  font-size: 1.25rem;
  color: var(--c-navy);
  font-variation-settings: "opsz" 80, "SOFT" 20;
}
.mini-metric--warn strong { color: var(--c-warn); }
.dash__card {
  background: var(--c-paper);
  border: 1px solid var(--c-line-soft);
  border-radius: 10px;
  padding: 12px 14px;
}
.dash__card h5 {
  font-family: var(--ff-ui);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--c-ink);
  margin: 0 0 8px;
  font-variation-settings: initial;
}
.dash__card ul { display: flex; flex-direction: column; gap: 6px; }
.dash__card li {
  display: flex;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--c-ink-soft);
  align-items: center;
  flex-wrap: wrap;
}
.pill {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 0.66rem;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--c-paper-2);
  color: var(--c-ink);
  border: 1px solid var(--c-line);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  flex: 0 0 auto;
}
.pill--warn { background: rgba(245,124,0,.12); color: var(--c-warn); border-color: rgba(245,124,0,.32); }
.pill--info { background: rgba(0,168,232,.10); color: #0676AC; border-color: rgba(0,168,232,.30); }
.pill--ok   { background: rgba(46,125,87,.10); color: var(--c-ok);  border-color: rgba(46,125,87,.30); }
.dash__card--graph { display: flex; flex-direction: column; }
.spark { width: 100%; height: 50px; color: var(--c-electric); }

/* OE */
.oe { padding: 0.3rem; }
.oe__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 12px;
  background: var(--c-paper);
  border-radius: 8px;
  border: 1px solid var(--c-line-soft);
  font-family: var(--ff-mono);
  font-size: 0.76rem;
  color: var(--c-ink);
  margin-bottom: 0.8rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.oe__actions { display: flex; gap: 6px; flex-wrap: wrap; }
.oe__list {
  border: 1px solid var(--c-line-soft);
  border-radius: 8px;
  overflow: hidden;
}
.oe__list li {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--c-line-soft);
  background: var(--c-white);
  font-size: 0.86rem;
  color: var(--c-ink);
}
.oe__list li:last-child { border-bottom: 0; }
.oe__list li:nth-child(odd) { background: var(--c-paper); }
.oe__n {
  font-family: var(--ff-mono);
  background: var(--c-navy);
  color: #fff;
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 0.76rem;
  text-align: center;
}
.oe__nm { font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oe__e { color: var(--c-muted); font-size: 0.76rem; }

/* Live */
.live { padding: 0.3rem; }
.live__head {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--c-navy);
  color: #fff;
  border-radius: 8px;
  margin-bottom: 10px;
  font-family: var(--ff-mono);
  font-size: 0.76rem;
  flex-wrap: wrap;
}
.live__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}
.live__table thead th {
  text-align: left;
  padding: 8px 8px;
  font-family: var(--ff-mono);
  font-weight: 500;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-muted);
  border-bottom: 1px solid var(--c-line);
}
.live__table tbody td {
  padding: 8px;
  border-bottom: 1px solid var(--c-line-soft);
  color: var(--c-ink);
}
.live__table tbody tr:last-child td { border-bottom: 0; }
.live__table tbody tr.is-updating {
  background: rgba(245,124,0,.07);
  animation: livePulse 1.4s var(--ease) infinite alternate;
}
@keyframes livePulse {
  0%   { background: rgba(245,124,0,.05); }
  100% { background: rgba(245,124,0,.18); }
}
.live__table tbody tr.is-next td { color: var(--c-amber-deep); font-style: italic; }

/* Rank */
.rank { padding: 0.3rem; }
.rank__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: var(--c-paper-2);
  border-radius: 8px;
  margin-bottom: 10px;
  font-family: var(--ff-mono);
  font-size: 0.76rem;
  color: var(--c-navy);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.rank__list li {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  background: var(--c-white);
  border: 1px solid var(--c-line-soft);
  border-radius: 8px;
  margin-bottom: 5px;
}
.rank__list .rk {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  color: var(--c-amber);
  text-align: center;
  line-height: 1;
  font-variation-settings: "opsz" 100, "SOFT" 60, "WONK" 1;
  font-style: italic;
}
.rank__list .nm { font-weight: 500; color: var(--c-ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank__list .sc {
  font-family: var(--ff-mono);
  color: var(--c-navy);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.rank__list li:first-child { box-shadow: var(--shadow-s); }

/* Permissions */
.perm { padding: 0.3rem; overflow-x: auto; }
.perm header {
  padding: 10px 12px;
  background: var(--c-paper-2);
  border-radius: 8px;
  margin-bottom: 10px;
  font-family: var(--ff-mono);
  font-size: 0.76rem;
  color: var(--c-navy);
}
.perm__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  background: var(--c-white);
  border: 1px solid var(--c-line-soft);
  border-radius: 8px;
  overflow: hidden;
  min-width: 420px;
}
.perm__table th, .perm__table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--c-line-soft);
  text-align: center;
}
.perm__table th {
  background: var(--c-paper);
  font-family: var(--ff-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
  font-weight: 500;
}
.perm__table th:first-child,
.perm__table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--c-ink);
}
.perm__table tr:last-child td { border-bottom: 0; }
.perm__table td:not(:first-child) {
  color: var(--c-ok);
  font-family: var(--ff-mono);
  font-size: 0.96rem;
}

/* ---------- 15. BENEFÍCIOS (novo layout com ícone + título + texto + ilustração) ---------- */
.benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.benefit-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-m);
}
.benefit-card__head {
  padding: 1.25rem 1.25rem 0.4rem;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  min-height: 86px;     /* alinha títulos de 1 e 2 linhas entre cards */
}
.benefit-card__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--c-amber) 0%, var(--c-amber-deep) 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-shadow: 0 6px 14px -8px rgba(245,124,0,.6);
}
.benefit-card__icon svg {
  width: 26px; height: 26px;
  stroke: currentColor; fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit-card__title {
  font-family: var(--ff-display);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--c-navy);
  margin: 0.3rem 0 0;
  line-height: 1.2;
  font-variation-settings: "opsz" 90, "SOFT" 20;
}
.benefit-card__body {
  padding: 0.4rem 1.25rem 1.1rem;
  flex: 1 1 auto;            /* ocupa o espaço restante — empurra figure pro fundo */
  min-height: 76px;          /* textos de 2–3 linhas ficam alinhados entre si */
}
.benefit-card__body p {
  color: var(--c-ink-soft);
  font-size: 0.92rem;
  margin: 0;
}
.benefit-card__figure {
  margin: 0;
  aspect-ratio: 16 / 9;
  background: var(--c-paper-3);   /* tom mais saturado, diferente do fundo da seção */
  border-top: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  flex: 0 0 auto;
}
.benefit-card__figure svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- 16. PERSONAS ---------- */
.personas {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 2rem;
}
.persona {
  background: var(--c-white);
  border: 1px solid var(--c-line-soft);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.3rem;
  position: relative;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.persona::before {
  content: "";
  position: absolute;
  left: 1.2rem; top: 0;
  width: 32px; height: 3px;
  background: var(--c-amber);
}
.persona:hover {
  transform: translateY(-3px);
  border-color: var(--c-line);
  box-shadow: var(--shadow-m);
}
.persona h3 {
  font-size: 1.05rem;
  font-weight: 500;
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
  color: var(--c-navy);
  line-height: 1.2;
}
.persona p {
  font-size: 0.88rem;
  color: var(--c-ink-soft);
  margin: 0;
}

/* ---------- 17. QUOTE / CONFIANÇA ---------- */
.section--quote {
  background:
    radial-gradient(800px 500px at 50% 0%, rgba(0,168,232,.15), transparent 60%),
    linear-gradient(180deg, var(--c-navy) 0%, var(--c-navy-deep) 100%);
  color: var(--c-on-dark);
  position: relative;
  overflow: hidden;
}
.quote-block {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.section__title--quote {
  font-size: clamp(1.7rem, 5vw, 3.1rem);
  margin-inline: auto;
  max-width: 22ch;
  color: #fff;
}
.section__title--quote em { color: var(--c-amber); }
.section--quote h2 { color: #fff; }

.pillars-mini {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin-top: 2.2rem;
}
.pillars-mini > div {
  padding: 1.3rem 1.2rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  text-align: left;
}
.pm__tag {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-amber);
  margin-bottom: 0.6rem;
}
.pillars-mini p { color: #D3DCE9; font-size: 0.92rem; margin: 0; }

/* ---------- 18. FAQ ---------- */
.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--c-line);
  max-width: 900px;
}
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
  cursor: pointer;
  list-style: none;
  gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q {
  font-family: var(--ff-display);
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  font-weight: 500;
  color: var(--c-navy);
  line-height: 1.25;
  font-variation-settings: "opsz" 100, "SOFT" 20;
}
.faq__chev {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--c-paper-2);
  border: 1px solid var(--c-line);
  color: var(--c-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-mono);
  font-size: 1rem;
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.faq__item[open] .faq__chev {
  transform: rotate(45deg);
  background: var(--c-amber);
  color: var(--c-navy-ink);
  border-color: var(--c-amber);
}
.faq__a {
  padding: 0 0 1.3rem;
  color: var(--c-ink-soft);
  font-size: 0.96rem;
  max-width: 70ch;
}
.faq__a p { margin: 0; }

/* ---------- 19. CTA FINAL (formulário + three.js) ---------- */
.cta-final {
  padding: var(--section-pad-y) 0;
  background:
    radial-gradient(600px 400px at 80% 30%, rgba(245,124,0,.14), transparent 60%),
    radial-gradient(700px 480px at 15% 80%, rgba(0,168,232,.14), transparent 60%),
    linear-gradient(180deg, var(--c-navy) 0%, var(--c-navy-ink) 100%);
  color: var(--c-on-dark);
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 120px 100%;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.5), transparent 70%);
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.5), transparent 70%);
  pointer-events: none;
}
.cta-final__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  position: relative;
}
.cta-final__copy { order: 1; }
.cta-final__animation { order: 2; }
.cta-final__form { order: 3; }
.cta-final__title {
  font-size: clamp(1.8rem, 5.4vw, 3.4rem);
  line-height: 1.05;
  color: #fff;
  max-width: 22ch;
  margin-bottom: 0.8rem;
}
.cta-final__title em { color: var(--c-amber); }
.cta-final__lead {
  font-size: 1rem;
  color: var(--c-on-dark-2);
  max-width: 52ch;
  margin-bottom: 1.5rem;
}

/* Canvas Three.js */
.ge-canvas-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(0,168,232,.08), transparent 70%), var(--c-navy-deep);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 40px 100px -40px rgba(0,0,0,.6);
}
.ge-canvas-wrap canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  touch-action: none;
}
.ge-canvas-wrap.is-grabbable canvas { cursor: grab; }
.ge-canvas-wrap.is-grabbing canvas,
.ge-canvas-wrap.is-grabbing.is-grabbable canvas { cursor: grabbing; }
.ge-canvas-label {
  position: absolute;
  left: 50%; bottom: 1.2rem;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
  width: 90%;
}
.ge-canvas-label .ge-mark {
  display: block;
  font-family: var(--ff-ui);          /* Manrope — alinhado à logo */
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(1.2rem, 3.4vw, 1.75rem);
  color: var(--c-amber);
  font-variation-settings: normal;
  line-height: 1;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  text-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.ge-canvas-label .ge-sub {
  display: block;
  margin-top: 8px;
  font-family: var(--ff-mono);        /* JetBrains Mono — igual ao "processando" */
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FFFFFF;
  opacity: 0;
  transition: opacity .6s var(--ease) .15s;
}
.ge-canvas-wrap.is-processing .ge-mark,
.ge-canvas-wrap.is-solved     .ge-mark,
.ge-canvas-wrap.is-settled    .ge-mark { opacity: 1; transform: none; }

.ge-canvas-wrap.is-processing .ge-sub,
.ge-canvas-wrap.is-solved     .ge-sub,
.ge-canvas-wrap.is-settled    .ge-sub  { opacity: 1; }

/* Dots animados quando em "processando…" */
.ge-canvas-wrap.is-processing .ge-sub::after {
  content: '…';
  display: inline-block;
  animation: procDots 1.2s steps(4, end) infinite;
  width: 1.2em;
  text-align: left;
  overflow: hidden;
  vertical-align: bottom;
}
@keyframes procDots {
  0%   { width: 0;     }
  25%  { width: 0.3em; }
  50%  { width: 0.6em; }
  75%  { width: 0.9em; }
  100% { width: 1.2em; }
}

/* Slogan herda a mesma fonte do "processando" (mono uppercase), só em branco */
.ge-canvas-wrap.is-solved .ge-sub {
  color: #FFFFFF;
  font-size: clamp(0.66rem, 1.2vw, 0.78rem);
  letter-spacing: 0.14em;
}

.ge-phase-tag {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--ff-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,.18);
  color: var(--c-on-dark);
  background: rgba(255,255,255,.04);
  border-radius: 4px;
  transition: color .4s var(--ease), border-color .4s var(--ease);
  z-index: 2;
  pointer-events: none;
  max-width: calc(100% - 72px);
}

/* Botão de replay */
.ge-replay {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 3;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .45s var(--ease);
}
.ge-replay svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .45s var(--ease);
}
.ge-replay:hover,
.ge-replay:focus-visible {
  background: var(--c-amber);
  color: var(--c-navy-ink);
  border-color: var(--c-amber);
  outline: none;
}
.ge-replay:hover svg,
.ge-replay:focus-visible svg { transform: rotate(-180deg); }
.ge-replay:active { transform: scale(.94); }
.ge-replay[hidden] { display: none; }
.ge-canvas-wrap.is-chaos .ge-phase-tag { color: #FF8B8B; border-color: rgba(255,139,139,.5); }
.ge-canvas-wrap.is-sorting .ge-phase-tag { color: var(--c-amber); border-color: rgba(245,124,0,.5); }
.ge-canvas-wrap.is-settled .ge-phase-tag { color: #6DE39E; border-color: rgba(109,227,158,.5); }

/* Formulário */
.form-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-l);
  padding: 1.4rem 1.4rem 1.5rem;
  color: var(--c-ink-soft);
}
.form-card__title {
  font-family: var(--ff-display);
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 500;
  color: var(--c-navy);
  margin: 0 0 0.35rem;
  line-height: 1.2;
}
.form-card__sub {
  font-size: 0.92rem;
  color: var(--c-muted);
  margin: 0 0 1.2rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.form-field--full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--ff-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--c-ink);
}
.form-field label .req { color: var(--c-amber-deep); margin-left: 2px; }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-line);
  border-radius: 10px;
  background: var(--c-paper);
  font-family: var(--ff-ui);
  font-size: 0.98rem;
  color: var(--c-ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.form-field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--c-muted-2); }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--c-navy);
  box-shadow: 0 0 0 3px rgba(11,42,74,.14);
  background: var(--c-white);
}
.form-field[data-state="invalid"] input,
.form-field[data-state="invalid"] textarea {
  border-color: var(--c-danger);
  background: #FBEEED;
}
.form-field[data-state="valid"] input,
.form-field[data-state="valid"] textarea {
  border-color: var(--c-ok);
}
.form-field__hint {
  font-size: 0.76rem;
  color: var(--c-muted);
  min-height: 1em;
}
.form-field__hint.is-error { color: var(--c-danger); }
.form-field--number input { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--ff-mono); }

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}
.form-footer .btn--primary { min-width: 200px; }
.form-footer .privacy {
  font-size: 0.8rem;
  color: var(--c-muted);
  flex: 1 1 220px;
  line-height: 1.4;
}
.form-footer .privacy a { color: var(--c-navy); text-decoration: underline; }

.honeypot {
  position: absolute !important;
  left: -9999px; top: -9999px;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}

.form-success {
  display: none;
  padding: 1.6rem 1.4rem;
  background: linear-gradient(145deg, #F3FFF7 0%, #E7F7EC 100%);
  border: 1px solid #CDE6D5;
  border-radius: var(--radius-lg);
  color: #1F5438;
  text-align: center;
  box-shadow: var(--shadow-m);
}
.form-success.is-visible { display: block; animation: formFadeIn .5s var(--ease); }
.form-success__icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--c-ok);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.7rem;
}
.form-success__icon svg { width: 26px; height: 26px; }
.form-success h3 {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  color: #1F5438;
  margin: 0 0 0.4rem;
}
.form-success p { color: #2E7D57; margin: 0; font-size: 0.95rem; }
@keyframes formFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.form-error {
  display: none;
  margin-top: 0.8rem;
  padding: 10px 14px;
  background: #FBEEED;
  border: 1px solid #E9C5C2;
  border-radius: 8px;
  color: var(--c-danger);
  font-size: 0.9rem;
}
.form-error.is-visible { display: block; }

.cta-final__micro {
  font-size: 0.82rem;
  color: var(--c-on-dark-3);
  margin: 1rem 0 0;
}

/* ---------- 20. FOOTER ---------- */
.site-footer {
  background: var(--c-navy-ink);
  color: var(--c-on-dark-3);
  padding: 3rem 0 0;
}
.site-footer__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.site-footer__crop {
  display: inline-flex;
  width: 120px; height: 120px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}
.site-footer__crop img {
  width: 170px;
  height: auto;
  display: block;
  object-fit: contain;
}
.site-footer__brand p {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 0.98rem;
  color: #D3DCE9;
  max-width: 28ch;
  margin: 0;
  font-variation-settings: "opsz" 80, "SOFT" 60, "WONK" 1;
}
.site-footer__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.site-footer h4 {
  color: #fff;
  font-family: var(--ff-ui);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  font-variation-settings: initial;
}
.site-footer ul { display: flex; flex-direction: column; gap: 0.55rem; }
.site-footer a { color: #D3DCE9; font-size: 0.92rem; }
.site-footer a:hover { color: var(--c-amber); }
.glossary li {
  font-family: var(--ff-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--c-on-dark-3);
}
.site-footer__bar {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1rem 0;
}
.site-footer__bar-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: #5A6A82;
  font-size: 0.82rem;
}

/* ---------- 21. WHATSAPP FLOAT ---------- */
.wa-float {
  position: fixed;
  bottom: 18px; right: 18px;
  z-index: 100;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px -14px rgba(37,211,102,.55), 0 4px 10px rgba(0,0,0,.12);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 26px 50px -18px rgba(37,211,102,.65), 0 6px 14px rgba(0,0,0,.18);
}
.wa-float__icon { width: 26px; height: 26px; }
.wa-float__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: .5;
  animation: wa-pulse 2.2s var(--ease) infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.7); opacity: 0; }
}
.wa-float__tooltip { display: none; }

/* ---------- 22. SCROLL REVEAL ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .wizard__progress span,
  .live-badge__pulse,
  .announcement__dot,
  .live__table tbody tr.is-updating { animation: none !important; }
}

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

/* ===================================================================
   23. BREAKPOINTS — mobile-first
=================================================================== */

/* Tablet ≥ 601px */
@media (min-width: 601px) {
  body { font-size: 16.5px; }
  .announcement { font-size: 0.82rem; }
  .announcement__text span { display: inline; margin-left: 0; }
  .announcement__link { display: inline; }
  .announcement__wrap { gap: 0.75rem; padding: 9px 0; flex-wrap: wrap; }

  .brand__crop { height: 50px; }
  .brand__logo  { height: 96px; }
  .site-header__wrap { padding: 14px 0; }

  .hero__wrap { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero__preview { max-width: 600px; margin: 0 auto; }
  .hero__trust {
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 1rem 1.4rem;
  }
  .hero__stamp { width: 110px; height: 110px; }
  .hero__stamp-num { font-size: 1.6rem; }

  .context__grid { grid-template-columns: repeat(4, minmax(0,1fr)); }

  .pain-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pillars   { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pillar    { border-right: 1px solid var(--c-line); }
  .pillar:nth-child(2n) { border-right: 0; }

  .benefits  { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .personas  { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pillars-mini { grid-template-columns: repeat(3, minmax(0,1fr)); }

  .dash__row--metrics { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .dash__row:not(.dash__row--metrics) { grid-template-columns: 1.2fr .8fr; }

  .wizard__step { font-size: 0.7rem; padding: 7px 6px; }

  .panel__metrics { grid-template-columns: repeat(4, minmax(0,1fr)); }

  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-field--full { grid-column: 1 / -1; }

  .wa-float { width: 60px; height: 60px; bottom: 24px; right: 24px; }
  .wa-float__icon { width: 28px; height: 28px; }
  .wa-float__tooltip {
    display: block;
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: var(--c-navy);
    color: #fff;
    font-family: var(--ff-ui);
    font-size: 0.86rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: var(--shadow-m);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .wa-float__tooltip::after {
    content: "";
    position: absolute;
    left: 100%; top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--c-navy);
  }
  .wa-float:hover .wa-float__tooltip,
  .wa-float:focus-visible .wa-float__tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }

  .section__head--split { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .site-footer__wrap { grid-template-columns: .9fr 2.1fr; }
  .site-footer__cols { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .site-footer__bar-wrap { flex-direction: row; justify-content: space-between; }
}

/* Desktop ≥ 961px */
@media (min-width: 961px) {
  body { font-size: 17px; }

  .brand__crop { height: 60px; }
  .brand__logo  { height: 120px; }
  .nav { display: block; }
  .menu-toggle { display: none; }
  .site-header .btn--header { display: inline-flex; }
  .site-header__wrap { padding: 16px 0; gap: 2rem; }

  .hero__wrap {
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(2rem, 5vw, 5rem);
  }
  .hero__preview { max-width: none; margin: 0; }
  .hero__preview .panel {
    transform: perspective(1400px) rotateY(-2deg) rotateX(2deg);
    transition: transform 1.2s var(--ease);
  }
  .hero__preview .panel:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
  .hero__stamp { right: -18px; bottom: -28px; width: 150px; height: 150px; padding: 10px; }
  .hero__stamp-num { font-size: 2.1rem; }
  .hero__stamp-label { font-size: 0.7rem; }
  .hero__rule {
    display: block;
    position: absolute;
    left: 0; top: -40px;
    width: 240px;
    color: var(--c-navy);
    opacity: .35;
  }

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

  .pain-list { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .pillars   { grid-template-columns: repeat(5, minmax(0,1fr)); }
  .pillar    { border-right: 1px solid var(--c-line); }
  .pillar:nth-child(2n) { border-right: 1px solid var(--c-line); }
  .pillar:last-child { border-right: 0; }

  .demo { grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 4vw, 4rem); }
  .demo--reverse .demo__copy { order: 2; }

  .benefits { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .personas { grid-template-columns: repeat(4, minmax(0,1fr)); }

  .cta-final__wrap {
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
  }
  .cta-final__copy      { order: 1; grid-row: 1; }
  .cta-final__animation { order: 2; grid-row: 1; grid-column: 2; }
  .cta-final__form      { order: 3; grid-column: 1 / -1; }
}

/* Wide ≥ 1280px */
@media (min-width: 1280px) {
  .context__grid { grid-template-columns: repeat(8, minmax(0,1fr)); }
  .ctx-item { flex-direction: column; text-align: center; padding: 1.1rem 0.6rem; gap: 0.6rem; }
  .ctx-item__icon { width: 40px; height: 40px; }
  .ctx-item__label { font-size: 0.84rem; }

  .benefits { grid-template-columns: repeat(4, minmax(0,1fr)); }

  .cta-final__wrap {
    grid-template-columns: 1.05fr 1fr;
    grid-template-rows: auto auto;
    row-gap: 2rem;
  }
  .cta-final__form { grid-column: 1 / -1; max-width: 900px; margin: 0 auto; }
}

/* Ultra ≥ 1600px */
@media (min-width: 1600px) {
  :root { --pad-x: max(5px, clamp(1rem, 3vw, 3rem)); }
}

/* Ultrawide meia-tela (aprox 900–1199) */
@media (min-width: 900px) and (max-width: 1199px) {
  .hero__title { font-size: clamp(2rem, 4.8vw, 3.4rem); }
  .hero__trust { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .pillar:nth-child(3n) { border-right: 0; }
  .pillar:nth-child(3n+1), .pillar:nth-child(3n+2) { border-right: 1px solid var(--c-line); }
  .benefits { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
