/* Pagina de venda (Punho e Atelie), visual 2026-10-18.
   Carregado depois de styles.css: troca fontes e cores pelos tokens abaixo e reorganiza as secoes de venda.
   A oficina (#atelier) herda os tokens; as fontes de assinatura (nomes) nao mudam. */

@font-face{font-family:'Geist';src:url('/src/fonts/geist/Geist-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Geist';src:url('/src/fonts/geist/Geist-Medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Geist';src:url('/src/fonts/geist/Geist-SemiBold.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Geist';src:url('/src/fonts/geist/Geist-Bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}

/* ---------- tokens ---------- */
:root[data-brand="punho"]{--paper:#f5f5f5;--paper-light:#ffffff;--ink:#0a0a0a;--muted:#5c5c5c;--line:#e5e5e5;--rust:#2f5bff;--wet:#2f5bff;
  --l-head-a:#000000;--l-head-b:#666666;--l-band:#0a0a0a;--l-band-ink:#ffffff}
html[data-brand="atelie"] body{--display:var(--l-font);--serif:var(--l-font);--paper:#1f1f1f;--paper-light:#131209;--ink:#f2ede4;--muted:#a8a29a;--line:#313131;
  --l-head-a:#ffffff;--l-head-b:#9b9b9b;--l-band:#f2ede4;--l-band-ink:#131209}
:root{--l-font:'Geist',system-ui,sans-serif;--l-ease:cubic-bezier(.32,.72,0,1);--display:var(--l-font);--serif:var(--l-font);--sans:var(--l-font)}

html{scroll-padding-top:96px}
body{background:var(--paper-light);color:var(--ink);font-family:var(--l-font)}
h1,h2,h3,h4{text-wrap:balance}
p,li,summary{text-wrap:pretty}
:is(h1,h2,h3,h4,.button,.mode-title,.plan-price,.entry-proof>p){font-family:var(--l-font)}
html[data-brand] :is(h1,h2,h3,h4,.entry-proof>p,.mode-title,.plan-price){font-weight:600;letter-spacing:-.02em}
html[data-brand] :is(h1,h2,h3,h4) em{font-style:normal;font-weight:600}
main>section:not(.workspace-section){scroll-margin-top:96px}

/* ---------- botoes ---------- */
html[data-brand] .button{font:600 16px/24px var(--l-font);padding:8px 12px;border-radius:9999px;transition:transform .5s var(--l-ease),background-color .5s var(--l-ease),box-shadow .5s var(--l-ease)}
html[data-brand] .button:hover{transform:translateY(-1px)}
html[data-brand] .button:active{transform:scale(.98)}
html[data-brand] .button:focus-visible{outline:2px solid var(--rust);outline-offset:2px}
html[data-brand] .button-small{font-size:14px;line-height:20px}

/* ---------- menu: ilha de vidro ---------- */
:root[data-brand] .site-header{position:fixed;top:24px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);height:auto;margin:0;padding:8px 8px 8px 16px;gap:32px;border:1px solid var(--line);border-radius:9999px;background:color-mix(in srgb,var(--paper-light) 72%,transparent);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);z-index:50}
html[data-brand] .site-header .brand{font-size:12px;line-height:16px;letter-spacing:.12em}
html[data-brand] .site-header .brand-mark{font:700 30px/1 var(--l-font);color:var(--ink)}
html[data-brand="atelie"] .site-header .brand-mark{color:var(--rust)}
html[data-brand] .main-nav{gap:24px;align-items:center}
html[data-brand] .main-nav>a{font:500 14px/20px var(--l-font);color:var(--muted);text-decoration:none;transition:color .5s var(--l-ease)}
html[data-brand] .main-nav>a:hover,html[data-brand] .main-nav>a[aria-current]{color:var(--ink)}
html[data-brand] .menu-toggle{display:none;position:relative;width:40px;height:40px;border:0;border-radius:9999px;background:transparent;color:var(--ink);font-size:0;cursor:pointer}
html[data-brand] .menu-toggle span{position:absolute;left:12px;width:16px;height:2px;border-radius:2px;background:currentColor;transition:transform .7s var(--l-ease)}
html[data-brand] .menu-toggle span:first-child{transform:translateY(-4px)}
html[data-brand] .menu-toggle span:last-child{transform:translateY(4px)}
html[data-brand] .menu-toggle[aria-expanded="true"] span:first-child{transform:rotate(45deg)}
html[data-brand] .menu-toggle[aria-expanded="true"] span:last-child{transform:rotate(-45deg)}
@media(max-width:850px){
  :root[data-brand] .site-header{left:16px;right:16px;width:auto;transform:none;justify-content:space-between;padding:4px 4px 4px 16px}
  /* com o menu aberto o cabecalho perde o vidro: senao o menu fixo fica preso dentro dele */
  html.menu-aberto[data-brand] .site-header{-webkit-backdrop-filter:none;backdrop-filter:none;background:transparent;border-color:transparent}
  html[data-brand] .menu-toggle{display:block;z-index:2}
  html[data-brand] .main-nav{position:fixed;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:16px;padding:96px 32px;margin:0;border-radius:0;background:color-mix(in srgb,var(--paper-light) 80%,transparent);-webkit-backdrop-filter:blur(64px);backdrop-filter:blur(64px);opacity:0;visibility:hidden;transition:opacity .7s var(--l-ease),visibility 0s .7s}
  html[data-brand] .main-nav.nav-open{opacity:1;visibility:visible;transition:opacity .7s var(--l-ease)}
  html[data-brand] .main-nav>*{transform:translateY(48px);opacity:0;transition:transform .7s var(--l-ease),opacity .7s var(--l-ease)}
  html[data-brand] .main-nav.nav-open>*{transform:none;opacity:1}
  html[data-brand] .main-nav>a{font-size:30px;line-height:36px;color:var(--ink)}
  html[data-brand] .main-nav.nav-open>:nth-child(2){transition-delay:.1s}html[data-brand] .main-nav.nav-open>:nth-child(3){transition-delay:.15s}
  html[data-brand] .main-nav.nav-open>:nth-child(4){transition-delay:.2s}html[data-brand] .main-nav.nav-open>:nth-child(5){transition-delay:.25s}
  html[data-brand] .main-nav.nav-open>:nth-child(6){transition-delay:.3s}html[data-brand] .main-nav.nav-open>:nth-child(7){transition-delay:.35s}
  html.menu-aberto{overflow:hidden}
}

/* ---------- topo ---------- */
html[data-brand] .editorial-hero{min-height:100svh;padding:128px 0 64px}
html[data-brand] .editorial-hero::before{background:none}
html[data-brand] .editorial-copy{max-width:680px}
html[data-brand] .editorial-copy h1{font-size:60px;line-height:1;letter-spacing:-.03em;max-width:680px}
html[data-brand] .editorial-copy h1>em{font-style:normal;font-weight:600}
html[data-brand] .editorial-copy h1>*{background:linear-gradient(90deg,var(--l-head-a),var(--l-head-b));-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
html[data-brand] .editorial-copy .hero-lead{max-width:680px;margin:24px auto 0;font-size:18px;line-height:28px;color:var(--muted)}
html[data-brand] .study-paper{margin-top:40px;border:1px solid var(--line);border-radius:24px;background:var(--paper-light);box-shadow:0 24px 64px -32px color-mix(in srgb,var(--ink) 28%,transparent)}
html[data-brand="atelie"] .study-paper{background:var(--paper);box-shadow:0 24px 64px -24px #000000}
html[data-brand] .study-paper-topline,html[data-brand] .study-paper-caption{font:500 12px/16px var(--l-font);letter-spacing:.12em;color:var(--muted)}
html[data-brand] .hero-name{border-radius:9999px}
html[data-brand] .pad-hands{margin-top:24px;gap:8px}
html[data-brand] .pad-hands button{font:500 14px/20px var(--l-font);padding:4px 12px;border-radius:9999px}
html[data-brand] .editorial-hero>.small-note{max-width:680px;margin:16px auto 0;font-size:14px;line-height:20px;color:var(--muted);text-align:center}

/* ---------- secoes ---------- */
html[data-brand] .section-wrap{width:min(1120px,100% - 32px)}
html[data-brand] main>section:not(.editorial-hero):not(.workspace-section):not(.strip):not(.hero):not(.warning):not(#results){padding-block:96px}
html[data-brand] main h2{font-size:48px;line-height:1;letter-spacing:-.03em}
html[data-brand] main h2 em{color:var(--muted)}
html[data-brand] main h3{font-size:20px;line-height:28px}
.secao-titulo{text-align:center}
html[data-brand] main>.secao-titulo{padding-bottom:0}
.secao-titulo p{max-width:680px;margin:16px auto 0;font-size:18px;line-height:28px;color:var(--muted)}

/* tres jeitos de comecar: cartoes com borda inteira */
html[data-brand] .entry-proof>p{font-size:30px;line-height:36px;margin:0 0 32px}
html[data-brand] .entry-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;border:0}
html[data-brand] .entry-modes .mode-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--paper-light);text-align:left;transition:background-color .7s var(--l-ease),transform .7s var(--l-ease)}
html[data-brand] .entry-modes .mode-card:hover{background:var(--paper);transform:translateY(-2px)}
html[data-brand] .mode-card:focus-visible{outline:2px solid var(--rust);outline-offset:2px}
html[data-brand] .mode-title{font-size:20px;line-height:28px}
html[data-brand] .mode-copy{font-size:16px;line-height:24px;color:var(--muted)}
html[data-brand] .mode-link{margin-top:auto;padding-top:8px;font:600 14px/20px var(--l-font);color:var(--rust)}

/* o que voce leva */
.beneficios-grade{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:40px}
.beneficio{padding:24px;border-radius:16px;background:var(--paper)}
.beneficio-num{display:block;margin-bottom:16px;font:500 14px/20px var(--l-font);color:var(--rust);font-variant-numeric:tabular-nums}
.beneficio h3{margin:0 0 8px}
.beneficio p{margin:0;font-size:16px;line-height:24px;color:var(--muted)}

/* faixa de assinaturas */
html[data-brand] .strip.section-wrap{width:auto;background:var(--l-band)}
html[data-brand] .strip-item b{color:var(--l-band-ink)}
html[data-brand] .strip-item span{color:color-mix(in srgb,var(--l-band-ink) 62%,transparent);font-family:var(--l-font)}

/* frase que acende palavra por palavra */
.frase-texto{max-width:880px;margin:0;font:600 48px/1 var(--l-font);letter-spacing:-.03em;color:var(--ink)}
.frase-texto .palavra{opacity:.3;transition:opacity .7s var(--l-ease)}
.frase-texto .palavra.acesa{opacity:1}

/* catalogo recolhido */
:root[data-brand="punho"] .guide-style{background:var(--paper-light);border-color:var(--line)}
.guide-list.recolhido>.guide-style:nth-child(n+9){display:none}
.guia-mais{margin-top:32px}

/* planos */
html[data-brand] .plan{border:1px solid var(--line);border-radius:16px;background:var(--paper-light)}
html[data-brand] .plan-main{border-color:var(--ink);background:var(--ink);color:var(--paper-light)}
html[data-brand] .plan-price{font-size:36px;line-height:40px;font-variant-numeric:tabular-nums}

/* perguntas */
.faq{display:grid;gap:8px;max-width:880px;margin-top:40px}
.faq-item{border:1px solid var(--line);border-radius:12px;background:var(--paper-light);transition:background-color .7s var(--l-ease)}
.faq-item[open]{background:var(--paper)}
.faq-item summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 24px;font:600 18px/28px var(--l-font);cursor:pointer;list-style:none}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:'+';flex:none;font:400 24px/1 var(--l-font);color:var(--muted);transition:transform .7s var(--l-ease)}
.faq-item[open] summary::after{transform:rotate(45deg)}
.faq-item summary:focus-visible{outline:2px solid var(--rust);outline-offset:2px;border-radius:12px}
.faq-item p{margin:0;padding:0 24px 24px;font-size:16px;line-height:24px;color:var(--muted)}

/* chamada final */
.final{text-align:center}
html[data-brand] main>.final{margin-block:0 96px;padding:80px 24px;border-radius:24px;background:var(--paper)}
.final p{max-width:680px;margin:16px auto 32px;font-size:18px;line-height:28px;color:var(--muted)}

/* rodape */
html[data-brand] .site-footer{font-size:14px;line-height:20px;color:var(--muted);border-top:1px solid var(--line)}

/* revelar ao rolar (a classe so entra com JavaScript e sem movimento reduzido) */
.a-revelar{opacity:0;transform:translateY(64px);filter:blur(12px)}
.a-revelar.is-in{opacity:1;transform:none;filter:none;transition:opacity .9s var(--l-ease),transform .9s var(--l-ease),filter .9s var(--l-ease)}

@media(max-width:850px){
  .beneficios-grade{grid-template-columns:repeat(2,minmax(0,1fr))}
  html[data-brand] .entry-modes{grid-template-columns:1fr}
}
@media(max-width:620px){
  html[data-brand] .editorial-hero{padding:112px 0 48px}
  html[data-brand] .editorial-copy h1{font-size:30px;line-height:36px}
  html[data-brand] .editorial-copy .hero-lead{font-size:16px;line-height:24px}
  html[data-brand] main>section:not(.editorial-hero):not(.workspace-section):not(.strip):not(.hero):not(.warning):not(#results){padding-block:64px}
  html[data-brand] main h2{font-size:30px;line-height:36px}
  html[data-brand] .entry-proof>p{font-size:24px;line-height:32px}
  .beneficios-grade{grid-template-columns:1fr}
  .frase-texto{font-size:30px;line-height:36px}
  .faq-item summary{padding:16px;font-size:16px;line-height:24px}
  .faq-item p{padding:0 16px 16px}
  html[data-brand] main>.final{margin-bottom:64px;padding:64px 16px}
}
@media(prefers-reduced-motion:reduce){
  .a-revelar{opacity:1;transform:none;filter:none}
  .frase-texto .palavra{opacity:1;transition:none}
  html[data-brand] .main-nav>*,html[data-brand] .menu-toggle span{transition:none}
}

/* ---------- Nome na Pele (pele.html) ---------- */
html[data-brand="pele"]{--bg:#000000;--panel:#181818;--line:#313131;--ink:#f2f0eb;--muted:#9b9a95;--paper:#181818;--paper-light:#000000;--rust:var(--seal,#e2462f);
  --display:var(--l-font);--sans:var(--l-font);--serif:var(--l-font);--l-head-a:#ffffff;--l-head-b:#9b9b9b}
html[data-brand="pele"] body{background:#000000;font-family:var(--l-font)}
html[data-brand="pele"] .logo{font:500 12px/16px var(--l-font);letter-spacing:.12em}
html[data-brand="pele"] main{max-width:1120px;padding-inline:16px}
html[data-brand="pele"] .hero{min-height:100svh;padding:112px 0 48px}
html[data-brand="pele"] .hero h1{font:600 60px/1 var(--l-font);letter-spacing:-.03em;background:linear-gradient(90deg,var(--l-head-a),var(--l-head-b));-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
html[data-brand="pele"] .hero h1 em{font:inherit;letter-spacing:inherit;display:inline;transform:none;color:transparent;-webkit-text-fill-color:transparent}
html[data-brand="pele"] .hero .lead{max-width:680px;font-size:18px;line-height:28px;color:var(--muted)}
html[data-brand="pele"] .chip{font:500 14px/20px var(--l-font);border-radius:9999px}
html[data-brand="pele"] #name{font:400 16px/24px var(--l-font)}
html[data-brand="pele"] #go{font:600 16px/24px var(--l-font);border-radius:9999px;padding:8px 16px}
.hero-prova{margin:16px 0 0;font-size:14px;line-height:20px;color:var(--muted)}
html[data-brand="pele"] .sheet{background:#181818;border:1px solid var(--line);border-radius:16px}
html[data-brand="pele"] .warning{border-radius:12px}
html[data-brand="pele"] .date-tool{max-width:none;border-top:0}
html[data-brand="pele"] .date-tool h2,html[data-brand="pele"] .como h2{margin-top:0}
.como-passos{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:0;margin:40px 0 16px}
.como-passos li{padding:24px;border-radius:16px;background:var(--paper);font-size:16px;line-height:24px;color:var(--muted)}
.como-passos b{display:block;margin-bottom:8px;font-size:20px;line-height:28px;font-weight:600;color:var(--ink)}
html[data-brand="pele"] .secao-titulo{text-align:left}
html[data-brand="pele"] .secao-titulo p{margin-left:0}
html[data-brand="pele"] .plans{border-top:0}
@media(max-width:850px){.como-passos{grid-template-columns:1fr}}
@media(max-width:620px){
  html[data-brand="pele"] .hero{padding-top:96px}
  html[data-brand="pele"] .hero h1{font-size:36px;line-height:40px}
  html[data-brand="pele"] .hero .lead{font-size:16px;line-height:24px}
}
html[data-brand="pele"] .final .button{background:var(--seal,#e2462f);color:#000000;border:0}
