/* Service pages (/servicos/<slug>). Same parts as Como trabalhamos (perguntas.css): the opening title,
   the one-sentence answer, sections with big headings, the situation rows, the deliverables list,
   the cross list for what is not included, the render row and the closing band. */

.qm { color: var(--oxblood); margin-left: .02em; }

/* Opening: the service name and what it is, in one sentence */
.abertura { padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 88px); }
.abertura h1 { font-size: var(--t-hero); max-width: 12em; margin: 0 0 clamp(20px, 2.4vw, 32px); }
.abertura .curta { margin-bottom: 0; }

.zona { font-size: max(var(--t-body), 1.3rem); }
@media (max-width: 760px) { .zona { font-size: var(--t-body); } }
.q { border-top: 2px solid var(--ink); padding: clamp(36px, 4.4vw, 64px) 0 clamp(56px, 6.4vw, 96px); }
.q h2 { font-size: var(--t-h2); line-height: .96; letter-spacing: -.045em; max-width: 10.5em; margin: 0 0 clamp(18px, 2.2vw, 30px); }
.curta { font-family: var(--a); font-size: var(--t-lead); line-height: 1.26; letter-spacing: -.005em; max-width: 24em; margin: 0 0 clamp(24px, 3vw, 40px); text-wrap: balance; }
.txt { max-width: 34em; }
.txt > :last-child { margin-bottom: 0; }

/* Para quem: a plaster band, the situation as the short answer, then the rows */
.para-quem .q { border-top: 0; padding-block: clamp(56px, 7vw, 104px); }
.linhas { margin: clamp(28px, 3.4vw, 48px) 0 0; border-top: 2px solid var(--ink); }
.linhas > div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr); gap: clamp(14px, 3vw, 48px); padding: clamp(22px, 2.4vw, 32px) 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.linhas dt { font-family: var(--q); font-weight: 800; font-size: var(--t-h3); line-height: 1.1; letter-spacing: -.025em; }
.linhas dd { margin: 0; }

/* O que recebe: the deliverables list of Como trabalhamos, two columns on wide screens */
.entregas { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 4vw, 56px); }
.entregas li { padding: 12px 0 14px; border-bottom: 1px solid var(--rule); }
.entregas h3 { font-family: var(--q); font-size: 1.05rem; font-weight: 700; letter-spacing: -.005em; line-height: 1.3; margin: 0; }
.entregas p { margin: 3px 0 0; color: var(--soft); font-size: .9em; line-height: 1.45; }
@media (max-width: 760px) { .entregas { grid-template-columns: minmax(0, 1fr); } }
.depois { margin: clamp(24px, 3vw, 36px) 0 0; }

/* The renders, laid out like the homepage gallery */
figure { margin: 0; }
.renders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: clamp(32px, 3.6vw, 52px) 0 0; }
.renders figure { position: relative; margin: 0; }
.renders img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.renders figcaption { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; font-family: var(--q); font-size: 15px; font-weight: 600; line-height: 1.4; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }
.renders figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 13, 10, .62), rgba(18, 13, 10, 0) 45%); pointer-events: none; }
@media (max-width: 980px) { .renders { grid-template-columns: repeat(2, minmax(0, 1fr)); } .renders figure:last-child { display: none; } }
@media (max-width: 560px) { .renders { grid-template-columns: minmax(0, 1fr); margin-inline: calc(-1 * var(--pad)); } .renders figure:last-child { display: block; } }

/* O que não inclui: the cross list, two columns */
.lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); }
.lista li { position: relative; padding: 14px 0 14px 34px; border-top: 1px solid var(--rule); line-height: 1.5; }
.lista.nao li::before, .lista.nao li::after { content: ""; position: absolute; left: 2px; top: calc(14px + .75em); width: 16px; height: 2px; background: var(--ink); }
.lista.nao li::before { transform: rotate(45deg); }
.lista.nao li::after { transform: rotate(-45deg); }
.ans.pilha { display: grid; gap: clamp(24px, 3vw, 36px); }
@media (max-width: 760px) { .lista { grid-template-columns: minmax(0, 1fr); } .lista li:last-child { border-bottom: 1px solid var(--rule); } }

.mais { margin: clamp(36px, 4vw, 56px) 0 0; }

/* Closing call */
.fecho { background: var(--plaster); color: var(--ink); text-align: center; padding-block: clamp(72px, 9vw, 128px); }
.fecho h2 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: .98; letter-spacing: -.045em; margin: 0 auto 28px; }
.fecho .qm { color: var(--rose); }
.fecho-texto { font-size: var(--t-lead); line-height: 1.3; max-width: 24em; margin: 0 auto 32px; }

@media (max-width: 860px) {
  .linhas > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .linhas dt { margin-bottom: 2px; }
}
@media (max-width: 520px) { .q h2 { letter-spacing: -.04em; } }
