/* Tempo Livre: páginas por dor (SEO, 23/11/2026), geradas por _fonte/paginas_dor.py.
   Usam os tokens e componentes de style.css, complementos.css e enxuto.css; aqui só o cabeçalho, o topo e as listas.
   Sem JavaScript: nada fica escondido esperando animação. */
body.sub { padding-top: 78px; }
.sub-topo { position: fixed; inset: 0 0 auto; z-index: 50; background: #fff; border-bottom: 1px solid var(--linha); }   /* sem desfoque (pesava em celular e PC fraco) */
.sub-topo-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1280px; margin: 0 auto; padding: 14px var(--gutter); }
.sub-topo img { display: block; width: auto; height: 32px; }
.sub-topo nav { display: flex; align-items: center; gap: 26px; }
.sub-topo .topo-link { color: var(--azul); }
.sub-topo .btn { padding: 12px 18px; font-size: 11px; }

.painel:first-child { margin-top: 18px; }
/* topo: texto à esquerda e o protótipo animado à direita (no tablet e no celular, um embaixo do outro) */
.sub-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 40px clamp(30px, 4vw, 64px); align-items: center; }
.sub-hero-mk .mk { box-shadow: 0 34px 60px -30px rgba(16, 37, 54, .6); }
.sub-trilha { display: flex; justify-content: center; gap: 10px; margin: 0 0 22px; font-size: 12.5px; color: var(--azul-70); }
.sub-trilha a { color: var(--terracota-texto); text-underline-offset: 3px; }
.sub-hero .tit { margin: 0; font-size: clamp(30px, 3.5vw, 52px); line-height: 1.04; text-wrap: balance; }
.sub-hero .sub-trilha, .sub-hero .sub-acoes { justify-content: flex-start; }
.sub-hero .sub-lead { margin-left: 0; }
.sub-lead { max-width: 620px; margin: 20px auto 0; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.65; color: var(--azul-70); }
.escuro .sub-lead { color: rgba(242, 237, 227, .78); }
.sub-acoes { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 14px; margin-top: 28px; }

.sub-duas { display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(30px, 5vw, 80px); }
.sub-duas .tit { font-size: clamp(26px, 2.6vw, 38px); line-height: 1.08; }
.sub-lista { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.sub-lista li { position: relative; padding: 16px 18px 16px 44px; border-radius: 4px; font-size: 15px; line-height: 1.5; }
.sub-lista-dor li { border: 1px dashed rgba(242, 237, 227, .24); color: rgba(242, 237, 227, .72); }
.sub-lista-dor li::before { content: ""; position: absolute; left: 18px; top: 22px; width: 10px; height: 2px; background: #ff9d8c; }
.sub-lista-sol li { background: var(--grao), linear-gradient(135deg, #d98a66, #c66f4e 55%, #a5553a); color: var(--azul); font-weight: 500; }
.sub-lista-sol li::before { content: ""; position: absolute; left: 18px; top: 19px; width: 6px; height: 11px; border: solid var(--azul); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.sub-como .tit { font-size: clamp(28px, 3vw, 44px); line-height: 1.06; }
.sub-passos { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--linha); }
.sub-passos li { display: flex; flex-direction: column; gap: 8px; padding: 24px 22px 6px 0; }
.sub-passos li + li { padding-left: 22px; border-left: 1px solid var(--linha); }
.sub-passos i { font: 600 11px/1 var(--sans); font-style: normal; letter-spacing: .2em; color: var(--terracota-texto); }
.sub-passos b { font: 400 clamp(22px, 2.1vw, 30px)/1.05 var(--serif); letter-spacing: .03em; text-transform: uppercase; }
.sub-passos span { font-size: 14px; line-height: 1.45; color: var(--azul-70); }

.sub-cta { text-align: center; }
.sub-cta .tit { max-width: 900px; margin: 0 auto; font-size: clamp(26px, 3vw, 42px); line-height: 1.1; text-wrap: balance; }
.sub-outras { max-width: 980px; margin: 46px auto 0; padding-top: 28px; border-top: 1px solid var(--linha); }
.sub-outras ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.sub-outras a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--linha); border-radius: 999px; color: var(--azul); font-size: 13.5px; font-weight: 500; text-decoration: none; transition: border-color .25s, background .25s; }
.sub-outras a:hover { border-color: var(--terracota); background: rgba(198, 111, 78, .08); }

.sub-rodape { flex-direction: column; justify-content: center; padding: 40px var(--gutter) 50px; text-align: center; }
.sub-rodape nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 24px; margin-top: 14px; }

@media (max-width: 1000px) {
  .sub-hero { grid-template-columns: 1fr; text-align: center; }
  .sub-hero .tit { margin: 0 auto; }
  .sub-hero .sub-trilha, .sub-hero .sub-acoes { justify-content: center; }
  .sub-hero .sub-lead { margin-left: auto; }
  .sub-hero-mk { width: 100%; max-width: 560px; margin: 0 auto; }
  .sub-passos { grid-template-columns: 1fr 1fr; }
  .sub-passos li:nth-child(3) { padding-left: 0; border-left: 0; }
  .sub-passos li:nth-child(n+3) { border-top: 1px solid var(--linha); }
}
@media (max-width: 860px) {
  .sub-duas { grid-template-columns: 1fr; }
  .sub-esconde { display: none; }
}
@media (max-width: 560px) {
  body.sub { padding-top: 66px; }
  .sub-topo-in { padding: 12px 16px; }
  .sub-topo img { height: 26px; }
  .sub-topo .btn { padding: 10px 12px; font-size: 10px; letter-spacing: .08em; }
  .sub-acoes .btn { width: 100%; }
  .sub-lista li { font-size: 14px; }
  .sub-passos li, .sub-passos li + li { padding: 16px 10px 6px 0; }
  .sub-passos li:nth-child(even) { padding-left: 12px; }
  .sub-passos b { font-size: 19px; }
  .sub-passos span { font-size: 12.5px; }
}

/* ---------- movimento (24/11/2026): as páginas ficam vivas, mas tudo aparece mesmo sem JavaScript ----------
   O pagina.js põe a classe .js e marca os blocos com .visto ao rolar; html.sem-animacao (style.css) desliga tudo. */
.sub-hero, .sub-cta { isolation: isolate; }
.sub-hero > :not(.curvas), .sub-cta > :not(.curvas) { position: relative; z-index: 1; }
.sub-hero-txt > * { animation: heroSobe .9s var(--ease) both; }
.sub-hero-txt > :nth-child(2) { animation-delay: .1s; }
.sub-hero-txt > :nth-child(3) { animation-delay: .2s; }
.sub-hero-txt > :nth-child(4) { animation-delay: .35s; }
.sub-hero-txt > :nth-child(5) { animation-delay: .5s; }
.sub-hero-txt > :nth-child(6) { animation-delay: .65s; }
.sub-hero-mk { animation: subEntra 1.1s var(--ease) .3s both; }
.sub-hero-mk .mk { animation: subFlutua 7s ease-in-out 1.6s infinite; transition: transform .5s var(--ease); }
@keyframes subEntra { from { opacity: 0; transform: translateY(30px) scale(.97); } }
@keyframes subFlutua { 50% { transform: translateY(-9px); } }

/* linha que troca as tarefas: "Chega de ..." */
.sub-gira { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 18px 0 0; font: 500 15.5px/1.4 var(--sans); color: var(--azul-70); }
.sub-gira-itens { display: inline-grid; }
.sub-gira-itens b {
  grid-area: 1 / 1; font-weight: 600; color: var(--terracota-texto); white-space: nowrap;
  text-decoration: line-through; text-decoration-color: rgba(198, 111, 78, .55); text-decoration-thickness: 2px;
  opacity: 0; animation: subGira 10s infinite both;
}
.sub-gira-itens b:first-child { opacity: 1; }
.sub-gira-itens b:nth-child(2) { animation-delay: 2.5s; }
.sub-gira-itens b:nth-child(3) { animation-delay: 5s; }
.sub-gira-itens b:nth-child(4) { animation-delay: 7.5s; }
@keyframes subGira { 0% { opacity: 0; transform: translateY(10px); } 3%, 22% { opacity: 1; transform: none; } 25%, 100% { opacity: 0; transform: translateY(-10px); } }

/* faixa corrida de ferramentas */
.sub-faixa {
  overflow: hidden; max-width: 1280px; margin: 0 auto 18px; padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.sub-faixa-in { display: flex; width: max-content; animation: subCorre 42s linear infinite; }
.sub-faixa span { padding: 0 22px; font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(242, 237, 227, .72); white-space: nowrap; }
.sub-faixa i { font-style: normal; font-size: 11px; color: var(--terracota); }
@keyframes subCorre { to { transform: translateX(-50%); } }

/* dor -> solução: as dores entram e são riscadas; depois as soluções chegam uma a uma */
.js .sub-lista li[data-revela] { transition-delay: calc(var(--i, 0) * 110ms); }
.sub-lista-dor li span {
  background: linear-gradient(rgba(255, 157, 140, .8), rgba(255, 157, 140, .8)) 0 58% / 0% 1px no-repeat;
  transition: background-size .8s var(--ease), color .8s; transition-delay: calc(.7s + var(--i, 0) * .2s);
}
.sub-lista-dor li.visto span, html:not(.js) .sub-lista-dor li span { background-size: 100% 1px; color: rgba(242, 237, 227, .5); }
.js .sub-lista-sol li[data-revela] { transition-delay: calc(.9s + var(--i, 0) * .18s); }
.js .sub-lista-sol li[data-revela]:not(.visto) { transform: translateX(-26px); }
.sub-lista-sol li::before { transition: transform .45s var(--ease); transition-delay: inherit; }
.js .sub-lista-sol li:not(.visto)::before { transform: rotate(45deg) scale(0); }
.sub-lista-sol li { transition: opacity .9s var(--ease), transform .9s var(--ease), box-shadow .3s; }
.sub-lista-sol li:hover { box-shadow: 0 14px 28px -16px rgba(198, 111, 78, .9); }

/* como funciona: uma linha terracota percorre os passos e acende cada número */
.sub-passos { position: relative; }
.sub-passos::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--terracota); transform-origin: left; transform: scaleX(0); transition: transform 1.8s var(--ease) .2s; }
.sub-passos.visto::before, html:not(.js) .sub-passos::before { transform: none; }
.sub-passos i { display: inline-block; align-self: flex-start; padding: 5px 9px; border-radius: 999px; background: rgba(198, 111, 78, .1); transition: background .4s, color .4s; }
.sub-passos.visto li i { background: var(--terracota); color: var(--azul); }
.sub-passos.visto li:nth-child(1) i { transition-delay: .3s; }
.sub-passos.visto li:nth-child(2) i { transition-delay: .75s; }
.sub-passos.visto li:nth-child(3) i { transition-delay: 1.2s; }
.sub-passos.visto li:nth-child(4) i { transition-delay: 1.65s; }
.sub-passos b { transition: color .3s; }
.sub-passos li:hover b { color: var(--terracota-texto); }

/* outras soluções entrando em sequência */
.js .sub-outras li[data-revela] { transition-delay: calc(var(--i, 0) * 90ms); }
.sub-outras a { transition: border-color .25s, background .25s, transform .25s var(--ease); }
.sub-outras a:hover { transform: translateY(-2px); }

/* WhatsApp flutuante: aparece depois do topo */
.zap-flutua {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px;
  background: var(--terracota); color: var(--azul); font: 700 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 16px 34px -12px rgba(6, 12, 16, .7); opacity: 0; transform: translateY(130%); pointer-events: none;
  transition: transform .5s var(--ease), opacity .5s, background .25s;
}
.zap-flutua.mostra, html:not(.js) .zap-flutua { opacity: 1; transform: none; pointer-events: auto; }
.zap-flutua:hover { background: var(--terracota-claro); }
.zap-flutua svg { width: 22px; height: 22px; fill: currentColor; }
.zap-flutua::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--terracota); opacity: 0; animation: zapPulso 2.8s ease-out 1s infinite; pointer-events: none; }
@keyframes zapPulso { from { transform: scale(1); opacity: .7; } to { transform: scale(1.35, 1.6); opacity: 0; } }
@media (max-width: 1000px) { .sub-gira { justify-content: center; } }
@media (max-width: 560px) { .zap-flutua { right: 14px; bottom: 14px; padding: 12px; } .zap-flutua span { display: none; } .sub-faixa span { padding: 0 16px; font-size: 11px; } }
