/* =========================================================
   Gabriela Campos Pesqueira — site currículo
   Paleta: Vermelho batom · Carvão · Areia · Off-white · Champanhe · Petróleo
   ========================================================= */

:root {
  --red: #D9452B;
  --red-dark: #B5361F;
  --ink: #1E1B1A;
  --ink-2: #4A4441;
  --ink-3: #7A726C;
  --sand: #E9DDC9;
  --sand-2: #F1E8DA;
  --paper: #FAF6F0;
  --champ: #BFA06A;
  --petrol: #1F4E5A;
  --line: rgba(30, 27, 26, .12);
  --line-strong: rgba(30, 27, 26, .22);

  --display: "Inter Tight", "Manrope", system-ui, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius: 18px;
  --radius-sm: 10px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --shadow: 0 1px 2px rgba(30,27,26,.04), 0 12px 32px -12px rgba(30,27,26,.18);
  --shadow-lg: 0 2px 4px rgba(30,27,26,.04), 0 30px 60px -20px rgba(30,27,26,.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--red); color: var(--paper); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.1em; height: 1.1em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- tipografia ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  margin: 14px 0 0;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 62ch; }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head .lead { margin: 0; max-width: 46ch; }

/* ---------- botões ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
  white-space: nowrap;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.14);
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn:hover { box-shadow: 0 10px 24px -10px rgba(30,27,26,.45); }
.btn .icon { transition: transform .4s var(--ease); }
.btn:hover .icon-down { transform: translateY(2px); animation: bob 1s var(--ease) infinite; }
.btn:hover .icon-arrow { transform: translate(2px, -2px); }
.btn-red { --bg: var(--red); }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-strong); }
.btn-ghost::after { background: var(--ink); }
.btn-ghost:hover { color: var(--paper); }
.btn-light { --bg: var(--paper); --fg: var(--ink); }
.btn-light::after { background: var(--sand); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* ---------- progresso + nav ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); z-index: 100; }
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  transition: transform .5s var(--ease), background .3s, box-shadow .3s;
}
.nav.scrolled { background: rgba(250,246,240,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav.hidden { transform: translateY(-100%); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; }
.mono { width: 38px; height: 38px; flex: none; overflow: visible; transition: transform .6s var(--ease-spring); }
.mono-bg { fill: var(--ink); transition: fill .3s; }
.mono-g { fill: none; stroke: var(--paper); stroke-width: 3.6; }
.mono-dot { fill: var(--red); transform-box: fill-box; transform-origin: center; transition: transform .5s var(--ease-spring), fill .3s; }
.brand:hover .mono { transform: scale(1.06); }
.brand:hover .mono-dot { transform: scale(1.5); }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  padding: 8px 14px; border-radius: 999px; position: relative;
  transition: color .25s, background .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: rgba(30,27,26,.06); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.kbd-hint {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 12px; color: var(--ink-3);
  border: 1px solid var(--line-strong); border-radius: 8px; padding: 6px 9px; background: transparent;
  transition: color .2s, border-color .2s;
}
.kbd-hint:hover { color: var(--ink); border-color: var(--ink); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; place-items: center; }
.menu-btn span { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
.menu-btn span + span { margin-top: 5px; }
.menu-open .menu-btn span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding: 140px 0 80px; min-height: 100svh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 85% 20%, rgba(233,221,201,.9), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(191,160,106,.16), transparent 70%);
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(70% 60% at 70% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 70% 40%, #000 0%, transparent 75%);
  opacity: .55;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.availability {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(255,255,255,.6); border: 1px solid var(--line);
  font-size: 13px; font-weight: 500; color: var(--ink-2);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #2E8B57; position: relative; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #2E8B57; animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
.hero h1 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(3rem, 7.4vw, 6.4rem);
  line-height: .95; letter-spacing: -.045em;
  margin: 28px 0 0;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes rise { to { transform: translateY(0); } }
.hero-role {
  margin: 24px 0 0; font-family: var(--mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
  display: flex; flex-wrap: wrap; gap: 6px 14px;
}
.hero-role span + span::before { content: "/"; margin-right: 14px; color: var(--champ); }
.hero-pitch { font-size: clamp(1.1rem, 1.9vw, 1.35rem); line-height: 1.5; color: var(--ink-2); max-width: 34ch; margin: 22px 0 0; }
.rotator { display: inline-grid; justify-items: start; vertical-align: bottom; transition: width .6s var(--ease); overflow: hidden; padding: 0 .08em .08em 0; margin-bottom: -.08em; color: var(--ink); font-weight: 700; line-height: 1.5; }
.rotator > span { grid-area: 1 / 1; transition: transform .7s var(--ease), opacity .5s; white-space: nowrap; }
.rotator > span:not(.on) { transform: translateY(60%); opacity: 0; }
.rotator > span.out { transform: translateY(-60%); opacity: 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp 1s var(--ease) forwards; animation-delay: var(--d, .3s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* board (kanban vivo) */
.board {
  background: #fff; border-radius: 22px; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 18px; position: relative;
  transform: perspective(1400px) rotateY(-6deg) rotateX(3deg);
  transition: transform .8s var(--ease);
}
.board:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.board-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 4px 14px; border-bottom: 1px solid var(--line); }
.board-title { font-weight: 700; font-size: 14px; }
.board-sub { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: .06em; }
.live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; color: #2E8B57; text-transform: uppercase; letter-spacing: .1em; }
.board-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.col { background: var(--paper); border-radius: 14px; padding: 10px; min-height: 250px; }
.col-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); padding: 2px 4px 10px; }
.col-head b { font-weight: 500; background: rgba(30,27,26,.07); border-radius: 6px; padding: 1px 6px; color: var(--ink-2); }
.col[data-col="2"] .col-head b { background: rgba(46,139,87,.12); color: #2E8B57; }
.card {
  background: #fff; border-radius: 10px; padding: 10px 10px 9px; margin-bottom: 8px;
  border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(30,27,26,.05);
  font-size: 12.5px; line-height: 1.35; font-weight: 600;
  will-change: transform;
}
.card .tag { display: inline-block; font-family: var(--mono); font-size: 9.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; padding: 2px 6px; border-radius: 5px; margin-bottom: 6px; }
.tag-red { background: rgba(217,69,43,.1); color: var(--red); }
.tag-pet { background: rgba(31,78,90,.1); color: var(--petrol); }
.tag-cha { background: rgba(191,160,106,.2); color: #8A6F3E; }
.tag-ink { background: rgba(30,27,26,.07); color: var(--ink-2); }
.card .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-family: var(--mono); font-size: 9.5px; font-weight: 400; color: var(--ink-3); }
.col[data-col="2"] .card { opacity: .72; }
.col[data-col="2"] .card .meta::after { content: "✓"; color: #2E8B57; font-weight: 700; font-size: 11px; }
.board-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 12px 4px 2px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); gap: 10px; }
.avatars { display: flex; }
.avatars span {
  width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; margin-left: -7px;
  display: grid; place-items: center; font-size: 9.5px; font-weight: 700; color: #fff;
  transition: transform .3s var(--ease-spring);
}
.avatars span:first-child { margin-left: 0; }
.avatars span:hover { transform: translateY(-4px); }
.board-caption { margin-top: 14px; text-align: center; font-size: 13px; color: var(--ink-3); }

.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.scroll-cue i { width: 1px; height: 36px; background: var(--line-strong); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--red); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- números ---------- */
.numbers { background: var(--ink); color: var(--paper); padding: clamp(64px, 9vw, 110px) 0; position: relative; overflow: hidden; }
.numbers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.stat { padding: 8px 28px 8px 0; border-left: 1px solid rgba(250,246,240,.14); padding-left: 28px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { color: var(--red); font-family: var(--display); font-weight: 600; font-size: clamp(3rem, 6vw, 5rem); line-height: 1; letter-spacing: -.05em; display: flex; align-items: baseline; }
.stat-num small { font-size: .3em; font-weight: 500; margin-left: 8px !important; color: var(--champ); margin-left: 4px; letter-spacing: 0; }
.stat-label { margin-top: 14px; color: rgba(250,246,240,.72); font-size: 15px; max-width: 24ch; }
.stat-bar { height: 2px; background: rgba(250,246,240,.12); margin-top: 20px; overflow: hidden; border-radius: 2px; }
.stat-bar i { display: block; height: 100%; width: 100%; background: var(--red); transform-origin: 0; transform: scaleX(0); transition: transform 1.6s var(--ease) .2s; }
.stat.in .stat-bar i { transform: scaleX(1); }

/* marquee setores */
.marquee { margin-top: clamp(56px, 7vw, 88px); border-top: 1px solid rgba(250,246,240,.14); border-bottom: 1px solid rgba(250,246,240,.14); overflow: hidden; padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font-family: var(--display); font-weight: 500; letter-spacing: -.02em; font-size: clamp(1.4rem, 2.6vw, 2rem); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; color: rgba(250,246,240,.9); }
.marquee-track span::after { content: "✦"; font-size: .5em; color: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- marcas ---------- */
.clients { padding: clamp(80px, 10vw, 120px) 0 clamp(40px, 6vw, 72px); background: var(--paper); }
.clients-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.clients-note { margin-top: clamp(28px, 4vw, 44px); text-align: center; font-size: 13px; color: var(--ink-3); max-width: 720px; }
.clients-note a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.clients-note a:hover { color: var(--red); }
.clients-rows { margin-top: clamp(40px, 6vw, 64px); display: grid; gap: 22px; }
.logo-marquee { overflow: hidden; padding: 32px 0; margin: -32px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; width: max-content; animation: logos 52s linear infinite; }
.logo-track.reverse { animation-name: logos-rev; }
.logo-group { display: flex; gap: 14px; padding-right: 14px; }
.logo-card { width: 200px; height: 112px; display: grid; place-items: center; flex: none; }
.logo-card img { height: calc(112px * var(--s, 1)); width: auto; max-width: none; flex: none; object-fit: contain; transition: transform .5s var(--ease); }
.logo-card:hover img, .logo-card:hover .logo-text { transform: scale(1.06); }
.logo-text { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -.03em; color: var(--ink-3); text-align: center; line-height: 1.1; transition: transform .5s var(--ease), color .3s; max-width: 180px; }
.logo-card:hover .logo-text { color: var(--ink); }
@keyframes logos { to { transform: translateX(-50%); } }
@keyframes logos-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (max-width: 560px) { .logo-card { width: 140px; height: 84px; } .logo-card img { height: calc(84px * var(--s, 1)); } .logo-text { font-size: 17px; } }

/* ---------- sobre ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-text .h2 { margin-bottom: 28px; }
.about-text p { font-size: 1.12rem; color: var(--ink-2); margin: 0 0 18px; }
.about-text p strong { color: var(--ink); font-weight: 700; }
.quote {
  font-family: var(--display); font-weight: 600; letter-spacing: -.025em; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; margin: 32px 0 0;
  padding-left: 24px; border-left: 3px solid var(--red);
}
.process { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.step::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: 0; transition: transform .6s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.step:hover::before { transform: scaleX(1); }
.step-n { font-family: var(--mono); font-size: 12px; color: var(--champ); letter-spacing: .1em; }
.step h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; font-size: 1.4rem; margin: 10px 0 8px; line-height: 1.1; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }
.step-ico { position: absolute; right: 20px; top: 20px; width: 40px; height: 40px; border-radius: 12px; background: var(--sand-2); display: grid; place-items: center; color: var(--ink); transition: background .3s, color .3s, transform .6s var(--ease-spring); }
.step:hover .step-ico { background: var(--red); color: #fff; transform: rotate(-10deg); }

/* animação de entrada dos diálogos (paleta ⌘K) */
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.98); } }

/* ---------- trajetória ---------- */
.timeline { position: relative; display: grid; gap: 0; padding-left: 0; }
.tl-rail { position: absolute; left: 180px; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); }
.tl-rail i { position: absolute; inset: 0; background: var(--red); transform-origin: top; transform: scaleY(var(--tp, 0)); }
.tl-item { display: grid; grid-template-columns: 180px 1fr; gap: 0; position: relative; padding-bottom: 48px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-date { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); padding-top: 6px; padding-right: 28px; letter-spacing: .02em; }
.tl-date b { display: block; font-weight: 500; color: var(--ink); font-size: 13px; }
.tl-dot { position: absolute; left: 180px; top: 10px; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line-strong); transform: translateX(-50%); transition: border-color .4s, background .4s, transform .5s var(--ease-spring); }
.tl-item.lit .tl-dot { border-color: var(--red); background: var(--red); transform: translateX(-50%) scale(1.15); box-shadow: 0 0 0 6px rgba(217,69,43,.12); }
.tl-body { padding-left: 40px; }
.tl-body h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; font-size: clamp(1.35rem, 2vw, 1.7rem); margin: 0; line-height: 1.1; }
.tl-company { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 600; font-size: 15px; color: var(--red); }
.tl-company .pill { font-family: var(--mono); font-weight: 400; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); background: rgba(30,27,26,.06); border-radius: 5px; padding: 2px 7px; }
.tl-body p { margin: 12px 0 0; color: var(--ink-2); font-size: 15.5px; max-width: 64ch; }

/* ---------- competências ---------- */
.skills { background: var(--paper); }
.skills-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3vw, 34px); }
.panel h3 { font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 20px; }
.skill-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-cloud span {
  padding: 10px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
  font-size: 14.5px; font-weight: 500; color: var(--ink);
  transition: background .3s, color .3s, transform .4s var(--ease-spring), border-color .3s;
}
.skill-cloud span:hover { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-3px) rotate(-1.5deg); }
.side-stack { display: grid; gap: 18px; align-content: start; }
.skill-groups { display: grid; gap: 26px; }
.skill-group h3 { margin-bottom: 12px; }
.tools p { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.5; }
.edu { background: var(--petrol); color: var(--paper); border: 0; position: relative; overflow: hidden; }
.edu h3 { color: rgba(250,246,240,.6); }
.edu .big { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; font-size: 2rem; line-height: 1.05; }
.edu p { margin: 10px 0 0; color: rgba(250,246,240,.75); font-size: 14.5px; }
.edu svg.scale { position: absolute; right: 18px; top: 18px; width: 64px; height: 64px; opacity: .18; stroke: var(--paper); }

/* ---------- contato ---------- */
.contact { background: var(--paper); padding: clamp(80px, 10vw, 130px) 0; border-top: 1px solid var(--line); }
.contact-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.contact-info { min-width: 0; }
.contact-title { font-family: var(--display); font-weight: 600; font-size: clamp(2.4rem, 4.8vw, 4.2rem); line-height: 1; letter-spacing: -.045em; margin: 16px 0 0; }
.contact-grid { display: grid; margin-top: clamp(32px, 4vw, 44px); border-top: 1px solid var(--line-strong); max-width: 560px; }
.contact-card {
  display: flex; align-items: center; gap: 18px; width: 100%;
  padding: 18px 4px; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  color: var(--ink); text-align: left; position: relative;
  transition: padding .45s var(--ease), background .3s;
}
.contact-card:hover { padding-left: 16px; padding-right: 16px; background: rgba(233,221,201,.5); }
.contact-card .ci { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: background .3s, color .3s, border-color .3s; }
.contact-card:hover .ci { background: var(--red); border-color: var(--red); color: #fff; }
.contact-card .ci .icon { width: 19px; height: 19px; }
.contact-card > div { min-width: 0; }
.contact-card small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.contact-card strong { display: block; font-size: 1.06rem; font-weight: 600; margin-top: 3px; letter-spacing: -.01em; }
.contact-card .arrow { margin-left: auto; flex: none; color: var(--ink-3); transition: transform .4s var(--ease), color .3s; }
.contact-card:hover .arrow { color: var(--red); transform: translate(3px, -3px); }
.contact-card:hover .arrow.copy { transform: scale(1.1); }
.contact-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }

.contact-photo { margin: 0; position: relative; width: 100%; max-width: 500px; justify-self: end; }
.photo-frame {
  position: relative; border-radius: 28px; overflow: hidden; padding-top: 12%; isolation: isolate; will-change: translate, transform;
  background:
    radial-gradient(60% 45% at var(--gx, 50%) var(--gy, 28%), rgba(255,255,255,.8), transparent 70%),
    radial-gradient(55% 50% at 100% 100%, rgba(191,160,106,.45), transparent 70%),
    radial-gradient(45% 40% at 0% 0%, rgba(217,69,43,.10), transparent 70%),
    linear-gradient(165deg, #F4ECDF 0%, #E9DDC9 52%, #DCCAAB 100%);
  box-shadow: 0 30px 60px -34px rgba(30,27,26,.45);
}
.photo-frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(30,27,26,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(30,27,26,.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(75% 65% at 50% 35%, #000, transparent 80%); -webkit-mask-image: radial-gradient(75% 65% at 50% 35%, #000, transparent 80%);
}
.photo-frame img { display: block; width: 100%; height: auto; will-change: translate, transform; }
.photo-tag {
  position: absolute; left: -32px; bottom: 40px; z-index: 2; will-change: translate, transform;
  display: flex; align-items: center; gap: 12px;
  background: var(--red); color: var(--paper);
  border-radius: 14px; padding: 12px 20px 12px 12px;
  box-shadow: 0 22px 44px -18px rgba(217,69,43,.6), 0 2px 6px rgba(30,27,26,.12);
}
.photo-tag svg { width: 36px; height: 36px; flex: none; }
.photo-tag b { display: block; font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -.02em; line-height: 1.15; }
.photo-tag span { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(250,246,240,.75); margin-top: 3px; }

.footer { background: var(--ink); color: rgba(250,246,240,.6); padding: 28px 0; font-size: 13.5px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; }
.footer a:hover { color: var(--paper); }
.kbd-quiet { display: inline-flex; align-items: center; gap: 3px; background: none; border: 0; padding: 4px; color: rgba(250,246,240,.35); transition: color .25s; }
.kbd-quiet:hover, .kbd-quiet:focus-visible { color: rgba(250,246,240,.8); }
.kbd-quiet kbd { font-family: var(--mono); font-size: 10.5px; line-height: 1; padding: 3px 5px; border-radius: 4px; border: 1px solid currentColor; opacity: .8; }

/* ---------- páginas legais ---------- */
.legal-body .nav { position: sticky; }
.legal { padding: clamp(48px, 7vw, 96px) 0 clamp(80px, 10vw, 120px); }
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.legal h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.02; letter-spacing: -.04em; margin: 14px 0 0; }
.legal .legal-updated { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--ink-3); margin: 22px 0 0; }
.legal .legal-lead { font-size: 1.12rem; color: var(--ink-2); margin: 28px 0 0; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 8px; }
.legal-toc a { font-size: 13.5px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink-2); transition: background .3s, color .3s, border-color .3s; }
.legal .legal-toc a { text-decoration: none; }
.legal-toc a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.legal section { padding-top: 36px; margin-top: 36px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.legal h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 2.2vw, 1.6rem); letter-spacing: -.025em; margin: 0 0 14px; }
.legal h3 { font-size: 1rem; font-weight: 700; margin: 22px 0 8px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 8px; }
.legal li { position: relative; padding-left: 20px; }
.legal li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1.5px; background: var(--red); }
.legal a:not(.btn) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.legal strong { color: var(--ink); }

/* ---------- flutuantes ---------- */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--paper); border-radius: 999px; padding: 12px 18px 12px 14px;
  box-shadow: var(--shadow-lg); font-weight: 600; font-size: 14px;
  transform: translateY(140%); transition: transform .6s var(--ease), background .3s;
}
.fab.show { transform: none; }
.fab:hover { background: #25A55F; }
.fab .dot { width: 30px; height: 30px; border-radius: 50%; background: #25A55F; display: grid; place-items: center; transition: background .3s; }
.fab:hover .dot { background: rgba(255,255,255,.2); }
.fab .icon { width: 16px; height: 16px; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120;
  transform: translate(-50%, 160%); transition: transform .5s var(--ease);
  background: var(--ink); color: var(--paper); border-radius: 999px; padding: 12px 20px;
  font-size: 14px; display: inline-flex; align-items: center; gap: 10px; box-shadow: var(--shadow-lg);
}
.toast.show { transform: translate(-50%, 0); }
.toast::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; background: #2E8B57; display: grid; place-items: center; font-size: 12px; }

/* paleta de comandos */
.cmdk { border: 0; padding: 0; margin: 12vh auto auto; width: min(560px, calc(100% - 24px)); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow-lg); color: var(--ink); }
.cmdk::backdrop { background: rgba(30,27,26,.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.cmdk[open] { animation: pop .4s var(--ease); }
.cmdk-input { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.cmdk-input input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 16px; outline: none; color: var(--ink); }
.cmdk-input .icon { color: var(--ink-3); }
.cmdk ul { list-style: none; margin: 0; padding: 8px; max-height: 340px; overflow: auto; }
.cmdk li button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px; border: 0; background: transparent; border-radius: 10px; text-align: left; font-size: 15px; }
.cmdk li button .icon { color: var(--ink-3); }
.cmdk li button kbd { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.cmdk li button.sel { background: var(--ink); color: var(--paper); }
.cmdk li button.sel .icon, .cmdk li button.sel kbd { color: var(--paper); }
.cmdk-foot { padding: 10px 18px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--ink-3); display: flex; gap: 16px; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-28px); }
[data-reveal="scale"] { transform: scale(.96); }

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .board { transform: none; max-width: 560px; }
  .about-grid, .skills-layout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; background: var(--paper); padding: 12px var(--gutter) 24px; box-shadow: 0 20px 30px -20px rgba(30,27,26,.3); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
  .menu-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { display: block; padding: 14px 12px; font-size: 17px; }
  .menu-btn { display: grid; }
  .kbd-hint, .kbd-quiet { display: none; }
  .nav .btn-cv-label { display: none; }
  .tl-rail, .tl-dot { left: 6px; }
  .tl-item { grid-template-columns: 1fr; padding-left: 34px; }
  .tl-date { padding: 0 0 8px; }
  .tl-body { padding-left: 0; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-photo { max-width: 420px; justify-self: center; }
  .photo-tag { left: -12px; bottom: 24px; }
  .photo-tag svg { width: 30px; height: 30px; }
  .photo-tag b { font-size: 15px; }
  }
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: 110px; }
  .numbers-grid { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding-left: 0; }
  .process { grid-template-columns: 1fr; }
  .board-cols { gap: 6px; }
  .col { padding: 7px; min-height: 230px; }
  .card { font-size: 11.5px; padding: 8px; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
  .fab .fab-label { display: none; }
  .contact-card { gap: 14px; }
  .contact-card .ci { width: 40px; height: 40px; }
  .contact-card .arrow { display: none; }
  .contact-card small { font-size: 10px; letter-spacing: .1em; }
  .contact-card strong { font-size: 15px; }
  .contact-card strong.email { font-size: 13.5px; }
  .fab { padding: 10px; }
  .scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero h1 .line > span, .fade-up { transform: none; opacity: 1; }
}

@media print {
  .nav, .fab, .progress, .scroll-cue { display: none; }
}
