/* Sections between hero and form (W-0073): bento (situations), solutions grid, calm statement band, process, proof, FAQ.
   One 12-column grid (--gap gutters, breakpoints 640 / 960), one type scale (app.css tokens), one icon set (flow.mjs, 24 px stroke 2),
   mini illustrations are vector line art. Motion is opacity/transform only and is off under prefers-reduced-motion. */
.section { padding-block: var(--space-16); }
.section.night { background: var(--color-night); color: var(--color-paper); }
.section > .wrap > h2 { margin-bottom: var(--space-8); max-width: 26ch; text-wrap: balance; }
.bento, .sol-grid, .proof-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.bento > li, .sol-grid > li, .proof-grid > li { grid-column: 1 / -1; min-width: 0; }
/* W-0143 (SP-9, CSP style-src 'self'): stagger index from data-i (was an inline style="--i:n"); build.mjs gate refuses data-i above 15 */
[data-i="0"] { --i: 0; } [data-i="1"] { --i: 1; } [data-i="2"] { --i: 2; } [data-i="3"] { --i: 3; } [data-i="4"] { --i: 4; } [data-i="5"] { --i: 5; }
[data-i="6"] { --i: 6; } [data-i="7"] { --i: 7; } [data-i="8"] { --i: 8; } [data-i="9"] { --i: 9; } [data-i="10"] { --i: 10; } [data-i="11"] { --i: 11; }
[data-i="12"] { --i: 12; } [data-i="13"] { --i: 13; } [data-i="14"] { --i: 14; } [data-i="15"] { --i: 15; }

/* shared: round icon badge (flow icon set) */
.badge { width: 52px; height: 52px; border-radius: 16px; background: var(--color-sun-soft); color: var(--color-ink); display: flex; align-items: center; justify-content: center; flex: none; transition: transform var(--dur-base) var(--ease-out), background-color var(--dur-base); }
.badge .ico { width: 28px; height: 28px; }

.sec-lead { margin: calc(var(--space-4) * -1) 0 var(--space-8); max-width: 46rem; font-size: var(--fs-lead); color: var(--color-ink-muted); }

/* ---------- pain section (visitor situations, tag OK): illustrated link cards, flat ---------- */
.bento-sec { background: var(--color-paper); }
.bt {
  position: relative; display: flex; flex-direction: column; gap: var(--space-4); height: 100%; overflow: hidden;
  background: var(--color-surface); color: var(--color-ink); text-decoration: none;
  border-radius: var(--radius-card); padding: var(--space-4) var(--space-4) var(--space-6);
  border: 1.5px solid var(--color-line);
  transition: transform var(--dur-base) var(--ease-out), border-color 160ms, background-color 160ms;
}
.mini { display: block; border-radius: calc(var(--radius-card) - 6px); background: var(--color-paper); padding: var(--space-3) var(--space-4); }
.mini-svg { display: block; width: 100%; height: auto; max-height: 150px; margin-inline: auto; }
.bt-body { display: flex; flex-direction: column; gap: var(--space-3); flex: 1; padding-inline: var(--space-2); }
.bt-text { display: block; font-size: 1.0625rem; font-weight: 600; line-height: 1.4; }
.bt-go { margin-top: auto; font-weight: 700; color: var(--color-link); }
.bt:active { transform: scale(.985); }
@media (hover: hover) {
  .bt:hover { transform: translateY(-4px); border-color: var(--color-ink); }
}
.bt.is-picked { background: var(--color-sun-soft); border-color: var(--color-ink); }
.bt.is-picked .mini { background: var(--color-surface); }
.bridge { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); margin-top: var(--space-8); padding: var(--space-6); border-radius: var(--radius-card); background: var(--color-paper-2); }
.bridge p { margin: 0; font-size: var(--fs-lead); font-weight: 600; max-width: 40rem; }

/* ---------- solutions (launch): 8 cards ---------- */
.sol-sec { background: var(--color-surface); }
.sol { position: relative; display: flex; flex-direction: column; gap: var(--space-3); height: 100%; text-decoration: none; color: var(--color-ink); background: var(--color-paper); border: 1.5px solid var(--color-line); border-radius: var(--radius-card); padding: var(--space-4) var(--space-4) var(--space-6); transition: transform var(--dur-base) var(--ease-out), border-color 160ms, background-color 160ms; }
.sol .mini { margin-bottom: var(--space-1); background: var(--color-surface); }
.sol h4, .sol p, .sol-go { padding-inline: var(--space-2); }
.sol h4 { margin: 0; font-family: var(--font-heading); font-weight: 800; font-size: var(--fs-h3); line-height: 1.2; }
.sol p { margin: 0; color: var(--color-ink-muted); flex: 1; }
.sol-go { margin-top: var(--space-1); font-weight: 700; color: var(--color-link); display: inline-flex; gap: var(--space-2); align-items: center; }
.sol-go .go-arrow { transition: transform var(--dur-base) var(--ease-out); }
/* W-0145 (audit-c31 s2): services grouped Fix / Upgrade / Look after (3/3/2), group heading + one-line intro; visible "Saber mais" text link on every card */
.sol-group + .sol-group { margin-top: var(--space-12); }
.sol-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-1) var(--space-4); margin-bottom: var(--space-4); padding-top: var(--space-4); border-top: 2px solid var(--color-ink); }
.sol-group-h { margin: 0; font-size: var(--fs-h3); line-height: 1.2; }
.sol-group-d { margin: 0; color: var(--color-ink-muted); }
.sol-go-t { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--color-sun); }
/* "Porque nós" (replaces the Antes/Depois band): three tiles, icon badge + title + one line */
.why { background: var(--color-paper-2); }
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); }
.why-tile { display: flex; align-items: flex-start; gap: var(--space-4); background: var(--color-surface); border: 1px solid var(--color-line); border-top: 4px solid var(--color-sun); border-radius: var(--radius-card); padding: var(--space-6); }
.why-t { margin: 0 0 var(--space-1); font-size: var(--fs-h3); line-height: 1.2; }
.why-tile p { margin: 0; color: var(--color-ink-muted); }
.proc-lead { color: #dbe9f3; }
.faq-head { grid-column: 1 / -1; }
.faq-head h2 { margin: 0; max-width: 18ch; text-wrap: balance; }
.faq-lead { margin: var(--space-3) 0 0; color: var(--color-ink-muted); max-width: 32ch; }
.sol:active { transform: scale(.985); }
@media (hover: hover) {
  .sol:hover { transform: translateY(-4px); border-color: var(--color-ink); }
  .sol:hover .sol-go .go-arrow { transform: translateX(4px); }
}
.sol.is-picked { background: var(--color-sun-soft); border-color: var(--color-ink); }
.sol.is-picked p { color: var(--color-ink); }
.sol-other { margin: var(--space-6) 0 0; font-weight: 700; }
.sol-other a { color: var(--color-link); text-underline-offset: 4px; }
/* W-0137 (D-0209): the W-0134 "Saiba mais" pill row is gone; the solution cards and hero chips link to the service pages instead */

/* ---------- request block (W-0125 spec R): the visual climax and the first step. Night section with a warm glow, big headline,
   the service question of /pedido as big multi-select tiles (native checkboxes), Continuar = GET to /pedido (?de=inicio&servico=...) ---------- */
.ask { position: relative; isolation: isolate; overflow: hidden; color: var(--color-paper);
  background:
    radial-gradient(60% 70% at 92% 0%, rgb(255 182 39 / .30), transparent 62%),
    radial-gradient(55% 60% at 0% 100%, rgb(255 110 60 / .20), transparent 70%),
    linear-gradient(160deg, #081626 0%, #0F2A3D 55%, #163A58 100%);
  background-color: var(--color-night); }
.ask-in { display: grid; gap: var(--space-8); }
.ask .ask-head h2 { margin: 0 0 var(--space-4); max-width: 14ch; font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem); color: #fff; text-wrap: balance; }
.rq-promise { margin: 0; max-width: 26ch; font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.1875rem, 1rem + .9vw, 1.625rem); line-height: 1.25; color: var(--color-sun); text-wrap: balance; }
.ask-form { position: relative; padding: var(--space-6); border-radius: 24px; background: rgb(255 255 255 / .05); border: 1px solid rgb(159 201 227 / .28); box-shadow: 0 40px 90px -50px rgb(255 182 39 / .55); }
.rq-set { border: 0; margin: 0; padding: 0; min-width: 0; }
.rq-q { padding: 0; margin: 0 0 var(--space-1); font-family: var(--font-heading); font-weight: 800; font-size: var(--fs-h3); line-height: 1.25; color: #fff; }
.rq-hint { margin: 0 0 var(--space-4); font-size: var(--fs-small); color: var(--color-sky-on-night); }
.rq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
.rq-tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); min-height: 0; padding: var(--space-3);
  border-radius: 16px; background: rgb(255 255 255 / .07); border: 1.5px solid rgb(159 201 227 / .38); color: #fff; font-weight: 600; line-height: 1.25; cursor: pointer;
  transition: background-color 160ms, border-color 160ms, transform var(--dur-fast) var(--ease-out); }
.rq-in { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.rq-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--color-sun-soft); color: var(--color-ink); display: flex; align-items: center; justify-content: center; transition: background-color 160ms; }
.rq-ico .ico { width: 26px; height: 26px; }
.rq-l { min-width: 0; font-size: .9375rem; overflow-wrap: normal; hyphens: manual; }
.rq-tile .tk { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; }
.rq-tile .tk-bg { fill: transparent; stroke: rgb(159 201 227 / .7); }
.rq-tile:has(.rq-in:checked) { background: var(--color-sun-soft); border-color: var(--color-sun); color: var(--color-ink); }
.rq-tile:has(.rq-in:checked) .rq-ico { background: var(--color-sun); }
.rq-tile:has(.rq-in:checked) .tk-bg { fill: var(--color-ink); stroke: var(--color-ink); }
.rq-tile:has(.rq-in:checked) .tk-v { stroke: #fff; }
.rq-tile:has(.rq-in:focus-visible) { outline: var(--focus-ring); outline-offset: 2px; }
.rq-tile:active { transform: scale(.985); }
@media (hover: hover) { .rq-tile:hover { border-color: var(--color-sun); } }
.rq-act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-6); margin: var(--space-6) 0 0; }
.rq-go { min-width: 15rem; }
.rq-go span { margin-left: .5em; }
.rq-note { font-size: var(--fs-small); color: var(--color-sky-on-night); }

/* staggered reveal of tile groups (once, after the section scrolls in) */
.js .reveal .bento > li, .js .reveal .sol-grid > li, .js .reveal .proof-grid > li { opacity: 0; transform: translateY(24px); }
.js .reveal.in .bento > li, .js .reveal.in .sol-grid > li, .js .reveal.in .proof-grid > li { opacity: 1; transform: none; transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(var(--i) * 70ms + 100ms); }
.js .reveal.in .bt, .js .reveal.in .sol { transition-delay: 0s; }

/* ---------- statement band: calm, one sentence, before and after as the same scene (stopped, then the sun rises) ---------- */
.band { position: relative; overflow: hidden; color: var(--color-ink); padding-block: var(--space-12); background: var(--color-paper-2); border-block: 1px solid var(--color-line); }
.band > .wrap { position: relative; }
.band-line { margin: 0 0 var(--space-8); max-width: 22ch; font-size: var(--fs-h2); line-height: var(--lh-head); text-wrap: balance; }
.band-line .bl { display: inline; margin-right: .25em; }
.band-line .last { text-decoration: underline; text-decoration-color: var(--color-sun); text-decoration-thickness: .14em; text-underline-offset: .12em; }
/* W-0125 (spec B): two isometric-lite scenes of the same power cut (art.mjs bandScene, the scene draws its own rounded sky), tag + 3 bullets each,
   one line on why it is better. When the band scrolls in: the arrow draws in, the after energy line flows 4 times (3.6 s, under the 5 s of WCAG 2.2.2). */
.band-art { display: grid; gap: var(--space-4); align-items: start; }
.ba { margin: 0; display: grid; gap: var(--space-4); }
.ba .art { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-1); }
.ba .scene { display: block; width: 100%; height: auto; }
.ba-tag { display: inline-block; padding: 2px 12px; border-radius: var(--radius-pill); font-family: var(--font-heading); font-weight: 800; font-size: var(--fs-small); letter-spacing: .02em; }
.before .ba-tag { background: #DDE1E5; color: var(--color-ink); }
.after .ba-tag { background: var(--color-sun); color: var(--color-ink); }
.ba-list { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; gap: var(--space-2); }
.ba-list li { display: flex; align-items: flex-start; gap: var(--space-2); font-weight: 600; line-height: 1.35; }
.ba-i { flex: none; width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.before .ba-i { color: var(--color-error); }
.after .ba-i { color: var(--color-ok); }
.band-why { margin: var(--space-8) 0 0; max-width: 52rem; padding: var(--space-4) var(--space-6); border-radius: 16px; background: var(--color-surface); border-left: 4px solid var(--color-sun); font-size: var(--fs-lead); line-height: 1.45; }
.ba-arrow { justify-self: center; align-self: center; transform: rotate(90deg); width: 56px; color: var(--color-ink); }
.art-arrow { display: block; width: 100%; height: auto; color: var(--color-ink); }
.js .band .art-arrow path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .band.in .art-arrow path { stroke-dashoffset: 0; transition: stroke-dashoffset .9s var(--ease-out) .35s; }
.js .band.in .after .eline { animation: eflow .9s linear .9s 4; }
@keyframes eflow { to { stroke-dashoffset: -26; } }

/* ---------- process line ---------- */
.steps { position: relative; list-style: none; margin: var(--space-8) 0 var(--space-6); padding: 0; display: grid; gap: var(--space-6); }
.steps li { display: grid; grid-template-columns: 52px 1fr; column-gap: var(--space-4); position: relative; }
.steps .num { position: relative; z-index: 1; grid-row: span 2; width: 52px; height: 52px; border-radius: 12px; background: var(--color-night); border: 2px solid var(--color-sky-on-night); display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: var(--fs-h3); font-weight: 800; color: var(--color-sky-on-night); transition: background-color 400ms, color 400ms, border-color 400ms; }
.steps h3 { margin: 4px 0 2px; }
.steps p { margin: 0; color: #dbe9f3; }
.steps .ph { color: var(--color-ink); }
.steps::before { content: ""; position: absolute; left: 25px; top: 26px; bottom: 26px; width: 2px; background: var(--color-sun); transform-origin: top; transform: scaleY(1); }
.reply { font-weight: 600; font-size: var(--fs-lead); color: var(--color-sky-on-night); }
.js .steps::before { transform: scaleY(0); transition: transform 1.4s var(--ease-out) .2s; }
.js .reveal.in .steps::before { transform: scaleY(1); }
.js .reveal.in .steps .num { background: var(--color-sun); border-color: var(--color-sun); color: var(--color-ink); transition-delay: calc(.3s + var(--i) * .35s); }
/* W-0146 (audit-c31 s3 Home P2 + s4): every step has the same filled style at all times (no half-filled, "disabled"-looking step mid-reveal); only the line draws in */
.steps .num, .js .reveal .steps .num, .js .reveal.in .steps .num, .js .reveal.in .steps li:nth-child(n) .num { background: var(--color-sun); border-color: var(--color-sun); color: var(--color-ink); transition: none; }

/* ---------- proof and trust (launch) ---------- */
.proof { background: var(--color-paper-2); }
.proof-grid li { display: flex; align-items: flex-start; gap: var(--space-4); background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-card); padding: var(--space-6); }
.proof-grid p { margin: var(--space-2) 0 0; font-weight: 600; }
/* W-0126 (spec T): figure cards (big number, meaning, source caption with footnote ref), disclaimer, footnotes, small company facts row */
.fig-grid li.fig { display: flex; flex-direction: column; gap: var(--space-2); border-top: 4px solid var(--color-sun); }
.fig-grid .fig-n { margin: 0; font-family: var(--font-heading); font-weight: 800; font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.25rem); line-height: 1.05; letter-spacing: -.02em; color: var(--color-ink); }
.fig-grid .fig-t { margin: 0; font-weight: 500; }
/* W-0131: the superscript mark after the one-line meaning links to the citation on the sources page; the target stays 24 px high (WCAG 2.2) */
.fn { font-size: .72em; line-height: 0; margin-left: 2px; vertical-align: baseline; position: relative; top: -.45em; }
.fn-ref { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: 24px; font-weight: 700; text-decoration: none; color: var(--color-ink); border-radius: 4px; }
.fn-ref:hover, .fn-ref:focus-visible { text-decoration: underline; background: var(--color-sun-soft); }
.fig-note { margin: var(--space-6) 0 0; font-size: var(--fs-small); color: var(--color-ink-muted); max-width: 70ch; }
.fn-h { margin: var(--space-6) 0 var(--space-2); }
.fig-fn { margin: 0; padding-left: 1.5em; font-size: var(--fs-small); color: var(--color-ink-muted); max-width: 80ch; }
.fig-fn li { margin-bottom: var(--space-1); overflow-wrap: anywhere; }
.fig-fn li:target { background: var(--color-sun-soft); border-radius: 4px; }

/* ---------- FAQ accordion (native details, one open at a time) ---------- */
.faq { background: var(--color-surface); }
.faq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-6) var(--gap); }
.faq-grid > h2 { grid-column: 1 / -1; margin: 0; max-width: 18ch; text-wrap: balance; }
.faq-list { grid-column: 1 / -1; border-top: 1px solid var(--color-line); }
.qa { border-bottom: 1px solid var(--color-line); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 60px; padding: var(--space-4) 0; cursor: pointer; font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-lead); line-height: 1.25; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:focus-visible { outline: var(--focus-ring); outline-offset: 2px; border-radius: 8px; }
.qa-q { min-width: 0; }
.qa-ch { flex: none; width: 28px; height: 28px; padding: 4px; border-radius: 50%; background: var(--color-sun-soft); transition: transform var(--dur-base) var(--ease-out), background-color var(--dur-base); }
.qa[open] .qa-ch { transform: rotate(180deg); background: var(--color-sun); }
@media (hover: hover) { .qa summary:hover .qa-ch { background: var(--color-sun); } }
.qa-a { padding: 0 var(--space-8) var(--space-6) 0; color: var(--color-ink-muted); max-width: 64ch; }
.qa-a p { margin: 0; }
.qa[open] .qa-a { animation: qa-in 220ms var(--ease-out); }
@keyframes qa-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .js .reveal .bento > li, .js .reveal .sol-grid > li, .js .reveal .proof-grid > li { opacity: 1; transform: none; transition: none; }
  .bt, .sol, .sol-go .go-arrow, .badge { transition: none; }
  .js .band .art-arrow path, .js .band.in .art-arrow path { stroke-dashoffset: 0; transition: none; }
  .js .band.in .after .eline, .eline { animation: none; }
  .rq-tile, .rq-ico { transition: none; }
  .js .steps::before { transform: none; transition: none; }
  .js .reveal.in .steps .num, .steps .num { background: var(--color-sun); border-color: var(--color-sun); color: var(--color-ink); transition: none; }
  .qa[open] .qa-a { animation: none; }
  .qa-ch { transition: none; }
}

/* ---------- W-0161 (review c35 B1): one sticky header (.site-head, app.css) replaces the W-0107 second section bar (#sitenav, removed).
   Anchor jumps land below it: scroll-padding-top = header height + 8 px. ---------- */
html { scroll-padding-top: calc(var(--nav-h) + 8px); scroll-padding-bottom: var(--space-4); }
body.page-home { padding-bottom: 0; }

/* card affordance (one CTA label, audit C7): arrow badge, the label is in the link name */
.bt-go, .sol-go { align-self: flex-end; }
.go-arrow { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--color-sun-soft); color: var(--color-ink); font-weight: 800; line-height: 1; }
@media (hover: hover) { .bt:hover .go-arrow, .sol:hover .go-arrow { background: var(--color-sun); } }

/* ---------- W-0107 (audit C1): phone length. Pain cards: swipe row; solutions: 2 columns; tighter spacing ---------- */
@media (max-width: 639px) {
  .section { padding-block: var(--space-12); }
  .section > .wrap > h2 { margin-bottom: var(--space-6); }
  .sec-lead { margin-bottom: var(--space-6); }
  .bento { display: flex; gap: var(--space-3); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) var(--space-3); scroll-padding-inline: var(--gutter); }
  .bento > li { flex: 0 0 80%; scroll-snap-align: start; }
  .bt { gap: var(--space-3); padding-bottom: var(--space-4); }
  .bt .mini-svg { max-height: 104px; }
  .bridge { margin-top: var(--space-4); padding: var(--space-4); gap: var(--space-3); }
  .sol-grid { gap: var(--space-3); }
  .sol-grid > li { grid-column: span 6; }
  .sol { gap: var(--space-2); padding: var(--space-2) var(--space-2) var(--space-3); border-radius: 16px; }
  .sol .mini { padding: var(--space-2); margin-bottom: 0; }
  .sol .mini-svg { max-height: 72px; }
  .sol h4, .sol p, .sol-go { padding-inline: var(--space-1); }
  .sol h4 { font-size: 1rem; }
  .sol-go { font-size: var(--fs-small); }
  .sol-group + .sol-group { margin-top: var(--space-8); }
  .sol-group-head { margin-bottom: var(--space-3); padding-top: var(--space-3); }
  .why-tile { padding: var(--space-4); }
  .sol p { font-size: var(--fs-small); line-height: 1.4; }
  .sol .go-arrow { width: 32px; height: 32px; }
  .sol-other { margin-top: var(--space-4); }
  .ask { padding-block: var(--space-12); }
  .ask-in { gap: var(--space-6); }
  .ask-form { padding: var(--space-4) var(--space-3); border-radius: 20px; margin-inline: calc(var(--space-1) * -1); }
  .rq-tile { padding: 10px var(--space-3); gap: 6px; }
  .rq-ico { width: 36px; height: 36px; border-radius: 10px; }
  .rq-ico .ico { width: 22px; height: 22px; }
  .rq-tile .tk { top: 10px; right: 10px; }
  .rq-l { font-size: .875rem; }
  .rq-tile:last-child:nth-child(odd) { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: var(--space-3); }
  .rq-go { width: 100%; }
  .band { padding-block: var(--space-8); }
  .band-line { margin-bottom: var(--space-6); }
  .ba .art { border-radius: 14px; }
  .band-why { margin-top: var(--space-6); padding: var(--space-3) var(--space-4); font-size: 1rem; }
  .steps { margin: var(--space-6) 0 var(--space-4); gap: var(--space-4); }
  .proof-grid { gap: var(--space-3); }
  .proof-grid li { padding: var(--space-4); }
  .qa summary { min-height: 52px; padding-block: var(--space-3); }
}

/* ---------- breakpoints: 640 (6 + 6), 960 (full 12-column bento) ---------- */
@media (min-width: 640px) {
  .bento > li { grid-column: span 6; }
  .sol-grid > li, .proof-grid > li { grid-column: span 6; }
  .proof-grid > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  /* W-0125: phone and small tablet: each scene beside its bullets, the arrow points down between the two rows */
  .ba { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); gap: var(--space-3); align-items: center; }
  .ba-list { margin-top: var(--space-2); gap: 6px; }
  .ba-list li { font-size: var(--fs-small); }
  .ba-i { width: 18px; height: 18px; }
  .ba-arrow { width: 32px; }
}
@media (max-width: 479px) {
  /* phone: the scene full width (the art carries the story), tag and bullets under it */
  .ba { grid-template-columns: 1fr; gap: var(--space-2); }
  .ba figcaption { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: start; }
  .ba-list { margin-top: 0; }
  .ba-arrow { width: 28px; }
}
/* W-0164 (review c36 C1): the request block grid always fills its rows. 10 service tiles (one per card + other + not sure) = 2 columns x 5 full rows;
   from 640 px each tile is a compact row (icon, name, tick) so the block stays short; an odd count lets the last tile take the whole row. */
.rq-grid > .rq-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 640px) {
  .rq-tile { flex-direction: row; align-items: center; gap: var(--space-3); min-height: 64px; padding: var(--space-2) 44px var(--space-2) var(--space-3); }
  .rq-tile .tk { top: 50%; margin-top: -11px; }
  .rq-l { font-size: .9375rem; line-height: 1.25; }
}
@media (min-width: 768px) {
  .band-art { grid-template-columns: 1fr 96px 1fr; gap: var(--space-6); }
  .ba-arrow { transform: none; width: 96px; margin-top: -3rem; }
}
@media (min-width: 960px) {
  .ask-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-12); align-items: center; }
  .ask-form { padding: var(--space-8); }
}
@media (min-width: 960px) {
  .section { padding-block: var(--space-24); }
  .band { padding-block: var(--space-16); }
  /* pain cards: 3 x 2 (W-0145: 4 cases = 4 x 1); solution cards per group: 3 per row (group of 2: 2 of the same width) */
  .bento > li { grid-column: span 4; }
  .bento.n4 > li { grid-column: span 3; }
  .sol-grid > li { grid-column: span 4; }
  .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bridge { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--space-8); }
  .proof-grid > li { grid-column: span 4; }
  .proof-grid.n4 > li, .proof-grid.n4 > li:last-child:nth-child(odd) { grid-column: span 6; }
  .proof-grid > li:last-child:nth-child(odd) { grid-column: span 4; }
  .fig-grid.n2 > li, .fig-grid.n4 > li { grid-column: span 6; }
  .faq-grid > h2, .faq-head { grid-column: 1 / span 4; position: sticky; top: var(--space-8); align-self: start; }
  .faq-list { grid-column: 5 / -1; }
  .steps { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .steps li { display: block; grid-column: span 3; }
  .steps .num { margin-bottom: var(--space-4); }
  .steps::before { left: 26px; right: auto; top: 26px; bottom: auto; width: calc(75% + 18px); height: 2px; transform-origin: left; transform: scaleX(1); }
  .js .steps::before { transform: scaleX(0); }
  .js .reveal.in .steps::before { transform: scaleX(1); }
  .js .reveal.in .steps li:nth-child(n) .num { transition-delay: calc(.3s + var(--i) * .35s); }
}

/* ================= W-0161 (review c35 B2, B3, B5, B6) ================= */
/* B3: "Casos" right after the hero as a compact quick-route row: small art left, the situation, arrow; 4 in a row from 960 px, 2 x 2 from 640, a list on phones */
.bento-sec.compact { background: var(--color-paper-2); padding-block: var(--space-12); border-bottom: 1px solid var(--color-line); }
.sit-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2) var(--space-6); margin-bottom: var(--space-6); }
.compact .sit-head h2 { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); max-width: none; }
.compact .sit-head .sec-lead { margin: 0; font-size: 1rem; }
.compact .bento { gap: var(--space-3); }
.compact .bt { flex-direction: row; align-items: center; gap: var(--space-3); padding: var(--space-3); border-radius: 16px; }
.compact .mini { flex: none; width: 72px; padding: 6px; border-radius: 12px; }
.compact .mini-svg { max-height: 54px; }
.compact .bt-body { flex-direction: row; align-items: center; gap: var(--space-2); padding: 0; }
.compact .bt-text { flex: 1; font-size: .9375rem; line-height: 1.35; }
.compact .bt-go { margin: 0; align-self: center; }
.compact .go-arrow { width: 32px; height: 32px; }
@media (min-width: 960px) { .compact .bento.n4 > li { grid-column: span 6; } .compact .mini { width: 88px; } .compact .bt { padding: var(--space-3) var(--space-4) var(--space-3) var(--space-3); } .compact .bt-text { font-size: 1rem; } }
.bridge-s { margin: var(--space-4) 0 0; font-size: var(--fs-small); color: var(--color-ink-muted); }
@media (max-width: 639px) {
  .bento-sec.compact { padding-block: var(--space-8); }
  .compact .bento { display: grid; grid-template-columns: 1fr; gap: var(--space-2); overflow: visible; margin-inline: 0; padding: 0; }
  .compact .bento > li { flex: none; }
  .compact .mini { width: 60px; }
  .compact .mini-svg { max-height: 44px; }
}

/* B5: services header with the isometric scene (same style as the hero), white ground between the cream row and the night block */
.sol-head { display: grid; gap: var(--space-4); align-items: center; margin-bottom: var(--space-8); }
.sol-head h2 { margin-bottom: var(--space-8); max-width: 20ch; text-wrap: balance; }
.sol-head .sec-lead { margin-bottom: 0; }
.sol-art { margin: 0; justify-self: center; width: min(100%, 20rem); }
.sol-art .scene { display: block; width: 100%; height: auto; border-radius: 18px; }
@media (min-width: 960px) {
  .sol-head { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--space-12); margin-bottom: var(--space-12); }
  .sol-art { justify-self: end; width: 100%; max-width: 27rem; }
  .sol-group + .sol-group { margin-top: var(--space-16); }
}

/* B2: no holes. Each group fills its row: 3 cards = 3 columns, 2 cards = 2 wider horizontal cards (from 640 px).
   Phones: one column of compact horizontal cards (art left, title + line, arrow); the whole card is the link. */
@media (min-width: 640px) {
  .sol-grid.n3 > li { grid-column: span 4; }
  .sol-grid.n2 > li { grid-column: span 6; }
  .sol-grid.n3 .sol h4 { font-size: 1.125rem; }
}
@media (min-width: 960px) {
  .sol-grid.n2 .sol { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: var(--space-6); row-gap: var(--space-2); align-items: start; padding: var(--space-4); }
  .sol-grid.n2 .sol .mini { grid-row: 1 / span 3; align-self: stretch; display: flex; align-items: center; margin: 0; }
  .sol-grid.n2 .sol h4, .sol-grid.n2 .sol p, .sol-grid.n2 .sol .sol-go { grid-column: 2; padding-inline: 0; }
  .sol-grid.n2 .sol h4 { margin-top: var(--space-2); }
}
@media (max-width: 639px) {
  .sol-grid { gap: var(--space-2); }
  .sol-grid > li { grid-column: 1 / -1; }
  .sol { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: var(--space-3); row-gap: 2px; align-items: center; padding: var(--space-3); border-radius: 14px; }
  .sol .mini { grid-row: 1 / span 2; width: 60px; padding: 6px; margin: 0; border-radius: 10px; }
  .sol .mini-svg { max-height: 44px; }
  .sol h4 { grid-column: 2; align-self: end; padding: 0; font-size: 1rem; }
  .sol p { grid-column: 2; align-self: start; padding: 0; font-size: .875rem; line-height: 1.35; }
  .sol .sol-go { grid-column: 3; grid-row: 1 / span 2; align-self: center; margin: 0; padding: 0; }
  .sol .sol-go-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* label stays in the link name */
}

/* B3: the three promises close the "Como funciona" block (night ground) */
.promises { margin-top: var(--space-12); padding-top: var(--space-8); border-top: 1px solid rgb(159 201 227 / .25); }
.prom-h { margin: 0 0 var(--space-6); font-size: clamp(1.375rem, 1.15rem + 1vw, 1.875rem); color: var(--color-sun); }
.night .why-tile { background: rgb(255 255 255 / .06); border: 1px solid rgb(159 201 227 / .28); border-top: 4px solid var(--color-sun); color: var(--color-paper); }
.night .why-tile p { color: #dbe9f3; }
.night .why-t { font-size: var(--fs-h3); }
@media (max-width: 639px) { .promises { margin-top: var(--space-8); padding-top: var(--space-6); } }

/* B5 + B6: "Bom saber" on an amber ground (breaks the cream/white run); cards of equal height, the source mark on one baseline row at the foot of every card */
.proof { background: var(--color-sun-soft); }
.fig-grid li.fig { border-color: rgb(15 42 61 / .12); }
.fig-grid .fig-t { flex: 1; }
.fig-t .fn-ref { min-width: 0; padding-inline: 2px; } /* inline in the text: the number hugs the last word */
/* W-0169 (review c37 F3): no "Fonte" word on the cards and no separate "Fontes" line under the grid; the footnote number ends the text (fn-glue) and links to /fontes#nN */
