.pagina-participacao { color: #203c4e; }
.pix-imagem { display: block; width: min(100%, 280px); height: auto; margin: 24px auto; padding: 12px; background: #fff; border-radius: 12px; }
.pix-codigo { margin-top: 24px; }
.pix-codigo textarea { min-height: 72px; font-size: 13px; overflow-wrap: anywhere; }
.pix-status { margin-top: 20px; font-size: 15px; line-height: 1.5; }
#pix-ambiente { margin-bottom: 20px; font-weight: 600; }
.pagina-participacao [hidden] { display: none !important; }
.apoio-escolha { border: 0; padding: 0; min-width: 0; }
.apoio-escolha legend { font-weight: 600; margin-bottom: 10px; }
.apoio-opcoes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.campo .apoio-opcoes label { display: flex; align-items: center; gap: 8px; padding: 12px 10px; min-height: 48px; margin: 0; border-radius: 12px; background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1px rgba(49,86,107,.25); cursor: pointer; font-size: 14px; }
.campo .apoio-opcoes input[type=radio] { width: 17px; height: 17px; min-height: 0; padding: 0; border: 0; box-shadow: none; flex: none; margin: 0; accent-color: #31566b; }
.campo .apoio-opcoes label span { color: inherit; font: inherit; margin: 0; }
.campo .apoio-opcoes label:has(input:checked) { background: #31566b; color: #fff; box-shadow: inset 0 0 0 1px #31566b; }
.apoio-opcoes label:focus-within { outline: 2px solid #31566b; outline-offset: 3px; }
.icones { position: absolute; width: 0; height: 0; overflow: hidden; }
.participacao-shell { width: min(100% - 40px, 1040px); margin-inline: auto; padding: 26px 0 max(24px, env(safe-area-inset-bottom)); }
.participacao-topo { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; }
.voltar-transmissao { display: inline-flex; gap: 5px; align-items: center; min-height: 44px; color: #29495d; text-decoration: none; }
.voltar-transmissao svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.nome-transmissao { font-weight: 600; }
.etapas { max-width: 400px; margin: 28px auto 40px; }
.etapas ol { display: flex; list-style: none; padding: 0; gap: 12px; font-size: 12px; }
.etapas li { flex: 1; padding-top: 10px; position: relative; color: #365268; text-align: center; }
.etapas li::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 4px; background: rgba(38,72,92,.17); }
.etapas li[aria-current] { color: #16384d; font-weight: 700; }
.etapas li[aria-current]::before, .etapas li.concluida::before { background: #31566b; }
.titulo-pagina { text-align: center; margin-bottom: 34px; }
.titulo-pagina h1 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 500; letter-spacing: -.035em; line-height: 1.13; text-wrap: balance; color: #203c4e; }
.titulo-pagina h1:focus { outline: none; }
.titulo-pagina p { margin-top: 12px; font-size: 17px; line-height: 1.5; color: #365268; }
.opcoes-participacao { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 880px; margin: 0 auto; }
.opcao { --h: 207; --k: .48; --raio: 30px; --aresta: 1.6px; --chanfro: 4px; --apice: 42deg; border: 0; border-radius: 30px; padding: 32px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; font: inherit; cursor: pointer; text-shadow: none; min-height: 330px; }
.opcao.vidro-claro::before { border-radius: 28px; }
.opcao.vidro-claro::after { border-radius: 29px; }
.opcao.gel { background: radial-gradient(85% 75% at 90% 5%, rgba(197,225,240,.15), transparent 80%), linear-gradient(125deg, #2d5065, #42677d); }
.opcao > * { position: relative; z-index: 3; }
.icone-opcao { width: 46px; height: 46px; stroke: currentColor; stroke-width: 1.6; fill: none; margin-bottom: 30px; }
.opcao strong { font-size: 25px; font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.opcao > span:not(.opcao-acao) { line-height: 1.5; font-size: 16px; margin-top: 12px; }
.opcao > .opcao-destino { font-size: 12px !important; margin-top: 20px !important; }
.opcao-acao { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 28px; font-size: 14px; font-weight: 600; }
.opcao-acao svg, .acao-principal svg { width: 21px; height: 21px; stroke: currentColor; stroke-width: 1.6; fill: none; flex: none; }
@media (hover: hover) { .opcao:hover .opcao-acao { text-decoration: underline; text-underline-offset: 5px; } }
.nota-escolha { text-align: center; color: #365268; font-size: 14px; margin-top: 28px; }
.participacao-rodape { margin-top: 44px; text-align: center; color: #365268; font-size: 12px; line-height: 1.6; }
.voltar-etapa, .acao-texto { min-height: 44px; border: 0; background: transparent; color: #29495d; font: 500 14px var(--fonte); cursor: pointer; padding: 8px 0; text-underline-offset: 4px; }
.voltar-etapa:hover, .acao-texto:hover { text-decoration: underline; }
.titulo-formulario { text-align: left; margin: 18px 0 28px; }
.titulo-formulario h1 { font-size: clamp(28px, 3.4vw, 36px); }
.composicao-formulario { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; gap: 36px; }
.formulario-vidro, .resumo-vidro { padding: 32px; border-radius: 26px; text-shadow: none; }
.formulario-vidro::before, .resumo-vidro::before { border-radius: 24px; }
.formulario-vidro::after, .resumo-vidro::after { border-radius: 25px; }
.campo { margin-bottom: 24px; }
.campo label, .cores-empresa legend { display: block; font-size: 16px; font-weight: 600; color: #203c4e; margin-bottom: 9px; }
.campo label span, .opcionais summary span { font-weight: 400; color: #456072; font-size: 12px; margin-left: 6px; }
.campo input:not([type=file]), .campo select, .campo textarea {
  display: block; width: 100%; min-height: 50px; border: 1px solid #8ca7b6; border-radius: 12px;
  background: rgba(250,253,255,.72); color: #203c4e; padding: 13px 14px; font: 400 16px/1.45 var(--fonte);
  box-shadow: inset 0 1px 3px rgba(38,72,92,.06); caret-color: #31566b;
}
.campo textarea { resize: vertical; min-height: 150px; }
.campo select { cursor: pointer; }
.campo select option { background: #f1f6f9; color: #203c4e; }
.campo input::placeholder, .campo textarea::placeholder { color: #526977; opacity: 1; }
.campo [aria-invalid=true] { border-color: #913c3c !important; }
.erro-campo { margin-top: 8px; color: #8b3030; font-size: 14px; line-height: 1.4; }
.ajuda-campo, .linha-ajuda { color: #456072; font-size: 13px; line-height: 1.5; margin-top: 8px; }
.linha-ajuda { display: flex; justify-content: space-between; align-items: start; gap: 14px; }
.linha-ajuda output { flex: none; font-variant-numeric: tabular-nums; }
.regras-conteudo { padding-top: 4px; margin-bottom: 26px; color: #365268; font-size: 13px; line-height: 1.55; }
.regras-conteudo strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.regras-conteudo p + p { margin-top: 8px; }
.acao-principal, .acao-secundaria { display: flex; width: 100%; justify-content: center; gap: 12px; align-items: center; min-height: 52px; padding: 14px 18px; border: 0; border-radius: 13px; font: 600 15px/1.4 var(--fonte); cursor: pointer; text-decoration: none; }
.acao-principal { background: linear-gradient(145deg, #46697c, #294b60); color: #f7fbff; box-shadow: inset 0 1px 1px rgba(255,255,255,.5), 0 3px 7px rgba(22,53,73,.2); }
.acao-principal:hover { background: linear-gradient(145deg, #3b6075, #223f52); }
.acao-principal:active { transform: translateY(1px); }
.acao-principal:disabled { opacity: .65; cursor: wait; }
.acao-secundaria { color: #294b60; background: rgba(240,248,253,.7); box-shadow: inset 0 0 0 1px #8ca7b6; margin-top: 24px; }
.pagina-participacao :is(a, button, input, textarea, select, summary):focus-visible { outline: 3px solid #31566b; outline-offset: 4px; }
.opcao.gel:focus-visible { outline-color: #173c53; }
.previa-lateral { position: sticky; top: 28px; padding-top: 4px; }
.previa-lateral h2 { font-size: 16px; font-weight: 500; margin: 0 0 18px 3px; }
.previa-mensagem { padding: 26px; border-radius: 24px; text-shadow: none; min-height: 242px; }
.autor-previa { display: flex; align-items: center; gap: 12px; }
.avatar-previa { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border: 1px solid #9ab2c0; border-radius: 50%; color: #365268; background: rgba(65,94,112,.08); font-size: 12px; }
.autor-previa strong { display: block; font-size: 14px; overflow-wrap: anywhere; }
.autor-previa div > span { display: block; margin-top: 4px; font-size: 12px; color: #456072; }
.previa-mensagem > p { font-size: 21px; font-style: italic; line-height: 1.45; letter-spacing: -.015em; overflow-wrap: anywhere; white-space: pre-wrap; margin-top: 24px; }
.previa-legenda { margin: 18px 3px 0; color: #365268; font-size: 12px; line-height: 1.6; }
.opcionais { margin-bottom: 28px; border-top: 1px solid rgba(49,86,107,.2); border-bottom: 1px solid rgba(49,86,107,.2); }
.opcionais summary { cursor: pointer; padding-block: 18px; color: #203c4e; font-size: 15px; font-weight: 600; }
.campos-opcionais { padding-top: 8px; }
.cores-empresa { padding: 0; margin: 0 0 28px; border: 0; min-width: 0; }
.cores-empresa > p { color: #456072; font-size: 13px; line-height: 1.5; }
.paleta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.paleta label { display: flex; flex-direction: column; gap: 8px; color: #365268; font-size: 12px; }
.paleta input { cursor: pointer; width: 100%; height: 48px; padding: 4px; background: rgba(255,255,255,.5); border: 1px solid #8ca7b6; border-radius: 11px; }
.paleta input::-webkit-color-swatch-wrapper { padding: 0; }
.paleta input::-webkit-color-swatch { border: 0; border-radius: 6px; }
.paleta input::-moz-color-swatch { border: 0; border-radius: 6px; }
.upload-logo { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px dashed #8ca7b6; border-radius: 12px; background: rgba(255,255,255,.25); }
.upload-logo > svg { width: 26px; height: 26px; stroke: #456072; stroke-width: 1.4; fill: none; flex: none; }
.upload-logo > div { min-width: 0; }
.upload-logo input { max-width: 100%; font: 13px var(--fonte); color: #365268; }
.upload-logo input::file-selector-button { min-height: 38px; border: 0; border-radius: 7px; padding: 8px 12px; background: #d6e5ed; color: #203c4e; cursor: pointer; margin-right: 8px; font: 600 13px var(--fonte); }
.logo-selecionada { display: flex; align-items: center; gap: 16px; justify-content: space-between; margin-top: 10px; font-size: 12px; overflow-wrap: anywhere; }
.logo-selecionada button { min-height: 44px; flex: none; border: 0; background: transparent; color: #294b60; text-decoration: underline; cursor: pointer; }
.antes-acao { margin-bottom: 22px; }
.previa-banner { --marca-1: #31566b; --marca-2: #a9c9d9; --marca-3: #f1f6f9; --marca-texto: #fff; color: var(--marca-texto); background: var(--marca-1); border-radius: 20px; padding: 25px; box-shadow: -4px 8px 18px rgba(22,53,73,.2); position: relative; overflow: hidden; min-height: 242px; }
.previa-banner::before { content: ''; position: absolute; left: 0; bottom: 0; width: 72%; height: 7px; background: var(--marca-2); }
.previa-banner::after { content: ''; position: absolute; right: 0; bottom: 0; width: 28%; height: 7px; background: var(--marca-3); }
.marca-previa { display: flex; align-items: center; gap: 12px; overflow-wrap: anywhere; font-size: 14px; }
.logo-previa { width: 58px; height: 58px; padding: 5px; object-fit: contain; background: #fff; border-radius: 9px; flex: none; }
.frase-previa { font-size: 27px; font-weight: 600; line-height: 1.15; letter-spacing: -.025em; margin-top: 22px; overflow-wrap: anywhere; }
.complemento-previa { font-size: 15px; line-height: 1.5; margin-top: 12px; overflow-wrap: anywhere; }
.contatos-previa { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; margin-top: 20px; overflow-wrap: anywhere; }
.contatos-previa span { max-width: 100%; }
.anuncio-marca { display: block; text-align: right; font-size: 10px; margin-top: 20px; }
.tela-estreita { max-width: 660px; margin-inline: auto; }
.resumo-vidro h2 { font-size: 19px; font-weight: 600; margin-bottom: 26px; color: #203c4e; }
#resumo-dados > div { margin-bottom: 20px; }
#resumo-dados dt, #resumo-marca > span { font-size: 13px; color: #456072; margin-bottom: 5px; }
#resumo-dados dd { font-size: 17px; line-height: 1.5; color: #203c4e; overflow-wrap: anywhere; white-space: pre-wrap; }
#resumo-cores { display: flex; gap: 10px; margin: 10px 0; }
#resumo-cores span { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #8ca7b6; }
#resumo-logo { font-size: 13px; overflow-wrap: anywhere; }
.nota-revisao { font-size: 14px; line-height: 1.55; color: #365268; padding-top: 20px; margin: 24px 0; border-top: 1px solid rgba(49,86,107,.2); }
.resumo-vidro .acao-texto { display: block; margin: 12px auto 0; }
.aceite-revisao { display: flex; align-items: start; gap: 10px; margin: 20px 0 26px; color: #294b60; font-size: 14px; line-height: 1.5; cursor: pointer; }
.aceite-revisao input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: #31566b; }
.valor-pagamento { display: flex; justify-content: space-between; gap: 20px; color: #365268; font-size: 14px; border-bottom: 1px solid rgba(49,86,107,.2); padding-bottom: 20px; }
.valor-pagamento strong { font-size: 19px; color: #203c4e; }
.pagamento-pendente { margin: 28px 0 20px; color: #203c4e; font-size: 16px; line-height: 1.55; }
.pagamento-pendente p { margin-top: 10px; font-size: 15px; color: #365268; }
.sem-script { padding: 20px; background: #edf4f8; border-radius: 12px; }
.confirmacao-paga { width: min(100% - 32px, 580px); margin: 15vh auto; border-radius: 26px; padding: 40px 32px; text-align: center; text-shadow: none; }
.confirmacao-paga h1 { font-size: 30px; font-weight: 500; color: #203c4e; }
.confirmacao-paga p { margin-top: 16px; font-size: 18px; line-height: 1.5; color: #365268; }
@media (max-width: 720px) {
  .participacao-shell { width: min(100% - 32px, 520px); padding-top: 12px; }
  .participacao-topo { font-size: 12px; }
  .etapas { margin: 22px auto 30px; }
  .titulo-pagina { margin-bottom: 26px; }
  .titulo-pagina p { font-size: 16px; }
  .opcoes-participacao { grid-template-columns: 1fr; gap: 22px; }
  .opcao { padding: 26px; min-height: 0; }
  .icone-opcao { width: 34px; height: 34px; margin-bottom: 18px; }
  .opcao strong { font-size: 23px; }
  .opcao > .opcao-destino { margin-top: 12px !important; }
  .opcao-acao { padding-top: 22px; }
  .composicao-formulario { grid-template-columns: 1fr; gap: 32px; }
  .previa-lateral { position: static; }
  .formulario-vidro, .resumo-vidro { padding: 24px 21px; }
  .linha-ajuda { font-size: 12px; }
  .titulo-formulario { margin-top: 14px; }
  .participacao-rodape { margin-top: 32px; }
}
@media (prefers-reduced-motion: no-preference) {
  .tela:not([hidden]) { animation: revelar-etapa 220ms ease-out both; }
  @keyframes revelar-etapa { from { opacity: .8; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
}
