/* GEMCAP · page sections built from the approved system (07-style-guide). Loaded on every page after nav.css.
   Same tokens, same rules: cards only where the content is a card; the slant tile only for real sequences and decals;
   hover only under (hover: hover) and (pointer: fine); only transform and opacity animate.
   Contents: 1 page hero · 2 photo frames · 3 section heads + splits · 4 lists (ticks, features, trio) · 5 link rows ·
   6 facts table · 7 forms layout + side panel · 8 prose + legal · 9 home sections · 10 review marks */

/* ---------- 1 · page hero: breadcrumb, H1, lead, actions; photo right from 1024px, below on phones --------------- */
.page-hero { background: var(--color-surface-1); padding-block: calc(env(safe-area-inset-top, 0px) + 8px + var(--topbar-h, 56px) + var(--space-6)) var(--space-section); }
.page-hero__grid { display: grid; gap: var(--space-10); align-items: center; }
.page-hero__text { display: grid; gap: var(--space-5); align-content: start; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lead { max-width: 46ch; color: var(--color-ink); }
.page-hero .btn-row { margin-top: var(--space-2); }
.page-hero__tel { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; font-weight: 700; color: var(--color-ink); text-decoration: none; justify-self: start; }
.page-hero__tel .icon { color: var(--color-blue); width: 18px; height: 18px; stroke-width: 2; }
.page-hero--plain .page-hero__text { max-width: 760px; }
.page-hero--plain h1 { max-width: 20ch; }
@media (min-width: 1024px) {
  .page-hero { padding-top: calc(var(--nav-top, 16px) + var(--nav-h, 60px) + var(--space-12)); }
  .page-hero__grid--photo { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-12); }
}
@media (hover: hover) and (pointer: fine) { .page-hero__tel:hover .tel { text-decoration: underline; } }

.crumbs { font-size: var(--text-small); color: var(--color-ink-muted); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: 0.7; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-ink-muted); text-decoration: none; }
.crumbs [aria-current] { color: var(--color-ink); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .crumbs a:hover { color: var(--color-link); text-decoration: underline; } }

/* ---------- 2 · photo frames: 3:2 on phones, the slot's own ratio from 1024px; subject kept central -------------- */
.frame { position: relative; overflow: hidden; margin: 0; border-radius: var(--radius-xl); background: var(--color-surface-2); aspect-ratio: 3 / 2; box-shadow: var(--shadow-1); }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--fx, 50%) var(--fy, 55%); }
@media (min-width: 1024px) {
  .frame--43 { aspect-ratio: 4 / 3; }
  .frame--wide { aspect-ratio: 16 / 9; }
}
.frame--empty::after { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; padding: var(--space-6); text-align: center; font-size: var(--text-small); color: var(--color-ink-muted); }

/* ---------- 3 · section heads and splits ----------------------------------------------------------------------- */
.section__head .lead { color: var(--color-ink-muted); }
.section__head--center { justify-items: center; text-align: center; }
.section__head--center h2, .section__head--center .lead { margin-inline: auto; }
.section__foot { margin-top: clamp(var(--space-8), 3vw + 1rem, var(--space-12)); }
.split { display: grid; gap: var(--space-10); align-items: center; }
.split__text { display: grid; gap: var(--space-5); align-content: start; }
.split__text > p { max-width: 60ch; color: var(--color-ink-muted); }
.split__text > p.lead { color: var(--color-ink); }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-16); }
  .split--rev .split__media { order: -1; }
  .split--top { align-items: start; }
}
.stack { display: grid; gap: var(--space-4); }
.stack > p { color: var(--color-ink-muted); max-width: 68ch; }

/* ---------- 4 · lists --------------------------------------------------------------------------------------- */
/* ticks: requirements, guarantees, what you get */
.ticks { display: grid; gap: var(--space-3); }
.ticks li { position: relative; padding-left: 34px; line-height: var(--leading-lead); }   /* not a grid: inline marks inside an item stay inline */
.ticks li::before {
  content: ""; position: absolute; left: 0; top: calc(0.5lh - 11px); width: 22px; height: 22px; border-radius: 50%; background: var(--color-tint-blue) no-repeat center / 14px 14px var(--icon-tick);
}
/* an odd-length list in two columns flows top to bottom (6 + 5), so no lone item sits in a grid row */
@media (min-width: 768px) { .ticks--cols { display: block; columns: 2; column-gap: var(--space-10); } .ticks--cols li { break-inside: avoid; margin-bottom: var(--space-3); } }
@media (min-width: 768px) { .ticks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-10); } }
.ticks b { color: var(--color-ink); }

/* features: icon + title + one line, in rows separated by hairlines (never a wall of identical cards) */
.feats { display: grid; border-top: 1px solid var(--color-hairline); }
.feat { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: var(--space-4); padding-block: var(--space-5); border-bottom: 1px solid var(--color-hairline); }
.feat > .icon { width: 26px; height: 26px; color: var(--color-blue); margin-top: 1px; }
.feat h3 { font-size: var(--text-h3); }
.feat p { margin-top: var(--space-1); color: var(--color-ink-muted); max-width: 52ch; }
@media (min-width: 768px) {
  .feats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-10); }
}

/* trio: three parallel points; 1 column on phones, 3 from 1024px */
.trio { display: grid; gap: var(--space-8); }
.trio > * { display: grid; gap: var(--space-3); align-content: start; padding-top: var(--space-5); border-top: 2px solid var(--color-blue); }
.trio p { color: var(--color-ink-muted); }
.trio .link-arrow { justify-self: start; margin-top: var(--space-1); }
@media (min-width: 1024px) { .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-10); } }
.duo { display: grid; gap: var(--space-8); }
@media (min-width: 768px) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-10); } }
.duo > * { display: grid; gap: var(--space-3); align-content: start; padding-top: var(--space-5); border-top: 2px solid var(--color-blue); }
.duo p { color: var(--color-ink-muted); }

/* programs (drivers): two offers side by side, real cards */
.programs { display: grid; gap: var(--space-5); }
@media (min-width: 768px) { .programs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.program { display: grid; gap: var(--space-4); align-content: start; padding: clamp(20px, 3vw, 32px); background: var(--color-card); border: 1px solid var(--color-hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }
.program > p { color: var(--color-ink-muted); }
.program__icon { width: 30px; height: 30px; color: var(--color-blue); }

/* numbered steps (a real sequence: the slant tile numbers, last one gold) */
.steps { display: grid; gap: var(--space-6); counter-reset: s; }
.steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-4); align-items: start; align-content: start; }   /* rows never stretch: titles line up across a row */
.steps .tile { --tile-h: 36px; --tile-w: 36px; }
.steps h3 { padding-top: 5px; }
.steps p { margin-top: var(--space-1); color: var(--color-ink-muted); }
@media (min-width: 1024px) { .steps--row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-10); } .steps--row li { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 5 · link rows: other services, driver resources ------------------------------------------------ */
.xlinks { display: grid; gap: var(--space-3); }
@media (min-width: 1024px) { .xlinks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.xlink { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr) 20px; gap: var(--space-4); align-items: start; padding: var(--space-5); border: 1px solid var(--color-hairline); border-radius: var(--radius-lg); background: var(--color-card); color: var(--color-ink); text-decoration: none; transition: transform var(--dur-press) var(--ease-out); }
.xlink > .icon { width: 24px; height: 24px; color: var(--color-blue); }
.xlink__title { display: block; font-weight: 700; font-size: var(--text-h3); line-height: var(--leading-title); }
.xlink__desc { display: block; margin-top: var(--space-1); font-size: var(--text-small); line-height: var(--leading-small); color: var(--color-ink-muted); }
.xlink__go { width: 20px; height: 20px; margin-top: 3px; color: var(--color-blue); stroke-width: 2; transition: transform var(--dur-fast) var(--ease-out); }
.xlink:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .xlink:hover { border-color: var(--color-blue); } .xlink:hover .xlink__go { transform: translateX(3px); } }
.section--alt .xlink { background: var(--color-card); }

.res-groups { display: grid; gap: var(--space-10); }
@media (min-width: 1024px) { .res-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-12) var(--space-16); } }
.res-group h2 { font-size: var(--text-h3); font-family: var(--font-text); font-weight: 700; font-stretch: 100%; letter-spacing: 0; line-height: var(--leading-title); max-width: none; margin-bottom: var(--space-3); }
.res-list { border-top: 1px solid var(--color-hairline); }
.res-list a { display: grid; grid-template-columns: minmax(0, 1fr) 16px; gap: var(--space-3); align-items: center; min-height: 56px; padding-block: var(--space-3); border-bottom: 1px solid var(--color-hairline); color: var(--color-ink); text-decoration: none; }
.res-list b { display: block; font-weight: 600; }
.res-list small { display: block; color: var(--color-ink-muted); }
.res-list .icon { width: 16px; height: 16px; color: var(--color-blue); }
@media (hover: hover) and (pointer: fine) { .res-list a:hover b { color: var(--color-link); text-decoration: underline; } }

/* ---------- 6 · facts table (authority): label / value rows ----------------------------------------------- */
.facts { display: grid; border-top: 1px solid var(--color-hairline); }
.facts > div { display: grid; gap: var(--space-1); padding-block: var(--space-4); border-bottom: 1px solid var(--color-hairline); }
.facts dt { font-size: var(--text-small); color: var(--color-ink-muted); }
.facts dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.facts dd a { font-weight: 700; }
@media (min-width: 640px) { .facts > div { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--space-6); align-items: baseline; } }
.facts-group + .facts-group { margin-top: var(--space-10); }
.facts-group h3 { margin-bottom: var(--space-3); }

/* ---------- 7 · forms layout and the side panel ------------------------------------------------------------- */
.form-layout { display: grid; gap: var(--space-8); align-items: start; }
@media (min-width: 1024px) { .form-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--space-12); } .form-layout aside { position: sticky; top: calc(var(--nav-top, 16px) + var(--nav-h, 60px) + var(--space-6)); } }
.side { display: grid; gap: var(--space-5); padding: clamp(20px, 3vw, 32px); background: var(--color-surface-1); border-radius: var(--radius-lg); }
.side h2 { font: 700 var(--text-h3) / var(--leading-title) var(--font-text); letter-spacing: 0; font-stretch: 100%; max-width: none; }
.side .steps { gap: var(--space-4); }
.side .steps h3 { font-size: 1rem; padding-top: 7px; }
.side__tel { display: grid; gap: 2px; padding-top: var(--space-5); border-top: 1px solid var(--color-hairline); color: var(--color-ink); text-decoration: none; }
.side__tel small { color: var(--color-ink-muted); }
.side__tel b { font: 800 1.375rem / 1.15 var(--font-display); font-stretch: var(--display-stretch); font-variant-numeric: tabular-nums; white-space: nowrap; }
.side .creds-mini { display: grid; gap: var(--space-2); font-size: var(--text-small); font-weight: 600; }
.side .creds-mini li { display: flex; align-items: center; gap: var(--space-2); }
.side .creds-mini .icon { width: 18px; height: 18px; color: var(--color-blue); }

.form-step[hidden] { display: none; }
.form-step { display: grid; gap: var(--space-6); }
.form-card__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
@media (max-width: 479.98px) { .form-card__actions { flex-direction: column-reverse; align-items: stretch; } .form-card__actions .btn { width: 100%; } }
.form-card .fine { font-size: var(--text-small); color: var(--color-ink-muted); }
.form-status { display: none; gap: var(--space-2); padding: var(--space-4); border-radius: var(--radius-md); font-size: var(--text-small); line-height: var(--leading-small); }
.form-status.is-on { display: grid; }
.form-status--info { background: var(--color-tint-gold); color: var(--color-ink); }
.form-status--ok { background: var(--color-success-tint); color: var(--color-success); }
.form-status b { font-size: var(--text-label); }
.form-status a { color: var(--color-ink); font-weight: 700; }
.file { display: grid; gap: var(--space-2); }
.file input { font-size: 1rem; min-height: 44px; }
.field-row--3 { display: grid; gap: var(--space-5); }
@media (min-width: 768px) { .field-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.form-slot { min-height: var(--slot-h, 1200px); }
.hint-link { font-size: var(--text-small); font-weight: 600; }
.hint-link[hidden] { display: none; }

/* ---------- 8 · prose and legal ---------------------------------------------------------------------------- */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2.2em; font-size: var(--text-h2); }
.prose h3 { margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.75em; }
.prose ul { display: grid; gap: var(--space-2); padding-left: 1.25em; list-style: disc; }
.prose ul li::marker { color: var(--color-blue); }
.prose p, .prose li { color: var(--color-ink); }
.letter { max-width: 760px; font-size: var(--text-lead); line-height: var(--leading-lead); margin-inline: auto; }
.page-hero--center .page-hero__text { margin-inline: auto; width: 100%; max-width: 760px; }
.letter > * + * { margin-top: 1em; }
.letter__sign { margin-top: var(--space-8); display: grid; gap: 2px; }
.letter__sign b { font-size: var(--text-h3); }
.letter__sign span { color: var(--color-ink-muted); font-size: var(--text-body); }
.jump { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--color-hairline); border-radius: var(--radius-pill); background: var(--color-card); color: var(--color-ink); font-weight: 600; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .jump a:hover { border-color: var(--color-blue); color: var(--color-link); } }
.legal-doc + .legal-doc { margin-top: var(--space-16); padding-top: var(--space-12); border-top: 1px solid var(--color-hairline); }
.legal-doc .meta { font-size: var(--text-small); color: var(--color-ink-muted); }
.back-top { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: var(--space-6); font-weight: 600; font-size: var(--text-small); text-decoration: none; }
.back-top .icon { width: 16px; height: 16px; }

/* contact options: the phone first and biggest */
.contact-opts { display: grid; border-top: 1px solid var(--color-hairline); }
.contact-opt { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: var(--space-4); padding-block: var(--space-5); border-bottom: 1px solid var(--color-hairline); }
.contact-opt > .icon { width: 24px; height: 24px; color: var(--color-blue); margin-top: 2px; }
.contact-opt small { display: block; color: var(--color-ink-muted); font-size: var(--text-small); }
.contact-opt a, .contact-opt b { font-weight: 700; color: var(--color-ink); }
.contact-opt a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: underline; text-decoration-color: var(--color-hairline); text-underline-offset: 0.25em; }
.contact-opt--main a { font: 800 clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem) / 1.1 var(--font-display); font-stretch: var(--display-stretch); text-decoration: none; color: var(--color-ink); font-variant-numeric: tabular-nums; }
.contact-opt .links { display: grid; }
@media (hover: hover) and (pointer: fine) { .contact-opt a:hover { text-decoration-color: currentColor; color: var(--color-link); } }

/* ---------- 9 · home sections --------------------------------------------------------------------------------- */
/* drivers: the client's long invitation, centred as a closing statement */
.join { justify-items: center; text-align: center; }
.join h2 { max-width: 34ch; font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.25rem); }   /* a sentence, not a headline: smaller than a section H2 */
.join > p { margin-inline: auto; }
/* intro: the tagline + name on the left, the client's paragraph on the right (desktop) */
.intro { display: grid; gap: var(--space-6); }
.intro__head { display: grid; gap: var(--space-4); align-content: start; }
.intro__body { display: grid; gap: var(--space-6); justify-items: start; }
.intro__body > p { color: var(--color-ink-muted); max-width: 62ch; }
@media (min-width: 1024px) { .intro { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-16); } }
/* why choose: the gold ticker opens the block edge to edge, the title under it on navy (Arthur 2026-10-05: "quero o
   navy mesmo"); the next section starts closer to it */
.why__head { padding-block: clamp(2.75rem, 2rem + 3vw, 4.5rem); background: var(--color-band); --color-ink: #fff; --color-ink-muted: var(--color-inverse-muted); color: #fff; }
.why__head .section__head { margin-bottom: 0; }
.why + .section { padding-top: clamp(2.75rem, 2rem + 3vw, 4.5rem); }
/* cruise spotlight: the list of what we handle as compact ticks in two columns */
.spot__list { display: grid; gap: var(--space-2) var(--space-8); }
@media (min-width: 480px) { .spot__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* reviews: a scroll-snap row on phones, 4 across from 1024px (all the same size) */
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(272px, 82%); gap: var(--space-4); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scroll-padding-inline: var(--gutter); padding: 4px var(--gutter) var(--space-4); margin-inline: calc(-1 * var(--gutter)); scrollbar-width: thin; }
.reviews > * { scroll-snap-align: start; }
.reviews .review blockquote { font-size: var(--text-body); line-height: var(--leading-body); }
@media (min-width: 768px) { .reviews { grid-auto-columns: minmax(300px, 46%); } }
@media (min-width: 1024px) { .reviews { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding: 0; } }
.reviews-note { margin-top: var(--space-4); font-size: var(--text-small); color: var(--color-ink-muted); }

/* founder note: no portrait until the real one exists - the quote carries it */
.founder { display: grid; gap: var(--space-6); max-width: 920px; }
.founder blockquote { margin: 0; font: 800 clamp(1.375rem, 1.05rem + 1.4vw, 2.125rem) / 1.25 var(--font-display); font-stretch: var(--display-stretch); letter-spacing: var(--tracking-display); text-wrap: balance; }
.founder blockquote::before { content: ""; display: block; width: 44px; height: 4px; margin-bottom: var(--space-6); border-radius: 2px; background: var(--color-gold); }
.founder figcaption { display: grid; gap: 2px; }
.founder figcaption b { font-size: var(--text-h3); }
.founder figcaption span { color: var(--color-ink-muted); }
.founder__more { display: grid; gap: var(--space-3); justify-items: start; color: var(--color-ink-muted); max-width: 60ch; }
.founder-band { display: grid; gap: var(--space-6); }
@media (min-width: 1024px) {   /* the quote left, who said it and where to read more on the right: no empty half */
  .founder-band { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--space-16); align-items: center; }
  .founder-band .founder__more { padding-left: var(--space-8); border-left: 1px solid var(--color-hairline); }
}

/* FAQ section */
.faq-wrap { display: grid; gap: var(--space-8); }
@media (min-width: 1024px) { .faq-wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-16); align-items: start; } .faq-wrap .section__head { margin-bottom: 0; } }
.faq-group + .faq-group { margin-top: var(--space-12); }
.faq-group h2 { margin-bottom: var(--space-5); }

/* single review on a service page */
.callout { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 1024px) { .callout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-16); } }
.callout .review { height: auto; }

/* ---------- 10 · facts waiting on the client: a dotted gold underline and a tooltip (08-client-questions.md) ----- */
.tbc { text-decoration: underline dotted var(--color-gold-press); text-decoration-thickness: 2px; text-underline-offset: 0.22em; }

/* ---------- 11 · the drivers' phone action bar: "Apply to drive" stays on one line, the quote button shortens ------- */
@media (max-width: 429.98px) {
  .action-bar--drivers .lbl-long { display: none; }
  .action-bar--drivers .lbl-short { display: inline; }
}

/* ---------- 12 · file input (resume): the picker button as an outline pill, like every other control ------------- */
.file input[type="file"] { color: var(--color-ink-muted); }
.file input[type="file"]::file-selector-button {
  min-height: 44px; margin-right: var(--space-3); padding: 0 18px; border: 2px solid var(--color-blue); border-radius: var(--radius-pill);
  background: var(--color-card); color: var(--color-blue); font: 700 var(--text-label) / 1 var(--font-text); cursor: pointer;
}
@media (hover: hover) and (pointer: fine) { .file input[type="file"]::file-selector-button:hover { background: var(--color-tint-blue); } }
/* legal jump links: one row on desktop, 2x2 on phones */
@media (max-width: 767.98px) { .jump--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } .jump--grid a { justify-content: center; text-align: center; } }

@media (prefers-reduced-motion: reduce) {
  .xlink, .xlink__go { transition: none; }
  .xlink:active { transform: none; }
}

/* ---------- 11 · inner-page arrival (feedback 2026-10-05: more motion). The page-hero photo may be the LCP: painted at
   once, it only settles (compositor); the headline rises without fading; the rest rises and fades in after it. ------ */
@media (prefers-reduced-motion: no-preference) {
  .page-hero .frame img { animation: ph-photo 1600ms var(--ease-out) both; }
  .page-hero h1 { animation: ph-rise 700ms var(--ease-out) both; }
  .page-hero__text > :not(h1) { animation: ph-rise 700ms var(--ease-out) both, ph-fade 560ms ease both; animation-delay: 90ms; }
  .page-hero__text > :nth-child(n+4) { animation-delay: 170ms; }
}
@keyframes ph-photo { from { scale: 1.07; } }
@keyframes ph-rise { from { translate: 0 16px; } }
@keyframes ph-fade { from { opacity: 0; } }

/* ---------- 12 · our suggested extras (<Extra>): content the client has not reviewed. Hidden everywhere unless the
   preview's presentation panel switches them on (html.x-on); production has no panel, so they never show there. ---- */
html:not(.x-on) [data-extra] { display: none !important; }

/* ---------- 13 · logo in use: both logos are in the markup (small SVGs), Base.astro sets data-brand before paint ------ */
html:not([data-brand="new"]) .brand-new, html[data-brand="new"] .brand-orig { display: none !important; }
/* reviews: the full text unless the preview panel asks for the uniform excerpts */
.rv-short { display: none; }
html[data-reviews="uniform"] .rv-full { display: none; }
html[data-reviews="uniform"] .rv-short { display: block; }

/* ---------- 14 · the founder's statement (TMC's Wilbur statement, in GEMCAP's colours): deep navy with a gold and a
   blue glow, the quote large, its words lighting up in reading order as the band passes (opacity only, site.js · 7),
   a floating card that tilts toward the pointer. ---------- */
.statement { padding-block: clamp(4.5rem, 3rem + 6vw, 8rem); overflow: clip; background: var(--color-band-deep); }
.statement__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(55% 50% at 100% 12%, var(--st-glow-gold, rgb(247 181 0 / 0.20)), transparent 70%),
              radial-gradient(60% 50% at 0% 100%, var(--st-glow-blue, rgb(21 89 214 / 0.50)), transparent 72%); }
.statement__inner { display: grid; gap: var(--space-10); }
.statement__figure { display: grid; gap: var(--space-6); margin: 0; }
.statement__quote p { font: 800 clamp(1.625rem, 1.05rem + 2.3vw, 3rem) / 1.16 var(--font-display); font-stretch: var(--display-stretch); letter-spacing: var(--tracking-display); text-wrap: balance; max-width: 24ch; }
.st-w { opacity: clamp(0.22, calc(var(--p, 1) * (var(--n, 1) + 2) - var(--i, 0)), 1); }
.statement__by { display: flex; align-items: center; gap: 14px; color: var(--color-ink-muted); }
.statement__by b { color: var(--color-ink); }
.statement__dash { flex: none; width: 40px; height: 3px; border-radius: 2px; background: var(--color-gold); }
.statement__more { display: grid; gap: var(--space-3); justify-items: start; max-width: 56ch; color: var(--color-ink-muted); }
.statement__photo { justify-self: start; width: 150px; perspective: 900px; }
.statement__card {
  position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius-xl);
  rotate: 4deg; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 400ms var(--ease-out);
  background: radial-gradient(90% 70% at 50% 100%, rgb(247 181 0 / 0.28), transparent 70%), linear-gradient(165deg, #FFFFFF, #E4ECF9);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.6), 0 28px 56px -18px rgb(0 0 0 / 0.65);
}
.statement__card img { width: 70%; height: auto; }
/* the founder's portrait slot (Arthur 2026-10-05: "imagem da cliente aqui") until GEMCAP sends her photo */
.statement__slot { position: absolute; inset: 12px; display: grid; place-content: center; justify-items: center; gap: var(--space-3); padding: var(--space-4); border: 2px dashed rgb(11 31 68 / 0.22); border-radius: calc(var(--radius-xl) - 6px); color: #4A5A78; text-align: center; font-size: var(--text-small); line-height: var(--leading-small); font-weight: 600; }
.statement__slot .icon { width: 44px; height: 44px; stroke-width: 1.5; color: #1559D6; }
.statement__glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 300ms ease;
  background: radial-gradient(60% 50% at var(--gx, 50%) var(--gy, 30%), rgb(255 255 255 / 0.55), transparent 70%); }
.statement__card.is-tilting .statement__glare { opacity: 1; }
@media (min-width: 1024px) {
  .statement__inner { grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(40px, 5vw, 88px); align-items: center; }
  .statement__photo { width: auto; justify-self: stretch; }
}
@media (prefers-reduced-motion: no-preference) {
  .statement__float { animation: statement-float 6s ease-in-out infinite; }
}
@keyframes statement-float { 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .statement__card { transition: none; } }
/* the dark theme inverts it (Arthur 2026-10-05: "a sessão da frase de efeito ser clara no dark mode"): the page's one light
   band, as the deep navy statement is the light theme's strongest dark one */
:root[data-theme="dark"] .statement {
  color-scheme: light; --color-ink: #0B1F44; --color-ink-muted: #4A5A78; --color-hairline: #DDE4EE; --color-link: #1559D6;
  --color-focus: #1559D6; --color-blue: #1559D6; --color-selection: #CFE0FC; --st-glow-gold: rgb(247 181 0 / 0.24);
  --st-glow-blue: rgb(21 89 214 / 0.14); background: #F4F7FB;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .statement {
  color-scheme: light; --color-ink: #0B1F44; --color-ink-muted: #4A5A78; --color-hairline: #DDE4EE; --color-link: #1559D6;
  --color-focus: #1559D6; --color-blue: #1559D6; --color-selection: #CFE0FC; --st-glow-gold: rgb(247 181 0 / 0.24);
  --st-glow-blue: rgb(21 89 214 / 0.14); background: #F4F7FB;
  }
}

/* ---------- 15 · tags on the service photos (Arthur 2026-10-05: "dá mais profundidade"): two facts from the client's
   own copy float over each photo; they pop in with the card and drift gently. ---------- */
.svc-tag {
  position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 10px; max-width: calc(100% - 28px);
  padding: 7px 14px 7px 7px; border-radius: var(--radius-lg); background: rgb(255 255 255 / 0.95); color: var(--navy-base);
  box-shadow: 0 1px 2px rgb(11 31 68 / 0.10), 0 10px 28px rgb(11 31 68 / 0.22); font-size: 0.8125rem; line-height: 1.25; font-weight: 600;
}
.svc-tag .tile { --tile-h: 30px; --tile-w: 30px; }
.svc-tag .tile .icon { width: 16px; height: 16px; }
.svc-tag b { display: block; font: 800 1rem / 1.05 var(--font-display); font-stretch: var(--display-stretch); font-variant-numeric: tabular-nums; }
.svc-tag--a { left: 14px; top: 14px; }
.svc-tag--b { right: 14px; bottom: 14px; }
@media (min-width: 1024px) { .svc-tag { font-size: 0.875rem; padding: 8px 16px 8px 8px; } .svc-tag--a { left: 18px; top: 18px; } .svc-tag--b { right: 18px; bottom: 18px; } }
@media (prefers-reduced-motion: no-preference) {
  .svc-tag { animation: tag-float 5s ease-in-out infinite; }
  .svc-tag--b { animation-delay: -2.5s; }
  .svc.is-armed .svc-panel[data-active="true"] .svc-tag { animation: svc-tag-in 520ms var(--ease-out) 160ms both, tag-float 5s ease-in-out 700ms infinite; }
  .svc.is-armed .svc-panel[data-active="true"] .svc-tag--b { animation-delay: 260ms, 3.2s; }
}
@keyframes svc-tag-in { from { opacity: 0; transform: translateY(12px) scale(0.96); } }
@keyframes tag-float { 50% { translate: 0 -6px; } }

/* ---------- 16 · reviews band: two blades (gold + GEMCAP Blue), the CTA band's blade turned point-up, rise from the
   bottom left behind the cards; each card's quote mark is the same pair, small (Arthur 2026-10-05) ---------- */
.reviews-band { position: relative; isolation: isolate; overflow: hidden; }
.reviews-band__blades { position: absolute; z-index: -1; left: max(0px, calc((100% - var(--container)) / 2 - 140px)); bottom: -6%; height: 78%; width: auto; aspect-ratio: 155.6 / 133; transform: rotate(180deg); pointer-events: none; }
.reviews-band__blades .b-gold { fill: var(--color-gold); }
.reviews-band__blades .b-blue { fill: var(--blue-base); }   /* 61 units right: the two long edges meet, no gap */
@media (max-width: 1023.98px) { .reviews-band__blades { height: 46%; left: -40px; bottom: -4%; } }
.review__blades { display: flex; gap: 5px; height: 22px; }
.review__blades i { width: 9px; height: 100%; border-radius: 2px; background: var(--color-gold); transform: skewX(calc(-1 * var(--slant))); }
.review__blades i + i { background: var(--blue-base); }
