/* =========================================================
   LESIARTE — site institucional
   Base visual: Dossiê Mestre v1.0 + prancha LESIARTE_logo.pdf
   Paleta oficial da prancha: #FFCF00 · #262626 · #F0F0F0
   ========================================================= */

/* ---------- Fontes (self-hosted) ---------- */
@font-face {
  font-family: "Fira Sans";
  src: url("../assets/fonts/fira-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/poppins-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/poppins-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --yellow: #ffcf00;
  --yellow-soft: #ffdb3d;
  --graphite: #262626;
  --light: #f0f0f0;

  --bg: #0a0a0a;
  --bg-2: #101010;
  --surface: #161616;
  --surface-2: #1c1c1c;
  --line: rgba(240, 240, 240, 0.12);
  --line-strong: rgba(240, 240, 240, 0.22);
  --text: #f0f0f0;
  --muted: #a3a3a3;
  --muted-2: #8c8c8c;

  --display: "Fira Sans", "Arial Narrow", Arial, sans-serif;
  --body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --shell: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  font-kerning: normal;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

/* Textura de grão: fica atrás do conteúdo do hero, nunca por cima do texto.
   Uma camada fixa sobre a página inteira obriga o navegador a compor todo o
   texto em transparência — o que tira a nitidez do antisserrilhado do sistema
   e pesa na rolagem. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--yellow);
  color: #0a0a0a;
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

/* scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
  background: #2b2b2b;
  border-radius: 99px;
  border: 2px solid #0a0a0a;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--yellow);
}

/* ---------- Estrutura ---------- */
.shell {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section[id] {
  scroll-margin-top: 92px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  background: var(--yellow);
  color: #0a0a0a;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s;
}
.skip-link:focus {
  transform: none;
}

/* ---------- Ícones ---------- */
.ico {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

.btn--primary {
  background: var(--yellow);
  color: #0a0a0a;
}
.btn--primary:hover {
  background: var(--yellow-soft);
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--light);
}
.btn--ghost:hover {
  border-color: rgba(255, 207, 0, 0.55);
  color: var(--yellow);
}

.btn--dark {
  background: #0a0a0a;
  color: var(--light);
}
.btn--dark:hover {
  background: var(--graphite);
  transform: translateY(-1px);
}

.btn--sm {
  padding: 0.72rem 1.1rem;
  font-size: 0.85rem;
}

.btn .ico {
  transition: transform 0.25s;
}
.btn:hover .ico {
  transform: translate(2px, -2px);
}

/* ---------- Barra de progresso ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: 2px;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--yellow);
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.78);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.brand img {
  width: auto;
  height: 20px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.4vw, 2.1rem);
}

.nav-link {
  position: relative;
  padding-block: 0.4rem;
  font-size: 0.9rem;
  color: rgba(240, 240, 240, 0.62);
  transition: color 0.2s;
}
.nav-link::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover,
.nav-link.is-active {
  color: var(--light);
}
.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--light);
  transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(2px);
}
body.menu-open {
  overflow: hidden;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  padding-top: clamp(110px, 14vh, 150px);
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(240, 240, 240, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(240, 240, 240, 0.045) 1px, transparent 1px);
  background-size: 84px 84px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 60% 35%, #000 18%, transparent 74%);
  mask-image: radial-gradient(ellipse 90% 80% at 60% 35%, #000 18%, transparent 74%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -12vw;
  right: -18vw;
  width: 62vw;
  height: 62vw;
  background: radial-gradient(circle, rgba(255, 207, 0, 0.14), transparent 62%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 207, 0, 0.12);
  animation: pulse 3.2s ease-in-out infinite;
}

.hero-title {
  margin-top: 1.15rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.9rem, 6.6vw, 6rem);
  line-height: 0.86;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero-title > span {
  display: block;
}
.hero-title .accent {
  color: var(--yellow);
}
.bang {
  display: inline;
}

.hero-lead {
  max-width: 47ch;
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.7;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.2rem;
}
.hero-tags li {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(240, 240, 240, 0.02);
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

/* composição visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 520px;
}

.orb {
  position: absolute;
  top: 50%;
  right: -160px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 207, 0, 0.55), rgba(255, 207, 0, 0.12) 46%, transparent 70%);
  filter: blur(34px);
  transform: translateY(-50%);
  animation: orb 9s ease-in-out infinite;
  pointer-events: none;
}

.ring {
  position: absolute;
  top: 50%;
  right: -84px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(255, 207, 0, 0.18);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.specimen {
  position: relative;
  z-index: 2;
  width: min(100%, 400px);
  padding: 26px;
  border: 1px solid rgba(240, 240, 240, 0.18);
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(38, 38, 38, 0.82), rgba(12, 12, 12, 0.66));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: rotate(-1.2deg);
  transition: transform 0.6s var(--ease);
}
.specimen:hover {
  transform: rotate(0deg);
}

.specimen__top,
.specimen__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.5);
}

.specimen__logo {
  width: 100%;
  height: auto;
  margin: 1.5rem 0 1.2rem;
}

.specimen__middle {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid var(--line);
}
.specimen__type {
  font-family: var(--display);
  font-weight: 600;
  font-size: 5.4rem;
  line-height: 0.78;
  letter-spacing: -0.02em;
  color: var(--light);
}
.swatches {
  display: flex;
  gap: 0.42rem;
  padding-bottom: 0.3rem;
}
.swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.25);
}
.swatch--yellow {
  background: var(--yellow);
}
.swatch--graphite {
  background: var(--graphite);
  border-color: rgba(240, 240, 240, 0.18);
}
.swatch--light {
  background: var(--light);
}

.specimen__fonts {
  margin-top: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.specimen__fonts span:first-child {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--light);
}
.specimen__fonts span:last-child {
  font-family: var(--body);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.specimen__foot {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.hero-quote {
  position: absolute;
  top: -26px;
  right: 4px;
  z-index: 3;
  width: 64px;
  height: auto;
  transform: rotate(8deg);
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45));
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  z-index: 2;
  padding-block: 0.95rem;
  border-block: 1px solid var(--line);
  background: rgba(10, 10, 10, 0.4);
  overflow: hidden;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee span {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(240, 240, 240, 0.7);
}
.marquee img {
  width: 19px;
  height: auto;
  opacity: 0.85;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}

/* ---------- Seções ---------- */
.section {
  position: relative;
  padding-block: clamp(5rem, 10vw, 9rem);
}
.section--alt {
  background: linear-gradient(180deg, #0c0c0c, #0a0a0a);
  border-block: 1px solid var(--line);
}

.section-head {
  margin-bottom: clamp(2.8rem, 5vw, 4.5rem);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--yellow);
}
.kicker span {
  color: var(--muted-2);
}
.kicker .kicker__num {
  color: inherit;
}

.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.3rem, 5.4vw, 4.6rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.muted-word {
  color: #7a7a7a;
}

.section-head--split {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 340px);
  align-items: end;
  gap: clamp(1.5rem, 5vw, 4rem);
}
.section-intro {
  padding-left: 1.2rem;
  border-left: 1px solid rgba(255, 207, 0, 0.45);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  text-wrap: pretty;
}

/* ---------- Manifesto ---------- */
.manifesto {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
}

.quote-mark {
  width: 42px;
  height: auto;
  margin-bottom: 1.2rem;
}

.pullquote p {
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--light);
  text-wrap: pretty;
}

.manifesto__text {
  display: grid;
  gap: 1rem;
  max-width: 62ch;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.audience {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface), #0f0f0f);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.audience__label {
  margin-bottom: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
}
.audience__list li {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding-block: 1rem;
  border-top: 1px solid var(--line);
  color: var(--light);
  font-size: 0.95rem;
  line-height: 1.5;
}
.audience__list span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: var(--yellow);
}
.audience__note {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.65;
}

/* ---------- Serviços ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--line);
  overflow: hidden;
}

.service {
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--bg-2);
  transition: background 0.35s;
}
.service:hover {
  background: #141414;
}

.service__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.service__num {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--muted-2);
}
.service__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--yellow);
}
.service__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service h3 {
  margin-bottom: 0.9rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.55rem;
  line-height: 1;
  text-transform: uppercase;
}

.service p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service__list {
  display: grid;
  gap: 0.55rem;
  margin: 1.4rem 0 1.6rem;
}
.service__list li {
  position: relative;
  padding-left: 1.1rem;
  color: rgba(240, 240, 240, 0.78);
  font-size: 0.88rem;
}
.service__list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--yellow);
}

.service__note {
  margin-bottom: 1.2rem;
  color: #8f8f8f !important;
  font-size: 0.74rem !important;
  line-height: 1.55 !important;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--light);
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.2s;
}
.link-arrow .ico {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s;
}
.link-arrow:hover {
  color: var(--yellow);
}
.link-arrow:hover .ico {
  transform: translateX(4px);
}

/* ---------- Pacotes ---------- */
.packages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.package {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: clamp(1.4rem, 2.4vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(165deg, #151515, #0e0e0e);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.package:hover {
  border-color: rgba(255, 207, 0, 0.4);
  transform: translateY(-5px);
}

.package__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 24px;
}
.package__level {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.package__mark {
  width: 24px;
  height: auto;
}

.package h3 {
  margin-top: 2.2rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  line-height: 1;
  text-transform: uppercase;
}

.package__tagline {
  margin-top: 0.5rem;
  color: var(--yellow);
  font-size: 0.85rem;
  font-weight: 500;
}

.package__text {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.package__foot {
  margin-top: auto;
  padding-top: 1.4rem;
}
.package__price {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-bottom: 0.8rem;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--light);
}
.package__price-note {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.package .link-arrow {
  padding-top: 0;
  border-top: 0;
  font-size: 0.8rem;
}

.package--featured {
  border-color: var(--yellow);
  background: var(--yellow);
  color: #0a0a0a;
}
.package--featured:hover {
  border-color: #0a0a0a;
}
.package--featured .package__level,
.package--featured .package__price-note {
  color: rgba(10, 10, 10, 0.7);
}
.package--featured .package__price {
  color: #0a0a0a;
}
.package--featured .package__tagline {
  color: #0a0a0a;
  font-weight: 600;
}
.package--featured .package__text {
  color: rgba(10, 10, 10, 0.72);
}
.package--featured .link-arrow {
  color: #0a0a0a;
}
.package--featured .link-arrow:hover {
  color: #0a0a0a;
  opacity: 0.7;
}

.package__badge {
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  background: #0a0a0a;
  color: var(--yellow);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.packages__note {
  margin-top: 1.5rem;
  color: var(--muted-2);
  font-size: 0.82rem;
  text-align: right;
}

/* ---------- Portfólio ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
}

.project {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(165deg, #151515, #0e0e0e);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.project:hover {
  border-color: rgba(255, 207, 0, 0.4);
  transform: translateY(-5px);
}

.project--wide {
  grid-column: 1 / -1;
}

.project__media {
  --pad: clamp(1.6rem, 4vw, 3.2rem);
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  padding: 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 207, 0, 0.07), transparent 62%),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(240, 240, 240, 0.035) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(240, 240, 240, 0.035) 39px 40px),
    #0d0d0d;
}
.project--wide .project__media {
  aspect-ratio: 21 / 8;
}

.project__logo {
  position: absolute;
  top: var(--pad);
  left: var(--pad);
  width: calc(100% - 2 * var(--pad));
  height: calc(100% - 2 * var(--pad));
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}
.project:hover .project__logo {
  transform: scale(1.04);
}

.project__fallback {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted-2);
}

.project__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.3rem, 2.6vw, 1.9rem);
}

.project__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.project__index {
  color: var(--yellow);
}

.project h3 {
  margin-top: 0.9rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1;
  text-transform: uppercase;
}

.project__text {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.project__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
.project__tags li {
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.project__link {
  margin-top: 1.2rem;
  padding-top: 0;
  border-top: 0;
  font-size: 0.8rem;
}

.project__open {
  appearance: none;
  -webkit-appearance: none;
  margin-top: 1.2rem;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}
.project__open + .project__link {
  margin-top: 0.6rem;
}

/* ---------- Contato ---------- */
.contact {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 8rem);
  background: var(--yellow);
  color: #0a0a0a;
  overflow: hidden;
}

.contact__quotes {
  position: absolute;
  top: -10%;
  right: -4%;
  width: min(52vw, 640px);
  opacity: 0.07;
  pointer-events: none;
}
.contact__quotes img {
  width: 100%;
  height: auto;
}

.contact__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
}

.kicker--dark {
  color: #0a0a0a;
}
.kicker--dark::before {
  background: #0a0a0a;
}
.kicker--dark span {
  color: rgba(10, 10, 10, 0.72);
}

.contact h2 {
  margin: 1rem 0 1.2rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5.8vw, 5rem);
  line-height: 0.88;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.contact__copy > p:not(.kicker) {
  max-width: 46ch;
  margin-bottom: 1.8rem;
  color: rgba(10, 10, 10, 0.72);
  line-height: 1.7;
}

.contact__card {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid rgba(10, 10, 10, 0.16);
  border-radius: var(--radius);
  background: rgba(10, 10, 10, 0.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.contact__label {
  margin-bottom: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.7);
}
.contact__phone {
  display: block;
  margin-bottom: 1.8rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  letter-spacing: 0.01em;
}

.socials li {
  border-top: 1px solid rgba(10, 10, 10, 0.14);
}
.socials a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  transition: opacity 0.2s;
}
.socials a:hover {
  opacity: 0.6;
}
.socials__handle {
  color: rgba(10, 10, 10, 0.72);
  font-size: 0.8rem;
}
.contact__note {
  margin-top: 1.2rem;
  color: rgba(10, 10, 10, 0.7);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

/* ---------- Footer ---------- */
.site-footer {
  padding-top: clamp(3.5rem, 7vw, 6rem);
  border-top: 1px solid var(--line);
  background: #080808;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand img {
  width: auto;
  height: 22px;
  margin-bottom: 1.2rem;
}
.footer-brand p {
  max-width: 30ch;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-title {
  margin-bottom: 1rem;
  color: var(--muted-2);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.footer-nav a {
  display: block;
  padding-block: 0.3rem;
  color: rgba(240, 240, 240, 0.72);
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  padding-right: 5.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.75rem;
}
.footer-slogan {
  color: rgba(240, 240, 240, 0.5);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-slogan span {
  color: var(--yellow);
}

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed;
  right: clamp(16px, 2vw, 26px);
  bottom: clamp(16px, 2vw, 26px);
  z-index: 60;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--yellow);
  color: #0a0a0a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 207, 0, 0.35);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.whatsapp-float svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 0 6px rgba(255, 207, 0, 0.12);
}

/* ---------- Animações ---------- */
/* atraso da revelação (substitui style="--d:..." inline) */
.d-1 { --d: 0.08s; }
.d-2 { --d: 0.1s; }
.d-3 { --d: 0.12s; }
.d-4 { --d: 0.16s; }
.d-5 { --d: 0.2s; }
.d-6 { --d: 0.24s; }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.hero-copy > * {
  animation: rise 0.9s var(--ease) both;
}
.hero-copy > *:nth-child(2) {
  animation-delay: 0.08s;
}
.hero-copy > *:nth-child(3) {
  animation-delay: 0.16s;
}
.hero-copy > *:nth-child(4) {
  animation-delay: 0.24s;
}
.hero-copy > *:nth-child(5) {
  animation-delay: 0.32s;
}
.hero-visual {
  animation: fade-in 1.2s 0.25s var(--ease) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(255, 207, 0, 0.1);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(255, 207, 0, 0.05);
  }
}
@keyframes orb {
  0%,
  100% {
    transform: translateY(-50%) scale(1);
  }
  50% {
    transform: translateY(-50%) scale(1.06);
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  }
  .specimen {
    width: min(100%, 360px);
  }
  .specimen__type {
    font-size: 4.6rem;
  }
  .packages {
    grid-template-columns: repeat(2, 1fr);
  }
  .package {
    min-height: 340px;
  }
}

@media (max-width: 980px) {
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 120;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.1rem;
    width: min(86vw, 400px);
    height: 100dvh;
    padding: 6rem 2rem 2rem;
    border-left: 1px solid var(--line);
    background: #0b0b0b;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease), visibility 0s 0.45s;
    visibility: hidden;
  }
  .nav.is-open {
    transform: none;
    transition: transform 0.45s var(--ease), visibility 0s;
    visibility: visible;
  }
  .nav-link {
    font-family: var(--display);
    font-size: 1.7rem;
    line-height: 1;
    text-transform: uppercase;
    color: var(--light);
  }
  .nav-link::after {
    display: none;
  }
  .nav-cta {
    display: inline-flex;
    margin-top: 1rem;
  }
  .menu-toggle {
    position: relative;
    z-index: 130;
  }
  .site-header.menu-open {
    background: transparent;
    border-color: transparent;
    backdrop-filter: none;
  }

  .hero {
    min-height: auto;
    padding-top: 122px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-visual {
    justify-content: flex-start;
    min-height: auto;
    padding-block: 1rem;
  }
  .orb {
    right: -120px;
  }
  .ring {
    right: -60px;
  }
  .hero-title {
    font-size: clamp(2.9rem, 10vw, 6rem);
  }

  .manifesto {
    grid-template-columns: 1fr;
  }
  .services {
    grid-template-columns: 1fr;
  }
  .section-head--split {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .contact__inner {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand img {
    height: 18px;
  }
  .header-inner {
    height: 68px;
  }

  .hero-title {
    font-size: clamp(2rem, 10.8vw, 4rem);
  }
  .hero-actions .btn {
    flex: 1 1 auto;
  }
  .specimen {
    padding: 20px;
  }
  .specimen__type {
    font-size: 4rem;
  }
  .hero-quote {
    width: 50px;
    top: -20px;
  }

  .packages {
    grid-template-columns: 1fr;
  }
  .package {
    min-height: 0;
  }
  .packages__note {
    text-align: left;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .project--wide {
    grid-column: auto;
  }
  .project--wide .project__media {
    aspect-ratio: 16 / 10;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

/* ---------- Variações de cor (efeito GIF) ---------- */
.project__variantes,
.project-modal__variantes {
  position: absolute;
  top: var(--pad, 1.6rem);
  left: var(--pad, 1.6rem);
  width: calc(100% - 2 * var(--pad, 1.6rem));
  height: calc(100% - 2 * var(--pad, 1.6rem));
}
.project__variante,
.project-modal__variante {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  animation: variante-fade 4s ease-in-out infinite;
}
@keyframes variante-fade {
  0% { opacity: 0; }
  8% { opacity: 1; }
  84% { opacity: 1; }
  100% { opacity: 0; }
}
.project-modal__variantes {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 220px;
}
.project-modal__item--variantes img.project-modal__variante {
  height: 100%;
}

/* ---------- Popup do portfólio ---------- */
.project--clickable {
  cursor: pointer;
}
.project--clickable:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
}
.project-modal[hidden] {
  display: none;
}
.project-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.project-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  max-height: 90vh;
  overflow: auto;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: linear-gradient(165deg, #161616, #0b0b0b);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
}
.project-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--light);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.project-modal__close:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: rgba(255, 207, 0, 0.08);
}
.project-modal__kicker {
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
}
.project-modal__dialog h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1;
  text-transform: uppercase;
}
.project-modal__meta {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.project-modal__text {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  text-wrap: pretty;
}
.project-modal__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 1.4rem;
}
.project-modal__item {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #0d0d0d;
}
.project-modal__item img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: radial-gradient(circle at 50% 42%, rgba(255, 207, 0, 0.06), transparent 62%), #0d0d0d;
  padding: 0.8rem;
}
.project-modal__item figcaption {
  padding: 0.6rem 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
body.modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .project-modal__gallery {
    grid-template-columns: 1fr;
  }
  .project-modal__item img {
    height: 180px;
  }
}

/* ---------- Página 404 ---------- */
.page-404 {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: clamp(7rem, 14vh, 9rem) 0 clamp(4rem, 8vh, 6rem);
  text-align: center;
}
.page-404__inner {
  max-width: 52ch;
}
.page-404__code {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(5rem, 16vw, 9rem);
  line-height: 0.8;
  letter-spacing: -0.02em;
  color: var(--yellow);
}
.page-404 h1 {
  margin-top: 1.4rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1;
  text-transform: uppercase;
}
.page-404 p:not(.page-404__code) {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.page-404__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 2rem;
}
.page-404__foot {
  margin-top: 2.6rem;
  color: var(--muted-2);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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