/* =========================================================
   Rafael Batista · rafasbatista.app.br
   Folha de estilo única, sem dependências.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink: #07080B;
  --ink-2: #0A0C11;
  --surface: #11141B;
  --surface-2: #161A23;
  --surface-3: #1C212C;

  --line: rgba(255, 255, 255, 0.075);
  --line-2: rgba(255, 255, 255, 0.14);

  /* Dourado e azul retirados da logo pessoal (#B79565 e #101F30) */
  --gold: #C8A45C;
  --gold-lt: #E7CE9B;
  --gold-dk: #9A7A3B;
  --gold-tint: rgba(200, 164, 92, 0.11);
  --gold-line: rgba(200, 164, 92, 0.32);

  --navy: #101F30;
  --navy-lt: #172D45;
  --navy-tint: rgba(23, 45, 69, 0.55);

  --violet: #7C5CFF;
  --green: #34C77B;
  --coral: #E0654A;

  --text: #F2F3F6;
  --text-2: #A7AEBD;
  --muted: #6E7688;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
  --mono: "Space Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1180px;
  --gut: 28px;
  --r: 16px;
  --r-lg: 24px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern", "liga";
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0 0 1.05em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
b, strong { font-weight: 600; color: var(--text); }

::selection { background: var(--gold); color: #0A0A0A; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Grão sutil sobre toda a página */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
  position: relative;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 10000;
  background: var(--gold);
  color: #0A0A0A;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
}
.skip:focus { left: 16px; }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow .num {
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 10px;
}
.eyebrow .dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

.grad {
  background: linear-gradient(100deg, var(--gold-lt) 0%, var(--gold) 42%, var(--gold-dk) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ilink {
  color: var(--gold-lt);
  border-bottom: 1px solid var(--gold-line);
  transition: border-color 0.25s, color 0.25s;
}
.ilink:hover { color: #fff; border-color: var(--gold); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.3s;
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  color: #14100A;
  box-shadow: 0 6px 26px rgba(200, 164, 92, 0.16);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(200, 164, 92, 0.28); }

.btn--ghost {
  border-color: var(--line-2);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover { border-color: var(--gold-line); background: var(--gold-tint); color: var(--gold-lt); transform: translateY(-2px); }

.btn--bare { color: var(--text-2); padding-left: 12px; padding-right: 12px; }
.btn--bare:hover { color: var(--gold-lt); }

.btn--sm { padding: 10px 18px; font-size: 13.5px; }

/* ---------- Barra de progresso ---------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  z-index: 999;
  background: transparent;
}
.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-dk), var(--gold-lt));
  transition: width 0.1s linear;
}

/* ---------- Navegação ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: background 0.35s, backdrop-filter 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(7, 8, 11, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 11px; color: var(--text); }
.brand__mark {
  width: auto;
  height: 34px;
  flex: none;
  transition: transform 0.5s var(--ease), filter 0.4s;
}
.brand:hover .brand__mark { transform: translateY(-2px); filter: brightness(1.12); }
.brand__text {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links > a:not(.btn) {
  padding: 8px 14px;
  font-size: 14.5px;
  color: var(--text-2);
  border-radius: 8px;
  position: relative;
  transition: color 0.25s;
}
.nav__links > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 3px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__links > a:not(.btn):hover { color: var(--text); }
.nav__links > a.is-current { color: var(--gold-lt); }
.nav__links > a.is-current::after { transform: scaleX(1); }
.nav__links .btn { margin-left: 10px; }

.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 17px; height: 1.5px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.2px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.2px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 96px;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(58% 46% at 74% 22%, rgba(200, 164, 92, 0.12), transparent 70%),
    radial-gradient(56% 48% at 8% 76%, rgba(23, 45, 69, 0.55), transparent 72%),
    linear-gradient(180deg, transparent 55%, var(--ink-2) 100%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.82fr;
  gap: 64px;
  align-items: center;
  z-index: 2;
}

.hero__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(58px, 9.4vw, 132px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  margin: 0 0 22px;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}
.hero__title .grad { font-weight: 600; }

.hero__role {
  font-family: var(--mono);
  font-size: clamp(11px, 1.35vw, 13px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  margin: 0 0 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.hero__role .sep { color: var(--gold); margin: 0 6px; }

.hero__lead {
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--text-2);
  max-width: 56ch;
  margin-bottom: 34px;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 46px; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 44px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.hero__stats li { display: flex; flex-direction: column; gap: 2px; }
.hero__stats b {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  color: var(--gold-lt);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.hero__stats span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Retratos */
.portrait { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.portrait img {
  width: 100%;
  display: block;
  filter: contrast(1.06) saturate(0.92) brightness(0.94);
}

.portrait--hero {
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
  will-change: transform;
}
.portrait--hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(190deg, rgba(200, 164, 92, 0.08) 0%, transparent 38%, rgba(7, 8, 11, 0.55) 100%);
}
.portrait__frame {
  position: absolute;
  inset: -1px;
  border-radius: var(--r-lg);
  pointer-events: none;
  z-index: 3;
  box-shadow: inset 0 0 0 1px rgba(200, 164, 92, 0.18);
}
.portrait__tag {
  position: absolute;
  left: 16px; bottom: 16px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: 100px;
  background: rgba(10, 12, 17, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}
.pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(52, 199, 123, 0.6);
  animation: pulse 2.4s infinite;
  flex: none;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(52, 199, 123, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 199, 123, 0); }
}

.scrollcue {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  width: 24px; height: 38px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  z-index: 3;
}
.scrollcue span {
  position: absolute;
  left: 50%; top: 8px;
  width: 3px; height: 6px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--gold);
  animation: cue 2s var(--ease) infinite;
}
@keyframes cue {
  0% { opacity: 0; transform: translateY(0); }
  35% { opacity: 1; }
  75% { opacity: 0; transform: translateY(13px); }
  100% { opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
  padding: 15px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: slide 46s linear infinite;
}
.marquee span {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-2);
  white-space: nowrap;
}
.marquee i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: 0.65; flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--alt { background: var(--ink-2); border-block: 1px solid var(--line); }
.section--tight { padding-block: clamp(56px, 7vw, 84px); }

.shead { max-width: 720px; margin-bottom: clamp(44px, 6vw, 72px); }
.shead__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.shead__title .grad { font-weight: 600; }
.shead__sub { margin-top: 20px; color: var(--text-2); font-size: 16.5px; max-width: 60ch; }

/* ---------- Sobre ---------- */
.about {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.about__media { position: sticky; top: calc(var(--nav-h) + 32px); }
.portrait--about { border: 1px solid var(--line); }
.portrait--about::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 8, 11, 0.7));
  pointer-events: none;
}
.about__meta { margin-top: 22px; border-top: 1px solid var(--line); }
.about__meta li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.about__meta span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  flex: none;
  padding-top: 3px;
}
.about__meta b { font-size: 14px; text-align: right; font-weight: 500; }

.about__text p { color: var(--text-2); }
.about__text .lead {
  font-family: var(--display);
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.5;
  font-weight: 300;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 1.2em;
}

.quote {
  margin: 34px 0;
  padding: 26px 30px;
  border-left: 2px solid var(--gold);
  background: linear-gradient(90deg, var(--gold-tint), transparent 75%);
  border-radius: 0 var(--r) var(--r) 0;
}
.quote p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.42;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* ---------- Cards de expertise ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  position: relative;
  padding: 30px 28px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.35s, background 0.35s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 60% at 50% 0%, var(--gold-tint), transparent 70%);
  opacity: 0;
  transition: opacity 0.45s;
  pointer-events: none;
}
.card:hover { transform: translateY(-5px); border-color: var(--gold-line); background: var(--surface-2); }
.card:hover::before { opacity: 1; }

.card__icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--gold-line);
  background: var(--gold-tint);
  color: var(--gold-lt);
  margin-bottom: 20px;
}
.card__icon svg { width: 21px; height: 21px; }
.card h3 { font-size: 19px; margin-bottom: 10px; letter-spacing: -0.02em; }
.card p { color: var(--text-2); font-size: 15px; margin-bottom: 18px; }

.card--accent { border-color: var(--gold-line); background: linear-gradient(160deg, rgba(200, 164, 92, 0.07), var(--surface) 55%); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.015);
}
.chips--lg li { font-size: 11.5px; padding: 7px 14px; color: var(--text-2); }

/* ---------- Números ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat {
  background: var(--ink);
  padding: 34px 26px;
  transition: background 0.4s;
}
.stat:hover { background: var(--surface); }
.stat b {
  display: block;
  font-family: var(--display);
  font-size: clamp(34px, 4.2vw, 48px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--gold-lt);
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}
.stat h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 8px;
  color: var(--text);
}
.stat p { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin: 0; }

/* ---------- Filtros ---------- */
.tl-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 auto;
}
.filter {
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--text-2);
  transition: all 0.28s var(--ease);
}
.filter:hover { border-color: var(--line-2); color: var(--text); }
.filter.is-active {
  background: var(--gold-tint);
  border-color: var(--gold-line);
  color: var(--gold-lt);
  font-weight: 500;
}

/* Expandir tudo é ação, não recorte. Fica fora do grupo de filtros, e sem a
   classe .filter, para nunca ser confundido com um deles pelo JavaScript. */
.tl-toggle {
  margin-left: auto;
  padding: 9px 18px;
  border: 1px dashed var(--line-2);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: all 0.28s var(--ease);
}
.tl-toggle:hover { color: var(--gold-lt); border-color: var(--gold-line); border-style: solid; }

/* ---------- Timeline ---------- */
.timeline { position: relative; }
.tl {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 34px;
  padding: 19px 0;
  border-top: 1px solid var(--line);
  position: relative;
  transition: opacity 0.4s, transform 0.4s var(--ease);
}
.tl::before {
  content: "";
  position: absolute;
  left: 150px;
  top: -1px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--line-2);
  transform: translate(-3.5px, -3.5px);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.tl:hover::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-tint); }
.tl:last-child { border-bottom: 1px solid var(--line); }
.tl.is-hidden { display: none; }

.tl__when {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold);
  padding-top: 2px;
  white-space: nowrap;
}
/* Cada item é um <details>: recolhido por padrão, abre ao clicar no título.
   Usando o elemento nativo, funciona mesmo sem JavaScript. */
.tl__head {
  position: relative;
  cursor: pointer;
  padding-right: 36px;
  list-style: none;
  border-radius: 8px;
}
.tl__head::-webkit-details-marker { display: none; }
.tl__head::marker { content: ""; }
.tl__head:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }

.tl__head h3 {
  font-size: 19px;
  margin-bottom: 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  transition: color 0.25s;
}
.tl__head:hover h3 { color: var(--gold-lt); }

.tl__org {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
}

.tl__chev {
  position: absolute;
  right: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: transform 0.4s var(--ease), color 0.25s;
}
.tl__head:hover .tl__chev { color: var(--gold-lt); }
.tl__body[open] .tl__chev { transform: rotate(180deg); color: var(--gold); }

.tl__desc {
  margin: 12px 0 0;
  max-width: 68ch;
  font-size: 15px;
  color: var(--muted);
}
.tl__body[open] .tl__desc { animation: abreDesc 0.4s var(--ease) both; }
@keyframes abreDesc {
  from { opacity: 0; transform: translateY(-6px); }
}

.tl__badge {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 100px;
  border: 1px solid var(--line-2);
  color: var(--text-2);
  font-weight: 400;
}
.tl__badge--live { border-color: rgba(52, 199, 123, 0.35); color: var(--green); background: rgba(52, 199, 123, 0.08); }
.tl__badge--gold { border-color: var(--gold-line); color: var(--gold-lt); background: var(--gold-tint); }

.tl--highlight .tl__head { position: relative; }
.tl--highlight .tl__head::before {
  content: "";
  position: absolute;
  left: -18px; top: 4px; bottom: 4px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--gold), transparent);
}

.timeline__empty {
  padding: 40px 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  text-align: center;
}

/* ---------- Produtos ---------- */
.products { display: grid; gap: 20px; }
.product {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  grid-template-areas: "head facts" "desc facts" "links links";
  gap: 0 48px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.5s var(--ease);
  --brand: var(--gold);
}
.product::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), transparent);
  opacity: 0.75;
}
.product::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.055;
  filter: blur(60px);
  pointer-events: none;
  transition: opacity 0.5s;
}
.product:hover { transform: translateY(-4px); border-color: var(--line-2); }
.product:hover::after { opacity: 0.11; }

.product--xodo { --brand: var(--green); }
.product--ressoa { --brand: var(--violet); }
.product--extra { --brand: var(--coral); }

.product__head {
  grid-area: head;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.product__logo {
  width: 52px; height: 52px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: linear-gradient(150deg, var(--navy-lt), var(--navy));
  color: var(--brand);
  font-size: 24px;
  line-height: 1;
}
.product__logo svg { width: 26px; height: 26px; }
.product__head h3 { font-size: 24px; font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; }
.product__tagline { margin: 2px 0 0; font-size: 14px; color: var(--text-2); }
.product__status {
  margin-left: auto;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 100px;
  border: 1px solid var(--line-2);
  color: var(--text-2);
  white-space: nowrap;
}
.product__status--live {
  border-color: color-mix(in srgb, var(--brand) 40%, transparent);
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  color: var(--brand);
}

.product__desc { grid-area: desc; color: var(--text-2); font-size: 15.5px; margin: 0; }

.product__facts {
  grid-area: facts;
  align-self: start;
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
.product__facts li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.product__facts li:last-child { border-bottom: 0; }
.product__facts span {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.product__facts b { font-size: 14px; font-weight: 500; }

.product__links {
  grid-area: links;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* ---------- Formação ---------- */
.edu { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.edu__col {
  padding: 34px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.edu__title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  font-weight: 400;
}
.edu__title--mt { margin-top: 38px; }
.edu__list li { padding: 16px 0; border-top: 1px solid var(--line); }
.edu__list li:first-child { border-top: 0; padding-top: 0; }
.edu__year {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 6px;
}
.edu__list b { display: block; font-size: 16.5px; margin-bottom: 3px; }
.edu__list em { font-style: normal; font-size: 14px; color: var(--text-2); }

/* ---------- Contato ---------- */
.section--contact {
  background:
    radial-gradient(60% 55% at 78% 30%, rgba(200, 164, 92, 0.09), transparent 70%),
    radial-gradient(58% 60% at 12% 82%, rgba(23, 45, 69, 0.5), transparent 74%),
    var(--ink-2);
  border-top: 1px solid var(--line);
}
.contact {
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.portrait--contact { border: 1px solid var(--line); }
.portrait--contact::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(10, 12, 17, 0.85));
}
.contact__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1.03;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}
.contact__title .grad { font-weight: 600; }
.contact__lead { color: var(--text-2); max-width: 54ch; font-size: 16.5px; margin-bottom: 30px; }

.contact__mail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border: 1px solid var(--gold-line);
  background: var(--gold-tint);
  border-radius: var(--r);
  margin-bottom: 30px;
}
.contact__mail > a {
  font-family: var(--display);
  font-size: clamp(17px, 2.2vw, 23px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--gold-lt);
  word-break: break-word;
  transition: color 0.25s;
}
.contact__mail > a:hover { color: #fff; }
.copy {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: all 0.25s;
}
.copy svg { width: 15px; height: 15px; }
.copy:hover { border-color: var(--gold); color: var(--gold-lt); }
.copy.is-done { color: var(--green); border-color: rgba(52, 199, 123, 0.4); }

.socials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.socials a {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  transition: all 0.35s var(--ease);
}
.socials a:hover { transform: translateY(-3px); border-color: var(--gold-line); background: var(--surface-2); }
.socials svg { width: 20px; height: 20px; color: var(--gold); margin-bottom: 12px; }
.socials span {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.socials b { font-size: 14.5px; font-weight: 500; }

/* ---------- Rodapé ---------- */
.foot { border-top: 1px solid var(--line); background: var(--ink); padding: 44px 0 40px; }
.foot__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.foot__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.foot__logo { width: 186px; height: auto; }
.foot__meta { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.foot__nav { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.foot__label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.foot__nav a { font-size: 14px; color: var(--text-2); transition: color 0.25s; }
.foot__nav a:hover { color: var(--gold-lt); }

.foot__copy { margin: 0; font-size: 12.5px; color: var(--muted); width: 100%; padding-top: 22px; border-top: 1px solid var(--line); }

/* ---------- Reveal ----------
   Só esconde quando o JavaScript está ativo. Sem JS, tudo continua visível. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { gap: 44px; }
}

@media (max-width: 900px) {
  :root { --gut: 22px; }

  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: rgba(7, 8, 11, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links > a:not(.btn) { font-family: var(--display); font-size: 27px; padding: 12px 20px; color: var(--text); }
  .nav__links > a:not(.btn)::after { display: none; }
  .nav__links .btn { margin: 18px 0 0; }
  .burger { display: flex; z-index: 2; }

  .hero { min-height: auto; padding-bottom: 72px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__figure { order: -1; max-width: 380px; }
  .hero__title { font-size: clamp(52px, 15vw, 92px); }
  .scrollcue { display: none; }

  .about { grid-template-columns: 1fr; }
  .about__media { position: static; max-width: 420px; }

  .product {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "desc" "facts" "links";
    padding: 28px 24px;
  }
  .product__facts { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 12px; margin-top: 22px; }

  .edu { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .contact__media { max-width: 340px; }
  .socials { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }

  .tl { grid-template-columns: 1fr; gap: 6px; padding: 17px 0; }
  .tl::before { display: none; }
  .tl__when { color: var(--gold); font-size: 11px; }
  .tl--highlight .tl__head::before { display: none; }
  .tl__head { padding-right: 28px; }

  .hero__stats { gap: 20px 30px; }
  .hero__stats b { font-size: 28px; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }

  .quote { padding: 20px 22px; }
  .edu__col { padding: 26px 22px; }
  .contact__mail { padding: 16px 18px; }
  .copy { margin-left: 0; }
  .foot__inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Preferências do sistema ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* ---------- Impressão ---------- */
@media print {
  body { background: #fff; color: #111; font-size: 11pt; }
  .nav, .progress, .scrollcue, .marquee, .filters, .burger, .hero__cta, .contact__media, .about__media, body::after { display: none !important; }
  .section, .hero { padding: 18pt 0; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .grad { color: #111 !important; -webkit-text-fill-color: #111; }
  a { color: #111; }
  .card, .product, .edu__col, .stat { border: 1px solid #ccc; background: #fff; break-inside: avoid; }
}
