/* Tavin Digital — portfolio
   Direção: o alfaiate digital. Terno escuro, latão do relógio, corte preciso.
   Tokens: breu (fundo), carvão (superfícies), latão (dourado principal),
   ouro (destaque raro), osso (texto), fumaça (texto secundário). */

@font-face {
  font-family: "Clash Display";
  src: url("../assets/fonts/clash-display-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Clash Display";
  src: url("../assets/fonts/clash-display-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "General Sans";
  src: url("../assets/fonts/general-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "General Sans";
  src: url("../assets/fonts/general-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "General Sans";
  src: url("../assets/fonts/general-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("../assets/fonts/geist-mono.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
}

:root {
  --breu: #0b0a08;
  --carvao: #15130f;
  --carvao-2: #1e1b16;
  --latao: #f2c418;
  --ouro: #f9e231;
  --ouro-claro: #fff7b0;
  --ouro-gradiente: linear-gradient(100deg, #fff7b0 0%, #f9f316 32%, #f6d518 62%, #e9ae0c 100%);
  --ouro-brilho: rgba(249, 227, 49, 0.28);
  --osso: #f0ebe1;
  --osso-2: #d8d1c4;
  --fumaca: #a59e92;
  --linha: rgba(240, 235, 225, 0.12);
  --linha-forte: rgba(242, 196, 24, 0.55);

  --display: "Clash Display", "Helvetica Neue", Arial, sans-serif;
  --texto: "General Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --tshadow: 0 1px 2px rgba(5, 5, 4, 0.9), 0 4px 14px rgba(5, 5, 4, 0.6), 0 12px 44px rgba(5, 5, 4, 0.65);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 11vw, 140px);
  --header-h: 68px;
  --raio: 6px;
}

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

html {
  overflow-x: hidden;
  overflow-x: clip;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--breu);
  color: var(--osso);
  font-family: var(--texto);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3, p, ul, ol, dl, dd, blockquote, figure {
  margin: 0;
}

h1, h2, h3 {
  text-wrap: balance;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

::selection {
  background: var(--latao);
  color: var(--breu);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 400;
  padding: 10px 16px;
  background: var(--latao);
  color: var(--breu);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

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

#conteudo:focus {
  outline: none;
}

/* ---------- Ambiente fixo: grão e brilho de latão bem leve ---------- */

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: var(--breu);
}

.ambient::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.ambient-glow {
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  left: -20vmax;
  top: -20vmax;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242, 196, 24, 0.09), rgba(242, 196, 24, 0));
  animation: deriva 72s ease-in-out infinite alternate;
  animation-delay: -18s;
}

@keyframes deriva {
  0% { transform: translate(0, 0); }
  50% { transform: translate(60vw, 40vh); }
  100% { transform: translate(20vw, 90vh); }
}

body.paused *,
body.paused *::before,
body.paused *::after {
  animation-play-state: paused !important;
}

/* ---------- Cursor ---------- */

.cursor {
  display: none;
}

.has-cursor .cursor {
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 350;
  pointer-events: none;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.cursor.is-visible .cursor-dot,
.cursor.is-visible .cursor-ring {
  opacity: 1;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--ouro);
}

.cursor-ring {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
}

.cursor-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(249, 227, 49, 0.55);
  border-radius: 50%;
  transition: transform 0.45s var(--ease), background-color 0.45s var(--ease), border-color 0.45s var(--ease);
}

.cursor.is-link .cursor-ring::before {
  transform: scale(1.6);
  background: rgba(249, 227, 49, 0.1);
  border-color: rgba(249, 227, 49, 0.8);
}

.cursor.is-label .cursor-ring::before {
  transform: scale(2.3);
  background: var(--latao);
  border-color: var(--latao);
}

.cursor.is-label .cursor-dot {
  opacity: 0;
}

.cursor-label {
  position: relative;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--breu);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.3s var(--ease), transform 0.45s var(--ease);
}

.cursor.is-label .cursor-label {
  opacity: 1;
  transform: none;
}

.cursor.is-down .cursor-ring::before {
  transform: scale(0.8);
}

.has-cursor,
.has-cursor a,
.has-cursor button,
.has-cursor [role="button"] {
  cursor: none;
}

/* ---------- Botões ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
  will-change: transform;
}

.btn::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  z-index: -1;
  width: 150%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, 0) scale(0);
  transition: transform 0.65s var(--ease);
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: translate(-50%, -55%) scale(1);
}

.btn-label {
  display: block;
  height: 1.4em;
  line-height: 1.4;
  overflow: hidden;
}

.btn-roll {
  display: block;
  text-shadow: 0 1.4em 0 currentColor;
  transition: transform 0.6s var(--ease);
}

.btn:hover .btn-roll,
.btn:focus-visible .btn-roll {
  transform: translateY(-1.4em);
}

.btn-small {
  min-height: 42px;
  padding: 9px 18px;
  font-size: 0.875rem;
}

.btn-gold {
  background: var(--ouro-gradiente);
  color: var(--breu);
  box-shadow: 0 10px 30px -12px var(--ouro-brilho), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-gold::before {
  background: var(--ouro-claro);
}

.btn-ghost {
  border-color: var(--linha-forte);
  background: rgba(11, 10, 8, 0.25);
  color: var(--osso);
}

.btn-ghost::before {
  background: var(--osso);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--breu);
  border-color: var(--osso);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.link-button {
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ouro);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  cursor: pointer;
}

.link-button:hover {
  color: var(--osso);
}

/* ---------- Cabeçalho ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.5s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(11, 10, 8, 0.82);
  border-bottom-color: var(--linha);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header.is-hidden:not(.is-open) {
  transform: translateY(-100%);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--ouro-gradiente);
  transform-origin: left;
  transform: scaleX(0);
}

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
  line-height: 1;
}

.wordmark-name {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--osso);
}

.wordmark-tag {
  padding-left: 10px;
  border-left: 1px solid var(--linha-forte);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--fumaca);
}

.nav-list {
  display: flex;
  gap: 28px;
}

.nav-list a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fumaca);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--latao);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}

.nav-list a:hover,
.nav-list a.is-current {
  color: var(--osso);
}

.nav-list a:hover::after,
.nav-list a.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--linha-forte);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 0 auto;
  background: var(--osso);
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease);
}

.menu-toggle-bars {
  position: relative;
}

.menu-toggle-bars::before,
.menu-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }

.menu-toggle[aria-expanded="true"] .menu-toggle-bars {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
}

.hero-stage {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(62vw, 980px);
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 14%;
  will-change: transform;
}

/* Entrada da foto só com CSS: aparece assim que carrega, sem esperar o JavaScript. */
@media (prefers-reduced-motion: no-preference) {
  .hero-photo {
    animation: foto-entra 2.2s var(--ease) both;
  }
}

@keyframes foto-entra {
  from { transform: scale(1.1); }
  to { transform: none; }
}

/* Camadas de leitura: escurecimento fixo + escurecimento que aumenta conforme o texto aparece. */
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--breu) 0%, rgba(11, 10, 8, 0.7) 22%, rgba(11, 10, 8, 0.15) 55%, rgba(11, 10, 8, 0) 80%),
    linear-gradient(0deg, var(--breu) 0%, rgba(11, 10, 8, 0) 26%);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 22% 55%, rgba(5, 5, 4, 0.72) 0%, rgba(5, 5, 4, 0.4) 50%, rgba(5, 5, 4, 0) 78%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: var(--header-h);
  text-shadow: var(--tshadow);
}

.hero-inner .btn {
  text-shadow: none;
}

.hero-name {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--latao);
  margin-bottom: 22px;
}

.hero-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.6rem, 5.1vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 13ch;
}

.hero-gold,
.ouro {
  background: var(--ouro-gradiente);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px var(--ouro-brilho));
}

.hero-sub {
  max-width: 36ch;
  margin-top: 26px;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--osso-2);
}

.hero .actions {
  margin-top: 32px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--linha);
  max-width: 34rem;
}

.hero-facts dt {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-facts dd {
  font-size: 0.85rem;
  color: var(--fumaca);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--fumaca);
  text-shadow: var(--tshadow);
}

.scroll-cue-line {
  position: relative;
  width: 1px;
  height: 44px;
  overflow: hidden;
  background: var(--linha);
}

.scroll-cue-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--latao);
  animation: pulso-cue 2.4s var(--ease-in-out) infinite;
  animation-delay: -0.6s;
}

@keyframes pulso-cue {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* Texto dividido pelo SplitText */
.split-line {
  overflow: clip;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}

.split-word {
  display: inline-block;
  will-change: transform, opacity;
}

/* Some até a animação assumir, só quando ela vai rodar (veja o script no <head>). */
.js-anim [data-hero-kicker],
.js-anim [data-hero-title],
.js-anim [data-hero-sub],
.js-anim [data-hero-cta],
.js-anim [data-hero-facts] {
  opacity: 0;
}

.js-anim [data-split] {
  visibility: hidden;
}

/* ---------- Seções ---------- */

.section {
  position: relative;
  padding-block: var(--section);
}

.section-alt {
  background: var(--carvao);
}

.section-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 17ch;
}

.lead {
  max-width: 44ch;
  margin-top: 24px;
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: var(--osso-2);
}

.prose {
  max-width: 62ch;
  margin-top: 20px;
  color: var(--fumaca);
}

.prose p + p {
  margin-top: 14px;
}

/* Trajetória */

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}

.split-lead {
  min-width: 0;
}

.timeline-wrap {
  position: relative;
}

.timeline-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--linha);
}

.timeline-line span {
  position: absolute;
  inset: 0;
  background: var(--latao);
  transform-origin: top;
}

.timeline {
  counter-reset: fase;
}

.timeline li {
  position: relative;
  padding: 0 0 38px 40px;
  counter-increment: fase;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "0" counter(fase);
  position: absolute;
  left: -15px;
  top: 2px;
  width: 30px;
  padding: 4px 0;
  background: var(--breu);
  font-family: var(--mono);
  font-size: 0.8rem;
  text-align: center;
  color: var(--latao);
}

.timeline h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.timeline p {
  margin-top: 6px;
  color: var(--fumaca);
}

/* Filosofia */

.manifesto {
  position: relative;
  padding-bottom: var(--section);
}

.manifesto-photo {
  position: relative;
  display: block;
  height: clamp(440px, 76vh, 760px);
  overflow: hidden;
}

.manifesto-photo img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: 50% 30%;
  will-change: transform;
}

.manifesto-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, var(--breu) 2%, rgba(11, 10, 8, 0.2) 45%, rgba(11, 10, 8, 0.55) 100%),
    linear-gradient(90deg, rgba(11, 10, 8, 0.85) 0%, rgba(11, 10, 8, 0) 60%);
}

.manifesto-inner {
  position: relative;
  margin-top: clamp(-280px, -22vw, -150px);
  text-shadow: var(--tshadow);
}

.manifesto-quote {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 15ch;
}

.manifesto-text {
  max-width: 50ch;
  margin-top: 24px;
  color: var(--osso-2);
}

.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.principles li {
  position: relative;
  padding-top: 18px;
  font-size: 0.97rem;
  color: var(--fumaca);
}

.principles strong {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--osso);
}

/* Serviços */

.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: clamp(32px, 6vw, 80px);
  margin-top: 56px;
}

.services li {
  position: relative;
  padding: 28px 0;
}

.services h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  transition: color 0.4s var(--ease), transform 0.5s var(--ease);
}

.services li:hover h3 {
  color: var(--ouro);
  transform: translateX(6px);
}

.services p {
  margin-top: 8px;
  max-width: 46ch;
  color: var(--fumaca);
}

.tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--linha);
}

.tools-title {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--latao);
}

.tools-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tools-list li {
  padding: 6px 14px;
  border: 1px solid var(--linha);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--fumaca);
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease);
}

.tools-list li:hover {
  border-color: var(--linha-forte);
  color: var(--osso);
}

/* Processo */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
  counter-reset: passo;
}

.steps li {
  position: relative;
  counter-increment: passo;
  padding-top: 22px;
}

.steps li::before {
  content: "0" counter(passo);
  display: block;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--latao);
}

.steps h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.steps p {
  margin-top: 6px;
  color: var(--fumaca);
}

/* Projetos */

.project-featured {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  margin-top: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--linha);
}

.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 32px;
  margin-top: 56px;
}

.project {
  min-width: 0;
}

.project-shot {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  background: var(--carvao);
  aspect-ratio: 16 / 10;
  max-width: 100%;
}

.project-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.9s var(--ease);
}

.project:hover .project-shot img {
  transform: scale(1.045);
}

.project-body {
  padding-top: 20px;
}

.project-featured .project-body {
  padding-top: 0;
}

.project-kind {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--latao);
}

.project h3 {
  margin-top: 8px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.project-featured h3 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}

.project-body > p:not(.project-kind) {
  margin-top: 8px;
  color: var(--fumaca);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.tags li {
  padding: 3px 10px;
  border: 1px solid var(--linha);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--fumaca);
}

.project-link {
  position: relative;
  display: inline-block;
  margin-top: 16px;
  font-weight: 500;
  color: var(--ouro);
  text-decoration: none;
}

.project-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.project-link:hover::after {
  transform-origin: right;
  transform: scaleX(0.25);
}

.project-link:hover {
  color: var(--osso);
}

/* Depoimentos */

.numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-block: 30px;
  border-block: 1px solid var(--linha);
}

.numbers dt {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  background: var(--ouro-gradiente);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.numbers dd {
  margin-top: 8px;
  color: var(--fumaca);
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 32px;
  margin: 56px 0 48px;
}

.quotes li {
  padding-left: 20px;
  border-left: 1px solid var(--latao);
}

.quotes blockquote p {
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--osso);
}

.quotes blockquote p::before { content: "“"; }
.quotes blockquote p::after { content: "”"; }

.quote-who {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--fumaca);
}

/* Contato */

.contact {
  position: relative;
  padding-block: var(--section);
  overflow: hidden;
}

.contact-photo {
  position: absolute;
  inset: -10% 0;
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 25%;
  will-change: transform;
}

.contact-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 10, 8, 0.74) 0%, rgba(11, 10, 8, 0.9) 55%, var(--breu) 100%),
    linear-gradient(0deg, var(--breu) 0%, rgba(11, 10, 8, 0) 30%, rgba(11, 10, 8, 0) 70%, var(--breu) 100%);
}

.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(320px, 440px);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.contact-lead {
  min-width: 0;
  text-shadow: var(--tshadow);
}

.contact-lead .btn {
  text-shadow: none;
}

.contact-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.8rem, 6.6vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 10ch;
}

.contact-lead > p {
  max-width: 46ch;
  margin: 24px 0 32px;
  color: var(--osso-2);
}

.form {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  background: rgba(21, 19, 15, 0.94);
}

.form-title {
  margin-bottom: 20px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

.field + .field {
  margin-top: 16px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid rgba(240, 235, 225, 0.4);
  border-radius: var(--raio);
  background: var(--breu);
  font-size: 1rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--latao);
  outline: none;
  box-shadow: 0 0 0 3px rgba(242, 196, 24, 0.25);
}

.form-note {
  margin: 16px 0 20px;
  font-size: 0.82rem;
  color: var(--fumaca);
}

.form .btn {
  width: 100%;
}

/* Rodapé */

.site-footer {
  padding-block: 56px 32px;
  border-top: 1px solid var(--linha);
  font-size: 0.92rem;
  color: var(--fumaca);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}

.footer-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--osso);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--osso);
  text-decoration: underline;
}

.footer-copy {
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 0.75rem;
}

/* Prints dos alunos */

.proofs {
  width: min(1100px, calc(100vw - 24px));
  max-height: calc(100svh - 24px);
  padding: 0;
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  background: var(--carvao);
  color: var(--osso);
  overflow: hidden;
}

.proofs[open] {
  display: flex;
  flex-direction: column;
  animation: abrir-dialogo 0.5s var(--ease);
}

@keyframes abrir-dialogo {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.proofs::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.proofs-head {
  position: relative;
  padding: 24px 72px 16px 24px;
}

.proofs-head h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.proofs-head p {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--fumaca);
}

.proofs-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--linha-forte);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: transform 0.5s var(--ease), background-color 0.3s var(--ease);
}

.proofs-close:hover {
  transform: rotate(90deg);
  background: rgba(240, 235, 225, 0.06);
}

.proofs-track {
  display: flex;
  gap: 16px;
  padding: 8px 24px 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  min-height: 0;
  flex: 1;
}

.proofs-track li {
  flex: 0 0 auto;
  scroll-snap-align: start;
  scroll-margin-left: 24px;
}

.proofs-track img {
  width: auto;
  height: min(62svh, 620px);
  border-radius: var(--raio);
  border: 1px solid var(--linha);
}

.proofs-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--linha);
}

.proofs-count {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--fumaca);
}

/* Aviso de cookies */

.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 150;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: 760px;
  margin-inline: auto;
  padding: 16px 20px;
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  background: var(--carvao-2);
  font-size: 0.9rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.consent[hidden] {
  display: none;
}

.consent p {
  flex: 1 1 320px;
  color: var(--fumaca);
}

.consent-actions {
  display: flex;
  gap: 8px;
}

/* Páginas internas */

.prose-page {
  max-width: 760px;
}

.prose-page h2 {
  margin: 40px 0 10px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.prose-page p,
.prose-page li {
  color: var(--osso-2);
}

.prose-page ul {
  padding-left: 1.2em;
  list-style: disc;
}

.prose-page li + li {
  margin-top: 8px;
}

.prose-page a {
  color: var(--ouro);
}

.page-center {
  min-height: 100svh;
  display: flex;
  align-items: center;
}

/* ---------- Responsivo ---------- */

@media (max-width: 1080px) {
  .projects {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 900px) {
  .nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-header.is-open .nav {
    display: block;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--breu);
    border-bottom: 1px solid var(--linha);
  }

  .site-header.is-open .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .site-header.is-open .nav-list a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--linha);
    font-family: var(--display);
    font-weight: 500;
    font-size: 1.6rem;
    letter-spacing: -0.02em;
    color: var(--osso);
  }

  .site-header.is-open .nav-list a::after {
    display: none;
  }

  .split,
  .project-featured,
  .contact-inner,
  .services {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  /* No celular a foto vira o fundo inteiro do hero e o texto fica embaixo, sobre o escurecimento. */
  .hero-stage {
    align-items: flex-end;
  }

  .hero-photo {
    inset: 0;
    width: 100%;
  }

  .hero-photo img {
    object-position: 50% 8%;
  }

  .hero-photo::after {
    background:
      linear-gradient(0deg, var(--breu) 4%, rgba(11, 10, 8, 0.82) 38%, rgba(11, 10, 8, 0.2) 66%, rgba(11, 10, 8, 0.45) 100%);
  }

  .hero-scrim {
    background: radial-gradient(ellipse 120% 60% at 50% 85%, rgba(5, 5, 4, 0.6) 0%, rgba(5, 5, 4, 0) 75%);
  }

  .hero-inner {
    padding-bottom: 72px;
  }

  .hero-name {
    margin-bottom: 14px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 10.5vw, 3.3rem);
    max-width: 11ch;
  }

  .hero-sub {
    margin-top: 16px;
  }

  .hero .actions {
    margin-top: 22px;
  }

  .hero-facts {
    display: none;
  }

  .scroll-cue {
    bottom: 14px;
  }

  .scroll-cue-line {
    height: 28px;
  }

  .actions .btn {
    flex: 1 1 100%;
  }

  .projects,
  .quotes,
  .numbers,
  .principles {
    grid-template-columns: 1fr;
  }

  .principles {
    gap: 20px;
  }

  .wordmark-tag {
    font-size: 0.74rem;
  }

  .proofs-track img {
    height: min(60svh, 560px);
  }
}

@media (max-height: 640px) and (min-width: 761px) {
  .hero-facts,
  .scroll-cue {
    display: none;
  }
}

@media (pointer: coarse) {
  .btn {
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .scroll-cue {
    display: none;
  }
}

/* A máscara das linhas cortaria a sombra do texto em um retângulo; nos títulos animados a leitura vem do escurecimento. */
.hero-title,
.manifesto-quote,
.contact-title {
  text-shadow: none;
}

/* Seções recebem foco pelos links internos; o contorno não precisa aparecer nelas. */
section[tabindex="-1"]:focus {
  outline: none;
}

/* Linha do topo de cada item: desenhada da esquerda para a direita quando o item entra na tela. */
.services li::after,
.steps li::after,
.principles li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--linha);
  transform-origin: left;
  transform: scaleX(var(--draw, 1));
}

.principles li::after {
  background: var(--linha-forte);
}

/* Prints dos projetos em tom neutro, para não quebrar a paleta; a cor volta no hover. */
.project-shot img {
  filter: saturate(0.22) brightness(0.92);
  transition: transform 0.9s var(--ease), filter 0.7s var(--ease);
}

.project:hover .project-shot img,
.project-shot:focus-visible img {
  filter: none;
}

@media (hover: none) {
  .project-shot img {
    filter: saturate(0.6);
  }
}

/* Palavras douradas divididas em spans pelo SplitText: cada palavra recebe o mesmo degradê. */
.hero-gold *,
.ouro * {
  background: var(--ouro-gradiente);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------- Fundo animado (GhostFibers) depois do topo ---------- */

.fibers-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}

.fibers-bg.is-on {
  opacity: 1;
}

/* Leve escurecimento por cima das fibras, para o texto continuar fácil de ler. */
.fibers-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 80% at 50% 50%, rgba(11, 10, 8, 0.18) 0%, rgba(11, 10, 8, 0.42) 100%);
}

/* O topo tem fundo próprio; as seções seguintes deixam as fibras aparecerem. */
.hero-stage {
  background: var(--breu);
}

.section-alt {
  background: rgba(21, 19, 15, 0.5);
}

.ghost-fibers-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

/* ---------- Copy nova: blocos adicionais ---------- */

.kicker {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid var(--linha-forte);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--ouro);
}

.valor-inner {
  max-width: 980px;
}

.valor .section-title {
  max-width: 20ch;
}

.proof-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  font-weight: 500;
  color: var(--osso);
}

.proof-faces img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 12%;
  border: 1px solid var(--linha-forte);
}

.valor .lead {
  max-width: 58ch;
}

.valor-mission {
  max-width: 62ch;
  margin: 22px 0 32px;
  color: var(--fumaca);
}

.impacto .manifesto-text {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
}

.impacto-actions {
  margin-top: 28px;
}

.numbers-4 {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 0;
}

.resultados {
  padding-block: clamp(56px, 8vw, 96px);
}

.steps-6 {
  grid-template-columns: repeat(3, 1fr);
  row-gap: 48px;
}

.section-title-center {
  margin-inline: auto;
  text-align: center;
}

.why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.why li,
.solutions li {
  position: relative;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--linha);
  border-radius: 14px;
  background: rgba(11, 10, 8, 0.62);
  transition: border-color 0.5s var(--ease), transform 0.6s var(--ease);
}

.why li:hover,
.solutions li:hover {
  border-color: var(--linha-forte);
  transform: translateY(-4px);
}

.why li::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: -1px;
  height: 1px;
  background: var(--ouro-gradiente);
}

.why h3,
.solutions h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.why p,
.solutions p {
  margin-top: 12px;
  color: var(--fumaca);
}

.solutions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.solutions-main {
  grid-column: 1 / -1;
  background:
    radial-gradient(ellipse 60% 120% at 100% 50%, rgba(249, 227, 49, 0.12), rgba(249, 227, 49, 0) 70%),
    rgba(11, 10, 8, 0.7) !important;
}

.solutions-main h3 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  max-width: 18ch;
}

.solutions-main p {
  max-width: 56ch;
}

.faith {
  margin-top: 36px;
  padding-left: 20px;
  border-left: 1px solid var(--latao);
}

.faith p {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--osso);
}

.faq-wrap {
  max-width: 900px;
}

.faq {
  display: grid;
  gap: 12px;
  margin-top: 48px;
}

.faq details {
  border: 1px solid var(--linha);
  border-radius: 14px;
  background: rgba(11, 10, 8, 0.66);
  transition: border-color 0.4s var(--ease);
}

.faq details[open] {
  border-color: var(--linha-forte);
}

.faq summary {
  position: relative;
  display: block;
  padding: 22px 64px 22px 24px;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  width: 16px;
  height: 1.5px;
  background: var(--ouro);
  transition: transform 0.45s var(--ease);
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open] summary::after {
  transform: rotate(0deg);
}

.faq details p {
  padding: 0 24px 22px;
  max-width: 64ch;
  color: var(--fumaca);
  animation: faq-abre 0.5s var(--ease);
}

@keyframes faq-abre {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.footer-tag {
  margin: 6px 0 10px;
  max-width: 34ch;
  color: var(--osso-2);
}

/* Botão flutuante de orçamento, aparece depois do topo */
.float-cta {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px 6px 6px;
  border: 1px solid var(--linha-forte);
  border-radius: 999px;
  background: rgba(11, 10, 8, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--osso);
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 14px 40px -14px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), border-color 0.3s var(--ease);
}

.float-cta.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.float-cta:hover {
  border-color: var(--ouro);
}

.float-cta-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ouro-gradiente);
  color: var(--breu);
  font-family: var(--display);
  font-weight: 600;
}

body:has(.consent:not([hidden])) .float-cta {
  bottom: calc(110px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 1080px) {
  .numbers-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-6,
  .why,
  .solutions {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .steps-6,
  .why,
  .solutions {
    grid-template-columns: 1fr;
  }

  .numbers-4 {
    grid-template-columns: 1fr 1fr;
    gap: 28px 18px;
  }

  .numbers-4 dt {
    font-size: 2.6rem;
  }
}

/* ---------- Etapas: faixa dourada que avança com a rolagem ---------- */

.processo .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.track {
  position: relative;
}

.track-line {
  position: absolute;
  left: 21px;
  top: 22px;
  bottom: 22px;
  width: 2px;
  border-radius: 2px;
  background: var(--linha);
  overflow: hidden;
}

.track-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #fff7b0 0%, #f9f316 35%, #f2c418 75%, #e9ae0c 100%);
  box-shadow: 0 0 14px var(--ouro-brilho);
  transform-origin: top;
}

.track-list {
  display: grid;
  gap: clamp(22px, 3.2vh, 34px);
}

.track-step {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.track-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ouro-gradiente);
  color: var(--breu);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  box-shadow: 0 0 0 6px var(--breu), 0 0 22px var(--ouro-brilho);
  transition: background 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}

.track-body h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  padding-top: 8px;
}

.track-body p {
  margin-top: 6px;
  color: var(--fumaca);
  max-width: 50ch;
}

.track-body {
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}

/* Com a animação ligada, as etapas começam apagadas e acendem quando a faixa chega nelas. */
.track.is-live .track-step:not(.is-active) .track-dot {
  background: var(--breu);
  color: var(--fumaca);
  box-shadow: 0 0 0 6px var(--breu), inset 0 0 0 1px var(--linha-forte);
  transform: scale(0.92);
}

.track.is-live .track-step:not(.is-active) .track-body {
  opacity: 0.3;
  transform: translateX(-4px);
}

@media (max-width: 900px) {
  .processo .wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .track-line {
    left: 19px;
  }

  .track-step {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 16px;
  }

  .track-dot {
    width: 40px;
    height: 40px;
  }

  .track-body h3 {
    padding-top: 6px;
  }
}

.processo {
  padding-block: clamp(64px, 7vw, 92px);
}

.processo .track-list {
  gap: clamp(16px, 2.6vh, 28px);
}

.processo .track-body p {
  font-size: 0.97rem;
  line-height: 1.55;
}

.section-cta {
  margin-top: 40px;
}

.section-cta-center {
  justify-content: center;
}

.objetivo-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.objetivo .lead {
  margin-inline: auto;
}

.processo-lead {
  min-width: 0;
}

/* Seletor de idioma no cabeçalho */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--linha);
  border-radius: 999px;
  background: rgba(11, 10, 8, 0.5);
}

.lang-option {
  display: grid;
  place-items: center;
  width: 36px;
  height: 30px;
  border-radius: 999px;
  opacity: 0.55;
  transition: opacity 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.lang-option svg {
  display: block;
  border-radius: 2px;
}

.lang-option:hover {
  opacity: 1;
}

.lang-option.is-current {
  opacity: 1;
  background: rgba(249, 227, 49, 0.12);
  box-shadow: inset 0 0 0 1px var(--linha-forte);
}

@media (max-width: 900px) {
  .lang-switch {
    margin-left: auto;
  }

  .wordmark {
    margin-right: 0;
  }
}
