/* Tema CoWork, manual de marca v2 (out/2026). Só visual: trocar este arquivo não mexe em nota, IA ou tracking. */
:root {
  --rosa: #F60087;
  --preto: #0F0F10;
  --branco: #FFFFFF;
  --papel: #EEEEEB;
  --rosa-claro: #FFD7EA;
  --grafite: #5E5E66;
  --linha: #D6D6D2;

  --fonte: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --serifa: 'Instrument Serif', Georgia, serif;

  --gutter: clamp(16px, 4vw, 48px);
  --largura: 760px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papel);
  color: var(--preto);
  font: 400 17px/1.55 var(--fonte);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--rosa); outline-offset: 3px; }
#conteudo:focus { outline: none; }

/* Esferas como pontuação (manual: dois-pontos abre, ponto final fecha) */
.dp {
  display: inline-block;
  width: .3em; height: .54em;
  margin-left: .06em;
  background: url(/assets/cowork-dois-pontos_rosa.svg) no-repeat bottom / contain;
}
.pf {
  display: inline-block;
  width: .2em; height: .2em;
  margin-left: .05em;
  border-radius: 50%;
  background: var(--rosa);
}

/* Títulos: Bricolage ExtraBold condensada, caixa baixa, entrelinha fechada */
.titulo-capa, .titulo, .faixa-nome {
  font-weight: 800;
  font-stretch: 75%;
  font-variation-settings: 'wdth' 75;
  line-height: .9;
  letter-spacing: -.01em;
  margin: 0;
}
.titulo-capa em, .titulo em {
  font-family: var(--serifa);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: normal;
  letter-spacing: 0;
}
.editoria {
  margin: 0 0 18px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .01em;
}
.editoria--claro { color: var(--branco); }

/* Botões */
.botao {
  appearance: none; border: 0; cursor: pointer;
  font: 700 18px/1 var(--fonte);
  padding: 18px 28px;
  border-radius: 999px;
  transition: transform .15s ease, background-color .15s ease;
}
.botao:active { transform: scale(.98); }
.botao--rosa { background: var(--rosa); color: var(--preto); }
.botao--rosa:hover { background: #ff2a9b; }
.botao--preto { background: var(--preto); color: var(--branco); }
.botao--preto:hover { background: #2a2a2e; }
.botao[disabled] { opacity: .6; cursor: progress; }
.voltar {
  appearance: none; background: none; border: 0; padding: 8px 0; margin-top: 28px;
  font: 500 15px var(--fonte); color: var(--grafite); cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.voltar:hover { color: var(--preto); }

/* CAPA: o dois-pontos gigante cortado pela borda, como na capa de apresentação */
.capa {
  position: relative;
  overflow: hidden;
  background: var(--preto);
  color: var(--branco);
  min-height: min(100svh, 880px);
  display: flex;
}
.capa__dois-pontos { position: absolute; inset: 0; pointer-events: none; }
.capa__dois-pontos span { position: absolute; border-radius: 50%; background: var(--rosa); }
.capa__dois-pontos span:first-child { width: 31vmax; height: 31vmax; right: -9vmax; top: -12vmax; }
.capa__dois-pontos span:last-child { width: 52vmax; height: 52vmax; right: -22vmax; bottom: -30vmax; }
.capa__inner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px var(--gutter) 56px;
  display: flex; flex-direction: column;
}
.capa .logo { width: 150px; height: auto; margin-bottom: auto; }
.capa .editoria { margin-top: 12vh; }
.titulo-capa {
  font-size: clamp(54px, 9.6vw, 132px);
  max-width: 10.5em;
  text-wrap: balance;
}
.titulo-capa em { color: var(--rosa); }
.capa__promessa {
  max-width: 34em;
  margin: 28px 0 0;
  font-size: clamp(17px, 1.6vw, 20px);
  color: #D9D9DC;
}
.capa__acao { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.capa__meta { margin: 0; font-size: 14px; color: #A6A6AD; }

.sobre { background: var(--branco); }
.sobre__inner {
  max-width: 1200px; margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) var(--gutter);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 88px);
}
.sobre__texto p { margin: 0 0 18px; max-width: 36em; }
.aviso { padding-left: 16px; border-left: 3px solid var(--rosa); color: var(--grafite); }
.aviso strong { color: var(--preto); }
.glossario { margin: 0; display: grid; gap: 18px; align-content: start; }
.glossario div { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--linha); }
.glossario dt { font-weight: 800; font-stretch: 75%; font-variation-settings: 'wdth' 75; font-size: 26px; line-height: 1; }
.glossario dd { margin: 0; font-size: 15px; }
.glossario__nota { margin: 0; font-size: 13px; color: var(--grafite); }

/* PALCO (quiz, formulário, resultado) */
.palco { min-height: 100svh; display: flex; flex-direction: column; }
.topo {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px var(--gutter);
  max-width: 1200px; width: 100%; margin: 0 auto;
}
.topo .logo { width: 120px; height: auto; flex: none; }
.progresso { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }
.progresso li {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 500; color: var(--grafite);
}
.progresso li::before {
  content: ''; width: 10px; height: 10px; border-radius: 50%;
  border: 1.5px solid var(--grafite);
  transition: background-color .3s ease, border-color .3s ease;
}
.progresso li[data-estado='atual'] { color: var(--preto); font-weight: 700; }
.progresso li[data-estado='atual']::before { border-color: var(--rosa); }
.progresso li[data-estado='feito']::before { background: var(--rosa); border-color: var(--rosa); }

main { flex: 1; width: 100%; max-width: var(--largura); margin: 0 auto; padding: clamp(24px, 6vh, 64px) var(--gutter) 64px; }

.pergunta__contador { margin: 0 0 6px; font-size: 13px; color: var(--grafite); }
.pergunta__intro { margin: -6px 0 18px; color: var(--grafite); }
.pergunta__apoio { margin: -18px 0 26px; font-size: 15px; color: var(--grafite); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pergunta__texto {
  margin: 0 0 30px;
  font-weight: 700;
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.18;
  letter-spacing: -.01em;
  text-wrap: pretty;
}
.opcoes { border: 0; margin: 0; padding: 0; display: grid; gap: 0; }
.opcoes legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.opcao { position: relative; display: block; cursor: pointer; }
.opcao input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opcao span {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 14px;
  border-top: 1px solid var(--linha);
  font-size: 17px; line-height: 1.35;
  transition: background-color .15s ease, color .15s ease;
}
.opcao:last-child span { border-bottom: 1px solid var(--linha); }
.opcao span::before {
  content: ''; flex: none; width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid var(--grafite);
}
.opcao:hover span { background: rgba(15, 15, 16, .04); }
.opcao input:focus-visible + span { outline: 3px solid var(--rosa); outline-offset: -3px; }
/* Idle discreto; fundo cheio só quando selecionada */
.opcao input:checked + span { background: var(--preto); color: var(--branco); border-color: var(--preto); }
.opcao input:checked + span::before { background: var(--rosa); border-color: var(--rosa); }

/* Formulário */
.form .titulo, .resultado .titulo { font-size: clamp(44px, 7vw, 76px); margin-bottom: 30px; }
.campo { margin-bottom: 18px; }
.campo label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.opcional { font-weight: 500; color: var(--grafite); }
.campo select,
.campo input {
  width: 100%; padding: 14px 16px;
  font: 400 17px var(--fonte); color: var(--preto);
  background: var(--branco); border: 1.5px solid var(--linha); border-radius: 10px;
}
.campo input:focus, .campo select:focus { border-color: var(--preto); outline: none; }
.campo select { appearance: none; cursor: pointer; padding-right: 40px; background: var(--branco) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235E5E66' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center; }
.campo select[aria-invalid='true'] { border-color: var(--rosa); }
.telefone { display: flex; background: var(--branco); border: 1.5px solid var(--linha); border-radius: 10px; }
.telefone:focus-within { border-color: var(--preto); }
.telefone:has(input[aria-invalid='true']) { border-color: var(--rosa); }
.telefone__pais { position: relative; display: flex; align-items: center; gap: 8px; padding: 0 12px 0 16px; border-right: 1.5px solid var(--linha); font: 500 17px var(--fonte); flex: none; }
.telefone__pais img { width: 24px; height: 17px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.telefone__seta { font-size: 12px; color: var(--grafite); }
.telefone__pais select { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.telefone__pais:has(select:focus-visible) { outline: 3px solid var(--rosa); outline-offset: 2px; border-radius: 8px; }
.telefone input, .telefone input:focus { border: 0; background: transparent; min-width: 0; }
.campo input[aria-invalid='true'] { border-color: var(--rosa); }
.campo__dica { margin: 6px 0 0; font-size: 14px; color: var(--grafite); }
.lgpd { font-size: 14px; color: var(--grafite); margin: 22px 0 14px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; margin-bottom: 22px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--preto); flex: none; }
.turnstile:empty { display: none; }
.turnstile { margin-bottom: 18px; }
.form__erro { color: #B0005F; font-weight: 700; margin: 0 0 14px; }
.form__nota { font-size: 14px; color: var(--grafite); margin: 14px 0 0; }

/* Carregando */
.carregando { min-height: 40vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; font-weight: 700; }
.carregando__esfera { width: 56px; height: 56px; border-radius: 50%; background: var(--rosa); animation: pulso 1.1s ease-in-out infinite alternate; }
@keyframes pulso { from { transform: scale(.7); } to { transform: scale(1); } }

/* Resultado */
.selo {
  display: flex; align-items: center; gap: 22px; margin-bottom: 26px;
}
.selo__esfera {
  flex: none;
  width: clamp(112px, 16vw, 148px); aspect-ratio: 1; border-radius: 50%;
  background: var(--rosa); color: var(--branco);
  display: grid; place-items: center;
  font-weight: 800; font-stretch: 75%; font-variation-settings: 'wdth' 75;
  font-size: clamp(48px, 7vw, 64px); line-height: 1;
}
.selo__rotulo { margin: 0; font-size: 14px; color: var(--grafite); }
.faixa-nome { font-size: clamp(48px, 8vw, 92px); margin: 4px 0 0; }
.faixa-texto { font-size: 18px; margin: 0 0 18px; }
.envio { font-size: 15px; color: var(--grafite); margin: 0 0 44px; }
.secao-titulo { font-weight: 800; font-stretch: 75%; font-variation-settings: 'wdth' 75; font-size: 34px; line-height: 1; margin: 0 0 6px; }
.secao-sub { margin: 0 0 18px; font-size: 15px; color: var(--grafite); }
.pilares { list-style: none; margin: 0 0 36px; padding: 0; }
.pilar { padding: 16px 0; border-top: 1px solid var(--linha); }
.pilar:last-child { border-bottom: 1px solid var(--linha); }
.pilar__linha { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.pilar__nome { font-weight: 700; }
.pilar__status { font-size: 14px; font-weight: 700; color: var(--grafite); white-space: nowrap; }
.pilar[data-status='prioridade'] .pilar__status { color: #B0005F; }
.pilar__barra { margin-top: 10px; height: 6px; background: var(--linha); border-radius: 3px; overflow: hidden; }
.pilar__barra i { display: block; height: 100%; background: var(--preto); border-radius: 3px; transform-origin: left; animation: encher .9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes encher { from { transform: scaleX(0); } }
.cegos { background: var(--rosa-claro); padding: 20px 22px; margin: 0 0 36px; }
.cegos strong { font-weight: 800; }
.cta { background: var(--preto); color: var(--branco); padding: clamp(28px, 5vw, 44px); margin: 0 0 36px; }
.cta h3 { margin: 0 0 14px; font-weight: 800; font-stretch: 75%; font-variation-settings: 'wdth' 75; font-size: clamp(32px, 5vw, 48px); line-height: .95; }
.cta p { margin: 0 0 24px; color: #D9D9DC; }
.cta .botao { display: inline-block; text-decoration: none; }
.cta--discreto .botao { background: transparent; color: var(--branco); box-shadow: inset 0 0 0 1.5px var(--branco); }
.teste { border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha); margin: 0 0 30px; }
.teste summary { cursor: pointer; padding: 18px 0; font-weight: 800; font-size: 20px; }
.teste[open] summary { padding-bottom: 8px; }
.teste ol { padding-left: 22px; }
.teste li { margin-bottom: 8px; }
.teste .prompts li { font-style: normal; }
.rodape-nota { font-size: 14px; color: var(--grafite); }

.rodape {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px;
  max-width: 1200px; width: 100%; margin: 0 auto;
  padding: 22px var(--gutter) 30px; font-size: 13px; color: var(--grafite);
}

/* Telas */
body:not([data-tela='capa']) .capa, body:not([data-tela='capa']) .sobre { display: none; }
body[data-tela='capa'] .palco { display: none; }

@media (max-width: 760px) {
  .sobre__inner { grid-template-columns: 1fr; }
  .progresso li span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .progresso li[data-estado='atual'] span { position: static; width: auto; height: auto; clip: auto; }
  .progresso { gap: 10px; }
  .capa .editoria { margin-top: 8vh; }
  .capa__dois-pontos span:first-child { width: 46vw; height: 46vw; right: -16vw; top: -14vw; }
  .capa__dois-pontos span:last-child { width: 60vw; height: 60vw; right: -30vw; bottom: -38vw; }
  .capa__meta { max-width: 62%; }
  .selo { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
