/* ════════════════════════════════════════════════════════════════
   MEKATRONIK · WEBSITE STYLES
   ----------------------------------------------------------------
   Estilos do site institucional. Carrega depois de tokens.css.
   Dark theme default (regra da marca para digital).
   Sem gradientes, sem sombras, sem efeitos AI-startup.
═══════════════════════════════════════════════════════════════════ */

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* compensa navbar fixa */
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--mk-bg);
  color: var(--mk-text);
  font-family: var(--mk-font);
  font-size: 17px;
  line-height: var(--mk-lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  hyphens: none;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--mk-blue); color: var(--mk-white); }

/* ─── CONTAINERS ─── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container { padding: 0 48px; }
}

.section {
  padding: 96px 0;
  position: relative;
}

@media (min-width: 768px) {
  .section { padding: 128px 0; }
}

.section--tight { padding: 64px 0; }
.section--blue { background: var(--mk-blue); color: var(--mk-white); }
.section--deep { background: var(--mk-bg-elevated); }
.section--white { background: var(--mk-white); color: var(--mk-text); }

/* ─── TYPOGRAPHY UTILITIES ─── */
.eyebrow {
  font-size: clamp(11px, 0.85vw, 13px);
  font-weight: 600;
  letter-spacing: var(--mk-track-eyebrow);
  text-transform: uppercase;
  color: var(--mk-blue);
}

.section--blue .eyebrow { color: var(--mk-white); opacity: 0.7; }

.h1 {
  font-size: clamp(40px, 6.5vw, 84px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: var(--mk-track-hero);
  color: var(--mk-white);
}

.h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: var(--mk-track-h2);
  color: var(--mk-white);
}

.h2--blue { color: var(--mk-blue); }
.section--blue .h2 { color: var(--mk-white); }

.h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: var(--mk-track-h3);
  color: var(--mk-white);
}

.lead {
  font-size: clamp(17px, 1.4vw, 22px);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
  max-width: 60ch;
}

.section--blue .lead { color: rgba(255,255,255,0.92); }
.section--white .lead { color: var(--mk-text); }

.body { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.82); }
.body-soft { color: rgba(255,255,255,0.65); }

.accent-bar {
  display: block;
  width: 64px;
  height: 4px;
  background: var(--mk-blue);
  border: none;
  margin: 0;
}

.section--blue .accent-bar { background: var(--mk-white); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  border-radius: var(--mk-radius-pill);
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--mk-blue);
  color: var(--mk-white);
}

.btn--ghost {
  background: transparent;
  color: var(--mk-white);
  border: 1.5px solid rgba(255,255,255,0.3);
}

.btn--ghost:hover { border-color: var(--mk-white); opacity: 1; }

.btn--light {
  background: var(--mk-white);
  color: var(--mk-blue);
}

.btn .arrow {
  display: inline-block;
  width: 14px; height: 14px;
  position: relative;
  transition: transform 0.2s ease;
}
.btn .arrow::before,
.btn .arrow::after {
  content: ''; position: absolute;
  background: currentColor;
}
.btn .arrow::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.btn .arrow::after  { top: 50%; right: 0; width: 8px; height: 8px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg); background: transparent; }
.btn:hover .arrow { transform: translateX(3px); }

/* ─── NAVBAR ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--mk-z-chrome, 200);
  padding: 20px 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.nav.is-scrolled {
  padding: 14px 0;
  background: rgba(3, 7, 18, 0.78);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: rgba(255,255,255,0.06);
}

.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}

.nav__brand {
  display: flex; align-items: center;
  gap: 12px;
  height: 40px;
}

.nav__brand img { height: 32px; width: auto; }

.nav__menu {
  display: none;
  align-items: center;
  gap: 4px;
}

@media (min-width: 900px) {
  .nav__menu { display: flex; }
}

.nav__menu a {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  border-radius: var(--mk-radius-pill);
  transition: color 0.2s, background 0.2s;
}

.nav__menu a:hover { color: var(--mk-white); background: rgba(255,255,255,0.06); }
.nav__menu a.active { color: var(--mk-white); background: rgba(2,106,239,0.18); }

.nav__cta {
  display: none;
}

@media (min-width: 900px) {
  .nav__cta { display: inline-flex; }
}

.nav__toggle {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 8px;
}

@media (min-width: 900px) {
  .nav__toggle { display: none; }
}

.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  display: block;
  position: relative;
  width: 22px; height: 2px;
  background: var(--mk-white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: ''; position: absolute; left: 0;
}
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after  { top:  7px; }

.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span::after  { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0 8px;
  margin-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.nav.is-open .nav__mobile { display: flex; }

.nav__mobile a {
  padding: 14px 12px;
  font-size: 16px;
  color: var(--mk-white);
  font-weight: 500;
  border-radius: 8px;
}

.nav__mobile a:hover { background: rgba(255,255,255,0.06); }

@media (min-width: 900px) {
  .nav__mobile { display: none !important; }
}

/* ─── HERO ─── */
.hero {
  min-height: clamp(640px, 100vh, 860px);
  padding: 140px 0 96px;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1000px;
}

.hero__eyebrow { margin-bottom: 32px; }

.hero__title {
  margin-bottom: 32px;
  max-width: 18ch;
}

.hero__title strong {
  font-weight: 700;
  color: var(--mk-blue);
}

.hero__lead {
  margin-bottom: 48px;
  max-width: 55ch;
}

.hero__ctas {
  display: flex; flex-wrap: wrap; gap: 16px;
}

/* Brand arc decoration — sem gradientes, só formas geométricas em mk-blue */
.hero__arc {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.hero__arc--1 {
  top: -200px; right: -300px;
  width: 900px; height: 900px;
  border-radius: 50%;
  border: 60px solid var(--mk-blue);
  opacity: 0.10;
}

.hero__arc--2 {
  top: -100px; right: -200px;
  width: 700px; height: 700px;
  border-radius: 50%;
  border: 40px solid var(--mk-navy);
  opacity: 0.32;
}

.hero__arc--3 {
  bottom: -300px; left: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(2,106,239,0.18);
}

.hero__meta {
  position: absolute;
  bottom: 48px; left: 0; right: 0;
  z-index: 2;
}

.hero__meta-inner {
  display: flex; flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
}

.hero__meta-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--mk-blue);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}

@media (max-width: 767px) {
  .hero__meta { display: none; }
}

/* ─── MANIFESTO STRIP ─── */
.manifesto {
  padding: 96px 0;
  background: var(--mk-blue);
  color: var(--mk-white);
  position: relative;
  overflow: hidden;
}

.manifesto__inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

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

.manifesto__lines p {
  font-size: clamp(22px, 2.6vw, 38px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.manifesto__lines p:last-child {
  margin-top: 16px;
  font-weight: 500;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.5;
  letter-spacing: 0;
  opacity: 0.95;
  max-width: 65ch;
}

.manifesto__arc {
  position: absolute;
  bottom: -300px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 80px solid rgba(255,255,255,0.10);
  pointer-events: none;
}

/* ─── SECTION HEADERS ─── */
.section-head {
  margin-bottom: 64px;
  max-width: 800px;
}

.section-head .eyebrow { margin-bottom: 20px; }
.section-head .h2 { margin-bottom: 24px; }
.section-head .accent-bar { margin-bottom: 24px; }

/* ─── SHIFT BLOCK (transformation problem/shift) ─── */
.shift {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 900px) {
  .shift { grid-template-columns: 1fr 1fr; gap: 24px; }
}

.shift__col {
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
}

.shift__col--accent {
  border-color: var(--mk-blue);
  background: rgba(2,106,239,0.08);
}

.shift__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}

.shift__col--accent .shift__label { color: var(--mk-blue); }

.shift__title {
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--mk-white);
}

.shift__body {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
}

.shift__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--mk-blue);
}

@media (min-width: 900px) {
  .shift--with-arrow {
    grid-template-columns: 1fr auto 1fr;
  }
}

/* ─── SERVICES (chain block — 4 cards) ─── */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 700px) {
  .services { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .services { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

.service {
  padding: 36px 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex; flex-direction: column;
  gap: 20px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.service:hover {
  border-color: rgba(2,106,239,0.6);
  background: rgba(2,106,239,0.06);
  transform: translateY(-3px);
}

.service__num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mk-blue);
}

.service__icon {
  width: 44px; height: 44px;
  color: var(--mk-blue);
}

.service__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--mk-white);
}

.service__desc {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,0.68);
  flex: 1;
}

.service__tags {
  display: flex; flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.service__tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--mk-radius-pill);
}

/* ─── NUMBERS GRID (credibility) ─── */
.numbers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 32px;
}

@media (min-width: 700px) {
  .numbers { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1100px) {
  .numbers { grid-template-columns: repeat(6, 1fr); }
}

.number {
  display: flex; flex-direction: column;
  gap: 8px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.number__big {
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: var(--mk-track-bignum);
  color: var(--mk-white);
}

.number__big sup,
.number__big .plus {
  font-size: 0.55em;
  color: var(--mk-blue);
  font-weight: 700;
  margin-left: 4px;
  vertical-align: top;
  position: relative;
  top: 0.4em;
}

.number__label {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255,255,255,0.62);
  max-width: 22ch;
}

/* ─── CASE CARDS ─── */
.cases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 700px) {
  .cases { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .cases { grid-template-columns: repeat(3, 1fr); }
}

.case {
  padding: 40px 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex; flex-direction: column;
  gap: 16px;
  position: relative;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.case:hover {
  border-color: rgba(2,106,239,0.55);
  background: rgba(2,106,239,0.05);
  transform: translateY(-3px);
}

.case__sector {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.case__metric {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--mk-blue);
}

.case__metric--positive { color: var(--mk-orange); }
.case__metric .unit { font-size: 0.45em; opacity: 0.85; margin-left: 4px; }

.case__client {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--mk-white);
}

.case__scope {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
}

.case__body {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.62);
  flex: 1;
}

.case__tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 4px;
}

.case__tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mk-blue);
  border: 1px solid rgba(2,106,239,0.4);
  border-radius: var(--mk-radius-pill);
  background: rgba(2,106,239,0.05);
}

/* ─── CLIENTS WALL (tipográfico) ─── */
.clients {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}

@media (min-width: 700px)  { .clients { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .clients { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1300px) { .clients { grid-template-columns: repeat(5, 1fr); } }

.client {
  background: var(--mk-bg);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 130px;
  transition: background 0.2s, transform 0.2s;
}

.client:hover {
  background: rgba(2,106,239,0.06);
}

.client__name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--mk-white);
}

.client__sector {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ─── TECH STACK ─── */
.tech {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 700px) { .tech { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .tech { grid-template-columns: repeat(5, 1fr); } }

.tech__chip {
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
  text-align: center;
  letter-spacing: -0.01em;
}

/* ─── TESTIMONIAL / QUOTE ─── */
.quote {
  border-left: 4px solid var(--mk-blue);
  padding: 20px 0 20px 32px;
  max-width: 800px;
  margin: 64px 0 0;
}

.quote__text {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--mk-white);
}

.quote__attr {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ─── CTA SECTION ─── */
.cta {
  padding: 96px 0;
  background: var(--mk-blue);
  color: var(--mk-white);
  position: relative;
  overflow: hidden;
}

.cta__inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.cta__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--mk-white);
}

.cta__lead {
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.5;
  color: rgba(255,255,255,0.95);
  max-width: 55ch;
  margin-bottom: 40px;
}

.cta__channels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.18);
}

@media (min-width: 700px) {
  .cta__channels { grid-template-columns: repeat(3, 1fr); }
}

.channel {
  display: flex; flex-direction: column;
  gap: 6px;
}

.channel__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.channel__value {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--mk-white);
  word-break: break-word;
}

.channel a:hover { text-decoration: underline; text-underline-offset: 4px; }

.cta__arc {
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 60px solid rgba(255,255,255,0.10);
  pointer-events: none;
}

/* ─── FOOTER ─── */
.footer {
  padding: 64px 0 40px;
  background: var(--mk-bg);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (min-width: 900px) {
  .footer__top {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer__brand img { height: 36px; margin-bottom: 20px; }

.footer__brand p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  max-width: 36ch;
}

.footer__col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  margin-bottom: 16px;
}

.footer__col ul { display: flex; flex-direction: column; gap: 10px; }

.footer__col li a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.footer__col li a:hover { color: var(--mk-white); }

.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.42);
}

.footer__bottom a:hover { color: var(--mk-white); }

.social {
  display: flex; gap: 8px;
}

.social a {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  color: rgba(255,255,255,0.62);
  transition: border-color 0.2s, color 0.2s;
}

.social a:hover { border-color: var(--mk-blue); color: var(--mk-blue); }

.social svg { width: 18px; height: 18px; }

/* ─── REVEAL ON SCROLL ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

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

.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }
.reveal-d6 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ─── INTRO PAGE HEADER (subpages) ─── */
.page-hero {
  padding: 160px 0 80px;
  background: var(--mk-bg);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}

.page-hero__inner { position: relative; z-index: 2; max-width: 900px; }

.page-hero__eyebrow { margin-bottom: 20px; }
.page-hero__title { font-size: clamp(40px, 5.5vw, 72px); margin-bottom: 24px; }
.page-hero__lead { max-width: 60ch; }

.page-hero__arc {
  position: absolute;
  top: -100px; right: -300px;
  width: 700px; height: 700px;
  border-radius: 50%;
  border: 50px solid var(--mk-blue);
  opacity: 0.08;
  pointer-events: none;
}

/* ─── RESEARCHER CARDS (equipe page) ─── */
.researchers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 700px) { .researchers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .researchers { grid-template-columns: repeat(2, 1fr); } }

.researcher {
  padding: 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex; flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s, background 0.2s;
}

.researcher:hover { border-color: rgba(2,106,239,0.5); background: rgba(2,106,239,0.04); }

.researcher__header {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 16px;
}

.researcher__name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--mk-white);
}

.researcher__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mk-blue);
  padding: 4px 10px;
  border: 1px solid rgba(2,106,239,0.4);
  border-radius: var(--mk-radius-pill);
  white-space: nowrap;
}

.researcher__affil {
  font-size: 13px;
  color: rgba(255,255,255,0.62);
  font-weight: 500;
}

.researcher__areas {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
}

/* ─── PRODUCTION STATS (papers/patents) ─── */
.production {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 700px) { .production { grid-template-columns: repeat(3, 1fr); } }

.production__card {
  padding: 32px;
  background: rgba(2,106,239,0.05);
  border: 1px solid rgba(2,106,239,0.3);
  display: flex; flex-direction: column;
  gap: 12px;
}

.production__num {
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--mk-blue);
}

.production__label {
  font-size: 16px;
  font-weight: 600;
  color: var(--mk-white);
  letter-spacing: -0.01em;
}

.production__desc {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.62);
}

/* ─── V2 ADDITIONS ─────────────────────────────────────────────────
   Componentes adicionados para o site v2 (multi-página, bilíngue,
   encantar novos clientes). Mantém a mesma linguagem visual.
═════════════════════════════════════════════════════════════════════ */

/* Language switcher inside navbar */
.nav__lang {
  display: none;
  align-items: center;
  gap: 2px;
  margin-right: 12px;
  padding: 4px;
  border-radius: var(--mk-radius-pill);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

@media (min-width: 900px) {
  .nav__lang { display: inline-flex; }
}

.nav__lang a {
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  border-radius: var(--mk-radius-pill);
  transition: color 0.2s, background 0.2s;
}

.nav__lang a.active {
  color: var(--mk-white);
  background: var(--mk-blue);
}

.nav__lang a:not(.active):hover { color: var(--mk-white); }

.nav__mobile-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 14px 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.nav__mobile-lang span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  margin-right: 8px;
}

.nav__mobile-lang a {
  padding: 6px 14px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border-radius: var(--mk-radius-pill);
  background: rgba(255,255,255,0.05);
}

.nav__mobile-lang a.active {
  background: var(--mk-blue) !important;
  color: var(--mk-white) !important;
}

/* AREA CARDS — grid de 8 áreas */
.areas {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}

@media (min-width: 700px) { .areas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .areas { grid-template-columns: repeat(4, 1fr); } }

.area {
  background: var(--mk-bg);
  padding: 28px 24px;
  display: flex; flex-direction: column;
  gap: 12px;
  min-height: 200px;
  transition: background 0.2s, transform 0.2s;
}

.area:hover { background: rgba(2,106,239,0.05); transform: translateY(-2px); }

.area__num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mk-blue);
  font-feature-settings: 'tnum' 1;
}

.area__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--mk-white);
}

.area__desc {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.65);
  flex: 1;
}

/* DIRECTORS — 3 cards */
.directors {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 700px) { .directors { grid-template-columns: repeat(3, 1fr); } }

.director {
  padding: 36px 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex; flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s, background 0.2s;
}

.director:hover { border-color: rgba(2,106,239,0.5); background: rgba(2,106,239,0.04); }

.director__avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mk-blue), var(--mk-navy));
  background: var(--mk-navy);
  border: 2px solid var(--mk-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--mk-white);
}

.director__name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--mk-white);
}

.director__role {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mk-blue);
}

.director__bio {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
}

/* PRODUCT FAMILY (vitrine de produtos nomeados) */
.products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 700px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .products { grid-template-columns: repeat(3, 1fr); } }

.product {
  padding: 32px 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex; flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  position: relative;
}

.product:hover {
  border-color: rgba(2,106,239,0.55);
  background: rgba(2,106,239,0.05);
  transform: translateY(-3px);
}

.product__family {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.product__name {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--mk-white);
}

.product__name .accent { color: var(--mk-blue); }

.product__cat {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mk-blue);
  border: 1px solid rgba(2,106,239,0.4);
  border-radius: var(--mk-radius-pill);
  background: rgba(2,106,239,0.05);
  width: max-content;
}

.product__desc {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  flex: 1;
}

.product__where {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

.product__where strong { color: var(--mk-white); font-weight: 600; }

/* RECOGNITION STRIP (Siemens + events) */
.recognition {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

@media (min-width: 700px) { .recognition { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .recognition { grid-template-columns: repeat(4, 1fr); } }

.recognition__item {
  padding: 24px 20px;
  background: rgba(2,106,239,0.04);
  border: 1px solid rgba(2,106,239,0.25);
  display: flex; flex-direction: column;
  gap: 6px;
}

.recognition__year {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mk-blue);
}

.recognition__event {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--mk-white);
}

.recognition__role {
  font-size: 12px;
  color: rgba(255,255,255,0.62);
  line-height: 1.4;
}

/* MISSION / VISION blocks (paired) */
.mv {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 900px) { .mv { grid-template-columns: 1fr 1fr; } }

.mv__block {
  padding: 40px 36px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.02);
}

.mv__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mk-blue);
  margin-bottom: 16px;
}

.mv__text {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--mk-white);
}

.mv__text em { color: var(--mk-blue); font-style: normal; font-weight: 700; }

/* VALUES (6 small cards) */
.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 700px) { .values { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .values { grid-template-columns: repeat(6, 1fr); } }

.value {
  padding: 20px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
}

.value__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--mk-white);
  margin-bottom: 4px;
}

.value__desc {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255,255,255,0.62);
}

/* CASE DEEP PAGE — story-driven layout */
.case-hero {
  padding: 160px 0 96px;
  background: var(--mk-bg);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}

.case-hero__inner { position: relative; z-index: 2; max-width: 1000px; }

.case-hero__crumbs {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  margin-bottom: 32px;
}

.case-hero__crumbs a { color: rgba(255,255,255,0.62); transition: color 0.2s; }
.case-hero__crumbs a:hover { color: var(--mk-white); }
.case-hero__crumbs span { color: rgba(255,255,255,0.3); }

.case-hero__sector {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mk-blue);
  border: 1px solid rgba(2,106,239,0.4);
  border-radius: var(--mk-radius-pill);
  background: rgba(2,106,239,0.06);
  margin-bottom: 24px;
}

.case-hero__client {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--mk-white);
  margin-bottom: 16px;
}

.case-hero__title {
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: rgba(255,255,255,0.78);
  max-width: 50ch;
  margin-bottom: 48px;
}

.case-hero__kpis {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

@media (min-width: 700px) { .case-hero__kpis { grid-template-columns: repeat(3, 1fr); } }

.kpi {
  display: flex; flex-direction: column;
  gap: 6px;
}

.kpi__num {
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--mk-blue);
}

.kpi__num.positive { color: var(--mk-orange); }

.kpi__num .unit { font-size: 0.4em; opacity: 0.85; margin-left: 4px; }

.kpi__label {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255,255,255,0.62);
  max-width: 24ch;
}

.case-hero__arc {
  position: absolute;
  top: -100px; right: -300px;
  width: 800px; height: 800px;
  border-radius: 50%;
  border: 50px solid var(--mk-blue);
  opacity: 0.08;
  pointer-events: none;
}

/* CASE STORY SECTION (challenge/approach/result) */
.story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 920px;
}

@media (min-width: 900px) {
  .story { grid-template-columns: 220px 1fr; gap: 64px; }
}

.story__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mk-blue);
  padding-top: 12px;
  border-top: 1px solid var(--mk-blue);
  width: max-content;
}

.story__body {
  display: flex; flex-direction: column;
  gap: 20px;
}

.story__lead {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--mk-white);
  max-width: 50ch;
}

.story__body p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
  max-width: 60ch;
}

.story__body strong { color: var(--mk-white); font-weight: 600; }

.story__list {
  display: flex; flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.story__list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 60ch;
}

.story__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 2px;
  background: var(--mk-blue);
}

.story__stack {
  display: flex; flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.story__chip {
  display: inline-block;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--mk-radius-pill);
  background: rgba(255,255,255,0.03);
}

/* CASE QUOTE BIG */
.big-quote {
  padding: 80px 0;
  position: relative;
}

.big-quote__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.big-quote__text {
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--mk-white);
}

.big-quote__text em {
  color: var(--mk-blue);
  font-style: normal;
  font-weight: 700;
}

.big-quote__attr {
  margin-top: 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* RELATED CASES (at end of a case page) */
.related-cases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 700px) { .related-cases { grid-template-columns: repeat(2, 1fr); } }

.related-case {
  padding: 32px 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex; flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.related-case:hover {
  border-color: rgba(2,106,239,0.55);
  background: rgba(2,106,239,0.05);
  transform: translateY(-3px);
}

.related-case__sector {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.related-case__client {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--mk-white);
}

.related-case__metric {
  font-size: 14px;
  color: var(--mk-blue);
  font-weight: 600;
}

.related-case__arrow {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mk-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* MAP / GEO ACTUATION strip */
.geo {
  display: flex; flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.geo__chip {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--mk-radius-pill);
  background: rgba(255,255,255,0.02);
}

.geo__chip.international {
  border-color: var(--mk-blue);
  color: var(--mk-blue);
  background: rgba(2,106,239,0.06);
}

/* ════════════════════════════════════════════════════════════════
   V3 HOME · inspirada no site atual (cover.jpg, narrativa tight,
   produtos/áreas/pesquisa empurrados para subpáginas)
═══════════════════════════════════════════════════════════════════ */

/* HERO com cover.jpg + círculos concêntricos brancos */
.hero-v3 {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh; /* dynamic viewport — handles mobile address bar */
  padding: 140px 0 100px;
  display: flex; align-items: center;
  overflow: hidden;
  background: #0a0e16;
}

.hero-v3__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-v3__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 1;
}

/* Subtle radial vignette + bottom darkening for headline legibility
   without washing out the underlying industrial photo. */
.hero-v3__bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(3,7,18,0.10) 0%, rgba(3,7,18,0.55) 70%, rgba(3,7,18,0.85) 100%),
    linear-gradient(180deg, rgba(3,7,18,0.45) 0%, rgba(3,7,18,0.15) 30%, rgba(3,7,18,0.35) 70%, rgba(3,7,18,0.80) 100%);
}

/* Decorative concentric circles — disabled to match the v3 entry layout
   that uses the photo as the sole hero treatment. Keep markup tolerant. */
.hero-v3__circles { display: none; }

.hero-v3__inner {
  position: relative; z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.hero-v3__title {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--mk-white);
  margin: 0 0 40px;
  text-wrap: balance;
  text-shadow: 0 1px 24px rgba(0,0,0,0.35);
}

.hero-v3__ctas {
  display: inline-flex; gap: 16px; flex-wrap: wrap;
  justify-content: center;
}

/* Single-CTA variant — when only one button is shown */
.hero-v3__ctas--single { display: inline-flex; }

/* SEÇÃO Digital transformation — tipografia gigante + símbolo */
.dt-section {
  position: relative;
  padding: 96px 0 0;
  background: var(--mk-blue);
  color: var(--mk-white);
  border-radius: 24px 24px 0 0;
  margin-top: -24px;
  overflow: hidden;
}

@media (min-width: 768px) { .dt-section { padding: 128px 0 0; } }

.dt-section__title {
  text-align: center;
  font-size: clamp(44px, 9vw, 112px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 2px var(--mk-white);
  text-stroke: 2px var(--mk-white);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  word-break: break-word;
}

.dt-section__title .br-mobile { display: inline; }

.dt-section__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 64px auto 0;
  padding: 0 24px;
}

@media (min-width: 900px) {
  .dt-section__body { grid-template-columns: 1fr 1fr; gap: 80px; }
}

.dt-section__symbol {
  display: flex; justify-content: center;
  order: 2;
}

@media (min-width: 900px) { .dt-section__symbol { order: 2; } }

.dt-section__symbol svg {
  width: 100%; max-width: 380px;
  color: var(--mk-white);
}

.dt-section__copy { display: flex; flex-direction: column; gap: 24px; max-width: 520px; order: 1; }

.dt-section__heading {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--mk-white);
}

.dt-section__copy p {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
  padding-left: 20px;
  border-left: 1px solid rgba(255,255,255,0.6);
}

.dt-section__copy p strong { color: var(--mk-white); font-weight: 700; }

/* CORE SERVICES (4 cards brancos sobre azul) */
.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 24px;
  background: var(--mk-blue);
}

@media (min-width: 600px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .svc-grid { grid-template-columns: repeat(4, 1fr); padding: 64px 48px; } }

.svc-card {
  background: #FFFFFF;
  color: #1F2937;
  border-radius: 16px;
  padding: 24px;
  display: flex; flex-direction: column;
  gap: 20px;
  min-height: 240px;
  transition: transform 0.25s ease;
  text-decoration: none;
}

.svc-card:hover { transform: translateY(-4px); }

.svc-card__icon {
  width: 64px; height: 64px;
  display: flex; align-items: center;
}

.svc-card__icon img { width: 100%; height: auto; }

.svc-card__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #1F2937;
  flex: 1;
}

.svc-card__cta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mk-blue);
}

.svc-head {
  background: var(--mk-blue);
  padding: 64px 24px 0;
  text-align: center;
}

.svc-head h2 {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--mk-white);
  max-width: 720px;
  margin: 0 auto;
}

/* PORTFOLIO — 8-area grid com clipart icons */
.portfolio-section {
  background: var(--mk-bg);
  padding: 96px 24px;
  position: relative;
}

.portfolio-section__head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 56px;
}

.portfolio-section__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mk-blue);
  margin-bottom: 16px;
}

.portfolio-section h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--mk-white);
  margin-bottom: 16px;
}

.portfolio-section h2 strong { color: var(--mk-blue); font-weight: 700; }

.portfolio-section__sub {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 680px;
  margin: 0 auto;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.10);
}

@media (min-width: 600px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .portfolio-grid { grid-template-columns: repeat(4, 1fr); } }

.port-item {
  background: var(--mk-bg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 220px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.port-item:hover {
  background: rgba(2,106,239,0.08);
  transform: translateY(-2px);
}

.port-item__icon {
  width: 36px; height: 36px;
  color: var(--mk-blue);
  margin-bottom: 4px;
}

.port-item__icon svg { width: 100%; height: 100%; display: block; }

.port-item__title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--mk-white);
}

.port-item__desc {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.62);
  flex: 1;
}

.port-item__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mk-blue);
  margin-top: 4px;
}

/* CLIENTS — carrossel marquee CSS-only em 2 direções */
.clients-strip {
  background: var(--mk-blue);
  padding-top: 10vw;
  position: relative;
  overflow: hidden;
}

.clients-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 300vw; height: 300vw;
  background: var(--mk-white);
  border-radius: 50%;
  transform: translateX(-50%);
}

.clients-block {
  position: relative;
  background: var(--mk-white);
  color: var(--mk-text);
  padding: 80px 0 96px;
}

.clients-block h2 {
  text-align: center;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--mk-blue);
  margin-bottom: 32px;
  padding: 0 24px;
}

.marquee {
  overflow: hidden;
  position: relative;
  padding: 16px 0;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-left 60s linear infinite;
}

.marquee--right .marquee__track {
  animation: marquee-right 70s linear infinite;
}

.marquee__item {
  flex-shrink: 0;
  width: 200px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
}

.marquee__item img {
  max-width: 100%;
  max-height: 60px;
  width: auto; height: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.2s, opacity 0.2s;
}

.marquee__item img:hover { filter: grayscale(0); opacity: 1; }

@keyframes marquee-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* PROJECTS — narrativas (6 cards horizontais scroll/wrap) */
.projects-section {
  background: var(--mk-bg);
  border-radius: 24px 24px 0 0;
  margin-top: -24px;
  padding: 96px 0 96px;
  position: relative;
  z-index: 2;
}

.projects-section h2 {
  text-align: center;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--mk-white);
  margin-bottom: 48px;
  padding: 0 24px;
}

.proj-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 800px) { .proj-track { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .proj-track { grid-template-columns: repeat(3, 1fr); } }

.proj-card {
  background: #FFFFFF;
  color: #1F2937;
  border-radius: 16px;
  padding: 32px 28px;
  display: flex; flex-direction: column;
  gap: 20px;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.proj-card:hover { transform: translateY(-4px); }

.proj-card__logo {
  min-height: 32px;
  display: flex; align-items: center;
  color: #1F2937;
}

.proj-card__logo img { max-height: 56px; max-width: 180px; width: auto; height: auto; }
.proj-card__logo strong { color: #1F2937; }

.proj-card__metric {
  display: inline-block;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mk-blue);
  background: rgba(2,106,239,0.08);
  border-radius: var(--mk-radius-pill);
  width: max-content;
}

.proj-card__body {
  font-size: 15px;
  line-height: 1.6;
  color: #6B7280;
  flex: 1;
}

.proj-card__body strong { color: #1F2937; font-weight: 600; }

.proj-card__cta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mk-blue);
}

/* TECHNOLOGIES */
.tech-section {
  background: var(--mk-bg);
  padding: 96px 24px;
}

.tech-section h2 {
  text-align: center;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  color: var(--mk-white);
  margin-bottom: 64px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 32px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
  justify-items: center;
}

@media (min-width: 700px) { .tech-grid { grid-template-columns: repeat(4, 1fr); } }

.tech-grid img {
  max-width: 100%;
  max-height: 56px;
  width: auto; height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: opacity 0.2s;
}

.tech-grid img:hover { opacity: 1; }

/* NUMBERS V3 — strip azul rounded */
.numbers-v3 {
  background: var(--mk-blue);
  color: var(--mk-white);
  padding: 64px 24px;
  border-radius: 24px;
  max-width: 1200px;
  margin: 0 24px;
  position: relative;
  z-index: 5;
}

@media (min-width: 1248px) { .numbers-v3 { margin: 0 auto; } }

.numbers-v3 h2 {
  text-align: center;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  margin-bottom: 48px;
}

.numbers-v3__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 700px) { .numbers-v3__grid { grid-template-columns: repeat(3, 1fr); } }

.numbers-v3__big {
  font-size: clamp(64px, 9vw, 120px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--mk-white);
}

.numbers-v3__big .plus { font-size: 0.55em; margin-right: 4px; vertical-align: 0.15em; opacity: 0.85; }

.numbers-v3__label {
  font-size: 16px;
  margin-top: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
}

/* MANIFESTO compact strip */
.manifesto-strip {
  background: var(--mk-bg-elevated);
  padding: 80px 24px;
  margin-top: -24px;
  border-radius: 0 0 24px 24px;
  position: relative;
}

.manifesto-strip__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-strip__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mk-blue);
  margin-bottom: 32px;
}

.manifesto-strip__lines p {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--mk-white);
  margin: 6px 0;
}

.manifesto-strip__close {
  font-size: clamp(14px, 1.2vw, 18px);
  color: rgba(255,255,255,0.7);
  margin-top: 24px;
  max-width: 60ch;
  margin-left: auto; margin-right: auto;
  line-height: 1.55;
}

/* RECOGNITION — high-impact strip */
.rec-strip {
  background: var(--mk-bg);
  padding: 112px 24px;
  border-top: 1px solid rgba(2,106,239,0.18);
  border-bottom: 1px solid rgba(2,106,239,0.18);
  position: relative;
  overflow: hidden;
}

.rec-strip::before {
  content: '';
  position: absolute;
  top: -200px; right: -300px;
  width: 700px; height: 700px;
  border-radius: 50%;
  border: 60px solid var(--mk-blue);
  opacity: 0.06;
  pointer-events: none;
}

.rec-strip__head {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 56px;
  position: relative;
  z-index: 2;
}

.rec-strip__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mk-blue);
  padding: 8px 18px;
  border: 1px solid rgba(2,106,239,0.5);
  border-radius: var(--mk-radius-pill);
  background: rgba(2,106,239,0.08);
  margin-bottom: 24px;
}

.rec-strip h2 {
  text-align: center;
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--mk-white);
  margin-bottom: 20px;
}

.rec-strip h2 strong { color: var(--mk-blue); font-weight: 700; }

.rec-strip__sub {
  font-size: clamp(15px, 1.3vw, 18px);
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
  max-width: 720px;
  margin: 0 auto;
}

.rec-strip__items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

@media (min-width: 800px) { .rec-strip__items { grid-template-columns: 1fr 1fr; } }

.rec-strip__item {
  padding: 32px 32px;
  border: 1px solid rgba(2,106,239,0.25);
  background: rgba(2,106,239,0.04);
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  align-items: start;
  border-radius: 12px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.rec-strip__item:hover {
  background: rgba(2,106,239,0.10);
  border-color: var(--mk-blue);
  transform: translateY(-2px);
}

.rec-strip__year {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--mk-blue);
  white-space: nowrap;
  line-height: 1.1;
  padding-top: 2px;
}

.rec-strip__event {
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
}

.rec-strip__event strong {
  display: block;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--mk-white);
  margin-bottom: 8px;
  line-height: 1.2;
}

/* ABOUT V3 */
.about-v3 {
  background: #FFFFFF;
  color: #1F2937;
  padding: 96px 24px;
  margin-top: -24px;
  border-radius: 24px 24px 0 0;
  position: relative;
  z-index: 2;
}

.about-v3__head {
  text-align: center;
  margin-bottom: 64px;
  max-width: 900px;
  margin-left: auto; margin-right: auto;
}

.about-v3__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mk-blue);
  margin-bottom: 16px;
}

.about-v3__title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #1F2937;
}

.about-v3__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 900px) { .about-v3__body { grid-template-columns: 1.1fr 1fr; gap: 64px; } }

.about-v3__text {
  display: flex; flex-direction: column;
  gap: 20px;
  max-width: 580px;
}

.about-v3__text p {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.65;
  color: #6B7280;
}

.about-v3__text p strong { color: #1F2937; font-weight: 600; }

.about-v3__figure {
  background: #F3F4F6;
  border-radius: 16px;
  overflow: hidden;
}

.about-v3__figure img {
  width: 100%; height: auto;
  display: block;
}

/* TESTIMONIALS V3 */
.testimonials-v3 {
  background: #FFFFFF;
  color: #1F2937;
  padding: 0 24px 96px;
}

.test-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 800px) { .test-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); } }

.test-card {
  background: #F9FAFB;
  border-radius: 16px;
  padding: 32px 28px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.test-card__quote {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: #1F2937;
}

.test-card__attr {
  display: flex; flex-direction: column;
  gap: 2px;
}

.test-card__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--mk-blue);
}

.test-card__role {
  font-size: 13px;
  color: #6B7280;
}

/* CONTACT V3 (footer-styled, blue rounded top) */
.contact-v3 {
  background: var(--mk-blue);
  color: var(--mk-white);
  padding: 80px 24px;
  margin-top: -24px;
  border-radius: 24px 24px 0 0;
  position: relative;
}

.contact-v3__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-v3__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  margin-bottom: 16px;
}

.contact-v3__title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--mk-white);
  margin-bottom: 48px;
}

.contact-v3__channels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 700px) { .contact-v3__channels { grid-template-columns: repeat(3, 1fr); } }

.contact-v3__channel-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
}

.contact-v3__channel-value {
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 700;
  color: var(--mk-white);
}

.contact-v3__channel-value a:hover { text-decoration: underline; text-underline-offset: 4px; }

.contact-v3__signature {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.18);
  font-size: 13px;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* ─── UTILITIES ─── */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mt-6 { margin-top: 64px; }

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

.divider {
  display: block;
  height: 1px;
  background: rgba(255,255,255,0.08);
  border: none;
  margin: 0;
}
