/* ==========================================================================
   home-autoridade.css — Página inicial v5 "Autoridade"
   Escopo: tudo dentro de .hx (não afeta outras páginas).
   Referências de linguagem visual: grade técnica com réguas laterais,
   neutros tintados, sombra "surface" em camadas, molduras duplas,
   títulos com destaque serifado e rótulos mono numerados.
   ========================================================================== */

/* ── Tokens ─────────────────────────────────────────────────────────────── */
.hx {
  --hx-ink: #0b0c12;
  --hx-ink-2: #12141d;
  --hx-ink-3: #1b1e2b;

  --hx-bg: #fbfbfd;
  --hx-bg-2: #f3f4f8;
  --hx-card: #ffffff;
  --hx-fg: #0e1020;
  --hx-fg-2: #3f4459;
  --hx-fg-3: #62677f;
  --hx-rule: rgba(84, 89, 120, 0.16);
  --hx-rule-strong: rgba(84, 89, 120, 0.28);

  --hx-accent: #2f55e4;
  --hx-accent-soft: rgba(47, 85, 228, 0.1);
  --hx-accent-text: linear-gradient(100deg, #1f3fd1 0%, #5446d9 55%, #a8651c 100%);
  --hx-live: #22c55e;

  --hx-shadow-surface:
    0 4px 8px rgba(14, 16, 32, 0.05),
    0 2px 4px rgba(14, 16, 32, 0.04),
    0 1px 2px rgba(14, 16, 32, 0.04),
    0 0 0 1px rgba(14, 16, 32, 0.08),
    inset 0 -0.5px 0.5px rgba(84, 89, 120, 0.08);
  --hx-shadow-lift: 0 24px 48px -12px rgba(14, 16, 32, 0.18), 0 0 0 1px rgba(14, 16, 32, 0.08);

  --hx-radius: 16px;
  --hx-radius-lg: 24px;
  --hx-wrap: 1120px;
  --hx-gutter: clamp(1rem, 4vw, 2.5rem);
  --hx-section-y: clamp(4.5rem, 10vw, 7.5rem);

  --hx-sans: 'DM Sans Variable', 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --hx-serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --hx-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --hx-ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  container-type: inline-size;
  container-name: hx;
  background: var(--hx-bg);
  color: var(--hx-fg);
  font-family: var(--hx-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

[data-theme="dark"] .hx {
  --hx-bg: #07080c;
  --hx-bg-2: #0d0f16;
  --hx-card: #11131b;
  --hx-fg: #eef0f7;
  --hx-fg-2: #b4b8cc;
  --hx-fg-3: #8f94ab;
  --hx-rule: rgba(160, 166, 200, 0.12);
  --hx-rule-strong: rgba(160, 166, 200, 0.22);
  --hx-accent: #7d97ff;
  --hx-accent-soft: rgba(125, 151, 255, 0.12);
  --hx-accent-text: linear-gradient(100deg, #b9c8ff 0%, #8aa4ff 45%, #f1c98f 100%);
  --hx-shadow-surface: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 8px 24px rgba(0, 0, 0, 0.35);
  --hx-shadow-lift: 0 24px 48px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Seções sempre escuras (hero, método, CTA final) */
.hx .hx-dark {
  --hx-fg: #f4f5fa;
  --hx-fg-2: #b9bdd0;
  --hx-fg-3: #8e93aa;
  --hx-rule: rgba(180, 186, 220, 0.12);
  --hx-rule-strong: rgba(180, 186, 220, 0.22);
  --hx-card: rgba(255, 255, 255, 0.035);
  --hx-accent: #8aa4ff;
  --hx-accent-soft: rgba(138, 164, 255, 0.14);
  --hx-accent-text: linear-gradient(100deg, #c3d0ff 0%, #8aa4ff 45%, #f3c98b 100%);
  --hx-shadow-surface: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 32px rgba(0, 0, 0, 0.35);
  background: var(--hx-ink);
  color: var(--hx-fg);
}

/* Reset com especificidade zero (:where) para não anular margens dos componentes */
:where(.hx) *, :where(.hx) *::before, :where(.hx) *::after { box-sizing: border-box; }
:where(.hx) :where(img) { max-width: 100%; height: auto; display: block; }
:where(.hx) :where(h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul) { margin: 0; }
:where(.hx) :where(ol, ul) { padding: 0; list-style: none; }
:where(.hx) :where(a) { color: inherit; text-decoration: none; }

/* ── Estrutura: wrapper com réguas laterais ─────────────────────────────── */
.hx-wrap {
  position: relative;
  width: 100%;
  max-width: var(--hx-wrap);
  margin-inline: auto;
  padding-inline: var(--hx-gutter);
}
@container hx (min-width: 1000px) {
  .hx-wrap { border-inline: 1px solid var(--hx-rule); }
}

.hx-section {
  position: relative;
  border-top: 1px solid var(--hx-rule);
}
/* Padding vertical no wrapper: as réguas laterais ficam contínuas entre seções */
.hx-section > .hx-wrap { padding-block: var(--hx-section-y); }

/* ── Tipografia utilitária ──────────────────────────────────────────────── */
.hx-mono {
  font-family: var(--hx-mono);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.hx-accent {
  font-family: var(--hx-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  padding-right: 0.06em;
  background: var(--hx-accent-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--hx-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hx-fg-3);
  margin-bottom: 1.25rem;
}
.hx-eyebrow__index {
  color: var(--hx-accent);
  padding-right: 0.625rem;
  border-right: 1px solid var(--hx-rule-strong);
}
.hx-eyebrow--plain { margin-bottom: 1rem; }

.hx-heading { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.hx-heading--center { margin-inline: auto; text-align: center; }
.hx-heading__title {
  font-size: clamp(2rem, 4.6cqi, 3.25rem);
  font-weight: 560;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
  color: var(--hx-fg);
}
.hx-heading__title .hx-accent { font-size: 1.08em; }
.hx-heading__sub {
  margin-top: 1.25rem;
  max-width: 34rem;
  font-size: 1.0625rem;
  color: var(--hx-fg-2);
  text-wrap: pretty;
}

/* ── Botões ─────────────────────────────────────────────────────────────── */
.hx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--hx-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--hx-ease), box-shadow 0.25s var(--hx-ease),
              background-color 0.2s, border-color 0.2s, color 0.2s;
}
.hx-btn svg { flex-shrink: 0; transition: transform 0.25s var(--hx-ease); }
.hx-btn:hover svg:last-child { transform: translateX(3px); }
.hx-btn--lg { min-height: 52px; padding: 0 1.5rem; font-size: 1rem; }

.hx-btn--light {
  background: #fff;
  color: var(--hx-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 8px 24px -8px rgba(138, 164, 255, 0.55);
}
.hx-btn--light:hover { transform: translateY(-1px); box-shadow: 0 12px 32px -8px rgba(138, 164, 255, 0.7); }

.hx-btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.hx-btn--ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.28); }

.hx-btn--dark { background: var(--hx-ink); color: #fff; }
.hx-btn--dark:hover { transform: translateY(-1px); box-shadow: var(--hx-shadow-lift); }
[data-theme="dark"] .hx-btn--dark { background: #fff; color: var(--hx-ink); }

.hx-btn--outline {
  background: var(--hx-card);
  color: var(--hx-fg);
  box-shadow: var(--hx-shadow-surface);
}
.hx-btn--outline:hover { transform: translateY(-1px); }

.hx-btn:focus-visible,
.hx a:focus-visible,
.hx button:focus-visible {
  outline: 2px solid var(--hx-accent);
  outline-offset: 3px;
}

/* ── Pílulas, tags, cards ───────────────────────────────────────────────── */
.hx-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.375rem 0.875rem 0.375rem 0.625rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--hx-fg-2);
  margin-bottom: 1.75rem;
}
.hx-pill__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--hx-live);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

.hx-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--hx-fg-2);
  background: var(--hx-bg-2);
  box-shadow: inset 0 0 0 1px var(--hx-rule);
}

.hx-card {
  background: var(--hx-card);
  border-radius: var(--hx-radius);
  box-shadow: var(--hx-shadow-surface);
}

/* Moldura dupla (bezel) */
.hx-bezel {
  position: relative;
  padding: 8px;
  border-radius: var(--hx-radius-lg);
  background: var(--hx-bg-2);
  box-shadow: var(--hx-shadow-surface);
}
.hx-bezel__inner {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--hx-radius-lg) - 8px);
  background: var(--hx-card);
  box-shadow: var(--hx-shadow-surface);
}
.hx-bezel--dark { background: rgba(255, 255, 255, 0.04); }
.hx-bezel--dark .hx-bezel__inner { background: var(--hx-ink-2); }

/* ── HERO ───────────────────────────────────────────────────────────────── */
/* Home: o hero passa por baixo do header flutuante (sem padding do wrapper) */
body.hx-home .main-wrapper { padding-top: 0 !important; }

.hx-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hx-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 20%, transparent 75%);
}
.hx-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.hx-hero__glow--a {
  width: 560px; height: 460px;
  top: -120px; right: 4%;
  background: radial-gradient(circle, #3d5bff 0%, transparent 70%);
}
.hx-hero__glow--b {
  width: 420px; height: 360px;
  bottom: 10%; left: -120px;
  background: radial-gradient(circle, #c98a3a 0%, transparent 70%);
  opacity: 0.28;
}

.hx-hero__location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  padding: 0.4375rem 1rem 0.4375rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.86);
}
.hx-hero__location-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(138, 164, 255, 0.16);
  color: #aebfff;
}

.hx-hero__grid { position: relative; display: grid; }
.hx-hero__content { position: relative; z-index: 2; }

.hx-hero__title {
  font-size: clamp(2.25rem, 4.1vw, 3.6rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.042em;
  text-wrap: balance;
  color: var(--hx-fg);
}
.hx-hero__title .hx-accent { font-size: 1.1em; line-height: 0.9; }
.hx-accent--shine {
  background-image: linear-gradient(100deg, #c3d0ff 0%, #8aa4ff 30%, #ffffff 46%, #f3c98b 62%, #f3c98b 100%);
  background-size: 260% 100%;
  background-position: 0% 0;
  animation: hx-shine 2.6s var(--hx-ease) 0.6s 1 both;
}
@keyframes hx-shine {
  from { background-position: 100% 0; }
  to   { background-position: 0% 0; }
}

.hx-hero__lead {
  margin-top: 1.5rem;
  max-width: 31rem;
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.6;
  color: var(--hx-fg-2);
  text-wrap: pretty;
}
.hx-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }
.hx-hero__micro {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--hx-fg-3);
}
.hx-hero__micro li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.375rem 0.75rem 0.375rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  color: var(--hx-fg-2);
}
.hx-hero__micro svg { color: var(--hx-accent); }

/* Cartões flutuantes (vidro) */
.hx-float {
  z-index: 3;
  border-radius: 14px;
  background: rgba(18, 20, 29, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 16px 40px rgba(0, 0, 0, 0.45);
}
.hx-float--metric {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 0.75rem;
  align-items: center;
  padding: 0.875rem 1rem;
  max-width: 250px;
}
.hx-float__icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.14);
  color: var(--hx-live);
}
.hx-float__value { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.02em; color: #fff; }
.hx-float__label { font-size: 0.75rem; line-height: 1.35; color: rgba(255, 255, 255, 0.65); }
.hx-float--chips {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  width: max-content;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
}
.hx-float--chips li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hx-float--chips svg { color: var(--hx-accent); }
@keyframes hx-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── Hero MOBILE (<768px): foto de fundo à direita, texto estreito à esquerda ── */
@media (max-width: 767px) {
  .hx .hx-hero.hx-dark {
    background-color: #000;
    background-image:
      linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, #000 100%),
      url('/media/hero2-mobile-samuelneves-criacao-de-sites-webdesign.webp');
    background-size: 100% auto, 100% auto;
    background-position: top right, top right;
    background-repeat: no-repeat;
  }
  .hx-hero__bg { display: none; }
  .hx-hero__grid { padding-top: 2rem; padding-bottom: 2.5rem; }
  .hx-hero__location { max-width: 64%; font-size: 0.75rem; padding-right: 0.75rem; border-radius: 14px; }
  .hx-hero__content .hx-pill { display: none; }
  .hx-hero__title {
    width: 64%;
    font-size: clamp(1.625rem, 7.4vw, 2.25rem);
    line-height: 1.06;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
  }
  .hx-hero__lead {
    width: 88%;
    margin-top: 1.25rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.86);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8);
  }
  .hx-hero__actions { margin-top: 1.75rem; }
  .hx-hero__actions .hx-btn { width: 100%; }
  .hx-hero__visual { display: none; }
}

/* ── Hero DESKTOP (≥768px): recorte ancorado na base, invadindo o texto ── */
@media (min-width: 768px) {
  .hx-hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    min-height: min(760px, 88vh);
    padding-top: calc(var(--site-header-h, 64px) + 4rem);
  }
  .hx-hero__visual {
    position: relative;
    align-self: stretch;
    margin-left: -12%;
    min-height: 460px;
  }
  .hx-hero__photo img {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 108%;
    max-height: 700px;
    width: auto;
    max-width: none;
    mix-blend-mode: lighten;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 99%);
    mask-image: linear-gradient(180deg, #000 70%, transparent 99%);
    user-select: none;
    pointer-events: none;
  }
  .hx-hero__tag {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
  }
  .hx-hero__tag strong { font-size: 1rem; font-weight: 600; }
  .hx-hero__tag span { font-size: 0.75rem; color: rgba(255, 255, 255, 0.65); }
  .hx-float { position: absolute; }
  .hx-float--metric { left: 2%; bottom: 30%; animation: hx-bob 7s ease-in-out infinite; }
  .hx-float--chips { right: -2%; bottom: 22%; animation: hx-bob 8s ease-in-out 1.2s infinite; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .hx-hero__grid { padding-top: 6rem; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
  .hx-float--chips { display: none; }
  .hx-float--metric { left: -6%; top: 18%; }
}

/* Faixa de prova — painel de vidro com números e sufixo destacado */
.hx-proof {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(138, 164, 255, 0.10) 0%, transparent 55%),
    rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), 0 24px 48px -24px rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
@media (min-width: 760px) {
  .hx-proof { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.hx-proof__item {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 0.625rem;
  padding: clamp(1.25rem, 2.4vw, 1.75rem) clamp(1rem, 2vw, 1.75rem);
  transition: background-color 0.3s;
}
.hx-proof__item:hover { background: rgba(255, 255, 255, 0.03); }
.hx-proof__item + .hx-proof__item { box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.08); }
@media (max-width: 759px) {
  .hx-proof__item:nth-child(3) { box-shadow: none; }
  .hx-proof__item:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.08); }
}
.hx-proof__value {
  display: flex;
  align-items: baseline;
  gap: 0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hx-proof__num {
  font-size: clamp(2.25rem, 4.2vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  color: #fff;
}
.hx-proof__suffix {
  font-family: var(--hx-serif);
  font-style: italic;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  background: var(--hx-accent-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.08em;
}
.hx-proof__label {
  max-width: 18ch;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--hx-fg-3);
}

/* ── Logos (reuso de components/logo-carousel.js) ─────────────────────────
   Painel escuro CONTIDO na grade (não de ponta a ponta), com cantos
   arredondados, brilho suave e bordas esfumadas. Fundo escuro porque a maioria
   das logos é branca/colorida; logos 100% pretas usam invertOnDark.
   Tamanho de cada logo normalizado por área visual (ratio em logo-carousel.js). */
.hx-logos {
  max-width: var(--hx-wrap);
  margin-inline: auto;
  padding: 0 var(--hx-gutter) var(--hx-section-y);
}
.hx-logos .logo-carousel {
  position: relative;
  overflow: hidden;
  padding-block: 1.75rem;
  border: 0;
  border-radius: var(--hx-radius-lg);
  background:
    radial-gradient(80% 160% at 50% -20%, rgba(111, 138, 255, 0.22) 0%, transparent 60%),
    radial-gradient(60% 120% at 100% 120%, rgba(201, 138, 58, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, #161a2b 0%, #0e1019 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 24px 48px -28px rgba(14, 16, 32, 0.55);
}
[data-theme="dark"] .hx-logos .logo-carousel {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 24px 48px -28px rgba(0, 0, 0, 0.8);
}
.hx-logos .logo-carousel .container { display: none; }
.hx-logos .logo-carousel__track-wrapper {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.hx-logos .logo-carousel__track { gap: 3rem; align-items: center; }
.hx-logos .logo-carousel__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 0 0.25rem;
  opacity: 0.82;
  background: transparent;
  cursor: pointer;
  transition: opacity 0.25s;
}
.hx-logos .logo-carousel__item img {
  object-fit: contain;
  transition: transform 0.25s;
}
.hx-logos .logo-carousel__item--invert img { filter: invert(1); }
.hx-logos .logo-carousel__item:hover,
.hx-logos .logo-carousel__item:focus-visible { opacity: 1; }
.hx-logos .logo-carousel__item:hover img,
.hx-logos .logo-carousel__item:focus-visible img { transform: scale(1.05); }
.hx-logos .logo-carousel__name { display: none; }

/* ── 01 Problema ────────────────────────────────────────────────────────── */
.hx-problems__grid { display: grid; gap: 1rem; }
@container hx (min-width: 760px) {
  .hx-problems__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.hx-problem { padding: 1.75rem; }
.hx-problem__icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  background: var(--hx-ink);
  color: #fff;
}
[data-theme="dark"] .hx-problem__icon { background: var(--hx-accent-soft); color: var(--hx-accent); }
.hx-problem__title { font-size: 1.125rem; font-weight: 620; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.hx-problem__desc { font-size: 0.9375rem; color: var(--hx-fg-2); }

/* ── 02 Portfólio ───────────────────────────────────────────────────────── */
.hx-work { background: var(--hx-bg-2); }
.hx-work__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}
.hx-work__head .hx-heading { margin-bottom: 0; }
.hx-work__grid { display: grid; gap: 1.25rem; }
@container hx (min-width: 760px) {
  .hx-work__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-work__item--featured { grid-column: 1 / -1; }
}
.hx-work__item { min-width: 0; }
.hx-work__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: calc(var(--hx-radius-lg) + 4px);
  background: var(--hx-card);
  box-shadow: var(--hx-shadow-surface);
  padding: 0.75rem;
  transition: transform 0.35s var(--hx-ease), box-shadow 0.35s var(--hx-ease);
}
.hx-work__link:hover { transform: translateY(-3px); box-shadow: var(--hx-shadow-lift); }
.hx-work__frame { box-shadow: none; }
.hx-work__bar {
  display: flex;
  gap: 6px;
  align-items: center;
  height: 26px;
  padding-inline: 12px;
  border-bottom: 1px solid var(--hx-rule);
  background: var(--hx-card);
}
.hx-work__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--hx-rule-strong); }
.hx-work__frame img {
  width: 100%;
  aspect-ratio: 1440 / 840;
  object-fit: cover;
  object-position: top;
  transition: transform 0.8s var(--hx-ease);
}
.hx-work__link:hover .hx-work__frame img { transform: scale(1.035); }
.hx-work__body { display: flex; flex-direction: column; gap: 0.625rem; padding: 1.25rem 0.75rem 0.75rem; flex: 1; }
.hx-work__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem 0.5rem;
  font-family: var(--hx-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hx-fg-3);
}
.hx-work__meta .hx-tag { font-family: var(--hx-sans); text-transform: none; letter-spacing: 0; }
.hx-work__title {
  font-size: 1.125rem;
  font-weight: 620;
  line-height: 1.3;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hx-work__excerpt { font-size: 0.9rem; color: var(--hx-fg-2); }
.hx-work__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hx-accent);
}
.hx-work__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  padding-block: 1rem;
  margin-block: 0.5rem;
  border-block: 1px solid var(--hx-rule);
}
.hx-work__metrics dt { font-size: 0.75rem; color: var(--hx-fg-3); }
.hx-work__metrics dd { font-size: 1.125rem; font-weight: 650; letter-spacing: -0.02em; }

@container hx (min-width: 900px) {
  .hx-work__item--featured .hx-work__link {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
  }
  .hx-work__item--featured .hx-work__body { padding: 1rem 1.25rem 1rem 0; }
  .hx-work__item--featured .hx-work__title { font-size: 1.5rem; -webkit-line-clamp: 3; }
}

/* ── 03 Método (pilares) ────────────────────────────────────────────────── */
.hx-pillars { border-top: 0; }
.hx-pillars__layout { display: grid; gap: 2rem; }
.hx-pillars__nav { display: none; }
@container hx (min-width: 900px) {
  .hx-pillars__layout { grid-template-columns: 280px minmax(0, 1fr); gap: 4rem; }
  .hx-pillars__nav { display: block; position: sticky; top: calc(var(--site-header-h, 64px) + 2rem); align-self: start; }
}
.hx-pillars__nav ol { display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--hx-rule); }
.hx-pillars__nav a {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.5rem 0 0.5rem 1rem;
  margin-left: -1px;
  border-left: 2px solid transparent;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--hx-fg-3);
  transition: color 0.2s, border-color 0.2s;
}
.hx-pillars__nav a:hover { color: var(--hx-fg-2); }
.hx-pillars__nav a.is-active { color: var(--hx-fg); border-left-color: var(--hx-accent); }
.hx-pillars__nav a .hx-mono { color: inherit; opacity: 0.8; }

.hx-pillar {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 2rem;
  border-top: 1px solid var(--hx-rule);
  scroll-margin-block: 30vh;
}
.hx-pillar:last-child { border-bottom: 1px solid var(--hx-rule); }
.hx-pillar__num { color: var(--hx-accent); padding-top: 0.35rem; font-size: 0.8125rem; }
.hx-pillar__title {
  font-size: clamp(1.25rem, 2.6cqi, 1.625rem);
  font-weight: 580;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.hx-pillar__desc { color: var(--hx-fg-2); max-width: 38rem; }

/* ── 04 Resultados ──────────────────────────────────────────────────────── */
.hx-results__layout { display: grid; gap: 1.25rem; }
@container hx (min-width: 900px) {
  .hx-results__layout { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
}
.hx-case {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.75rem, 4cqi, 2.5rem);
  border-radius: var(--hx-radius-lg);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(61, 91, 255, 0.35) 0%, transparent 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(201, 138, 58, 0.22) 0%, transparent 60%),
    var(--hx-ink);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), var(--hx-shadow-lift);
}
.hx-case .hx-eyebrow { color: rgba(255, 255, 255, 0.6); margin: 0; }
.hx-case__quote {
  font-family: var(--hx-serif);
  font-size: clamp(1.75rem, 3.6cqi, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.hx-case__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  align-self: flex-start;
  font-size: 0.9rem;
  font-weight: 600;
  color: #c3d0ff;
  border-bottom: 1px solid rgba(195, 208, 255, 0.35);
  padding-bottom: 2px;
}
.hx-case__link:hover { color: #fff; border-color: #fff; }

.hx-results__grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hx-result { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.25rem; }
.hx-result__metric {
  font-size: clamp(2rem, 4.4cqi, 2.75rem);
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 0.75rem;
  background: var(--hx-accent-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.hx-result__label { font-size: 0.9375rem; font-weight: 620; letter-spacing: -0.01em; }
.hx-result__desc { font-size: 0.8125rem; line-height: 1.45; color: var(--hx-fg-3); }
@container hx (max-width: 420px) {
  .hx-results__grid { grid-template-columns: 1fr; }
}

/* ── 05 Processo ────────────────────────────────────────────────────────── */
.hx-process { background: var(--hx-bg-2); }
.hx-process__list { display: grid; gap: 0; counter-reset: step; }
@container hx (min-width: 760px) {
  .hx-process__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.hx-step {
  position: relative;
  padding: 1.75rem 1.5rem 1.75rem 0;
  border-top: 1px solid var(--hx-rule-strong);
}
.hx-step::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--hx-bg-2);
  box-shadow: inset 0 0 0 2px var(--hx-accent);
}
.hx-step__num { display: block; color: var(--hx-accent); margin-bottom: 1.25rem; }
.hx-step__title { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.hx-step__desc { font-size: 0.9375rem; color: var(--hx-fg-2); }

/* ── 06 Bio ─────────────────────────────────────────────────────────────── */
.hx-bio__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@container hx (min-width: 900px) {
  .hx-bio__grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
  .hx-bio__photo { position: sticky; top: calc(var(--site-header-h, 64px) + 2rem); }
}
.hx-bio__photo { max-width: 420px; width: 100%; }
.hx-bio__photo .hx-bezel__inner { aspect-ratio: 1; background: #222; }
.hx-bio__photo img { width: 100%; height: 100%; object-fit: cover; user-select: none; }
.hx-bio__badge {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 0.8125rem;
  font-weight: 550;
  color: #fff;
  background: rgba(11, 12, 18, 0.65);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.hx-bio__badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--hx-live);
  animation: hx-pulse 2.4s ease-out infinite;
}
@keyframes hx-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55); }
  100% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
}
.hx-bio__content .hx-heading { margin-bottom: 1.75rem; }
.hx-bio__text { color: var(--hx-fg-2); font-size: 1.0625rem; max-width: 38rem; }
.hx-bio__text + .hx-bio__text { margin-top: 1rem; }
.hx-bio__creds {
  display: grid;
  gap: 0.625rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--hx-rule);
}
.hx-bio__creds li { display: flex; align-items: center; gap: 0.625rem; font-size: 0.9375rem; font-weight: 550; }
.hx-bio__creds svg { color: var(--hx-accent); flex-shrink: 0; }
.hx-bio__stack { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.hx-bio__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* ── 07 FAQ (restyle de components/faq.js) ──────────────────────────────── */
.hx-faq { background: var(--hx-bg-2); }
.hx-faq__grid { display: grid; gap: 2.5rem; }
@container hx (min-width: 900px) {
  .hx-faq__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 4rem; }
  .hx-faq__aside { position: sticky; top: calc(var(--site-header-h, 64px) + 2rem); align-self: start; }
}
.hx-faq__help { padding: 1.5rem; display: grid; gap: 1rem; font-size: 0.9375rem; color: var(--hx-fg-2); }
.hx-faq__help strong { color: var(--hx-fg); }
.hx-faq__help .hx-btn { justify-self: start; }

.hx .hx-faq__list { gap: 0; border-top: 1px solid var(--hx-rule-strong); }
.hx .hx-faq__list .faq-item {
  border: 0;
  border-bottom: 1px solid var(--hx-rule-strong);
  border-radius: 0;
  background: transparent;
}
.hx .hx-faq__list .faq-item__btn {
  padding: 1.375rem 0;
  font-family: var(--hx-sans);
  font-size: 1.0625rem;
  font-weight: 580;
  letter-spacing: -0.015em;
  color: var(--hx-fg);
  border: 0;
}
.hx .hx-faq__list .faq-item__btn:hover { background: transparent; color: var(--hx-accent); }
.hx .hx-faq__list .faq-item__chevron {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  color: var(--hx-fg-2);
  box-shadow: inset 0 0 0 1px var(--hx-rule-strong);
}
.hx .hx-faq__list .faq-item.open .faq-item__chevron { background: var(--hx-ink); color: #fff; box-shadow: none; }
[data-theme="dark"] .hx .hx-faq__list .faq-item.open .faq-item__chevron { background: #fff; color: var(--hx-ink); }
.hx .hx-faq__list .faq-item__panel p { padding: 0 3rem 1.5rem 0; color: var(--hx-fg-2); line-height: 1.6; }

/* ── CTA final ──────────────────────────────────────────────────────────── */
.hx-final {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: clamp(5rem, 11vw, 8rem);
  text-align: center;
}
.hx-final .hx-hero__glow--a { top: auto; bottom: -160px; right: 50%; transform: translateX(50%); width: 720px; opacity: 0.5; }
.hx-final__inner { display: flex; flex-direction: column; align-items: center; }
.hx-final__title {
  max-width: 16ch;
  font-size: clamp(2.35rem, 6.4cqi, 4.5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.042em;
  text-wrap: balance;
}
.hx-final__title .hx-accent { font-size: 1.08em; }
.hx-final__sub { margin-top: 1.5rem; max-width: 34rem; font-size: 1.125rem; color: var(--hx-fg-2); }
.hx-final__actions, .hx-final__badges { justify-content: center; }
.hx-final__wordmark {
  margin-top: clamp(3rem, 7vw, 5rem);
  font-size: clamp(3.5rem, 15.5cqi, 13.5rem);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.06em;
  white-space: nowrap;
  text-align: center;
  user-select: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: translateY(0.12em);
}

/* ── Movimento reduzido ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hx *, .hx *::before, .hx *::after {
    animation: none !important;
    transition: none !important;
  }
  .hx-accent--shine { background-position: 0% 0; }
}

/* Destaques serifados não quebram no meio em telas médias/grandes */
@container hx (min-width: 600px) {
  .hx-accent { white-space: nowrap; }
}

/* Mobile: CTAs em largura total para alvo de toque confortável */
@container hx (max-width: 480px) {
  .hx-pillar { grid-template-columns: 2.25rem minmax(0, 1fr); }
}

/* ── 01 Este site é a prova (painel de inspeção) ────────────────────────── */
.hx-craft__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) {
  .hx-craft__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
}
.hx-craft__intro .hx-heading { margin-bottom: 2rem; }
@media (min-width: 900px) {
  .hx-craft__grid { align-items: start; }
  .hx-craft__intro {
    position: sticky;
    top: calc(var(--site-header-h, 64px) + 2.5rem);
    padding-top: 2rem;
  }
}

.hx-inspector {
  overflow: hidden;
  border-radius: var(--hx-radius-lg);
  background: var(--hx-ink);
  color: #e9ebf4;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), var(--hx-shadow-lift);
}
.hx-inspector__bar {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.hx-inspector__dots { display: flex; gap: 6px; }
.hx-inspector__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.hx-inspector__title {
  flex: 1;
  font-family: var(--hx-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
}
.hx-inspector__live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--hx-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #86efac;
}
.hx-inspector__live span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--hx-live);
  animation: hx-pulse 2.4s ease-out infinite;
}
.hx-inspector__row {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.hx-inspector__row:last-child { border-bottom: 0; }
.hx-inspector__row--live { background: rgba(34, 197, 94, 0.06); }
.hx-inspector__label {
  font-family: var(--hx-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: #8aa4ff;
  padding-top: 0.15rem;
}
.hx-inspector__value { font-size: 0.9375rem; line-height: 1.5; color: rgba(255, 255, 255, 0.86); }
.hx-inspector__value strong { color: #fff; font-weight: 650; }
.hx-inspector__value code {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--hx-mono);
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.4);
}
.hx-inspector__ok { color: var(--hx-live); padding-top: 0.15rem; }
@media (max-width: 520px) {
  .hx-inspector__row { grid-template-columns: minmax(0, 1fr) auto; gap: 0.25rem 0.75rem; }
  .hx-inspector__label { grid-column: 1 / -1; }
}

/* ── 04 Clientes (carrossel dentro da seção) ────────────────────────────── */
.hx-clients > .hx-wrap.hx-clients__head { padding-bottom: 2.5rem; }
.hx-clients .hx-heading { margin-bottom: 0; }
.hx-clients .hx-heading__sub { margin-inline: auto; }
.hx-clients .logo-carousel .container { display: none; }

/* ── 06 Serviços ────────────────────────────────────────────────────────── */
.hx-services { background: var(--hx-bg-2); }
.hx-services__grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .hx-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .hx-services__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hx-service__link {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  height: 100%;
  padding: 1.75rem;
  transition: transform 0.3s var(--hx-ease), box-shadow 0.3s var(--hx-ease);
}
.hx-service__link:hover { transform: translateY(-3px); box-shadow: var(--hx-shadow-lift); }
.hx-service__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  background: var(--hx-accent-soft);
  color: var(--hx-accent);
}
.hx-service__title { font-size: 1.125rem; font-weight: 620; letter-spacing: -0.02em; line-height: 1.3; }
.hx-service__desc { font-size: 0.9375rem; color: var(--hx-fg-2); }
.hx-service__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hx-accent);
}
.hx-service__link:hover .hx-service__cta svg { transform: translateX(3px); }
.hx-service__cta svg { transition: transform 0.25s var(--hx-ease); }

/* ── Orçamento (CTA final com formulário) ───────────────────────────────── */
.hx-final--form { text-align: left; }
.hx-final--form .hx-final__inner {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 1000px) {
  .hx-final--form .hx-final__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); }
}
.hx-final--form .hx-final__title { max-width: 14ch; font-size: clamp(2.25rem, 4.6vw, 3.75rem); }
.hx-final--form .hx-final__actions,
.hx-final--form .hx-final__badges { justify-content: flex-start; }
.hx-final--form .hx-final__badges { margin-top: 1.5rem; }
.hx-final__form {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--hx-radius-lg);
  background: #fff;
  color: #0e1020;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
  --foreground: #0e1020;
  --muted-foreground: #62677f;
  --border: #e3e5ee;
  --card: #fff;
  --background: #fff;
}
.hx-final__form-title {
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
  font-weight: 620;
  letter-spacing: -0.02em;
}
.hx-final__form .form-label { color: #3f4459; }
.hx-final__form .form-input { background: #f8f9fc; color: #0e1020; }
.hx-final__form .contact-form__actions .btn {
  width: 100%;
  border-radius: 12px;
  background: #0b0c12;
  color: #fff;
}

/* ── Trajetória (timeline) ──────────────────────────────────────────────── */
.hx-tl__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 900px) { .hx-tl__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }
.hx-tl { position: relative; display: grid; gap: 0; margin-top: 0.25rem; }
.hx-tl::before {
  content: '';
  position: absolute;
  left: 5px; top: 0.5rem; bottom: 0.5rem;
  width: 1px;
  background: var(--hx-rule-strong);
}
.hx-tl__item { position: relative; padding: 0 0 2rem 2rem; }
.hx-tl__item:last-child { padding-bottom: 0; }
.hx-tl__dot {
  position: absolute;
  left: 0; top: 0.35rem;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--hx-bg);
  box-shadow: inset 0 0 0 2px var(--hx-accent), 0 0 0 4px var(--hx-accent-soft);
}
.hx-tl__period { color: var(--hx-accent); margin-bottom: 0.375rem; }
.hx-tl__title { font-size: 1.125rem; font-weight: 620; letter-spacing: -0.02em; line-height: 1.3; }
.hx-tl__org { margin-top: 0.125rem; font-size: 0.9375rem; font-weight: 500; color: var(--hx-fg-2); }
.hx-tl__desc { margin-top: 0.5rem; font-size: 0.9375rem; color: var(--hx-fg-2); max-width: 38rem; }
.hx-tl__skills-label { margin-top: 2.5rem; }
.hx-timeline .hx-bio__stack { margin-top: 0; }

/* Serviços com 4 itens: 2 colunas e depois 4 (evita card órfão) */
@media (min-width: 1000px) { .hx-services__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .hx-services__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ── Trilha de navegação (breadcrumb) no hero ───────────────────────────── */
.hx-hero__crumbs { margin-bottom: 1.5rem; }
.hx .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--hx-fg-3);
}
.hx .breadcrumb li { display: inline-flex; align-items: center; gap: 0.375rem; }
.hx .breadcrumb li + li::before { content: '/'; opacity: 0.45; }
.hx .breadcrumb a { color: var(--hx-fg-2); transition: color 0.2s; }
.hx .breadcrumb a:hover { color: var(--hx-fg); }
.hx .breadcrumb [aria-current="page"] { color: var(--hx-fg); font-weight: 550; }

/* ── Editorial (contexto do segmento) ───────────────────────────────────── */
.hx-editorial__grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) {
  .hx-editorial__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 4rem; align-items: start; }
  .hx-editorial__grid .hx-heading { position: sticky; top: calc(var(--site-header-h, 64px) + 2rem); margin-bottom: 0; }
}
.hx-editorial__body { display: grid; gap: 1.25rem; font-size: 1.0625rem; line-height: 1.7; color: var(--hx-fg-2); }
.hx-editorial__body p:first-child { font-size: 1.1875rem; color: var(--hx-fg); }

/* ── Checklist numerado ─────────────────────────────────────────────────── */
.hx-checklist { background: var(--hx-bg-2); }
.hx-checklist__grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .hx-checklist__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .hx-checklist__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hx-check { padding: 1.5rem; display: grid; gap: 0.5rem; align-content: start; }
.hx-check__num { color: var(--hx-accent); margin-bottom: 0.5rem; }
.hx-check__title { font-size: 1.0625rem; font-weight: 620; letter-spacing: -0.02em; line-height: 1.3; }
.hx-check__desc { font-size: 0.9375rem; color: var(--hx-fg-2); }

/* ── Cards de segmentos (hub e relacionados) ────────────────────────────── */
.hx-segments__grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .hx-segments__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .hx-segments__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hx-segment {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  height: 100%;
  padding: 1.5rem;
  transition: transform 0.3s var(--hx-ease), box-shadow 0.3s var(--hx-ease);
}
.hx-segment:hover { transform: translateY(-3px); box-shadow: var(--hx-shadow-lift); }
.hx-segment .hx-service__icon { margin-bottom: 0.5rem; }
.hx-segment__label { font-size: 1.125rem; font-weight: 620; letter-spacing: -0.02em; }
.hx-segment__desc { font-size: 0.9rem; color: var(--hx-fg-2); }
.hx-segment:hover .hx-service__cta svg { transform: translateX(3px); }
.hx-segments--compact .hx-segment { flex-direction: row; align-items: center; flex-wrap: wrap; }
.hx-segments--compact .hx-segment .hx-service__icon { margin-bottom: 0; }
.hx-segments--compact .hx-service__cta { margin-left: auto; margin-top: 0; padding-top: 0; }

/* Réguas laterais contínuas também no painel de logos */
@media (min-width: 1000px) {
  .hx-logos { border-inline: 1px solid var(--hx-rule); }
}
