/* ============================================================
   Mais Pacientes — design system v3 (motion port do getminds.ai)
   Tokens, componentes e ANIMAÇÕES portadas do CSS de referência:
   pointer-labels (timings exatos), órbitas de avatares, card
   scale-in + stack fade, headline sticky-bottom, marquee, pops.
   ============================================================ */

@property --tick-now {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}

:root {
  --bg: #fcfcfa;
  --fg: #101010;
  --grey: #6e6e6e;
  --line: rgba(16, 16, 16, 0.14);
  --hairline: 1px;
  --brand-a: #34b3ff;
  --brand-b: #0a52d0;
  --brand-grad: linear-gradient(135deg, var(--brand-a), var(--brand-b));
  --radius-card: 20px;
  --radius-inner: 12px;
  --radius-tag: 8px;
  --shadow-soft: 0 1px 2px rgba(16, 16, 16, 0.05), 0 8px 24px rgba(16, 16, 16, 0.05);
  --pad-x: 5.5vw;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* scrollbar oculto, como no landing-scroll-root de referência */
html, body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar, body::-webkit-scrollbar { width: 0; height: 0; display: none; }

/* snap suave no hero em telas touch (referência: hero snap points) */
@media (pointer: coarse) and (hover: none) {
  html { scroll-snap-type: y proximity; }
  .hero { scroll-snap-align: start; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; }
a { color: inherit; }

.container { padding-inline: 1rem; }
@media (min-width: 900px) { .container { padding-inline: var(--pad-x); } }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset-inline: 1rem;
  top: 1rem;
  z-index: 50;
  height: 56px;
  display: grid;
  grid-template-columns: 1fr max-content 1fr;
  align-items: center;
  column-gap: 12px;
  pointer-events: none;
  transition: color 0.25s, background-color 0.25s;
}
@media (min-width: 900px) { .site-header { inset-inline: var(--pad-x); } }

.brand {
  pointer-events: auto;
  display: flex;
  align-items: center;
  height: 56px;
}
.brand img { width: 128px; height: auto; display: block; transition: filter 0.25s; }

.nav-pill {
  pointer-events: auto;
  display: none;
  align-items: center;
  gap: 4px;
  height: 44px;
  padding: 4px;
  border-radius: 14px;
  background: var(--bg);
  outline: var(--hairline) solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: color 0.25s, background-color 0.25s, border-color 0.25s, outline-color 0.25s;
}
@media (min-width: 1100px) { .nav-pill { display: flex; } }

.nav-pill a {
  position: relative;
  display: flex;
  align-items: center;
  height: 36px;
  padding-inline: 20px;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  color: var(--fg);
  white-space: nowrap;
}
/* outline-on-hover do selectable-item-shell de referência */
.nav-pill a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: var(--hairline) solid var(--line);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.nav-pill a:hover::after { opacity: 1; }
.nav-pill a:hover { box-shadow: var(--shadow-soft); }
.nav-pill a.active {
  font-weight: 700;
  outline: var(--hairline) solid var(--line);
  box-shadow: var(--shadow-soft);
}

.header-actions {
  pointer-events: auto;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Botões (transições de referência: 200ms color/bg/border/opacity) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding-inline: 20px;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s, opacity 0.2s;
}
.btn-primary {
  background: var(--fg);
  color: var(--bg);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { opacity: 0.9; }
.btn-secondary {
  background: rgba(252, 252, 250, 0.5);
  color: var(--fg);
  outline: var(--hairline) solid var(--line);
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-soft);
}
.btn-secondary:hover { opacity: 0.7; }
/* landing-header-text-cta: hover engrossa a fonte */
.btn-ghost { background: transparent; color: var(--fg); }
.btn-ghost:hover { font-weight: 700; }

/* anel de gradiente (get-started-pill / gradient-ring de referência) */
.btn-gradient-ring { position: relative; background: var(--bg); color: var(--fg); }
.btn-gradient-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  padding: 1.5px;
  background: var(--brand-grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ---------- Menu mobile (referência: drawer com slide + backdrop) ---------- */
.mobile-toggle {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--bg);
  outline: var(--hairline) solid var(--line);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}
@media (min-width: 1100px) { .mobile-toggle { display: none; } }
.mobile-toggle svg { width: 20px; height: 20px; }

.mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 59;
  background: rgba(16, 16, 16, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}
.mobile-backdrop.open { opacity: 1; pointer-events: auto; }

.mobile-menu {
  position: fixed;
  inset-block: 0;
  left: 0;
  z-index: 60;
  width: 100%;
  max-width: 420px;
  background: var(--bg);
  box-shadow: inset calc(var(--hairline) * -1) 0 0 0 var(--line);
  padding: calc(1rem + 56px + 1.5rem) 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(calc(-100% - 15px));
  transition: transform 0.3s ease-in-out;
}
.mobile-menu.open { transform: none; }
.mobile-menu a {
  padding: 14px 4px;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: var(--hairline) solid var(--line);
}
.mobile-menu .mobile-cta { margin-top: 1.5rem; border-bottom: 0; }
.mobile-close { position: absolute; top: 1rem; right: 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 88px;
}

.hero-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  will-change: transform, opacity;
}
.hero-visual .orbit {
  position: absolute;
  border: var(--hairline) solid var(--line);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* item de órbita (avatar) — referência: landing-avatar-orbits__item */
.orbit-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--brand-grad);
  isolation: isolate;
  will-change: transform;
}
.orbit-item::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--bg);
}
.orbit-item.filled::before { inset: 3px; background: var(--fg); }
/* depth cover: fade de profundidade (landing-avatar-orbits__depth-cover) */
.orbit-item::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: var(--bg);
  opacity: var(--rear-fade, 0);
  pointer-events: none;
}
/* pop de entrada (summary-avatar-pop: mola cubic-bezier(.34,1.56,.64,1)) */
.orbit-item.pop {
  animation: avatar-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  animation-delay: calc(var(--avatar-idx, 0) * 0.12s);
}
@keyframes avatar-pop {
  0% { scale: 0; }
  100% { scale: 1; }
}

.hero-copy { position: relative; z-index: 2; width: 100%; }
/* backdrop radial da copy (landing-copy-backdrop) */
.hero-copy::before {
  content: "";
  position: absolute;
  inset: -7vh -1rem;
  z-index: -1;
  background: radial-gradient(ellipse 105% 105% at top left, var(--bg) 0, var(--bg) 64%, transparent 100%);
  opacity: 0.7;
  pointer-events: none;
}
@media (min-width: 900px) { .hero-copy::before { inset-inline: calc(var(--pad-x) * -1); } }

.hero h1 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.98;
  font-size: clamp(2.4rem, 8.5vw, 70px);
  white-space: pre-line;
}

.hero-sub {
  margin-top: 4vh;
  padding-left: 24px;
  border-left: var(--hairline) solid var(--line);
  max-width: 56rem;
}
.hero-sub p {
  margin: 0;
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.25;
  max-width: 52rem;
}
.hero-cta { display: flex; align-items: center; gap: 12px; margin-top: 1.5vh; flex-wrap: wrap; padding-top: 12px; }

/* ============================================================
   POINTER LABELS — port fiel do landing-pointer-label
   (timings e transições copiados do CSS de referência)
   ============================================================ */
.pointer-label {
  --pl-dot-duration: 0.18s;
  --pl-connector-duration: 0.42s;
  --pl-connector-delay: 0.18s;
  --pl-box-duration: 0.3s;
  --pl-box-delay: 0.6s;
  --pl-reveal-delay: 0ms;
  display: flex;
  align-items: center;
  color: var(--fg);
  pointer-events: none;
}
.pointer-label--motion-quick {
  --pl-dot-duration: 0.12s;
  --pl-connector-duration: 0.28s;
  --pl-connector-delay: 0.11s;
  --pl-box-duration: 0.18s;
  --pl-box-delay: 0.39s;
}
.pointer-label--left { flex-direction: row-reverse; }
.pointer-label--abs { position: absolute; z-index: 5; }
.pointer-label--abs.pointer-label--right { transform: translateY(-50%); }
.pointer-label--abs.pointer-label--left { transform: translate(-100%, -50%); }

.pl-dot {
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}
.pl-line {
  flex: none;
  width: clamp(24px, 3.5vw, 52px);
  height: var(--hairline);
  background: rgba(16, 16, 16, 0.8);
}
.pl-box {
  border: var(--hairline) solid rgba(16, 16, 16, 0.8);
  background: var(--bg);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  line-height: 16px;
  white-space: nowrap;
  min-height: 30px;
  display: flex;
  align-items: center;
}
.pl-box .pl-primary { display: block; font-weight: 500; }
.pl-box .pl-sub { display: block; font-weight: 400; color: var(--grey); }

/* estados animados (port das regras --animated / --revealed) */
.pointer-label--animated .pl-dot {
  opacity: 0;
  transition: opacity var(--pl-dot-duration) cubic-bezier(0.4, 0, 0.2, 1) var(--pl-reveal-delay);
}
.pointer-label--animated.pl-revealed .pl-dot { opacity: 1; }

.pointer-label--animated .pl-line {
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--pl-connector-duration) cubic-bezier(0.4, 0, 0.2, 1)
    calc(var(--pl-reveal-delay) + var(--pl-connector-delay));
}
.pointer-label--animated.pointer-label--left .pl-line { transform-origin: 100% 50%; }
.pointer-label--animated.pl-revealed .pl-line { transform: scaleX(1); }

.pointer-label--animated .pl-box {
  opacity: 0;
  transition: opacity var(--pl-box-duration) cubic-bezier(0.4, 0, 0.2, 1)
    calc(var(--pl-reveal-delay) + var(--pl-box-delay));
}
.pointer-label--animated.pl-revealed .pl-box { opacity: 1; }

/* variante connector-to-dot (títulos dos snippets) */
.pointer-label--connector-to-dot .pl-box { opacity: 1; transition: none; }
.pointer-label--connector-to-dot .pl-line { transform-origin: 100% 50%; transition-delay: var(--pl-reveal-delay); }
.pointer-label--connector-to-dot.pointer-label--left .pl-line { transform-origin: 0 50%; }
.pointer-label--connector-to-dot .pl-dot {
  transition-delay: calc(var(--pl-reveal-delay) + var(--pl-connector-duration));
}

.hero .pointer-label--abs { display: none; }
@media (min-width: 900px) { .hero .pointer-label--abs { display: flex; } }

/* ---------- Seções ---------- */
.section { padding-block: clamp(4rem, 10vh, 7.5rem) 0; position: relative; }

.section-title {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(1.35rem, 4vw, 3rem);
  line-height: 1.05;
}
.section-lead {
  margin: 1rem 0 0;
  max-width: 56rem;
  padding-left: 24px;
  border-left: var(--hairline) solid var(--line);
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.25;
}

/* headline sticky-bottom (headline-row--sticky-bottom + landing-info-surface) */
@media (min-width: 900px) {
  .section--sticky-head { padding-bottom: 9.5rem; }
  .section--sticky-head .section-head {
    position: sticky;
    top: calc(100dvh - var(--head-h, 180px) - 16px);
    z-index: 40;
    isolation: isolate;
  }
  .section--sticky-head .section-head::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -8rem -2rem -1rem;
    right: 18vw;
    background: radial-gradient(ellipse 100% 58% at left center, var(--bg) 0, var(--bg) 76%, transparent 100%);
    opacity: 0.9;
    pointer-events: none;
  }
}

/* fade inferior fixo enquanto os cards rolam (use-case-card-bottom-fade) */
.bottom-fade {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 30;
  height: clamp(6rem, 18dvh, 12rem);
  background: linear-gradient(to top, var(--bg) 0, var(--bg) 18%, transparent 100%);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}
.bottom-fade.visible { opacity: 1; visibility: visible; }

/* ---------- Logo wall / marquee (valores da referência) ---------- */
.logo-wall { margin-top: 2.25rem; }
.logo-wall-label { display: block; margin-bottom: 0.875rem; font-size: 12px; }
.marquee {
  --marquee-fade: 2rem;
  --marquee-duration: 30s;
  --marquee-gap: 2.5rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--marquee-fade), #000 calc(100% - var(--marquee-fade)), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 var(--marquee-fade), #000 calc(100% - var(--marquee-fade)), transparent 100%);
  padding-block: 0.5rem;
}
.marquee-track {
  display: flex;
  gap: var(--marquee-gap);
  width: max-content;
  animation: marquee-x var(--marquee-duration) linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee-x {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - var(--marquee-gap) / 2)); }
}
.marquee-set { display: flex; gap: var(--marquee-gap); flex-shrink: 0; align-items: center; }
.marquee-set a { display: flex; align-items: center; height: 36px; transition: opacity 0.2s; }
.marquee-set img {
  height: 30px;
  width: auto;
  max-width: 7.5rem;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.62;
  transition: opacity 0.3s, filter 0.3s;
}
.marquee-set img:hover { opacity: 1; filter: grayscale(0); }

/* ---------- Pilares: snippet sticky + card scale-in + stack fade ---------- */
.pillar-grid { margin-top: 3rem; }
.pillar-row {
  display: grid;
  gap: 1.5rem;
}
.pillar-row + .pillar-row { margin-top: 2.5rem; }
@media (min-width: 900px) {
  .pillar-grid { margin-top: clamp(10rem, 28dvh, 16rem); }
  .pillar-row {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: start;
  }
  .pillar-row + .pillar-row { margin-top: clamp(4rem, 12dvh, 8rem); }
  .snippet {
    position: sticky;
    top: var(--snippet-top, 96px);
    will-change: opacity, filter, transform;
    transition: opacity 0.25s, filter 0.25s;
  }
  .pillar-row:nth-child(1) .snippet { --snippet-top: 96px; }
  .pillar-row:nth-child(2) .snippet { --snippet-top: 120px; }
  .pillar-row:nth-child(3) .snippet { --snippet-top: 144px; }
  .snippet.snippet--passed { opacity: 0.25; filter: blur(2px); }
}

.snippet { max-width: 32rem; }
.snippet-title {
  display: flex;
  align-items: center;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}
.snippet-title .pl-box { font-weight: 700; }
.snippet p {
  margin: 12px 0 0;
  padding-left: calc(10px + var(--hairline));
  font-size: 14px;
  line-height: 1.35;
}

/* frame do card: scale 0.7 -> 1 dirigido por scroll (use-case-card-surface) */
.card-frame { position: relative; border-radius: 14px; }
.card-surface {
  transform-origin: 50% 0;
  will-change: transform;
}
[data-scale-in] .card-surface {
  transform: translateY(var(--card-enter-y, 0px)) scale(var(--card-scale, 1));
}

.card {
  position: relative;
  border: var(--hairline) solid var(--line);
  background: var(--bg);
  border-radius: var(--radius-card);
  padding: 10px 12px 14px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
/* stack fade (card-stack-flow__background-fade) */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--bg);
  opacity: var(--card-fade, 0);
  pointer-events: none;
  will-change: opacity;
}
.card-tags { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding-inline: 10px;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius-tag);
  font-size: 12px;
  color: var(--grey);
  white-space: nowrap;
}
.card-title { margin: 0 0 12px; font-size: 18px; font-weight: 700; line-height: 1.15; }

.view-card {
  border-radius: 16px;
  padding: 12px;
  box-shadow: inset 0 0 0 var(--hairline) var(--line), var(--shadow-soft);
}

.service-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-block: 9px;
  border-bottom: var(--hairline) solid var(--line);
  font-size: 13.5px;
}
.service-line:last-child { border-bottom: 0; }
.service-line .svc-note { color: var(--grey); font-size: 12px; text-align: right; }

/* barra de "ticks" (padrão de linhas da referência), com preenchimento animado */
.tick-bar {
  position: relative;
  height: 44px;
  border-radius: var(--radius-inner);
  overflow: hidden;
  margin-top: 10px;
}
.tick-bar .ticks-grey,
.tick-bar .ticks-brand { position: absolute; inset: 0; }
.tick-bar .ticks-grey {
  opacity: 0.12;
  background-image: repeating-linear-gradient(to right, currentColor 0 1px, transparent 1px 3px);
}
.tick-bar .ticks-brand {
  background-image: repeating-linear-gradient(to right, var(--brand-b) 0 1px, transparent 1px 6px);
  -webkit-mask-image: linear-gradient(to right, #000 var(--tick-now, 0%), transparent var(--tick-now, 0%));
  mask-image: linear-gradient(to right, #000 var(--tick-now, 0%), transparent var(--tick-now, 0%));
  transition: none;
}
.tick-bar.tick-animate .ticks-brand { animation: tick-fill 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
@keyframes tick-fill {
  from { --tick-now: 0%; }
  to { --tick-now: var(--tick-fill, 60%); }
}
/* fallback sem @property: anima via mask-position não é viável — JS seta --tick-now */

/* ---------- Steps ---------- */
.steps {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
  padding: 0;
  list-style: none;
}
@media (min-width: 900px) { .steps { grid-template-columns: 1fr 1fr; margin-top: 3rem; } }
.steps li { border-top: var(--hairline) solid var(--line); padding-top: 1rem; }
.steps .step-num { font-size: 12px; color: var(--grey); }
.steps h3 { margin: 0.5rem 0 0; font-size: 18px; font-weight: 700; }
.steps p { margin: 0.5rem 0 0; max-width: 36rem; font-size: 14px; }

/* ---------- Grids de cards simples ---------- */
.card-grid { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 900px) { .card-grid { grid-template-columns: repeat(3, 1fr); margin-top: 3rem; } }
.simple-card {
  position: relative;
  border: var(--hairline) solid var(--line);
  border-radius: 12px;
  padding: 20px;
  text-decoration: none;
  display: block;
  transition: box-shadow 0.2s, transform 0.2s, opacity 0.2s;
}
.simple-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: var(--hairline) solid var(--line);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
a.simple-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-2px); }
a.simple-card:hover::after { opacity: 1; }
.simple-card h3 { margin: 0; font-size: 18px; font-weight: 700; }
.simple-card p { margin: 0.5rem 0 0; font-size: 13.5px; line-height: 1.3; }

/* ---------- Depoimentos ---------- */
.quotes-grid { display: grid; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 900px) { .quotes-grid { grid-template-columns: repeat(3, 1fr); margin-top: 3rem; } }
.quotes-grid blockquote {
  margin: 0;
  padding-left: 20px;
  border-left: var(--hairline) solid var(--line);
}
.quotes-grid p { margin: 0; font-size: 13.5px; }
.quotes-grid footer { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12px; color: var(--grey); }

/* avatar com anel de gradiente girando no hover (mind-avatar + rotate-gradient) */
.quote-avatar {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex: none;
  isolation: isolate;
}
.quote-avatar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(var(--brand-a), var(--brand-b), var(--brand-a));
  transition: opacity 0.3s;
}
.quote-avatar::after {
  content: attr(data-initial);
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg);
}
blockquote:hover .quote-avatar::before { animation: rotate-gradient 2s linear infinite; }
@keyframes rotate-gradient {
  0% { transform: rotate(0); }
  100% { transform: rotate(1turn); }
}

/* ---------- CTA final ---------- */
.cta-grid { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 640px) { .cta-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cta-grid { grid-template-columns: repeat(3, 1fr); margin-top: 3rem; } }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: clamp(4rem, 10vh, 7.5rem);
  border-top: var(--hairline) solid var(--line);
  padding: 3rem 1rem 0;
}
@media (min-width: 900px) { .site-footer { padding-inline: var(--pad-x); } }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 1.5rem;
}
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; } }
.footer-brand img { width: 140px; height: auto; }
.footer-brand p { margin: 1rem 0 0; max-width: 22rem; font-size: 13px; color: var(--grey); }
.footer-col h4 { margin: 0 0 12px; font-size: 12px; font-weight: 700; }
.footer-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
/* landing-footer-link: hover engrossa com transição */
.footer-col a {
  font-size: 12px;
  text-decoration: none;
  font-weight: 400;
  transition: font-weight 0.2s ease-in-out;
}
.footer-col a:hover { font-weight: 700; }
.footer-copy {
  padding: 2.5rem 1rem;
  margin-top: 1rem;
  text-align: center;
  font-size: 12px;
  color: var(--grey);
}

/* ---------- Reveal on scroll (fade-in) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Reduced motion (guardas da referência) ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .orbit-item { animation: none !important; }
  .orbit-item.pop { animation: none; }
  .pointer-label--animated .pl-dot,
  .pointer-label--animated .pl-box { opacity: 1; transition: none; }
  .pointer-label--animated .pl-line { transform: scaleX(1); transition: none; }
  [data-scale-in] .card-surface { transform: none !important; }
  .snippet.snippet--passed { opacity: 1; filter: none; }
  .tick-bar.tick-animate .ticks-brand { animation: none; --tick-now: var(--tick-fill, 60%); }
  blockquote:hover .quote-avatar::before { animation: none; }
  html { scroll-snap-type: none; }
}

/* ============================================================
   v3.2 — Palco de partículas + audiências + pilha de estudos
   ============================================================ */

/* ---------- Palco fixo (hero + audiências) ---------- */
#stage-wrap { position: relative; height: 280vh; }
#stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}
#dots { position: absolute; inset: 0; display: block; }

.stage-copy {
  position: absolute;
  inset-inline: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  will-change: opacity, transform;
}
@media (min-width: 900px) { .stage-copy { inset-inline: var(--pad-x); } }
#stage-aud-copy { top: 96px; transform: none; opacity: 0; pointer-events: none; }

/* camada de avatares de audiência */
#aud-layer { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.aud-avatar {
  position: absolute;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  background: var(--brand-grad);
  opacity: 0;
  scale: 0;
  transition: opacity 0.2s;
}
.aud-avatar::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 50%;
  background: var(--bg);
}
.aud-avatar img {
  position: absolute;
  inset: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  border-radius: 50%;
  object-fit: cover;
  z-index: 2;
}
#aud-layer.show .aud-avatar {
  opacity: 1;
  animation: avatar-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
             aud-float 6s ease-in-out infinite;
  animation-delay: calc(var(--avatar-idx, 0) * 0.035s), calc(var(--avatar-idx, 0) * 0.15s);
}
@keyframes aud-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}
@media (max-width: 899.98px) {
  .aud-avatar { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
  #aud-layer .pointer-label--abs { display: none; }
}

/* ---------- Pilha de estudos (use-cases da referência) ---------- */
#stack-section .stack-grid { position: relative; }
@media (min-width: 900px) {
  #stack-section .stack-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    column-gap: clamp(1.5rem, 3vw, 3rem);
    align-items: start;
  }
}

/* trilho esquerdo: bloco sticky com snippets empilhados */
.stack-rail { display: none; }
@media (min-width: 900px) {
  .stack-rail {
    display: block;
    position: sticky;
    top: 110px;
    z-index: 20;
  }
}
.rail-snippet { margin-bottom: 2.25rem; transition: opacity 0.25s, filter 0.25s; }
.rail-snippet.is-passed { opacity: 0.22; }
.rail-snippet.is-passed p { display: none; }
.rail-snippet.is-future { opacity: 0; visibility: hidden; }
.rail-snippet.is-active { opacity: 1; }

/* título do snippet: [box]——————[dot] atravessando o trilho */
.rail-title {
  display: flex;
  align-items: center;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
}
.rail-title .pl-box { font-weight: 700; }
.rail-title .pl-line { flex: 1; width: auto; transform-origin: 0 50%; }
.rail-snippet .rail-title .pl-line { transform: scaleX(0); transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1) 0.05s; }
.rail-snippet .rail-title .pl-dot { opacity: 0; transition: opacity 0.18s cubic-bezier(0.4, 0, 0.2, 1) 0.45s; }
.rail-snippet.pl-go .rail-title .pl-line { transform: scaleX(1); }
.rail-snippet.pl-go .rail-title .pl-dot { opacity: 1; }
.rail-snippet p { margin: 12px 0 0; max-width: 30rem; font-size: 14px; line-height: 1.35; }

/* itens da pilha (coluna direita) */
.stack-cards { min-width: 0; }
.stack-item { margin-bottom: 2rem; }
@media (min-width: 900px) {
  .stack-item {
    position: sticky;
    margin-bottom: 0;
    padding-bottom: 45vh;
  }
  .stack-item:nth-child(1) { top: 96px; }
  .stack-item:nth-child(2) { top: 118px; }
  .stack-item:nth-child(3) { top: 140px; }
  .stack-item:last-child { padding-bottom: 26vh; }
}

/* card de estudo (chrome da referência) */
.study-card {
  position: relative;
  border: var(--hairline) solid var(--line);
  background: var(--bg);
  border-radius: var(--radius-card);
  padding: 10px 12px 14px;
  box-shadow: var(--shadow-soft), 0 -8px 24px rgba(16, 16, 16, 0.04);
  overflow: hidden;
  transform-origin: 50% 0;
  will-change: transform;
}
.study-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--bg);
  opacity: var(--card-fade, 0);
  pointer-events: none;
}
.study-tags { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.study-title { margin: 0 0 12px; font-size: 18px; font-weight: 700; line-height: 1.15; }

.study-view {
  border-radius: 16px;
  padding: 10px;
  box-shadow: inset 0 0 0 var(--hairline) var(--line), var(--shadow-soft);
}

/* header do view: chip de audiência + filtro + toggle */
.study-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.aud-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding-right: 10px;
  font-size: 13px;
  white-space: nowrap;
}
.aud-chip .chev { width: 10px; height: 10px; color: var(--grey); }
/* anel de pontinhos (mind-avatar-audience-dot da referência) */
.dot-ring { position: relative; width: 24px; height: 24px; flex: none; }
.dot-ring i {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-grad);
  -webkit-mask: radial-gradient(circle closest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1.5px));
  mask: radial-gradient(circle closest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1.5px));
}
.dot-ring i:nth-child(1) { left: 9px;  top: 1px; }
.dot-ring i:nth-child(2) { left: 15.9px; top: 5px; }
.dot-ring i:nth-child(3) { left: 15.9px; top: 13px; }
.dot-ring i:nth-child(4) { left: 9px;  top: 17px; }
.dot-ring i:nth-child(5) { left: 2.1px; top: 13px; }
.dot-ring i:nth-child(6) { left: 2.1px; top: 5px; }

.chip-dashed {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding-inline: 12px;
  border: var(--hairline) dashed var(--line);
  border-radius: 12px;
  font-size: 12px;
  color: var(--fg);
  white-space: nowrap;
}
.study-toggle {
  margin-left: auto;
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  outline: var(--hairline) solid var(--line);
}
.study-toggle span {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
}
.study-toggle span.on { outline: var(--hairline) solid var(--line); box-shadow: var(--shadow-soft); }
.study-toggle svg { width: 14px; height: 14px; }

/* barras horizontais com ticks verticais (research-horizontal-comparison) */
.h-bar { margin-bottom: 12px; }
.h-bar:last-of-type { margin-bottom: 0; }
.h-bar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
  font-size: 12px;
}
.h-bar-top .pct { font-weight: 600; }
.h-track {
  position: relative;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
}
.h-track .t-grey,
.h-track .t-brand { position: absolute; inset: 0; }
.h-track .t-grey {
  opacity: 0.12;
  background-image: repeating-linear-gradient(to right, currentColor 0 1px, transparent 1px 3px);
}
.h-track .t-brand {
  background-image: repeating-linear-gradient(to right, var(--brand-b) 0 1px, transparent 1px 3px);
  -webkit-mask-image: linear-gradient(to right, #000 var(--tick-now, 0%), transparent var(--tick-now, 0%));
  mask-image: linear-gradient(to right, #000 var(--tick-now, 0%), transparent var(--tick-now, 0%));
}
.study-lead-note { margin-top: 14px; font-size: 12px; color: var(--grey); }
.study-lead {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 4px;
}
.study-lead b { font-size: 18px; }
.study-lead span { font-size: 18px; font-weight: 700; color: var(--grey); }

/* A/B: duas imagens lado a lado */
.ab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.ab-grid figure { margin: 0; }
.ab-grid .ab-img {
  border: var(--hairline) solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.ab-grid .ab-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-grid figcaption { margin-top: 6px; font-size: 12px; }

/* citações no card */
.study-quote { padding-block: 10px; }
.study-quote + .study-quote { border-top: var(--hairline) solid var(--line); }
.study-quote h4 { margin: 0 0 6px; font-size: 15px; font-weight: 700; }
.study-quote blockquote { margin: 0; font-size: 13.5px; }
.study-quote .quote-attr { margin-top: 8px; }

/* headline sticky-bottom com marquee embutido */
.section--sticky-head .section-head .logo-wall { margin-top: 1rem; }

/* hero interno (páginas de serviço) */
.page-hero { padding-top: 150px; }
.page-hero h1 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.0;
  font-size: clamp(2rem, 6vw, 56px);
  max-width: 60rem;
}
.page-hero .section-lead { margin-top: 1.25rem; }
.page-hero .hero-cta { margin-top: 1.5rem; }
.breadcrumb { font-size: 12px; color: var(--grey); margin-bottom: 1rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { font-weight: 700; }

/* faixa de destaque numérico / provas */
.proof-row { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 900px) { .proof-row { grid-template-columns: repeat(3, 1fr); } }
.proof-card { border-top: var(--hairline) solid var(--line); padding-top: 1rem; }
.proof-card b { display: block; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.02em; }
.proof-card span { font-size: 13px; color: var(--grey); }

@media (prefers-reduced-motion: reduce) {
  #aud-layer.show .aud-avatar { animation: none; opacity: 1; scale: 1; }
  .rail-snippet .rail-title .pl-line { transform: scaleX(1); transition: none; }
  .rail-snippet .rail-title .pl-dot { opacity: 1; transition: none; }
  .study-card { transform: none !important; }
}

/* ============================================================
   v3.3 — mega footer + especialidades + banner AvanceAI
   ============================================================ */
@media (min-width: 900px) {
  .footer-grid--mega { grid-template-columns: 1.5fr repeat(5, 1fr); gap: 2rem; }
}
.footer-social { display: flex; gap: 10px; margin-top: 1rem; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  outline: var(--hairline) solid var(--line);
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
.footer-social a:hover { box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; }

/* pills de especialidades */
.spec-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2rem; }
.spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding-inline: 16px;
  border-radius: 999px;
  outline: var(--hairline) solid var(--line);
  background: var(--bg);
  font-size: 13.5px;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
.spec-pill:hover { box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.spec-pill .pl-dot { background: var(--brand-grad); width: 8px; height: 8px; flex: 0 0 8px; }

/* banner AvanceAI (gradient-ring card) */
.ai-banner {
  position: relative;
  border-radius: var(--radius-card);
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--bg);
  margin-top: 2.5rem;
}
.ai-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--brand-grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.ai-banner h3 { margin: 0; font-size: clamp(1.2rem, 2.4vw, 1.7rem); font-weight: 700; letter-spacing: -0.02em; }
.ai-banner p { margin: 0.75rem 0 0; max-width: 46rem; font-size: 14px; }
.ai-banner .hero-cta { margin-top: 1.25rem; }
.ai-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1rem; }

/* ============================================================
   v3.4 — polimento: fixes, artes generativas, círculo de
   resultados, backdrops e reveals escalonados
   ============================================================ */

/* FIX: avatar de citação é span inline — precisa de display */
.quote-avatar { display: inline-flex; flex: none; }

/* backdrop radial atrás das copies do palco (legibilidade sobre partículas) */
.stage-copy::before {
  content: "";
  position: absolute;
  inset: -3rem -1.5rem;
  z-index: -1;
  background: radial-gradient(ellipse 100% 100% at 30% 40%, var(--bg) 0, rgba(252,252,250,0.9) 55%, transparent 100%);
  pointer-events: none;
}
#stage-aud-copy { max-width: 46rem; }
#stage-aud-copy .section-lead { max-width: 40rem; }

/* ---------- Cards de perfil com arte generativa ---------- */
.profile-grid { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
@media (min-width: 900px) { .profile-grid { grid-template-columns: repeat(3, 1fr); margin-top: 3rem; } }
.profile-card {
  display: flex;
  flex-direction: column;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius-card);
  background: var(--bg);
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.25s, transform 0.25s;
}
.profile-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-4px); }
.profile-art {
  position: relative;
  height: clamp(180px, 24vw, 280px);
  overflow: hidden;
  background: var(--bg);
}
.profile-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.profile-card:hover .profile-art canvas { animation: art-drift 8s ease-in-out infinite; }
@keyframes art-drift {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
.profile-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.profile-body h3 { margin: 0; font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 700; letter-spacing: -0.02em; }
.profile-body p { margin: 8px 0 16px; font-size: 13.5px; line-height: 1.35; flex: 1; }
.profile-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: var(--hairline) solid var(--line);
  padding-top: 14px;
}
.profile-foot img {
  height: 20px;
  width: auto;
  max-width: 84px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.65;
}
.profile-foot .txt-logo { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--grey); }
.profile-arrow {
  margin-left: auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--fg);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition: transform 0.25s;
}
.profile-card:hover .profile-arrow { transform: translateX(4px); }
.profile-arrow svg { width: 14px; height: 14px; }

/* ---------- Círculo de resultados (validate da referência) ---------- */
.validate-wrap { display: grid; place-items: center; margin-top: 3rem; }
.circle-viz {
  position: relative;
  width: min(540px, 82vw);
  aspect-ratio: 1;
}
.cv-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: var(--hairline) solid var(--line);
}
.cv-ring::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--brand-a), var(--brand-b) 32%, transparent 34%);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  mask: radial-gradient(closest-side, transparent calc(100% - 4px), #000 calc(100% - 3px));
  animation: cv-spin 26s linear infinite;
}
@keyframes cv-spin { to { transform: rotate(1turn); } }
.cv-inner {
  position: absolute;
  inset: 7.5%;
  border-radius: 50%;
  overflow: hidden;
  background-image: radial-gradient(circle, rgba(16, 16, 16, 0.34) 1px, transparent 1.1px);
  background-size: 7px 7px;
}
.cv-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 var(--hairline) var(--line);
}
.circle-viz .pointer-label--abs { display: flex; }
@media (max-width: 640px) { .circle-viz .pointer-label--abs .pl-line { width: 20px; } }
.validate-stat { text-align: center; margin-top: 2.25rem; max-width: 40rem; margin-inline: auto; }
.validate-stat b {
  display: block;
  font-size: clamp(1.4rem, 3.4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.validate-stat p { margin: 0.75rem 0 0; font-size: 14px; color: var(--grey); }

/* ---------- Reveal escalonado nas grades ---------- */
.stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.in > *:nth-child(2) { transition-delay: 0.12s; }
.stagger.in > *:nth-child(3) { transition-delay: 0.19s; }
.stagger.in > *:nth-child(4) { transition-delay: 0.26s; }
.stagger.in > *:nth-child(5) { transition-delay: 0.33s; }
.stagger.in > *:nth-child(6) { transition-delay: 0.4s; }
.stagger.in > *:nth-child(7) { transition-delay: 0.47s; }
.stagger.in > *:nth-child(8) { transition-delay: 0.54s; }
.stagger.in > *:nth-child(9) { transition-delay: 0.61s; }
.stagger.in > *:nth-child(10) { transition-delay: 0.68s; }
.stagger.in > *:nth-child(11) { transition-delay: 0.75s; }
.stagger.in > *:nth-child(12) { transition-delay: 0.82s; }
.stagger.in > *:nth-child(13) { transition-delay: 0.89s; }

/* micro-motions extras */
.steps li { transition: transform 0.25s; }
.steps li:hover { transform: translateX(6px); }
.simple-card h3 { transition: color 0.2s; }
a.simple-card:hover h3 { color: var(--brand-b); }

@media (prefers-reduced-motion: reduce) {
  .stagger > * { opacity: 1; transform: none; transition: none; }
  .cv-ring::before { animation: none; }
  .profile-card:hover .profile-art canvas { animation: none; }
  .steps li:hover { transform: none; }
}

/* ============================================================
   v3.5 — metade inferior viva: títulos palavra-a-palavra,
   timeline do método, cards de serviço com ícone, marquees de
   pills e depoimentos, chat demo AvanceAI, CTAs invertidos
   ============================================================ */

/* ---------- Títulos: reveal palavra a palavra ---------- */
.t-split .tw {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em);
  filter: blur(5px);
  transition: opacity 0.5s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
}
.t-split.in .tw { opacity: 1; transform: none; filter: none; }

/* ---------- Método: intro sticky + timeline que se desenha ---------- */
.metodo-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) {
  .metodo-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 4vw, 4rem); }
  .metodo-intro { position: sticky; top: 120px; align-self: start; }
}
.metodo-cta { margin-top: 1.5rem; }
.timeline { position: relative; list-style: none; margin: 0; padding: 0.5rem 0; }
.tl-line {
  position: absolute;
  left: 20px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden;
}
.tl-fill {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 0;
  background: var(--brand-grad);
}
.timeline li {
  position: relative;
  display: flex;
  gap: 20px;
  padding-bottom: 2.1rem;
  opacity: 0.3;
  transform: translateX(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li.lit { opacity: 1; transform: none; }
.tl-num {
  position: relative;
  z-index: 1;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: var(--bg);
  outline: var(--hairline) solid var(--line);
  transition: background-color 0.4s, color 0.4s, outline-color 0.4s, box-shadow 0.4s;
}
.timeline li.lit .tl-num {
  background: var(--brand-b);
  background-image: var(--brand-grad);
  color: #fff;
  outline-color: transparent;
  box-shadow: var(--shadow-soft);
}
.timeline h3 { margin: 0.45rem 0 0.3rem; font-size: 17px; font-weight: 700; }
.timeline p { margin: 0; max-width: 30rem; font-size: 13.5px; color: var(--grey); line-height: 1.4; }

/* ---------- Prova: chips ---------- */
.proof-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 26px;
  padding-inline: 11px;
  border: var(--hairline) solid var(--line);
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--grey);
  margin-bottom: 12px;
  white-space: nowrap;
}
.proof-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-grad);
}
.proof-card b { font-size: clamp(1.1rem, 1.8vw, 1.45rem); }

/* ---------- Serviços: cards com ícone ---------- */
.svc-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; }
.svc-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  outline: var(--hairline) solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-b);
  transition: background-color 0.25s, color 0.25s, outline-color 0.25s, transform 0.25s;
}
.svc-icon svg { width: 20px; height: 20px; }
a.svc-card:hover .svc-icon {
  background: var(--brand-b);
  background-image: var(--brand-grad);
  color: #fff;
  outline-color: transparent;
  transform: scale(1.08) rotate(-4deg);
}
.svc-card h3 { font-size: 17px; }
.svc-card p { margin: 0; color: var(--grey); }
.svc-arrow {
  margin-top: auto;
  padding-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand-b);
  opacity: 0.55;
  transition: opacity 0.25s, gap 0.25s;
}
.svc-arrow svg { width: 12px; height: 12px; transition: transform 0.25s; }
a.svc-card:hover .svc-arrow { opacity: 1; gap: 10px; }
a.svc-card:hover .svc-arrow svg { transform: translateX(2px); }

/* ---------- Marquees: pills e depoimentos ---------- */
.marquee--reverse .marquee-track { animation-direction: reverse; }
.spec-marquee { margin-top: 2rem; display: flex; flex-direction: column; gap: 12px; }
.marquee--pills { --marquee-duration: 46s; --marquee-gap: 10px; padding-block: 0.35rem; }
.marquee--pills.marquee--reverse { --marquee-duration: 52s; }
.marquee--pills .marquee-set { gap: 10px; }
.spec-pill--cta { outline-color: var(--brand-b); font-weight: 600; }

.quotes-marquee { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.marquee--quotes { --marquee-duration: 60s; --marquee-gap: 1rem; padding-block: 0.35rem; }
.marquee--quotes.marquee--reverse { --marquee-duration: 68s; }
.marquee--quotes .marquee-set { gap: 1rem; align-items: stretch; }
.q-card {
  flex: none;
  width: min(400px, 82vw);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius-card);
  background: var(--bg);
  padding: 18px 20px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.q-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-3px); }
.q-card p { margin: 0; font-size: 13.5px; line-height: 1.45; }
.q-card footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--grey);
}

/* ---------- AvanceAI: grid + chat demo ---------- */
.ai-grid { display: grid; gap: 2rem; }
@media (min-width: 980px) {
  .ai-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: 3rem; }
}
.chat-demo {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
}
.chat-slot { display: grid; }
.chat-slot > * { grid-area: 1 / 1; }
.chat-bubble {
  max-width: 85%;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.4;
  opacity: 0;
}
.chat-user {
  align-self: flex-end;
  justify-self: end;
  background: var(--fg);
  color: var(--bg);
  border-bottom-right-radius: 5px;
  box-shadow: var(--shadow-soft);
}
.chat-ai {
  align-self: flex-start;
  justify-self: start;
  background: var(--bg);
  outline: var(--hairline) solid var(--line);
  border-bottom-left-radius: 5px;
  box-shadow: var(--shadow-soft);
}
.chat-typing { display: flex; gap: 4px; align-items: center; height: 38px; }
.chat-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grey);
  animation: chat-dot 1s ease-in-out infinite;
}
.chat-typing i:nth-child(2) { animation-delay: 0.15s; }
.chat-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-dot {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}
.chat-note {
  margin: 6px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--grey);
}
.chat-note .pl-dot { background: var(--brand-grad); width: 7px; height: 7px; flex: 0 0 7px; }

/* ciclo de 14s do chat (entradas escalonadas, tudo sai no fim) */
.cb-1  { animation: cb1 14s cubic-bezier(0.22, 1, 0.36, 1) infinite; }
.cbt-1 { animation: cbt1 14s ease infinite; }
.cb-2  { animation: cb2 14s cubic-bezier(0.22, 1, 0.36, 1) infinite; }
.cb-3  { animation: cb3 14s cubic-bezier(0.22, 1, 0.36, 1) infinite; }
.cbt-2 { animation: cbt2 14s ease infinite; }
.cb-4  { animation: cb4 14s cubic-bezier(0.22, 1, 0.36, 1) infinite; }
@keyframes cb1 {
  0%, 2% { opacity: 0; transform: translateY(12px) scale(0.95); }
  5%, 88% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: translateY(-8px); }
}
@keyframes cbt1 {
  0%, 8% { opacity: 0; transform: translateY(12px) scale(0.95); }
  11%, 18% { opacity: 1; transform: none; }
  20%, 100% { opacity: 0; transform: none; }
}
@keyframes cb2 {
  0%, 20% { opacity: 0; transform: translateY(12px) scale(0.95); }
  23%, 88% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: translateY(-8px); }
}
@keyframes cb3 {
  0%, 33% { opacity: 0; transform: translateY(12px) scale(0.95); }
  36%, 88% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: translateY(-8px); }
}
@keyframes cbt2 {
  0%, 39% { opacity: 0; transform: translateY(12px) scale(0.95); }
  42%, 49% { opacity: 1; transform: none; }
  51%, 100% { opacity: 0; transform: none; }
}
@keyframes cb4 {
  0%, 51% { opacity: 0; transform: translateY(12px) scale(0.95); }
  54%, 88% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: translateY(-8px); }
}

/* ---------- CTA final: hover invertido ---------- */
.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px;
  transition: box-shadow 0.25s, transform 0.25s, background-color 0.25s, border-color 0.25s;
}
.cta-card h3 { font-size: 16px; transition: color 0.25s; }
.cta-arr {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  outline: var(--hairline) solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s, color 0.25s, outline-color 0.25s, transform 0.25s;
}
.cta-arr svg { width: 13px; height: 13px; }
a.cta-card:hover { background: var(--fg); border-color: var(--fg); transform: translateY(-3px); }
a.cta-card:hover h3 { color: var(--bg); }
a.cta-card:hover .cta-arr {
  background: var(--brand-b);
  background-image: var(--brand-grad);
  color: #fff;
  outline-color: transparent;
  transform: translateX(3px);
}

/* ---------- Fixes mobile (v3.5): header + labels do círculo ---------- */
@media (max-width: 1099.98px) {
  [data-desktop-only] { display: none !important; }
}
/* NUNCA colocar overflow no <html>: quebra a propagação do overflow-x
   do body pro viewport e mata todos os position:sticky da página */
/* colunas explícitas: com o nav-pill escondido, actions ficavam na coluna do meio */
.brand { grid-column: 1; }
.nav-pill { grid-column: 2; }
.header-actions { grid-column: 3; }
@media (max-width: 480px) {
  .brand img { width: 100px; }
  .header-actions .btn-primary { height: 40px; padding-inline: 13px; font-size: 12.5px; }
}
@media (max-width: 640px) {
  .circle-viz .pl-box { white-space: normal; max-width: 34vw; min-height: 0; }
  .circle-viz .pointer-label--abs.pointer-label--right { left: 58% !important; top: 12% !important; }
  /* o label esquerdo vira direção "direita" para caber na tela */
  .circle-viz .pointer-label--abs.pointer-label--left {
    left: 10% !important;
    top: 86% !important;
    flex-direction: row;
    transform: translateY(-50%);
  }
  .circle-viz .pointer-label--left .pl-line { transform-origin: 0 50%; }
}

/* ============================================================
   v3.7 — página Sobre (composição da About de referência):
   cards do topo, fileira de parceiros, carrossel de citações,
   CTA "campo de pergunta" com chips
   ============================================================ */

.about-grid { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; margin-top: 3rem; } }
.about-grid .simple-card p a { font-weight: 600; }

.partner-row { margin-top: 3rem; }
.partner-row-label { display: block; margin-bottom: 1.1rem; font-size: 12px; color: var(--grey); }
.partner-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 1.75rem 2.75rem; }
.partner-logos img {
  height: 26px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: opacity 0.25s, filter 0.25s;
}
.partner-logos img:hover { filter: none; opacity: 1; }
.partner-logos .txt-logo { font-size: 14px; font-weight: 700; letter-spacing: 0.05em; color: var(--grey); }

/* carrossel de citações (grid 3 col + setas, como a referência) */
.qc { margin-top: 2.5rem; }
.qc-viewport { overflow: hidden; }
.qc-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.qc-quote {
  flex: 0 0 100%;
  margin: 0;
  border-left: var(--hairline) solid var(--line);
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 0;
}
@media (min-width: 900px) { .qc-quote { flex-basis: calc((100% - 3rem) / 3); } }
.qc-quote p { margin: 0; font-size: 15px; line-height: 1.4; }
.qc-quote footer { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--grey); }
.qc-attr { display: flex; flex-direction: column; line-height: 1.3; }
.qc-attr b { color: var(--fg); font-weight: 600; }
.qc-attr i { font-style: normal; }
.qc-nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 1.75rem; }
.qc-nav button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  outline: var(--hairline) solid var(--line);
  background: var(--bg);
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s, opacity 0.2s;
}
.qc-nav button svg { width: 13px; height: 13px; }
.qc-nav button:hover:not(:disabled) { box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.qc-nav button:disabled { opacity: 0.35; cursor: default; }

/* CTA "campo de pergunta" central com chips */
.ask-wrap {
  max-width: 56rem;
  margin-inline: auto;
  text-align: center;
  border-top: var(--hairline) solid var(--line);
  padding-top: clamp(3rem, 7vh, 5rem);
}
.ask-wrap .section-title { font-size: clamp(1.3rem, 3vw, 2.2rem); }
.ask-input {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 54px;
  margin-top: 2rem;
  padding: 0 20px 0 9px;
  border-radius: 999px;
  outline: var(--hairline) solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: var(--grey);
  font-size: 14px;
  text-align: left;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ask-input:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(16,16,16,.06), 0 12px 32px rgba(16,16,16,.08); }
.ask-plus {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-b);
  background-image: var(--brand-grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 500;
  flex: none;
}
.ask-chips { margin-top: 1rem; --marquee-duration: 34s; }
.ask-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding-inline: 14px;
  border-radius: 999px;
  outline: var(--hairline) solid var(--line);
  background: var(--bg);
  font-size: 12.5px;
  color: var(--fg);
  text-decoration: none;
  white-space: nowrap;
  transition: box-shadow 0.2s, transform 0.2s;
}
.ask-chip:hover { box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.ask-chip svg { width: 11px; height: 11px; color: var(--grey); }

/* ============================================================
   v3.8 — página de serviço "single" (composição /for/brands):
   herói de partículas com logos, trilho numerado, FAQ, demo
   ============================================================ */

/* herói de tela cheia */
#svc-hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; }
#svc-dots { position: absolute; inset: 0; display: block; }
.svc-avatar {
  position: absolute;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  background: var(--brand-grad);
  animation: avatar-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) backwards,
             aud-float 6s ease-in-out infinite;
  animation-delay: calc(var(--avatar-idx, 0) * 0.06s), calc(var(--avatar-idx, 0) * 0.2s);
}
.svc-avatar::after { content: ""; position: absolute; inset: 1px; border-radius: 50%; background: var(--bg); }
.svc-avatar img {
  position: absolute;
  inset: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  border-radius: 50%;
  object-fit: cover;
  z-index: 2;
}
.svc-hero-copy { position: absolute; inset-inline: 0; bottom: 88px; z-index: 5; }
.svc-hero-copy h1 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.98;
  font-size: clamp(2rem, 6.2vw, 56px);
  max-width: 62rem;
  position: relative;
  z-index: 1;
}
.svc-hero-copy .section-lead { position: relative; z-index: 1; }
.svc-hero-copy::before {
  content: "";
  position: absolute;
  inset: -4rem -2rem -2rem;
  right: 16vw;
  background: radial-gradient(ellipse 100% 100% at left center, var(--bg) 0, rgba(252,252,250,0.85) 60%, transparent 100%);
  pointer-events: none;
}
.svc-hero-logos { position: absolute; inset-inline: 0; bottom: 14px; z-index: 5; }
@media (max-width: 640px) { .svc-hero-copy { bottom: 76px; } }

/* trilho numerado (agency-step da referência) */
.rail-title .rail-i {
  font-style: normal;
  display: inline-flex;
  width: 20px;
  height: 20px;
  border: var(--hairline) solid var(--line);
  border-radius: 7px;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 400;
  margin-right: 8px;
  flex: none;
}
.rail-sub { display: block; margin-top: 12px; font-size: 15.5px; font-weight: 700; }
.rail-snippet.is-passed .rail-sub { display: none; }

/* 4º card da pilha */
@media (min-width: 900px) { .stack-item:nth-child(4) { top: 162px; } }

/* FAQ acordeão */
.faq-list { max-width: 56rem; margin: 2.5rem auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-card {
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius-card);
  background: var(--bg);
  padding: 16px 18px;
}
.faq-card summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.3;
  transition: font-weight 0.2s;
}
.faq-card summary::-webkit-details-marker { display: none; }
.faq-card[open] summary, .faq-card:hover summary { font-weight: 700; }
.faq-chev { width: 16px; height: 16px; flex: none; transition: transform 0.2s; }
.faq-card[open] .faq-chev { transform: rotate(180deg); }
.faq-card p { margin: 14px 0 0; font-size: 13.5px; line-height: 1.45; }
.faq-card[open] p { animation: faq-in 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* demo: formulário + divisória + especialista */
.demo-grid { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
.demo-divider { display: none; }
@media (min-width: 1100px) {
  .demo-grid { grid-template-columns: minmax(0, 1fr) 1px minmax(0, 0.9fr); gap: 3rem; align-items: stretch; }
  .demo-divider { display: block; width: 1px; background: var(--line); }
}
.demo-form { display: flex; flex-direction: column; gap: 12px; }
.demo-form .f-row { display: grid; gap: 12px; }
@media (min-width: 640px) { .demo-form .f-row { grid-template-columns: 1fr 1fr; } }
.f-label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.f-input, .f-area {
  border: var(--hairline) solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  padding-inline: 16px;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.f-input { height: 44px; }
.f-area { border-radius: 16px; padding-block: 12px; resize: vertical; min-height: 120px; }
.f-input:focus, .f-area:focus { border-color: rgba(16, 16, 16, 0.55); }
.demo-persona { display: flex; flex-direction: column; }
.demo-avatar {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  isolation: isolate;
  margin-bottom: 14px;
}
.demo-avatar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(var(--brand-a), var(--brand-b), var(--brand-a));
  animation: rotate-gradient 6s linear infinite;
}
.demo-avatar::after {
  content: attr(data-initial);
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
}
.demo-persona b { font-size: 17px; }
.demo-persona .demo-role { font-size: 13px; color: var(--grey); margin-top: 2px; }
.demo-persona hr { width: 100%; border: 0; border-top: var(--hairline) solid var(--line); margin: 16px 0; }
.demo-persona blockquote { margin: 0; font-size: 14px; line-height: 1.45; max-width: 34rem; }

@media (prefers-reduced-motion: reduce) {
  .svc-avatar { animation: none; }
  .faq-card[open] p { animation: none; }
  .demo-avatar::before { animation: none; }
}

/* ============================================================
   v3.9 — dropdown de Serviços no nav (Solutions da referência),
   canais de contato, sublinks no menu mobile
   ============================================================ */

.nav-drop { position: relative; display: flex; }
.nav-drop > a { gap: 0; }
.nav-chev { width: 12px; height: 12px; margin-left: 6px; transition: transform 0.2s; }
.nav-drop:hover > a .nav-chev,
.nav-drop:focus-within > a .nav-chev { transform: rotate(180deg); }
.nav-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translate(-50%, 6px);
  display: grid;
  grid-template-columns: max-content max-content;
  padding: 16px 6px;
  background: var(--bg);
  border-radius: 16px;
  outline: var(--hairline) solid var(--line);
  box-shadow: var(--shadow-soft), 0 16px 48px rgba(16, 16, 16, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 60;
}
/* ponte invisível para o mouse cruzar o vão */
.nav-panel::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-drop:hover .nav-panel,
.nav-drop:focus-within .nav-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-panel-col { padding: 0 16px; display: flex; flex-direction: column; gap: 1px; min-width: 190px; }
.nav-panel-col + .nav-panel-col { border-left: var(--hairline) solid var(--line); }
.nav-panel-col b { font-size: 12.5px; padding: 6px 10px 8px; }
.nav-panel-col a {
  font-size: 13px;
  padding: 7px 10px;
  border-radius: 9px;
  text-decoration: none;
  white-space: nowrap;
  color: var(--fg);
  transition: background-color 0.15s;
}
.nav-panel-col a:hover { background: rgba(16, 16, 16, 0.05); }
.nav-panel-col a.nav-all { color: var(--brand-b); font-weight: 600; margin-top: 4px; }

/* sublinks de serviços no menu mobile */
.mobile-menu .mobile-sub {
  font-size: 15px;
  font-weight: 400;
  padding: 10px 4px 10px 20px;
  border-bottom: var(--hairline) solid var(--line);
  color: var(--fg);
}

/* canais de contato */
.chan-list { display: flex; flex-direction: column; }
.chan {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: var(--hairline) solid var(--line);
  text-decoration: none;
  transition: transform 0.2s;
}
.chan:first-child { border-top: 0; padding-top: 0; }
.chan:hover { transform: translateX(4px); }
.chan .svc-icon { flex: none; }
.chan b { display: block; font-size: 14px; }
.chan span { display: block; font-size: 12.5px; color: var(--grey); margin-top: 1px; }
.chan-note { margin-top: 1rem; font-size: 12px; color: var(--grey); display: flex; align-items: center; gap: 8px; }
.chan-note .pl-dot { background: var(--brand-grad); width: 7px; height: 7px; flex: 0 0 7px; }

/* manifesto (Sobre) */
.manifesto { max-width: 56rem; margin-top: 2.5rem; }
.manifesto p {
  margin: 0 0 1.2rem;
  padding-left: 24px;
  border-left: var(--hairline) solid var(--line);
  font-size: clamp(16px, 1.8vw, 21px);
  line-height: 1.35;
}
.manifesto p:last-child { margin-bottom: 0; }

/* case rico (Portfólio): imagem + texto lado a lado */
.case-row {
  display: grid;
  border: var(--hairline) solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg);
  transition: box-shadow 0.25s, transform 0.25s;
}
.case-row:hover { box-shadow: var(--shadow-soft); transform: translateY(-3px); }
.case-row + .case-row { margin-top: 1.25rem; }
@media (min-width: 900px) { .case-row { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
.case-row .case-img { min-height: 220px; }
.case-row .case-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-row .case-body { padding: 22px 24px; display: flex; flex-direction: column; }
.case-row .case-body h3 { margin: 0; font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 700; letter-spacing: -0.02em; }
.case-row .case-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.case-row .case-body p { margin: 14px 0 0; font-size: 14px; line-height: 1.5; }

@media (prefers-reduced-motion: reduce) {
  .nav-panel { transition: none; }
  .chan:hover { transform: none; }
  .case-row:hover { transform: none; }
}

/* ---------- Reduced motion (v3.5) ---------- */
@media (prefers-reduced-motion: reduce) {
  .t-split .tw { opacity: 1; transform: none; filter: none; transition: none; }
  .timeline li { opacity: 1; transform: none; transition: none; }
  .tl-fill { height: 100% !important; }
  .marquee--pills .marquee-track,
  .marquee--quotes .marquee-track { animation: none; width: auto; flex-wrap: wrap; }
  .marquee--pills .marquee-set,
  .marquee--quotes .marquee-set { flex-wrap: wrap; }
  .chat-bubble { opacity: 1; animation: none !important; transform: none; }
  .chat-typing { display: none; }
  a.svc-card:hover .svc-icon,
  a.cta-card:hover .cta-arr { transform: none; }
  .qc-track { transition: none; }
  .ask-input:hover, .ask-chip:hover { transform: none; }
}
