/* ============================================================
   Perfil GAINS · Wagner Brito — MB Advogados Associados
   Design tokens + layout. HTML/CSS vanilla.
   Referência visual: caiofelippe.luven.io (dark editorial + dourado).
   ============================================================ */

:root {
  color-scheme: dark;

  /* — Palette — */
  --color-bg: #000000;
  --color-bg-elevated: #0d0d0d;
  /* Dourado jurídico — luz, sofisticação, autoridade */
  --color-accent: #b08659;
  --color-accent-rgb: 176, 134, 89;
  --color-accent-light: #c9a47c;
  --color-accent-dark: #8a6a45;
  /* Instrumento (prata/gelo) — cotas, labels, detalhes técnicos */
  --color-chrome: #cdd0d6;
  --color-chrome-rgb: 205, 208, 214;
  --color-text: #ffffff;
  --color-text-soft: #8d8d8d;
  --color-border: rgba(255, 255, 255, 0.06);

  /* — Typography — */
  --font-display: "Be Vietnam Pro", "DM Sans", system-ui, sans-serif;
  --font-editorial: "Times New Roman", "Times", "Georgia", serif;
  --font-mono: "Be Vietnam Pro", "DM Sans", system-ui, sans-serif;

  --fs-h2: clamp(2rem, 3.4vw, 3.2rem);
  --fs-h3: clamp(1.4rem, 2.4vw, 2rem);
  --fs-lead: clamp(1rem, 1.1vw, 1.15rem);
  --fs-body: clamp(0.95rem, 1vw, 1.05rem);
  --fs-tag: 0.72rem;

  /* — Spacing & layout — */
  --spacing-section: clamp(3.5rem, 6vw, 6rem);
  --spacing-gutter: clamp(1.25rem, 4vw, 2.5rem);
  --container-max: 1400px;

  /* — Motion — */
  --ease: cubic-bezier(0.76, 0, 0.24, 1);
  --duration: 300ms;
}

/* ============================================================
   Base
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  background: var(--color-bg);
  scrollbar-width: thin;
  scrollbar-color: var(--color-chrome) var(--color-bg);
  scroll-behavior: smooth;
}

html::-webkit-scrollbar { width: 4px; }
html::-webkit-scrollbar-track { background: var(--color-bg); }
html::-webkit-scrollbar-thumb { background: var(--color-chrome); }

html,
body {
  margin: 0;
  padding: 0;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  line-height: 1.6;
  min-height: 100svh;
}

body {
  overflow-x: clip;
  background: transparent;
}

@media (max-width: 900px) {
  html { font-size: 16px; }
}

h1, h2, h3, p, ul, blockquote, figure {
  margin: 0;
}

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

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

em, i {
  font-family: var(--font-editorial);
  font-style: italic;
  color: var(--color-accent);
  font-weight: 400;
}

::selection {
  background: var(--color-accent);
  color: var(--color-bg);
}

/* Fundo — halo de luz dourada fixo (substitui o WebGL da referência) */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 78% -8%, rgba(var(--color-accent-rgb), 0.16), transparent 65%),
    radial-gradient(ellipse 55% 40% at 12% 30%, rgba(var(--color-chrome-rgb), 0.05), transparent 60%),
    radial-gradient(ellipse 65% 50% at 50% 115%, rgba(var(--color-accent-rgb), 0.1), transparent 62%);
}

.bg-diagonal {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.05;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 1) 0,
    rgba(255, 255, 255, 1) 1px,
    transparent 1px,
    transparent 14px
  );
}

/* Barra de progresso de scroll */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 200;
  background: linear-gradient(90deg, var(--color-accent-light), var(--color-accent));
  transform-origin: left center;
  transform: scaleX(0);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 999;
  padding: 0.6rem 1rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  transform: translateY(-150%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ============================================================
   Utilities
   ============================================================ */
.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--spacing-gutter);
  max-width: var(--container-max);
}

.text-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-chrome);
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-shadow: 0 0 12px rgba(var(--color-chrome-rgb), 0.3);
  margin: 0;
}

.text-eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-chrome);
  flex-shrink: 0;
  animation: eyebrow-dot-pulse 2.8s ease-in-out infinite;
  box-shadow: 0 0 8px 1px rgba(var(--color-chrome-rgb), 0.5);
}

.text-eyebrow::after {
  content: "";
  display: inline-block;
  width: clamp(36px, 5vw, 64px);
  height: 1px;
  background: linear-gradient(to right, var(--color-chrome) 0%, rgba(var(--color-chrome-rgb), 0) 100%);
  margin-left: 0.25rem;
  flex-shrink: 0;
}

@keyframes eyebrow-dot-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(6px);
  transition:
    opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

[data-reveal-card] {
  opacity: 0;
  transform: translate3d(0, 60px, 0);
  transition:
    opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal-card].is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal],
  [data-reveal-card] {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ============================================================
   HUD topbar
   ============================================================ */
.hud {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: 0.6rem;
}

.hud-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.55rem;
  background:
    linear-gradient(152deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015) 40%, rgba(255, 255, 255, 0) 75%),
    rgba(11, 11, 16, 0.42);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding-inline: clamp(0.9rem, 3vw, 1.4rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 40px -20px rgba(0, 0, 0, 0.7);
}

.hud-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
}

.hud-logo {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: linear-gradient(174deg, #fbf7ef 0%, #d7dae0 18%, #989ca5 42%, #f3f5f8 53%, #b9bec6 70%, #e8e4db 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.hud-brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--color-text-soft);
}

.hud-readouts {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 2vw, 1.4rem);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

.hud-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.hud-mono {
  color: var(--color-chrome);
  font-variant-numeric: tabular-nums;
}

.hud-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-text-soft);
}

.hud-dot.is-open {
  background: #5fb87a;
  box-shadow: 0 0 8px 1px rgba(95, 184, 122, 0.65);
  animation: hud-pulse 2.4s ease-in-out infinite;
}

.hud-dot.is-closed {
  background: #e0564e;
  box-shadow: 0 0 8px 1px rgba(224, 86, 78, 0.55);
}

@keyframes hud-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.hud-cta {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--color-accent-rgb), 0.45);
  background: rgba(var(--color-accent-rgb), 0.1);
  white-space: nowrap;
  transition: background var(--duration) var(--ease);
}

.hud-cta:hover { background: rgba(var(--color-accent-rgb), 0.22); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding-top: clamp(5.5rem, 11vh, 8rem);
  padding-bottom: var(--spacing-section);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.hero-lead-col { padding-top: 0.5rem; }
.hero-media-col { padding-top: 3.2rem; }

.hero-name {
  font-size: clamp(2.6rem, 6.2vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0.4rem 0 1.1rem;
  font-weight: 300;
  text-wrap: balance;
}

.hero-name-2 { color: var(--color-text-soft); }

.hero-role {
  font-size: clamp(1.05rem, 1.9vw, 1.45rem);
  font-weight: 300;
  line-height: 1.35;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.hero-role strong { font-weight: 500; }
.hero-role .nowrap { white-space: nowrap; }

.hero-role-sub {
  display: block;
  font-size: var(--fs-tag);
  letter-spacing: 0.06em;
  color: var(--color-text-soft);
  text-transform: uppercase;
  margin-top: 0.35rem;
}

.hero-lead {
  font-size: var(--fs-lead);
  line-height: 1.7;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
  max-width: 44ch;
  margin-bottom: 2.2rem;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.8rem, 1.6vw, 1.4rem);
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  padding-top: 1.4rem;
  border-top: 1px solid rgba(var(--color-chrome-rgb), 0.16);
}

.hstat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.hstat-num {
  font-size: clamp(0.95rem, 1.35vw, 1.25rem);
  font-weight: 300;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hstat-label {
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  line-height: 1.3;
}

/* Pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform var(--duration) var(--ease), background var(--duration) var(--ease);
}

.pill:hover { transform: translateY(-2px); }

.pill-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent-dark));
  box-shadow: 0 14px 40px -12px rgba(var(--color-accent-rgb), 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.pill-plus {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  font-size: 1rem;
  line-height: 1;
}

.pill-ghost {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pill-ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* Hero media */
.hero-media-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-photo {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(var(--color-chrome-rgb), 0.18);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 60px -20px rgba(var(--color-accent-rgb), 0.25);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  filter: saturate(0.92) contrast(1.02);
}

.bt-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(var(--color-chrome-rgb), 0.5);
  z-index: 2;
}

.bt-corner.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.bt-corner.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

.spec-tile {
  position: relative;
  margin-top: 1.2rem;
  width: 100%;
  max-width: 380px;
  padding: 1.1rem 1.3rem;
  border-radius: 16px;
  background:
    linear-gradient(152deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.018) 38%, rgba(255, 255, 255, 0) 72%),
    rgba(11, 11, 16, 0.34);
  backdrop-filter: blur(30px) saturate(150%) brightness(1.05);
  -webkit-backdrop-filter: blur(30px) saturate(150%) brightness(1.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 30px 60px -30px rgba(0, 0, 0, 0.5);
}

.spec-leader {
  position: absolute;
  top: 18px;
  right: 100%;
  width: clamp(1rem, 3vw, 2.5rem);
  height: 1px;
  background: linear-gradient(to left, rgba(var(--color-chrome-rgb), 0.6), transparent);
}

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

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
}

.spec-list li:last-child { border-bottom: 0; }

.spec-list span {
  color: var(--color-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.spec-list b { color: var(--color-chrome); font-weight: 500; text-align: right; }

/* ============================================================
   Sections base
   ============================================================ */
.section { padding-block: var(--spacing-section); }

.section-editorial {
  position: relative;
  border-top: 1px solid var(--color-border);
}

.section-editorial::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: clamp(48px, 6vw, 80px);
  height: 1px;
  background: var(--color-chrome);
  z-index: 1;
}

.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 640px; }

.section-head.split {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  max-width: none;
}

.head-lead {
  font-size: var(--fs-lead);
  line-height: 1.7;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  text-wrap: pretty;
  padding-bottom: 0.35rem;
}

.h2 {
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0.6rem 0 0;
  text-wrap: balance;
}

/* ============================================================
   Credenciais (badges)
   ============================================================ */
.recog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
}

.recog-badge {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.5rem 1.6rem;
  border-radius: 16px;
  background:
    linear-gradient(152deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015) 42%, rgba(255, 255, 255, 0) 75%),
    rgba(11, 11, 16, 0.34);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(var(--color-chrome-rgb), 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 24px 50px -28px rgba(0, 0, 0, 0.7),
    0 0 40px -18px rgba(var(--color-accent-rgb), 0.28);
}

.recog-medal {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 32%, #f6f7f9 0%, #c7cad0 52%, #8d9199 100%);
  border: 2px solid var(--color-accent);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.7),
    inset 0 -3px 6px rgba(0, 0, 0, 0.25),
    0 0 18px -4px rgba(var(--color-accent-rgb), 0.6);
}

.recog-medal::after {
  content: "★";
  font-size: 1.35rem;
  line-height: 1;
  background: linear-gradient(180deg, var(--color-accent-light), var(--color-accent-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.4));
}

.recog-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.recog-title {
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  background: linear-gradient(174deg, #fbf7ef 0%, #d7dae0 18%, #989ca5 42%, #f3f5f8 53%, #b9bec6 70%, #e8e4db 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}

.recog-sub {
  font-size: var(--fs-body);
  line-height: 1.5;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.68);
  text-wrap: pretty;
}

/* ============================================================
   Two-col (sobre / história)
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.col-label { display: flex; flex-direction: column; }
.col-label .h2 { margin-top: 0.6rem; }

.prose p {
  font-size: var(--fs-body);
  line-height: 1.8;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.2rem;
  text-wrap: pretty;
}

.prose strong { color: #fff; font-weight: 500; }

.quote {
  margin: 1.8rem 0 0;
  padding-left: 1.4rem;
  border-left: 2px solid var(--color-accent);
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: var(--fs-h3);
  line-height: 1.4;
  color: #fff;
}

.quote cite {
  display: block;
  margin-top: 0.8rem;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

.label-quote { margin-top: auto; }

/* Card de hobbies */
.hobcard {
  margin-top: auto;
  max-width: 340px;
  padding: 1.2rem 1.4rem 1.3rem;
  border-radius: 16px;
  background:
    linear-gradient(152deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.018) 38%, rgba(255, 255, 255, 0) 72%),
    rgba(11, 11, 16, 0.34);
  backdrop-filter: blur(30px) saturate(150%) brightness(1.05);
  -webkit-backdrop-filter: blur(30px) saturate(150%) brightness(1.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 30px 60px -30px rgba(0, 0, 0, 0.5);
}

.hobcard-title {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-chrome);
  margin: 0 0 0.4rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.hobcard-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
}

.hobcard-list li:last-child { border-bottom: 0; }
.hobcard-i { color: var(--color-text-soft); letter-spacing: 0.08em; }
.hobcard-list b { color: #fff; font-weight: 500; }

/* Galeria de fotos (sobre) */
.foto-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.foto-strip figure {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(var(--color-chrome-rgb), 0.14);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}

.foto-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  filter: saturate(0.92) contrast(1.02);
  transition: transform 0.8s var(--ease);
}

.foto-strip figure:hover img { transform: scale(1.04); }

.foto-strip figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 1.1rem 0.9rem;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-chrome);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
}

/* ============================================================
   Cases — resultados
   ============================================================ */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.case-card {
  position: relative;
  padding: 1.7rem 1.6rem 1.9rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(28, 24, 20, 0.5), rgba(16, 14, 12, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 1px rgba(255, 240, 230, 0.06), 0 20px 40px -24px rgba(0, 0, 0, 0.7);
  transition: transform var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--color-accent-rgb), 0.35);
}

.case-tag {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

.case-value {
  display: block;
  margin: 0.7rem 0 0.6rem;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 300;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--color-accent-light), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.case-title {
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 0.5rem;
}

.case-desc {
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  text-wrap: pretty;
}

/* ============================================================
   Serviços / objetivos / diferenciais (cards numerados)
   ============================================================ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.svc-card {
  position: relative;
  padding: 1.6rem 1.5rem 1.8rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(28, 24, 20, 0.5), rgba(16, 14, 12, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 1px rgba(255, 240, 230, 0.06), 0 20px 40px -24px rgba(0, 0, 0, 0.7);
  transition: transform var(--duration) var(--ease), border-color var(--duration) var(--ease);
}

.svc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--color-accent-rgb), 0.35);
}

.svc-n {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--color-accent);
}

.svc-title {
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 1.2;
  margin: 0.6rem 0 0.7rem;
  color: #fff;
  text-wrap: balance;
}

.svc-desc {
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  text-wrap: pretty;
}

/* ============================================================
   Vínculos — netgrid
   ============================================================ */
.netgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.netcard {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.25rem 1.35rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(28, 24, 20, 0.5), rgba(16, 14, 12, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 1px rgba(255, 240, 230, 0.05), 0 16px 34px -22px rgba(0, 0, 0, 0.7);
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.netcard:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--color-chrome-rgb), 0.3);
}

.netcard-cat {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

.netcard-name {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
  text-wrap: balance;
}

/* ============================================================
   Referências
   ============================================================ */
.refs-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.2rem;
}

.ref-good {
  padding: 1.8rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 11, 16, 0.34);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.ref-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-h3);
  font-weight: 400;
  margin: 0 0 1.2rem;
  color: #fff;
  text-wrap: balance;
}

.ref-tick { color: #5fb87a; }
.ref-hand { color: var(--color-accent); }

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

.ref-list li {
  font-size: var(--fs-body);
  line-height: 1.55;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-wrap: pretty;
}

.ref-list li:last-child { border-bottom: 0; }
.ref-list b { color: #fff; font-weight: 500; }

/* ============================================================
   Starters — como me referenciar
   ============================================================ */
.starters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.starter {
  padding: 1.7rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(152deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 60%),
    rgba(11, 11, 16, 0.3);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.starter-label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin-bottom: 0.55rem;
}

.starter-acao {
  font-size: var(--fs-body);
  line-height: 1.65;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-wrap: pretty;
}

.starter-gatilho {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.35;
  color: var(--color-chrome);
  margin: 0 0 0.9rem;
  text-wrap: balance;
}

.starter-fala {
  font-size: var(--fs-body);
  line-height: 1.7;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.82);
  text-wrap: pretty;
}

.starter-note {
  margin-top: 1.3rem;
  padding: 1.4rem 1.6rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 2px solid var(--color-accent);
  background: rgba(11, 11, 16, 0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.starter-note > p {
  font-size: var(--fs-body);
  line-height: 1.7;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  text-wrap: pretty;
}

.starter-note strong { color: #fff; font-weight: 500; }

.starter-note-close {
  margin-top: 0.7rem !important;
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem) !important;
  line-height: 1.4;
  color: var(--color-chrome) !important;
}

/* ============================================================
   CTA final + footer
   ============================================================ */
.cta-final {
  padding-top: clamp(4rem, 9vw, 8rem);
  padding-bottom: 0;
  text-align: center;
}

.cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  padding-bottom: clamp(4rem, 9vw, 8rem);
}

.cta-title {
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0.4rem 0 0.6rem;
  text-wrap: balance;
}

.cta-lead {
  font-size: var(--fs-lead);
  line-height: 1.7;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
  max-width: 46ch;
  text-wrap: pretty;
}

.foot {
  border-top: 1px solid var(--color-border);
  padding-block: 1.6rem;
}

.foot-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  text-align: left;
}

.foot-inner a:hover { color: var(--color-chrome); }

.foot-muted {
  font-family: var(--font-editorial);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-chrome);
}

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 900px) {
  .hero-role .nowrap,
  .hud-cta { white-space: normal; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media-col { order: -1; align-items: flex-start; padding-top: 1rem; }
  .two-col { grid-template-columns: 1fr; }
  .svc-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.2rem 1.6rem; }
  .refs-grid, .starters, .recog-grid { grid-template-columns: 1fr; }
  .section-head.split { grid-template-columns: 1fr; align-items: start; gap: 1rem; }
  .netgrid { grid-template-columns: repeat(2, 1fr); }
  .foto-strip { grid-template-columns: 1fr; gap: 0.9rem; }
  .foto-strip figure { aspect-ratio: 4 / 4.4; }
  .hobcard { max-width: none; margin-top: 1.6rem; }
  .label-quote { margin-top: 1.4rem; }

  .hstat-label,
  .netcard-cat,
  .case-tag {
    font-size: 0.72rem;
    color: var(--color-chrome);
  }
  .starter-label { font-size: 0.72rem; }
  .spec-list li,
  .hobcard-list li { font-size: 0.82rem; }
  .section { padding-block: clamp(4rem, 13vw, 5.5rem); }
}

@media (max-width: 720px) {
  .hud-hide-md { display: none; }
}

@media (max-width: 560px) {
  .hud-hide-sm { display: none; }
  .hud-brand-sub { display: none; }
  .svc-grid, .case-grid { grid-template-columns: 1fr; }
  .netgrid { grid-template-columns: 1fr 1fr; }
}
