/* ==========================================================================
   murilosaez.com.br — Glass Design System
   Liquid Glass · system type · light/dark · mobile-first
   ========================================================================== */

/* ---------- Tokens: light (default) ---------- */
:root {
  --gutter: clamp(20px, 5vw, 32px);
  --maxw: 1200px;

  --canvas: #f5f5f7;
  --canvas-raised: #ffffff;
  --ink: #1d1d1f;
  --ink-secondary: #5e5e63;
  --accent: #8f6410;
  --accent-tint: #f3e7cc;
  --link: #0066cc;
  --on-ink: #ffffff;
  --brand-gold: #f4b30c;
  --brand-ink: #111111;

  --glass-fill: rgba(255, 255, 255, .55);
  --glass-fill-tinted: rgba(255, 255, 255, .8);
  --glass-stroke: rgba(255, 255, 255, .75);
  --glass-specular: rgba(255, 255, 255, .95);
  --hairline: rgba(0, 0, 0, .08);
  --surface-soft: rgba(255, 255, 255, .62);
  --seg-bg: rgba(0, 0, 0, .06);
  --nav-top: rgba(245, 245, 247, .6);
  --nav-float: rgba(255, 255, 255, .66);
  --footer-bg: rgba(245, 245, 247, .7);
  --form-bg: rgba(255, 255, 255, .8);

  --terminal-bg: #1c1c1e;
  --terminal-ink: #f2f2f7;
  --terminal-muted: #98989f;
  --terminal-dim: #a1a1a6;
  --term-band: #0b0b0d;
  --term-border: transparent;
  --traffic-close: #ff5f57;
  --traffic-minimize: #febc2e;
  --traffic-zoom: #28c840;
  --live: #9fe3c8;

  --orb-gold: #f2c46d;
  --orb-sky: #8cc4ff;
  --orb-mint: #9fe3c8;
  --orb-opacity: .55;

  --net-line: rgba(143, 100, 16, .28);
  --net-node-stroke: rgba(143, 100, 16, .55);
  --dot: rgba(29, 29, 31, .16);

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --font-mono: "SF Mono", ui-monospace, Menlo, "Cascadia Code", Consolas, monospace;

  --radius-sm: 10px;
  --radius-md: 15px;
  --radius-pill: 999px;

  --shadow-glass: 0 8px 32px rgba(0, 0, 0, .08), inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(255, 255, 255, .3);
  --shadow-float: 0 18px 50px rgba(0, 0, 0, .14), inset 0 1px 0 rgba(255, 255, 255, .9);
  --blur-glass: blur(24px) saturate(180%);
  --ease: cubic-bezier(.2, .8, .2, 1);

  color-scheme: light;
}

/* ---------- Tokens: dark ---------- */
:root[data-theme="dark"] {
  --canvas: #0b0b0d;
  --canvas-raised: #1c1c1e;
  --ink: #f5f5f7;
  --ink-secondary: #a1a1a6;
  --accent: #e3b556;
  --accent-tint: #3a2e15;
  --link: #2997ff;
  --on-ink: #0b0b0d;

  --glass-fill: rgba(36, 36, 40, .52);
  --glass-fill-tinted: rgba(28, 28, 30, .82);
  --glass-stroke: rgba(255, 255, 255, .14);
  --glass-specular: rgba(255, 255, 255, .32);
  --hairline: rgba(255, 255, 255, .1);
  --surface-soft: rgba(255, 255, 255, .06);
  --seg-bg: rgba(255, 255, 255, .1);
  --nav-top: rgba(11, 11, 13, .6);
  --nav-float: rgba(30, 30, 32, .7);
  --footer-bg: rgba(11, 11, 13, .72);
  --form-bg: rgba(28, 28, 30, .86);

  --term-band: #000000;
  --term-border: rgba(255, 255, 255, .08);

  --orb-gold: #7a5a1c;
  --orb-sky: #1e4f8a;
  --orb-mint: #1d6b55;
  --orb-opacity: .38;

  --net-line: rgba(227, 181, 86, .25);
  --net-node-stroke: rgba(227, 181, 86, .6);
  --dot: rgba(255, 255, 255, .1);

  --shadow-glass: 0 8px 32px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -1px 0 rgba(255, 255, 255, .05);
  --shadow-float: 0 18px 50px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .2);

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.53;
  -webkit-font-smoothing: antialiased;
  transition: background-color .35s ease, color .35s ease;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { opacity: .82; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p, li { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--on-ink);
  padding: 10px 16px; border-radius: var(--radius-pill); font-size: 14px;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: 0; padding-bottom: clamp(80px, 10vw, 112px); }
.mono { font-family: var(--font-mono); }

/* ---------- Typography ---------- */
.eyebrow { font: 500 13px/1.3 var(--font-mono); color: var(--accent); }
.display { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.08; font-weight: 600; letter-spacing: -0.015em; }
.title-section { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; font-weight: 600; letter-spacing: -0.012em; }
.title-panel { font-size: clamp(26px, 3vw, 36px); line-height: 1.14; font-weight: 600; letter-spacing: -0.01em; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--ink-secondary); }
.body-2 { font-size: 17px; line-height: 1.55; color: var(--ink-secondary); }
.em { font-style: italic; color: var(--accent); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 44px; }

/* ---------- Backdrop orbs ---------- */
.orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: var(--orb-opacity); animation: drift 22s ease-in-out infinite alternate; }
.orb--gold { background: var(--orb-gold); }
.orb--sky { background: var(--orb-sky); }
.orb--mint { background: var(--orb-mint); }
@keyframes drift { to { transform: translate3d(6%, -4%, 0) scale(1.08); } }
.page { position: relative; }

/* ---------- Liquid Glass ---------- */
.glass {
  position: relative; isolation: isolate;
  background: var(--glass-fill);
  -webkit-backdrop-filter: var(--blur-glass); backdrop-filter: var(--blur-glass);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glass);
}
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, var(--glass-specular), rgba(255, 255, 255, .12) 38%, rgba(255, 255, 255, 0) 60%, var(--glass-stroke));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 70% at 18% 0%, rgba(255, 255, 255, .32), rgba(255, 255, 255, 0) 55%);
  mix-blend-mode: soft-light;
}
:root[data-theme="dark"] .glass::after { opacity: .35; }
.glass--form { background: var(--form-bg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border: 0; border-radius: var(--radius-pill);
  font: 500 15px/1 var(--font-sans); cursor: pointer; text-decoration: none;
  transition: transform .15s ease;
}
.btn:hover { opacity: 1; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--ink); color: var(--on-ink); }
.btn--glass { background: var(--glass-fill); color: var(--ink); -webkit-backdrop-filter: var(--blur-glass); backdrop-filter: var(--blur-glass); box-shadow: var(--shadow-glass); }
.btn--sm { min-height: 36px; padding: 0 16px; font-size: 13px; }
.btn--icon { min-height: 36px; min-width: 44px; padding: 0 12px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Segmented control ---------- */
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--radius-pill); background: var(--seg-bg); }
.seg button {
  min-height: 30px; min-width: 40px; padding: 0 10px; border: 0; border-radius: var(--radius-pill);
  background: none; color: var(--ink-secondary); font: 600 12px/1 var(--font-sans); cursor: pointer;
}
.seg button[aria-pressed="true"] { background: var(--canvas-raised); color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.seg--lg button { min-height: 34px; padding: 0 16px; font-size: 13px; }

/* ---------- Chips, dots, keys ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px;
  border-radius: var(--radius-pill); background: var(--accent-tint); color: var(--ink);
  font: 600 12px/1 var(--font-sans); white-space: nowrap; align-self: flex-start;
}
.chip--dark { background: rgba(255, 255, 255, .1); color: var(--terminal-ink); }
.chip--gold { background: var(--brand-gold); color: var(--brand-ink); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--traffic-zoom); flex: none; }
.key {
  display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 24px; padding: 0 7px;
  border-radius: var(--radius-sm); border: 1px solid var(--hairline); background: var(--canvas-raised);
  font: 500 12px/1 var(--font-mono); color: var(--ink-secondary);
}

/* ---------- Menubar ---------- */
.menubar-wrap { position: sticky; top: 0; z-index: 50; padding: 0; transition: padding .45s var(--ease); }
.menubar {
  max-width: 100%; margin: 0 auto; padding: 8px var(--gutter);
  background: var(--nav-top); box-shadow: 0 1px 0 var(--hairline);
  -webkit-backdrop-filter: var(--blur-glass); backdrop-filter: var(--blur-glass);
  border-radius: 0;
  transition: max-width .45s var(--ease), border-radius .45s var(--ease), box-shadow .45s ease, background .45s ease, padding .45s var(--ease);
}
.is-floating .menubar-wrap { padding: 12px 16px 0; }
.is-floating .menubar { max-width: 980px; border-radius: var(--radius-pill); background: var(--nav-float); box-shadow: var(--shadow-float); padding: 6px 8px 6px 18px; }
.menubar__row { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { width: 148px; height: auto; }
.logo--on-dark { display: none !important; }
:root[data-theme="dark"] .logo--on-light { display: none !important; }
:root[data-theme="dark"] .logo--on-dark { display: block !important; }
.menubar__links { display: none; align-items: center; gap: 26px; font-size: 13px; }
.menubar__links a { color: var(--ink); }
.menubar__links a[aria-current="page"] { font-weight: 600; }
.menubar__tools { display: flex; align-items: center; gap: 8px; }
.menubar__cta { display: none; }
.menubar__menu { display: flex; flex-direction: column; gap: 2px; max-width: var(--maxw); margin: 10px auto 4px; font-size: 17px; }
.menubar__menu[hidden] { display: none; }
.menubar__menu a { color: var(--ink); padding: 12px 8px; border-radius: var(--radius-sm); }
.icon-sun { display: none; }
:root[data-theme="dark"] .icon-sun { display: block; }
:root[data-theme="dark"] .icon-moon { display: none; }
@media (max-width: 480px) { .brand img { width: 116px; } }
@media (min-width: 961px) {
  .menubar__links, .menubar__cta { display: flex; }
  .menubar__burger, .menubar__menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(32px, 6vw, 56px); padding-bottom: 72px; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.hero__text { display: flex; flex-direction: column; gap: 22px; width: 100%; }
.hero__text .display { max-width: 620px; }
.hero__text .lead { max-width: 560px; }
.hero__photo { position: relative; display: flex; justify-content: center; width: 100%; max-width: 340px; }
.hero__photo img.portrait { position: relative; z-index: 1; width: 100%; max-width: 440px; height: auto; }
@media (min-width: 821px) {
  .hero { flex-direction: row; gap: 56px; }
  .hero__text { flex: 1 1 480px; }
  .hero__photo { flex: 1 1 360px; max-width: none; }
}

/* Tech motif */
.tech-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--dot) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
}
.tech-grid--dark {
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.4px);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
}
.net { position: absolute; inset: 0; width: 100%; height: 100%; }
.net-line { stroke: var(--net-line); stroke-width: 1.2; fill: none; }
.net-pulse { stroke: var(--brand-gold); stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-dasharray: 10 400; stroke-dashoffset: 410; animation: net-run 4.8s linear infinite; }
.net-pulse--sky { stroke: #3d8bff; }
.net-pulse--d1 { animation-delay: -1.6s; }
.net-pulse--d2 { animation-delay: -2.2s; }
.net-pulse--d3 { animation-delay: -3.1s; }
@keyframes net-run { to { stroke-dashoffset: 0; } }
.net-node { fill: var(--canvas-raised); stroke: var(--net-node-stroke); stroke-width: 1.4; }
.net-node--hot { fill: var(--brand-gold); stroke: var(--canvas); stroke-width: 2; }

.float-tag {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px;
  border-radius: var(--radius-pill); font: 500 12px/1 var(--font-mono); color: var(--ink);
  animation: float 9s ease-in-out infinite;
}
.float-tag--1 { left: 2%; top: 22%; }
.float-tag--2 { right: 0; top: 12%; animation-delay: -3s; }
.float-tag--3 { right: 4%; top: 58%; animation-delay: -5s; }
.float-tag--4 { left: 6%; top: 70%; animation-delay: -7s; }
.float-tag .code { color: var(--accent); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Terminal band ---------- */
.term-band { position: relative; z-index: 1; background: var(--term-band); border-top: 1px solid var(--term-border); border-bottom: 1px solid var(--term-border); color: var(--terminal-ink); overflow: hidden; }
.term-band__bar { position: relative; display: flex; align-items: center; gap: 8px; height: 52px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.term-band__body { padding: 36px 0 56px; min-height: 340px; font: 400 clamp(14px, 1.5vw, 17px)/1.85 var(--font-mono); }
.term-line { white-space: pre-wrap; word-break: break-word; color: var(--terminal-ink); }
.term-line--out { color: var(--terminal-dim); }
.term-prompt { color: var(--brand-gold); }
.cursor { display: inline-block; width: 9px; height: 1.05em; background: var(--brand-gold); vertical-align: -0.18em; border-radius: 2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Window chrome */
.window { border-radius: var(--radius-md); overflow: hidden; background: var(--terminal-bg); box-shadow: var(--shadow-float); color: var(--terminal-ink); }
.window__bar { position: relative; display: flex; align-items: center; gap: 8px; padding: 12px 14px; }
.light { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.light--close { background: var(--traffic-close); }
.light--min { background: var(--traffic-minimize); }
.light--zoom { background: var(--traffic-zoom); }
.window__title { position: absolute; left: 0; right: 0; text-align: center; font: 500 12px/1 var(--font-mono); color: var(--terminal-muted); pointer-events: none; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.tile { display: flex; flex-direction: column; gap: 12px; padding: 28px; color: var(--ink); }
.tile:hover { opacity: 1; }
.tile__head { display: flex; flex-direction: column; gap: 6px; }
.tile__title { font-size: 24px; line-height: 1.17; font-weight: 600; }
.tile__tag { font-size: 16px; line-height: 1.4; font-weight: 500; }
.tile__desc { font-size: 15px; line-height: 1.5; color: var(--ink-secondary); }
.tile__link { margin-top: auto; font-size: 15px; font-weight: 500; color: var(--link); }

.co { display: flex; flex-direction: column; color: var(--terminal-ink); }
.co:hover { opacity: 1; }
.co__body { padding: 12px 28px 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.co__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.co__name { font-size: 34px; line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; }
.co__tag { font-size: 17px; line-height: 1.4; font-weight: 500; }
.co__desc { font-size: 15px; line-height: 1.5; color: #c7c7cc; }
.co__term { border-radius: var(--radius-sm); background: rgba(255, 255, 255, .06); padding: 14px 16px; font: 400 13px/1.85 var(--font-mono); }
.co__row { display: flex; justify-content: space-between; gap: 12px; }
.co__row .muted { color: var(--terminal-muted); }
.co__status { flex: none; display: inline-flex; align-items: center; gap: 6px; color: var(--terminal-muted); }
.co__status--live { color: var(--live); }
.co__foot { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.co__foot .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.co__link { font-size: 15px; font-weight: 500; color: #8cc4ff; }

@media (min-width: 821px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .span-2 { grid-column: span 2; }
  .span-3 { grid-column: span 3; }
  .span-4 { grid-column: span 4; }
  .tile__tag, .co__tag, .t-tag { min-height: 2.8em; }
  .tile__desc, .co__desc, .t-desc { min-height: 4.5em; }
}

/* ---------- Feature grid (3) ---------- */
.grid-3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px 40px; }
@media (min-width: 821px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 600px) and (max-width: 820px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 821px) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.feature { display: flex; flex-direction: column; gap: 14px; padding: 28px; }
.feature__icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--surface-soft);
  box-shadow: inset 0 1px 0 var(--glass-stroke), 0 2px 8px rgba(0, 0, 0, .06);
  display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.feature h3 { font-size: 21px; line-height: 1.24; font-weight: 600; }
.feature p { font-size: 15px; line-height: 1.5; color: var(--ink-secondary); }
.after-grid { margin-top: 44px; }

/* ---------- Panel (about teaser / CTA) ---------- */
.panel { padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 36px; align-items: center; }
.panel__text { flex: 1.3 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.panel__side { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.pillar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-radius: var(--radius-md); background: var(--surface-soft); box-shadow: inset 0 1px 0 var(--glass-stroke); }
.pillar strong { font-size: 17px; font-weight: 600; }
.pillar span { font: 500 12px/1.3 var(--font-mono); color: var(--ink-secondary); text-align: right; }
.cta-panel { justify-content: space-between; }
.cta-panel h2 { max-width: 620px; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; }

/* ---------- Contact ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; }
.contact__intro { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.contact__direct { font-size: 15px; color: var(--ink-secondary); }
.form { flex: 1 1 440px; min-width: 0; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font: 600 13px/1.2 var(--font-sans); color: var(--ink); }
.field__hint { font-size: 12px; color: var(--ink-secondary); }
.input {
  width: 100%; min-height: 48px; padding: 12px 16px; border-radius: var(--radius-md);
  border: 1px solid var(--hairline); background: var(--canvas-raised); color: var(--ink);
  font: 400 17px/1.4 var(--font-sans);
}
.input::placeholder { color: var(--ink-secondary); opacity: .8; }
textarea.input { resize: vertical; min-height: 140px; }
.input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.form__legal { font-size: 12px; line-height: 1.45; color: var(--ink-secondary); }
.toast {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: var(--radius-pill);
  background: rgba(29, 29, 31, .92); color: #f5f5f7; font-size: 14px;
}
.toast[hidden] { display: none; }
.toast__msg { display: inline-flex; align-items: center; gap: 10px; }
.toast--error .dot { background: var(--traffic-close); }
.toast button { min-width: 44px; min-height: 36px; border: 0; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .14); color: #f5f5f7; font: 600 13px/1 var(--font-sans); cursor: pointer; }

/* ---------- About page ---------- */
.about-hero { padding-top: clamp(40px, 7vw, 72px); padding-bottom: 72px; display: flex; flex-direction: column; gap: 22px; }
.about-hero .display { max-width: 760px; position: relative; }
.about-hero .eyebrow, .about-hero .grid-2 { position: relative; }
.move { display: flex; flex-direction: column; }
.move__body { padding: clamp(24px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: flex-start; }
.move__head { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.move__head .eyebrow { color: var(--brand-gold); }
.move__head h2 { color: var(--terminal-ink); }
.move__text { flex: 1.4 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 1.6; color: #d1d1d6; }
.move__cmd { font: 400 13px/1.7 var(--font-mono); color: var(--terminal-muted); }
.move__cmd b { font-weight: 400; color: var(--terminal-ink); }

.path-card { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.path-card__num { display: flex; align-items: baseline; gap: 8px; }
.path-card__num strong { font-size: 48px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; }
.path-card__num span { font-size: 17px; font-weight: 500; color: var(--ink-secondary); }
.bar { position: relative; height: 8px; border-radius: var(--radius-pill); background: var(--hairline); overflow: hidden; }
.bar span { position: absolute; right: 0; top: 0; bottom: 0; border-radius: var(--radius-pill); background: linear-gradient(90deg, rgba(244, 179, 12, .35), var(--brand-gold)); }
.bar--100 span { width: 100%; } /* 17 anos = referência */
.bar--47 span { width: 47%; } /* 8 de 17 anos */
.bar--35 span { width: 35%; } /* 6 de 17 anos */
.bar-scale { display: flex; justify-content: space-between; font: 500 11px/1 var(--font-mono); color: var(--ink-secondary); }
.bar-scale .now { display: inline-flex; align-items: center; gap: 6px; }
.path-card h3 { margin-top: 6px; font-size: 21px; line-height: 1.24; font-weight: 600; }
.path-card p { font-size: 15px; line-height: 1.5; color: var(--ink-secondary); }

.carousel { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scroll-padding-left: var(--gutter); }
.carousel > * { flex: 0 0 72%; scroll-snap-align: start; }
.case { margin: 0; border-radius: var(--radius-md); overflow: hidden; background: #000; box-shadow: 0 8px 32px rgba(0, 0, 0, .12); }
.case img { width: 100%; height: auto; aspect-ratio: 850 / 1300; object-fit: cover; }
.stat-card { padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; aspect-ratio: 850 / 1300; }
.stat-card__value { display: flex; flex-direction: column; gap: 10px; }
.stat-card__value strong { font-size: clamp(40px, 4vw, 56px); line-height: 1; font-weight: 600; letter-spacing: -0.03em; }
.stat-card__value span { font-size: 15px; line-height: 1.5; color: var(--ink-secondary); }
.stat-card__note { font: 500 12px/1.4 var(--font-mono); color: var(--ink-secondary); }
@media (min-width: 600px) { .carousel > * { flex-basis: 44%; } }
@media (min-width: 821px) {
  .carousel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; }
}

.value { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.value__k { font: 500 13px/1 var(--font-mono); color: var(--accent); }
.value h3 { font-size: 21px; line-height: 1.24; font-weight: 600; }
.value p { font-size: 15px; line-height: 1.5; color: var(--ink-secondary); }

/* ---------- Legal pages ---------- */
.legal { padding-top: clamp(40px, 7vw, 72px); padding-bottom: 112px; }
.legal__card { max-width: 820px; padding: clamp(24px, 5vw, 56px); }
.legal__card h1 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; font-weight: 600; letter-spacing: -0.012em; margin-bottom: 8px; }
.legal__meta { font: 500 13px/1.4 var(--font-mono); color: var(--ink-secondary); margin-bottom: 28px; }
.legal__card h2 { font-size: 21px; line-height: 1.3; font-weight: 600; margin: 36px 0 10px; }
.legal__card p, .legal__card li { font-size: 16px; line-height: 1.65; color: var(--ink-secondary); }
.legal__card p + p { margin-top: 12px; }
.legal__card ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.legal__card strong { color: var(--ink); font-weight: 600; }
.legal__table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.legal__table th, .legal__table td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--hairline); color: var(--ink-secondary); }
.legal__table th { color: var(--ink); font-weight: 600; }
.table-scroll { overflow-x: auto; }
[data-lang-block] { display: none; }
:root[lang="pt-BR"] [data-lang-block="pt"], :root[lang="en"] [data-lang-block="en"] { display: block; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: flex; align-items: center; padding-top: 48px; padding-bottom: 96px; }
.notfound .window { width: 100%; max-width: 720px; }
.notfound .term-body { padding: 24px 24px 32px; font: 400 15px/1.85 var(--font-mono); }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--hairline); background: var(--footer-bg); -webkit-backdrop-filter: var(--blur-glass); backdrop-filter: var(--blur-glass); }
.footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 40px var(--gutter) 32px; display: flex; flex-direction: column; gap: 24px; }
.footer__logo img { width: 132px; height: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 13px; }
.footer__links a { color: var(--ink); }
.footer__rule { height: 1px; background: var(--hairline); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; color: var(--ink-secondary); }
.footer__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.footer__top { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--ink-secondary); }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb, .net-pulse, .float-tag, .cursor { animation: none; }
  .menubar, .menubar-wrap, body { transition: none; }
}

/* ---------- Orb placements (no inline styles: CSP-safe) ---------- */
.orb--a { width: 620px; height: 620px; left: -200px; top: -200px; }
.orb--b { width: 560px; height: 560px; right: -160px; top: 60px; animation-delay: -6s; }
.orb--c { width: 640px; height: 640px; left: -220px; top: 1500px; }
.orb--d { width: 560px; height: 560px; right: -200px; top: 2000px; animation-delay: -8s; }
.orb--e { width: 520px; height: 520px; left: 20%; top: 2900px; animation-delay: -11s; }
.orb--f { width: 600px; height: 600px; right: -160px; top: 3500px; animation-delay: -4s; }
.toast a { color: #8cc4ff; font-weight: 600; white-space: nowrap; }
.toast a[hidden] { display: none; }
.hero__photo .net { z-index: 0; }
.term-band .container { z-index: 1; }

/* ---------- Layout refinements ---------- */
.term-band + .section { padding-top: clamp(80px, 10vw, 112px); }
.field .seg { align-self: flex-start; }
.hero__photo { order: -1; max-width: 300px; }
@media (min-width: 821px) {
  .hero__text { flex: 1.25 1 520px; }
  .hero__photo { order: 0; max-width: none; }
}
@media (max-width: 480px) {
  .co__row .muted { display: none; }
  .hero .actions .btn { flex: 1 1 100%; }
}
.notfound h1 { font-family: var(--font-sans); color: var(--terminal-ink); }
