/* nova-design.css — camada de teste só para /nova-design e /nova-design-perfil.html (03/11/2026).
   A /nova passou por três lentes: Impeccable (crítica e polimento), Taste Skill (anti-"cara de IA") e Emil Kowalski
   (movimento e detalhe invisível). Nada aqui muda texto, ordem das seções nem a identidade clara da Rede: muda
   (1) LEGIBILIDADE para quem tem 55+, (2) rótulos minúsculos em caixa alta que mal se liam, (3) o botão verde com
   degradê, (4) estados de toque e (5) um movimento discreto, que some com prefers-reduced-motion.
   Escopo: tudo sob body.nd, para não vazar para nenhuma outra página que carregue rede.css. */

body.nd{
  --nd-ease-out:cubic-bezier(.23,1,.32,1);
  --nd-label:#8A560C;            /* âmbar escuro: 6,2:1 no branco, 5,6:1 no fundo da página (o --amber-deep dava 3,4–3,8:1) */
  --nd-verde:#1B7A43; --nd-verde-2:#156336;
}

/* ---------- superfícies do navegador (seleção, quebra de título) ---------- */
body.nd ::selection{background:#D9DEF3;color:var(--ink)}
body.nd h1,body.nd h2,body.nd h3,body.nd .n-card .frase{text-wrap:balance}
body.nd p{text-wrap:pretty}

/* ---------- 1. Legibilidade 55+ ----------
   Antes: 12 tamanhos (11 a 20px); o que a cliente precisa ler para decidir (o jeito de conduzir, o "Com <nome>", o
   próximo horário, o FAQ) estava em 12,5–15,5px. Agora: leitura em 17–18px, informação de apoio em 15px. */
body.nd .n-sub{margin-top:10px;font-size:18px;line-height:1.45}
body.nd .n-chips .chip{font-size:15px;padding:8px 16px}
body.nd .n-count{font-size:15px}
body.nd .n-card .titulo{font-size:15px;line-height:1.35}
body.nd .n-card .onde,body.nd .n-card .nota{font-size:15px;line-height:1.4}
body.nd .n-card .jeito,body.nd .n-card .conta{font-size:17px;line-height:1.5}
body.nd .n-todos{font-size:17px;line-height:1.5}
body.nd .n-card .frase{font-size:clamp(19px,4.9vw,21px);line-height:1.28}
body.nd .n-card .trans,body.nd .n-card .arco{font-size:17px;line-height:1.5}
body.nd .n-card .areas span{font-size:14px;padding:5px 12px}
body.nd .n-card .preco b{font-size:20px}
body.nd .n-card .preco small{font-size:15px}
body.nd .n-card .preco span{font-size:15px;margin-top:5px;color:#17663F}   /* o --ok dava 4,4:1 na faixa lilás; este dá 5,5:1 */
body.nd .n-card .preco span.off{color:var(--ink-2)}
body.nd .n-entenda{font-size:17px}
body.nd .n-le p{font-size:18px;line-height:1.6}
body.nd .n-le .aviso{font-size:15px}
body.nd .n-passo p{font-size:17px;line-height:1.55}
body.nd summary{font-size:18px;line-height:1.4;align-items:flex-start}
body.nd details p{font-size:17px;line-height:1.6}
body.nd .n-rod{font-size:16px}
body.nd .n-rod .links a{display:inline-flex;align-items:center;min-height:44px}
body.nd .n-rod .links{gap:0 24px}
body.nd .n-rod .legal{font-size:14px}
/* ★ de texto (emoji/glifo) virou um desenho: mesmo âmbar, mesmo tamanho da letra, alinhado à linha */
body.nd .nd-estrela{display:inline-block;width:.95em;height:.95em;fill:var(--amber);vertical-align:-.1em;margin-right:2px}

/* ---------- 2. Rótulos ----------
   "A LUZ ESTELAR", "COMO É A SESSÃO", "ANTES/DURANTE/DEPOIS": 12px, caixa alta espaçada e 3,4–3,8:1 de contraste.
   Mesmas palavras, agora em caixa normal, 15–16px, cor que passa no WCAG AA. */
body.nd .eyebrow{font:700 15px/1.3 var(--sans);letter-spacing:0;text-transform:none;color:var(--nd-label)}
body.nd .n-passo .n{font:700 15px/1.2 var(--sans);letter-spacing:0;color:var(--nd-label)}

/* ---------- 3. Filtros: dois grupos, não nove botões iguais ----------
   No computador os 9 chips quebravam e "Presencial" sobrava sozinho na 2ª linha. Agora: temas numa linha, formato
   na de baixo. No celular continua UMA fileira que corre de lado (regra do Cesar: filtro não empurra o 1º rosto);
   a borda direita esmaece para mostrar que tem mais. */
@media (max-width:859px){
  body.nd .n-chips{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 36px),transparent);padding-right:36px}
}
@media (min-width:860px){
  body.nd .n-chips{flex-direction:column;align-items:flex-start;gap:12px}
  body.nd .n-chips>div{display:flex;flex-wrap:wrap;gap:8px}
}

/* ---------- 4. Botão "Ver horários": cor única, sem degradê ---------- */
body.nd .btn-agendar{background:var(--nd-verde);box-shadow:0 4px 12px rgba(27,122,67,.22)}

/* ---------- 5. Toque e resposta (Emil: o botão tem que sentir o dedo) ----------
   Só transform/cor, 140–200ms, ease-out forte. Hover só onde existe mouse. */
body.nd .btn,body.nd .chip,body.nd .n-entenda,body.nd .video-slot .vs-play{
  transition:transform 160ms var(--nd-ease-out),background-color 180ms ease,color 180ms ease,border-color 180ms ease,box-shadow 200ms ease}
body.nd .btn:active,body.nd .chip:active,body.nd .n-entenda:active{transform:scale(.97)}
body.nd .n-card{transition:box-shadow 220ms ease,transform 220ms var(--nd-ease-out)}
body.nd .n-card:has(.nome:active){transform:scale(.995)}
@media (hover:hover) and (pointer:fine){
  body.nd .btn-agendar:hover{background:var(--nd-verde-2);box-shadow:0 8px 20px rgba(27,122,67,.28);transform:translateY(-1px)}
  body.nd .chip:hover{border-color:var(--indigo)}
  body.nd .n-entenda:hover{background:#DCE1F3}
  body.nd .n-card:hover{box-shadow:var(--shadow-lift)}
  body.nd .n-card .saiba:hover{text-decoration-thickness:2px}
}
@media (hover:none){body.nd .btn-agendar:hover{transform:none}}

/* ---------- 6. Movimento discreto (uma vez, na chegada) ----------
   Cards da lista: sobem 10px e aparecem, 60ms um do outro, só na 1ª pintura (filtrar não anima de novo: é ação
   repetida). Seções de baixo: título → texto → imagem, ao entrar na tela, uma vez. Sem JS nada fica escondido:
   a classe que esconde só é posta pelo nova-design.js. "Saiba mais" e FAQ abrem com um fade curto. */
@keyframes nd-sobe{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes nd-aparece{from{opacity:0}to{opacity:1}}
body.nd .n-lista.nd-chegada>.n-card,body.nd .n-lista.nd-chegada>.n-entenda{animation:nd-sobe 420ms var(--nd-ease-out) both;animation-delay:calc(var(--nd-i,0) * 60ms)}
body.nd .nd-reveal{opacity:0;transform:translateY(14px)}
body.nd .nd-reveal.nd-on{opacity:1;transform:none;transition:opacity 520ms var(--nd-ease-out),transform 520ms var(--nd-ease-out);transition-delay:calc(var(--nd-i,0) * 80ms)}
body.nd .n-card .abre:not([hidden]){animation:nd-sobe 260ms var(--nd-ease-out)}
body.nd details[open]>p{animation:nd-sobe 240ms var(--nd-ease-out)}
@media (hover:hover) and (pointer:fine){body.nd .video-slot:hover .vs-play{transform:translate(-50%,-50%) scale(1.05)}}
body.nd .video-slot img{transition:transform 600ms var(--nd-ease-out)}
@media (hover:hover) and (pointer:fine){body.nd .video-slot:hover img{transform:scale(1.02)}}

/* Menos movimento: fica só o fade (ajuda a perceber que algo mudou), sem deslocamento nem escala. */
@media (prefers-reduced-motion:reduce){
  body.nd .n-lista.nd-chegada>.n-card,body.nd .n-lista.nd-chegada>.n-entenda{animation:nd-aparece 200ms ease both;animation-delay:0ms}
  body.nd .nd-reveal{transform:none}
  body.nd .nd-reveal.nd-on{transition:opacity 200ms ease;transition-delay:0ms}
  body.nd .n-card .abre:not([hidden]),body.nd details[open]>p{animation:nd-aparece 160ms ease}
  body.nd .btn:active,body.nd .chip:active,body.nd .n-entenda:active,body.nd .n-card:has(.nome:active){transform:none}
  body.nd .btn-agendar:hover,body.nd .video-slot:hover img{transform:none}
  body.nd .video-slot:hover .vs-play{transform:translate(-50%,-50%)}
}

/* ---------- 7. Moldura: o olhar começa no rosto (Cesar, 03/11/2026: a escolha está "levemente monótona"; pediu 1 ou 2
   elementos visuais que direcionem o olhar, "uma moldura por exemplo") ----------
   Nos perfis reais boa parte dos cards ainda não tem headline nem frase de condução: sobra foto + nome + faixa + botão,
   nove vezes igual. Dois elementos, os dois na foto, que é o que a cliente procura primeiro:
   (a) a foto ganha topo em ARCO (uma janela, um portal) com um fio dourado a 3px dela, a moldura;
   (b) a estrela OFICIAL (assets/estrela-le.png) pousa no canto da moldura, como um selo da Luz Estelar.
   O olho vai rosto → nome → botão; o resto do card não muda. */
body.nd .n-card .topo{padding-top:4px}
body.nd .n-card .foto{margin:4px 0 0 4px;width:112px;height:136px}
body.nd .n-card .ph{width:112px;height:136px;border-radius:56px 56px 14px 14px;background:var(--amber-soft);
  outline:1.5px solid var(--amber);outline-offset:3px}
body.nd .n-card .demo{border-radius:0 0 14px 14px}
body.nd .n-card .foto::after{content:"";position:absolute;top:-9px;right:-11px;width:30px;height:30px;border-radius:50%;
  background:#fff url(/assets/estrela-le.png) center/20px 20px no-repeat;box-shadow:0 1px 3px rgba(26,33,64,.18)}
body.nd .n-card .topo{grid-template-columns:120px 1fr;gap:14px}
@media (min-width:860px){
  body.nd .n-card .topo{grid-template-columns:136px 1fr;gap:18px}
  body.nd .n-card .foto{width:128px;height:156px}
  body.nd .n-card .ph{width:128px;height:156px;border-radius:64px 64px 16px 16px}
  body.nd .n-card .demo{border-radius:0 0 16px 16px}
}
/* Ao passar o mouse no card, o fio da moldura acende um pouco (só com mouse; nada em toque nem com menos movimento). */
body.nd .n-card .ph{transition:outline-color 220ms ease,outline-offset 260ms var(--nd-ease-out)}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  body.nd .n-card:hover .ph{outline-color:var(--amber-deep);outline-offset:4px}
}

/* Seção A Luz Estelar (03/11): texto e vídeo da home, coluna única centrada */
body.nd .n-le .le-col{max-width:760px;text-align:center}
body.nd .n-le .le-col h2 em{font-style:italic;color:var(--indigo)}
body.nd .n-le .le-fio{display:flex;align-items:center;justify-content:center;gap:10px;margin:28px auto 4px;max-width:180px}
body.nd .n-le .le-fio::before,body.nd .n-le .le-fio::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,var(--amber))}
body.nd .n-le .le-fio::after{transform:scaleX(-1)}
body.nd .n-le .le-video{margin:28px auto 0;border-radius:20px;overflow:hidden;box-shadow:var(--shadow-lift);aspect-ratio:4/3;background:#0d1330}
body.nd .n-le .le-video video{display:block;width:100%;height:100%;object-fit:cover}
body.nd .n-le .le-sub{font:500 clamp(22px,4.6vw,26px)/1.25 var(--serif);color:var(--ink);margin-top:32px}
body.nd .n-le .aviso{margin-top:24px}
body.nd .n-le .le-cta{margin-top:28px;display:flex;justify-content:center}
body.nd .n-le .le-logo{display:block;width:min(200px,52vw);height:auto;margin:0 auto 24px}

/* ---------- 16/11/2026 · otimização de página (Clarity/Lighthouse/DeepGaze; Cesar aprovou os itens 1 a 3) ----------
   1) Layout estável: enquanto a lista (home) e o perfil (#pf) não chegam da API, o espaço do 1º cartão fica reservado e o que vem
      DEPOIS da lista fica invisível (visibility, não display: não ocupa nem conta como salto). Se a API demorar, aparece em 5 s. */
@keyframes nd-ver{to{visibility:visible}}
body.nd .n-lista:empty{min-height:560px;border-radius:var(--radius);background:var(--surface);border:1px solid var(--line)}
body.nd:has(#lista:empty) .n-ad,body.nd:has(#lista:empty) .n-le,body.nd:has(#lista:empty) .n-faq,body.nd:has(#lista:empty) .n-rod{visibility:hidden;animation:nd-ver 0s 5s forwards}
body.nd #pf:empty{min-height:900px}
/* 2) Primeiro cartão mais alto na 1ª tela do celular: só respiro do cabeçalho de apresentação (textos e tamanhos de letra intactos). */
@media (max-width:620px){
  body.nd .n-lista-sec{padding-top:12px}
  body.nd .n-sub{margin-top:4px}
  body.nd .n-todos{margin-top:8px;line-height:1.42}
  body.nd .n-chips{margin-top:10px}
  body.nd .n-lista{margin-top:12px}
}
/* 3) Perfil no celular: o aviso de cookies sai de cima da barra "preço + Ver horários" e do texto; fica no topo, sobre a foto, e fecha com um toque. */
@media (max-width:980px){
  body.nd:has(.mbar) #rede-aviso-priv{top:80px;bottom:auto}
  html.tem-aviso-priv body.nd:has(.mbar){padding-bottom:76px}
}

/* ---------- 19/11/2026 · elementos visuais da home antiga de volta (Cesar: "só retomar elementos visuais bonitos") ----------
   Céu de constelações no topo, ondas com fios de luz dourada entre as seções, fechamento com a foto do pôr do sol e rodapé com
   constelação. Mesmas peças da /homeantiga (home.css, adornos.css), reescritas sob body.nd. Texto e ordem não mudam. */
body.nd{--h-onda-h:72px}
@media (min-width:861px){body.nd{--h-onda-h:104px}}

/* céu no topo: a imagem do horizonte com constelações, bem clara, esmaecendo até sumir antes do primeiro cartão */
body.nd .n-lista-sec{overflow:hidden;padding-bottom:64px}
body.nd .n-lista-sec::before{content:"";position:absolute;left:0;right:0;top:0;height:460px;pointer-events:none;
  background:url(constelacao.svg) 0 0/480px repeat,url(kv-hero.webp) 72% 0/cover no-repeat;opacity:.6;
  -webkit-mask-image:linear-gradient(180deg,#000 0,#000 35%,transparent 100%);mask-image:linear-gradient(180deg,#000 0,#000 35%,transparent 100%)}
body.nd .n-lista-sec>.wrap{position:relative}
/* poeira dourada (pontos que cintilam devagar; parados com menos movimento) */
body.nd .n-lista-sec>.wrap::before{content:"";position:absolute;left:10px;top:6px;width:3px;height:3px;border-radius:50%;pointer-events:none;
  background:#F2C26B;box-shadow:120px 20px 0 0 rgba(242,194,107,.8),300px -2px 0 -1px rgba(255,255,255,.9),250px 120px 0 0 rgba(242,194,107,.6),
  640px 40px 0 -1px rgba(242,194,107,.8),860px 90px 0 0 rgba(242,194,107,.6),1000px 10px 0 -1px rgba(255,255,255,.8);
  animation:cintila 5s ease-in-out infinite}
@media (min-width:861px){body.nd .n-lista-sec::before{height:560px;background-position:70% 30%}}

/* ondas entre as seções, com três fios de luz que derivam devagar */
body.nd .n-le,body.nd .n-ad,body.nd .n-faq{position:relative}
body.nd .n-le,body.nd .n-faq{background:var(--surface)}
body.nd .n-ad{background:linear-gradient(180deg,rgba(241,243,246,0) 0,rgba(241,243,246,0) calc(100% - 140px),var(--bg) 100%) 0 0/100% 100% no-repeat,
  url(constelacao.svg) 0 0/480px repeat,var(--bg)}   /* a constelação esmaece antes da onda (sem corte seco; .claude/rules/respiro.md) */
body.nd .h-de-cinza,body.nd .h-de-branco{padding-top:calc(56px + var(--h-onda-h) / 2)}
@media (min-width:861px){body.nd .h-de-cinza,body.nd .h-de-branco{padding-top:calc(72px + var(--h-onda-h) / 2)}}
body.nd .h-onda{position:absolute;left:0;right:0;top:calc(var(--h-onda-h) / -2);height:var(--h-onda-h);pointer-events:none;overflow:hidden;z-index:1}
body.nd .h-onda svg{display:block;width:100%;height:100%;overflow:visible}
body.nd .h-de-branco>.h-onda:not(.h-para-escuro){background:var(--surface)}
body.nd .h-de-branco>.h-onda:not(.h-para-escuro) .o-fill{fill:var(--bg)}
body.nd .h-de-cinza>.h-onda:not(.h-para-escuro){background:var(--bg)}
body.nd .h-de-cinza>.h-onda:not(.h-para-escuro) .o-fill{fill:var(--surface)}
body.nd .h-onda .o-luz path{fill:none;vector-effect:non-scaling-stroke;stroke-linecap:round}
body.nd .h-onda .l-ouro{stroke:rgba(214,150,52,.55);stroke-width:1.4}
body.nd .h-onda .l-fina{stroke:rgba(214,150,52,.35);stroke-width:1}
body.nd .h-onda .l-anil{stroke:rgba(52,66,160,.18);stroke-width:1.2}
/* da última seção clara para o fechamento escuro */
body.nd .n-faq{padding-bottom:calc(64px + var(--h-onda-h) / 2)}
body.nd .h-para-escuro{top:auto;bottom:calc(var(--h-onda-h) / -2);z-index:3;background:linear-gradient(180deg,transparent 50%,var(--ink) 50%)}
body.nd .h-para-escuro .o-fill{fill:var(--ink)}
body.nd .h-para-escuro .l-ouro{stroke:rgba(242,169,59,.8)}
body.nd .h-para-escuro .l-fina{stroke:rgba(242,169,59,.5)}
body.nd .h-para-escuro .l-anil{stroke:rgba(255,255,255,.22)}
@media (prefers-reduced-motion:no-preference){
  body.nd .h-onda .o-luz{animation:h-deriva 60s linear infinite}
  body.nd .h-de-cinza>.h-onda .o-luz,body.nd .h-para-escuro .o-luz{animation-direction:reverse}
}
@keyframes h-deriva{to{transform:translateX(1440px)}}
@media (prefers-reduced-motion:reduce){body.nd .n-lista-sec>.wrap::before{animation:none}}

/* fechamento: foto da mulher respirando diante das montanhas, sobre o anil */
body.nd .h-fecho{position:relative;overflow:hidden;z-index:2;background:var(--ink);color:#fff}
body.nd .h-fecho .bg{position:absolute;left:0;right:0;bottom:0;height:520px;background:url(fechamento-respira.webp) 62% 30%/cover no-repeat;
  -webkit-mask-image:linear-gradient(180deg,transparent 0,#000 34%,#000 70%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0,#000 34%,#000 70%,transparent 100%)}
body.nd .h-fecho .wrap{position:relative;padding:calc(64px + var(--h-onda-h) / 2) 0 400px}
body.nd .h-fecho-txt h2{color:#fff;font-size:clamp(30px,5vw,46px);line-height:1.12}
body.nd .h-fecho-txt h2 em{font-style:italic;color:var(--amber)}
body.nd .h-fecho-txt p{margin:16px 0 0;color:#D9DDEE;font-size:18px;line-height:1.55;max-width:460px}
body.nd .h-fecho-txt .btn{margin-top:28px;width:100%}
body.nd .h-fecho-txt .h-garantia{margin-top:24px;font-size:15px;color:#C9CEEA}
body.nd .h-fecho :focus-visible{outline-color:#fff}
@media (min-width:861px){
  body.nd .h-fecho .bg{top:0;left:auto;width:58%;height:auto;background-position:60% 30%;
    -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 38%),linear-gradient(180deg,transparent 0,transparent 56px,#000 300px,#000 75%,transparent 100%);
    mask-image:linear-gradient(90deg,transparent 0,#000 38%),linear-gradient(180deg,transparent 0,transparent 56px,#000 300px,#000 75%,transparent 100%);
    -webkit-mask-composite:source-in;mask-composite:intersect}
  body.nd .h-fecho .wrap{padding:calc(112px + var(--h-onda-h) / 2) 0 120px}
  body.nd .h-fecho-txt{max-width:520px}
  body.nd .h-fecho-txt .btn{width:auto;min-width:260px}
}
/* rodapé: a constelação clara volta ao anil, separada do fechamento por um fio dourado */
body.nd .n-rod{background:var(--ink) url(constelacao-clara.svg) 0 0/420px repeat;border-top:1px solid rgba(242,169,59,.25)}
/* enquanto a lista carrega, o fechamento também espera (mesma regra do bloco de 16/11) */
body.nd:has(#lista:empty) .h-fecho{visibility:hidden;animation:nd-ver 0s 5s forwards}
