/* Páginas de serviço. Mesma casa, sem a abertura: quem chega pela busca lê direto. Cores só em tema.css. */

.topo-p { position: fixed; inset: 0 0 auto 0; height: var(--topo); z-index: 10; display: flex; align-items: center; justify-content: space-between; padding-inline: var(--g); background: var(--fundo); }
.topo-p .casa { display: block; width: var(--s); height: var(--s); color: var(--texto); border-radius: 50%; }
.topo-p .casa svg { display: block; width: 100%; height: 100%; }
.topo-p .casa .vinho { fill: var(--vinho); }
.topo-p .casa .aro { fill: none; stroke: currentColor; }
.topo-p a.rot { padding: 1rem 0 1rem 1rem; transition: color .8s ease; }
.topo-p a.rot:hover { color: var(--texto); }

.pg { padding: calc(var(--topo) + clamp(4rem, 14svh, 9rem)) var(--g) 0; }
.pg .larg { display: flex; flex-direction: column; gap: clamp(6rem, 18svh, 11rem); }
.cabeca { display: flex; flex-direction: column; gap: 1.6rem; }
.cabeca h1 { font-size: clamp(3rem, 10.5vw, 7.75rem); line-height: 1; }
.cabeca .lead { max-width: 30ch; font-family: var(--display); font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.2; }
.cabeca .onde { max-width: 44ch; color: var(--apoio); }

.bloco { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: start; }
.bloco > h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.05; position: sticky; top: calc(var(--topo) + 1.5rem); }
.linhas > li, .passos > li { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: .4rem 2rem; align-items: baseline; padding-block: 1.5rem; border-top: 1px solid var(--linha); }
.linhas > li:last-child, .passos > li:last-child { border-bottom: 1px solid var(--linha); }
.linhas h3, .passos h3 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); line-height: 1.15; }
.linhas p, .passos p { color: var(--apoio); max-width: 40ch; }
.passos { counter-reset: passo; }
.passos h3::before { counter-increment: passo; content: counter(passo) ". "; color: var(--apoio); }

.pg .obras { gap: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 4rem); }
.pg .obra:nth-child(even) { margin-top: 0; }

.duvidas details { border-top: 1px solid var(--linha); }
.duvidas details:last-child { border-bottom: 1px solid var(--linha); }
.duvidas summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 2rem; padding-block: 1.4rem; font-family: var(--display); font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.2; }
.duvidas summary::-webkit-details-marker { display: none; }
.duvidas summary::after { content: "+"; font-family: var(--corpo); font-weight: 300; color: var(--apoio); transition: transform .8s var(--curva); }
.duvidas details[open] summary::after { transform: rotate(45deg); }
.duvidas details p { padding-bottom: 1.6rem; max-width: 46ch; color: var(--apoio); }

.chamada { display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; }
.chamada h2 { font-size: clamp(3rem, 10.5vw, 7.75rem); line-height: 1; }
.chamada .botao {
  display: inline-flex; align-items: center; min-height: 56px; padding: 0 2.4rem; border: 1px solid var(--texto);
  font-family: var(--corpo); font-weight: 400; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase;
  transition: background-color .9s ease, color .9s ease;
}
.chamada .botao:hover, .chamada .botao:focus-visible { background: var(--texto); color: var(--fundo); }

.pe-p { display: flex; flex-direction: column; gap: clamp(1.4rem, 4svh, 2.4rem); padding: clamp(6rem, 18svh, 10rem) var(--g) clamp(22px, 4vw, 40px); }
.carta-p { display: flex; flex-wrap: wrap; gap: 0 clamp(1.2rem, 3vw, 2.4rem); padding-top: 1.4rem; border-top: 1px solid var(--linha); }
.carta-p a { padding: .7rem 0; white-space: nowrap; transition: color .8s ease; }
.carta-p a:hover { color: var(--texto); }
.pe-p .assina { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .4rem 2rem; }

@media (max-width: 860px) {
  .bloco { grid-template-columns: minmax(0, 1fr); }
  .bloco > h2 { position: static; }
  .linhas > li, .passos > li { grid-template-columns: minmax(0, 1fr); }
}
