/* Páginas de serviço, cidade, bairro e artigos (geradas por scripts/gerar_site.py).
   Usa os tokens do design system Modernist (_ds/.../styles.css). */
body { margin: 0; background: var(--color-bg); color: var(--color-text); text-wrap: pretty; }
html { scroll-behavior: smooth; }
a { color: var(--color-accent-700); text-decoration: none; }
a:hover { color: var(--color-accent); }
img { max-width: 100%; height: auto; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.nav { padding-inline: max(clamp(20px, 5vw, 48px), calc((100% - 1200px) / 2 + clamp(20px, 5vw, 48px))); }
.nav a { white-space: nowrap; }
@media (max-width: 760px) { .nav a:not(.nav-brand):not(.btn) { display: none; } }
.rule2 { height: 2px; border: 0; margin: 0; background: var(--color-divider); }

.display { font-family: var(--font-heading); font-weight: 700; font-size: clamp(36px, 5.6vw, 70px); line-height: 1.06; letter-spacing: -0.02em; margin: 0; max-width: 20ch; }
.h-sec { font-family: var(--font-heading); font-weight: 700; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 32px; max-width: 26ch; }
.h-sub { font-family: var(--font-heading); font-weight: 700; font-size: 22px; line-height: 1.2; margin: 0 0 14px; }
.kicker { display: block; font-family: var(--font-body); font-size: 13px; line-height: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent-700); margin: 0 0 14px; }
.p { font-family: var(--font-body); font-size: 17px; line-height: 28px; margin: 0; }
.lead { max-width: 60ch; margin-top: 22px; }
.ph { width: 100%; height: 100%; object-fit: cover; display: block; }

.migalhas { font-family: var(--font-body); font-size: 13px; color: var(--color-neutral-600); padding-top: 24px; }
.migalhas a { color: var(--color-neutral-600); text-decoration: underline; text-underline-offset: 3px; }
.migalhas [aria-current] { color: var(--color-text); }

.hero { padding: clamp(28px, 4vw, 56px) 0 clamp(32px, 4vw, 48px); }
.acoes { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: 28px; }
.sec { padding: clamp(44px, 5vw, 72px) 0; }

.fotos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 44%), 1fr)); gap: 16px; margin-bottom: clamp(36px, 4vw, 56px); }
.fotos figure { margin: 0; }
.foto { aspect-ratio: 3 / 4; overflow: hidden; background: var(--color-surface); }
.fotos figcaption { font-family: var(--font-body); font-size: 14px; color: var(--color-neutral-600); margin-top: 10px; }

.precos { width: 100%; border-collapse: collapse; font-family: var(--font-body); font-size: 16px; border-top: 2px solid var(--color-text); }
.precos th, .precos td { text-align: left; padding: 16px 12px 16px 0; border-bottom: 2px solid var(--color-divider); vertical-align: top; }
.precos thead th { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-neutral-600); font-weight: 400; }
.precos tbody th { font-weight: 400; }
.precos td:nth-child(2) { font-family: var(--font-heading); font-weight: 700; font-size: 20px; color: var(--color-accent-700); white-space: nowrap; }
@media (max-width: 560px) {
  .precos thead { display: none; }
  .precos tr { display: block; padding: 14px 0; border-bottom: 2px solid var(--color-divider); }
  .precos th, .precos td { display: inline; border: 0; padding: 0; }
  .precos tbody th { display: block; margin-bottom: 4px; }
  .precos td:nth-child(3) { font-size: 14px; color: var(--color-neutral-600); margin-left: 6px; }
}
.nota { font-family: var(--font-body); font-size: 14px; line-height: 22px; color: var(--color-neutral-600); margin: 14px 0 0; max-width: 70ch; }

.duas-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(28px, 4vw, 64px); margin-top: 40px; }
.sec.duas-col { margin-top: 0; }
.check { list-style: none; padding: 0; margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 24px; }
.check li { padding: 10px 0 10px 28px; border-bottom: 1px solid var(--color-divider); position: relative; }
.check li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 10px; height: 10px; background: var(--color-accent); transform: rotate(45deg); }

.passos { list-style: none; counter-reset: p; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 2px solid var(--color-text); }
.passos li { counter-increment: p; padding: 24px 24px 24px 0; font-family: var(--font-body); font-size: 15.5px; line-height: 24px; }
.passos li::before { content: counter(p, decimal-leading-zero); display: block; font-family: var(--font-heading); font-weight: 700; font-size: 34px; color: var(--color-accent); margin-bottom: 10px; }
.passos strong { display: block; font-family: var(--font-heading); font-size: 19px; margin-bottom: 6px; }

.faq details { border-bottom: 2px solid var(--color-divider); }
.faq details:first-child { border-top: 2px solid var(--color-text); }
.faq summary { cursor: pointer; list-style: none; font-family: var(--font-heading); font-weight: 700; font-size: 18px; line-height: 1.35; padding: 18px 36px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 26px; color: var(--color-accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { font-family: var(--font-body); font-size: 16px; line-height: 26px; margin: 0 0 20px; max-width: 70ch; }

.links { list-style: none; padding: 0; margin: 0 0 28px; font-family: var(--font-body); font-size: 16px; }
.links li { padding: 9px 0; border-bottom: 1px solid var(--color-divider); }
.links a::after { content: " →"; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(24px, 3vw, 40px); }
.card h3 { font-family: var(--font-heading); font-weight: 700; font-size: 21px; margin: 16px 0 8px; }
.card h3 a { color: var(--color-text); }
.card h3 a:hover { color: var(--color-accent); }
.card .foto { aspect-ratio: 4 / 3; }
.card .p { font-size: 15.5px; line-height: 25px; }
.apartir { font-family: var(--font-body); font-size: 14px; font-weight: 700; color: var(--color-accent-700); margin: 10px 0 0; }

.bairros { list-style: none; padding: 0; margin: 0; columns: 2 180px; font-family: var(--font-body); font-size: 16px; line-height: 34px; }
.obra { display: grid; grid-template-columns: minmax(200px, 320px) 1fr; gap: 28px; padding: 28px 0; border-top: 2px solid var(--color-divider); }
.obra h3 { font-family: var(--font-heading); font-size: 22px; margin: 0 0 10px; }
@media (max-width: 620px) { .obra { grid-template-columns: 1fr; } }

.cta { background: var(--color-accent); color: var(--color-bg); padding: clamp(48px, 5vw, 72px) 0; }
.cta h2 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(30px, 4vw, 50px); line-height: 1.06; margin: 0; max-width: 20ch; }
.cta p { font-family: var(--font-body); font-size: 17px; line-height: 28px; margin: 18px 0 0; max-width: 50ch; }

.rodape { border-top: 6px solid var(--color-text); padding: 40px 0 120px; font-family: var(--font-body); font-size: 14px; line-height: 24px; }
.rodape-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.rodape strong { font-family: var(--font-heading); font-size: 15px; }
.rodape ul { list-style: none; padding: 0; margin: 8px 0 0; }
.rodape a { color: var(--color-text); }
.rodape a:hover { color: var(--color-accent); }

.wa { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; align-items: center; gap: 10px; background: #25d366; color: #fff; padding: 14px 20px; min-height: 56px; box-sizing: border-box; font-family: var(--font-body); font-weight: 700; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; box-shadow: var(--shadow-lg); }
.wa:hover { background: #1da851; color: #fff; }
@media (max-width: 620px) { .wa { left: 18px; right: 18px; justify-content: center; } }

/* Artigos */
.artigo { max-width: 760px; padding-bottom: 24px; }
.artigo header { padding: clamp(28px, 4vw, 48px) 0 8px; }
.artigo-h1 { font-size: clamp(32px, 4.6vw, 54px); max-width: 22ch; }
.prosa { font-family: var(--font-body); font-size: 18px; line-height: 30px; }
.prosa p { margin: 0 0 20px; }
.prosa h2 { font-family: var(--font-heading); font-weight: 700; font-size: clamp(24px, 3vw, 30px); line-height: 1.2; margin: 44px 0 16px; }
.prosa h3 { font-family: var(--font-heading); font-weight: 700; font-size: 20px; margin: 28px 0 10px; }
.prosa ul, .prosa ol { padding-left: 22px; margin: 0 0 20px; }
.prosa li { margin-bottom: 8px; }
.prosa table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 24px; margin: 8px 0 24px; border-top: 2px solid var(--color-text); }
.prosa th, .prosa td { text-align: left; padding: 12px 10px 12px 0; border-bottom: 2px solid var(--color-divider); vertical-align: top; }
.prosa thead th { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-neutral-600); font-weight: 400; }
.prosa .tabela { overflow-x: auto; }
.prosa figure { margin: 8px 0 28px; }
.prosa figure img { width: 100%; display: block; }
.prosa figcaption { font-size: 14px; color: var(--color-neutral-600); margin-top: 8px; }
.resposta { background: var(--color-surface); border-left: 6px solid var(--color-accent); padding: 20px 24px; margin: 24px 0 28px; }
.resposta p:last-child { margin-bottom: 0; }
.artigo-cta { border-top: 2px solid var(--color-text); border-bottom: 2px solid var(--color-text); padding: 24px 0; margin-top: 36px; font-family: var(--font-body); font-size: 17px; line-height: 27px; }
.artigo-cta p { margin: 0 0 16px; }
.duas-col .p + .h-sub { margin-top: 32px; }
.precos .uso { display: block; font-size: 14px; color: var(--color-neutral-600); margin-top: 2px; }
.aviso-material { margin-top: 40px; padding: 20px 24px; background: var(--color-surface); border-left: 6px solid var(--color-accent); font-family: var(--font-body); font-size: 16px; line-height: 26px; }
.aviso-material p { margin: 0 0 8px; }
