/* =========================================================
   Marcelo Hortiz · Portfólio · styles.css
   Telas a partir de 768px (media="(min-width: 768px)").
   Telas menores usam css/mobile.css, que é independente.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #020b1a;
  --bg-2: #051530;
  --panel: #0b1d3d;
  --surface: rgba(255, 255, 255, .03);
  --surface-2: rgba(255, 255, 255, .055);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .15);
  --ink: #eef3fb;
  --muted: #9aabc6;
  --muted-2: #66789a;

  --accent: #f7870a;
  --accent-2: #ffb257;
  --accent-deep: #c4570a;
  --accent-ink: #160b00;
  --accent-soft: rgba(247, 135, 10, .1);
  --accent-line: rgba(247, 135, 10, .4);
  --sky: #7fb8f5;
  --wa: #22c063;
  --in: #0a66c2;

  --grad-accent: linear-gradient(180deg, #ffa53d 0%, #f7870a 100%);
  --grad-text: linear-gradient(100deg, #ffc47a 0%, #f7870a 55%, #e0650a 100%);

  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;

  --r: 20px;
  --r-lg: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 76px;
  --gutter: clamp(16px, 4vw, 32px);

  color-scheme: dark;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* Brilhos e granulação de fundo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 700px at 88% -8%, rgba(247, 135, 10, .11), transparent 60%),
    radial-gradient(900px 800px at -12% 22%, rgba(38, 104, 214, .16), transparent 60%),
    radial-gradient(800px 700px at 50% 110%, rgba(38, 104, 214, .10), transparent 60%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

body.no-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

::selection { background: rgba(247, 135, 10, .35); color: #fff; }

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s;
}
.skip:focus { transform: none; }

.w {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ---------- Tipografia ---------- */
h1, h2, h3 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.025em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.06;
}

h1 em, h2 em, h3 em, .footer__mark em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  font-size: 1.1em;
  line-height: .9;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .05em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(247, 135, 10, .1));
}

.lead {
  margin-top: 22px;
  font-size: clamp(16.5px, 1.4vw, 18.5px);
  color: var(--muted);
  max-width: 58ch;
}

/* ---------- Botões ---------- */
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 15.5px/1 var(--sans);
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }

.btn--primary {
  color: var(--accent-ink);
  background: var(--grad-accent);
  box-shadow: 0 12px 32px -12px rgba(247, 135, 10, .75), inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -1px 0 rgba(0, 0, 0, .12);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px -12px rgba(247, 135, 10, .9), inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(0, 0, 0, .12);
}

.btn--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, .04);
  border-color: var(--line-2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .3); transform: translateY(-2px); }

.btn--text { padding: 0 8px; color: var(--muted); }
.btn--text:hover { color: var(--ink); }
.btn--text:hover svg { transform: translateY(3px); }
.btn:hover .ico-out { transform: translate(2px, -2px); }

/* ---------- Navegação ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .35s, border-color .35s, -webkit-backdrop-filter .35s, backdrop-filter .35s;
}
.nav.is-scrolled, .nav.is-open {
  background: rgba(2, 11, 26, .72);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}
.nav.is-open { background: var(--bg); }

.nav__in { display: flex; align-items: center; gap: 20px; height: var(--nav-h); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.015em;
  text-decoration: none;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(155deg, #ffbf6e 0%, #f7870a 50%, #b9520a 100%);
  color: var(--accent-ink);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -.03em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 24px -10px rgba(247, 135, 10, .8);
}

.nav__links { display: flex; gap: 2px; }
.nav__links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color .25s, background-color .25s;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a.is-active { color: var(--ink); background: rgba(255, 255, 255, .07); }

.nav__burger {
  display: none;
  place-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .35s var(--ease);
}
.nav.is-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
  background:
    radial-gradient(600px 400px at 100% 100%, rgba(247, 135, 10, .12), transparent 60%),
    var(--bg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.nav.is-open .menu { opacity: 1; visibility: visible; transform: none; }
.menu__in { display: flex; flex-direction: column; padding-block: 16px 40px; }
.menu__in a:not(.btn) {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.025em;
  text-decoration: none;
}
.menu__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }

/* ---------- Reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .9s var(--ease) var(--d, 0s),
    transform .9s var(--ease) var(--d, 0s),
    border-color .35s,
    background-color .35s;
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Seções ---------- */
.section { position: relative; padding-block: clamp(72px, 8vw, 112px); }
.section--alt {
  background: linear-gradient(180deg, rgba(5, 21, 48, .0), rgba(5, 21, 48, .7) 18%, rgba(5, 21, 48, .7) 82%, rgba(5, 21, 48, 0));
}

.sh { max-width: 760px; }
.sh--center { margin-inline: auto; text-align: center; }
.sh--center .eyebrow { justify-content: center; }
.sh--center .lead { margin-inline: auto; }
.sh--row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  align-items: end;
  gap: 24px 64px;
  max-width: none;
}
.sh--row .lead { margin: 0; }

.split {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.split--center { align-items: center; }
.split__head { position: sticky; top: calc(var(--nav-h) + 40px); }

/* Ícones em caixa */
.ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  color: var(--accent);
  background: linear-gradient(180deg, rgba(247, 135, 10, .16), rgba(247, 135, 10, .05));
  border: 1px solid rgba(247, 135, 10, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.ic svg { width: 26px; height: 26px; }
.ic--sm { width: 46px; height: 46px; border-radius: 14px; }
.ic--sm svg { width: 22px; height: 22px; }

/* Destaque que segue o cursor */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(247, 135, 10, .12), transparent 45%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.spot:hover::before { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  /* Ocupa a primeira dobra, deixando a faixa rolante (≈70px) visível logo abaixo */
  min-height: calc(100vh - 70px);
  min-height: calc(100svh - 70px);
  padding-top: calc(var(--nav-h) + 24px);
  overflow: clip;
}
.hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 62% 30%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 65% at 62% 30%, #000 10%, transparent 72%);
}

.hero__in {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
/* Texto centralizado na vertical (um pouco acima do centro, que é o centro ótico) */
.hero__text { min-width: 0; padding-block: 16px clamp(40px, 7vh, 88px); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--muted);
}
.pill__dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(247, 135, 10, .65); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(247, 135, 10, 0); }
}

.hero__title {
  margin-bottom: 26px;
  /* Considera largura e altura: não estoura em notebooks de tela baixa */
  font-size: clamp(56px, min(8.6vw, 13vh), 124px);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: .92;
}
.hero__title em { display: block; font-size: 1.08em; letter-spacing: -.02em; line-height: .95; }

.hero__role {
  margin-bottom: 16px;
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--sky);
}
.hero__lead { max-width: 54ch; font-size: clamp(16.5px, 1.4vw, 18.5px); color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 38px; }
.chips li {
  padding: 8px 16px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: var(--accent-soft);
  color: #ffd3a3;
  font-size: 14px;
  font-weight: 600;
}

/* Retrato */
.hero__visual { position: relative; min-width: 0; align-self: end; }
.portrait {
  position: relative;
  /* Largura limitada pela coluna, por 540px e pela altura da tela (a foto cabe na primeira dobra) */
  width: min(100%, 540px, max(340px, calc((100vh - var(--nav-h) - 150px) * .833)));
  width: min(100%, 540px, max(340px, calc((100svh - var(--nav-h) - 150px) * .833)));
  margin-inline: auto;
  aspect-ratio: 560 / 672;
}
.portrait__halo {
  position: absolute;
  left: 50%;
  bottom: 10%;
  width: 115%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 135, 10, .32), rgba(247, 135, 10, 0) 62%);
  filter: blur(20px);
}
.portrait__ring {
  position: absolute;
  left: -1%;
  right: -1%;
  bottom: 0;
  height: 93%;
  border: 1px solid rgba(255, 178, 87, .32);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}
.portrait__ring::before {
  content: "";
  position: absolute;
  inset: -7% -7% 0;
  border: 1px dashed rgba(255, 255, 255, .1);
  border-bottom: 0;
  border-radius: inherit;
}
.portrait__arch {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 0;
  height: 84%;
  overflow: hidden;
  border-radius: 999px 999px 0 0;
  background: radial-gradient(130% 90% at 50% 0%, #ffb766 0%, #f7870a 42%, #a9480a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 -30px 120px -30px rgba(247, 135, 10, .6);
}
.portrait__arch::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .2), transparent 35%),
    repeating-radial-gradient(circle at 50% 120%, rgba(255, 255, 255, .06) 0 1px, transparent 1px 26px);
}
.portrait picture { position: relative; display: block; height: 100%; }
.portrait img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 30px 40px rgba(0, 8, 25, .55));
}

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: rgba(6, 20, 44, .66);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .08);
  animation: float 7s ease-in-out infinite;
}
.float-card b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.float-card small { display: block; max-width: 18ch; font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.float-card__ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--grad-accent);
  color: var(--accent-ink);
}
.float-card__ic svg { width: 22px; height: 22px; }
.float-card--a { left: -8%; top: 34%; }
.float-card--b { right: -6%; bottom: 13%; animation-delay: -3.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 22px;
  border-block: 1px solid var(--line);
  background: rgba(5, 21, 48, .6);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; flex: none; gap: 44px; padding-right: 44px; }
.marquee li {
  display: flex;
  align-items: center;
  gap: 44px;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -.005em;
  white-space: nowrap;
  color: var(--muted);
}
.marquee li::after { content: "✦"; font-size: 12px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Números ---------- */
.stats { padding-block: clamp(56px, 7vw, 96px) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  padding: 30px 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
  overflow: hidden;
}
.stat b {
  display: flex;
  align-items: flex-start;
  font-size: clamp(46px, 5.2vw, 70px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}
.stat b > span:not(.stat__plus) {
  background: linear-gradient(180deg, #ffffff, #b9c8df);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__plus { margin-right: 2px; font-size: .62em; line-height: 1.2; color: var(--accent); }
.stat > span { display: block; margin-top: 16px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.stat i { font-style: normal; color: var(--ink); }

/* ---------- Pilares ---------- */
.pillars { display: grid; gap: 14px; }
.pillar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.pillar:hover { border-color: rgba(247, 135, 10, .35); background: var(--surface-2); }
.pillar h3 { margin: 4px 0 8px; font-size: 21px; letter-spacing: -.02em; }
.pillar p { font-size: 15.5px; color: var(--muted); }

/* ---------- Trajetória ---------- */
.tl { position: relative; display: grid; gap: 16px; --p: 0; }
.tl::before, .tl::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 30px;
  width: 2px;
  border-radius: 2px;
}
.tl::before { bottom: 30px; background: var(--line); }
.tl::after {
  height: calc((100% - 60px) * var(--p));
  background: linear-gradient(180deg, var(--sky), var(--accent));
  box-shadow: 0 0 14px rgba(247, 135, 10, .5);
}
.tl li { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 22px; }
.tl__dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-top: 4px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--bg-2);
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  transition: color .4s, border-color .4s, box-shadow .4s, background-color .4s;
}
.tl li.is-active .tl__dot { color: var(--sky); border-color: var(--sky); box-shadow: 0 0 0 6px rgba(127, 184, 245, .1); }
.tl__card {
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  transition: border-color .4s, background-color .4s;
}
.tl li.is-active .tl__card { border-color: var(--line-2); background: var(--surface-2); }
.tl__tag { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.tl h3 { margin: 8px 0 10px; font-size: 21px; letter-spacing: -.02em; }
.tl p { font-size: 15.5px; color: var(--muted); }

.tl li.is-now .tl__dot { font-size: 12.5px; }
.tl li.is-now.is-active .tl__dot {
  border-color: transparent;
  background: var(--grad-accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 6px rgba(247, 135, 10, .15), 0 10px 30px -6px rgba(247, 135, 10, .7);
}
.tl li.is-now .tl__card {
  border-color: var(--accent-line);
  background: linear-gradient(135deg, rgba(247, 135, 10, .16), rgba(255, 255, 255, .025) 60%);
  box-shadow: 0 30px 70px -36px rgba(247, 135, 10, .6);
}
.tl li.is-now h3 { font-size: 23px; }

/* ---------- Mercados ---------- */
.markets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.market {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.market:hover { border-color: rgba(247, 135, 10, .35); }
.market__n {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 60px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
}
.market__n small { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.meter i { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.meter i.on { position: relative; background: none; }
.meter i.on::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sky), var(--accent));
  transform-origin: left;
  transition: transform .7s var(--ease);
}
.js .market:not(.is-in) .meter i.on::after { transform: scaleX(0); }
.meter i:nth-child(2)::after { transition-delay: .25s; }
.meter i:nth-child(3)::after { transition-delay: .4s; }
.meter i:nth-child(4)::after { transition-delay: .55s; }
.market h3 { margin-top: 6px; font-size: 18.5px; letter-spacing: -.015em; }
.market p { font-size: 15px; color: var(--muted); }
.note { margin-top: 24px; font-size: 14px; color: var(--muted-2); }

/* ---------- Formação ---------- */
.edu {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  margin-top: 56px;
}
.edu__card {
  position: relative;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(127, 184, 245, .12), rgba(255, 255, 255, .02) 55%);
}
.edu__card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 184, 245, .22), transparent 70%);
}
.edu__ic {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border: 1px solid rgba(127, 184, 245, .3);
  border-radius: 16px;
  background: rgba(127, 184, 245, .1);
  color: var(--sky);
}
.edu__ic svg { width: 26px; height: 26px; }
.degree { padding: 20px 0; border-top: 1px solid var(--line); }
.degree:last-child { padding-bottom: 0; }
.degree small {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}
.degree b { display: block; font-size: 22px; line-height: 1.25; letter-spacing: -.02em; }

.quote {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--ink);
}
.edu__text p { font-size: 17px; color: var(--muted); max-width: 62ch; }
.edu__text p + p { margin-top: 16px; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.tags li {
  padding: 9px 17px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .025);
  font-size: 14.5px;
  font-weight: 500;
  transition: border-color .25s, background-color .25s, transform .3s var(--ease);
}
.tags li:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .3); }
.tags li.k { border-color: var(--accent-line); background: var(--accent-soft); color: #ffd7ad; font-weight: 600; }
.tags--cloud { justify-content: center; max-width: 980px; margin: 48px auto 0; gap: 12px; }
.tags--cloud li { padding: 12px 22px; font-size: 16px; }

/* ---------- Serviços (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.svc {
  display: flex;
  flex-direction: column;
  padding: 30px 30px 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.svc:hover { border-color: rgba(247, 135, 10, .35); }
.svc h3 { margin: 30px 0 10px; font-size: 22px; letter-spacing: -.02em; }
.svc p { font-size: 15.5px; color: var(--muted); max-width: 56ch; }
.svc__n {
  position: absolute;
  top: 26px;
  right: 30px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1;
  color: var(--muted-2);
}
.svc--lg { grid-column: span 2; }
.svc--feature {
  border-color: var(--accent-line);
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(247, 135, 10, .2), transparent 60%),
    linear-gradient(135deg, rgba(247, 135, 10, .1), rgba(255, 255, 255, .02) 60%);
}
.svc--feature h3 { font-size: clamp(24px, 2.4vw, 28px); }
.svc--feature p { font-size: 16.5px; }
.svc--wide {
  background:
    radial-gradient(500px 300px at 0% 100%, rgba(127, 184, 245, .14), transparent 60%),
    var(--surface);
}

/* ---------- Onde estou hoje ---------- */
.deliver {
  position: relative;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .02));
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .8);
}
.deliver::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.deliver h3 { margin-bottom: 18px; font-size: 22px; letter-spacing: -.02em; }
.checks li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 16px;
}
.checks li > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
}
.checks svg { width: 15px; height: 15px; }

/* ---------- Soluções ---------- */
.product {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  margin-top: clamp(72px, 9vw, 128px);
}
.product--rev .product__visual { order: 2; }
.product__visual { position: relative; min-width: 0; }
.product__visual::before {
  content: "";
  position: absolute;
  inset: 10% 8%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(247, 135, 10, .28), transparent);
  filter: blur(40px);
}
.window {
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background: linear-gradient(180deg, #0c1f42, #061430);
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: transform .6s var(--ease);
}
.product__visual:hover .window { transform: translateY(-6px); }
.window__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
}
.window__bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.window__bar i:first-child { background: #ff6b5f; }
.window__bar i:nth-child(2) { background: #ffbd2e; }
.window__bar i:nth-child(3) { background: #28c840; }
.window__bar span { margin-left: 10px; font-size: 12.5px; font-weight: 600; color: var(--muted-2); }
.window__body { padding: clamp(14px, 2.5vw, 26px); }
.window__body svg { width: 100%; height: auto; }

.product__text { min-width: 0; }
.product__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}
.product__kicker span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.product h3 { margin-bottom: 18px; font-size: clamp(28px, 3vw, 38px); letter-spacing: -.03em; }
.product__text > p:not(.product__kicker) { color: var(--muted); }
.product__text > p + p { margin-top: 14px; }
.mini-checks { display: grid; gap: 12px; margin: 26px 0 32px; }
.mini-checks li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 15.5px; color: var(--ink); }
.mini-checks svg { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }

/* ---------- Projetos ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.project {
  display: flex;
  flex-direction: column;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.project:hover { border-color: rgba(247, 135, 10, .35); }
.project__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 44px; }
.badge {
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.project h3 { margin-bottom: 12px; font-size: 23px; letter-spacing: -.02em; }
.project p { font-size: 15.5px; color: var(--muted); }
.project--feature {
  border-color: var(--accent-line);
  background:
    radial-gradient(400px 260px at 100% 0%, rgba(247, 135, 10, .2), transparent 60%),
    var(--surface);
}
.project--feature .badge { border-color: var(--accent-line); color: var(--accent-2); }

/* ---------- Contato ---------- */
.contact { padding-bottom: clamp(56px, 7vw, 96px); }
.contact__panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  padding: clamp(28px, 5vw, 64px);
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 32px;
  background:
    radial-gradient(700px 500px at 0% 0%, rgba(247, 135, 10, .18), transparent 60%),
    radial-gradient(600px 500px at 100% 100%, rgba(38, 104, 214, .2), transparent 60%),
    linear-gradient(180deg, #0a1f43, #051632);
  box-shadow: 0 60px 120px -60px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .07);
}
.contact__intro, .contact__form { min-width: 0; }
.contact h2 { font-size: clamp(30px, 3.6vw, 46px); }

.channels { display: grid; gap: 12px; margin-top: 36px; }
.channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px 14px 14px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: rgba(255, 255, 255, .035);
  text-decoration: none;
  transition: border-color .3s, background-color .3s, transform .4s var(--ease);
}
.channel:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); }
.channel b { display: block; font-size: 16px; }
.channel small { display: block; font-size: 13.5px; color: var(--muted); }
.channel__ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 13px; color: #fff; }
.channel__ic svg { width: 22px; height: 22px; }
.channel__ic--wa { background: var(--wa); }
.channel__ic--in { background: var(--in); }
.channel__arrow { width: 20px; height: 20px; margin-left: auto; color: var(--muted); transition: transform .35s var(--ease), color .3s; }
.channel:hover .channel__arrow { transform: translate(3px, -3px); color: var(--ink); }

.form { display: grid; gap: 16px; }
.form[hidden] { display: none; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.field .opt { font-weight: 500; color: var(--muted-2); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgba(2, 11, 26, .55);
  color: var(--ink);
  font: 500 16px/1.4 var(--sans);
  outline: none;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field textarea { min-height: 124px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .26); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  background: rgba(2, 11, 26, .75);
  box-shadow: 0 0 0 4px rgba(247, 135, 10, .16);
}
.field select {
  appearance: none;
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%239aabc6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field select:invalid { color: var(--muted-2); }
.field select option { background: #071a38; color: var(--ink); }
.field.is-invalid input, .field.is-invalid select { border-color: #ff7a66; }


.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 6px; }
.form__privacy { font-size: 13px; color: var(--muted-2); }
.form__status { min-height: 1.5em; font-size: 14.5px; color: var(--muted); }
.form__status.is-error { color: #ff9d8c; }
.form button[type="submit"]:hover svg { transform: translateX(3px); }
.form button[disabled] { opacity: .7; cursor: progress; transform: none; }

.form-done { display: grid; justify-items: start; gap: 14px; padding: 8px 0; outline: none; }
.form-done[hidden] { display: none; }
.form-done__ic {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--grad-accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 8px rgba(247, 135, 10, .14);
}
.form-done__ic svg { width: 28px; height: 28px; }
.form-done h3 { margin-top: 8px; font-size: 26px; }
.form-done p { color: var(--muted); max-width: 44ch; }
.form-done .btns { margin-top: 8px; }

/* ---------- Rodapé ---------- */
.footer { padding-block: 56px 32px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 32px; }
.footer__tag { max-width: 46ch; margin-top: 16px; font-size: 15px; color: var(--muted); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 8px; }
.footer__nav a { font-size: 15px; color: var(--muted); text-decoration: none; transition: color .25s; }
.footer__nav a:hover { color: var(--ink); }
.footer__mark {
  margin: clamp(40px, 6vw, 72px) 0 0;
  font-size: clamp(40px, 11vw, 156px);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.055em;
  white-space: nowrap;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .02));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}
.footer__mark em { opacity: .4; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted-2);
}
.footer__top-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration: none;
  transition: color .25s;
}
.footer__top-link svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.footer__top-link:hover { color: var(--ink); }
.footer__top-link:hover svg { transform: translateY(-3px); }

/* ---------- 404 ---------- */
.notfound { display: grid; align-content: center; justify-items: start; min-height: 100dvh; padding-block: 64px; }
.notfound h1 { font-size: clamp(44px, 7vw, 88px); letter-spacing: -.045em; }
.notfound .btns { margin-top: 32px; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: max(20px, env(safe-area-inset-right, 0px));
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 16px 36px -10px rgba(34, 192, 99, .7), inset 0 1px 0 rgba(255, 255, 255, .35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.9);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float.is-visible { opacity: 1; visibility: visible; transform: none; }
.wa-float:hover { transform: translateY(-3px); }
html:not(.js) .wa-float { opacity: 1; visibility: visible; transform: none; }

/* Elementos exclusivos do mobile.css */
.dock, .nav__progress, .dots { display: none; }

/* =========================================================
   Responsivo (768px a 1100px; abaixo disso vale o mobile.css)
   ========================================================= */
@media (max-width: 1100px) {
  .nav__links a { padding: 8px 10px; }
  .markets { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .svc--wide { grid-column: auto; }
  .float-card--a { left: -2%; }
  .float-card--b { right: -2%; }
}

@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: grid; }

  .hero__in { grid-template-columns: 1fr; }
  .hero__text { padding-bottom: 8px; }
  .hero__visual { max-width: 460px; width: 100%; margin-inline: auto; }
  .portrait { margin-inline: auto; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }

  .split, .edu, .contact__panel, .sh--row { grid-template-columns: 1fr; }
  .split__head { position: static; }
  .split { gap: 40px; }

  .product, .product--rev { grid-template-columns: 1fr; gap: 32px; }
  .product--rev .product__visual { order: 0; }

  .projects { grid-template-columns: 1fr; }
  .project__meta { margin-bottom: 28px; }
}

/* Notebooks de tela baixa (ex.: 1366×768, 1280×720): hero compacto para caber na primeira dobra */
@media (min-width: 961px) and (max-height: 820px) {
  .hero { padding-top: calc(var(--nav-h) + 12px); }
  .hero__text { padding-block: 8px 32px; }
  .pill { margin-bottom: 20px; }
  .hero__title { margin-bottom: 18px; font-size: clamp(52px, min(8.6vw, 11.5vh), 124px); }
  .hero__role { margin-bottom: 10px; }
  .chips { margin: 22px 0 26px; }
  .hero .btn--text { display: none; }
  .portrait {
    width: min(100%, 540px, max(320px, calc((100vh - var(--nav-h) - 120px) * .833)));
    width: min(100%, 540px, max(320px, calc((100svh - var(--nav-h) - 120px) * .833)));
  }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .marquee { overflow-x: auto; }
}
