/* Newe pages. Loaded after style.css and blog.css by the pages the page generator writes (Newe/paginas):
   service pages, category pages, the services list and About. The home page does not load this file.
   Same motif as everywhere else: blue (new), gold (we), green (newe). */

/* ---------- the top of a page ---------- */

.pg-head {
  padding-top: calc(clamp(8rem, 13vw, 11.5rem) + env(safe-area-inset-top, 0px));
  padding-bottom: clamp(3rem, 7vw, 6rem);
}
.pg-head .wrap { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); justify-items: start; }
.pg-head h1 { font-size: clamp(2.5rem, 1.1rem + 5.4vw, 5.75rem); max-width: 14em; }
.pg-head .lead { font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); max-width: 32em; }
.pg-head .hero-cta { margin-top: .4rem; }

.pg-crumbs { flex-wrap: wrap; row-gap: 0; }
.pg-crumbs a { text-decoration: none; padding-block: .5rem; }
.pg-crumbs a:hover, .pg-crumbs a:focus-visible { color: var(--ink); text-decoration: underline; text-underline-offset: .3em; }
.pg-crumbs > * + *::before { content: "/"; display: inline-block; margin-right: .75rem; color: var(--line); text-decoration: none; }
.pg-crumbs [aria-current] { color: var(--ink); }

/* ---------- sections ---------- */

.pg-sec { padding-block: var(--sec); }
.pg-sec + .pg-sec, .pg-head + .pg-sec { padding-top: 0; }
.how + .blog-cta { padding-top: var(--sec); }
.pg-sec, .how, .pg-cta { scroll-margin-top: 5.5rem; }
.pg-before { max-width: 44rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }

/* ---------- [lista]: what the client gets ---------- */

.gets {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 6vw, 6rem);
  border-bottom: 1px solid var(--line);
}
.gets li {
  position: relative; display: grid; gap: .3rem; align-content: start;
  padding: 1.35rem 0 1.35rem 2.6rem; border-top: 1px solid var(--line);
}
.gets li::before {
  content: ""; position: absolute; left: 0; top: 1.5rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--newe);
}
.gets li::after {
  content: ""; position: absolute; left: .56rem; top: 1.84rem; width: .42rem; height: .72rem;
  border: solid var(--sheet); border-width: 0 .16rem .16rem 0; transform: rotate(42deg);
}
.gets h3 { font-size: clamp(1.25rem, 1rem + .9vw, 1.7rem); font-weight: 600; font-stretch: 90%; letter-spacing: -.025em; line-height: 1.15; }
.gets p { color: var(--ink-2); text-wrap: pretty; }
.gets li > p:only-child { color: var(--ink); font-weight: 500; }
.gets li > * + p { margin-top: .35rem; }

/* ---------- [passos]: uses .how and .steps from style.css ---------- */

@media (min-width: 62.01rem) {
  .steps[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps[data-n="3"], .steps[data-n="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps[data-n="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ---------- [preco]: the price ---------- */

.pg-price-grid { display: grid; gap: 0 clamp(2.5rem, 6vw, 6rem); }
.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); align-items: start; }
.price-card {
  display: grid; gap: 1.1rem; align-content: start;
  padding: clamp(1.5rem, 3.2vw, 2.5rem);
  border: 1.5px solid var(--ink); border-radius: 1.25rem; background: var(--sheet);
}
.price-card h3 { font-size: clamp(1.6rem, 1rem + 1.7vw, 2.4rem); font-weight: 600; font-stretch: 88%; letter-spacing: -.03em; line-height: 1.08; }
.price-card .mini { margin-bottom: 0; }
.price-figures { display: flex; flex-wrap: wrap; gap: 1rem clamp(1.5rem, 4vw, 3rem); padding-block: 1.1rem; border-block: 1px solid var(--line); }
.price-figures div { display: grid; gap: .1rem; align-content: start; }
.price-figures dt { order: 2; font-size: .9375rem; color: var(--ink-2); }
.price-figures dd {
  font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.4rem); font-weight: 600; font-stretch: 80%; letter-spacing: -.045em; line-height: .95;
  font-variant-numeric: tabular-nums;
}
.price-figures dd small { font-size: .9375rem; font-weight: 400; font-stretch: 100%; letter-spacing: 0; color: var(--ink-2); }
.price-min { font-weight: 600; }
.price-body { display: grid; gap: .8rem; color: var(--ink-2); }
.price-body ul, .price-body ol { display: grid; gap: .5rem; }
.price-body li { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr); gap: .6rem; align-items: baseline; font-weight: 500; color: var(--ink); }
.price-body li::before {
  content: ""; width: 1.4rem; height: .28rem; translate: 0 -.25em;
  background: linear-gradient(90deg, var(--new) 0 38%, var(--newe) 38% 62%, var(--we) 62% 100%);
}
.price-body a, .price-note a { text-decoration-color: var(--newe); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.price-note { font-size: .9375rem; color: var(--ink-2); }

@media (min-width: 56.01rem) {
  /* one price: the heading sits on the left and the card on the right */
  .pg-price-grid[data-n="1"]:has(> .sec-head) { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; }
  .pg-price-grid[data-n="1"] > .sec-head { margin-bottom: 0; position: sticky; top: 7rem; }
}

/* ---------- [perguntas]: questions and answers ---------- */

.faq { border-bottom: 1px solid var(--line); }
.faq-item {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: .8rem clamp(1.5rem, 5vw, 5rem); align-items: start;
  padding-block: clamp(1.5rem, 3vw, 2.4rem); border-top: 1px solid var(--line);
}
.faq-item h3 { font-size: clamp(1.4rem, 1rem + 1.35vw, 2.1rem); font-weight: 600; font-stretch: 88%; letter-spacing: -.03em; line-height: 1.1; text-wrap: balance; }
.faq-answer { max-width: 40rem; }

/* ---------- [paginas]: links to other pages, on top of .svc from style.css ---------- */

.pg-card h3 a { text-decoration: none; }
.pg-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* the whole row is the link */
.pg-card h3 a:focus-visible { outline: none; }
.pg-card:has(a:focus-visible) { outline: 3px solid var(--new); outline-offset: 6px; border-radius: 4px; }
.pg-card-body { display: grid; gap: .7rem; justify-items: start; }
.pg-card-go {
  display: inline-flex; align-items: center; gap: .5em; padding-block: .3em;
  font-weight: 600; font-size: 1rem; color: var(--ink);
  background: linear-gradient(90deg, var(--new) 0 38%, var(--newe) 38% 62%, var(--we) 62% 100%) left bottom / 100% 2px no-repeat;
  transition: background-size .4s var(--ease);
}
.pg-card-go span { transition: transform .4s var(--ease); }
@media (hover: hover) {
  .pg-card:hover .pg-card-go { background-size: 100% 5px; }
  .pg-card:hover .pg-card-go span { transform: translateX(4px); }
}
.pg-tag {
  display: inline-block; vertical-align: middle; margin-left: .6em; translate: 0 -.2em;
  padding: .3rem .75rem; border: 1.5px dashed var(--ink); border-radius: 999px; background: var(--we); color: var(--ink);
  font-size: .8125rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; line-height: 1.2;
}

/* ---------- [texto] and [nota] ---------- */

.pg-text .prose { max-width: 44rem; }
.pg-note-box {
  display: grid; gap: 1rem; max-width: 52rem;
  padding: clamp(1.4rem, 3vw, 2.25rem); border: 1.5px solid var(--ink); border-radius: 1.25rem;
}
.pg-note-box h2 { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.1rem); line-height: 1.08; letter-spacing: -.03em; }
.pg-note-box .prose { color: var(--ink-2); }

/* ---------- [depoimentos] (same look as "What past clients say" on the v02) ---------- */

.pg-voices-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.pg-voices-list[data-n="1"] { grid-template-columns: minmax(0, 44rem); }
.pg-voices-list[data-n="2"], .pg-voices-list[data-n="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-voices-list li { display: grid; gap: 1.25rem; align-content: space-between; padding: clamp(1.3rem, 2.6vw, 2rem); background: var(--sheet); border: 1px solid var(--line); border-radius: 1.25rem; }
.pg-voices-list blockquote { position: relative; padding-top: 1.6rem; text-wrap: pretty; }
.pg-voices-list blockquote > * + * { margin-top: .7em; }
.pg-voices-list blockquote::before { content: ""; position: absolute; left: 0; top: 0; width: 2.25rem; height: .3rem; background: linear-gradient(90deg, var(--new) 0 38%, var(--newe) 38% 62%, var(--we) 62% 100%); }
.pg-voice-who { display: grid; font-weight: 650; font-size: .9375rem; }
.pg-voice-who span { font-weight: 400; color: var(--ink-2); }

/* ---------- the ask: a louder button, and [botao] between sections ---------- */

.btn--loud {
  padding: 1.05em 1.7em; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  background: var(--we); color: var(--ink);
  box-shadow: 0 1px 0 rgba(16, 38, 28, .28), 0 16px 30px -16px rgba(16, 38, 28, .6);
}
.btn--loud:hover, .btn--loud:focus-visible { color: var(--on-dark); }
.btn--loud > span::after { content: "\2192"; display: inline-block; margin-left: .55em; transition: transform .4s var(--ease); }
.btn--loud:hover > span::after { transform: translateX(4px); }
.price-card .btn { justify-self: start; margin-top: .3rem; }

.pg-sec + .pg-ask { margin-top: calc(var(--sec) * -.55); }
.pg-ask-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem clamp(1.25rem, 3vw, 2.25rem);
  padding: clamp(1.25rem, 2.6vw, 2rem); border-radius: 1.25rem; background: var(--paper-2);
}
.pg-ask-row p { flex: 1 1 16rem; max-width: 36em; color: var(--ink-2); text-wrap: pretty; }

/* ---------- responsive ---------- */

@media (max-width: 56rem) {
  .gets, .faq-item, .pg-voices-list, .pg-voices-list[data-n] { grid-template-columns: minmax(0, 1fr); }
  .pg-tag { margin-left: 0; margin-top: .5em; translate: none; display: table; }
}

@media print {
  .pg-cta, .pg-ask, .price-card .btn, .pg-head .hero-cta { display: none !important; }
  .pg-head { padding-top: 0; }
}
