/* STLM ENGENHARIA — STYLESHEET v2.0 */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap");

:root {
  --grafite: #111111;
  --grafite-mid: #181818;
  --grafite-light: #232323;
  --grafite-soft: #2e2e2e;
  --grafite-muted: #3a3a3a;
  --bordo: #7b1a2a;
  --bordo-hover: #9b2535;
  --bordo-dark: #5c1220;
  --bordo-glass: rgba(123, 26, 42, 0.12);
  --white: #ffffff;
  --off-white: #f6f6f6;
  --light: #eeeeee;
  --light-border: #dddddd;
  --gray: #aaaaaa;
  --gray-light: #cccccc;
  --text: #1a1a1a;
  --text-muted: #555555;
  --text-light: #888888;
  --text-xlight: #aaaaaa;
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Inter", sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 20px 80px rgba(0, 0, 0, 0.24);
  --radius: 2px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --container: 1320px;
  --header-h: 80px;
}

/* ── RESET ──────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul,
ol {
  list-style: none;
}
button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}
input,
textarea,
select {
  font-family: inherit;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
}
h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
h3 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
}
h4 {
  font-size: 1.0625rem;
  font-weight: 600;
}
p {
  line-height: 1.7;
  color: var(--text-muted);
  overflow-wrap: break-word;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bordo);
  margin-bottom: 14px;
}
.section-label::before {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bordo);
}
.section-label--light {
  color: rgba(255, 255, 255, 0.45);
}
.section-label--light::before {
  background: var(--bordo);
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}
.section-title--light {
  color: var(--white);
}
.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}
.section-subtitle--light {
  color: rgba(255, 255, 255, 0.5);
}

/* ── LAYOUT ─────────────────────────────────────────────── */
.section {
  padding: 100px 0;
}
.section--white {
  background: var(--white);
}
.section--light {
  background: var(--off-white);
}
.section--dark {
  background: var(--grafite-mid);
}
.section--darker {
  background: var(--grafite);
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}
.container--md {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 40px;
}
.section-header {
  margin-bottom: 64px;
}
.section-header--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}
.text-center {
  text-align: center;
}
.text-center .section-label {
  justify-content: center;
}
.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--bordo);
  color: var(--white);
  border: 2px solid var(--bordo);
}
.btn--primary:hover {
  background: var(--bordo-hover);
  border-color: var(--bordo-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(123, 26, 42, 0.3);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}
.btn--outline-dark {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--light-border);
}
.btn--outline-dark:hover {
  border-color: var(--grafite);
  background: var(--grafite);
  color: var(--white);
}
.btn--ghost {
  background: transparent;
  color: var(--bordo);
  border: 2px solid transparent;
  padding: 10px 0;
  font-size: 0.75rem;
}
.btn--ghost::after {
  content: " →";
}
.btn--ghost:hover {
  color: var(--bordo-hover);
  letter-spacing: 0.1em;
}
.btn--white {
  background: var(--white);
  color: var(--grafite);
  border: 2px solid var(--white);
}
.btn--white:hover {
  background: transparent;
  color: var(--white);
}
.btn--lg {
  padding: 18px 44px;
  font-size: 0.875rem;
}

/* ── LOADING SCREEN ─────────────────────────────────────── */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--grafite);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  z-index: 9999;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}
#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}
.loading-logo-text {
  font-family: var(--font-heading);
  font-size: 1.40rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--white);
}
.loading-sub {
  font-family: var(--font-heading);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  margin-top: 6px;
}
.loading-bar {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}
.loading-bar-fill {
  width: 0;
  height: 100%;
  background: var(--bordo);
  animation: loadFill 1.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes loadFill {
  to {
    width: 100%;
  }
}

/* ── HEADER ─────────────────────────────────────────────── */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.82), rgba(17, 17, 17, 0.58));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background .32s ease, box-shadow .32s ease, border-color .32s ease;
}
#header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(17, 17, 17, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
  text-decoration: none;
}
.logo-mark {
  position: relative;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo-symbol {
  position: absolute;
  inset: 0;
  width: 62px;
  height: 62px;
  object-fit: contain;
  transition: opacity .24s ease, transform .24s ease;
}
.logo-symbol--light {
  opacity: 0;
}
.logo-symbol--dark {
  opacity: 1;
}
#header.scrolled .logo-symbol--dark {
  opacity: 0;
}
#header.scrolled .logo-symbol--light {
  opacity: 1;
}
.logo-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  white-space: nowrap;
  line-height: 1;
}
.logo-title {
  font-size: 1.80rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  transition: color .24s ease;
}
.logo-divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.32);
  transition: background .24s ease;
}
.logo-subtitle {
  font-size: 1.00rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,.86);
  transition: color .24s ease;
}
#header.scrolled .logo-title {
  color: var(--grafite);
}
#header.scrolled .logo-divider {
  background: rgba(17, 17, 17, 0.22);
}
#header.scrolled .logo-subtitle {
  color: var(--grafite-muted);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--bordo);
  transition: width 0.3s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--white);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
.nav-cta {
  margin-left: 16px;
}

/* ── MOBILE TOGGLE ──────────────────────────────────────── */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  transform-origin: center;
}
.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: var(--grafite-mid);
  z-index: 1002;
  padding: 80px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 1px solid var(--grafite-soft);
}
.mobile-nav.active {
  transform: translateX(0);
}
.mobile-nav-link {
  display: block;
  padding: 14px 0;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}
.mobile-nav-link:hover {
  color: var(--white);
  padding-left: 8px;
}
.mobile-nav .btn {
  margin-top: 24px;
  width: 100%;
  justify-content: center;
}

/* ── HERO — FULL VIEWPORT ───────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--grafite);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-ph {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--grafite-light);
  color: rgba(255, 255, 255, 0.06);
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 24px;
}
.hero-bg-ph svg {
  width: 64px;
  height: 64px;
}
.hero-bg video,
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(17, 17, 17, 0.58);
  pointer-events: none;
}
.hero-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
}
.hero-copy {
  max-width: 720px;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-kicker-line {
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.36);
  flex-shrink: 0;
}
.hero-kicker-text {
  font-family: var(--font-heading);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}
.hero-subline {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 16px;
}

.hero-title {
  color: var(--white);
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
}
.hero-tagline {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.72;
  max-width: 560px;
  margin-bottom: 48px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── CLIENT STRIP ───────────────────────────────────────── */
#clients-strip {
  background: var(--grafite-light);
  border-top: 1px solid var(--grafite-soft);
  border-bottom: 1px solid var(--grafite-soft);
  padding: 28px 0;
  overflow: hidden;
}
.clients-strip-label {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
  margin-bottom: 20px;
}
.clients-track-wrap {
  overflow: hidden;
}
.clients-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: scrollTrack 38s linear infinite;
}
.clients-track:hover {
  animation-play-state: paused;
}
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  white-space: nowrap;
  transition: color 0.3s;
  padding: 8px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.client-logo:hover {
  color: rgba(255, 255, 255, 0.75);
}
@keyframes scrollTrack {
  to {
    transform: translateX(-50%);
  }
}

/* ── QUEM É A STLM ───────────────────────────────────────── */
#quem-somos {
  background: var(--white);
  padding: 100px 0;
  border-bottom: 1px solid var(--light-border);
}
.quem-somos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.quem-somos-text .section-title {
  margin-bottom: 20px;
}
.quem-somos-body {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.82;
  margin-bottom: 36px;
}
.quem-somos-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bordo);
  transition: gap var(--transition);
}
.quem-somos-link:hover {
  gap: 16px;
  color: var(--bordo-hover);
}
.quem-somos-link svg {
  width: 14px;
  height: 14px;
}
.quem-facts {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--light-border);
}
.quem-fact {
  padding: 28px 32px;
  border-bottom: 1px solid var(--light-border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.quem-fact:last-child {
  border-bottom: none;
}
.quem-fact-label {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--grafite);
  display: flex;
  align-items: center;
  gap: 14px;
}
.quem-fact-label::before {
  content: "";
  display: block;
  width: 3px;
  height: 16px;
  background: var(--bordo);
  flex-shrink: 0;
}
.quem-fact-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding-left: 17px;
  line-height: 1.55;
}

/* ── NUMBERS ────────────────────────────────────────────── */
#numbers {
  background: var(--white);
  padding: 0;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.number-item {
  padding: 64px 48px;
  border-right: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
  position: relative;
  transition: background var(--transition);
}
.number-item:last-child {
  border-right: none;
}
.number-item:hover {
  background: var(--off-white);
}
.number-item::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--bordo);
  margin-bottom: 32px;
}
.number-value {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--grafite);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.number-label {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.number-sublabel {
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* ── SEGMENTOS ATENDIDOS ────────────────────────────────── */
#segmentos {
  background: var(--off-white);
  padding: 100px 0;
}
#segmentos .section-header {
  margin-bottom: 16px;
}
.segmentos-intro {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 56px;
}
.segmentos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--light-border);
  border: 1px solid var(--light-border);
}
.segmento-card {
  background: var(--white);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background var(--transition);
}
.segmento-card:hover {
  background: var(--off-white);
}
.segmento-icon {
  width: 36px;
  height: 36px;
  color: var(--bordo);
  flex-shrink: 0;
}
.segmento-name {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--grafite);
}
.segmento-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── OBRAS EM DESTAQUE — EDITORIAL ──────────────────────── */
#obras-home {
  background: var(--white);
  padding: 100px 0;
}
.works-editorial {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 2px;
  background: var(--grafite-soft);
  border: 1px solid var(--grafite-soft);
  height: 560px;
  margin-top: 0;
}
.work-featured {
  position: relative;
  overflow: hidden;
}
.work-featured-img {
  position: absolute;
  inset: 0;
}
.works-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.work-stacked {
  position: relative;
  overflow: hidden;
  flex: 1;
}
.work-stacked-img {
  position: absolute;
  inset: 0;
}
.work-img-ph {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--grafite-light);
  color: rgba(255, 255, 255, 0.07);
  font-family: var(--font-heading);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 24px;
}
.work-img-ph svg {
  width: 36px;
  height: 36px;
}
.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.45) 40%,
    rgba(0, 0, 0, 0) 68%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: var(--transition-slow);
}
.work-featured:hover .work-overlay,
.work-stacked:hover .work-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.96) 0%,
    rgba(0, 0, 0, 0.6) 55%,
    rgba(0, 0, 0, 0.12) 80%
  );
}
.work-num {
  font-family: var(--font-heading);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
  margin-bottom: 14px;
}
.work-overlay-client {
  font-family: var(--font-heading);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bordo);
  margin-bottom: 8px;
}
.work-overlay h3 {
  color: var(--white);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
}
.work-stacked .work-overlay h3 {
  font-size: 0.9375rem;
}
.work-overlay-tag {
  font-family: var(--font-heading);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
}
.work-overlay-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0;
  transform: translateY(6px);
  transition: var(--transition);
}
.work-overlay-link svg {
  width: 14px;
  height: 14px;
}
.work-featured:hover .work-overlay-link,
.work-stacked:hover .work-overlay-link {
  opacity: 1;
  transform: translateY(0);
}

/* ── CAPACIDADE OPERACIONAL ─────────────────────────────── */
#capacidade {
  background: var(--grafite);
  padding: 100px 0;
  position: relative;
}
#capacidade::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 80px,
    rgba(255, 255, 255, 0.005) 80px,
    rgba(255, 255, 255, 0.005) 81px
  );
  pointer-events: none;
}
.capacidade-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 72px;
  position: relative;
  z-index: 1;
}
.capacidade-intro-text {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.8;
  max-width: 440px;
}
.capacidade-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grafite-soft);
  border: 1px solid var(--grafite-soft);
  position: relative;
  z-index: 1;
}
.capacidade-item {
  background: var(--grafite);
  padding: 48px 40px;
  transition: background var(--transition);
}
.capacidade-item:hover {
  background: var(--grafite-light);
}
.capacidade-num {
  font-family: var(--font-heading);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bordo);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.capacidade-num::before {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--bordo);
}
.capacidade-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.capacidade-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.65;
}

/* ── DIFERENCIAIS ───────────────────────────────────────── */
#diferenciais {
  background: var(--white);
  padding: 100px 0;
}
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--light-border);
  margin-top: 56px;
}
.diferencial-item {
  padding: 48px 40px;
  border-right: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
  transition: background var(--transition);
}
.diferencial-item:nth-child(3n) {
  border-right: none;
}
.diferencial-item:nth-child(n + 4) {
  border-bottom: none;
}
.diferencial-item:hover {
  background: var(--off-white);
}
.diferencial-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--bordo);
  opacity: 0.18;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.diferencial-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--grafite);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.diferencial-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── PROCESSO ───────────────────────────────────────────── */
#processo {
  background: var(--off-white);
  padding: 100px 0;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 64px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 36px;
  left: calc(100% / 10);
  right: calc(100% / 10);
  height: 1px;
  background: var(--light-border);
}
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
}
.timeline-dot {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--light-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--text-light);
}
.timeline-step:hover .timeline-dot {
  background: var(--bordo);
  border-color: var(--bordo);
  color: var(--white);
  box-shadow: 0 0 0 8px var(--bordo-glass);
}
.timeline-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--grafite);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.timeline-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── DOWNLOAD CTA ───────────────────────────────────────── */
#download-cta {
  background: var(--bordo);
  padding: 80px 0;
}
.download-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.download-text h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 12px;
}
.download-text p {
  color: rgba(255, 255, 255, 0.6);
  max-width: 480px;
}
.download-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--grafite);
  border-top: 1px solid var(--grafite-soft);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--grafite-soft);
}
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.7;
  margin: 20px 0 28px;
  max-width: 280px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-social {
  width: 36px;
  height: 36px;
  border: 1px solid var(--grafite-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.38);
  transition: var(--transition);
  border-radius: var(--radius);
}
.footer-social:hover {
  border-color: var(--bordo);
  color: var(--bordo);
}
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 24px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--white);
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 12px;
}
.footer-contact-item svg {
  width: 14px;
  height: 14px;
  color: var(--bordo);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-logo{
    width:300px !important;
    height:auto !important;
    max-width:none !important;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}
.footer-copyright {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.22);
}
.footer-credits {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.16);
}

/* ── WHATSAPP FLOAT ─────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 12px;
}
.whatsapp-btn {
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
  color: var(--white);
}
.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
}
.whatsapp-btn svg {
  width: 28px;
  height: 28px;
}
.whatsapp-label {
  background: var(--grafite);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: var(--transition);
  pointer-events: none;
}
.whatsapp-float:hover .whatsapp-label {
  opacity: 1;
  transform: translateX(0);
}

/* ── LIGHTBOX ───────────────────────────────────────────── */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9000;
  align-items: center;
  justify-content: center;
}
#lightbox.active {
  display: flex;
}
.lightbox-inner {
  position: relative;
  max-width: 90vw;
}
.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--transition);
  background: none;
  border: none;
}
.lightbox-close:hover {
  color: var(--white);
}
.lightbox-img {
  max-width: 90vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
}
.lightbox-caption {
  margin: 10px 0 0;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}
.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  border-radius: var(--radius);
}
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.14);
}
.lightbox-prev {
  left: 24px;
}
.lightbox-next {
  right: 24px;
}
.lightbox-counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.1em;
}

/* ── SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.revealed {
  opacity: 1 !important;
  transform: none !important;
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}
img[data-src] {
  opacity: 0;
  transition: opacity 0.4s;
}
img.loaded {
  opacity: 1;
}

/* ── PAGE HERO (páginas internas) ───────────────────────── */
.page-hero {
  background: var(--grafite);
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 72px;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-h);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 80px,
    rgba(255, 255, 255, 0.007) 80px,
    rgba(255, 255, 255, 0.007) 81px
  );
}
.page-hero-content {
  position: relative;
  z-index: 1;
}
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
}
.page-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.3);
  transition: color var(--transition);
}
.page-hero-breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.6);
}
.page-hero-breadcrumb span {
  color: rgba(255, 255, 255, 0.15);
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
}
.page-hero-sub {
  color: rgba(255, 255, 255, 0.42);
  font-size: 1rem;
  margin-top: 14px;
  max-width: 560px;
}

/* ── EMPRESA ────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image {
  position: relative;
}
.about-img-ph {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(0, 0, 0, 0.18);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.about-img-ph svg {
  width: 48px;
  height: 48px;
}
.about-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: var(--bordo);
  opacity: 0.12;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--light-border);
  border: 1px solid var(--light-border);
  margin-top: 40px;
}
.about-stat {
  background: var(--off-white);
  padding: 28px 24px;
  text-align: center;
}
.about-stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--bordo);
  line-height: 1;
  margin-bottom: 6px;
}
.about-stat-label {
  font-family: var(--font-heading);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grafite-soft);
  border: 1px solid var(--grafite-soft);
  margin-top: 56px;
}
.mvv-card {
  background: var(--grafite-mid);
  padding: 48px 40px;
}
.mvv-card-label {
  font-family: var(--font-heading);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bordo);
  margin-bottom: 16px;
}
.mvv-card h3 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 16px;
}
.mvv-card p {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--light-border);
  margin-top: 56px;
}
.value-item {
  padding: 32px 28px;
  border-right: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
  transition: background var(--transition);
}
.value-item:nth-child(4n) {
  border-right: none;
}
.value-item:nth-child(n + 5) {
  border-bottom: none;
}
.value-item:hover {
  background: var(--off-white);
}
.value-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.value-name {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--grafite);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.quality-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--grafite-soft);
  border: 1px solid var(--grafite-soft);
  margin-top: 48px;
}
.quality-item {
  background: var(--grafite-mid);
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.quality-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bordo);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.quality-check svg {
  width: 10px;
  height: 10px;
  color: var(--white);
}
.quality-text {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

/* ── SERVIÇOS ───────────────────────────────────────────── */
.service-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--light-border);
}
.service-section:nth-child(even) {
  background: var(--off-white);
}
.service-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.service-layout--reversed .service-img-col {
  order: -1;
}
.service-img-ph {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(0, 0, 0, 0.18);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.service-img-ph svg {
  width: 48px;
  height: 48px;
}
.service-num {
  font-family: var(--font-heading);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bordo);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-num::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--bordo);
  display: block;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 32px;
}
.service-tag {
  background: var(--off-white);
  border: 1px solid var(--light-border);
  padding: 5px 14px;
  font-family: var(--font-heading);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.segments-served-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--light-border);
  border: 1px solid var(--light-border);
  margin-top: 56px;
}
.seg-card {
  background: var(--off-white);
  padding: 32px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: background var(--transition);
}
.seg-card:hover {
  background: var(--light);
}
.seg-emoji {
  font-size: 1.75rem;
}
.seg-name {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--grafite);
  min-width: 0;
  overflow-wrap: break-word;
}

/* ── OBRAS / PORTFÓLIO ──────────────────────────────────── */
.filter-tabs {
  display: flex;
  background: var(--grafite-soft);
  border: 1px solid var(--grafite-soft);
  flex-wrap: wrap;
  margin-bottom: 56px;
  gap: 1px;
}
.filter-btn {
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  background: var(--grafite-mid);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}
.filter-btn:hover {
  color: var(--white);
  background: var(--grafite-light);
}
.filter-btn.active {
  background: var(--bordo);
  color: var(--white);
}
.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.portfolio-item {
  display: flex;
  flex-direction: column;
  flex: 0 0 33.333%;
  background: var(--white);
  overflow: hidden;
  border: 1px solid var(--light-border);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  z-index: 1;
  position: relative;
}
.portfolio-item.hidden {
  display: none;
}
.portfolio-img {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: #ece9e3;
}
.portfolio-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.portfolio-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-img-ph {
  width: 100%;
  height: 100%;
  background: #c0c0c0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(0, 0, 0, 0.22);
  font-family: var(--font-heading);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 20px;
}
.portfolio-img-ph svg {
  width: 32px;
  height: 32px;
}
.portfolio-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--bordo);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
}
.portfolio-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.portfolio-body .btn {
  margin-top: auto;
}
.portfolio-client {
  font-family: var(--font-heading);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bordo);
  margin-bottom: 8px;
}
.portfolio-body h3 {
  font-size: 0.9375rem;
  color: var(--grafite);
  margin-bottom: 16px;
  line-height: 1.3;
}
.portfolio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.portfolio-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--text-light);
  font-family: var(--font-heading);
  font-weight: 500;
}
.portfolio-meta-item svg {
  width: 12px;
  height: 12px;
}
.portfolio-ph-card {
  background: transparent !important;
  border: 2px dashed var(--light-border) !important;
}
.portfolio-ph-card .portfolio-body {
  align-items: center;
  justify-content: center;
  text-align: center;
}
.portfolio-ph-card h3 {
  font-size: 0.9375rem;
  color: var(--text-light);
  margin: 16px 0 8px;
}
.portfolio-ph-card p {
  font-size: 0.8125rem;
  color: var(--text-xlight);
}

/* ── CASE ───────────────────────────────────────────────── */
.case-hero {
  background: var(--grafite);
  padding: calc(var(--header-h) + 80px) 0 80px;
  position: relative;
  overflow: hidden;
}
.case-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 80px,
    rgba(255, 255, 255, 0.006) 80px,
    rgba(255, 255, 255, 0.006) 81px
  );
}
.case-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  position: relative;
  z-index: 1;
}
.case-client-label {
  font-family: var(--font-heading);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bordo);
  margin-bottom: 12px;
}
.case-hero h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 0;
}
.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.case-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-heading);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
}
.case-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--grafite-soft);
  border: 1px solid var(--grafite-soft);
}
.case-summary-item {
  background: var(--grafite-mid);
  padding: 32px 28px;
  min-width: 0;
}
.case-summary-label {
  font-family: var(--font-heading);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 8px;
}
.case-summary-value {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  overflow-wrap: break-word;
  min-width: 0;
}
.case-content {
  padding: 100px 0;
}
.case-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 80px;
}
.case-section {
  margin-bottom: 64px;
}
.case-section-label {
  font-family: var(--font-heading);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bordo);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.case-section-label::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--bordo);
  display: block;
}
.case-section h2 {
  font-size: 1.5rem;
  color: var(--grafite);
  margin-bottom: 20px;
}
.case-scope {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 20px;
}
.case-scope-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--off-white);
  border: 1px solid var(--light-border);
  font-size: 0.875rem;
  color: var(--text);
}
.case-scope-item::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bordo);
  flex-shrink: 0;
}
.case-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--light-border);
  border: 1px solid var(--light-border);
  margin-top: 20px;
}
.gallery-item {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.gallery-item:hover img {
  transform: scale(1.04);
  filter: brightness(0.88);
}
.gallery-img-ph {
  width: 100%;
  height: 100%;
  background: #c8c8c8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(0, 0, 0, 0.22);
  font-family: var(--font-heading);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 12px;
  transition: background var(--transition);
}
.gallery-item:hover .gallery-img-ph {
  background: #bababa;
}
.gallery-img-ph svg {
  width: 24px;
  height: 24px;
}
.gallery-more {
  background: var(--grafite) !important;
  color: rgba(255, 255, 255, 0.4) !important;
}
.gallery-more .gallery-count {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.case-sidebar {
}
.case-info-card {
  background: var(--off-white);
  border: 1px solid var(--light-border);
  padding: 32px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.case-info-card h4 {
  font-family: var(--font-heading);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 20px;
}
.case-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.case-info-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.case-info-key {
  font-family: var(--font-heading);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-xlight);
}
.case-info-val {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--grafite);
}
.case-cta {
  background: var(--grafite);
  padding: 80px 0;
}
.case-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.case-cta h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 12px;
}
.case-cta p {
  color: rgba(255, 255, 255, 0.45);
}
.case-cta-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ── CONTATO ────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: start;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-label {
  font-family: var(--font-heading);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--light-border);
  background: var(--white);
  color: var(--text);
  font-size: 0.9375rem;
  transition: border-color var(--transition);
  outline: none;
  border-radius: var(--radius);
  -webkit-appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--bordo);
}
.form-textarea {
  resize: vertical;
  min-height: 140px;
}
.form-submit {
  width: 100%;
  justify-content: center;
  padding: 18px;
  font-size: 0.875rem;
}
.contact-info-card {
  background: var(--grafite);
  padding: 48px 40px;
}
.contact-info-card h3 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 32px;
}
.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-info-item svg {
  width: 18px;
  height: 18px;
  color: var(--bordo);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info-label {
  font-family: var(--font-heading);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 4px;
}
.contact-info-val {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-wpp {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: var(--white);
  padding: 14px 24px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background var(--transition);
  text-transform: uppercase;
}
.contact-wpp:hover {
  background: #1ebe5a;
}
.contact-wpp svg {
  width: 20px;
  height: 20px;
}
.map-placeholder {
  background: var(--light);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  border: 1px solid var(--light-border);
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root {
    --container: 100%;
  }
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .mobile-overlay {
    display: block;
  }
  .quem-somos-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .number-item:nth-child(2) {
    border-right: none;
  }
  .number-item:nth-child(3) {
    border-top: 1px solid var(--light-border);
  }
  .segmentos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .works-editorial {
    grid-template-columns: 1fr;
    height: auto;
  }
  .work-featured {
    height: 440px;
  }
  .works-stack {
    flex-direction: row;
    height: 260px;
  }
  .capacidade-intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .capacidade-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .diferenciais-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .diferencial-item:nth-child(2n) {
    border-right: none;
  }
  .timeline {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 48px;
  }
  .timeline::before {
    display: none;
  }
  .segmentos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial-card {
    padding: 0 40px;
  }
  .testimonial-inner {
    padding: 40px 48px;
  }
  .download-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .mvv-grid {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .value-item:nth-child(2n) {
    border-right: none;
  }
  .quality-grid {
    grid-template-columns: 1fr;
  }
  .service-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .service-layout--reversed .service-img-col {
    order: 0;
  }
  .portfolio-grid .portfolio-item {
    flex: 0 0 50%;
  }
  .case-hero-grid {
    gap: 32px;
  }
  .case-grid {
    grid-template-columns: 1fr;
  }
  .case-info-card {
    position: static;
  }
  .case-cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .segments-served-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }
  .container {
    padding: 0 20px;
  }
  .hero-body {
    padding-bottom: 40px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .number-item {
    padding: 40px 28px;
  }
  .segmentos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .works-editorial {
    height: auto;
  }
  .work-featured {
    height: 360px;
  }
  .works-stack {
    flex-direction: column;
    height: auto;
  }
  .work-stacked {
    height: 240px;
    flex: none;
  }
  .capacidade-grid {
    grid-template-columns: 1fr;
  }
  .capacidade-item {
    border-right: none !important;
  }
  .diferenciais-grid {
    grid-template-columns: 1fr;
  }
  .diferencial-item {
    border-right: none;
  }
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial-card {
    padding: 0 16px;
  }
  .testimonial-inner {
    padding: 32px 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .portfolio-grid .portfolio-item {
    flex: 0 0 100%;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .case-scope {
    grid-template-columns: 1fr;
  }
  .case-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .case-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .seg-card {
    padding: 20px 16px;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .filter-btn {
    padding: 12px 18px;
    font-size: 0.625rem;
  }
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 56px 0;
  }
  .container {
    padding: 0 16px;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  .numbers-grid {
    grid-template-columns: 1fr;
  }
  .number-item {
    border-right: none;
  }
  .segmentos-grid {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .value-item {
    border-right: none;
  }
  .case-summary {
    grid-template-columns: 1fr;
  }
  .timeline {
    grid-template-columns: 1fr;
  }
  .segmentos-grid {
    grid-template-columns: 1fr;
  }
  .segments-served-grid {
    grid-template-columns: 1fr;
  }
  .seg-card {
    padding: 18px 16px;
  }
}

/* ── REFINOS V5 PREMIUM — CLIENTES, CULTURA, HERO ───────── */
.hero-tagline {
  display: block;
  max-width: 610px;
  margin-top: 14px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.95rem, 1.35vw, 1.08rem);
  line-height: 1.7;
  font-weight: 400;
}

.metric-item strong {
  color: var(--bordo);
  letter-spacing: -0.04em;
}

#clients-strip {
  background: linear-gradient(180deg, #171717 0%, #111111 100%);
  padding: 34px 0;
}
.clients-strip-label {
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 24px;
}
.clients-track {
  gap: 18px;
  animation-duration: 22s;
  align-items: center;
}
.client-logo-img {
  height: 64px;
  width: auto;
  max-width: 230px;
  flex: 0 0 auto;
  opacity: 0.72;
  filter: grayscale(1);
  transition: opacity .25s ease, filter .25s ease, transform .25s ease;
}
.client-logo-img:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: translateY(-2px);
}

.values-grid--premium {
  border: 0;
  gap: 18px;
  margin-top: 56px;
}
.values-grid--premium .value-item {
  border: 1px solid var(--light-border);
  min-height: 245px;
  padding: 30px 28px;
  background: #fff;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.values-grid--premium .value-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--bordo);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.values-grid--premium .value-item:hover {
  background: #fff;
  transform: translateY(-5px);
  border-color: rgba(123, 26, 42, 0.22);
  box-shadow: 0 20px 44px rgba(17, 17, 17, 0.08);
}
.values-grid--premium .value-item:hover::before {
  transform: scaleX(1);
}
.values-grid--premium .value-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--bordo);
  margin-bottom: 22px;
  box-shadow: 0 12px 24px rgba(123, 26, 42, 0.18);
}
.values-grid--premium .value-icon svg {
  width: 25px;
  height: 25px;
}
.values-grid--premium .value-name {
  font-size: 0.84rem;
  line-height: 1.35;
  margin-bottom: 12px;
}
.value-text {
  color: var(--text-muted);
  font-size: 0.91rem;
  line-height: 1.7;
  margin: 0;
}
.footer-credits a {
  color: rgba(255,255,255,.48);
  text-decoration: none;
  transition: color .2s ease;
}
.footer-credits a:hover { color: #fff; }

@media (max-width: 768px) {
  .clients-track { animation-duration: 18s; gap: 12px; }
  .client-logo-img { height: 54px; max-width: 190px; }
  .values-grid--premium { gap: 14px; }
  .values-grid--premium .value-item { min-height: auto; }
}

/* Ajustes finais — logo/header/hero */
#header.scrolled .nav-link {
  color: rgba(17, 17, 17, 0.68);
}
#header.scrolled .nav-link:hover,
#header.scrolled .nav-link.active {
  color: var(--grafite);
}
#header.scrolled .menu-toggle span {
  background: var(--grafite);
}
.hero-title {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.12;
  max-width: 900px;
}
.hero-subline {
  font-size: clamp(1rem, 1.45vw, 1.28rem);
  max-width: 760px;
}
@media (max-width: 1024px) {
  .site-logo { min-width: auto; }
  .logo-mark, .logo-symbol { width: 56px; height: 56px; flex-basis: 56px; }
  .logo-title { font-size: 1.58rem; }
  .logo-subtitle { font-size: .91rem; }
}
@media (max-width: 640px) {
  .logo-mark, .logo-symbol { width: 49px; height: 49px; flex-basis: 49px; }
  .logo-title { font-size: 1.38rem; }
  .logo-subtitle { font-size: .82rem; }
  .logo-divider { height: 18px; }
  .site-logo { gap: 8px; }
  .logo-wordmark { gap: 7px; }
  .hero-title { font-size: clamp(1.85rem, 9vw, 2.35rem); }
}

/* ── Correção definitiva da logo no footer ───────────────── */
footer {
  background: linear-gradient(90deg, #1A1E22 0%, #1C2325 100%) !important;
}

.footer-grid {
  grid-template-columns: minmax(340px, 1.45fr) 1fr 1fr 1.2fr;
  align-items: start;
}

.footer-logo-stl {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  background: transparent !important;
  margin-bottom: 24px;
  min-width: 0;
}

.footer-logo-symbol {
  width: 87px !important;
  height: 87px !important;
  max-width: none !important;
  object-fit: contain;
  display: block;
  flex: 0 0 87px;
  background: transparent !important;
}

.footer-logo-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  color: #ffffff;
  line-height: 1;
  white-space: nowrap;
}

.footer-logo-text strong {
  font-size: 1.96rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.footer-logo-divider {
  display: inline-block;
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.38);
}

.footer-logo-text em {
  font-size: 1.15rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .01em;
  color: rgba(255, 255, 255, 0.88);
}

.footer-brand p {
  max-width: 340px;
  margin-top: 0;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-logo-symbol {
    width: 70px !important;
    height: 70px !important;
    flex-basis: 70px;
  }

  .footer-logo-text strong {
    font-size: 1.63rem;
  }

  .footer-logo-text em {
    font-size: 1.00rem;
  }

  .footer-logo-divider {
    height: 20px;
  }
}


/* ── SEGMENTOS COM IMAGENS — HOME V9 ───────────────────── */
.home-segments--visual {
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f5 100%);
}

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

.segmento-card--image {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 18px 44px rgba(17, 17, 17, 0.08);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.segmento-card--image:hover {
  transform: translateY(-7px);
  border-color: rgba(123, 26, 42, 0.24);
  box-shadow: 0 26px 58px rgba(17, 17, 17, 0.13);
}

.segmento-card--image::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.46);
  z-index: 2;
}

.segmento-media {
  position: relative;
  height: 218px;
  margin: 0;
  overflow: hidden;
  background: #1A1E22;
}

.segmento-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12,15,18,0) 45%, rgba(12,15,18,.48) 100%);
}

.segmento-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .5s ease, filter .5s ease;
}

.segmento-card--image:hover .segmento-media img {
  transform: scale(1.07);
  filter: saturate(1.04) contrast(1.02);
}

.segmento-content {
  padding: 24px 24px 26px;
}

.segmento-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bordo);
}

.segmento-card--image .segmento-name {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--grafite);
}

.segmento-card--image .segmento-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: .94rem;
  line-height: 1.65;
}

/* ── CLIENTES — LOGOS PREMIUM V9 ───────────────────────── */
#clients-strip.clients-strip--premium {
  position: relative;
  background:
    radial-gradient(circle at 20% 0%, rgba(123,26,42,.20) 0%, rgba(123,26,42,0) 34%),
    linear-gradient(135deg, #1A1E22 0%, #111416 100%);
  padding: 42px 0 46px;
  border: 0;
}

.clients-strip-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.clients-strip-head .section-label {
  color: rgba(255,255,255,.52);
}

.clients-strip--premium .clients-strip-label {
  margin: 0;
  text-align: right;
  color: rgba(255,255,255,.72);
  font-size: .78rem;
  letter-spacing: .08em;
}

.clients-names-wrap {
  overflow: hidden;
  position: relative;
}

.clients-names-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: clientsMarquee 30s linear infinite;
}

.clients-names-wrap:hover .clients-names-track {
  animation-play-state: paused;
}

@keyframes clientsMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.client-name {
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(255,255,255,.32);
  padding: 10px 28px;
  position: relative;
  cursor: default;
  white-space: nowrap;
  transition: color .3s ease;
}

.client-name + .client-name::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 14px;
  width: 1px;
  background: rgba(255,255,255,.14);
}

.client-name:hover {
  color: rgba(255,255,255,.76);
}

@media (max-width: 980px) {
  .segmentos-grid--visual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .clients-strip-head {
    display: block;
  }
  .clients-strip--premium .clients-strip-label {
    text-align: left;
    margin-top: 8px;
  }
  .clients-names-track {
    animation-duration: 22s;
  }
  .client-name {
    font-size: .82rem;
    padding: 8px 16px;
    letter-spacing: .07em;
  }
}

@media (max-width: 620px) {
  .segmentos-grid--visual {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .segmento-media {
    height: 210px;
  }
  .segmento-content {
    padding: 22px;
  }
}

/* ── Ajustes DaiSystems — logos de clientes em carrossel ── */
.clients-logo-wrap {
  padding: 10px 0;
}
.clients-logo-track {
  gap: 28px;
  animation-duration: 34s;
}
.client-logo-item {
  width: 220px;
  height: 108px;
  flex: 0 0 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 26px;
  border: 1px solid rgba(255,255,255,.14);
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(0,0,0,.18);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.client-logo-item img {
  display: block;
  max-width: 100%;
  max-height: 74px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
}
.client-logo-item:hover {
  border-color: rgba(255,255,255,.30);
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(0,0,0,.24);
}
@media (max-width: 768px) {
  .clients-logo-track { gap: 18px; animation-duration: 26s; }
  .client-logo-item { width: 170px; height: 88px; flex-basis: 170px; padding: 14px 20px; }
  .client-logo-item img { max-height: 58px; }
}

/* ── Ajustes DaiSystems — ícones SVG modernos na página Serviços ── */
.seg-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bordo);
}
.seg-icon svg {
  width: 36px;
  height: 36px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.seg-card:hover .seg-icon {
  color: var(--bordo-dark, var(--bordo));
}
@media (max-width: 768px) {
  .seg-icon { width: 38px; height: 38px; flex-basis: 38px; }
  .seg-icon svg { width: 32px; height: 32px; }
}

/* ── Correção final mobile — páginas de case (DaiSystems) ── */
.case-grid,
.case-grid > *,
.case-content,
.case-content .container,
.case-section,
.case-sidebar,
.case-info-card,
.case-summary,
.case-summary-item,
.case-summary-value,
.case-scope,
.case-scope-item,
.case-gallery-grid,
.gallery-item,
.case-cta,
.case-cta .container,
.case-cta-inner,
.case-cta-inner > *,
.case-cta-actions {
  min-width: 0;
  max-width: 100%;
}

.case-section p,
.case-section h1,
.case-section h2,
.case-info-val,
.case-summary-value,
.case-scope-item,
.case-cta h2,
.case-cta p {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.case-gallery-grid img,
.gallery-item img {
  max-width: 100%;
}

@media (max-width: 768px) {
  .case-hero {
    padding-left: 0;
    padding-right: 0;
  }

  .case-hero-grid,
  .case-grid,
  .case-summary,
  .case-scope,
  .case-gallery-grid {
    width: 100%;
    max-width: 100%;
  }

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

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

  .case-summary-item {
    padding: 24px 18px;
  }

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

  .case-scope-item {
    width: 100%;
    max-width: 100%;
    align-items: flex-start;
  }

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

  .gallery-item {
    width: 100%;
  }

  .case-info-card {
    width: 100%;
    padding: 28px 22px;
  }

  .case-cta-inner {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .case-cta-actions {
    width: 100%;
    justify-content: center;
  }

  .case-cta-actions .btn,
  .case-info-card .btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .case-content {
    padding: 56px 0;
  }

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

  .case-section {
    margin-bottom: 48px;
  }

  .case-section-label {
    letter-spacing: 0.14em;
    line-height: 1.35;
  }
}

/* ── Correção definitiva CASES — Hero e conteúdo desktop (DaiSystems) ── */
@media (min-width: 1025px) {
  .case-hero .container,
  .case-content .container {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
  }

  .case-hero-grid {
    grid-template-columns: minmax(0, 430px) minmax(420px, 460px) !important;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
  }

  .case-hero h1 {
    max-width: 430px;
    font-size: clamp(2.75rem, 4.2vw, 4.35rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
  }

  .case-summary {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .case-summary-item {
    min-height: 118px;
    padding: 28px 24px;
  }

  .case-grid {
    grid-template-columns: minmax(0, 730px) 300px !important;
    justify-content: space-between;
    align-items: start;
    gap: 72px;
  }

  .case-section p,
  .case-section h2,
  .case-scope,
  .case-gallery-grid {
    max-width: 730px;
  }
}

.case-summary-value,
.case-info-val,
.case-section p,
.case-section h2,
.case-scope-item {
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

@media (max-width: 1024px) {
  .case-hero-grid {
    grid-template-columns: 1fr !important;
  }

  .case-hero h1 {
    max-width: 760px;
  }

  .case-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .case-hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
    line-height: 0.98;
  }

  .case-summary {
    grid-template-columns: 1fr !important;
  }
}
