:root {
  /* Paleta: creme quente, verde-oliva e laranja terracota (terracota só em destaques) */
  --cream: #f0e7d3;
  --cream-2: #f7f1e3;
  --olive: #5f6b2c;
  --olive-lit: #b3bd6e;
  --olive-deep: #262b14;
  --night: #12140b;
  --terra: #ab481e;
  --terra-lit: #e2763f;
  --bark: #2b2a1c;

  /* papéis */
  --bg: var(--night);
  --ink: var(--cream);
  --muted: rgba(240, 231, 211, 0.72);
  --card: rgba(18, 20, 11, 0.8);
  --line: rgba(179, 189, 110, 0.28);

  /* Archivo: expandida nos títulos, condensada nos rótulos; Source Serif 4 no texto corrido */
  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --wide: 118%;
  --narrow: 88%;
  --gutter: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); font-stretch: var(--wide); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.015em; }
:focus-visible { outline: 2px solid var(--terra-lit); outline-offset: 3px; }

/* ---------- Topo ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 22px var(--gutter);
  background: transparent;
  transition: padding .45s ease, background-color .45s ease;
}
/* ao rolar: barra compacta com fundo */
.topbar.compact { padding: 10px var(--gutter); background: rgba(18,20,11,.84); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* logo: grande no topo, encolhe ao rolar */
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { display: block; height: auto; transition: width .45s ease, height .45s ease; }
.brand .brand-arvore { width: auto; height: 72px; }
/* nome do logo em texto: --logo define o tamanho; as duas palavras ficam com a mesma largura visual */
.logo-nome { --logo: 46px; display: flex; line-height: 1; }
.logo-runa { font: 800 calc(var(--logo) * .78)/1 var(--font-head); font-stretch: 100%; letter-spacing: -.015em; color: var(--cream); white-space: nowrap; transition: font-size .45s ease; }
.topbar.compact .brand { gap: 10px; }
.topbar.compact .brand-arvore { height: 38px; }
.topbar.compact .brand-nome { --logo: 23px; }
.nav { display: flex; gap: 32px; margin-left: auto; font: 500 15px/1 var(--font-head); color: var(--ink); }
.nav a { position: relative; padding: 6px 0; text-shadow: 0 1px 10px rgba(0,0,0,.85); transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--terra-lit); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover { color: var(--cream-2); }
.nav a:hover::after { transform: scaleX(1); }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(240,231,211,.08); }
.progress span { display: block; height: 100%; width: 0; background: var(--terra-lit); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border-radius: 6px;
  background: var(--terra); color: var(--cream-2);
  font: 600 15px/1 var(--font-head); letter-spacing: .01em;
  transition: background-color .2s, transform .2s;
}
.btn:hover { background: #963d17; transform: translateY(-1px); }
.btn { min-height: 44px; }
.btn-sm { padding: 10px 18px; font-size: 14px; min-height: 0; }
.btn-ghost-dark { background: transparent; color: var(--bark); box-shadow: inset 0 0 0 1px rgba(43,42,28,.45); }
.btn-ghost-dark:hover { background: rgba(43,42,28,.06); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(240,231,211,.55); }
.btn-ghost:hover { background: rgba(240,231,211,.08); }

/* ---------- Palco ---------- */
#story { position: relative; height: 760vh; }
.skip-story { position: absolute; right: var(--gutter); bottom: 26px; z-index: 11; font: 500 13px/1 var(--font-head); color: var(--muted); padding: 12px 0; text-decoration: underline; text-underline-offset: 3px; }
.skip-story:hover { color: var(--ink); }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--bg); }
#gl, #processamento { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; transform-origin: 50% 50%; will-change: opacity, transform, filter; }
/* vídeo original em ciano: correção de cor para os tons oliva/creme da paleta */
#processamento { --grade: sepia(.75) saturate(.95) hue-rotate(12deg) brightness(.88) contrast(1.05); z-index: 2; object-fit: cover; opacity: 0; visibility: hidden; pointer-events: none; }
#processamento::-webkit-media-controls { display: none !important; }

/* Rótulos ancorados no 3D (convenção cartográfica: condensada, caixa alta) */
#labels { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.geo-label {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  font: 600 12px/1 var(--font-head); font-stretch: var(--narrow); letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); padding: 7px 10px 7px 22px; border-radius: 4px;
  background: var(--card); border: 1px solid var(--line); backdrop-filter: blur(4px);
  transform: translate(-50%, -140%); opacity: 0; transition: opacity .25s;
}
.geo-label::before { content: ""; position: absolute; left: 9px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--olive-lit); }
.geo-label.alert { border-color: rgba(226,118,63,.6); }
.geo-label.alert::before { background: var(--terra-lit); }
.geo-label.prop::before { background: var(--cream); }
.geo-label.sat { border-color: rgba(226,118,63,.6); transition: opacity .15s; }
.geo-label.sat::before { background: var(--terra-lit); box-shadow: 0 0 8px var(--terra-lit); }

/* ---------- Painéis ---------- */
.panel {
  position: absolute; z-index: 10; opacity: 0; visibility: hidden;
  max-width: 540px; padding: 30px 32px;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  will-change: opacity, transform;
}
.panel.left { left: var(--gutter); top: 50%; transform: translateY(calc(-50% + var(--dy, 0px))); }
.panel .w { display: inline-block; will-change: transform, opacity, filter; }
.panel h2 { font-size: clamp(24px, 2.5vw, 34px); font-weight: 700; }
.panel p { color: var(--muted); margin: 0 0 1em; }
.panel p:last-child { margin-bottom: 0; }
.eyebrow { color: var(--olive-lit) !important; font: 600 15px/1.2 var(--font-head); font-stretch: var(--narrow); margin-bottom: 12px !important; }
.note { font-size: 14px; border-left: 2px solid var(--terra-lit); padding-left: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.chips li { font: 600 13px/1 var(--font-head); font-stretch: var(--narrow); padding: 7px 11px; border-radius: 4px; border: 1px solid rgba(179,189,110,.5); color: var(--olive-lit); }

/* hero começa abaixo do logo grande do menu (≈140px) e fica centrado no espaço restante */
.panel.hero { left: var(--gutter); top: calc(50% + 70px); transform: translateY(calc(-50% + var(--dy, 0px))); max-width: 620px; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; }
.panel.hero h1 { font-size: clamp(32px, min(4vw, 6.2vh), 58px); font-weight: 800; letter-spacing: -.025em; line-height: 1.04; text-shadow: 0 2px 24px rgba(18,20,11,.6); }
/* públicos da plataforma: rótulo + selos com ícone */
.hero-para { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-bottom: 24px; }
.hero-para-label { font: 600 15px/1 var(--font-head); font-stretch: var(--narrow); color: var(--olive-lit); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.panel.hero .lead { margin: 0 0 22px; text-shadow: 0 1px 16px rgba(18,20,11,.8); }
.hero-chips li {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 4px;
  font: 600 14px/1 var(--font-head); font-stretch: var(--narrow); color: var(--ink);
  background: rgba(95, 107, 44, .32); border: 1px solid rgba(179, 189, 110, .45);
}
.hero-chips svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--olive-lit); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hl { color: inherit; }
.lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--ink) !important; max-width: 520px; }
/* lista dos três públicos no hero */
.hero-publicos { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 560px; }
.hero-publicos li { position: relative; padding-left: 20px; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.5; color: var(--muted); }
.hero-publicos li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 1px; background: var(--olive-lit); }
.hero-publicos b { color: var(--ink); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.panel.how { left: 50%; bottom: 5vh; transform: translate(-50%, var(--dy, 0px)); max-width: 1080px; width: calc(100% - 2 * var(--gutter)); }
.panel.how h2 { font-size: clamp(22px, 2.1vw, 30px); }
.steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.steps li { display: flex; gap: 14px; align-items: flex-start; opacity: .28; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.steps li.on { opacity: 1; transform: none; }
.steps li.on:nth-child(2) { transition-delay: .35s; }
.steps li.on:nth-child(3) { transition-delay: .7s; }
.steps i { flex: none; width: 46px; height: 46px; border-radius: 8px; display: grid; place-items: center; border: 1px solid var(--line); transition: border-color .5s, background-color .5s; }
.steps li.on i { border-color: var(--terra-lit); background: rgba(226,118,63,.12); }
.steps svg { width: 24px; height: 24px; fill: none; stroke: var(--olive-lit); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .5s; }
.steps li.on svg { stroke: var(--terra-lit); }
.steps svg text { fill: var(--olive-lit); stroke: none; font: 700 6px var(--font-head); }
.steps li.on svg text { fill: var(--terra-lit); }
.steps b { display: block; font: 700 16px/1.25 var(--font-head); font-stretch: var(--wide); margin-bottom: 4px; }
.steps span { font-size: 15px; color: var(--muted); line-height: 1.5; }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 10px; font: 500 13px/1 var(--font-head); color: var(--muted); transition: opacity .4s; }
.scroll-hint span { width: 22px; height: 36px; border: 2px solid rgba(240,231,211,.35); border-radius: 12px; position: relative; }
.scroll-hint span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--terra-lit); animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Para quem: seção clara, em creme ---------- */
/* a seção cabe em uma tela (desktop): espaço do menu no topo + fotos com altura relativa à tela */
.publicos {
  position: relative; z-index: 2; background: var(--cream); color: var(--bark);
  min-height: 100vh; min-height: 100svh; box-sizing: border-box;
  display: flex; flex-direction: column; justify-content: center;
  padding: 96px var(--gutter) 40px; scroll-margin-top: 0;
}
.publicos-head { width: 100%; max-width: 1240px; margin: 0 auto 2.6vh; }
.publicos-head h2 { font-size: clamp(26px, min(2.6vw, 4.4vh), 40px); font-weight: 800; margin: 0; color: var(--bark); }
.publicos-head .eyebrow { color: var(--olive) !important; margin-bottom: 8px !important; }
/* carrossel: um público por vez (foto à esquerda, texto à direita), com o próximo aparecendo na borda */
.pq { width: 100%; max-width: 1240px; margin: 0 auto; }
.pq-topo { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.pq-grupos { display: flex; flex-wrap: wrap; gap: 8px; }
.pq-grupo { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(95,107,44,.3); background: transparent; color: var(--olive); font: 700 14.5px/1 var(--font-head); font-stretch: var(--narrow); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.pq-grupo:hover { border-color: var(--olive); }
.pq-grupo[aria-pressed="true"] { background: var(--olive); border-color: var(--olive); color: var(--cream); }
.pq-setas { display: flex; gap: 8px; flex: none; }
.pq-seta { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(95,107,44,.35); background: var(--cream-2); color: var(--bark); cursor: pointer; transition: background-color .2s, color .2s, opacity .2s; }
.pq-seta svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pq-seta:hover:not(:disabled) { background: var(--olive); color: var(--cream); }
.pq-seta:disabled { opacity: .35; cursor: default; }
.pq-trilho { list-style: none; margin: 0; padding: 0 0 4px; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.pq-trilho::-webkit-scrollbar { display: none; }
.pq-trilho:focus-visible { outline: 2px solid var(--olive); outline-offset: 4px; border-radius: 12px; }
.pq-pontos { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.pq-pontos span { width: 8px; height: 8px; border-radius: 4px; background: rgba(95,107,44,.3); transition: width .3s, background-color .3s; }
.pq-pontos span.ativo { width: 26px; background: var(--terra); }
.publico { flex: 0 0 82%; scroll-snap-align: start; display: grid; grid-template-columns: 1.45fr 1fr; background: var(--cream-2); border: 1px solid rgba(95,107,44,.16); border-radius: 12px; overflow: hidden; transition: opacity .35s; }
.publico:not(.atual) { opacity: .55; }
.publico img { display: block; width: 100%; height: clamp(240px, 52vh, 480px); object-fit: cover; object-position: 50% 30%; }
.publico-body { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.publico .publico-grupo { font: 700 13px/1.2 var(--font-head); font-stretch: var(--narrow); color: var(--terra); margin: 0 0 14px; }
.publico h4 { font: 700 clamp(22px, min(2.2vw, 3.6vh), 32px)/1.15 var(--font-head); font-stretch: var(--wide); letter-spacing: -.01em; margin: 0; color: var(--bark); }
.publico p { color: rgba(43,42,28,.78); margin: 0 0 .7em; font-size: clamp(14.5px, min(1vw, 1.95vh), 16px); line-height: 1.55; }
.publico p:last-child { margin-bottom: 0; }
.publico .note { font-size: 13px; border-left-color: var(--terra); }
/* público: rótulo em oliva, condensado */
.publico .publico-tag {
  display: inline-block; margin: 0 0 10px; padding: 0;
  font: 700 14px/1.25 var(--font-head); font-stretch: var(--narrow);
  color: var(--olive);
}

/* ---------- Planos e Dúvidas: seções claras ---------- */
.planos, .duvidas { position: relative; z-index: 2; background: var(--cream); color: var(--bark); padding: 80px var(--gutter); }
.duvidas { background: var(--cream-2); }
.planos, .duvidas, .footer { scroll-margin-top: 64px; }
.secao-head { max-width: 1240px; margin: 0 auto 28px; }
.secao-head h2 { font-size: clamp(26px, 2.6vw, 40px); font-weight: 800; margin: 0 0 8px; }
.secao-head .eyebrow { color: var(--olive) !important; margin-bottom: 8px !important; }
.secao-head p:not(.eyebrow) { margin: 0; color: rgba(43,42,28,.78); }
.planos-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.plano { display: flex; flex-direction: column; background: var(--cream-2); border: 1px solid rgba(95,107,44,.16); border-radius: 10px; padding: 24px; }
.plano h3 { font-size: 22px; font-weight: 800; margin: 0 0 4px; }
.plano .plano-para { font: 600 14px/1.3 var(--font-head); font-stretch: var(--narrow); color: var(--olive); margin: 0 0 12px; }
.plano p { margin: 0 0 20px; color: rgba(43,42,28,.78); font-size: 16px; }
.plano .btn { margin-top: auto; align-self: flex-start; }
.faq { max-width: 1240px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--cream); border: 1px solid rgba(95,107,44,.16); border-radius: 10px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 18px 0; font: 700 17px/1.3 var(--font-head); list-style-position: inside; }
.faq details p { margin: 0 0 18px; color: rgba(43,42,28,.78); }

/* ---------- Rodapé: oliva profundo ---------- */
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 32px; font: 500 15px/1 var(--font-head); }
.footer-nav a { padding: 12px 0; }
.footer-nav a:hover { color: var(--olive-lit); }
.footer { position: relative; z-index: 2; text-align: center; padding: 120px var(--gutter) 60px; background: var(--olive-deep); color: var(--cream); }
/* logo do rodapé: árvore em cima do nome, montado com as peças separadas */
.footer-logo { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer-logo .footer-arvore { display: block; height: auto; width: 110px; margin-bottom: 10px; }
.footer-logo .logo-nome { --logo: 56px; align-items: center; }
.footer-assinatura { margin: 10px 0 28px; font: 600 clamp(15px, 1.3vw, 18px)/1.3 var(--font-head); font-stretch: var(--narrow); letter-spacing: .02em; color: var(--olive-lit); }
.footer-assinatura::before, .footer-assinatura::after { content: ""; display: inline-block; width: 28px; height: 1px; margin: 0 12px; vertical-align: middle; background: rgba(179,189,110,.55); }
@media (max-width: 520px) { .footer-assinatura::before, .footer-assinatura::after { display: none; } }
.footer h2 { font-size: clamp(26px, 3vw, 42px); font-weight: 800; max-width: 780px; margin: 28px auto 12px; }
.footer > p { color: var(--muted); }
.footer .btn { margin: 18px 0 50px; }
.disclaimer { max-width: 720px; margin: 0 auto 10px; font-size: 14px; }
.copy { font: 500 13px/1.4 var(--font-head); opacity: .6; }
.copy a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.copy a:hover, .copy a:focus-visible { text-decoration-thickness: 2px; }
/* ---------- Responsivo ---------- */
@media (max-width: 860px) {
  /* menu no celular: segunda linha rolável abaixo do logo */
  .topbar { flex-wrap: wrap; row-gap: 6px; }
  .nav { order: 3; width: 100%; margin-left: 0; gap: 22px; overflow-x: auto; scrollbar-width: none; font-size: 14px; white-space: nowrap; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 10px 0; }
  .topbar .btn-sm { margin-left: auto; min-height: 44px; }
  .skip-story { right: 16px; bottom: 10px; }
  .planos-grid { grid-template-columns: 1fr; }
  .planos, .duvidas { padding: 56px 16px; }
  /* menu: fundo sólido e logo compacto */
  .topbar, .topbar.compact { padding: 10px 16px; background: rgba(18,20,11,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .brand { gap: 8px; }
  .brand .brand-arvore { height: 44px; }
  .brand-nome { --logo: 22px; }
  .topbar.compact .brand-arvore { height: 36px; }
  .topbar.compact .brand-nome { --logo: 18px; }
  .topbar .btn-sm { padding: 10px 18px; font-size: 14px; }
  .panel.left, .panel.hero { left: 16px; right: 16px; max-width: none; top: auto; bottom: 7vh; transform: translateY(var(--dy, 0px)); }
  /* hero no celular: começa abaixo do menu, compacto; o globo fica na parte de baixo */
  .panel.hero { top: 124px; bottom: auto; }
  .panel.hero .lead { font-size: 15px; margin-bottom: 14px; }
  .panel.hero h1 { font-size: 27px; margin-bottom: 14px; }
  .hero-para { gap: 8px; margin-bottom: 16px; }
  .hero-para-label { width: 100%; font-size: 14px; }
  .hero-chips { gap: 6px; }
  .hero-chips li { font-size: 13px; padding: 6px 10px 6px 8px; gap: 6px; }
  .hero-chips svg { width: 14px; height: 14px; }
  .hero-publicos { gap: 6px; }
  .hero-publicos li { font-size: 15px; padding-left: 16px; }
  .hero-publicos li::before { width: 6px; height: 6px; }
  .actions { margin-top: 18px; gap: 10px; flex-wrap: nowrap; }
  .actions .btn { flex: 1; padding: 13px 10px; font-size: 14px; }
  .panel { padding: 22px; }
  .panel.how { bottom: 3vh; }
  .steps { grid-template-columns: 1fr; gap: 10px; }
  .steps span { display: none; }
  .publico { flex-basis: 86%; grid-template-columns: 1fr; }
  .pq-trilho { gap: 12px; }
  .pq-topo { flex-direction: column; align-items: stretch; }
  .pq-setas { display: none; }
  .pq-grupos { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .pq-grupo { flex: none; }
  .publico-body { padding: 18px 20px 22px; }
  .publico h4 { font-size: 20px; }
  .publicos { min-height: 0; padding-top: 80px; }
  .publico img { height: 210px; }
  .scroll-hint { display: none; }
}
/* ---------- Skeleton: placeholder animado enquanto imagens, globo e vídeo carregam (4G) ---------- */
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.publico img {
  background: linear-gradient(100deg, #e6dcc4 30%, #f3ecdb 50%, #e6dcc4 70%) 0 0 / 200% 100%;
  animation: shimmer 1.4s linear infinite;
  opacity: 1; transition: opacity .4s;
}
.publico img.carregando { color: transparent; } /* esconde o alt/ícone quebrado durante o carregamento */
.publico img.carregado { animation: none; background: none; }
/* palco: esqueleto do globo até o primeiro quadro do WebGL */
.stage-skeleton {
  position: absolute; z-index: 0; right: 8vw; top: 50%; width: min(60vw, 78vh); aspect-ratio: 1; transform: translateY(-46%);
  border-radius: 50%; pointer-events: none;
  background: linear-gradient(100deg, rgba(179,189,110,.06) 30%, rgba(179,189,110,.16) 50%, rgba(179,189,110,.06) 70%) 0 0 / 200% 100%;
  animation: shimmer 1.6s linear infinite; transition: opacity .6s;
}
body.globo-pronto .stage-skeleton { opacity: 0; animation: none; }
@media (max-width: 860px) { .stage-skeleton { right: -20vw; top: auto; bottom: -10vh; width: 120vw; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .pq-trilho { scroll-behavior: auto; }
  .scroll-hint span::after { animation: none; }
  .publico img, .stage-skeleton { animation: none; }
}

@media (max-width: 520px) {
}

/* ---------- Jornada: quatro paradas numa rota tracejada (ecoa as órbitas do globo) ---------- */
.jornada { position: relative; z-index: 2; background: var(--night); color: var(--ink); padding: 96px var(--gutter) 88px; scroll-margin-top: 64px; }
.jornada .secao-head p:not(.eyebrow) { color: var(--muted); max-width: 60ch; }
.rota-wrap { position: relative; max-width: 1240px; margin: 36px auto 0; }
.rota { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; position: relative; }
/* a rota: linha tracejada passando pelo centro dos números */
.rota::before { content: ""; position: absolute; left: 22px; right: 22px; top: 21px; border-top: 2px dashed rgba(179,189,110,.45); }
.parada { position: relative; display: flex; flex-direction: column; }
.parada-num { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--night); border: 2px solid var(--olive-lit); color: var(--cream); font: 800 18px/1 var(--font-head); margin-bottom: 18px; }
.parada h3 { font-size: 20px; font-weight: 800; margin: 0 0 16px; }
/* mini tela ilustrativa de cada passo */
.tela { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 8px; background: #1b1e12; border: 1px solid rgba(179,189,110,.22); font: 600 13px/1.2 var(--font-head); font-stretch: var(--narrow); min-height: 132px; }
.tela-campo { padding: 9px 10px; border-radius: 5px; background: var(--night); border: 1px solid rgba(179,189,110,.4); color: var(--cream); letter-spacing: .02em; }
.tela-mapa { width: 100%; height: 64px; }
.tela-mapa path { fill: rgba(112,154,78,.55); stroke: var(--olive-lit); stroke-width: 1.5; stroke-dasharray: 4 3; }
.tela-opcao { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.tela-opcao::before { content: ""; width: 14px; height: 14px; border-radius: 3px; border: 1.5px solid rgba(179,189,110,.6); flex: none; }
.tela-opcao.on { color: var(--cream); }
.tela-opcao.on::before { background: var(--olive-lit); box-shadow: inset 0 0 0 3px #1b1e12; }
.tela-linha { display: flex; flex-direction: column; gap: 4px; color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid rgba(179,189,110,.18); }
.tela-linha b { color: var(--cream); font-size: 15px; }
.tela-botao { margin-top: auto; text-align: center; padding: 10px; border-radius: 6px; background: var(--terra); color: var(--cream); }
.tela-status { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--cream); }
.tela-status em { font-style: normal; padding: 3px 8px; border-radius: 99px; background: rgba(179,189,110,.18); color: var(--olive-lit); }
.tela-status.alerta em { background: rgba(226,118,63,.16); color: #f09a6a; } /* 4,4:1 com terra-lit; este tom passa de 4,5:1 */
/* trem de pontos: percorre a rota uma vez quando a seção aparece */
.trem { position: absolute; top: 18px; left: 0; width: 120px; height: 8px; opacity: 0; pointer-events: none;
  background: radial-gradient(circle, #fffaf0 0 2.2px, transparent 2.8px) 0 0 / 15px 8px repeat-x; filter: drop-shadow(0 0 3px rgba(207,227,168,.9)); }
.rota-wrap.ativa .trem { animation: trem 3.2s cubic-bezier(.45,.05,.4,1) .2s 1 both; }
@keyframes trem { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 120px); opacity: 0; } }

/* ---------- Relatórios: abas + folha de exemplo ---------- */
.relatorios { position: relative; z-index: 2; background: var(--cream-2); color: var(--bark); padding: 88px var(--gutter); scroll-margin-top: 64px; }
.rel-wrap { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 28px; align-items: start; }
.rel-tabs { display: flex; flex-direction: column; gap: 6px; }
.rel-tabs [role="tab"] { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 14px 18px; border-radius: 8px; border-left: 3px solid transparent; color: var(--bark); }
.rel-tabs [role="tab"] b { font: 800 18px/1.2 var(--font-head); font-stretch: var(--wide); }
.rel-tabs [role="tab"] span { font-size: 15px; line-height: 1.45; color: rgba(43,42,28,.72); }
.rel-tabs [role="tab"]:hover { background: rgba(95,107,44,.07); }
.rel-tabs [role="tab"][aria-selected="true"] { background: var(--cream); border-left-color: var(--olive); }
.rel-tabs [role="tab"]:focus-visible { outline: 2px solid var(--olive); outline-offset: 2px; }
/* a folha imita a primeira página de um relatório */
.rel-folha { background: #fffdf7; border: 1px solid rgba(95,107,44,.2); border-radius: 6px; box-shadow: 0 1px 0 rgba(43,42,28,.04), 0 18px 40px -24px rgba(43,42,28,.35); padding: 26px 28px; }
.rel-folha:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
.folha-topo { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 16px; border-bottom: 2px solid var(--olive); }
.folha-topo h3 { font-size: 22px; font-weight: 800; margin: 0 0 4px; }
.folha-topo p { margin: 0; font-size: 15px; color: rgba(43,42,28,.75); }
.folha-selo { flex: none; font: 600 13px/1.2 var(--font-head); font-stretch: var(--narrow); color: var(--olive); border: 1px solid rgba(95,107,44,.45); border-radius: 99px; padding: 5px 10px; }
.folha-corpo { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px; padding: 20px 0; }
.folha-mapa { width: 100%; height: auto; background: #1f3320; border-radius: 4px; }
.m-imovel { fill: #709a4e; }
.m-borda { fill: none; stroke: #0d3317; stroke-width: 2.5; }
.m-alerta { fill: #e2763f; stroke: #ab481e; stroke-width: 1.2; }
.m-embargo { fill: url(#hach); stroke: #ab481e; stroke-width: 1.6; }
#hach line { stroke: #ab481e; stroke-width: 2.2; }
.m-rl { fill: #265228; stroke: #cfe3a8; stroke-width: 1; stroke-dasharray: 3 2; }
.m-rio { fill: none; stroke: #6fb6d8; stroke-width: 3; }
.m-vizinho { fill: rgba(240,231,211,.18); stroke: #f0e7d3; stroke-width: 1.4; stroke-dasharray: 5 3; }
.m-pino circle { fill: #e2763f; stroke: #fffdf7; stroke-width: 2; }
.m-pino text { fill: #fffdf7; font: 800 11px/1 var(--font-head); text-anchor: middle; }
.folha-dados h4, .folha-pe h4 { font: 700 15px/1.2 var(--font-head); font-stretch: var(--narrow); color: var(--olive); margin: 0 0 8px; }
.folha-dados table { width: 100%; border-collapse: collapse; font-size: 15px; margin-bottom: 18px; }
.folha-dados th { text-align: left; font: 600 13px/1.2 var(--font-head); font-stretch: var(--narrow); color: rgba(43,42,28,.65); padding: 0 8px 6px 0; border-bottom: 1px solid rgba(95,107,44,.25); }
.folha-dados td { padding: 7px 8px 7px 0; border-bottom: 1px solid rgba(95,107,44,.12); vertical-align: top; }
.folha-lista { margin: 0; padding-left: 18px; font-size: 15px; line-height: 1.5; }
.folha-lista li { margin-bottom: 4px; }
.folha-pe { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; padding-top: 16px; border-top: 1px solid rgba(95,107,44,.25); }
.folha-pe p { margin: 0; font-size: 15px; color: rgba(43,42,28,.8); }
.folha-util { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.folha-util li { font: 600 13px/1 var(--font-head); font-stretch: var(--narrow); padding: 6px 10px; border-radius: 99px; background: rgba(95,107,44,.12); color: var(--olive-deep); }

@media (max-width: 860px) {
  .jornada, .relatorios { padding: 56px 16px; }
  /* rota vertical: linha à esquerda passando pelos números */
  .rota { grid-template-columns: 1fr; gap: 28px; }
  .rota::before { left: 21px; right: auto; top: 22px; bottom: 22px; border-top: 0; border-left: 2px dashed rgba(179,189,110,.45); }
  .parada { padding-left: 62px; }
  .parada-num { position: absolute; left: 0; top: 0; margin: 0; }
  .trem { display: none; }
  .rel-wrap { grid-template-columns: 1fr; gap: 16px; }
  .rel-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .rel-tabs::-webkit-scrollbar { display: none; }
  .rel-tabs [role="tab"] { flex: none; border-left: 0; border-bottom: 3px solid transparent; border-radius: 6px 6px 0 0; padding: 10px 14px; }
  .rel-tabs [role="tab"] span { display: none; }
  .rel-tabs [role="tab"][aria-selected="true"] { border-bottom-color: var(--olive); }
  .rel-folha { padding: 18px 16px; }
  .folha-topo { flex-direction: column; gap: 10px; }
  .folha-corpo, .folha-pe { grid-template-columns: 1fr; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { .rota-wrap.ativa .trem { animation: none; } }
.nowrap { white-space: nowrap; }
.folha-legenda { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font: 600 13px/1.3 var(--font-head); font-stretch: var(--narrow); color: rgba(43,42,28,.75); }
.folha-legenda li { display: flex; align-items: center; gap: 6px; }
.folha-legenda i { width: 14px; height: 10px; border-radius: 2px; flex: none; }
.lg-imovel { background: #709a4e; box-shadow: inset 0 0 0 2px #0d3317; }
.lg-alerta { background: #e2763f; }
.lg-embargo { background: repeating-linear-gradient(45deg, #ab481e 0 2px, transparent 2px 5px); box-shadow: inset 0 0 0 1px #ab481e; }
.lg-rl { background: #265228; }
.lg-rio { height: 3px !important; background: #6fb6d8; }
.lg-vizinho { box-shadow: inset 0 0 0 1.5px #8a8570; background: rgba(240,231,211,.5); }
.lg-pino { width: 10px !important; border-radius: 50% !important; background: #e2763f; }

/* ---------- Relatórios, etapa 2: interpretação, modos de leitura e transparência das fontes ---------- */
/* níveis de atenção: ícone + texto + cor (nunca só a cor) */
.nivel { display: inline-flex; align-items: center; gap: 5px; font: 700 13px/1 var(--font-head); font-stretch: var(--narrow); padding: 4px 9px 4px 6px; border-radius: 99px; white-space: nowrap; }
.nivel svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.nivel-ok { background: rgba(95,107,44,.14); color: #3d4a17; }
.nivel-info { background: rgba(60,96,122,.12); color: #2f5068; }
.nivel-atencao { background: rgba(176,121,20,.15); color: #7a5208; }
.nivel-critico { background: rgba(171,72,30,.13); color: #93391a; }
/* alternância resumo simples / detalhes técnicos */
.folha-modo { display: inline-flex; margin: 16px 0 0; padding: 3px; border-radius: 8px; background: rgba(95,107,44,.1); }
.folha-modo button { all: unset; box-sizing: border-box; cursor: pointer; padding: 8px 14px; border-radius: 6px; font: 700 14px/1 var(--font-head); font-stretch: var(--narrow); color: rgba(43,42,28,.75); min-height: 36px; display: inline-flex; align-items: center; }
.folha-modo button[aria-pressed="true"] { background: #fffdf7; color: var(--bark); box-shadow: 0 1px 3px rgba(43,42,28,.18); }
.folha-modo button:focus-visible { outline: 2px solid var(--olive); outline-offset: 2px; }
/* resumo em linguagem simples */
.folha-resumo { padding: 14px 16px; border-radius: 6px; background: var(--cream); border-left: 4px solid var(--olive); margin-bottom: 18px; }
.nivel-borda-atencao { border-left-color: #b07914; }
.nivel-borda-critico { border-left-color: var(--terra); }
.resumo-titulo { font: 800 18px/1.25 var(--font-head); font-stretch: var(--wide); margin: 10px 0 6px !important; color: var(--bark); }
.folha-resumo p { margin: 0; font-size: 15.5px; color: rgba(43,42,28,.85); }
.achados { list-style: none; margin: 0 0 18px; padding: 0; }
.achados li { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: start; padding: 10px 0; border-bottom: 1px solid rgba(95,107,44,.12); }
.achados .nivel { grid-row: span 2; margin-top: 1px; }
.achados b { font: 700 15px/1.35 var(--font-head); color: var(--bark); }
.achados span:not(.nivel) { font-size: 14.5px; line-height: 1.5; color: rgba(43,42,28,.75); }
.folha-proximo { margin: 0; font-size: 15.5px; }
.folha-metodo { margin: 0; font-size: 14px; color: rgba(43,42,28,.7); }
/* fontes consultadas: status de cada uma, inclusive o que ficou indisponível */
.folha-fontes { padding: 16px 0; border-top: 1px solid rgba(95,107,44,.25); }
.folha-fontes h4 { font: 700 15px/1.2 var(--font-head); font-stretch: var(--narrow); color: var(--olive); margin: 0 0 10px; }
.folha-fontes ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.fonte { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 12px; border-radius: 6px; background: rgba(95,107,44,.06); font-size: 14.5px; }
.fonte-status { grid-column: 1 / -1; font: 700 12.5px/1.2 var(--font-head); font-stretch: var(--narrow); display: flex; align-items: center; gap: 6px; color: #3d4a17; }
.fonte-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.fonte-encontrado .fonte-status { color: #2b2a1c; }
.fonte-pendente .fonte-status { color: #7a5208; }
.fonte-indisponivel { background: rgba(171,72,30,.07); }
.fonte-indisponivel .fonte-status { color: #93391a; }
.fonte-indisponivel .fonte-status::before { background: none; border: 2px solid currentColor; width: 5px; height: 5px; }
.fonte b { font: 700 14.5px/1.3 var(--font-head); }
.fonte time { font-size: 13px; color: rgba(43,42,28,.78); white-space: nowrap; } /* contraste ≥ 4,5:1 nos dois fundos */
.fonte-det { grid-column: 1 / -1; font-size: 13.5px; line-height: 1.45; color: rgba(43,42,28,.75); }
.folha-pe { grid-template-columns: 1.3fr 1fr; }
.folha-aviso { grid-column: 1 / -1; margin: 0; font-size: 13.5px; color: rgba(43,42,28,.68); }
@media (max-width: 860px) {
  .folha-fontes ul { grid-template-columns: 1fr; }
  .folha-modo { display: flex; }
  .folha-modo button { flex: 1; justify-content: center; }
}
@media (min-width: 861px) { .folha-corpo > div:first-child { position: sticky; top: 84px; align-self: start; } /* mapa acompanha a leitura */ }
.fonte { grid-template-columns: 1fr; } /* horário abaixo do nome: nomes longos não quebram */
@media (max-width: 860px) { .achados li { grid-template-columns: 1fr; gap: 6px; } .achados .nivel { grid-row: auto; justify-self: start; } }

/* ---------- Situações práticas: momento → pergunta → relatórios → ganho, em linhas tipo tabela de decisão ---------- */
.situacoes { position: relative; z-index: 2; background: #e8e3c9; color: var(--bark); padding: 88px var(--gutter); scroll-margin-top: 64px; } /* creme-oliva: se diferencia dos blocos creme vizinhos */
.situacoes .secao-head h2 { color: var(--bark); }
.sit-lista { list-style: none; margin: 0 auto; padding: 0; max-width: 1240px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sit { display: flex; flex-direction: column; background: #fffdf7; border: 1px solid rgba(95,107,44,.18); border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px -28px rgba(43,42,28,.45); }
.sit-foto { position: relative; }
.sit-foto img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.sit-icone { position: absolute; left: 22px; bottom: -26px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--olive); box-shadow: 0 0 0 5px #fffdf7; }
.sit-icone svg { width: 28px; height: 28px; fill: none; stroke: var(--cream); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sit-corpo { flex: 1; display: flex; flex-direction: column; padding: 42px 24px 24px; }
.sit h3 { font: 700 15px/1.3 var(--font-head); font-stretch: var(--narrow); color: var(--olive); margin: 0 0 8px; }
.sit-ganho { margin: 0 0 22px; font: 800 clamp(20px, 1.6vw, 24px)/1.22 var(--font-head); font-stretch: var(--wide); letter-spacing: -.01em; color: var(--bark); }
.sit-verificar { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(95,107,44,.18); }
.sit-verificar h4 { font: 700 13px/1.2 var(--font-head); font-stretch: var(--narrow); color: rgba(43,42,28,.7); margin: 0 0 6px; }
.sit-rels { list-style: none; margin: 0; padding: 0; }
.sit-rels a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; border-bottom: 1px dashed rgba(95,107,44,.22); font: 700 16px/1.2 var(--font-head); color: var(--olive-deep); transition: color .2s, padding .2s; }
.sit-rels li:last-child a { border-bottom: 0; }
.sit-rels a:hover { color: var(--terra); padding-left: 4px; }
.sit-seta { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1000px) and (min-width: 861px) { .sit-lista { gap: 16px; } .sit-corpo { padding: 40px 18px 20px; } }
@media (max-width: 860px) {
  .situacoes { padding: 56px 16px; }
  .sit-lista { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 6px; scroll-padding: 0 16px; scrollbar-width: none; }
  .sit-lista::-webkit-scrollbar { display: none; }
  .sit { flex: 0 0 86%; scroll-snap-align: start; }
  .sit-corpo { padding: 38px 18px 18px; }
  .sit-ganho { font-size: 20px; }
}

/* camadas extras dos mapas de exemplo (mesmos temas dos PDFs) */
.m-entorno { fill: none; stroke: rgba(240,231,211,.55); stroke-width: 1.2; stroke-dasharray: 4 4; }
.m-ti { fill: rgba(201,140,190,.45); stroke: #c98cbe; stroke-width: 1.4; }
.m-assent { fill: rgba(240,231,211,.2); stroke: #f0e7d3; stroke-width: 1.4; stroke-dasharray: 5 3; }
.m-mina { fill: rgba(226,118,63,.35); stroke: #e2763f; stroke-width: 1.6; stroke-dasharray: 4 2; }
.m-estrada { fill: none; stroke: #d9cfb5; stroke-width: 3.5; }
.m-sigef { fill: none; stroke: #f0e7d3; stroke-width: 1.6; stroke-dasharray: 5 3; }
.m-nascente { fill: #6fb6d8; stroke: #fffdf7; stroke-width: 1.5; }
.m-curva { fill: none; stroke: rgba(240,231,211,.6); stroke-width: 1.2; }
.m-pasto { fill: #c9b37a; stroke: #8f7a44; stroke-width: 1; }
.lg-entorno { box-shadow: inset 0 0 0 1.5px #8a8570; background: transparent; border-radius: 3px !important; }
.lg-ti { background: #c98cbe; }
.lg-assent { box-shadow: inset 0 0 0 1.5px #8a8570; background: rgba(240,231,211,.6); }
.lg-mina { background: rgba(226,118,63,.55); box-shadow: inset 0 0 0 1.5px #e2763f; }
.lg-estrada { height: 4px !important; background: #b8ad8f; }
.lg-sigef { box-shadow: inset 0 0 0 1.5px #5f6b2c; background: transparent; }
.lg-nascente { width: 10px !important; border-radius: 50% !important; background: #6fb6d8; }
.lg-curva { height: 2px !important; background: #8a8570; }
.lg-pasto { background: #c9b37a; }
.rel-integrado { margin: 10px 0 0; padding: 14px 16px; border-radius: 8px; border: 1px dashed rgba(95,107,44,.45); font-size: 15px; line-height: 1.45; color: rgba(43,42,28,.8); }
.rel-integrado b { display: block; font: 800 16px/1.2 var(--font-head); font-stretch: var(--wide); color: var(--bark); margin-bottom: 4px; }
@media (max-width: 860px) { .rel-integrado { margin: 4px 0 0; } }
.rel-lado { min-width: 0; } /* sem isso a coluna cresce com a largura das abas no celular */
@media (max-width: 860px) { .rel-tabs [role="tab"] { max-width: 200px; } .rel-tabs [role="tab"] b { font-size: 15px; } }

/* ---------- Subpágina de relatórios ---------- */
.subpagina .relatorios { padding-top: 112px; min-height: 100vh; }
.secao-head h1 { font-size: clamp(28px, 3vw, 44px); font-weight: 800; margin: 0 0 10px; color: var(--bark); }
.secao-head h1 + p { max-width: 75ch; }
.voltar { max-width: 1240px; margin: 0 auto 20px; }
.voltar a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font: 600 15px/1 var(--font-head); color: var(--olive); }
.voltar a:hover { color: var(--bark); text-decoration: underline; text-underline-offset: 4px; }
.voltar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sub-acoes { max-width: 1240px; margin: 36px auto 0; display: flex; flex-wrap: wrap; gap: 12px; }
.footer-curto { padding: 40px var(--gutter); }
.pular { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 6px; background: var(--cream); color: var(--bark); font: 600 14px/1 var(--font-head); }
.pular:focus { top: 12px; }
/* chamada curta na página inicial */
.relatorios-resumo .rel-nomes { list-style: none; max-width: 1240px; margin: 0 auto 28px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.rel-nomes a { display: flex; align-items: center; min-height: 64px; height: 100%; padding: 12px 16px; border-radius: 8px; background: var(--cream); border: 1px solid rgba(95,107,44,.18); font: 700 15.5px/1.3 var(--font-head); color: var(--bark); transition: border-color .2s, background .2s; }
.rel-nomes a:hover { border-color: var(--olive); background: #fffdf7; }
.rel-nomes .rel-int a { background: var(--olive-deep); color: var(--cream); border-color: var(--olive-deep); }
.relatorios-resumo .sub-acoes { margin-top: 0; }
@media (max-width: 860px) {
  .subpagina .relatorios { padding-top: 96px; }
  .relatorios-resumo .rel-nomes { grid-template-columns: 1fr 1fr; }
  .rel-nomes a { min-height: 56px; font-size: 14.5px; }
}
.rel-estatico { max-width: 1240px; margin: 28px auto 0; display: grid; gap: 18px; }
.rel-estatico h2 { font-size: 20px; font-weight: 800; margin: 0 0 4px; }
.rel-estatico[hidden] { display: none; }

/* ---------- Ajustes de celular nos painéis da apresentação ---------- */
@media (max-width: 860px) {
  .panel.hero .lead { font-size: 17px; line-height: 1.45; margin-bottom: 18px; }
  .panel p { font-size: 16px; line-height: 1.5; }
  .panel .so-desktop { display: none; }
  .panel.left { bottom: calc(7vh + 34px); } /* espaço para o link "Pular apresentação" */
}
.topbar .btn-ghost { color: var(--terra-lit); } /* "Entrar": texto em terracota, borda mantida */

/* ---------- Celular: menu em painel lateral (botão ☰) e hero mínimo ---------- */
.menu-btn, .menu-fundo { display: none; }
@media (max-width: 860px) {
  /* topo em uma linha: ☰, logo e Entrar (sem backdrop-filter, que prenderia o painel fixo dentro do topo) */
  .topbar, .topbar.compact { flex-wrap: nowrap; gap: 10px; background: rgba(18,20,11,.97); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu-btn { display: flex; flex-direction: column; justify-content: center; gap: 5px; position: relative; z-index: 3; width: 44px; height: 44px; margin-left: -8px; padding: 10px; border: 0; background: none; cursor: pointer; flex: none; }
  .menu-btn span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--cream); transition: transform .25s ease, opacity .2s; }
  .menu-aberto .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-aberto .menu-btn span:nth-child(2) { opacity: 0; }
  .menu-aberto .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu-btn:focus-visible { outline: 2px solid var(--olive-lit); outline-offset: 2px; border-radius: 6px; }
  .brand .brand-arvore, .topbar.compact .brand-arvore { height: 38px; }
  .brand-nome, .topbar.compact .brand-nome { --logo: 18px; }
  .topbar .btn-sm { margin-left: auto; padding: 9px 14px; }
  /* painel lateral */
  .nav { position: fixed; top: 0; left: 0; bottom: 0; z-index: 2; order: 0; width: min(82vw, 320px); margin: 0; padding: 84px 24px 24px;
    flex-direction: column; gap: 0; overflow-y: auto; white-space: normal; background: var(--night); border-right: 1px solid var(--line);
    -webkit-mask-image: none; mask-image: none; transform: translateX(-100%); visibility: hidden; transition: transform .32s cubic-bezier(.2,.8,.2,1), visibility 0s linear .32s; }
  /* abre: fica visível na hora (pode receber foco); fecha: some só depois de deslizar */
  .menu-aberto .nav { transform: none; visibility: visible; transition: transform .32s cubic-bezier(.2,.8,.2,1), visibility 0s; }
  .nav a { padding: 16px 0; border-bottom: 1px solid rgba(179,189,110,.15); font: 600 20px/1.2 var(--font-head); text-shadow: none; }
  .nav a::after { display: none; }
  .menu-fundo { display: block; position: fixed; inset: 0; z-index: 49; background: rgba(0,0,0,.55); }
  .menu-fundo[hidden] { display: none; }
  body.menu-aberto { overflow: hidden; }
  /* hero mínimo: título e subtítulo em cima, globo no meio, botão embaixo; públicos ficam na seção "Para quem" */
  .hero-para { display: none; }
  .panel.hero { top: 92px; bottom: calc(7vh + 40px); display: flex; flex-direction: column; }
  .panel.hero h1 { font-size: 30px; }
  .panel.hero .actions { margin-top: auto; flex-direction: column; flex-wrap: nowrap; gap: 4px; }
  .panel.hero .actions .btn { flex: none; width: 100%; padding: 15px; font-size: 16px; }
  .panel.hero .actions .btn-ghost { background: none; box-shadow: none; text-decoration: underline; text-underline-offset: 4px; padding: 10px; }
}
@media (max-width: 860px) { #story { height: 520vh; } /* celular: apresentação em ~4,2 telas de rolagem (no computador, 760vh) */ }

/* ---------- Skeleton dos textos (hero, menu, logo e botões) enquanto fontes e globo carregam ---------- */
@keyframes sk-brilho { to { background-position: -200% 0; } }
.carregando :is(.panel.hero h1, .panel.hero .lead, .hero-para-label, .hero-chips li, .panel.hero .btn, .nav a, .topbar .btn-ghost, .brand-nome) {
  color: transparent !important; text-shadow: none !important; border-color: transparent !important; box-shadow: none !important;
  background: linear-gradient(90deg, rgba(240,231,211,.07) 25%, rgba(240,231,211,.17) 50%, rgba(240,231,211,.07) 75%) 0 0 / 200% 100% !important;
  border-radius: 6px; animation: sk-brilho 1.3s linear infinite;
}
.carregando :is(.panel.hero h1, .brand-nome) * { color: transparent !important; text-shadow: none !important; }
/* títulos e parágrafos viram uma barra por linha */
.carregando :is(.panel.hero h1, .panel.hero .lead) {
  -webkit-mask: repeating-linear-gradient(#000 0 72%, transparent 72% 100%) 0 0 / 100% 1lh;
  mask: repeating-linear-gradient(#000 0 72%, transparent 72% 100%) 0 0 / 100% 1lh;
}
:is(.panel.hero h1, .panel.hero .lead, .hero-chips li, .panel.hero .btn, .nav a, .topbar .btn-ghost) { transition: color .4s ease, background-color .4s ease, transform .2s; }
@media (prefers-reduced-motion: reduce) { .carregando :is(.panel.hero h1, .panel.hero .lead, .hero-para-label, .hero-chips li, .panel.hero .btn, .nav a, .topbar .btn-ghost, .brand-nome) { animation: none; } }

/* ---------- Subpágina de relatórios no celular (pedido 21/11/2026): lista de escolha no lugar das abas, folha compacta ---------- */
.rel-escolha, .so-celular-sub { display: none; }
@media (max-width: 860px) {
  .subpagina .sub-relatorios { padding-top: 84px; padding-bottom: 48px; }
  .sub-relatorios .voltar { margin-bottom: 8px; }
  .sub-relatorios .secao-head { margin-bottom: 20px; }
  .sub-relatorios .secao-head h1 { font-size: 27px; line-height: 1.15; }
  .sub-relatorios .so-desktop-sub { display: none; }
  .sub-relatorios .so-celular-sub { display: block; font-size: 16px; line-height: 1.5; }
  .sub-relatorios .rel-tabs { display: none; }
  .rel-escolha { display: grid; gap: 6px; }
  .rel-escolha span { font: 700 14px/1.2 var(--font-head); font-stretch: var(--narrow); color: var(--olive); }
  .rel-escolha select { appearance: none; -webkit-appearance: none; width: 100%; min-height: 54px; padding: 12px 40px 12px 14px; border-radius: 10px; border: 1.5px solid var(--olive); color: var(--bark); font: 700 15px/1.25 var(--font-head); font-stretch: var(--narrow);
    background: #fffdf7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6b2c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 20px; }
  .rel-escolha select:focus-visible { outline: 2px solid var(--olive); outline-offset: 2px; }
  .sub-relatorios .rel-integrado { margin-top: 10px; padding: 10px 14px; font-size: 14px; }
  .sub-relatorios .rel-integrado b { font-size: 15px; }
  .sub-relatorios .rel-folha { padding: 16px 14px 18px; border-radius: 10px; }
  .sub-relatorios .folha-topo h3 { font-size: 20px; line-height: 1.2; }
  .sub-relatorios .folha-topo p { font-size: 14px; line-height: 1.45; }
  .sub-relatorios .folha-corpo { padding: 16px 0; }
  .sub-relatorios .folha-resumo { padding: 12px 14px; }
  .sub-relatorios .resumo-titulo { font-size: 17px; }
  .sub-relatorios .folha-resumo p, .sub-relatorios .folha-proximo { font-size: 15px; line-height: 1.5; }
  .sub-relatorios .achados b { font-size: 14.5px; }
  .sub-relatorios .achados span:not(.nivel) { font-size: 14px; }
  .sub-relatorios .folha-dados table { font-size: 14px; }
  .sub-relatorios .folha-fontes ul { gap: 6px; }
  .sub-relatorios .fonte { padding: 8px 10px; font-size: 14px; }
  .sub-relatorios .folha-pe { grid-template-columns: 1fr; gap: 14px; }
  .sub-relatorios .folha-lista { font-size: 14.5px; }
  .sub-relatorios .sub-acoes { flex-direction: column; margin-top: 24px; }
  .sub-relatorios .sub-acoes .btn { width: 100%; justify-content: center; text-align: center; }
}

/* símbolo do logo sobre placa creme (pedido 21/11/2026): destaca os talhões e o satélite nos fundos escuros */
.brand-arvore, .footer-arvore, .cad-marca img { box-sizing: border-box; background: var(--cream); border-radius: 22%; padding: 6px; }
.topbar.compact .brand-arvore { padding: 4px; }
.footer-logo .footer-arvore { padding: 14px; }

/* ---------- Cada seção cabe na área visível (pedido 21/11/2026): espaçamentos e mídias proporcionais à altura da tela ---------- */
.situacoes { padding-block: clamp(44px, 7vh, 88px); }
.situacoes .secao-head { margin-bottom: clamp(16px, 3vh, 28px); }
.sit-foto img { aspect-ratio: auto; height: clamp(120px, 21vh, 230px); }
.sit-icone { width: 50px; height: 50px; bottom: -22px; }
.sit-icone svg { width: 25px; height: 25px; }
.sit-corpo { padding: 34px 22px 16px; }
.sit h3 { margin-bottom: 6px; }
.sit-ganho { font-size: clamp(18px, min(1.45vw, 2.7vh), 23px); margin-bottom: 14px; }
.sit-verificar { padding-top: 10px; }
.sit-rels a { min-height: 36px; font-size: 15px; }
.footer { padding: clamp(48px, 9vh, 120px) var(--gutter) clamp(28px, 5vh, 60px); }
.footer-logo .footer-arvore { width: clamp(64px, 10vh, 100px); margin-bottom: 6px; padding: 10px; }
.footer-logo .logo-nome { --logo: clamp(36px, 6vh, 56px); }
.footer-assinatura { margin: 6px 0 16px; }
.footer h2 { margin: 12px auto 8px; }
.footer .btn { margin: 12px 0 clamp(20px, 4vh, 50px); }
.footer-nav { margin-bottom: clamp(14px, 3vh, 32px); }
@media (max-width: 860px) {
  .jornada { padding: 44px 16px 40px; }
  .jornada .rota-wrap { margin-top: 20px; }
  .rota { gap: 16px; grid-auto-rows: auto; }
  .tela, .tela-botao { margin-top: 0; min-height: 0; }
  .tela-botao { margin-top: 4px; }
  .parada h3 { font-size: 17px; margin-bottom: 8px; }
  .tela { padding: 10px; gap: 6px; font-size: 12px; }
  .tela-campo { padding: 6px 8px; }
  .tela-mapa { height: 40px; }
  .tela-linha { padding-bottom: 6px; }
  .tela-linha b { font-size: 13.5px; }
  .tela-botao { padding: 7px; }
  .situacoes { padding-block: 40px; }
  .sit-foto img { height: 150px; }
  .sit-corpo { padding: 32px 16px 14px; }
  .sit-ganho { font-size: 19px; }
  /* planos: faixa com rolagem lateral, um plano por vez */
  .planos { padding: 44px 16px; }
  .planos-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 6px; scroll-padding: 0 16px; scrollbar-width: none; }
  .planos-grid::-webkit-scrollbar { display: none; }
  .plano { flex: 0 0 86%; scroll-snap-align: start; }
  .duvidas { padding: 44px 16px; }
  .footer { padding: 44px 16px 28px; }
  .footer h2 { font-size: 24px; }
}

/* carrossel "Para quem": nome do público em destaque (pedido 21/11/2026) */
.publico .publico-tag { margin: 0 0 12px; font: 800 clamp(24px, min(2.3vw, 4vh), 34px)/1.1 var(--font-head); font-stretch: var(--wide); letter-spacing: -.01em; color: var(--olive); }
.publico h4 { font-size: clamp(18px, min(1.7vw, 3vh), 24px); font-weight: 600; line-height: 1.3; color: rgba(43,42,28,.85); }
@media (max-width: 860px) {
  .publico .publico-tag { font-size: 23px; margin-bottom: 8px; }
  .publico h4 { font-size: 17px; }
}
