/* textos centrados na fotografia */
:is(#cortinados,#eletrodomesticos,#colchoes-foto) .topo-alinhado{align-items:center;min-height:660px}
:is(#cortinados,#eletrodomesticos,#colchoes-foto) .cabeca{text-align:center;margin:0 auto;max-width:460px}

/* cartão do pedido */
.pedido.vidro{border-top:4px solid var(--laranja);border-radius:20px}

/* cabeçalho: a casa do logotipo desenha-se com o progresso */
.topo-pedido{display:flex;align-items:center;gap:16px;margin-bottom:22px;padding-bottom:18px;border-bottom:1px solid rgba(255,255,255,.18)}
.pedido .topo-pedido h3{margin:0 0 2px}
.contador{display:block;color:var(--laranja);font-size:.78rem;font-weight:600;letter-spacing:.04em}
svg.casa-progresso{width:56px;height:56px;flex:none;margin:0;fill:none;stroke-width:2.2}
.casa-progresso .base-casa{stroke:rgba(255,255,255,.22)}
.casa-progresso .feito-casa{stroke:var(--laranja);stroke-dasharray:100;stroke-dashoffset:75;transition:stroke-dashoffset .6s ease}

/* aparelhos em mosaico com ícone */
.opcoes.mosaico{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.opcoes.mosaico span{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border-radius:14px;padding:12px 6px;text-align:center;font-size:.78rem;line-height:1.3}
.mosaico span svg{width:30px;height:30px;margin:0;stroke:var(--laranja);stroke-width:1.5}
.opcoes.mosaico input:checked+span svg{stroke:var(--marinho)}
.opcoes.mosaico label:hover span{border-color:var(--laranja)}

/* passos e navegação */
.passo{animation:passo-entra .35s ease}
@keyframes passo-entra{from{opacity:0;translate:16px 0}}
.navegar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:8px}
.navegar .seguinte{margin-left:auto;min-width:180px}
.voltar{background:none;border:0;color:inherit;font:inherit;opacity:.8;padding:8px 0}
.voltar:hover{opacity:1;color:var(--laranja)}

/* resumo em formato de talão */
.resumo{background:var(--suave);color:var(--marinho);border-radius:12px;padding:6px 16px 10px;margin-bottom:16px}
.resumo::before{content:"O seu pedido";display:block;padding:10px 0 8px;border-bottom:2px dashed #d6ccc3;font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.resumo div{display:grid;grid-template-columns:minmax(90px,35%) 1fr;gap:10px;padding:7px 0;font-size:.86rem}
.resumo div+div{border-top:1px solid #e6ded7}
.resumo dt{opacity:.65}
.resumo dd{font-weight:600;overflow-wrap:anywhere;white-space:pre-line}
.pedido .passo .acoes{flex-direction:column}
.pedido .passo .acoes .btn{width:100%}

@media (max-width:900px){:is(#cortinados,#eletrodomesticos,#colchoes-foto) .topo-alinhado{min-height:0}}
@media (max-width:420px){.opcoes.mosaico{grid-template-columns:repeat(2,1fr)}}

/* topo: ligar e WhatsApp */
.contacto-topo{display:flex;align-items:center;gap:14px}
.contacto-topo a{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;text-decoration:none;font-weight:600;font-size:.88rem}
.contacto-topo svg{width:18px;height:18px;margin:0;stroke-width:2}
.contacto-topo .zap svg{stroke:var(--marinho)}
.contacto-topo .ligar:hover{color:var(--laranja)}
@media (max-width:1040px){.topo nav{gap:16px}.contacto-topo .ligar span{display:none}}
@media (max-width:1040px){.contacto-topo .ligar{justify-content:center;width:40px;height:40px;border:2px solid rgba(255,255,255,.25);border-radius:8px}}
@media (max-width:420px){.contacto-topo{gap:8px}.contacto-topo .zap span{display:none}.contacto-topo .zap{width:40px;height:40px;justify-content:center;padding:0}}

/* dica e aceitação dos termos */
.dica{font-size:.8rem;opacity:.85;margin:-8px 0 16px}
.pedido label.aceito{display:flex;font-weight:400;gap:10px;align-items:flex-start;font-size:.84rem;line-height:1.5;margin-bottom:16px;cursor:pointer}
.aceito input{width:20px;height:20px;flex:none;margin-top:1px;accent-color:var(--laranja)}
.aceito a{color:var(--laranja)}
