/* ===== Motion primitives (U2) =====
   Built only from the tokens above. The .reveal hidden state is gated behind
   html.reveal-ready (set by site.js), so every surface stays fully visible when
   JS is off or IntersectionObserver is missing. site.js toggles .is-visible
   once per element (reveal-once). */

html.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(var(--reveal-rise));
  transition: opacity var(--dur-slow) var(--ease-athletic),
    transform var(--dur-slow) var(--ease-athletic),
    filter var(--dur-slow) var(--ease-athletic);
  transition-delay: calc(var(--i, 0) * var(--reveal-stagger));
}
/* Variant hidden states. */
html.reveal-ready .reveal.reveal--blur {
  filter: blur(8px);
}
html.reveal-ready .reveal.reveal--hero {
  transform: translateY(var(--reveal-rise-hero));
}
html.reveal-ready .reveal.reveal--pop {
  transform: translateY(var(--reveal-rise-hero)) scale(0.96);
}

/* Revealed state — declared after every variant hidden state so it wins on
   equal specificity and resets all of them, not just the base. */
html.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Masked line reveal (hero headline): the wrapper stays put; inner lines rise
   from behind an overflow:hidden mask. */
.reveal--mask {
  overflow: hidden;
}
html.reveal-ready .reveal.reveal--mask {
  opacity: 1;
  transform: none;
}
html.reveal-ready .reveal.reveal--mask .reveal-line {
  display: block;
  transform: translateY(110%);
  transition: transform var(--dur-slow) var(--ease-athletic);
  transition-delay: calc(var(--i, 0) * var(--reveal-stagger));
  will-change: transform;
}
html.reveal-ready .reveal.reveal--mask.is-visible .reveal-line {
  transform: translateY(0);
}

/* Accent line draw-in. */
html.reveal-ready .reveal-accent {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-slow) var(--ease-athletic);
  transition-delay: calc(var(--i, 0) * var(--reveal-stagger));
}
html.reveal-ready .reveal-accent.is-visible {
  transform: scaleX(1);
}

/* Tactile press — on any clickable. */
.pressable {
  transition: transform var(--dur-fast) var(--ease-smooth);
}
.pressable:active {
  transform: scale(0.98);
}

/* Hover-depth helper. */
.hoverable {
  transition: transform var(--dur-base) var(--ease-smooth),
    box-shadow var(--dur-base) var(--ease-smooth),
    border-color var(--dur-base) var(--ease-smooth);
}
.hoverable:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

/* ===== Reduced motion — global hard rule (U2, R14) =====
   !important so it wins over every motion rule regardless of source order,
   including later units. Decorative motion collapses to final state. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html.reveal-ready .reveal,
  html.reveal-ready .reveal.reveal--mask .reveal-line,
  html.reveal-ready .reveal-accent {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  [data-parallax] {
    transform: none !important;
  }
}

/* U3 — home hero: room for descenders beneath the mask clip. */
.hero h1.reveal--mask {
  padding-bottom: 0.12em;
}

:root {
  --bg: #141416;
  --surface: #1f2023;
  --surface-2: #2d2f34;
  --text: #ededf0;
  --muted: #b0b2b8;
  --line: #36383e;
  --gold: #d4b17a;
  --gold-2: #8c6f31;
  --surface-card: #18191d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --logo-filter: invert(1);
  --hero-overlay: linear-gradient(90deg, rgba(20, 20, 22, 0.96) 0%, rgba(20, 20, 22, 0.78) 42%, rgba(20, 20, 22, 0.22) 100%);
  /* About callout + Sobre page: themed tokens. The literal values are mirrored
     in the body[data-theme="bright"] block so they flip with the global theme.
     (Referencing var(--bg) here would freeze to the dark value, because the
     bright overrides live on <body>, not on :root.) */
  --about-bg: #0d0e11;
  --about-surface: #121316;
  --about-deep: #08090c;
  --about-panel: #18191d;
  --about-panel-line: #26282d;
  --about-overlay: rgba(15, 16, 19, 0.86);
  --about-text: #ededf0;
  --about-muted: #c0c2c7;
  --about-line: #26282d;
  --about-num: rgba(212, 177, 122, 0.28);
  --about-num-solid: #d4b17a;
  --about-cta-bg: #d4b17a;
  --about-cta-text: #141416;
  --about-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --about-scrim-l: linear-gradient(90deg, rgba(10, 11, 14, 0.98) 0%, rgba(10, 11, 14, 0.88) 40%, rgba(10, 11, 14, 0.12) 78%);
  --about-scrim-r: linear-gradient(270deg, rgba(10, 11, 14, 0.98) 0%, rgba(10, 11, 14, 0.88) 40%, rgba(10, 11, 14, 0.12) 78%);
  /* Consultoria page: themed tokens, mirrored in body[data-theme="bright"]
     so they flip with the global theme (same rationale as --about-* above).
     Photographic overlays stay dark in both themes for light-text legibility. */
  --consultoria-bg: #101113;
  --consultoria-deep: #08090b;
  --consultoria-surface: #17181b;
  --consultoria-surface-2: #22242a;
  --consultoria-text: #f0f0f2;
  --consultoria-muted: #b5b7be;
  --consultoria-line: #303238;
  --consultoria-display: "Oswald", "Arial Narrow", Impact, sans-serif;
}

body[data-theme="bright"] {
  --bg: #f6f3ee;
  --surface: #eee9df;
  --surface-2: #d6c9b6;
  --text: #191a1a;
  --muted: #706a5d;
  --line: #d7cdbc;
  --gold: #d4b17a;
  --gold-2: #d4b17a;
  --surface-card: #efeae0;
  /* Shadows stay dark in bright mode too — the previous warm low-opacity tint
     read as a washed-out halo against the light background instead of grounding
     the hero/images/cards. */
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --logo-filter: none;
  /* The hero photographic overlay stays dark in both themes (like the
     consultoria hero) so the image reads with depth and the hero text stays
     light — a light scrim here washed the photo out. Home hero text is forced
     light in bright mode (see the bright .hero overrides after the .hero
     rules). */
  --hero-overlay: linear-gradient(90deg, rgba(20, 20, 22, 0.96) 0%, rgba(20, 20, 22, 0.78) 42%, rgba(20, 20, 22, 0.22) 100%);
  --about-bg: #f6f3ee;
  --about-surface: #efeae0;
  --about-deep: #ebe4d6;
  --about-panel: #f1ece3;
  --about-panel-line: #e2d9c8;
  --about-overlay: rgba(246, 243, 238, 0.92);
  --about-text: #191a1a;
  --about-muted: #706a5d;
  --about-line: #ddd3c2;
  --about-num: rgba(138, 113, 80, 0.38);
  --about-num-solid: #d4b17a;
  --about-cta-bg: #d4b17a;
  --about-cta-text: #1d150a;
  --about-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --about-scrim-l: linear-gradient(90deg, rgba(246, 243, 238, 0.97) 0%, rgba(246, 243, 238, 0.82) 44%, rgba(246, 243, 238, 0.22) 100%);
  --about-scrim-r: linear-gradient(270deg, rgba(246, 243, 238, 0.97) 0%, rgba(246, 243, 238, 0.82) 44%, rgba(246, 243, 238, 0.22) 100%);
  --consultoria-bg: #f6f3ee;
  --consultoria-deep: #ebe4d6;
  --consultoria-surface: #efeae0;
  --consultoria-surface-2: #d6c9b6;
  --consultoria-text: #191a1a;
  --consultoria-muted: #706a5d;
  --consultoria-line: #ddd3c2;
}

/* The muted-paragraph rules (.section-heading p, .consultoria-callout-copy p,
   .product-panel p) outrank the base .section-kicker / .card-label gold by
   specificity, so those kickers fall back to --muted. Every kicker text field
   must read as gold in both themes, so force them back to --gold (the brand gold
   #d4b17a in both themes) with a selector specific enough to
   win. body always carries a data-theme, so [data-theme] matches both. */
body[data-theme] .section-kicker,
body[data-theme] .card-label {
  color: var(--gold);
}

/* Sobre full-bleed photo sections (hero / metodo / hoje / final CTA) keep the
   dark photographic treatment in bright mode too — the bright scrims/overlays
   washed the photos to a light gradient and the dark text lost legibility. By
   re-pointing the --about-* photo tokens to their dark-theme values *locally on
   .about-bleed*, every descendant (scrim background, text, step badges, the
   floating goals panel) flips to the dark treatment at once, while the non-photo
   .about-block sections stay light. The scrim tokens are consumed by the inline
   background-image on the same .about-bleed element, so redefining them here
   reaches that too. */
body[data-theme="bright"] .about-bleed {
  --about-bg: #0d0e11;
  --about-text: #ededf0;
  --about-muted: #c0c2c7;
  --about-panel: #18191d;
  --about-panel-line: #26282d;
  --about-overlay: rgba(15, 16, 19, 0.86);
  --about-scrim-l: linear-gradient(90deg, rgba(10, 11, 14, 0.98) 0%, rgba(10, 11, 14, 0.88) 40%, rgba(10, 11, 14, 0.12) 78%);
  --about-scrim-r: linear-gradient(270deg, rgba(10, 11, 14, 0.98) 0%, rgba(10, 11, 14, 0.88) 40%, rgba(10, 11, 14, 0.12) 78%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  transition: background 0.2s ease, color 0.2s ease;
}

body[data-theme="dark"] .logo,
body[data-theme="dark"] .footer-logo {
  mix-blend-mode: screen;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(var(--container), calc(100vw - 2 * var(--gutter)));
  margin: 0 auto;
}

.narrow {
  width: min(840px, calc(100vw - 2 * var(--gutter)));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
}

.site-header .shell {
  width: min(1420px, calc(100vw - 48px));
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  flex: 0 0 auto;
}

.logo {
  width: 172px;
  height: 52px;
  object-fit: contain;
  filter: var(--logo-filter);
}

.nav-links,
.nav-actions,
.hero-actions,
.inline-actions,
.footer-links {
  display: flex;
  align-items: center;
}

.nav-links {
  margin-left: auto;
  justify-content: flex-end;
  gap: 22px;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a,
.footer-links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a {
  transition: color 0.2s ease, transform 0.18s ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--gold);
}

.nav-links a:hover {
  transform: translateY(-1px);
}

.nav-links a:active {
  transform: translateY(0) scale(0.95);
}

/* Active page = gold text + a persistent underline (replaces the old square
   marker, Design nr 2). The footer menu mirrors the header. The underline is the
   shared ::after rule near end-of-file: drawn in on hover, held for the active
   page. */
.nav-links a[aria-current="page"],
.footer-links a[aria-current="page"] {
  color: var(--gold);
}

/* The home page remaps --gold to the warmer #d4b17a, but the header and footer
   menus are global and style their hover + active highlight with --gold. On
   non-home bright pages --gold is the duller default, so the menu highlight read
   differently than on home. Pin both menus' bright-mode highlight to --gold-2
   (#d4b17a) on every page so the menus look identical everywhere. */
body[data-theme="bright"] .nav-links a:hover,
body[data-theme="bright"] .nav-links a[aria-current="page"],
body[data-theme="bright"] .footer-links a:hover,
body[data-theme="bright"] .footer-links a[aria-current="page"] {
  color: var(--gold-2);
}

@media (prefers-reduced-motion: reduce) {
  .nav-links a:hover,
  .nav-links a:active {
    transform: none;
  }
}

.nav-actions {
  gap: 10px;
}

.outline-btn,
.solid-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--control-h);
  border: 1px solid var(--gold);
  border-radius: var(--radius-control);
  padding: 12px 18px;
  background: transparent;
  color: var(--text);
  font-size: var(--fs-xs);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.outline-btn:hover,
.solid-btn:hover {
  transform: translateY(-1px);
}

.solid-btn {
  background: var(--gold);
  color: var(--bg);
}

/* ===== Button interactions (U5) =====
   Tokenised hover/press for the shared button classes: solid lifts + glows,
   outline morphs to a gold fill, all press on tap, arrows nudge. The opt-in
   .btn-sweep wipes a gold fill across (combine with outline for "fill+morph").
   The global reduced-motion rule neutralises all of it. */
.outline-btn,
.solid-btn {
  position: relative;
  transition: transform var(--dur-base) var(--ease-smooth),
    background var(--dur-base) var(--ease-smooth),
    color var(--dur-base) var(--ease-smooth),
    border-color var(--dur-base) var(--ease-smooth),
    box-shadow var(--dur-base) var(--ease-smooth);
}
.solid-btn:hover,
.solid-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.outline-btn:hover,
.outline-btn:focus-visible {
  transform: translateY(-2px);
}
.outline-btn:active,
.solid-btn:active {
  transform: scale(0.98);
  transition-duration: var(--dur-fast);
}
.outline-btn > span[aria-hidden="true"],
.solid-btn > span[aria-hidden="true"],
.outline-btn > svg,
.solid-btn > svg {
  transition: transform var(--dur-base) var(--ease-smooth);
}
.outline-btn:hover > span[aria-hidden="true"],
.solid-btn:hover > span[aria-hidden="true"],
.outline-btn:hover > svg,
.solid-btn:hover > svg {
  transform: translateX(4px);
}
/* Opt-in fill-sweep (combine with .outline-btn for the "fill+morph" feel). */
.btn-sweep {
  overflow: hidden;
  isolation: isolate;
}
.btn-sweep::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform var(--dur-base) var(--ease-smooth);
}
.btn-sweep:hover::before,
.btn-sweep:focus-visible::before {
  transform: translateX(0);
}
.btn-sweep.outline-btn:hover,
.btn-sweep.outline-btn:focus-visible {
  color: var(--bg);
  background: transparent;
}

.theme-toggle {
  position: fixed;
  right: clamp(16px, 2.5vw, 34px);
  bottom: clamp(16px, 2.5vw, 34px);
  z-index: 40;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  color: var(--text);
  box-shadow: var(--shadow);
  cursor: pointer;
  backdrop-filter: blur(14px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}

.theme-icon {
  display: none;
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-theme="dark"] .sun-icon,
body[data-theme="bright"] .moon-icon {
  display: block;
}

.hero {
  position: relative;
  min-height: 760px;
  height: calc(100svh - 72px);
  max-height: none;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-image: var(--hero-overlay), url("/static/images/source-0.jpg");
  background-size: cover, contain;
  background-position: center, right center;
  background-repeat: no-repeat;
}

.hero-content {
  padding: 72px 0;
}

.section-kicker,
.card-label {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: var(--fs-xs);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  width: min(670px, 100%);
  margin: 0;
  font-size: var(--h1);
  font-weight: 300;
  line-height: 1;
}

.page-hero h1 {
  width: min(760px, 100%);
  margin: 0;
  font-size: var(--text-display);
  font-weight: 300;
  line-height: 0.98;
  text-transform: uppercase;
}

.page-hero h1 strong {
  color: var(--gold);
  font-weight: 300;
}

.hero h1 strong {
  color: var(--gold);
  font-weight: 300;
}

.hero-copy,
.page-hero p,
.section-copy p,
.section-heading p,
.featured-copy p,
.info-card p,
.product-panel p,
.post-card p,
.empty-state p,
.site-footer p {
  color: var(--muted);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
}

/* Kicker/label size lock (UI-consistency pass): the muted-paragraph rule above
   (.section-heading p / .section-copy p, specificity 0,1,1) otherwise out-ranks
   the base .section-kicker (0,1,0), so a kicker inside a heading renders at
   body-copy size on pages with no page-specific re-assertion (e.g. blog). Match
   that specificity so every kicker reads at the label size; home keeps its
   larger emphasis via the more specific body.page-home rule. */
p.section-kicker,
p.card-label {
  font-size: var(--fs-xs);
}

.hero-copy {
  max-width: 470px;
  margin: 24px 0 0;
}

/* The home hero overlay is dark in both themes (see --hero-overlay), so its
   text must stay light in bright mode — otherwise the heading (--text) and lede
   (--muted) would be near-black on a dark photo. Scoped to .hero, which is
   home-only (other pages use .page-hero with no photo scrim). */
body[data-theme="bright"] .hero h1 {
  color: #ededf0;
}

body[data-theme="bright"] .hero-copy {
  color: #c7c9cf;
}

body[data-theme="bright"] .hero .outline-btn {
  color: #ededf0;
}

.hero-actions,
.inline-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.feature-strip {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feature-grid article {
  min-height: 124px;
  padding: 20px 22px;
  border-left: 1px solid var(--line);
}

.feature-grid article:last-child {
  border-right: 1px solid var(--line);
}

.feature-grid span,
.process-list span {
  color: var(--gold);
  font-size: var(--fs-xs);
  font-weight: 900;
}

.feature-grid h2,
.process-list h2 {
  margin: 12px 0 8px;
  font-size: 14px;
  line-height: 1.2;
  text-transform: uppercase;
}

.feature-grid p,
.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.55;
}

.section-block {
  scroll-margin-top: 180px;
  padding: var(--section-y) 0;
  border-bottom: 1px solid var(--line);
}

.alt-section {
  background: var(--surface);
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading.constrained {
  max-width: 760px;
}

.section-heading h2,
.section-copy h2,
.featured-copy h3,
.info-card h3,
.product-panel h3,
.post-card h2,
.empty-state h2,
.article-shell h1 {
  margin: 0;
  font-weight: 300;
  line-height: 1.05;
  text-transform: uppercase;
}

.section-heading h2,
.section-copy h2,
.article-shell h1 {
  font-size: var(--h2);
}

.editorial-grid,
.split-section,
.products-grid,
.consultoria-grid,
.page-hero-grid {
  display: grid;
  gap: var(--gap-lg);
}

.editorial-grid {
  grid-template-columns: 0.8fr 1.2fr;
  align-items: end;
}

.featured-post {
  display: grid;
  gap: 24px;
}

.media-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame.wide {
  aspect-ratio: 16 / 9;
}

.media-frame.portrait {
  aspect-ratio: 4 / 5;
}

.media-frame.square {
  aspect-ratio: 1 / 1;
}

.featured-copy,
.section-copy {
  max-width: var(--measure);
}

.latest-content-layout {
  display: grid;
  gap: 28px;
}

.content-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: 28px;
  align-items: end;
}

.content-heading-row .section-heading {
  margin-bottom: 0;
}

.content-description {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: var(--fs-md);
  line-height: 1.65;
}

.content-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.content-filter {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: var(--fs-xs);
  font-weight: 900;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.content-filter:hover,
.content-filter:focus-visible,
.content-filter.is-active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--bg);
  outline: none;
}

/* Gold-filled buttons take their label from --bg so it reads dark on gold. In
   bright mode --bg flips light, washing the label out against the gold; pin it
   to the dark ink so it stays legible, matching the dark-theme look. */
body[data-theme="bright"] .solid-btn,
body[data-theme="bright"] .content-filter:hover,
body[data-theme="bright"] .content-filter:focus-visible,
body[data-theme="bright"] .content-filter.is-active {
  color: #141416;
}

.content-panels,
.content-panel {
  display: grid;
  gap: 18px;
}

.content-panel[hidden],
.content-card[hidden],
.content-carousel-controls[hidden],
.tall-row[hidden] {
  display: none;
}

.content-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap-sm);
}

.content-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.content-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.content-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 18%, rgba(0, 0, 0, 0.78) 100%);
}

.content-card-media,
.content-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.content-card-media img {
  object-fit: cover;
  transition: transform 0.35s ease;
}

.content-card:hover .content-card-media img,
.content-card:focus-visible .content-card-media img {
  transform: scale(1.04);
}

.content-card-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: grid;
  gap: 8px;
  padding: var(--pad-card-sm);
}

.content-card-copy strong {
  color: var(--gold);
  font-size: var(--fs-2xs);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.content-card-title {
  /* The card always sits on a dark photo + dark gradient overlay, so the title
     must stay light regardless of theme (it would otherwise inherit the black
     --text in bright mode). Matches the white .content-card-subtitle below. */
  color: #fff;
  font-size: var(--h4);
  font-weight: 400;
  line-height: 1.08;
  text-transform: uppercase;
}

.content-card-subtitle {
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--fs-sm);
  line-height: 1.45;
}

.content-carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.content-carousel-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: var(--fs-lg);
  font-weight: 900;
  transition: border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.content-carousel-btn:hover,
.content-carousel-btn:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
  outline: none;
}

.content-carousel-btn:disabled {
  cursor: default;
  opacity: 0.38;
}

.split-section {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
}

.cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.consultoria-callout {
  padding: clamp(60px, 6.4vw, 92px) 0;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface) 92%, transparent), color-mix(in srgb, var(--bg) 96%, transparent)),
    var(--bg);
}

/* Wider than the default .shell (1180px) so the callout fills more of the page. */
.consultoria-callout .shell {
  width: min(1320px, calc(100vw - 48px));
}

.consultoria-callout-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.12fr 0.92fr;
  min-height: clamp(420px, 42vw, 600px);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  box-shadow: var(--shadow);
}

.consultoria-callout-media {
  position: relative;
  min-height: 400px;
  border-right: 1px solid var(--line);
  background: var(--surface-2);
}

.consultoria-callout-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.consultoria-callout-copy,
.consultoria-callout-proof {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.consultoria-callout-copy {
  padding: clamp(32px, 3.6vw, 52px);
}

.consultoria-callout-copy .section-kicker {
  margin-bottom: 14px;
}

.consultoria-callout-copy h2 {
  max-width: 560px;
  margin: 0;
  font-size: var(--h3);
  font-weight: 300;
  line-height: 1.04;
  text-transform: uppercase;
}

.consultoria-callout-copy h2 span {
  display: block;
  color: var(--gold);
}

.consultoria-callout-copy p,
.consultoria-callout-proof p,
.consultoria-reasons {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.consultoria-callout-copy > p {
  max-width: 430px;
  margin: 22px 0 0;
  font-size: var(--fs-base);
  line-height: 1.6;
}

.consultoria-callout-action {
  display: grid;
  justify-items: start;
  gap: 10px;
  margin-top: 22px;
}

.consultoria-callout-action span {
  max-width: 360px;
  color: color-mix(in srgb, var(--muted) 86%, var(--text));
  font-size: var(--fs-2xs);
  line-height: 1.5;
}

.consultoria-callout-proof {
  padding: clamp(32px, 3vw, 48px);
  border-left: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-2) 44%, transparent);
}

.consultoria-callout-proof p {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
}

.consultoria-reasons {
  margin: 0;
  padding: 0;
  list-style: none;
}

.consultoria-reasons li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: var(--fs-base);
  line-height: 1.55;
}

.consultoria-reasons-num {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: var(--fs-sm);
  font-weight: 900;
}

.info-card,
.post-card,
.empty-state,
.application-form,
.product-panel {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  padding: var(--pad-card);
}

.info-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: var(--fs-sm);
}

.info-card li {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.cta-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.products-grid {
  grid-template-columns: 0.8fr 1fr 1fr;
  align-items: stretch;
}

.product-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Let the text column fill the panel's stretched height so the CTA can
   anchor to the bottom-right corner of the card (works with or without an
   image above it). */
.product-panel > div:last-child {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-panel .outline-btn {
  margin-top: auto;
  align-self: flex-end;
}

/* The products heading column carries the "ver todos" CTA at its foot, so the
   button fills the empty space under the title and bottom-aligns with the
   cards beside it. */
.products-grid .section-heading {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.products-more-cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: clamp(80px, 9vw, 104px);
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--gold);
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--text);
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.products-more-cta svg {
  flex: 0 0 auto;
  width: var(--icon-lg);
  height: var(--icon-lg);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.products-more-cta:hover {
  transform: translateY(-1px);
  background: var(--gold);
  color: var(--bg);
}

.products-more-cta:hover svg {
  transform: translateX(4px);
}

.page-hero {
  padding: 96px 0 72px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 34%), var(--bg);
}

.page-hero.compact {
  min-height: 420px;
  display: grid;
  align-items: center;
}

.consultoria-hero {
  padding-bottom: 88px;
}

.page-hero-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.post-list {
  display: grid;
  gap: 18px;
}

.post-card h2 {
  font-size: var(--h3);
}

.post-card {
  display: grid;
  gap: 18px;
}

.article-shell {
  padding: var(--section-y) 0;
}

.back-link {
  margin: 0 0 28px;
  color: var(--gold);
  font-size: var(--fs-xs);
  font-weight: 900;
  text-transform: uppercase;
}

.article-excerpt {
  color: var(--muted);
  font-size: var(--fs-lg);
  line-height: 1.6;
}

.article-cover {
  margin: 34px 0;
}

.article-body {
  color: var(--text);
  font-size: var(--fs-md);
  line-height: 1.8;
}

.rich-copy {
  color: var(--muted);
  font-size: var(--fs-base);
  line-height: 1.7;
}

.rich-copy p:first-child {
  margin-top: 0;
}

.rich-copy p:last-child {
  margin-bottom: 0;
}

.article-body a,
.rich-copy a {
  color: var(--gold);
  text-decoration: underline;
}

.article-body figure,
.rich-copy figure {
  margin: 32px 0;
}

.article-body img,
.rich-copy img {
  width: auto;
  height: auto;
  max-width: 100%;
  border: 1px solid var(--line);
}

.article-body figure.media,
.rich-copy figure.media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.article-body figure.media iframe,
.rich-copy figure.media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.article-body table,
.rich-copy table {
  width: 100%;
  margin: 28px 0;
  border-collapse: collapse;
  font-size: var(--fs-base);
}

.article-body th,
.article-body td,
.rich-copy th,
.rich-copy td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
}

.consultoria-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.process-list {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.process-list article {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.application-form {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.application-form h2 {
  margin: 0 0 6px;
  font-size: 30px;
  font-weight: 300;
  text-transform: uppercase;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 0.45fr;
  gap: 14px;
}

.form-field,
.checkbox-field {
  display: grid;
  gap: 8px;
}

.form-field label,
.checkbox-field label {
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 900;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--bg);
  color: var(--text);
  padding: 13px 14px;
  font: 500 15px/1.4 Inter, Arial, Helvetica, sans-serif;
}

.form-field textarea {
  min-height: 126px;
  resize: vertical;
}

.checkbox-field {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.checkbox-field input {
  margin-top: 2px;
}

.checkbox-field .errorlist,
.form-field .errorlist {
  grid-column: 1 / -1;
}

.errorlist {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #f2a7a7;
  font-size: var(--fs-sm);
}

.full-btn {
  width: 100%;
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo {
  width: 150px;
  height: auto;
  filter: var(--logo-filter);
}

.site-footer p {
  margin: 16px 0 0;
}

.footer-links {
  gap: 18px;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 900;
  text-transform: uppercase;
}

/* About callout (home) + Sobre page ----------------------------------- */

/* Shared editorial primitives */
.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.about-eyebrow::after {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.about-eyebrow--bare::after {
  content: none;
}

.about-chapter {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 18px;
}

.about-num {
  font-family: var(--about-display);
  font-size: clamp(28px, 4.2vw, 56px);
  font-weight: 500;
  line-height: 0.9;
  color: var(--about-num-solid);
}

.about-chapter-label {
  color: var(--gold);
  font-size: clamp(12px, 1.3vw, 16px);
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Giant outlined chapter numeral (block 06) */
.about-shell-num {
  position: relative;
}

.about-ghost-num {
  position: absolute;
  top: -12px;
  left: clamp(-56px, -3.5vw, -16px);
  font-family: var(--about-display);
  font-size: clamp(150px, 17.5vw, 250px);
  font-weight: 600;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2px var(--about-num);
  pointer-events: none;
  user-select: none;
}

.about-chapter--rail {
  margin: 0 0 clamp(18px, 2.8vw, 34px);
}

.about-chapter--inline {
  margin-bottom: clamp(18px, 2.8vw, 34px);
}

.about-num-offset {
  padding-left: clamp(0px, 16vw, 0px);
}

.about-h {
  margin: 0;
  font-family: var(--about-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--about-text);
}

.about-h em {
  color: var(--gold);
  font-style: normal;
}

.about-h--xl {
  font-size: clamp(34px, 4.6vw, 62px);
}

.about-h--lg {
  font-size: clamp(30px, 3.8vw, 59px);
}

.about-h--md {
  font-size: clamp(24px, 2.6vw, 38px);
}

.about-rule {
  display: block;
  width: 54px;
  height: 2px;
  margin: 22px 0;
  background: var(--gold);
}

.about-lead,
.about-col-copy p,
.about-bleed-content p {
  color: var(--about-muted);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.8;
}

.about-gold-line {
  color: var(--gold);
  font-weight: 700;
}

/* Win over the .about-col-copy p / .about-bleed-content p muted colour so the
   gold emphasis lines actually read gold (blocks 1.2, 2, 3). */
.about-col-copy p.about-gold-line,
.about-bleed-content p.about-gold-line {
  color: var(--gold);
  font-size: clamp(16px, 1.8vw, 22px);
}

/* The bare eyebrow ("A pergunta") is a <p> inside .about-col-copy, so the muted
   .about-col-copy p rule (0,2,0) overrides the gold .about-eyebrow base. Re-assert
   gold so this kicker reads gold in both themes, like the other section kickers. */
.about-col-copy p.about-eyebrow--bare {
  color: var(--gold);
}

.about-icon {
  width: 26px;
  height: 26px;
  flex: none;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Full-bleed photo sections (hero / metodo / hoje / final CTA) */
.about-bleed {
  position: relative;
  background-color: var(--about-bg);
  background-size: cover;
  background-position: center;
}

.about-bleed > .shell {
  position: relative;
  z-index: 1;
  padding: clamp(72px, 9vw, 132px) 0;
}

.about-bleed-content {
  max-width: 560px;
}

.about-method-content {
  max-width: 720px;
}

.about-final-content {
  max-width: 780px;
}

.about-bleed--right .about-bleed-content {
  margin-left: auto;
}

/* Bleed-band chapter markers (metodo / hoje) read larger than the hero one */
.about-bleed .about-num {
  font-size: clamp(36px, 4.2vw, 56px);
}

/* Hero (Sobre page) */
.about-hero {
  min-height: 760px;
  height: calc(100svh - 72px);
  max-height: none;
  background-position: 58% center;
}

/* Cap the Sobre hero on tall monitors; min-height/svh still govern below. */
#sobre-pergunta {
  max-height: 800px;
}

.about-hero > .shell {
  display: flex;
  min-height: inherit;
  align-items: center;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: clamp(32px, 4.5vw, 64px);
  row-gap: clamp(40px, 6vw, 80px);
  max-width: 760px;
}

.about-hero-grid .about-eyebrow {
  grid-column: 1 / -1;
  margin: 0;
}

.about-hero .about-chapter {
  margin: 0;
  padding-top: 6px;
}

.about-hero .about-num {
  font-size: clamp(24px, 4.2vw, 56px);
}

.about-hero .about-h--xl {
  max-width: 530px;
}

.about-hero .about-hero-copy > p {
  max-width: 560px;
  margin: 0;
  color: var(--about-text);
  opacity: 0.82;
  line-height: 1.85;
}

.about-hero .about-hero-copy p + p {
  margin-top: 18px;
}

.about-hero .about-hero-copy h1 {
  margin-bottom: clamp(28px, 3.5vw, 48px);
}

/* Home callout: split layout — photo left, solid panel right */
.about-callout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1fr);
  min-height: clamp(520px, 46vw, 700px);
  background: var(--about-bg);
}

.about-callout-media {
  position: relative;
}

.about-callout-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-callout-panel {
  display: flex;
  align-items: center;
  padding: clamp(56px, 7vw, 104px) clamp(28px, 6vw, 110px)
           clamp(56px, 7vw, 104px) clamp(28px, 4.5vw, 76px);
}

.about-callout-content {
  max-width: 520px;
}

.about-callout .about-eyebrow {
  display: block;
  max-width: 19ch;
  margin: 0 0 clamp(22px, 2.6vw, 36px);
  font-size: 13px;
  line-height: 1.75;
  letter-spacing: 0.22em;
}

.about-callout .about-eyebrow::after {
  content: none;
}

/* Home (page-home) kicker texts all read at 18px — hero, latest content,
   consultoria, products card labels, and the about-callout eyebrow. Scoped to
   the home body and placed after the per-section overrides above (e.g. the
   13px .about-callout .about-eyebrow) so equal-specificity rules lose on source
   order and every home kicker lands on 18px. */
body.page-home .section-kicker,
body.page-home .card-label,
body.page-home .about-eyebrow {
  font-size: var(--fs-md);
}

.about-callout .about-h {
  max-width: 16ch;
  font-size: clamp(34px, 4.1vw, 58px);
  line-height: 1.06;
}

.about-callout .about-h em {
  color: inherit;
}

.about-callout .about-rule {
  width: clamp(68px, 7vw, 104px);
  height: 3px;
  margin: clamp(24px, 2.6vw, 36px) 0;
}

.about-callout-content > p:not(.about-eyebrow) {
  max-width: 44ch;
  margin: 0 0 16px;
  color: var(--about-muted);
  font-size: 16px;
  line-height: 1.65;
}

.about-callout .solid-btn {
  border-color: var(--about-cta-bg);
  background: var(--about-cta-bg);
  color: var(--about-cta-text);
  padding: 16px 26px;
  letter-spacing: 0.12em;
}

.about-callout-action {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 3vw, 44px);
}

.cta-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cta-arrow svg {
  width: var(--icon-md);
  height: var(--icon-md);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Generic block + split layout */
.about-block {
  padding: clamp(72px, 9vw, 124px) 0;
  background: var(--about-bg);
}

.about-block--alt {
  background: var(--about-deep);
}

.about-flow > * + * {
  margin-top: clamp(44px, 6vw, 84px);
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.about-col-copy {
  max-width: 540px;
  text-align: left;
  justify-self: start;
}

/* Block 01: copy wider than the floating quote */
.about-split--quote {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}

/* Block 02: copy left, image cards right */
.about-busca-grid {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(0, 2.5fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

/* Block 06: narrow copy + three roomy cards */
.about-split--impacto {
  grid-template-columns: minmax(230px, 1fr) minmax(0, 3.1fr);
}

/* Pull quotes: full-width rounded panel band */
.about-pullquote {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  margin: 0;
  padding: clamp(26px, 3vw, 38px) clamp(28px, 5vw, 96px);
  border: 1px solid var(--about-panel-line);
  border-radius: var(--radius-card);
  background: var(--about-panel);
  text-align: center;
}

.about-pullquote p {
  margin: 0;
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--about-text);
}

.about-pullquote em {
  color: var(--gold);
  font-style: normal;
}

.about-quotemark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 4.4vw, 70px);
  font-weight: 700;
  line-height: 1;
  color: color-mix(in srgb, var(--gold) 85%, transparent);
}

.about-quotemark--end {
  align-self: center;
}

/* Side quote (origem): free-floating, no panel */
.about-quote {
  margin: 0;
  padding: 0;
  max-width: 420px;
}

.about-quote p {
  margin: 10px 0;
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.75;
  color: var(--about-text);
}

.about-quote .about-quotemark {
  display: block;
  font-size: clamp(46px, 4.4vw, 70px);
}

.about-quote .about-quotemark--end {
  text-align: right;
}

/* Stat cards (origem): one rounded panel with internal dividers */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(40px, 5vw, 64px);
  border: 1px solid var(--about-line);
  border-radius: var(--radius-card);
  background: var(--about-surface);
  overflow: hidden;
}

.about-stat {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  padding: clamp(28px, 3vw, 42px) 22px;
}

.about-stat + .about-stat {
  border-left: 1px solid var(--about-line);
}

.about-stat .about-icon {
  width: 54px;
  height: 54px;
  stroke-width: 1.4;
}

.about-stat h3 {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--about-text);
}

.about-stat p {
  margin: 0;
  color: var(--about-muted);
  font-size: 14px;
  line-height: 1.55;
}

/* Image cards (busca): portrait, borderless, centered captions */
.about-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 0;
}

.about-card {
  display: flex;
  flex-direction: column;
  background: var(--about-surface);
  overflow: hidden;
}

.about-card-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--surface-2);
}

.about-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-card-body {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  padding: 24px 16px 28px;
}

.about-card .about-icon {
  width: 38px;
  height: 38px;
  stroke-width: 1.5;
}

.about-card h3 {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--about-text);
}

.about-card p {
  margin: 0;
  color: var(--about-muted);
  font-size: 13px;
  line-height: 1.55;
}

/* Radial system diagram (descoberta): two gold rings, dots on the outer
   ring, labels outside. Children order is fixed by the template: ring,
   inner ring, core, 6 dots (nth-child 4-9), 6 labels (nth-child 10-15). */
.about-system {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

/* Span the full shell (like blocks 01/02/06) so the copy column aligns to the
   chapter rail / left gutter instead of being inset by a centered container. */
#b-cap-03 .about-split {
  align-items: center;
}

#b-cap-03 .about-col-copy {
  max-width: 470px;
}

#b-cap-03 .about-system-wrap {
  display: grid;
  align-items: center;
  min-height: 100%;
}

#b-cap-03 .about-system {
  max-width: 520px;
}

#b-cap-03 .about-pullquote {
  margin-top: clamp(34px, 5vw, 30px);
}

.about-system-ring {
  position: absolute;
  inset: 16%;
  border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
  border-radius: var(--radius-pill);
}

.about-system-ring--inner {
  inset: 29%;
}

.about-system-core {
  position: absolute;
  inset: 31%;
  display: grid;
  place-items: center;
  padding: 12px;
  color: var(--gold);
  font-size: clamp(12px, 1.3vw, 20px);
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
}

.about-system-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--gold);
  transform: translate(-50%, -50%);
}

.about-system-dot:nth-child(4) { top: 16%; left: 50%; }
.about-system-dot:nth-child(5) { top: 33%; left: 79.4%; }
.about-system-dot:nth-child(6) { top: 67%; left: 79.4%; }
.about-system-dot:nth-child(7) { top: 84%; left: 50%; }
.about-system-dot:nth-child(8) { top: 67%; left: 20.6%; }
.about-system-dot:nth-child(9) { top: 33%; left: 20.6%; }

.about-node {
  position: absolute;
  width: max-content;
  color: var(--about-text);
  font-size: clamp(11px, 1.5vw, 18px);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-node:nth-child(10) { top: 9%;  left: 50%;   transform: translate(-50%, -50%); }
.about-node:nth-child(11) { top: 33%; left: 83.5%; transform: translate(0, -50%); }
.about-node:nth-child(12) { top: 67%; left: 83.5%; transform: translate(0, -50%); }
.about-node:nth-child(13) { top: 91%; left: 50%;   transform: translate(-50%, -50%); }
.about-node:nth-child(14) { top: 67%; left: 16.5%; transform: translate(-100%, -50%); }
.about-node:nth-child(15) { top: 33%; left: 16.5%; transform: translate(-100%, -50%); }

.about-system-fallback {
  display: none;
}

/* Process steps (metodo) */
/* Method steps: horizontal connected timeline (matches bloco 4 reference) */
.about-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(6px, 0.8vw, 14px);
  margin-top: clamp(36px, 4vw, 56px);
}

#sobre-metodo {
  background-position: 36% center;
}

#sobre-metodo .shell {
  display: flex;
  justify-content: flex-end;
}

#sobre-metodo .about-method-intro {
  max-width: 720px;
}

#sobre-metodo .about-method-intro p {
  font-size: clamp(15px, 1.8vw, 20px);
}

#sobre-metodo .about-steps {
  margin-top: clamp(30px, 3.5vw, 48px);
}

.about-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 clamp(2px, 0.6vw, 10px);
  text-align: center;
}

/* connector chevron between consecutive steps, centered on the badge row */
.about-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: clamp(52px, calc(10px + 6.25vw), 81px);
  left: 100%;
  width: 9px;
  height: 9px;
  border-top: 2px solid color-mix(in srgb, var(--gold) 65%, transparent);
  border-right: 2px solid color-mix(in srgb, var(--gold) 65%, transparent);
  transform: translate(-50%, -50%) rotate(45deg);
}

.about-step-badge {
  display: grid;
  place-items: center;
  width: clamp(56px, 6.5vw, 74px);
  height: clamp(56px, 6.5vw, 74px);
  border: 1px solid color-mix(in srgb, var(--gold) 75%, transparent);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--about-panel) 70%, transparent);
}

.about-step-badge .about-icon {
  width: 26px;
  height: 26px;
  stroke: var(--about-text);
}

.about-step-num {
  font-family: var(--about-display);
  color: var(--gold);
  font-size: clamp(16px, 3vw, 34px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
}

.about-step h3 {
  margin: 2px 0 0;
  font-size: clamp(12.5px, 1.4vw, 14.5px);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.about-step p {
  margin: 0;
  color: var(--about-muted);
  font-size: clamp(12px, 1.4vw, 15px);
  line-height: 1.5;
}

.about-method-tagline {
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding-top: clamp(20px, 2.5vw, 30px);
  border-top: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
  color: var(--about-text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
}

/* The tagline <p> sits in .about-bleed-content, whose `p` rule (0,1,1) outweighs
   .about-method-tagline (0,1,0); an id-scoped rule must win so the desktop size
   applies. Mobile stays at 13px (clamp min). */
#sobre-metodo .about-method-tagline {
  font-size: clamp(13px, 1.4vw, 17px);
}

.about-method-tagline em {
  color: var(--gold);
  font-style: normal;
}

.about-transition-rule {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(42px, 5vw, 76px);
  background: var(--about-bg);
}

.about-transition-rule::before {
  content: "";
  width: min(760px, calc(100vw - 48px));
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--gold) 58%, transparent),
    transparent
  );
}

.about-transition-rule span {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  background: var(--about-bg);
}

/* Goals (hoje): rounded translucent panel floating over the photo band */
.about-goals-band {
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(36px, 4vw, 56px) clamp(16px, 2.5vw, 36px);
  border: 1px solid var(--about-panel-line);
  border-radius: var(--radius-card);
  background: var(--about-overlay);
}

#sobre-busca .about-pullquote {
  margin-top: clamp(36px, 5vw, 72px);
}

#sobre-hoje > .shell {
  padding: clamp(42px, 5vw, 40px) 0;
}

#sobre-hoje > .shell + .shell {
  padding-top: 0;
}

#sobre-hoje .about-goals-band {
  margin-top: clamp(18px, 2.5vw, 0px);
  padding: clamp(22px, 2.6vw, 0px) clamp(14px, 2vw, 28px);
  border-radius: var(--radius-card);
}

#sobre-hoje .about-goals-band > h3 {
  margin-bottom: clamp(20px, 2.5vw, 30px);
}

#sobre-hoje .about-pullquote {
  margin-top: clamp(24px, 3.5vw, 44px);
}

.about-goals-band > h3 {
  margin: 0 0 clamp(28px, 3vw, 40px);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  color: var(--about-text);
}

.about-goals-band > h3 em {
  color: var(--gold);
  font-style: normal;
}

.about-goals {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-goal {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 14px;
  padding: 0 clamp(12px, 1.8vw, 26px);
  text-align: center;
}

.about-goal + .about-goal {
  border-left: 1px solid var(--about-line);
}

.about-goal .about-icon {
  width: 52px;
  height: 52px;
  stroke-width: 1.1;
}

.about-goal h4 {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--about-text);
}

.about-goal p {
  margin: 0;
  color: var(--about-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

/* Testimonials (prova) — bloco 06 carousels */
#sobre-impacto .about-split--impacto {
  grid-template-columns: minmax(230px, 1fr) minmax(0, 3.1fr);
  align-items: start;
  gap: clamp(40px, 5vw, 84px);
}

#sobre-impacto .about-col-copy {
  max-width: 540px;
}

#sobre-impacto .about-chapter {
  margin-bottom: 18px;
}

/* Right column: two stacked carousels */
.about-impacto-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 3.4vw, 50px);
  min-width: 0;
}

.about-carousel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.about-carousel-label {
  display: block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.about-carousel-sub {
  display: block;
  margin-top: 5px;
  color: var(--about-muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.about-carousel-head .content-carousel-controls {
  flex: none;
}

.about-carousel-viewport {
  overflow: hidden;
}

.about-carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.about-carousel-item {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
}

.about-testimonial {
  display: grid;
  gap: 16px;
  padding: 28px 26px;
  border: 1px solid var(--about-line);
  border-radius: var(--radius-card);
  background: var(--about-surface);
}

figure.about-testimonial.about-carousel-item {
  margin: 0;
  align-content: start;
}

/* Transformation media cards (3:4 portrait) */
.about-media-card {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--about-line);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--about-surface);
}

.about-media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-media-play {
  position: absolute;
  inset: 0;
  margin: auto;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gold);
  background: color-mix(in srgb, #08090c 52%, transparent);
  backdrop-filter: blur(3px);
  pointer-events: none;
}

.about-media-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 16px 15px;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(8, 9, 12, 0.94),
    rgba(8, 9, 12, 0.5) 52%,
    transparent
  );
}

.about-media-tag {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-media-caption strong {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-media-detail {
  color: var(--about-muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* Video cards are <button> triggers — reset native chrome, keep card visuals */
.about-media-card--video {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  width: 100%;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.about-media-card--video .about-media-play {
  transition: transform 0.25s ease, background 0.25s ease;
}

.about-media-card--video:hover .about-media-play,
.about-media-card--video:focus-visible .about-media-play {
  transform: scale(1.08);
  background: color-mix(in srgb, #08090c 35%, transparent);
}

.about-media-card--video:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Modal video player (design tokens: about panel surface + gold accents) */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
}

.video-modal.is-open {
  display: flex;
}

body.video-modal-open {
  overflow: hidden;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: var(--about-overlay);
  backdrop-filter: blur(4px);
}

.video-modal-dialog {
  position: relative;
  width: min(960px, 92vw);
  padding: 14px;
  border: 1px solid var(--about-panel-line);
  border-radius: var(--radius-card);
  background: var(--about-panel);
  box-shadow: var(--shadow);
}

.video-modal.is-open .video-modal-backdrop {
  animation: video-modal-backdrop-in var(--dur-base) var(--ease-out);
}

.video-modal.is-open .video-modal-dialog {
  animation: video-modal-in var(--dur-slow) var(--ease-athletic);
}

.video-modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--about-panel-line);
  background: var(--about-panel);
  color: var(--about-text);
  cursor: pointer;
  box-shadow: var(--shadow);
}

.video-modal-close:hover,
.video-modal-close:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
  outline: none;
}

.video-modal-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #000;
}

.video-modal-stage iframe,
.video-modal-stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@keyframes video-modal-backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes video-modal-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-modal.is-open .video-modal-dialog {
    animation: none;
  }
  .about-media-card--video .about-media-play {
    transition: none;
  }
}

/* Closing tagline, centered under the testimonial row (bloco 6 reference) */
.about-impacto-tagline {
  margin: clamp(36px, 4.5vw, 60px) 0 0;
  padding-top: clamp(20px, 2.5vw, 30px);
  border-top: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
  color: var(--about-text);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
}

.about-impacto-tagline em {
  color: var(--gold);
  font-style: normal;
}

.about-stars {
  display: flex;
  gap: 5px;
  color: var(--gold);
  font-size: 17px;
  letter-spacing: 0;
}

.about-testimonial > p {
  margin: 0;
  color: var(--about-text);
  font-size: 14px;
  line-height: 1.6;
}

.about-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.about-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid var(--gold);
  border-radius: var(--radius-pill);
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  background: color-mix(in srgb, var(--gold) 12%, transparent);
}

.about-author strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
}

.about-author span {
  color: var(--about-muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-author > span > span {
  display: block;
}

/* Final CTA badges: centered columns with dividers */
.about-cta-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(36px, 4.5vw, 56px);
  max-width: 780px;
}

#sobre-cta .about-callout-action {
  margin-top: clamp(22px, 3vw, 34px);
}

#sobre-cta .about-callout-action .solid-btn {
  justify-content: center;
  min-width: min(100%, 500px);
  height: clamp(54px, 6vw, 70px);
  font-size: clamp(16px, 1.8vw, 20px);
  padding-inline: clamp(28px, 4vw, 54px);
}

#sobre-cta .about-cta-badges {
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: clamp(18px, 2.5vw, 28px);
  border-top: 1px solid color-mix(in srgb, var(--gold) 28%, transparent);
}

.about-badge {
  display: grid;
  gap: 12px;
  justify-items: center;
  align-content: start;
  padding: 0 clamp(10px, 1.4vw, 20px);
  text-align: center;
}

.about-badge + .about-badge {
  border-left: 1px solid var(--about-line);
}

.about-badge .about-icon {
  width: clamp(32px, 4.5vw, 55px);
  height: clamp(32px, 4.5vw, 55px);
}

.about-badge span {
  font-size: clamp(11px, 1.2vw, 14px);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--about-text);
}


@media (max-width: 920px) {
  .nav {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
  }

  .nav,
  .nav-links,
  .nav-actions {
    flex-wrap: wrap;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-end;
    gap: 14px;
  }

  .feature-grid,
  .content-heading-row,
  .editorial-grid,
  .split-section,
  .cards-row,
  .consultoria-callout-grid,
  .products-grid,
  .consultoria-grid,
  .page-hero-grid,
  .about-split {
    grid-template-columns: 1fr;
  }

  /* Single column: no tall heading cell to fill, so give the CTA a normal gap
     under the title instead of stretching to the foot. */
  .products-more-cta {
    margin-top: clamp(24px, 5vw, 32px);
    min-height: 0;
  }

  .about-bleed-content {
    max-width: none;
    margin-left: 0;
  }

  .about-callout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .about-callout-media {
    aspect-ratio: 4 / 3;
  }

  .about-callout-panel {
    padding: 48px clamp(16px, 5vw, 28px) 64px;
  }

  .about-callout .about-h {
    max-width: none;
  }

  .about-hero-grid,
  .about-busca-grid {
    grid-template-columns: 1fr;
  }

  .about-hero-grid {
    row-gap: 28px;
  }

  .about-ghost-num {
    position: static;
    display: block;
    margin-bottom: 8px;
    font-size: 96px;
  }

  .about-chapter--rail {
    position: static;
    margin-bottom: 18px;
  }

  .about-num-offset {
    padding-left: 0;
  }

  .about-stats,
  .about-cards,
  .about-cta-badges {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-stat + .about-stat {
    border-left: 0;
  }

  .about-stat:nth-child(even) {
    border-left: 1px solid var(--about-line);
  }

  .about-stat:nth-child(n+3) {
    border-top: 1px solid var(--about-line);
  }

  .about-goal + .about-goal,
  .about-badge + .about-badge {
    border-left: 0;
  }

  .about-goals {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .about-steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-step:not(:last-child)::after {
    display: none;
  }

  .about-pullquote {
    padding: 24px 22px;
    gap: 16px;
  }

  #sobre-impacto .about-split--impacto {
    grid-template-columns: 1fr;
  }

  /* Two cards per view on tablet; JS reads the real card width. */
  #b-cap-06 .about-carousel-item {
    flex-basis: calc((100% - 20px) / 2);
  }

  .about-system {
    display: none;
  }

  .about-system-fallback {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .consultoria-callout-grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .consultoria-callout-media {
    min-height: 380px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .consultoria-callout-media img {
    min-height: 380px;
  }

  .consultoria-callout-proof {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .feature-grid article,
  .feature-grid article:last-child {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .application-form {
    position: static;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .content-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  /* One card per view with a small peek of the next one. */
  #b-cap-06 .about-carousel-item {
    flex-basis: 82%;
  }

  .shell,
  .narrow {
    width: min(100% - 24px, 1180px);
  }

  .site-header .shell {
    width: min(100% - 24px, 1180px);
  }

  .logo {
    width: 132px;
  }

  .hero {
    min-height: 680px;
    height: calc(100svh - 96px);
    background-position: 62% center;
  }

  .theme-toggle {
    width: 48px;
    height: 48px;
  }

  .hero-content,
  .section-block,
  .article-shell {
    padding: 56px 0;
  }

  .consultoria-callout {
    padding: 40px 0;
  }

  .page-hero {
    padding: 64px 0 52px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 42px;
  }

  .hero-copy,
  .page-hero p,
  .section-copy p,
  .section-heading p,
  .featured-copy p,
  .info-card p,
  .product-panel p,
  .post-card p,
  .empty-state p {
    font-size: 15px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .consultoria-callout-media,
  .consultoria-callout-media img {
    min-height: 300px;
  }

  .consultoria-callout-copy,
  .consultoria-callout-proof {
    padding: 28px 22px;
  }

  .consultoria-callout-copy h2 {
    font-size: 34px;
  }

  .content-filter {
    flex: 1 1 120px;
    padding: 0 12px;
  }

  .content-strip {
    grid-template-columns: 1fr;
  }

  .content-card {
    min-height: 300px;
  }

  .content-carousel-controls {
    justify-content: flex-start;
  }

  .about-stats,
  .about-cards,
  .about-goals,
  .about-cta-badges,
  .about-system-fallback {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   Blog — Lista 05 (listing) + Artigo 03 (article)
   ========================================================================== */

/* Lista 05 — featured split */
.featured-split {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.featured-split .media-frame {
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.featured-meta .dot {
  width: 4px;
  height: 4px;
  background: var(--gold);
}

.featured-title {
  margin: 0;
  font-size: var(--h2);
  font-weight: 300;
  line-height: 1.04;
  text-transform: uppercase;
}

/* Lista 05 — filter row + count */
.blog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}

.blog-count {
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Lista 05 — tall rows */
.blog-index {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 52px);
  border-top: 1px solid var(--line);
  padding-top: clamp(28px, 4vw, 52px);
}

.tall-row {
  display: grid;
  grid-template-columns: clamp(260px, 34%, 420px) 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
  padding: 0 0 clamp(28px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  min-height: clamp(280px, 30vw, 360px);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}

.tall-row:hover,
.tall-row:focus-visible {
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  outline: none;
}

.tall-row-media {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
  align-self: stretch;
}

.tall-row-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tall-row-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: clamp(28px, 3.5vw, 44px) clamp(8px, 1.5vw, 24px) clamp(28px, 3.5vw, 44px) 0;
}

.tall-row-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.tall-row-num {
  font-family: var(--about-display);
  font-size: 34px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.tall-row-cat {
  color: var(--gold);
  font-size: var(--fs-2xs);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tall-row-meta .dot {
  width: 4px;
  height: 4px;
  background: var(--line);
}

.tall-row-date {
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tall-row-title {
  margin: 0;
  font-size: var(--h3);
  font-weight: 300;
  line-height: 1.06;
  text-transform: uppercase;
}

.tall-row-excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 54ch;
}

.tall-row-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.tall-row-cta .read-more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold);
  font-size: var(--fs-2xs);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tall-row-cta .read-time {
  color: var(--muted);
  font-size: var(--fs-2xs);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Artigo 03 — reading-progress bar */
.readbar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--gold);
  z-index: 60;
  transition: width 0.12s linear;
}

/* Artigo 03 — immersive cover hero */
.article-hero {
  position: relative;
  min-height: clamp(540px, 72vh, 768px);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.article-hero-media {
  position: absolute;
  inset: 0;
}

.article-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.article-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 9, 11, 0.12) 0%,
    rgba(8, 9, 11, 0.52) 55%,
    rgba(8, 9, 11, 0.9) 100%
  );
}

.article-hero .shell {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(40px, 6vw, 72px);
}

.article-hero-kicker {
  color: var(--gold);
  font-size: var(--fs-xs);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.article-hero h1 {
  color: #fff;
  font-size: var(--h1);
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
  max-width: 18ch;
}

.article-hero .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  padding: 0;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.article-byline img {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-pill);
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.article-byline-name {
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.article-byline-meta {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12.5px;
  margin-top: 3px;
}

/* Artigo 03 — article grid (TOC rail + reading column) */
.article-grid {
  display: grid;
  grid-template-columns: 236px 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.article-grid.no-rail {
  grid-template-columns: 1fr;
}

.article-rail {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 28px;
}

.article-rail-label {
  color: var(--gold);
  font-size: var(--fs-2xs);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.article-toc {
  display: grid;
  gap: 2px;
  border-left: 1px solid var(--line);
}

.article-toc a {
  padding: 8px 0 8px 16px;
  margin-left: -1px;
  border-left: 1px solid transparent;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.article-toc a:hover,
.article-toc a.is-active {
  color: var(--gold);
  border-left-color: var(--gold);
}

.article-share-label {
  color: var(--muted);
  font-size: var(--fs-2xs);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

/* Share — Layout 2: labeled vertical list (X / WhatsApp / LinkedIn / copy). */
.article-share {
  position: relative;
  border-top: 1px solid var(--line);
}

.share-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 13px 2px;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: color 0.2s;
}

.share-row:last-child {
  border-bottom: none;
}

.share-row svg {
  display: block;
}

.share-row span {
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.share-row:hover,
.share-row:focus-visible {
  color: var(--gold);
  outline: none;
}

/* Copy-link feedback toast, anchored at the top of the share block. */
.share-toast {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  margin: 0;
  padding: 8px 13px;
  background: var(--gold);
  color: var(--bg);
  font-size: var(--fs-2xs);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.share-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.article-column {
  max-width: 760px;
}

.article-body h2 {
  font-size: var(--h4);
  font-weight: 300;
  text-transform: uppercase;
  line-height: 1.1;
  margin: clamp(40px, 4.5vw, 56px) 0 18px;
  scroll-margin-top: 100px;
}

.article-body blockquote {
  margin: clamp(36px, 4.5vw, 52px) 0;
  padding-left: clamp(22px, 3vw, 34px);
  border-left: 2px solid var(--gold);
}

.article-body blockquote p {
  font-size: clamp(22px, 2.6vw, 31px);
  font-weight: 300;
  line-height: 1.36;
  color: var(--text);
  margin: 0;
}

.article-body figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

/* Artigo 03 — gold drop-cap on the first paragraph */
.article-body.has-dropcap > p:first-of-type::first-letter {
  float: left;
  font-family: var(--about-display);
  font-size: 4.2em;
  line-height: 0.74;
  font-weight: 600;
  color: var(--gold);
  margin: 6px 14px 0 0;
}

/* Artigo 03 — author box */
.article-author-card {
  margin-top: clamp(40px, 5vw, 64px);
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--surface-card);
  display: flex;
  gap: 20px;
  align-items: center;
}

.article-author-card img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-pill);
  object-fit: cover;
  border: 1px solid var(--line);
  flex: none;
}

.article-author-card .label {
  color: var(--gold);
  font-size: var(--fs-2xs);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-author-card .name {
  font-size: 17px;
  font-weight: 300;
  text-transform: uppercase;
  margin: 6px 0 4px;
}

.article-author-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Artigo 03 — engagement + comments */
.article-engagement {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: clamp(36px, 5vw, 52px);
  border-top: 1px solid var(--line);
}

.engagement-prompt {
  margin-bottom: 28px;
}

.engagement-kicker {
  color: var(--gold);
  font-size: var(--fs-2xs);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.engagement-question {
  margin: 0;
  font-family: var(--about-display, inherit);
  font-size: var(--h4);
  font-weight: 300;
  line-height: 1.3;
}

.engagement-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 36px;
}

.like-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.like-button:hover,
.like-button:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.like-button.is-liked {
  border-color: var(--gold);
  color: var(--gold);
}

.like-button.is-liked svg {
  fill: var(--gold);
}

.like-count {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.comment-ack {
  margin: 0 0 28px;
  padding: 14px 18px;
  border: 1px solid var(--gold);
  background: var(--surface-card);
  color: var(--text);
  font-size: 14px;
}

.comment-form {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(40px, 5vw, 56px);
}

.comment-form-field {
  display: grid;
  gap: 7px;
}

.comment-form-field label {
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.comment-form-field input,
.comment-form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--surface-card);
  color: var(--text);
  font: inherit;
  font-size: 15px;
}

.comment-form-field textarea {
  resize: vertical;
  min-height: 110px;
}

.comment-form-field input:focus,
.comment-form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.comment-form .form-error,
.comment-form-field .errorlist {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #d9534f;
  font-size: var(--fs-sm);
}

.comment-list-title {
  font-size: var(--fs-base);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 24px;
}

.comment-item {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.comment-author {
  font-weight: 700;
  font-size: 14px;
}

.comment-date {
  color: var(--muted);
  font-size: var(--fs-sm);
}

.comment-body {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
}

.comment-empty {
  margin: 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

/* Artigo 03 — related grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 920px) {
  .featured-split,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-rail {
    position: static;
    top: auto;
  }

  .tall-row {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .tall-row-media {
    aspect-ratio: 16 / 9;
  }

  .tall-row-body {
    padding: clamp(20px, 4vw, 28px) 0;
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-filter-bar {
    align-items: flex-start;
  }
}

/* ===== Motion system tokens (U1) =====
   House easing, durations, layered-light shadows, and reveal amplitude.
   Components consume only these tokens — no one-off easing or duration values.
   Defined at end-of-file so the theme :root above stays the first :root block;
   custom properties resolve globally regardless of order. (Radius tokens live in
   the foundation block above as --radius-control / --radius-card / --radius-pill;
   the old unused --radius-sm/md/lg/xl scale was removed in the consistency pass.) */
:root {
  --ease-athletic: cubic-bezier(0.3, 1.34, 0.5, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 140ms;
  --dur-base: 320ms;
  --dur-slow: 760ms;
  --shadow-ring: 0 0 0 0.5px rgba(255, 255, 255, 0.04);
  --shadow-1: var(--shadow-ring), 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 22px rgba(0, 0, 0, 0.22);
  --shadow-2: var(--shadow-ring), 0 2px 4px rgba(0, 0, 0, 0.44), 0 22px 50px rgba(0, 0, 0, 0.34);
  --shadow-gold: 0 14px 34px rgba(217, 193, 140, 0.26);
  --reveal-rise: 22px;
  --reveal-rise-hero: 64px;
  --reveal-stagger: 90ms;
}

/* ===== Layout & typography foundation tokens (UI-consistency pass) =====
   Spacing, container, type, heading, gap, card-padding, control, and icon
   scales. Values equal today's house values, so adopting a token in an existing
   rule is a visual no-op; the consistency pass changes values only where the
   plan calls it out (fluid section rhythm, radius outliers, shared button
   height). Appended at EOF so the theme :root above stays the first :root block;
   custom properties resolve globally regardless of source order. */
:root {
  /* Raw spacing scale (4px base) — semantic tokens below build on these. */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 64px;

  /* Containers + gutter (rationalise the 1180/1320/1420 widths + 32/48 gutter). */
  --container: 1180px;
  --container-mid: 1320px;
  --container-wide: 1420px;
  --gutter: clamp(16px, 4vw, 24px);

  /* Section vertical rhythm — one fluid token for every section band. The max
     (100px) sits ~at today's fixed 92px so desktop is ~unchanged; the min (64px)
     stops phones from being over-spaced. */
  --section-y: clamp(64px, 8vw, 100px);

  /* Grid/flex gap tiers (42 = the dominant split gap; 24 mid; 16 tight). */
  --gap-sm: 16px;
  --gap-md: 24px;
  --gap-lg: 42px;

  /* Card / panel interior padding (28 = dominant site card; 20 compact; 40 large). */
  --pad-card-sm: 20px;
  --pad-card: 28px;
  --pad-card-lg: 40px;

  /* Interactive control min-height (buttons, inputs) — matches consultoria 46px. */
  --control-h: 46px;

  /* Radius — sharp-dominant (see U3). 2px controls/cards, pill for circles. */
  --radius-control: 2px;
  --radius-card: 2px;
  --radius-pill: 999px;

  /* Type scale. */
  --fs-2xs: 11px;
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-base: 16px;
  --fs-md: 18px;
  --fs-lg: 20px;
  --fs-xl: 24px;

  /* Line heights. */
  --lh-tight: 1.1;
  --lh-snug: 1.4;
  --lh-base: 1.6;
  --lh-relaxed: 1.7;

  /* Cross-page modular heading scale. Every page's headings pick a step; landing
     pages use --text-display for big-statement emphasis instead of ad-hoc sizes.
     The .about-* clamp system is out of scope (its own coherent ramp). */
  --text-display: clamp(46px, 6vw, 84px);
  --h1: clamp(40px, 5.2vw, 74px);
  --h2: clamp(31px, 3.8vw, 56px);
  --h3: clamp(26px, 2.8vw, 42px);
  --h4: clamp(21px, 1.9vw, 30px);
  --h5: clamp(17px, 1.2vw, 20px);

  /* Readable prose measure (line length). */
  --measure: 68ch;

  /* Icon sizes (non-about icons). */
  --icon-sm: 16px;
  --icon-md: 20px;
  --icon-lg: 24px;
}

/* ===== Simple parallax (U9) — native scroll-timeline, progressive =====
   Callout images are absolutely positioned (inset:0), so scaling/drifting them
   causes no layout shift. Runs only when motion is allowed AND the browser
   supports scroll-driven animations; the frame clips and the image is
   over-scaled so the drift never reveals an edge. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .about-callout-media,
    .consultoria-callout-media {
      overflow: hidden;
    }
    .about-callout-media img,
    .consultoria-callout-media img {
      animation: parallax-drift linear both;
      animation-timeline: view();
      animation-range: cover;
      will-change: transform;
    }
  }
}
@keyframes parallax-drift {
  from {
    transform: translateY(-6%) scale(1.16);
  }
  to {
    transform: translateY(6%) scale(1.16);
  }
}

/* ===== Motion polish (U-polish, 2026-06-26) =====
   Targeted motion for elements the base system left flat: a downward reveal
   variant, logo/nav hover draw-ins, button bounce + size + fill-in, filter-tab
   enter, card hover-reveal, list/icon/image micro-motion, and the about-system
   float. Appended at end-of-file so the CSS-presence tests (core/tests.py,
   first-occurrence selector split) keep parsing the original blocks. Every
   looping/decorative effect is neutralised in the reduced-motion block at the
   very end of this section. References (look only): Hover.css hvr-outline-out,
   Animate.css fadeInDown, uibuttons box goose/unicbox, ui-layouts HoverCard2. */

/* U1 — fadeInDown reveal variant: enters from above instead of below. Higher
   specificity than the base .reveal hidden state, so it wins regardless of
   order; the shared .is-visible reset returns it to transform:none. */
html.reveal-ready .reveal.reveal--down {
  transform: translateY(calc(-1 * var(--reveal-rise)));
}

/* U2 — logo hover lift (header + footer). */
.logo,
.footer-logo {
  transition: transform var(--dur-base) var(--ease-smooth),
    filter var(--dur-base) var(--ease-smooth);
}
.brand-link:hover .logo,
.brand-link:focus-visible .logo,
.footer-logo:hover {
  transform: translateY(-2px) scale(1.03);
}

/* U1 (v2b) — nav/footer menu underline: a 2px line under the link draws in on
   hover/focus and stays drawn for the active page (replacing the old square
   marker). Cheap (transform only). Links get position:relative in the base
   .nav-links a / .footer-links a rule above. */
.nav-links a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-base) var(--ease-smooth);
  pointer-events: none;
}
body[data-theme="bright"] .nav-links a::after,
body[data-theme="bright"] .footer-links a::after {
  background: var(--gold-2);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.footer-links a:hover::after,
.footer-links a:focus-visible::after,
.nav-links a[aria-current="page"]::after,
.footer-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* U3 (v2) — solid button "box goose": a stripe sweeps up from the bottom in a
   contrasting tone on hover (replaces the run-1 bounce). Clipped to the button;
   the base lift + glow and the tactile press are preserved. The stripe sits
   above the gold fill but below the label via isolation + negative z-index
   (mirrors the .btn-sweep technique). Accent = --bg (dark) for contrast on gold. */
.solid-btn {
  overflow: hidden;
  isolation: isolate;
}
.solid-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  z-index: -1;
  background: var(--bg);
  transform: translateY(100%);
  transition: transform var(--dur-base) var(--ease-athletic);
  pointer-events: none;
}
.solid-btn:hover::after,
.solid-btn:focus-visible::after {
  transform: translateY(0);
}
/* Bigger solid/filled button (spacing + type only, same motion). */
.solid-btn--lg {
  padding: 16px 30px;
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
}

/* U4 — filter-tab enter: the JS adds .is-entering to the panel/items it just
   revealed; the animation plays once and the class is removed on animationend. */
.is-entering {
  animation: filter-enter var(--dur-base) var(--ease-smooth) both;
}
@keyframes filter-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* U5 — card hover-reveal (HoverCard2): kicker + title show at rest, the
   subtitle/description expands on hover or keyboard focus. The text stays in the
   DOM (not display:none) so no-JS and screen-reader users still get it. */
.content-card-subtitle {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(6px);
  transition: max-height var(--dur-base) var(--ease-smooth),
    opacity var(--dur-base) var(--ease-smooth),
    transform var(--dur-base) var(--ease-smooth);
}
.content-card:hover .content-card-subtitle,
.content-card:focus-within .content-card-subtitle {
  max-height: 9em;
  opacity: 1;
  transform: none;
}

/* U6 — list-row hover (box unicbox feel): opt-in via .motion-row. */
.motion-row {
  transition: transform var(--dur-base) var(--ease-smooth),
    background var(--dur-base) var(--ease-smooth),
    color var(--dur-base) var(--ease-smooth);
}
.motion-row:hover {
  transform: translateX(4px);
}
/* U6 — decorative icon/glyph pop when its reveal group enters, plus a hover
   nudge. Opt-in via .motion-glyph on aria-hidden marks. */
html.reveal-ready .reveal .motion-glyph {
  transform: scale(0.6);
  opacity: 0;
  transition: transform var(--dur-slow) var(--ease-athletic),
    opacity var(--dur-slow) var(--ease-athletic);
  transition-delay: calc(var(--i, 0) * var(--reveal-stagger));
}
html.reveal-ready .reveal.is-visible .motion-glyph {
  transform: none;
  opacity: 1;
}

/* U7 — static-image motion: a clipped hover zoom (ken-burns-lite). Opt-in via
   .media-zoom on the image wrapper; pair with .reveal for the entrance. */
.media-zoom {
  overflow: hidden;
}
.media-zoom img {
  transition: transform var(--dur-slow) var(--ease-smooth);
  will-change: transform;
}
.media-zoom:hover img,
.media-zoom:focus-within img {
  transform: scale(1.06);
}

/* U8 — about-system float: dots drift gently around the core with a per-node
   phase offset; the rings rotate slowly. Amplitude is small so the diagram stays
   readable and the dots hold near their anchor positions. */
@media (prefers-reduced-motion: no-preference) {
  .about-system-dot {
    animation: about-dot-float 6s var(--ease-smooth) infinite;
  }
  .about-system-dot:nth-child(5) { animation-delay: -1s; }
  .about-system-dot:nth-child(6) { animation-delay: -2s; }
  .about-system-dot:nth-child(7) { animation-delay: -3s; }
  .about-system-dot:nth-child(8) { animation-delay: -4s; }
  .about-system-dot:nth-child(9) { animation-delay: -5s; }
  .about-system-ring {
    animation: about-ring-spin 48s linear infinite;
  }
  .about-system-ring--inner {
    animation-duration: 36s;
    animation-direction: reverse;
  }
}
@keyframes about-dot-float {
  0%,
  100% {
    transform: translate(-50%, -50%);
  }
  25% {
    transform: translate(calc(-50% + 4px), calc(-50% - 4px));
  }
  50% {
    transform: translate(-50%, calc(-50% - 6px));
  }
  75% {
    transform: translate(calc(-50% - 4px), calc(-50% - 4px));
  }
}
@keyframes about-ring-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Reduced-motion neutralisation for every effect added in this section. The
   global rule at the top already collapses transition-driven hover/entrance to
   their end state; these rules stop the looping/keyframe animations (U4 enter,
   U6 glyph, U8 float/spin) and reveal hover-only content at rest. */
@media (prefers-reduced-motion: reduce) {
  .is-entering,
  .about-system-dot,
  .about-system-ring,
  .about-system-ring--inner {
    animation: none !important;
  }
  .content-card-subtitle {
    max-height: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
  html.reveal-ready .reveal .motion-glyph {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================================
   Sobre — "dossier" layout (Option B rebuild). New d-* components for the
   /sobre/ page. Reuses the existing --about-* theme tokens (they resolve per
   the active light/dark theme) and the house motion tokens (--ease-*/--dur-*);
   the reveal-on-scroll + hover system is shared with the rest of the site.
   ========================================================================= */
.dossier {
  background: var(--about-bg);
  color: var(--about-text);
}

/* Chapter shell: rail + body, alternating band, top hairline. */
.d-ch {
  border-top: 1px solid var(--about-line);
  padding: clamp(54px, 7vw, 100px) 0;
}
.d-ch--open {
  border-top: none;
  padding-top: clamp(40px, 5vw, 72px);
}
.d-ch--alt {
  background: var(--about-surface);
}
.d-grid {
  display: grid;
  grid-template-columns: clamp(140px, 16vw, 208px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 68px);
  align-items: start;
}

/* Sticky numbered rail — top clears the 72px sticky .site-header. */
.d-rail {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.d-num {
  font-family: var(--about-display);
  font-weight: 700;
  font-size: clamp(64px, 8vw, 116px);
  line-height: 0.82;
  color: var(--about-num-solid);
  letter-spacing: -0.02em;
}
.d-num--arrow {
  color: var(--gold);
}
.d-rlabel {
  font-size: var(--fs-sm);
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.d-tick {
  width: 46px;
  height: 2px;
  background: var(--gold);
  margin-top: 4px;
}

.d-body {
  min-width: 0;
}

/* Body spacing — ported from the design's per-element margins. */
.d-eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: var(--fs-xs);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.d-body .about-h {
  margin-bottom: clamp(16px, 2vw, 26px);
}
#b-cap-01 .about-h--xl {
  margin-bottom: clamp(30px, 3.6vw, 50px);
}
.d-lead {
  margin: 18px 0 0;
  color: var(--about-muted);
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.7;
  max-width: 62ch;
}
.d-lead--gold {
  color: var(--gold);
  font-weight: 700;
}
/* The heading already carries margin-bottom — zero the first rule/lead after it. */
.d-body .about-h + .about-rule,
.d-body .about-h + .d-lead {
  margin-top: 0;
}

/* Framed inline image with caption chip. */
.d-frame {
  position: relative;
  border: 1px solid var(--about-panel-line);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--about-surface);
}
.d-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-slow) var(--ease-smooth);
  will-change: transform;
}
.d-frame:hover img {
  transform: scale(1.03);
}
.d-frame-cap {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(8, 9, 12, 0.82), transparent);
  color: #fff;
  font-size: var(--fs-2xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.d-frame-cap span {
  width: 6px;
  height: 6px;
  background: var(--gold);
}
/* Hero frame follows the intro leads; framed images that lead a chapter sit
   flush, and a heading following a frame needs its own top gap. */
.d-lead + .d-frame {
  margin-top: clamp(28px, 3.5vw, 44px);
}
.d-frame + .about-h {
  margin-top: clamp(26px, 3vw, 40px);
}

/* Inline serif quote. */
.d-quote {
  margin: clamp(30px, 4vw, 52px) 0 0;
  padding: 6px 0 6px 28px;
  border-left: 3px solid var(--gold);
}
.d-quote p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.38;
  color: var(--about-text);
}
.d-quote em {
  color: var(--gold);
  font-style: italic;
}

.d-divider {
  height: 1px;
  background: var(--about-line);
  margin: clamp(34px, 4.5vw, 60px) 0;
}

.d-subhead {
  margin: 0;
  font-family: var(--about-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--about-text);
}
.d-subhead--mt {
  margin-top: clamp(34px, 4.5vw, 60px);
}
.d-subhead em {
  color: var(--gold);
  font-style: normal;
}

/* Copy + media/diagram split, vertically centered. */
.d-split {
  align-items: center;
  gap: clamp(28px, 4vw, 60px);
}

/* Method steps. */
.d-steps {
  display: grid;
  margin-top: clamp(28px, 3.5vw, 44px);
  border-top: 1px solid var(--about-line);
}
.d-step {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: clamp(16px, 2.2vw, 30px);
  align-items: center;
  padding: clamp(16px, 2.2vw, 26px) 0;
  border-bottom: 1px solid var(--about-line);
}
.d-step-badge {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: none;
  border: 1px solid color-mix(in srgb, var(--gold) 70%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--about-panel) 60%, transparent);
}
.d-step-badge .about-icon {
  width: 24px;
  height: 24px;
  stroke: var(--about-text);
}
.d-step-num {
  font-family: var(--about-display);
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 42px);
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.06em;
}
.d-step h3 {
  margin: 0 0 5px;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--about-text);
}
.d-step p {
  margin: 0;
  color: var(--about-muted);
  font-size: clamp(14px, 1.45vw, 16px);
  line-height: 1.6;
}

.d-tagline {
  margin: clamp(34px, 4.5vw, 56px) 0 0;
  padding-top: clamp(18px, 2.4vw, 28px);
  border-top: 1px solid color-mix(in srgb, var(--gold) 50%, transparent);
  color: var(--about-text);
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.d-tagline em {
  color: var(--gold);
  font-style: normal;
}

/* Goals — 5-up bordered grid. */
.d-goals {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: clamp(28px, 3.5vw, 44px) 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--about-panel-line);
  background: var(--about-panel);
}
.d-goal {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: clamp(20px, 2.4vw, 30px) clamp(14px, 1.6vw, 22px);
}
.d-goal + .d-goal {
  border-left: 1px solid var(--about-line);
}
.d-goal .about-icon {
  width: 42px;
  height: 42px;
  stroke-width: 1.2;
  stroke: var(--gold);
}
.d-goal h4 {
  margin: 2px 0 0;
  font-size: var(--fs-sm);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--about-text);
}
.d-goal p {
  margin: 0;
  color: var(--about-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

/* Stats — 4-up bordered grid. */
.d-statgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: clamp(28px, 3.5vw, 44px) 0 0;
  border: 1px solid var(--about-panel-line);
  background: var(--about-panel);
}
.d-stat {
  display: grid;
  gap: 9px;
  padding: clamp(20px, 2.2vw, 28px) clamp(16px, 1.6vw, 22px);
}
.d-stat + .d-stat {
  border-left: 1px solid var(--about-line);
}
.d-stat .about-icon {
  width: 40px;
  height: 40px;
  stroke: var(--gold);
}
.d-stat h3 {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--about-text);
}
.d-stat p {
  margin: 0;
  color: var(--about-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

/* Trust badges — 4-up, top-ruled. */
.d-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(30px, 4vw, 48px);
  border-top: 1px solid color-mix(in srgb, var(--gold) 28%, transparent);
}
.d-badge {
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: clamp(20px, 2.4vw, 30px) clamp(14px, 1.6vw, 22px) 0;
}
.d-badge + .d-badge {
  border-left: 1px solid var(--about-line);
}
.d-badge .about-icon {
  width: 34px;
  height: 34px;
  stroke: var(--gold);
}
.d-badge span {
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--about-text);
}

/* Inline CTA button — house motion (lift + press). */
.d-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(24px, 3vw, 34px);
  justify-content: center;
  border: 1px solid var(--about-cta-bg);
  background: var(--about-cta-bg);
  color: var(--about-cta-text);
  border-radius: 2px;
  font-size: clamp(15px, 1.7vw, 19px);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 18px 40px;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-smooth);
}
.d-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.d-cta-btn:active {
  transform: translateY(0) scale(0.98);
}
.d-cta-btn:focus-visible {
  outline: 2px solid var(--about-text);
  outline-offset: 3px;
}
.d-cta-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* Busca cards in the dossier — hover lift on house tokens. */
#b-cap-02 .about-cards {
  margin-top: clamp(28px, 3.5vw, 44px);
  gap: clamp(14px, 1.6vw, 22px);
}
#b-cap-02 .about-card {
  border: 1px solid var(--about-line);
  background: color-mix(in srgb, var(--about-surface) 84%, transparent);
  transition: border-color var(--dur-base) var(--ease-smooth),
    transform var(--dur-base) var(--ease-smooth),
    box-shadow var(--dur-base) var(--ease-smooth);
}
#b-cap-02 .about-card .about-card-media img {
  transition: transform var(--dur-slow) var(--ease-smooth);
}
#b-cap-02 .about-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
#b-cap-02 .about-card:hover .about-card-media img {
  transform: scale(1.04);
}
#b-cap-02 .about-card:hover h3 {
  color: var(--gold);
}

/* Impacto carousels keep their spacing in the dossier body. */
.d-body > .about-impacto-stack {
  margin-top: clamp(30px, 3.6vw, 46px);
}

/* Mobile: stack the rail above the body; collapse the bordered grids. */
@media (max-width: 760px) {
  .d-grid {
    grid-template-columns: 1fr;
    gap: clamp(18px, 5vw, 28px);
  }
  .d-rail {
    position: static;
    top: auto;
    flex-direction: row;
    align-items: baseline;
    gap: 14px;
  }
  .d-num {
    font-size: clamp(48px, 16vw, 72px);
  }
  .d-tick {
    align-self: center;
  }
  .d-statgrid,
  .d-goals,
  .d-badges {
    grid-template-columns: 1fr 1fr;
  }
  .d-step {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 16px;
  }
  .d-step-num {
    grid-column: 1;
  }
}

@media (max-width: 460px) {
  .d-statgrid,
  .d-goals,
  .d-badges {
    grid-template-columns: 1fr;
  }
  .d-stat + .d-stat,
  .d-goal + .d-goal,
  .d-badge + .d-badge {
    border-left: none;
    border-top: 1px solid var(--about-line);
  }
}

/* ===== Baseline interactions (U10) =====
   Tokenised tactile press on the shared interactive controls so the
   micro-interaction baseline is consistent site-wide. The global
   reduced-motion rule neutralises it. */
.content-filter,
.content-carousel-btn,
.pvc-x {
  transition: transform var(--dur-fast) var(--ease-smooth),
    background var(--dur-base) var(--ease-smooth),
    border-color var(--dur-base) var(--ease-smooth),
    color var(--dur-base) var(--ease-smooth);
}
.content-filter:active,
.content-carousel-btn:active,
.pvc-x:active {
  transform: scale(0.96);
}

/* ============================================================
   Home hero background video (admin-managed clip pool)
   Layer beneath .hero-content. Two stacked .hero-media__video
   layers double-buffer the pool: site.js shuffles the clips per
   visit and crossfades between the layers (~0.8s opacity blend;
   .is-visible marks the active one). Default: the video FILLS the
   hero (cover) with a blur + dark overlay so it reads as an
   atmospheric background. A dev panel tunes speed / blur / fit
   live. The hero's own background-image (admin image, else the
   CSS default) shows before first play, in static mode, and as
   the no-JS / reduced-motion fallback. Playback is JS-gated for
   reduced-motion.
   ============================================================ */
.hero--has-video .hero-content {
  position: relative;
  z-index: 1;
}
/* Light text over the moving video; static mode reverts to the
   original theme-driven hero colours over the old image. */
.hero--has-video:not(.hero--force-static) h1,
.hero--has-video:not(.hero--force-static) .hero-copy {
  color: #fff;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-media__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* fill the hero (default) */
  object-position: center;
  transform: scale(1.12); /* clip the blur halo at the edges */
  filter: blur(var(--hero-blur, 8px)) brightness(0.6) saturate(1.05);
  /* Hidden until site.js marks a layer active (.is-visible, appended at
     end of file). 0.8s is the clip-to-clip crossfade pinned by the plan;
     no --dur token carries it. Opacity-only, so reduced-motion visitors
     (who never get a playing layer) see no motion from this. */
  opacity: 0;
  transition: opacity 0.8s var(--ease-smooth);
}
/* "Fit" mode (dev): show the whole portrait frame, sharp; the old
   image shows in the letterbox area behind it. */
.hero--fit-contain .hero-media__video {
  object-fit: contain;
  transform: none;
  filter: none;
}
.hero-media__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(6, 8, 10, 0.82) 0%,
      rgba(6, 8, 10, 0.52) 50%,
      rgba(6, 8, 10, 0.34) 100%
    ),
    rgba(6, 8, 10, 0.22);
}
/* Debug switch: force the static poster (also the visual when toggled off). */
.hero--force-static .hero-media {
  display: none;
}
/* ---- Dev-only control panel (gated on DEBUG) ---- */
.hero-debug {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 190px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-card);
  background: rgba(6, 8, 10, 0.62);
  color: #fff;
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero-debug__row {
  display: flex;
  gap: 8px;
}
.hero-debug__btn {
  flex: 1;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: inherit;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-smooth),
    transform var(--dur-fast) var(--ease-smooth);
}
.hero-debug__btn:hover {
  background: rgba(255, 255, 255, 0.16);
}
.hero-debug__btn:active {
  transform: scale(0.96);
}
.hero-debug__ctl {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-debug__ctl span {
  color: var(--gold);
}
.hero-debug__ctl input[type="range"] {
  width: 100%;
  accent-color: var(--gold);
  cursor: pointer;
}

/* ===== Motion polish v2 (second pass, 2026-06-26) =====
   Second run of targeted polish per the updated ref-md/motion-design-polish.md:
   newly-wired effects (run-1 left them inert) and the new filter indicator.
   In-place re-specs (nav hvr-outline-out, solid-btn box-goose, outline-btn fill,
   about-system orbit) were edited within the run-1 block above. New rules live
   here at EOF so the CSS-presence tests (core/tests.py, first-occurrence selector
   split) keep parsing the original blocks. Reduced motion is already handled by
   the global universal rule (every transition/animation collapses with
   !important) plus the run-1 reduce block; each rest-state below is the "off"
   state, so nothing is stranded when motion is reduced or JS is off.
   References (look only): Hover.css hvr-outline-out, Effeckt.css tabs,
   uibuttons box goose / box unicbox. */

/* U4 — fill-in buttons hvr-outline-out: a thin outline draws OUTWARD on hover,
   replacing the gold fill (removed above). Scoped off .btn-sweep so the hero
   secondary keeps its fill-sweep instead of doubling up. */
.products-more-cta {
  position: relative;
}
.outline-btn:not(.btn-sweep)::after,
.products-more-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  border-radius: inherit;
  opacity: 0;
  transform: scale(1);
  transform-origin: center;
  transition: transform var(--dur-base) var(--ease-athletic),
    opacity var(--dur-base) var(--ease-smooth);
  pointer-events: none;
}
body[data-theme="bright"] .outline-btn:not(.btn-sweep)::after,
body[data-theme="bright"] .products-more-cta::after {
  border-color: var(--gold-2);
}
.outline-btn:not(.btn-sweep):hover::after,
.outline-btn:not(.btn-sweep):focus-visible::after,
.products-more-cta:hover::after,
.products-more-cta:focus-visible::after {
  opacity: 1;
  transform: scale(1.14);
}

/* U2 — filter-tab sliding indicator (effeckt-tabs feel): a marker under the
   active filter, positioned by site.js via --ind-x / --ind-w on the row, shown
   once measured (.has-indicator). Layered on the run-1 filter-enter panel fade.
   No-JS: vars unset and .has-indicator absent -> indicator hidden, the
   .is-active button styling stays the affordance. */
.content-filter-row {
  position: relative;
}
.content-filter-row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: var(--ind-w, 0);
  transform: translateX(var(--ind-x, 0));
  background: var(--gold);
  opacity: 0;
  transition: transform var(--dur-base) var(--ease-athletic),
    width var(--dur-base) var(--ease-athletic),
    opacity var(--dur-fast) var(--ease-smooth);
  pointer-events: none;
}
body[data-theme="bright"] .content-filter-row::after {
  background: var(--gold-2);
}
.content-filter-row.has-indicator::after {
  opacity: 1;
}

/* U5 — card hover highlight (product-panel + about-cards): transform + shadow +
   border only, so it never affects layout or the vitrine click-to-expand state.
   Keyboard parity via :focus-within. */
.about-card,
.product-panel {
  transition: transform var(--dur-base) var(--ease-smooth),
    box-shadow var(--dur-base) var(--ease-smooth),
    border-color var(--dur-base) var(--ease-smooth);
}
.about-card:hover,
.about-card:focus-within,
.product-panel:hover,
.product-panel:focus-within {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--gold);
}

/* U6 — list hover (box unicbox), wired directly onto the named lists (run-1
   .motion-row was never applied). Decorative, layout-stable. feature-grid
   articles are .reveal elements, so their hover lights the child number + title
   rather than transitioning the article itself (which would clobber the reveal
   entrance). */
.consultoria-reasons li,
.truth-icons > div {
  transition: transform var(--dur-base) var(--ease-smooth),
    box-shadow var(--dur-base) var(--ease-smooth),
    color var(--dur-base) var(--ease-smooth);
}
.consultoria-reasons li:hover {
  transform: translateX(5px);
  color: var(--gold);
}
.truth-icons > div:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}
.feature-grid article span,
.feature-grid article h2 {
  transition: color var(--dur-base) var(--ease-smooth);
}
.feature-grid article:hover span,
.feature-grid article:hover h2 {
  color: var(--gold);
}

/* U7 — About cluster icons: hover animation on the .about-icon SVGs (run-1
   .motion-glyph was inert and a scroll-entrance, not a hover). Scoped to the
   icon so surrounding text never shifts. Decorative (aria-hidden). */
.about-step .about-icon,
.about-goal .about-icon,
.about-badge .about-icon,
.about-stat .about-icon {
  transition: transform var(--dur-base) var(--ease-athletic);
  transform-origin: center;
}
.about-step:hover .about-icon,
.about-step:focus-within .about-icon,
.about-goal:hover .about-icon,
.about-goal:focus-within .about-icon,
.about-badge:hover .about-icon,
.about-badge:focus-within .about-icon,
.about-stat:hover .about-icon,
.about-stat:focus-within .about-icon {
  transform: scale(1.18) rotate(-6deg);
}

/* Bigger, more visible CTA arrow on solid/outline buttons. The text "→" glyph
   (e.g. the consultoria "Iniciar minha avaliação" CTAs) rides the 12px button
   font and reads too small. Make any solid/outline button that holds an arrow
   span an inline-flex row so the enlarged glyph stays centered next to the
   label. The .cta-arrow SVG buttons hold an <svg> (not a span), so they are
   unaffected here and are enlarged in the .cta-arrow svg rule. */
.solid-btn:has(> span[aria-hidden="true"]),
.outline-btn:has(> span[aria-hidden="true"]) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.solid-btn > span[aria-hidden="true"],
.outline-btn > span[aria-hidden="true"] {
  font-size: 1.5em;
  line-height: 1;
}

/* ===== Inline-style folds (UI-consistency pass) =====
   One-off styles lifted out of templates into classes so the markup carries no
   ad-hoc CSS. */
.content-card.content-card--compact {
  min-height: 360px;
}
.article-excerpt.featured-excerpt {
  font-size: var(--fs-md);
  margin-top: var(--space-5);
}

/* ===== Mobile usability fixes (2026-06-29) =====
   Appended at end-of-file so the CSS-presence tests (which split on the first
   occurrence of a selector) keep matching the canonical desktop rules above. */

/* U1 — give the wrapping header + footer menus real >=44px touch targets.
   The links are inline <a>; inline-flex + min-height makes the tap box real
   (plain vertical padding does not grow an inline element's hit box). The
   hover/active underline (::after, bottom: -4px on the base box) is nudged up so
   it still hugs the now vertically-centered text. */
@media (max-width: 920px) {
  .nav-links a,
  .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .nav-links a::after,
  .footer-links a::after {
    bottom: 9px;
  }
}

@media (max-width: 640px) {
  /* U2 — 16px is the iOS Safari threshold below which focusing an input
     auto-zooms the viewport; raise form inputs to 16px on phones (desktop stays
     15px). Enlarge the consent checkboxes to a comfortable hit area. */
  .form-field input,
  .form-field textarea,
  .comment-form-field input,
  .comment-form-field textarea {
    font-size: 16px;
  }

  .checkbox-field input {
    width: 20px;
    height: 20px;
  }

  /* U3 — keep the Sobre stat / goal / card body copy readable on phones; these
     selectors aren't reached by the existing mobile copy override above. The
     uppercase .d-tagline is intentionally small and left alone. */
  .d-stat p,
  .d-goal p,
  .about-card p {
    font-size: 15px;
  }
}

/* ============================================================
   Home hero clip pool — active layer (base rules live in the
   "Home hero background video" block; only the new selector is
   appended here per the end-of-file convention). site.js toggles
   .is-visible between the two stacked layers: the 0.8s opacity
   transition on .hero-media__video is the crossfade, and the
   first clip's fade-in over the poster/backdrop image.
   ============================================================ */
.hero-media__video.is-visible {
  opacity: 1;
}

/* Home content-card video player (reuses the Sobre/Consultoria video modal) */
.content-card-videobtn {
  position: absolute;
  inset: 0;
  z-index: 3;
  appearance: none;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.content-card-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: auto;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gold);
  background: color-mix(in srgb, #08090c 52%, transparent);
  backdrop-filter: blur(3px);
  pointer-events: none;
  transition: transform var(--dur-base) var(--ease-smooth);
}

.content-card--video:hover .content-card-play,
.content-card--video:focus-within .content-card-play {
  transform: scale(1.06);
}

.video-modal-original {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--gold);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.video-modal-original:hover,
.video-modal-original:focus-visible {
  text-decoration: underline;
  outline: none;
}
