/* O que dizem de nós: every review as a card in a masonry, after basecamp.com/customers.
   The card (.critica) and the marker (mark) are repeated in inicio.css for the homepage section; keep both in step. */

/* Work-around for base.css: ".site-head nav a { padding: 10px 0 }" wins over .btn and strips the header button's side padding. */
.site-head nav a.btn { padding: 0 22px; }

:root {
  --marcador: #F0D3C7;   /* pale dusty rose, a highlighter stroke behind the key phrase (ink on it: 13:1) */
}

/* Opening */
.abertura { padding-top: clamp(40px, 7vw, 104px); padding-bottom: clamp(40px, 5vw, 72px); }
.abertura h1 { font-size: var(--t-h2); margin: 0 0 clamp(18px, 2.2vw, 28px); }
.abertura .lede { font-size: var(--t-lead); line-height: 1.3; max-width: 30em; margin: 0; color: var(--soft); }

/* Masonry: CSS columns, read down each column in the order of the reviews. */
.criticas { padding-bottom: clamp(72px, 9vw, 128px); }
.mural { columns: 1; column-gap: clamp(16px, 1.8vw, 24px); }
@media (min-width: 680px) { .mural { columns: 2; } }
@media (min-width: 1040px) { .mural { columns: 3; } }

/* Card */
.critica { break-inside: avoid; margin: 0 0 clamp(16px, 1.8vw, 24px); padding: clamp(24px, 2.4vw, 34px) clamp(22px, 2.4vw, 34px) clamp(22px, 2.2vw, 30px); background: #fff; border-radius: 6px; box-shadow: var(--elevacao); }
.critica blockquote { margin: 0 0 22px; font-family: var(--a); font-style: italic; font-size: clamp(1.15rem, 1rem + .3vw, 1.3rem); line-height: 1.55; }
.critica blockquote p { margin: 0 0 .75em; }
.critica blockquote p:last-child { margin-bottom: 0; }
.critica figcaption { display: flex; flex-direction: column; gap: 1px; font-family: var(--q); font-size: 16px; line-height: 1.35; }
.critica figcaption strong { font-weight: 700; }
.critica figcaption span { font-size: 15px; color: var(--soft); }

/* The marker: a soft stroke behind the words, a little ragged at the ends, one per line. */
.critica mark { color: inherit; background: linear-gradient(100deg, rgba(240, 211, 199, .2) 0, var(--marcador) .35em, var(--marcador) calc(100% - .35em), rgba(240, 211, 199, .2) 100%) 0 58% / 100% 86% no-repeat; padding: 0 .18em; margin: 0 -.12em; border-radius: .35em .2em .4em .25em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.google { margin: clamp(28px, 3.5vw, 48px) 0 0; font-family: var(--q); font-size: 16px; color: var(--soft); line-height: 1.5; }
.google a { display: inline-flex; align-items: center; min-height: 44px; font-size: 18px; font-weight: 600; color: var(--ink); text-decoration-thickness: 1.5px; }
@media (hover: hover) and (pointer: fine) { .google a:hover { color: var(--oxblood); } }

/* Closing, as on the homepage */
.fecho { text-align: center; padding-block: clamp(110px, 14vw, 200px); }
.fecho h2 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: .98; letter-spacing: -.045em; max-width: none; margin: 0 auto; text-wrap: balance; }
.fecho-acao, .fecho .fecho-acao { margin: clamp(36px, 4.4vw, 56px) 0 0; }
