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

:root {
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
  /* Corpo — ~15–16.5px (Inter lê maior que Space Grotesk no mesmo rem) */
  --text-body: clamp(0.9375rem, 0.16vw + 0.9rem, 1.0625rem);
  --header-offset: 78px;
}

html {
  font-size: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: #ffffff;
  background: #0b0b0b;
}

body {
  font-size: var(--text-body);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Hierarquia: hero / grandes (800); seções (700); subtítulos (600) ── */
.hero-title,
.contact-beam-title,
.index-value-bridge__text,
.overview-featured-headline__main {
  font-family: var(--font-sans);
  font-weight: 800;
}

.section-title,
.project-section-title,
.contact-card__title {
  font-family: var(--font-sans);
  font-weight: 700;
}

.overview-featured-headline__sub,
.hero-subtitle,
.contact-header-lead {
  font-family: var(--font-sans);
  font-weight: 600;
}

@media (max-width: 768px) {
  :root {
    --header-offset: 70px;
  }
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

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

/* Header & navbar — glass; nav type & toggle in white */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  backdrop-filter: blur(22px) saturate(165%);
  background: linear-gradient(
    180deg,
    rgba(30, 30, 34, 0.62) 0%,
    rgba(18, 18, 22, 0.52) 100%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.07),
    0 10px 40px rgba(0, 0, 0, 0.38);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.75rem;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.98rem;
  color: #ffffff;
}

.logo span {
  color: #ffffff;
  font-family: var(--font-mono);
  font-weight: 500;
}

.navbar ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.navbar a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.92);
  opacity: 1;
  position: relative;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.42rem;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 0.18s ease;
}

.navbar a:hover {
  opacity: 1;
  color: #c9a84c;
}

.navbar a:hover::after {
  width: 100%;
  background-color: #c9a84c;
}

.navbar a.is-active {
  color: #c9a84c;
  font-weight: 600;
}

.navbar a.is-active::after {
  width: 100%;
  background-color: #c9a84c;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.42rem;
}

.lang-pill {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: rgba(255, 255, 255, 0.92);
  opacity: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.lang-pill:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.lang-pill.is-active {
  background: #ffffff;
  color: #05070a;
  border-color: #ffffff;
  opacity: 1;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 2.55rem;
  height: 2.55rem;
  padding: 0.18rem 0.22rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.nav-toggle:focus {
  outline: none;
}

.nav-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(245, 245, 245, 0.9);
}

/* Main layout */
.page-content {
  flex: 1;
}

.hero-section {
  padding: 0;
  background: #0b0b0b;
  position: relative;
  overflow: hidden;
}

/* Primeira dobra: título + mapa com espaço confortável; marquee abaixo com intervalo */
.hero-fold {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 0;
  padding: clamp(2.35rem, 6.5vh, 4.35rem) 0 clamp(1.35rem, 3vh, 2.15rem);
  box-sizing: border-box;
}

.hero-fold .container.hero-grid {
  width: 100%;
  margin-top: 0;
  margin-bottom: clamp(1.4rem, 3.2vw, 2.35rem);
}

/* Faixa stats — scroll horizontal; aparece por último na sequência do hero (~após mapa/subtítulo) */
.index-marquee-strip {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 0;
  margin: 0;
  margin-top: clamp(0.35rem, 1vw, 0.65rem);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(10, 10, 14, 0.42);
  opacity: 0;
  animation: indexMarqueeStripReveal 0.45s ease-out 4s forwards;
}

@keyframes indexMarqueeStripReveal {
  from {
    opacity: 0;
    transform: translate3d(0, 0.5rem, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Entre marquee e projetos: mensagem forte — mais baixo, centrada na vertical da faixa, à direita */
.index-value-bridge {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: clamp(17rem, 44vh, 30rem);
  padding-top: clamp(6.25rem, 18vh, 13rem);
  padding-bottom: clamp(2.75rem, 8vh, 6rem);
  box-sizing: border-box;
}

.index-value-bridge__inner {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-inline-end: clamp(0.35rem, 1.25vw, 0.85rem);
}

.index-value-bridge__copy {
  max-width: min(36rem, 100%);
  text-align: right;
}

.index-value-bridge__text {
  margin: 0;
  font-size: clamp(1.85rem, 5.35vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.12;
  color: #f9fafb;
  transition: opacity 2.05s cubic-bezier(0.2, 0.85, 0.35, 1),
    transform 2.05s cubic-bezier(0.2, 0.85, 0.35, 1);
}

html.js-bridge-animate .index-value-bridge:not(.index-value-bridge--visible) .index-value-bridge__text {
  opacity: 0;
  transform: translate3d(0, 1.35rem, 0);
}

html.js-bridge-animate .index-value-bridge--visible .index-value-bridge__text {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 640px) {
  .index-value-bridge {
    min-height: clamp(14rem, 52vh, 22rem);
    padding-top: clamp(4.5rem, 14vh, 9rem);
    padding-bottom: clamp(2rem, 6vh, 4rem);
  }

  .index-value-bridge__inner {
    justify-content: center;
    padding-inline-end: 1.5rem;
    padding-inline-start: 1.5rem;
  }

  .index-value-bridge__copy {
    text-align: center;
  }
}

.index-marquee {
  padding: 0.85rem 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 5%,
    #000 95%,
    transparent
  );
}

.index-marquee__track {
  display: flex;
  width: max-content;
  animation: indexMarqueeLTR 56s linear infinite;
}

@keyframes indexMarqueeLTR {
  from {
    transform: translate3d(-50%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

.index-marquee__list {
  display: flex;
  flex-shrink: 0;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.index-marquee__cell {
  flex-shrink: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.10);
}

.index-marquee-stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.35rem;
  min-width: 10.5rem;
  max-width: 12.5rem;
  min-height: 4.85rem;
  justify-content: center;
  box-sizing: border-box;
}

.index-marquee-stat .about-stat__value {
  font-size: 1.12rem;
}

.index-marquee-stat .about-stat__value--mono {
  font-size: 0.7rem;
  line-height: 1.45;
}

.index-marquee:hover .index-marquee__track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .index-marquee__track {
    animation: none;
    transform: none;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0;
    width: 100%;
    max-width: 56rem;
    margin-inline: auto;
    padding-inline: 0.75rem;
  }

  .index-marquee__track .index-marquee__list:last-of-type {
    display: none;
  }

  .index-marquee__cell {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    flex: 1 1 12rem;
    max-width: 14rem;
  }

  .index-marquee__list {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.35rem 0;
  }

  .index-marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* Canvas do feixe — fica atrás de todo o conteúdo */
#beam-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}


.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: clamp(2.25rem, 4vw, 3.75rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-grid > div:first-child {
  min-width: 0;
  overflow: visible;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.06), 0 12px 40px rgba(0, 0, 0, 0.45);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #ffffff;
}

.hero-title {
  margin: 1.15rem 0 1.05rem;
  font-size: clamp(2.55rem, 7.25vw, 4.85rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
  color: #f9fafb;
  overflow: visible;
}

.hero-title__line {
  display: inline-block;
  vertical-align: baseline;
}

.hero-title__line--1 {
  opacity: 0;
  animation: heroTitleFromLeft 2.85s cubic-bezier(0.08, 0.78, 0.18, 1) forwards;
}

.hero-title__line--2 {
  opacity: 0;
  animation: heroTitleFromRight 2.15s cubic-bezier(0.06, 0.7, 0.15, 1) 1.5s forwards;
}

.hero-title__line--3 {
  opacity: 0;
  animation: heroTitleFromRight 2.15s cubic-bezier(0.06, 0.7, 0.15, 1) 1.5s forwards;
}

/* inline-block exigido: transform em "inline" costuma não mover o texto */
@keyframes heroTitleFromLeft {
  0% {
    opacity: 0;
    transform: translate3d(-3.1em, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroTitleFromRight {
  0% {
    opacity: 0;
    transform: translate3d(3.1em, 0, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title__line--1,
  .hero-title__line--2,
  .hero-title__line--3 {
    opacity: 1;
    animation: none;
    transform: none;
  }

  .hero-deferred {
    opacity: 1;
    animation: none;
    transform: none;
  }

  #contact-header {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .contact-word {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .contact-form-panel--hold {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    visibility: visible !important;
    transition: none !important;
  }

  #overview-featured-heading {
    visibility: visible !important;
  }

  #overview-featured-section #overview-featured-intro {
    transform: none !important;
  }

  #overview-featured-intro .about-word {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }

  #index-featured-projects .card.card--hold {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .index-marquee-strip {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }

  .index-value-bridge__text {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Visão geral: subtítulo + mapa aparecem pouco depois das linhas do título */
.hero-deferred {
  opacity: 0;
  margin-top: 0.5rem;
  animation: heroOverviewRestFade 0.38s ease-out 3.35s forwards;
}

@keyframes heroOverviewRestFade {
  0% {
    opacity: 0;
    transform: translate3d(0, 0.5rem, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.hero-highlight {
  color: #ffffff;
}

.hero-subtitle {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  color: #e5e7eb;
  font-size: 0.92rem;
  line-height: 1.7;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  color: #9ca3af;
  font-size: 0.86rem;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #ffffff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary,
.btn-ghost {
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: #ffffff;
  color: #05070a;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.32);
  color: rgba(255, 255, 255, 0.94);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Overview hero only: botões com degradê dourado */
.hero-actions .btn-primary {
  background: linear-gradient(148deg, #e8c76a 0%, #c9a84c 40%, #8a6a20 80%, #4a3a10 100%);
  color: #1a1200;
  border: 1px solid rgba(220, 185, 90, 0.35);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 235, 140, 0.30),
    0 8px 28px rgba(160, 120, 20, 0.35);
}

.hero-actions .btn-primary:hover {
  background: linear-gradient(148deg, #f0d078 0%, #d4b455 40%, #966e22 80%, #523f12 100%);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 235, 140, 0.35),
    0 14px 36px rgba(160, 120, 20, 0.45);
}

.hero-actions .btn-ghost {
  background: linear-gradient(148deg, #3a3218 0%, #252010 38%, #110e06 72%, #060502 100%);
  border-color: rgba(201, 168, 76, 0.35);
  color: rgba(230, 200, 120, 0.96);
  box-shadow:
    inset 0 1px 0 0 rgba(201, 168, 76, 0.15),
    0 8px 22px rgba(0, 0, 0, 0.48);
}

.hero-actions .btn-ghost:hover {
  border-color: rgba(201, 168, 76, 0.55);
  background: linear-gradient(148deg, #46401e 0%, #2e2812 38%, #161208 72%, #090704 100%);
  color: #e8c76a;
  box-shadow:
    inset 0 1px 0 0 rgba(201, 168, 76, 0.20),
    0 12px 30px rgba(0, 0, 0, 0.52);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 168, 76, 0.35);
  background: linear-gradient(152deg, #3a3218 0%, #252010 36%, #110e06 70%, #060502 100%);
  color: rgba(230, 200, 120, 0.95);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow:
    inset 0 1px 0 0 rgba(201, 168, 76, 0.14),
    0 6px 18px rgba(0, 0, 0, 0.4);
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #e8c76a 0%, #c9a84c 100%);
  color: #1a1200;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
}

.hero-card {
  border-radius: 1.85rem;
  padding: 2rem 2.1rem;
  background: rgba(5, 7, 10, 0.10);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.50),
              inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #e5e7eb;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  font-size: 1.08rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.hero-card-tag {
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 500;
}

.hero-card-body {
  font-size: 1.06rem;
  line-height: 1.74;
  color: #e5e7eb;
}

.hero-card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.45rem;
  padding-top: 1.2rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.22);
}

.hero-card-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.hero-card-bullet {
  margin-top: 0.28rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ffffff;
}

/* Overview — últimos projetos dentro da hero (feixe atrás; mesmo fundo da secção) */
.overview-featured {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 10vw, 6.75rem) 0 5rem;
  background: transparent;
}

.overview-featured .about-cards-artistic {
  margin-top: 0;
}

/* Cards compactos na visão geral: só foto + nome + texto principal; card inteiro é link */
.overview-featured-project-card--link {
  text-decoration: none;
  color: inherit;
  min-height: 0;
  cursor: pointer;
  padding: 0.55rem 0.65rem 0.72rem;
}

.overview-featured-project-card--link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.72);
  outline-offset: 3px;
}

.overview-featured__cards.about-cards-artistic {
  column-gap: clamp(0.55rem, 1.85vw, 1.05rem);
  row-gap: 0.75rem;
  padding-bottom: clamp(2rem, 5vh, 3rem);
}

.overview-featured__cards .about-card--center {
  width: min(46%, 13.25rem);
  margin-bottom: 0.35rem;
}

/* Segunda linha: altura só pelo conteúdo; deslocamento vertical do direito via wrapper (evita stretch gigante) */
.overview-featured-row2 {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(0.55rem, 1.85vw, 1.05rem);
  align-items: start;
  align-content: start;
  min-height: 0;
  padding-bottom: clamp(4rem, 11vh, 6.75rem);
}

.overview-featured-row2-shift {
  justify-self: start;
  min-width: 0;
  max-width: 11.75rem;
  transform: translateY(clamp(4rem, 11vh, 6.75rem));
}

.overview-featured-row2 .about-card--left {
  margin-top: 0.35rem;
  max-width: 11.75rem;
  justify-self: end;
  margin-inline-start: 0;
  margin-inline-end: 0;
}

.overview-featured-row2-shift .overview-featured-project-card--link.about-card--right {
  margin-top: 0;
  max-width: 11.75rem;
}

.overview-featured .overview-featured-project-card__thumb {
  margin-bottom: 0.4rem;
}

.overview-featured .overview-featured-project-card__thumb img {
  height: clamp(70px, 11vw, 88px);
}

/* Desktop: “Veja meus projetos” — cards maiores e coluna encostada à direita */
@media (min-width: 901px) {
  .about-split.overview-featured-split {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.32fr);
    gap: clamp(2.5rem, 5vw, 4.75rem);
  }

  .overview-featured-right {
    align-items: flex-end;
  }

  .overview-featured__cards.about-cards-artistic {
    width: 100%;
    max-width: 33rem;
    column-gap: clamp(0.65rem, 2vw, 1.2rem);
  }

  .overview-featured__cards .about-card--center {
    width: min(58%, 17rem);
    margin-bottom: 0.45rem;
  }

  .overview-featured-row2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
    column-gap: clamp(0.65rem, 2vw, 1.2rem);
    width: 100%;
  }

  .overview-featured-row2 .about-card--left {
    max-width: 14.75rem;
  }

  .overview-featured-row2-shift {
    justify-self: end;
    max-width: 15.25rem;
  }

  .overview-featured-row2-shift .overview-featured-project-card--link.about-card--right {
    max-width: 15.25rem;
  }

  .overview-featured .overview-featured-project-card__thumb img {
    height: clamp(88px, 12.5vw, 112px);
  }

  .overview-featured-project-card--link {
    padding: 0.62rem 0.72rem 0.85rem;
  }

  .overview-featured .overview-featured-project-card__title {
    font-size: 0.82rem;
  }

  .overview-featured .overview-featured-project-card__lead {
    font-size: clamp(0.93rem, 1.38vw, 1.06rem);
  }
}

.overview-featured-project-card__title {
  margin: 0 0 0.38rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(249, 250, 251, 0.92);
  line-height: 1.25;
}

.overview-featured-project-card__lead {
  margin: 0;
  font-size: clamp(0.9rem, 1.35vw, 1.03rem);
  line-height: 1.52;
  font-weight: 400;
  color: rgba(229, 231, 235, 0.94);
}

/* Generic section pages */
.section-wrapper {
  padding: 4.25rem 0 4rem;
  background: #0b0b0b;
}

.section-header {
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  color: rgba(201, 168, 76, 0.90);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.55rem, 3vw, 2.08rem);
  letter-spacing: -0.03em;
  color: #f9fafb;
  margin: 0 0 0.9rem;
}

.section-description {
  margin: 0;
  color: #e5e7eb;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.8;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.projects-grid {
  margin: 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.project-actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ── About page animations ── */
@keyframes aboutHeaderFade {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes wordReveal {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

#about-header {
  opacity: 0;
  animation: aboutHeaderFade 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

#about-stats {
  opacity: 0;
  animation: aboutHeaderFade 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}

.about-word {
  display: inline-block;
  opacity: 0;
  animation: wordReveal 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Cards bloqueados até JS liberar */
#about-cards .card--anim,
#about-cards .card--hold,
#index-featured-projects .card--hold {
  opacity: 0;
  transform: translateX(-28px);
}

/* ── About page — stats row ── */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 1rem;
  overflow: hidden;
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.4rem 1.6rem;
  border-right: 1px solid rgba(255, 255, 255, 0.10);
}

.about-stat:last-child {
  border-right: none;
}

.about-stat__value {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 500;
  color: #f9fafb;
  letter-spacing: -0.02em;
  line-height: 1;
}

.about-stat__value--mono {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.about-stat__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(255, 255, 255, 0.38);
  font-weight: 500;
}

@media (max-width: 768px) {
  .about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-stat:nth-child(2) {
    border-right: none;
  }
  .about-stat:nth-child(1),
  .about-stat:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: minmax(0, 1fr);
  }
  .about-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  }
  .about-stat:last-child {
    border-bottom: none;
  }
}

/* ── About page — split layout ── */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  margin-top: 3rem;
  align-items: start;
}

/* Coluna bio */
#about-bio {
  max-height: 50vh;
  padding: 1.8rem 0 1.8rem 1.6rem;
  border-left: 2px solid rgba(201, 168, 76, 0.45);
  position: sticky;
  top: calc(var(--header-offset) + 10px);
}

#about-bio .project-section-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1rem;
  font-weight: 500;
}

#about-bio .project-section-text {
  font-size: 1.08rem;
  line-height: 1.9;
  color: #d1d5db;
  max-width: 42ch;
}

/* Visão geral — coluna esquerda: entre centro vertical e topo (ligeiro lift a partir do centro) */
#overview-featured-section #overview-featured-intro {
  max-height: none;
  padding: clamp(0.55rem, 1.35vh, 1rem) 0 1.2rem 1.6rem;
  border-left: 2px solid rgba(201, 168, 76, 0.45);
  position: relative;
  top: auto;
  align-self: center;
  transform: translateY(clamp(-2rem, -5.25vh, -3.35rem));
}

#overview-featured-intro:not(.overview-featured-intro--started) #overview-featured-heading {
  visibility: hidden;
}

.about-split.overview-featured-split {
  align-items: center;
}

.overview-featured-headline {
  margin: 0;
  letter-spacing: -0.045em;
  color: #f9fafb;
  line-height: 1.06;
}

.overview-featured-headline__main {
  display: block;
  font-size: clamp(2.15rem, 5.65vw, 3.95rem);
}

.overview-featured-headline__sub {
  display: block;
  margin-top: 0.85rem;
  max-width: 18ch;
  font-size: clamp(0.88rem, 1.45vw, 0.98rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.52);
}

/* Coluna direita — grade + rodapé */
.overview-featured-right {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.overview-featured .about-split {
  margin-top: 0;
}

/* Coluna cards — disposição artística */
.about-cards-artistic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.2rem;
  padding-bottom: 2rem;
}

/* Card do meio — no topo, centralizado */
.about-card--center {
  grid-column: 1 / 3;
  justify-self: center;
  width: 72%;
  margin-bottom: 0.5rem;
}

/* Card da esquerda — abaixo do centro */
.about-card--left {
  grid-column: 1;
  margin-top: 0.8rem;
}

/* Card da direita — ainda mais abaixo */
.about-card--right {
  grid-column: 2;
  margin-top: 2.4rem;
}

@media (max-width: 900px) {
  .about-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  #about-bio {
    position: static;
    max-height: none;
    padding-left: 1.1rem;
  }

  #overview-featured-section #overview-featured-intro {
    position: static;
    align-self: stretch;
    padding-left: 1.1rem;
    transform: none;
  }

  .about-split.overview-featured-split {
    align-items: start;
  }

  .overview-featured__cards .about-card--center {
    width: min(92%, 13.25rem);
    justify-self: center;
  }

  .overview-featured-row2 {
    padding-bottom: clamp(3.35rem, 9.5vh, 5.25rem);
  }

  .overview-featured-row2-shift {
    transform: translateY(clamp(3.35rem, 9.5vh, 5.25rem));
  }

  .overview-featured-row2 .about-card--left {
    justify-self: end;
    margin-inline-start: 0;
    margin-inline-end: 0;
  }

  .overview-featured-row2-shift {
    justify-self: start;
  }

  .about-card--center {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .about-cards-artistic {
    grid-template-columns: 1fr;
  }

  .about-card--center,
  .about-card--left,
  .about-card--right {
    grid-column: 1;
    width: 100%;
    margin-top: 0;
    justify-self: stretch;
  }

  .overview-featured__cards .about-card--center {
    width: min(100%, 14rem);
    max-width: 14rem;
    justify-self: center;
  }

  .overview-featured-row2 {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.65rem;
    padding-bottom: 0;
  }

  .overview-featured-row2-shift {
    transform: none;
    justify-self: center;
    max-width: 14rem;
  }

  .overview-featured-row2 .about-card--left,
  .overview-featured-row2-shift .overview-featured-project-card--link.about-card--right {
    width: min(100%, 14rem);
    max-width: 14rem;
    justify-self: center;
  }
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.card--anim {
  opacity: 0;
  transform: translateX(-28px);
}

.card--visible {
  animation: cardFadeIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.card {
  border-radius: 1.25rem;
  padding: 1.4rem 1.5rem;
  background: rgba(22, 22, 28, 0.60);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55),
              inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #e5e7eb;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.70),
              0 0 0 1px rgba(201, 168, 76, 0.18),
              inset 0 1px 0 rgba(255, 255, 255, 0.09);
  border-color: rgba(201, 168, 76, 0.30);
}

.card-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.85rem;
}

.card-title {
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: #f9fafb;
}

.card-text {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #e5e7eb;
  max-width: 38ch;
}

.card-meta {
  font-size: 0.8rem;
  color: #9ca3af;
}

.projects-grid .card {
  min-height: 260px;
}

.projects-grid .card .project-actions {
  margin-top: auto;
}

.project-card-thumb {
  margin-bottom: 0.85rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #020617;
}

.project-card-thumb img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

/* Project page: sections with images */
.project-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.project-section-title {
  font-size: 1.12rem;
  color: #f9fafb;
  margin: 0 0 0.75rem;
}

.project-section-text {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #e5e7eb;
  margin: 0 0 1rem;
  max-width: 60ch;
}

.project-section-text:last-of-type {
  margin-bottom: 1.5rem;
}

.project-detail {
  max-width: 960px;
}

.project-section--narrow {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.project-figure {
  margin: 0 0 2rem;
}

.project-figure:last-child {
  margin-bottom: 0;
}

.project-image {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0a0c10;
}

.project-figcaption {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-top: 0.5rem;
}

.project-video-wrapper {
  margin-top: 0.5rem;
}

.project-video-ratio {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #020617;
}

.project-video-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.project-readme {
  margin-top: 0.5rem;
  padding: 1.3rem 1.4rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #05070a;
  color: #e5e7eb;
  font-size: 0.9rem;
  line-height: 1.7;
}

.project-readme h1,
.project-readme h2,
.project-readme h3 {
  margin-top: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #f9fafb;
}

.project-readme p {
  margin: 0 0 0.8rem;
}

.project-readme ul,
.project-readme ol {
  padding-left: 1.3rem;
  margin: 0 0 0.8rem;
}

.project-readme code {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 500;
}

.project-readme pre {
  padding: 0.75rem 0.9rem;
  border-radius: 0.6rem;
  background: #020617;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.86rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.pill {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

/* Projects / case studies */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

.case-card {
  border-radius: 1.25rem;
  padding: 1.5rem 1.6rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.08), transparent 58%),
    rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 20px 48px rgba(15, 23, 42, 0.92),
    0 0 0 1px rgba(15, 23, 42, 0.9);
}

.case-tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: rgba(255, 255, 255, 0.9);
}

.case-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.case-name {
  font-size: 1.02rem;
  font-weight: 600;
  color: #f9fafb;
}

.case-body {
  font-size: 0.9rem;
  color: #e5e7eb;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Architecture page */
.timeline {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 1.5rem;
  margin-top: 1.5rem;
}

.timeline-item {
  position: relative;
  padding-bottom: 1.5rem;
}

.timeline-bullet {
  position: absolute;
  left: -0.55rem;
  top: 0.25rem;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 2px solid #0b0b0b;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.14);
}

.timeline-title {
  margin: 0 0 0.3rem;
  font-size: 0.98rem;
  color: #f9fafb;
}

.timeline-text {
  margin: 0;
  font-size: 0.9rem;
  color: #e5e7eb;
  line-height: 1.7;
}

.timeline-meta {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: #9ca3af;
}

/* ── Contact page layout ── */
.contact-layout {
  position: relative;
  min-height: calc(100vh - var(--header-offset));
  background: #0b0b0b;
  overflow: hidden;
}

/* Beam cobre TODO o fundo da página */
.beam-container {
  position: relative;
  overflow: hidden;
}

.contact-beam-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.contact-beam-bg canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Duas colunas: desktop centraliza texto à esquerda no eixo vertical (ver ≥993px); formulário à direita */
.contact-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3rem);
  min-height: calc(100vh - var(--header-offset));
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 3rem;
  box-sizing: border-box;
}

.contact-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  align-self: start;
  gap: 1.25rem;
  padding-right: clamp(0.5rem, 2vw, 1.25rem);
  padding-top: 0;
  min-width: 0;
}

.contact-right {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  align-self: start;
  min-width: 0;
}

/* Desktop: full-bleed, texto à esquerda no meio vertical da viewport */
@media (min-width: 993px) {
  .contact-content {
    max-width: none;
    margin-inline: 0;
    align-items: center;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: clamp(1.25rem, 4vw, 3rem);
    padding-top: 2rem;
    padding-bottom: 3rem;
  }

  .contact-left {
    align-self: center;
    padding-left: clamp(2rem, 7vw, 5rem);
    padding-right: clamp(0.75rem, 3vw, 2rem);
    padding-bottom: 0;
  }

  .contact-right {
    align-self: center;
  }
}

/* Cabeçalho: mesmo ritmo da about (#about-header) */
#contact-header {
  opacity: 0;
  animation: aboutHeaderFade 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.contact-page-header .section-kicker {
  margin-bottom: 0.35rem;
}

.contact-header-lead {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.52);
  margin: 0;
  max-width: 38ch;
  line-height: 1.65;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

.contact-beam-title {
  font-size: clamp(1.85rem, 3.15vw, 2.72rem);
  letter-spacing: -0.03em;
  color: #f9fafb;
  margin: 0.4rem 0 0.65rem;
  line-height: 1.1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.7);
}

/* Pitch curto — coluna esquerda */
.contact-pitch {
  margin-top: 0.25rem;
  max-width: 38ch;
}

.contact-pitch__text {
  font-size: 0.94rem;
  line-height: 1.65;
  color: rgba(229, 231, 235, 0.88);
  margin: 0;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}

@keyframes contactWordReveal {
  from {
    opacity: 0;
    transform: translate(-11px, 9px);
  }
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}

.contact-word {
  display: inline-block;
  opacity: 0;
  animation: contactWordReveal 0.44s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Formulário à direita — só aparece após o pitch */
.contact-form-panel {
  width: 100%;
  max-width: 460px;
  margin: 0;
  padding: 0;
}

.contact-form-panel--hold {
  opacity: 0;
  transform: translateY(26px);
  pointer-events: none;
  visibility: hidden;
  transition: none;
}

.contact-form-panel--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  transition:
    opacity 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

.contact-card {
  width: 100%;
  max-width: 460px;
  min-width: 0;
  box-sizing: border-box;
  background: rgba(11, 11, 15, 0.18);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 1.5rem;
  padding: 2.4rem 2rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.contact-card__title {
  font-size: 1.22rem;
  color: #f9fafb;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.contact-card__sub {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 1.6rem;
  line-height: 1.6;
}

.contact-form--card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  width: 100%;
  min-width: 0;
}

/* Name + Email lado a lado */
.contact-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.9rem;
  width: 100%;
  min-width: 0;
}

.contact-form-row > .form-field {
  min-width: 0;
}

/* Botões */
.contact-form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.4rem;
  flex-wrap: wrap;
}

.btn-contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #ffffff;
  color: #05070a;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  letter-spacing: 0.01em;
}

.btn-whatsapp:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

/* Tablet e abaixo: uma coluna (evita duas metades estreitas) */
@media (max-width: 992px) {
  .contact-content {
    grid-template-columns: 1fr;
    align-items: stretch;
    min-height: unset;
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
    gap: 2rem;
  }

  .contact-left {
    justify-content: flex-start;
    align-items: flex-start;
    padding-right: 0;
    max-width: 38rem;
  }

  .contact-right {
    justify-content: center;
    align-items: stretch;
    width: 100%;
    padding-bottom: 0.5rem;
  }

  .contact-form-panel {
    max-width: 460px;
    width: 100%;
    margin-inline: auto;
  }

  .contact-pitch {
    max-width: 38rem;
  }
}

/* Tablet só (entre mobile largo e desktop): texto centralizado */
@media (max-width: 992px) and (min-width: 641px) {
  .contact-content {
    text-align: center;
  }

  .contact-left {
    align-items: center;
    text-align: center;
    margin-inline: auto;
    width: 100%;
    max-width: 38rem;
  }

  #contact-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  #contact-header .section-kicker {
    text-align: center;
    width: 100%;
  }

  .contact-beam-title {
    text-align: center;
    width: 100%;
  }

  .contact-header-lead {
    margin-inline: auto;
    text-align: center;
    max-width: 38ch;
  }

  .contact-pitch {
    margin-inline: auto;
    text-align: center;
  }

  .contact-pitch__text {
    text-align: center;
  }
}

/* Mobile: tudo centralizado */
@media (max-width: 640px) {
  .contact-content {
    padding-inline: 1.25rem;
    text-align: center;
  }

  .contact-left {
    align-items: center;
    text-align: center;
    max-width: none;
    width: 100%;
  }

  #contact-header {
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #contact-header .section-kicker {
    text-align: center;
    width: 100%;
  }

  .contact-beam-title {
    text-align: center;
    width: 100%;
  }

  .contact-header-lead {
    margin-inline: auto;
    text-align: center;
    max-width: 28ch;
  }

  .contact-pitch {
    margin-inline: auto;
    max-width: min(26rem, 100%);
    text-align: center;
  }

  .contact-pitch__text {
    text-align: center;
  }

  .contact-right {
    justify-content: center;
  }

  .contact-form-panel {
    margin-inline: auto;
  }

  .contact-card {
    text-align: center;
  }

  .contact-form-actions {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .contact-form-row {
    grid-template-columns: 1fr;
  }
  .contact-form-actions {
    flex-direction: column;
  }
  .btn-whatsapp {
    justify-content: center;
  }
}

/* Contact / footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: #0b0b0b;
  color: #e5e7eb;
}

/* One continuous footer block */
.footer-unified__inner {
  padding: clamp(1.5rem, 3vw, 2rem) 1.5rem clamp(1rem, 2vw, 1.35rem);
}

.footer-premium__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.42fr) minmax(0, 1.05fr);
  gap: clamp(1.15rem, 2.2vw, 1.75rem) clamp(1.35rem, 2.8vw, 2rem);
  padding: 0 0 clamp(1.2rem, 2vw, 1.5rem);
  margin: 0;
  border: none;
  align-items: start;
}

.footer-premium__sitemap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}

.footer-premium__sitemap > .footer-premium__col-title {
  margin: 0 0 0.45rem;
}

.footer-premium__sitemap-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(1rem, 2.2vw, 1.35rem);
  row-gap: 0.15rem;
  min-width: 0;
}

.footer-unified__legal {
  margin: 0;
  padding: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  line-height: 1.5;
}

.footer-unified__trail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding-top: 0.35rem;
}

.footer-premium__col-title {
  margin: 0 0 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.footer-premium__logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: #f8fafc;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-premium__logo:hover {
  color: #ffffff;
  opacity: 0.92;
}

.footer-premium__logo-mark {
  color: #ffffff;
  font-weight: 700;
}

.footer-premium__logo-name {
  letter-spacing: 0.1em;
}

.footer-premium__tagline {
  margin: 0;
  max-width: 20rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.footer-premium__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.footer-premium__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.18rem 0;
  font-size: 0.84rem;
  color: rgba(226, 232, 240, 0.88);
  transition: color 0.18s ease, transform 0.18s ease;
}

.footer-premium__link:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-premium__link.is-active {
  color: #ffffff;
  font-weight: 600;
}

.footer-premium__link-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.18s ease, box-shadow 0.18s ease;
  flex-shrink: 0;
}

.footer-premium__link:hover .footer-premium__link-dot,
.footer-premium__link.is-active .footer-premium__link-dot {
  background: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.45);
}

.footer-premium__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.footer-premium__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem 0.35rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.footer-premium__card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.footer-premium__card-link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem 0.6rem;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.footer-premium__card-link:hover .footer-premium__card-value {
  color: #ffffff;
}

.footer-premium__card-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 9px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.92);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.footer-premium__card-copy:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.footer-premium__card-copy:focus {
  outline: none;
}

.footer-premium__card-copy:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 2px;
}

.footer-premium__card-copy:active {
  transform: scale(0.96);
}

.footer-premium__card-copy-icon {
  font-size: 0.8rem;
  line-height: 1;
}

.footer-premium__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 0.88rem;
}

.footer-premium__card-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.footer-premium__card-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.footer-premium__card-value {
  font-size: 0.78rem;
  color: #f1f5f9;
  word-break: break-word;
  line-height: 1.35;
}

.footer-copy-toast {
  position: fixed;
  bottom: 1.35rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  margin: 0;
  max-width: min(90vw, 22rem);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: rgba(24, 24, 27, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  color: #f4f4f5;
  font-size: 0.84rem;
  line-height: 1.35;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.footer-copy-toast.is-visible {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 960px) {
  .footer-unified__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    grid-template-areas:
      "ft-brand ft-brand"
      "ft-direct ft-direct"
      "ft-sitemap ft-trail";
    column-gap: clamp(1rem, 3vw, 1.35rem);
    row-gap: 1.85rem;
    padding-top: clamp(1.75rem, 4vw, 2.25rem);
    padding-bottom: clamp(1.25rem, 3vw, 1.65rem);
    align-items: start;
  }

  .footer-premium__inner {
    display: contents;
    padding: 0;
  }

  .footer-premium__brand {
    grid-area: ft-brand;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-premium__tagline {
    max-width: 22rem;
    margin-inline: auto;
  }

  .footer-premium__sitemap {
    grid-area: ft-sitemap;
    margin-inline: 0;
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .footer-premium__sitemap-cols {
    column-gap: clamp(1rem, 2.5vw, 1.5rem);
  }

  .footer-premium__sitemap > .footer-premium__col-title {
    text-align: left;
    width: 100%;
    margin-bottom: 0.65rem;
  }

  .footer-premium__sitemap .footer-premium__links {
    align-items: stretch;
    width: 100%;
    gap: 0.35rem;
  }

  .footer-premium__sitemap .footer-premium__link {
    width: 100%;
    justify-content: flex-start;
    box-sizing: border-box;
  }

  .footer-premium__direct {
    grid-area: ft-direct;
    max-width: 36rem;
    width: 100%;
    justify-self: center;
    text-align: center;
  }

  .footer-premium__direct > .footer-premium__col-title {
    text-align: center;
    margin-bottom: 0.65rem;
  }

  .footer-premium__direct .footer-premium__cards {
    text-align: left;
  }

  .footer-premium__cards {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .footer-unified__trail {
    grid-area: ft-trail;
    align-self: start;
    padding-top: 0.9rem;
    min-width: 0;
  }

  .footer-unified__trail .footer-unified__social {
    padding: 0.35rem 0 0.55rem;
  }

  .footer-unified__trail .footer-unified__legal {
    margin-top: 0.15rem;
  }
}

@media (max-width: 600px) {
  .footer-premium__sitemap-cols {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.1rem;
  }

  .footer-premium__cards {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .footer-unified__inner {
    padding-inline: 1.25rem;
  }
}

.footer-content {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 2fr);
  gap: 2rem;
  padding: 2.8rem 1.5rem 2.25rem;
}

.footer-title {
  font-size: 1.4rem;
  margin: 0 0 0.7rem;
}

.footer-text {
  margin: 0 0 1.2rem;
  font-size: 0.95rem;
  color: #e5e7eb;
}

.footer-meta {
  font-size: 0.8rem;
  color: #9ca3af;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.1rem;
  padding: 1.6rem 1.5rem 1.75rem;
  border-radius: 1.25rem;
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  background: linear-gradient(
    160deg,
    rgba(28, 28, 30, 0.55) 0%,
    rgba(14, 14, 16, 0.68) 50%,
    rgba(8, 8, 10, 0.72) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.06),
    0 14px 44px rgba(0, 0, 0, 0.55);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.form-label span {
  font-size: 0.74rem;
  color: #9ca3af;
}

.form-input,
.form-textarea {
  width: 100%;
  max-width: 100%;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(20, 20, 24, 0.55);
  color: #f9fafb;
  padding: 0.55rem 0.75rem;
  font: inherit;
  resize: vertical;
  min-height: 2.4rem;
}

.form-textarea {
  min-height: 5rem;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #ffffff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: #9ca3af;
}

.form-status {
  min-height: 1.1rem;
}

.form-status.success {
  color: #ffffff;
}

.form-status.error {
  color: #b0b0b0;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr);
  }

  .section-grid,
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-content {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 1.15rem 1.35rem;
  }

  .navbar {
    position: absolute;
    inset-inline: 1rem;
    top: calc(var(--header-offset) + 0.35rem);
    padding: 0.7rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(18px) saturate(155%);
    backdrop-filter: blur(18px) saturate(155%);
    background: linear-gradient(
      165deg,
      rgba(36, 36, 40, 0.78) 0%,
      rgba(20, 20, 24, 0.72) 100%
    );
    box-shadow:
      inset 0 1px 0 0 rgba(255, 255, 255, 0.06),
      0 22px 48px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  }

  .navbar ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .lang-switch {
    margin-left: 0.75rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-open .navbar {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* SVG icon stays the same on open; only the menu panel animates */

  .hero-fold {
    padding-top: clamp(1.85rem, 5vh, 2.95rem);
    padding-bottom: clamp(1rem, 2.5vh, 1.65rem);
    min-height: 0;
  }

  .section-wrapper {
    padding-top: 4.1rem;
  }

  .section-grid,
  .projects-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-form {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.92rem;
  }

  .footer-content {
    padding-inline: 1.25rem;
  }
}

