:root {
  --bg: #0b0d10;
  --bg-soft: #14171c;
  --bg-elevated: rgba(19, 23, 28, 0.78);
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --paper: #f4ede4;
  --paper-deep: #e8ddce;
  --text: #f6f0e8;
  --text-dark: #16181d;
  --text-muted: #a9a193;
  --text-soft: #6e665b;
  --gold: #c6a06e;
  --gold-bright: #e0bf8c;
  --line: rgba(255, 255, 255, 0.09);
  --line-dark: rgba(21, 18, 14, 0.1);
  --shadow-xl: 0 32px 90px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 22px 60px rgba(0, 0, 0, 0.22);
  --max-width: 1180px;
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
}

/* Base reset and shared document background. */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #090b0e;
  overflow-x: hidden;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top, rgba(198, 160, 110, 0.13), transparent 32%),
    radial-gradient(circle at 85% 18%, rgba(76, 92, 122, 0.18), transparent 24%),
    linear-gradient(180deg, #060709 0%, #0b0d10 28%, #090b0e 100%);
  color: var(--text);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 92%);
}

body::after {
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.06), transparent 44%);
}

body.lock-scroll {
  overflow: hidden;
}

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

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

button {
  border: 0;
  background: none;
}

input,
select,
textarea {
  appearance: none;
}

textarea {
  resize: vertical;
}

::selection {
  background: rgba(198, 160, 110, 0.32);
  color: var(--text);
}

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

strong {
  font-weight: 700;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 60px;
  transition:
    padding 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    backdrop-filter 0.35s ease;
}

nav::before,
nav::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

nav::before {
  background: linear-gradient(180deg, rgba(8, 9, 11, 0.94), rgba(8, 9, 11, 0));
}

nav::after {
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s ease;
}

nav.nav-scrolled {
  padding: 18px 32px;
  background: rgba(8, 10, 13, 0.62);
  backdrop-filter: blur(18px);
}

nav.nav-scrolled::after {
  border-color: rgba(255, 255, 255, 0.08);
}

.nav-logo,
.nav-links {
  position: relative;
  z-index: 1;
}

.nav-logo {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  position: relative;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.18, 1);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* Intro hero. JS expands the media box before normal page scrolling is released. */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero>.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: opacity 0.1s linear;
}

.hero>.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 6, 8, 0.72), rgba(8, 9, 11, 0.2) 36%, rgba(5, 6, 8, 0.78) 100%),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.06), transparent 52%);
}

.hero-bg img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.45) saturate(1.05);
}

.hero-stage {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.media-box {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 400px;
  max-width: 95vw;
  max-height: 85vh;
  transform: translate(-50%, -50%);
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  background: #000;
  z-index: 1;
}

.media-box::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  pointer-events: none;
}

.media-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.media-meta {
  position: absolute;
  left: 50%;
  bottom: -70px;
  transform: translateX(-50%);
  width: min(100%, 320px);
  text-align: center;
  z-index: 3;
}

.media-date,
.media-hint {
  color: #edf2ff;
  transition: transform 0.06s linear;
}

.media-date {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.media-hint {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-stage-title {
  width: min(84vw, 1240px);
  position: relative;
  z-index: 2;
  text-align: center;
  pointer-events: none;
}

.hero-title-line {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.9rem, 7.1vw, 6.4rem);
  font-weight: 600;
  color: #edf2ff;
  line-height: 0.92;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.06s linear;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.38);
}

.hero-content {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 92px clamp(24px, 6vw, 88px) 104px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(10, 13, 18, 0.74), rgba(16, 20, 26, 0.58));
  backdrop-filter: blur(28px) saturate(135%);
  -webkit-backdrop-filter: blur(28px) saturate(135%);
  color: var(--text);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.22), 0 -40px 120px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
  overflow: hidden;
}

.hero-content.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-content .hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(198, 160, 110, 0.16), transparent 24%),
    radial-gradient(circle at 16% 18%, rgba(117, 157, 210, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(4, 6, 10, 0.2), rgba(4, 6, 10, 0.08));
  z-index: 0;
}

.hero-line,
.hero-line-2 {
  position: absolute;
  border-radius: 999px;
  z-index: 0;
  opacity: 0.65;
}

.hero-line {
  top: 42px;
  right: -120px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(198, 160, 110, 0.18);
}

.hero-line-2 {
  bottom: -180px;
  left: -90px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.hero-eyebrow,
.hero-title,
.hero-sub,
.hero-cta {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max-width));
  margin-inline: auto;
  text-align: center;
}

.hero-eyebrow {
  margin-bottom: 22px;
  color: rgba(230, 233, 239, 0.7);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-title {
  display: grid;
  gap: 0.04em;
  max-width: 18ch;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-wrap: balance;
  justify-items: center;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-sub {
  max-width: 44rem;
  margin-top: 26px;
  color: rgba(230, 233, 239, 0.78);
  font-size: 1.02rem;
  line-height: 1.9;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn-primary,
.btn-send {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 190px;
  padding: 15px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(11, 13, 16, 0.92);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.btn-primary::before,
.btn-send::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(198, 160, 110, 0.28), rgba(198, 160, 110, 0));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.btn-primary span,
.btn-send span {
  position: relative;
  z-index: 1;
}

.btn-primary:hover,
.btn-send:hover {
  transform: translateY(-3px);
  border-color: rgba(224, 191, 140, 0.36);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover::before,
.btn-send:hover::before {
  opacity: 1;
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(230, 233, 239, 0.72);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-scroll::before {
  content: "";
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, rgba(224, 191, 140, 0.7), transparent);
}

/* Shared section scaffolding */
.site-main {
  position: relative;
  padding-bottom: 28px;
}

.site-main>section {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: clamp(78px, 9vw, 118px) clamp(24px, 6vw, 88px);
  scroll-margin-top: 104px;
}

.site-main>section:not(#clientes)>* {
  width: 100%;
}

.site-main>section+section {
  margin-top: 4px;
}

.section-label {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.section-title {
  margin-top: 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-wrap: balance;
}

.section-copy {
  max-width: 340px;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.85;
  text-align: right;
}

.accent-word,
.section-title em,
.contact-title em,
.hero-title em {
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.divider {
  width: 84px;
  height: 1px;
  margin: 28px 0 18px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* About */
#sobre {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(17, 20, 24, 0.96), rgba(10, 11, 14, 0.95));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-top: 1px;
}

#sobre::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 18%, rgba(224, 191, 140, 0.14), transparent 28%),
    radial-gradient(circle at 14% 84%, rgba(71, 86, 109, 0.16), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.48), transparent 45%);
  pointer-events: none;
}

.sobre-text,
.sobre-visual {
  position: relative;
  z-index: 1;
}

.sobre-text {
  width: min(100%, 720px);
}

.sobre-visual {
  width: min(100%, 640px);
  margin-left: auto;
}

.sobre-text p {
  max-width: 62ch;
  margin-top: 18px;
  color: var(--text-muted);
  line-height: 1.95;
}

.sobre-text p strong {
  color: var(--text);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.stat-item {
  padding: 22px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(15, 18, 23, 0.78), rgba(10, 12, 16, 0.68));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.stat-num {
  color: var(--gold-bright);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 0.92;
}

.stat-label {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sobre-visual {
  display: flex;
  align-items: stretch;
  min-height: 100%;
}

.sobre-visual-inner {
  position: relative;
  width: 100%;
  min-height: 560px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-content: start;
  padding: clamp(18px, 2.8vw, 24px);
  border-radius: 30px;
  border: 1px solid rgba(216, 187, 145, 0.14);
  background:
    radial-gradient(circle at 82% 14%, rgba(198, 160, 110, 0.08), transparent 24%),
    linear-gradient(160deg, rgba(24, 26, 30, 0.98), rgba(10, 12, 16, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 26px 70px rgba(0, 0, 0, 0.26);
  overflow: hidden;
  isolation: isolate;
}

.sobre-visual-inner::before,
.sobre-visual-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sobre-visual-inner::before {
  inset: 14px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 30%);
  opacity: 1;
}

.sobre-visual-inner::after {
  display: none;
}

.sobre-chip {
  position: relative;
  z-index: 2;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(224, 191, 140, 0.14);
  background: rgba(8, 10, 14, 0.52);
  color: var(--paper);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
}

.sobre-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  box-shadow: 0 0 18px rgba(224, 191, 140, 0.5);
}

.sobre-visual-inner:hover .sobre-image {
  transform: translateY(-8px) scale(1.015);
  filter: saturate(1) contrast(1.06) brightness(0.96);
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.sobre-visual-inner:hover .sobre-chip {
  border-color: rgba(224, 191, 140, 0.28);
  background: rgba(8, 10, 14, 0.72);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.sobre-image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1.46 / 1;
  min-height: 380px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 12, 16, 0.9);
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.92) contrast(1.03) brightness(0.9);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.24);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.sobre-caption {
  position: relative;
  z-index: 2;
  padding: 0 6px 2px;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.sobre-caption-label {
  display: block;
  margin-bottom: 8px;
  color: rgba(235, 227, 215, 0.52);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sobre-caption strong {
  display: block;
  color: rgba(235, 227, 215, 0.78);
  font-size: clamp(0.96rem, 1.4vw, 1.08rem);
  font-weight: 500;
  line-height: 1.45;
}

.sobre-card {
  position: absolute;
  bottom: 28px;
  z-index: 2;
  width: min(420px, calc(100% - 56px));
  padding: 16px 18px 18px;
  border-radius: 22px;
  border: 1px solid rgba(224, 191, 140, 0.14);
  background: linear-gradient(180deg, rgba(16, 18, 23, 0.92), rgba(10, 12, 16, 0.84));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.sobre-card-label {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sobre-card strong {
  display: block;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.55;
}

/* Methodology */
#metodologia {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(11, 13, 16, 0.96), rgba(17, 22, 28, 0.96));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

#metodologia::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 68px 68px;
  opacity: 0.35;
  pointer-events: none;
}

.met-header,
.met-steps {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max-width));
  margin-inline: auto;
}

.met-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(30px, 4vw, 42px);
}

.met-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step {
  position: relative;
  padding: 28px 24px 26px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(14, 17, 22, 0.82), rgba(8, 10, 14, 0.74));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.step:hover {
  transform: translateY(-8px);
  border-color: rgba(224, 191, 140, 0.24);
  background: linear-gradient(180deg, rgba(18, 22, 28, 0.88), rgba(10, 12, 16, 0.8));
}

.step-num {
  color: var(--gold-bright);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.step-title {
  margin-top: 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.step-desc {
  margin-top: 14px;
  color: var(--text-muted);
  line-height: 1.85;
}

/* Services */
#servicos {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(224, 224, 224, 0.08);
  background: linear-gradient(145deg, rgba(15, 14, 14, 0.98), rgba(24, 23, 23, 0.94));
  color: var(--gold);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

#servicos::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(198, 160, 110, 0.16), transparent 22%),
    linear-gradient(90deg, rgba(37, 32, 32, 0.55), transparent 40%);
  pointer-events: none;
}

.section-intro,
.services-grid {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max-width));
  margin-inline: auto;
}

.section-intro {
  margin-bottom: 28px;
  text-align: center;
}

#servicos .section-title {
  color: var(--paper-deep);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  padding: 28px 24px 26px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(20, 23, 28, 0.92), rgba(10, 12, 16, 0.88));
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto 24px 0 24px;
  height: 1px;
  background: linear-gradient(90deg, rgba(198, 160, 110, 0.42), transparent);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(198, 160, 110, 0.24);
  box-shadow: 0 30px 52px rgba(0, 0, 0, 0.24);
}

.service-icon {
  width: 60px;
  height: 60px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 26px;
}

.service-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.service-desc {
  margin-top: 14px;
  color: rgba(230, 233, 239, 0.72);
  line-height: 1.85;
}

/* Projects */
#projetos {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(17, 20, 25, 0.96), rgba(8, 10, 12, 0.98));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

#projetos::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 14%, rgba(198, 160, 110, 0.12), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 24%);
  pointer-events: none;
}

.projects-header,
.projects-grid {
  position: relative;
  z-index: 1;
  width: min(100%, calc(var(--max-width) + 60px));
  margin-inline: auto;
}

.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 88px;
}

.project-card {
  min-height: clamp(320px, 24vw, 440px);
}

.project-inner {
  position: relative;
  min-height: inherit;
  height: 100%;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #121519;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

.project-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 9, 12, 0.08), rgba(7, 9, 12, 0.22) 44%, rgba(7, 9, 12, 0.76) 100%),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.12), transparent 34%);
}

.project-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.project-card:hover .project-inner {
  transform: translateY(-8px);
  border-color: rgba(224, 191, 140, 0.22);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.3);
}

.project-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.project-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.16), transparent 22%),
    linear-gradient(180deg, rgba(8, 10, 14, 0.02), rgba(8, 10, 14, 0.1));
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.02) brightness(0.88);
  transform: scale(1);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.project-card:hover .project-image {
  transform: scale(1.04);
  filter: saturate(1) contrast(1.05) brightness(0.96);
}

.project-badge-wrap,
.project-overlay {
  position: absolute;
  z-index: 2;
}

.project-badge-wrap {
  top: 18px;
  left: 18px;
}

.project-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 17, 21, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: rgba(235, 227, 215, 0.86);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-badge::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(198, 160, 110, 0.42);
  box-shadow: inset 0 0 0 4px rgba(198, 160, 110, 0.08);
  background: radial-gradient(circle at center, rgba(198, 160, 110, 0.42) 0 20%, transparent 22% 100%);
}

.project-overlay {
  left: 22px;
  right: 22px;
  bottom: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.project-copy {
  min-width: 0;
}

.project-name {
  color: #f3ede3;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3vw, 2.45rem);
  font-weight: 500;
  line-height: 0.95;
  text-wrap: balance;
}

.project-location {
  margin-top: 10px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.project-arrow {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(198, 160, 110, 0.34);
  background: rgba(11, 13, 16, 0.44);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: rgba(244, 237, 228, 0.9);
  font-size: 1.35rem;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.project-arrow:hover {
  transform: translateX(4px);
  border-color: rgba(224, 191, 140, 0.58);
  background: rgba(18, 21, 26, 0.72);
}

/* Clients marquee */
#clientes {
  padding-inline: 0;
  text-align: center;
}

#clientes .section-label,
#clientes .section-title {
  padding-inline: clamp(24px, 4vw, 40px);
}

.clientes-marquee {
  position: relative;
  margin-top: 42px;
  border-block: 1px solid var(--line);
  background: rgba(10, 12, 15, 0.76);
  overflow: hidden;
}

.clientes-marquee::before,
.clientes-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 96px;
  z-index: 1;
  pointer-events: none;
}

.clientes-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(9, 11, 14, 1), rgba(9, 11, 14, 0));
}

.clientes-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(9, 11, 14, 1), rgba(9, 11, 14, 0));
}

.marquee-track {
  --marquee-loop-width: 0px;
  display: flex;
  align-items: center;
  width: max-content;
  min-width: max-content;
  padding: 20px 0;
  animation: marquee 28s linear infinite;
  will-change: transform;
}

.marquee-group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 18px;
  padding-right: 18px;
}

.marquee-item {
  flex: 0 0 auto;
  color: #dcc7a6;
  font-size: clamp(0.78rem, 2vw, 0.92rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Contact */
#contato {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(18, 21, 26, 0.96), rgba(8, 10, 13, 0.98));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

#contato::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(198, 160, 110, 0.12), transparent 24%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 45%);
  pointer-events: none;
}

#contato>.reveal,
.contact-form {
  position: relative;
  z-index: 1;
}

#contato>.reveal {
  width: min(100%, 520px);
}

.contact-form {
  width: min(100%, 720px);
  margin-left: auto;
}

.contact-title {
  max-width: 16ch;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-info {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.contact-item {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(14, 17, 22, 0.86), rgba(8, 10, 14, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.contact-item-label {
  color: var(--gold-bright);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.contact-item-value {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.6;
}

.contact-form {
  padding: clamp(28px, 4vw, 40px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(12, 15, 20, 0.9), rgba(8, 10, 14, 0.82));
  color: var(--text);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.26);
}

.contact-form::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 55%);
  pointer-events: none;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.form-field label {
  color: rgba(230, 233, 239, 0.62);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(230, 233, 239, 0.34);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(198, 160, 110, 0.42);
  box-shadow: 0 0 0 4px rgba(198, 160, 110, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.form-field select {
  background-color: rgba(255, 255, 255, 0.05);
}

.form-field select:focus,
.form-field select:active {
  background: #000000;
  background-color: #000000;
}

.form-field select option {
  background: #000000;
  color: var(--text);
}

.btn-send {
  cursor: pointer;
  margin-top: 8px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: min(calc(var(--max-width) + 48px), calc(100% - 16px));
  margin: 0 auto 24px;
  padding: 22px 28px 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(10, 12, 15, 0.94), rgba(7, 9, 12, 0.98));
  color: var(--text-muted);
}

.footer-logo {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-copy {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(var(--marquee-loop-width, 0px) * -1), 0, 0);
  }
}

/* Wide-screen about media: prevent the image card from stretching taller than its content. */
@media (min-width: 1801px) {
  .sobre-visual {
    align-items: flex-start;
    min-height: auto;
  }

  .sobre-visual-inner {
    min-height: auto;
    height: auto;
    grid-template-rows: auto auto auto;
    align-self: flex-start;
  }

  .sobre-image {
    min-height: 0;
    aspect-ratio: 1.5 / 1;
  }
}

/* Responsive layout */
@media (max-width: 1800px) {
  #sobre {
    grid-template-columns: 1fr;
  }

  .sobre-text,
  .sobre-visual {
    width: 100%;
    max-width: none;
    margin-left: 0;
  }

  .sobre-visual {
    min-height: auto;
  }

  .sobre-visual-inner {
    min-height: 500px;
  }
}

/* Keep the about image editorial and horizontal on large laptop/desktop widths. */
@media (min-width: 1200px) and (max-width: 1800px) {
  .sobre-visual {
    width: min(100%, 980px);
    max-width: 980px;
    margin-inline: auto;
  }

  .sobre-visual-inner {
    min-height: auto;
    grid-template-rows: auto auto auto;
    gap: 14px;
    padding: 18px;
  }

  .sobre-image {
    aspect-ratio: 1.48 / 1;
    min-height: 0;
  }

  .sobre-caption {
    padding-inline: 4px;
  }
}

@media (max-width: 1100px) {
  nav {
    padding-inline: 32px;
  }

  .site-main>section {
    padding-inline: clamp(20px, 4vw, 40px);
  }

  .nav-links {
    gap: 24px;
  }

  #sobre,
  #contato {
    grid-template-columns: 1fr;
  }

  .sobre-text,
  .sobre-visual,
  #contato>.reveal,
  .contact-form {
    width: 100%;
    max-width: none;
    margin-left: 0;
  }

  .sobre-visual {
    min-height: auto;
  }

  .sobre-visual-inner {
    min-height: 500px;
  }

  .sobre-image {
    width: 100%;
  }

  .sobre-card {
    transform: none;
  }

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

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

  .project-card,
  .project-inner {
    min-height: clamp(420px, 42vw, 520px);
  }

  .project-image {
    object-position: center 22%;
  }

  .project-card:nth-child(3) .project-image {
    object-position: center top;
  }

  .project-card:nth-child(2) {
    transform: none;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .sobre-visual {
    width: 100%;
  }

  .sobre-visual-inner {
    min-height: 620px;
    padding: 22px;
  }

  .sobre-image {
    width: 100%;
    min-height: 500px;
    aspect-ratio: 1.62 / 1;
  }

  .sobre-caption {
    max-width: 100%;
    padding-inline: 2px;
  }
}

@media (max-width: 860px) {
  .site-main>section {
    padding-inline: 20px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 20px 18px;
  }

  nav.nav-scrolled {
    padding: 16px 18px 14px;
  }

  .nav-logo {
    width: 100%;
    text-align: center;
  }

  .nav-links {
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }

  .hero-title-line {
    font-size: clamp(2.5rem, 13vw, 4.2rem);
  }

  .hero-content {
    max-width: calc(100% - 24px);
    padding-top: 84px;
    padding-bottom: 84px;
  }

  .hero-title {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .met-header,
  .projects-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-copy {
    max-width: 100%;
    text-align: left;
  }

  .services-grid,
  .projects-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-inner {
    min-height: clamp(280px, 48vw, 340px);
  }

  .project-image {
    object-position: center 20%;
  }

  .project-card:nth-child(3) .project-image {
    object-position: center 10%;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Mobile performance: keep the glass mood without expensive live blurs during scroll. */
@media (max-width: 768px) {
  nav.nav-scrolled,
  .hero-content,
  .sobre-chip,
  .project-badge,
  .project-arrow {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero-content {
    background: linear-gradient(145deg, rgba(9, 12, 16, 0.94), rgba(16, 19, 24, 0.88));
    box-shadow: 0 -8px 26px rgba(0, 0, 0, 0.24), 0 -22px 64px rgba(0, 0, 0, 0.26);
  }

  .sobre-image,
  .project-image {
    filter: brightness(0.9);
    transition: transform 0.35s ease;
  }
}

@media (hover: none) and (pointer: coarse) {
  .sobre-visual-inner:hover .sobre-image,
  .project-card:hover .project-image,
  .project-card:hover .project-inner,
  .service-card:hover,
  .step:hover,
  .btn-primary:hover,
  .btn-send:hover {
    transform: none;
  }

  .sobre-visual-inner:hover .sobre-image,
  .project-card:hover .project-image {
    filter: brightness(0.9);
  }

  .sobre-visual-inner:hover .sobre-chip {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  }

  .project-card:hover .project-inner {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  }

  .service-card:hover {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.18);
  }

  .step:hover {
    border-color: rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(14, 17, 22, 0.82), rgba(8, 10, 14, 0.74));
  }
}

/* Tablet-only project cards need more height than the phone layout. */
@media (min-width: 520px) and (max-width: 860px) {

  .project-card,
  .project-inner {
    min-height: clamp(520px, 72vw, 620px);
  }
}

@media (max-width: 640px) {
  .site-main>section {
    padding-inline: 16px;
  }

  body::before {
    background-size: 46px 46px;
  }

  .hero-stage {
    padding: 18px;
  }

  .media-box {
    border-radius: 22px;
  }

  .media-meta {
    bottom: -62px;
  }

  .media-date {
    letter-spacing: 0.14em;
  }

  .hero-title-line {
    font-size: clamp(2.1rem, 13vw, 3.1rem);
    letter-spacing: 0.07em;
    line-height: 0.96;
  }

  .hero-content {
    padding: 78px 20px 72px;
    border-radius: 28px 28px 0 0;
  }

  #sobre,
  #metodologia,
  #servicos,
  #projetos,
  #contato {
    border-radius: 28px;
  }

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

  .btn-primary,
  .btn-send {
    width: 100%;
  }

  .stats,
  .met-steps {
    grid-template-columns: 1fr;
  }

  .sobre-visual-inner {
    min-height: 380px;
    padding: 16px;
  }

  .sobre-chip {
    padding: 9px 12px;
  }

  .sobre-media {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-top: 40px;
    transform: none;
  }

  .sobre-image {
    width: 100%;
    min-height: 260px;
    aspect-ratio: 1.36 / 1;
    border-radius: 18px;
  }

  .sobre-caption {
    padding: 0 2px 2px;
  }

  .sobre-card {
    position: static;
    width: 100%;
    margin-top: 16px;
    transform: none;
  }

  .project-card,
  .project-card:nth-child(1),
  .project-card:nth-child(3),
  .project-inner {
    min-height: clamp(250px, 70vw, 300px);
  }

  .project-image {
    object-position: center 18%;
  }

  .project-card:nth-child(3) .project-image {
    object-position: center top;
  }

  #clientes .section-label,
  #clientes .section-title {
    padding-inline: 20px;
  }

  .clientes-marquee::before,
  .clientes-marquee::after {
    width: 42px;
  }

  .contact-form {
    padding: 24px 20px;
    border-radius: 24px;
  }

  footer {
    padding: 18px 20px 34px;
  }
}

@media (min-width: 426px) and (max-width: 860px) {
  .hero-content {
    width: calc(100% + 24px);
    max-width: none;
    margin-left: -12px;
    margin-right: -12px;
  }
}

@media (max-width: 425px) {

  .hero,
  .hero-stage {
    overflow-x: clip;
  }

  .hero-content {
    width: calc(100% + 16px);
    max-width: none;
    margin-left: -8px;
    margin-right: -8px;
    padding-left: 14px;
    padding-right: 14px;
    border-radius: var(--radius-xl);
  }

  #sobre,
  #metodologia,
  #servicos,
  #projetos,
  #contato {
    border-radius: var(--radius-xl);
  }

  .hero-eyebrow,
  .hero-title,
  .hero-sub,
  .hero-cta {
    width: min(100%, 320px);
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 360px) {

  html,
  body {
    overflow-x: clip;
    background: #090b0e;
  }

  .hero,
  .hero-stage {
    overflow-x: clip;
    padding: 14px;
  }

  .hero-stage-title {
    width: min(92vw, 1240px);
  }

  .hero-title-line {
    font-size: clamp(2.1rem, 13vw, 3.1rem);
    letter-spacing: 0.07em;
    line-height: 0.96;
  }

  .hero-content {
    width: calc(100% + 16px);
    max-width: none;
    margin-left: -8px;
    margin-right: -8px;
    padding: 66px 10px 56px;
    border-radius: 24px;
  }

  .hero-eyebrow,
  .hero-title,
  .hero-sub,
  .hero-cta {
    width: min(100%, 292px);
  }

  .hero-eyebrow {
    margin-bottom: 18px;
    font-size: 0.64rem;
    letter-spacing: 0.16em;
    line-height: 1.5;
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(2.7rem, 13.2vw, 3.3rem);
    line-height: 0.9;
    letter-spacing: 0.01em;
  }

  .hero-sub {
    margin-top: 20px;
    font-size: 0.8rem;
    line-height: 1.65;
  }

  #sobre {
    width: calc(100% + 16px);
    max-width: none;
    margin-left: -8px;
    margin-right: -8px;
    gap: 22px;
    padding: 26px 14px;
    border-radius: 24px;
  }

  #metodologia,
  #servicos,
  #projetos,
  #contato {
    border-radius: 24px;
  }

  #servicos .section-intro {
    width: min(100%, 292px);
    margin-left: auto;
    margin-right: auto;
  }

  #clientes .section-label,
  #clientes .section-title {
    display: block;
    width: 100%;
    max-width: 248px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  #clientes .section-title {
    font-size: clamp(2.3rem, 10vw, 2.7rem);
    line-height: 1.02;
    letter-spacing: 0.015em;
    text-wrap: unset;
  }

  #clientes .section-label,
  #clientes .section-title {
    padding-inline: 0;
  }

  .sobre-text,
  .sobre-visual {
    width: 100%;
    max-width: none;
  }

  #sobre .section-label,
  #sobre .section-title,
  #sobre .divider,
  #sobre .sobre-text p,
  #sobre .stats {
    width: min(100%, 292px);
    margin-left: auto;
    margin-right: auto;
  }

  #sobre .section-label {
    font-size: 0.64rem;
    letter-spacing: 0.18em;
  }

  #sobre .section-title {
    margin-top: 10px;
    font-size: clamp(2.4rem, 11.5vw, 3.2rem);
    line-height: 1.02;
    letter-spacing: 0.015em;
    text-wrap: unset;
  }

  #sobre .divider {
    margin-top: 22px;
    margin-bottom: 14px;
  }

  .sobre-text p {
    margin-top: 14px;
    font-size: 0.8rem;
    line-height: 1.7;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
  }

  .stat-item {
    padding: 18px 16px;
    border-radius: 18px;
  }

  .stat-num {
    font-size: 2.3rem;
  }

  .stat-label {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .sobre-visual-inner {
    min-height: 340px;
    padding: 14px;
    border-radius: 22px;
  }

  .sobre-chip {
    max-width: 100%;
    padding: 8px 11px;
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }

  .sobre-image {
    min-height: 220px;
    border-radius: 16px;
  }

  .sobre-caption {
    width: 100%;
    padding: 0;
  }

  .sobre-caption strong {
    font-size: 0.88rem;
    line-height: 1.4;
  }

  .hero-cta {
    gap: 14px;
    margin-top: 26px;
  }

  .btn-primary,
  .btn-send,
  .hero-scroll {
    min-width: 0;
  }

  .btn-primary,
  .btn-send {
    padding: 14px 18px;
  }

  .hero-scroll {
    display: none;
  }

  .media-box {
    max-width: calc(100% - 4px);
    border-radius: 20px;
  }

  .media-box::after {
    inset: 8px;
    border-radius: 15px;
  }

  .media-meta {
    width: min(100%, 280px);
    bottom: -56px;
  }

  footer {
    width: calc(100% + 16px);
    max-width: none;
    margin: 0 -8px 0;
    padding: 18px 14px calc(34px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(10, 12, 15, 0.98), rgba(7, 9, 12, 1));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
