@font-face {
  font-family: Manrope;
  src: url("/assets/projetos/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/portfolio/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --background: #121112;
  --panel: #1e1a1b;
  --line: #3d3233;
  --text: #fbf5f0;
  --muted: #c1b4b0;
  --accent: #ff8053;
  --primary: #c83112;
  --page-gutter: clamp(14px, 4.2vw, 84px);
  --display: "Space Grotesk", system-ui, sans-serif;
  font: 16px/1.55 Manrope, system-ui, sans-serif;
  color: var(--text);
  background: var(--background);
}
* { box-sizing: border-box; }
body, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
button, select, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(2080px, calc(100% - 2 * var(--page-gutter))); margin-inline: auto; }
.site-header, footer { border-block-end: 1px solid var(--line); }
.navigation, .footer, nav, .brand, .actions { display: flex; align-items: center; gap: 20px; }
.navigation, .footer { justify-content: space-between; min-height: 76px; }
.brand { gap: 9px; white-space: nowrap; font: 700 1.2rem/1 var(--display); }
.brand img { object-fit: contain; }
.brand b, .label, .shortcut b, .updates a { color: var(--accent); }
nav a { font-size: .89rem; color: var(--muted); padding-block: 10px; }
nav a:hover, nav [aria-current] { color: var(--accent); }
.navigation nav { gap: 6px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 10px 16px; border: 1px solid transparent; border-radius: 6px;
  font-size: .875rem; font-weight: 800; color: var(--text);
}
.primary { background: var(--primary); }
.primary:hover { background: #ae2c11; }
.outline { background: #191516c7; border-color: #665357; }
.outline:hover { border-color: var(--accent); }
/*
 * Button adapted from niat786 (Niat Murad), https://uiverse.io/niat786/moody-horse-75.
 * Copyright (c) 2026 niat786 (Niat Murad)
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
.sparky-button,
.navigation nav a {
  position: relative;
  isolation: isolate;
  border: 0;
  border-radius: 4px;
}
.sparky-button::before,
.navigation nav a::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  content: "";
  background: linear-gradient(90deg, var(--panel), var(--primary));
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: filter .2s ease;
}
.sparky-button {
  padding-inline: 18px;
  background: transparent;
  font-size: .75rem;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.sparky-button::before {
  transition: filter .2s ease, inset-inline .3s ease;
}
.sparky-button.secondary::before,
.navigation nav a::before {
  background: linear-gradient(90deg, #211c1e, #432923);
}
.sparky-button:enabled:hover::before,
a.sparky-button:hover::before,
.navigation nav a:hover::before {
  filter: brightness(1.22);
}
.sparky-button:not(:disabled):hover::before {
  inset-inline: -3px;
}
.sparky-button:disabled::before {
  background: linear-gradient(90deg, var(--background), var(--line));
}
.navigation nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 6px 9px;
  color: var(--text);
  white-space: nowrap;
  font-size: .73rem;
  font-weight: 800;
}
.navigation nav a[aria-current]::before {
  background: linear-gradient(90deg, #39211b, var(--primary));
}
@media (prefers-reduced-motion: reduce) {
  .sparky-button::before, .navigation nav a::before { transition: none; }
}
.hero {
  position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center;
  min-height: clamp(502px, min(36.5vw, 74svh), 780px); margin-top: 26px;
  border: 1px solid var(--line); border-radius: 11px;
}
.hero-photo, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-photo { object-fit: cover; object-position: center 55%; }
.hero::after {
  content: ""; z-index: -1;
  background: linear-gradient(90deg, #130e0ef5 0%, #130e0ee8 22%, #130e0eb0 47%, #130e0e12 76%),
    linear-gradient(0deg, #100a0cda, transparent 33%);
}
.hero-copy { padding: clamp(24px, 5vw, 66px); }
.label { text-transform: uppercase; letter-spacing: .12em; font-size: .73rem; font-weight: 800; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; }
h1 { font-size: clamp(3.45rem, 7.3vw, 6.25rem); letter-spacing: -.075em; margin-block: 10px 18px; }
h1 em { color: var(--accent); font-style: normal; }
h2 { font-size: clamp(2rem, 3.5vw, 3.3rem); letter-spacing: -.055em; }
h3 { font-size: 1.45rem; letter-spacing: -.04em; }
.hero-copy > p:not(.label) { max-width: 420px; color: #f0e5df; }
.actions { margin-top: 24px; flex-wrap: wrap; gap: 9px; }
.hero-caption { position: absolute; bottom: 16px; right: 20px; text-align: right; font-weight: 800; font-size: .8rem; }
.hero-caption span { display: block; color: #e5d7cd; font-size: .72rem; font-weight: 600; }
.shortcut { margin-top: 13px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shortcut a { position: relative; background: var(--panel); padding: 16px 40px 16px 18px; border: 1px solid var(--line); border-radius: 8px; }
.shortcut a:hover { border-color: var(--accent); }
.shortcut strong, .shortcut span { display: block; }
.shortcut strong { font: 700 1.35rem var(--display); }
.shortcut span { color: var(--muted); font-size: .84rem; }
.shortcut b { position: absolute; right: 18px; top: 16px; }
.section { margin-block: clamp(42px, 6vw, 80px); }
.section[id] { scroll-margin-block-start: 24px; }
.section-head { margin-bottom: 19px; }
.projects-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.section-head h2, .feature h2, .community h2 { margin-top: 7px; }
.project-grid, .tools-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.card, .feature, .updates { border: 1px solid var(--line); background: var(--panel); border-radius: 9px; overflow: hidden; }
.card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #302625; }
.highlight-card:hover { border-color: var(--accent); }
.bitrem-card .button { margin-top: 13px; }
.gallery { width: min(100% - 28px, 1060px); max-height: calc(100dvh - 36px); padding: 18px; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.gallery::backdrop { background: #080607d9; }
.gallery-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 15px; }
.gallery-head h2 { font-size: clamp(1.35rem, 4vw, 2.5rem); }
.gallery figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #191617; }
.gallery img { display: block; width: 100%; height: min(60dvh, 620px); object-fit: contain; background: var(--background); }
.gallery figcaption { padding: 8px 10px; color: var(--muted); font-size: .82rem; text-align: center; }
.gallery-controls { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; }
.gallery-cover { display: block; position: relative; cursor: zoom-in; }
.gallery-cover-label { position: absolute; right: 12px; bottom: 12px; }
.product-layout:has(.gallery-cover:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.portfolio-intro h1 { font-size: clamp(2.85rem, 6vw, 5rem); }
.portfolio-intro > p:last-child { max-width: 55ch; color: var(--muted); }
.portfolio-product { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: clamp(20px, 5vw, 60px); }
.portfolio-product img { width: 100%; height: auto; display: block; border-radius: 9px; }
.card > div { padding: 16px 18px 19px; }
.card h3 { margin-block: 6px 8px; }
.card p:not(.label), .feature p:not(.label), .community p:not(.label) { color: var(--muted); }
.tools-grid { grid-template-columns: 1fr 1fr; }
.feature, .updates { padding: clamp(20px, 3.5vw, 39px); }
.feature p:not(.label), .community p:not(.label) { margin-top: 13px; max-width: 470px; }
.feature .button, .community .button { margin-top: 20px; }
.plan { background: linear-gradient(130deg, #392019, #211918 65%); }
.generator { background: radial-gradient(ellipse at 90% 15%, #6b271c80, transparent 65%), var(--panel); }
.price strong { color: var(--text); font: 700 2.3rem var(--display); }
.community { display: grid; gap: 24px; grid-template-columns: 1.35fr 1fr; align-items: center; }
.updates a { display: inline-block; margin-top: 12px; font-weight: 800; }
.updates aside { margin-top: 15px; border-top: 1px solid var(--line); padding-top: 14px; }
footer { border-block-start: 1px solid var(--line); }
.footer { min-height: 79px; }
@media (min-width: 981px) {
  .home-intro {
    display: grid; grid-template-rows: 1fr auto; gap: 13px;
    min-height: calc(100svh - 77px); padding-block: 26px clamp(24px, 3.5svh, 42px);
  }
  .home-intro .hero { min-height: 0; }
  .home-intro :is(.hero, .shortcut) { margin-top: 0; }
  .home-intro + .section { margin-top: clamp(24px, 3svh, 42px); }
}
@media (max-width: 980px) {
  .navigation { flex-wrap: wrap; column-gap: 10px; row-gap: 0; padding-block: 8px; }
  .navigation nav { order: 3; width: 100%; flex-wrap: wrap; }
}
@media (max-width: 820px) {
  .hero { min-height: 464px; }
  .hero::after { background: linear-gradient(90deg, #130e0ef2, #130e0e35), linear-gradient(0deg,#100a0ce0,transparent 45%); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-product { grid-template-columns: 1fr; }
}
@media (max-width: 530px) {
  nav a { font-size: .78rem; }
  .brand { font-size: 1rem; }
  .brand img { width: 37px; height: 37px; }
  .account { padding-inline: 9px; font-size: .75rem; }
  .hero { min-height: 440px; margin-top: 14px; padding-bottom: 28px; }
  .hero h1 { font-size: clamp(2.65rem, 14vw, 3.45rem); }
  .hero-photo { object-position: 58% center; }
  .hero-caption { bottom: 9px; right: 12px; }
  .shortcut, .project-grid, .tools-grid, .community { grid-template-columns: 1fr; }
  .shortcut { gap: 6px; }
  .shortcut a { padding-block: 11px; }
}
