.pagina-alianca { --pa-ouro: #8a6512; --pa-linha: rgba(23,22,20,.12); --pa-creme: #ffffff; --pa-serif: Georgia, "Times New Roman", serif; background: #ffffff; color: #171614; }
.pagina-alianca [hidden] { display: none !important; }
.pa-wrap { max-width: 1160px; margin: 0 auto; padding: 108px 18px 64px; }
.pagina-alianca .pa-wrap h1, .pagina-alianca .pa-wrap h2, .pagina-alianca .pa-wrap h3 { font-family: var(--pa-serif) !important; font-weight: 400 !important; letter-spacing: 0 !important; color: #171614; text-align: left; max-width: none; }
.pagina-alianca .pa-wrap h2 { margin: 0 0 18px !important; font-size: 23px !important; line-height: 1.25 !important; }
.pagina-alianca .pa-wrap h3 { margin: 0 0 6px !important; font-size: 18px !important; }
.pagina-alianca .pa-wrap p { margin: 0; }
.pagina-alianca #nao-encontrada a { text-decoration: underline; }
.pa-trilha { margin-bottom: 16px; font-size: 13px; color: #6d675f; }
.pa-topo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.pa-foto { margin: 0; align-self: start; min-width: 0; }
.pa-moldura { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: var(--pa-creme); }
#foto-fundo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(28px) saturate(.8); transform: scale(1.15); opacity: .55; }
#ampliar { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
#foto { display: block; width: 100%; height: 100%; object-fit: contain; }
.pa-foto figcaption { margin-top: 8px; font-size: 12px; color: #6d675f; text-align: center; }
.pa-compra { min-width: 0; }
.pa-sobretitulo { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--pa-ouro); }
/* Topo: titulo, modelo em dourado, referencia discreta e preco em cartao */
.pagina-alianca .pa-compra .pa-sobretitulo { font-size: 11px; letter-spacing: .18em; }
.pagina-alianca .pa-wrap h1 { margin: 10px 0 0 !important; font-size: 26px !important; line-height: 1.25 !important; }
.pa-h1-modelo { display: block; margin-top: 6px; font-size: 20px; font-style: italic; color: var(--pa-ouro); }
.pa-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pagina-alianca .pa-wrap .pa-ref { margin-top: 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #9a948c; }
.pagina-alianca .pa-wrap .pa-resumo { margin-top: 14px !important; font-size: 15px; line-height: 1.7; color: #6d675f; }
.pa-preco { margin-top: 18px; padding: 18px 0; border-block: 1px solid var(--pa-linha); }
.pa-preco strong { font-size: 32px; font-weight: 700; line-height: 1.2; color: #171614; }
.pa-preco p { font-size: 14px; color: #58524c; }
.pagina-alianca .pa-wrap .pa-preco .pa-selo { margin: 2px 0 6px; font-size: 15px; font-weight: 700; color: #0f7a3d; }
.pa-cep { display: grid; gap: 6px; }
#pedido .pa-cep label { font-size: 12px; }
.pa-preco p:empty { display: none; }
#pedido { display: grid; gap: 16px; margin-top: 22px; }
.pagina-alianca .pa-wrap #pedido h2 { margin: 0 !important; font-size: 20px !important; }
#pedido fieldset { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
#pedido legend { margin-bottom: 8px; padding: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pa-ouro); }
.pa-botao { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; border: 0; border-radius: 999px; background: #25d366; color: #fff; font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; }
.pa-botao:hover { background: #1fbd5a; }
.pa-guia-botao { justify-self: start; padding: 4px 0; border: 0; background: none; color: var(--pa-ouro); font: inherit; font-size: 14px; font-weight: 700; text-decoration: underline; cursor: pointer; }
#guia { width: min(640px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 10px; overflow: auto; background: #fff; }
#guia::backdrop { background: rgba(0,0,0,.75); }
#guia img { display: block; width: 100%; height: auto; }
#guia form { position: sticky; top: 0; z-index: 1; height: 0; text-align: right; }
#guia button { width: 40px; height: 40px; margin: 8px; border: 1px solid var(--pa-linha); border-radius: 50%; background: #fff; font-size: 22px; cursor: pointer; }
.pa-cep { text-align: center; }
#pedido .pa-cep input { text-align: center; }
.pagina-alianca #pedido .pa-ajuda { text-align: center; }
/* Pagina branca, no lugar do creme do tema. */
body.pagina-alianca, body.pagina-alianca main, body.pagina-alianca .site-header, body.pagina-alianca .mobile-menu-panel, body.pagina-alianca .site-footer, body.pagina-alianca .footer-main, body.pagina-alianca .footer-bottom { background: #fff !important; }
.pagina-alianca { --pa-creme: #f6f6f6; }
.pagina-alianca .pa-loja { background: #fff; }
.pagina-alianca .pa-passos li::before { background: #fff; }
.pagina-alianca .pa-passos li.aceso::before { background: #daa520; }
.pa-ajuda { font-size: 13px; color: #6d675f; }
.pa-ajuda a { text-decoration: underline; }
.pa-vantagens { margin: 22px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--pa-linha); }
.pa-vantagens li { position: relative; padding: 12px 0 12px 26px; border-bottom: 1px solid var(--pa-linha); font-size: 14px; }
.pa-vantagens li::before { content: "◆"; position: absolute; top: 15px; left: 4px; font-size: 11px; color: #daa520; }
.pa-secao { margin-top: 52px; padding: 36px 0 0; border-top: 1px solid var(--pa-linha); }
.pa-detalhes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.pagina-alianca .pa-wrap .pa-detalhes p { line-height: 1.75; color: #58524c; }
#ficha { display: grid; grid-template-columns: auto 1fr; margin: 0; font-size: 14px; }
#ficha dt, #ficha dd { margin: 0; padding: 11px 0; border-bottom: 1px solid var(--pa-linha); }
#ficha dt { padding-right: 24px; color: #6d675f; }
.pa-processo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.pa-intro { align-self: start; }
.pa-passos { --progresso: 0; position: relative; margin: 0; padding: 0; list-style: none; counter-reset: passo; }
.pa-passos::before, .pa-passos::after { content: ""; position: absolute; top: 28px; bottom: 60px; left: 18px; width: 2px; background: var(--pa-linha); }
.pa-passos::after { background: #daa520; transform-origin: top; transform: scaleY(var(--progresso)); transition: transform .25s ease-out; }
.pa-passos li { position: relative; min-height: 118px; padding: 28px 0 28px 62px; border-top: 1px solid var(--pa-linha); counter-increment: passo; }
.pa-passos li::before { content: "0" counter(passo); position: absolute; z-index: 1; top: 28px; left: 0; display: grid; place-items: center; width: 38px; height: 38px; border: 2px solid #daa520; border-radius: 50%; background: #ffffff; color: var(--pa-ouro); font-size: 12px; font-weight: 800; transition: background .3s, color .3s, transform .3s; }
.pa-passos li.aceso::before { background: #daa520; color: #fff; transform: scale(1.08); }
.pa-passos li h3, .pa-passos li p { opacity: .45; transition: opacity .4s; }
.pa-passos li.aceso h3, .pa-passos li.aceso p { opacity: 1; }
.pagina-alianca .pa-wrap .pa-passos h3 { font-size: 23px !important; }
.pa-passos p { line-height: 1.6; color: #58524c; font-size: 14px; }
.pagina-alianca .pa-wrap .pa-centro { margin-bottom: 26px; }
.pagina-alianca .pa-wrap .pa-centro h2 { margin-bottom: 8px !important; text-align: center; }
.pa-centro { text-align: center; }
.pa-lojas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.pa-loja { display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(218,165,32,.4); background: linear-gradient(#ffffff, #ffffff); box-shadow: 0 22px 56px rgba(77,59,24,.14); }
.pa-loja > img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.pa-loja > div { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 12px; padding: 12px 22px 28px; text-align: center; font-size: 14px; color: #58524c; }
.pagina-alianca .pa-wrap .pa-loja h3 { margin: 0 !important; font-size: 25px !important; text-align: center; }
.pa-loja address { font-style: normal; line-height: 1.7; }
.pa-whats { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 50px; margin-top: auto; border-radius: 4px; background: #25d366; color: #fff; font-weight: 700; }
.pa-whats img { width: 24px; height: 24px; }
.pa-mapa { font-weight: 700; color: var(--pa-ouro); }
.pa-faq details { border-bottom: 1px solid var(--pa-linha); }
.pa-faq summary { padding: 16px 0; cursor: pointer; font-size: 15px; }
.pagina-alianca .pa-wrap .pa-faq details p { padding-bottom: 16px; line-height: 1.7; color: #58524c; }
.pa-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pa-grade a { display: grid; gap: 3px; align-content: start; min-width: 0; color: inherit; text-decoration: none; }
.pa-grade img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; margin-bottom: 6px; border-radius: 6px; background: var(--pa-creme); }
.pagina-alianca .footer-bottom { padding-bottom: 84px; }
.pa-grade span { font-family: var(--pa-serif); font-size: 16px; }
.pa-grade small { font-size: 12px; color: #6d675f; }
.pagina-alianca .pa-wrap .pa-todas { margin-top: 26px; text-align: center; }
.pa-todas a { display: inline-block; padding: 14px 28px; border: 1px solid #171614; border-radius: 4px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #171614; }
#ampliada { max-width: 94vw; max-height: 94vh; padding: 0; border: 0; border-radius: 6px; overflow: hidden; }
#ampliada::backdrop { background: rgba(0,0,0,.82); }
#ampliada > img { display: block; max-width: 94vw; max-height: 94vh; }
#ampliada button { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; font-size: 22px; cursor: pointer; }
@media (min-width: 900px) {
  .pa-topo { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; }
  .pa-foto { position: sticky; top: 110px; }
  .pa-moldura { aspect-ratio: auto; height: clamp(420px, calc(100vh - 170px), 700px); }
  .pagina-alianca .pa-wrap h1 { font-size: 32px !important; }
  .pa-h1-modelo { font-size: 23px; }
  .pa-detalhes { grid-template-columns: 1.3fr 1fr; gap: 56px; }
  .pa-processo { grid-template-columns: 1fr 1.6fr; gap: 56px; }
  .pa-intro { position: sticky; top: 130px; }
  .pa-grade { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Descricao: brindes e observacoes (ouro) */
.pa-brindes { margin-top: 24px; }
.pa-brindes ul, .pa-importante ul { margin: 10px 0 0; padding-left: 20px; list-style: disc; line-height: 1.75; color: #58524c; }
.pa-importante { grid-column: 1 / -1; }
.pa-importante .pa-atencao { color: #171614; text-decoration: underline; text-underline-offset: 3px; }

/* Selecao de aro, gravacao e loja */
/* Cada alianca: quadro cinza claro que abre e fecha, campos brancos arredondados */
.pa-anel { border-radius: 14px; background: #f4f3f1; }
.pa-anel summary { display: flex; align-items: center; gap: 16px; padding: 16px 18px; list-style: none; cursor: pointer; }
.pa-anel summary::-webkit-details-marker { display: none; }
.pa-anel summary img { flex: none; width: 56px; height: 56px; border-radius: 10px; background: #fff; object-fit: cover; }
.pa-anel summary span { flex: 1; font-size: 17px; color: #171614; }
.pa-anel summary i { position: relative; flex: none; width: 18px; height: 18px; }
.pa-anel summary i::before, .pa-anel summary i::after { content: ""; position: absolute; top: 8px; left: 0; width: 18px; height: 2px; background: #171614; transition: transform .2s; }
.pa-anel summary i::after { transform: rotate(90deg); }
.pa-anel[open] summary i::after { transform: rotate(0deg); }
.pa-anel summary:focus-visible { outline: 2px solid #171614; outline-offset: 2px; border-radius: 14px; }
.pa-anel.escolhido:not([open]) summary span::after { content: " ✓"; color: #0f7a3d; font-weight: 700; }
.pa-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 18px; padding: 18px 0 20px; border-top: 1px solid var(--pa-linha); }
.pa-campos-um { grid-template-columns: 1fr; }
.pa-campo { display: grid; gap: 8px; min-width: 0; }
.pa-campo > span { font-size: 14px; color: #6d675f; }
#pedido .pa-campo select, #pedido .pa-campo input[type="text"] { width: 100%; box-sizing: border-box; height: 54px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px; background-color: #fff; color: #171614; font: inherit; font-size: 16px; }
#pedido .pa-campo select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10' fill='none' stroke='%23171614' stroke-width='2'%3E%3Cpath d='M1 1l7 7 7-7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 20px center; cursor: pointer; }
#pedido .pa-campo select:focus, #pedido .pa-campo input[type="text"]:focus { border-color: var(--pa-ouro); outline: 2px solid rgba(218,165,32,.35); }
.pa-unidade input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pa-unidade label:has(:focus-visible) { outline: 2px solid #171614; outline-offset: 2px; }
#pedido .pa-cep input[type="text"] { width: 100%; box-sizing: border-box; height: 52px; padding: 0 14px; border: 1px solid rgba(23,22,20,.22); border-radius: 12px; background: #fff; color: #171614; font: inherit; font-size: 16px; }
#pedido .pa-cep input[type="text"]:focus { border-color: var(--pa-ouro); outline: 2px solid rgba(218,165,32,.35); }
.pagina-alianca .pa-wrap .pa-aviso { padding: 12px 14px; border-left: 3px solid #daa520; background: #fdf6e3; font-size: 14px; }
#pedido .pa-unidade { gap: 10px; }
#pedido .pa-unidade legend { width: 100%; text-align: center; }
.pa-unidade label { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid rgba(23,22,20,.22); border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.pa-unidade label::before { content: ""; flex: none; width: 20px; height: 20px; box-sizing: border-box; border: 2px solid rgba(23,22,20,.3); border-radius: 50%; }
.pa-unidade label:has(:checked) { border-color: #daa520; background: #fdf9ee; box-shadow: 0 0 0 1px #daa520; }
.pa-unidade label:has(:checked)::before { border: 6px solid #daa520; background: #fff; }
.pa-unidade span { display: grid; gap: 2px; min-width: 0; }
.pa-unidade b { font-size: 15px; color: #171614; }
.pa-unidade small { font-size: 13px; line-height: 1.45; color: #58524c; }
.pagina-alianca .pa-wrap .pa-semaro { margin-top: -6px; padding: 12px 14px; border-radius: 12px; background: #eefaf2; font-size: 14px; line-height: 1.5; color: #171614; }
.pa-semaro a { color: #0f7a3d; font-weight: 700; text-decoration: underline; }
