/* ══════════════════════════════════════════
   DLM COMUNICAÇÃO — Dark Edition
   Inspired by designbybrandin.com
══════════════════════════════════════════ */

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

:root {
  --bg:      #FFFFFF;
  --surface: #F5F5F4;
  --border:  rgba(0,0,0,0.09);
  --text:    #0C0C0C;
  --muted:   rgba(0,0,0,0.42);
  --amber:   #F08300;
  --blue:    #19477d;
  --white:   #FFFFFF;
  --max:     1280px;
  --pad:     72px;
  --nav-h:   80px;
}

html { font-size: 16px; }
body {
  font-family: 'Sora', sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
address { font-style: normal; }


/* ══════════════════════════════════════════
   NAV
══════════════════════════════════════════ */
#nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  transition: border-color .4s, background .4s;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(255,255,255,0.97);
  border-bottom-color: var(--border);
  backdrop-filter: blur(16px);
}
/* Both states use dark elements since hero is now light */
#nav.scrolled .nav-logo-img { filter: none; }
.ham-line                   { background: var(--text); }

.nav-logo { display: flex; align-items: center; }
.nav-logo-img {
  height: 30px; width: auto; display: block;
  filter: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Sora', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--text);
  padding: 4px 2px;
  transition: color .25s;
  line-height: 1;
}
.lang-btn:hover { color: var(--blue); }
.lang-btn--menu { color: var(--text); }

.menu-top-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-connect {
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding-bottom: 2px;
  transition: color .25s, border-color .25s;
  margin-right: 40px;
}
.nav-connect:hover { color: var(--text); border-color: var(--text); }

/* Hamburger */
.hamburger {
  background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center;
  gap: 8px; padding: 8px;
}
.ham-line {
  display: block; width: 28px; height: 1.5px;
  background: var(--text); border-radius: 1px;
  transform-origin: center;
  transition: transform .45s cubic-bezier(.4,0,.2,1), opacity .3s;
}
.hamburger.is-open .ham-line:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.hamburger.is-open .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open .ham-line:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

/* ══════════════════════════════════════════
   MENU OVERLAY
══════════════════════════════════════════ */
.menu-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: #ffffff;
  display: flex; flex-direction: column;
  padding: 0 var(--pad);
  clip-path: circle(0px at calc(100% - 56px) 40px);
  transition: clip-path .8s cubic-bezier(.77,0,.18,1);
  pointer-events: none; visibility: hidden;
}
.menu-overlay.is-open {
  clip-path: circle(200% at calc(100% - 56px) 40px);
  pointer-events: all; visibility: visible;
}

.menu-top {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.menu-logo { display: flex; align-items: center; }
.menu-logo-img { height: 30px; width: auto; filter: none; } /* same size as nav */

.hamburger--menu .ham-line { background: var(--text); }

.menu-nav {
  flex: 1; display: flex; align-items: center;
  padding: 24px 0;
}
.menu-list { width: 100%; }
.menu-list li {
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.menu-link {
  display: flex; align-items: baseline; gap: 20px;
  font-size: clamp(22px, 3vw, 44px);
  font-weight: 200;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.25;
  padding: 7px 0;
  transform: translateY(105%);
  transition: color .3s, transform .65s cubic-bezier(.4,0,.2,1);
}
.menu-link:hover { color: var(--amber); }
.menu-num {
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.15em; color: var(--muted);
  align-self: flex-end; padding-bottom: 10px;
  transition: color .3s;
}
.menu-link:hover .menu-num { color: var(--amber); }

.menu-overlay.is-open .menu-list li:nth-child(1) .menu-link { transform: translateY(0); transition-delay: .10s; }
.menu-overlay.is-open .menu-list li:nth-child(2) .menu-link { transform: translateY(0); transition-delay: .16s; }
.menu-overlay.is-open .menu-list li:nth-child(3) .menu-link { transform: translateY(0); transition-delay: .22s; }
.menu-overlay.is-open .menu-list li:nth-child(4) .menu-link { transform: translateY(0); transition-delay: .28s; }
.menu-overlay.is-open .menu-list li:nth-child(5) .menu-link { transform: translateY(0); transition-delay: .34s; }
.menu-overlay.is-open .menu-list li:nth-child(6) .menu-link { transform: translateY(0); transition-delay: .40s; }
.menu-overlay.is-open .menu-list li:nth-child(7) .menu-link { transform: translateY(0); transition-delay: .46s; }

.menu-footer {
  padding: 32px 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border);
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s .55s, transform .5s .55s;
}
.menu-overlay.is-open .menu-footer { opacity: 1; transform: translateY(0); }
.menu-email { font-size: 14px; color: var(--muted); transition: color .25s; }
.menu-email:hover { color: var(--text); }
.menu-social { display: flex; gap: 10px; }

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color .25s;
}
.social-btn:hover { color: #fff; }

/* ══════════════════════════════════════════
   HERO — Full-screen Brandin style
══════════════════════════════════════════ */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #c8daea; /* light blue fallback matching the banner */
}

/* ── Figure layer (behind text) ── */
.hero-figure {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-fig-img {
  position: absolute;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(1.0) saturate(1.0);
}

@keyframes heroWalk {
  0%   { transform: scale(1.0); }
  50%  { transform: scale(1.03); }
  100% { transform: scale(1.0); }
}

/* No overlay needed — image has no embedded text */
.hero-figure::after { display: none; }

/* ── Hero tagline (HTML, responsive) ── */
.hero-tagline {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(24px, 5vw, 80px);
  pointer-events: none;
}

.hero-tagline-inner {
  display: flex;
  align-items: baseline;
  justify-content: center;
  width: 100%;
  gap: clamp(8px, 1.5vw, 24px);
}

.ht-left,
.ht-em {
  font-size: clamp(14px, 1.7vw, 24px);
  font-weight: 400;
  letter-spacing: 0.20em;
  color: var(--blue);
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.ht-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.85);
  min-width: 8px;
  max-width: 260px; /* shorter line → more room for text */
}

.ht-movimento {
  font-size: clamp(14px, 1.7vw, 24px);
  font-weight: 400;
  letter-spacing: 0.20em;
  color: #ffffff;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

/* glow elements hidden */
.hero-glow, .hero-glow-inner { display: none; }

/* ── Scroll hint ── */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.scroll-hint-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0.85;
}

.scroll-hint-track {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.25);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}

.scroll-hint-drip {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  animation: scrollDrip 2.2s ease-in-out infinite;
}

@keyframes scrollDrip {
  0%   { top: -100%; }
  40%  { top: 0%; }
  60%  { top: 0%; }
  100% { top: 100%; }
}

/* ── Text content layer (in front of figure) ── */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--nav-h) var(--pad) 110px;
  pointer-events: none;
}

.hero-label {
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.30em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}

.hero-name {
  font-size: clamp(140px, 24vw, 320px);
  font-weight: 700;
  letter-spacing: 0.10em;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 2px 60px rgba(0,0,0,0.6);
  margin-bottom: 0;
}

.hero-sub {
  font-size: clamp(12px, 1.5vw, 19px);
  font-weight: 300;
  letter-spacing: 0.42em;
  color: rgba(255,255,255,0.42);
  text-transform: lowercase;
  margin-top: 14px;
}

/* ── Bottom meta strip (like Brandin's three info items) ── */
.hero-meta {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px var(--pad);
  border-top: 1px solid rgba(255,255,255,0.10);
  font-size: 10px; font-weight: 300;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.38);
}

/* ══════════════════════════════════════════
   SECTION COMMONS
══════════════════════════════════════════ */
/* section borders removed */
.section-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px var(--pad);
}
.section-header { margin-bottom: 40px; }
.section-label {
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.label-alt { color: rgba(0,0,0,0.22); }
.section-heading {
  font-size: clamp(36px, 3.5vw, 54px);
  font-weight: 200;
  letter-spacing: -0.03em; line-height: 1.1;
  color: var(--text);
}

/* ══════════════════════════════════════════
   PORTFÓLIO — cards empilhados, borda a borda
══════════════════════════════════════════ */
#trabalhos .section-wrap { padding-bottom: 20px; }

.cases-cta-wrap {
  display: flex;
  justify-content: center;
  padding: 48px var(--pad);
}

.cases-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--blue);
  border: 1.5px solid var(--blue);
  padding: 14px 40px;
  border-radius: 100px;
  transition: background .25s, color .25s;
}
.cases-cta:hover {
  background: var(--blue);
  color: #ffffff;
}
.cases-stack {
  display: flex;
  flex-direction: column;
}

.case-card {
  width: 100%;
  height: 200px;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: height 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.case-card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.case-card:hover {
  height: 520px;
}

/* Background layer — scales up slightly on hover for extra dynamism */
.case-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.06);
  will-change: transform;
}
.case-card:hover .case-bg {
  transform: scale(1.0);
}

/* Gradient overlay for text legibility */
.case-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.18) 55%, transparent 100%);
  z-index: 1;
}

.case-info {
  position: absolute;
  bottom: clamp(24px, 3vw, 40px);
  left: clamp(24px, var(--pad), 72px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.case-cat {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--amber);
}
.case-title {
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 300;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.case-btn {
  display: inline-flex;
  align-items: center;
  font-family: 'Sora', sans-serif;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.55);
  padding: 9px 20px;
  border-radius: 100px;
  margin-top: 6px;
  width: fit-content;
  transition: background .25s, border-color .25s;
}
.case-btn:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.9);
}

/* ══════════════════════════════════════════
   SERVIÇOS — 2 colunas, 4 pares
══════════════════════════════════════════ */
.services-grid {
  display: flex;
  flex-direction: column;
}

.svc-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 80px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.svc-pair:last-child {
  border-bottom: 1px solid var(--border);
}

.svc-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.svc-num {
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.15em; color: var(--muted);
}

.svc-title {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}

.svc-sub {
  font-size: 13px; font-weight: 300;
  color: var(--muted); line-height: 1.65;
}

/* ══════════════════════════════════════════
   SOBRE / TIMELINE
══════════════════════════════════════════ */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0 64px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.timeline-item:first-child { border-top: 1px solid var(--border); }

.tl-year {
  display: block;
  font-size: 12px; font-weight: 400;
  color: var(--amber); letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.tl-loc {
  display: block;
  font-size: 11px; font-weight: 300;
  color: var(--muted); letter-spacing: 0.04em;
}

.tl-title {
  font-size: 20px; font-weight: 300;
  letter-spacing: -0.02em; color: var(--text);
  margin-bottom: 6px;
}
.tl-role {
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.tl-desc {
  font-size: 14px; font-weight: 300;
  color: var(--muted); line-height: 1.75;
  max-width: 560px;
}

/* ══════════════════════════════════════════
   NÚMEROS — alternating left/right (PDF layout)
══════════════════════════════════════════ */
#numeros {
  background: var(--bg);
  overflow: hidden;
  padding: 44px 0;
}

.nums-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.num-row {
  display: flex;
  align-items: flex-end;   /* bottom-align all children */
  gap: 24px;
  padding: 14px 0;
  will-change: transform;
  overflow: hidden;
}

/* Stat block: large number + small label on same baseline */
.num-stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-shrink: 0;
}

.num-value {
  font-size: clamp(46px, 6vw, 88px);
  font-weight: 700;
  color: var(--amber);
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.num-n { /* inline counter span inside num-value */ }

.num-label {
  font-size: clamp(13px, 1.4vw, 20px);
  font-weight: 300;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: 0.01em;
  line-height: 1;
}

/* Amber line — sits at label text height via margin-bottom */
.num-line {
  flex: 1;
  height: 1px;
  background: var(--amber);
  opacity: 0.45;
  min-width: 0;
  margin-bottom: clamp(5px, 0.55vw, 9px);
}

/* ══════════════════════════════════════════
   SOBRE
══════════════════════════════════════════ */

#sobre {
  position: relative;
}

.sobre-wrap {
  display: block;
}

.sobre-left {
  max-width: 100%;
}

.sobre-body {
  width: 100%;
}

.sobre-text {
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.85;
  text-align: justify;
  margin-bottom: 40px;
}

.sobre-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--blue);
  border: 1.5px solid var(--blue);
  padding: 14px 32px;
  border-radius: 100px;
  transition: background .25s, color .25s;
}
.sobre-btn:hover {
  background: var(--blue);
  color: #ffffff;
}

/* ══════════════════════════════════════════
   CLIENTES — logo carousel
══════════════════════════════════════════ */
.logos-carousel {
  overflow: hidden;
  padding: 8px 0 64px;
  /* fade masks on left and right edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image:         linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.logos-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: logoScroll 28s linear infinite;
}

.logos-carousel:hover .logos-track {
  animation-play-state: paused;
}

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

.logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo-item img {
  height: 48px;
  width: auto;
  display: block;
  filter: grayscale(1) opacity(0.45);
  transition: filter .35s ease;
}

.logo-item img:hover {
  filter: grayscale(0) opacity(1);
}

/* ══════════════════════════════════════════
   DEPOIMENTOS — grid 3 colunas + paginação
══════════════════════════════════════════ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 48px;
}

.testi-item {
  background: var(--bg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}



.testi-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  filter: grayscale(100%);
}

.testi-item:hover .testi-photo {
  opacity: 1;
  transform: translateX(0);
}

.testi-num {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.testi-text {
  font-size: 15px;
  font-weight: 300;
  color: var(--text);
  line-height: 1.85;
}

.testi-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
  transition: border-color 0.35s ease;
}

.testi-item:hover .testi-footer {
  border-top-color: rgba(255,255,255,0.25);
}

.testi-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
  transition: color 0.35s ease;
}

.testi-item:hover .testi-name { color: #fff; }

.testi-role {
  font-size: 11px;
  font-weight: 300;
  color: var(--muted);
  margin-top: 3px;
  transition: color 0.35s ease;
}

.testi-item:hover .testi-role { color: rgba(255,255,255,0.65); }

.testi-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 50%);
}

/* Controles de paginação */
.testi-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 28px;
}

.testi-prev, .testi-next {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  flex-shrink: 0;
  transition: border-color .25s, color .25s, opacity .25s;
}

.testi-prev:hover:not(:disabled), .testi-next:hover:not(:disabled) {
  border-color: var(--blue);
  color: var(--blue);
}

.testi-prev:disabled, .testi-next:disabled {
  opacity: 0.3;
  cursor: default;
}

/* ══════════════════════════════════════════
   CERTIFICAÇÕES
══════════════════════════════════════════ */
.certs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 48px;
}

.cert-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-item img {
  width: auto;
  display: block;
  filter: grayscale(1) opacity(0.45);
  transition: filter .35s ease;
}

.cert-item img:hover {
  filter: grayscale(0) opacity(1);
}

/* Calibração individual por logo */
/* CENP — altura menor sem max-width para não amasssar */
.cert-item:nth-child(1) img { height: 39px; width: auto; }

/* Google Partner — badge quadrado com muito padding interno, precisa ser maior */
.cert-item:nth-child(2) img { height: 120px; max-width: 120px; }

/* Meta Blueprint — wordmark horizontal leve */
.cert-item:nth-child(3) img { height: 44px; max-width: 260px; }

/* Kantar — fonte extra-bold, reduzir bastante para equalizar peso visual */
.cert-item:nth-child(4) img { height: 29px; max-width: 182px; }

.cert-cta-wrap {
  display: flex;
  justify-content: center;
  padding-top: 48px;
}

@media (max-width: 700px) {
  .certs-row {
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
  }
  .cert-item { flex: 0 0 40%; }
}

/* ══════════════════════════════════════════
   CONTATO
══════════════════════════════════════════ */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.contact-heading {
  font-size: clamp(36px, 3.5vw, 54px);
  font-weight: 200; letter-spacing: -0.03em;
  line-height: 1.1; color: var(--text);
  margin-bottom: 20px;
}
.contact-body {
  font-size: 15px; font-weight: 300;
  color: var(--muted); line-height: 1.75;
}
.contact-email {
  display: block;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 200; color: var(--text);
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px; margin-bottom: 20px;
}
.contact-phone {
  display: block;
  font-size: 14px; font-weight: 300;
  color: var(--muted); margin-bottom: 16px;
  transition: color .25s;
}
.contact-phone:hover { color: var(--text); }
.contact-addr {
  font-size: 13px; font-weight: 300;
  color: var(--muted); line-height: 1.7;
}

/* ══════════════════════════════════════════
   FOOTER — dark navy, overrides white theme
══════════════════════════════════════════ */
#footer {
  background: #0d2545;
  border-top: none;
  padding: 0 var(--pad);
}
#footer .footer-top     { border-bottom-color: rgba(255,255,255,0.1); }
#footer .city-time      { border-right-color: rgba(255,255,255,0.1); }
#footer .city-name      { color: rgba(255,255,255,0.38); }
#footer .city-clock     { color: rgba(255,255,255,0.85); }
#footer .footer-bottom  { border-top: none; }
#footer .footer-logo-img { filter: brightness(0) invert(1); opacity: 0.75; }
#footer .footer-logo:hover .footer-logo-img { opacity: 1; }
#footer .footer-nav a   { color: rgba(255,255,255,0.45); }
#footer .footer-nav a:hover { color: #fff; }
#footer .footer-social a { color: rgba(255,255,255,0.45); }
#footer .footer-social a:hover { color: var(--amber); }
#footer .footer-copy    { color: rgba(255,255,255,0.35); }
.footer-top {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  max-width: var(--max); margin: 0 auto;
}
.footer-times {
  display: flex; gap: 0; align-items: stretch;
}
.city-time {
  display: flex; flex-direction: column; gap: 6px;
  padding: 0 40px 0 0; margin-right: 40px;
  border-right: 1px solid var(--border);
}
.city-time:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.city-name {
  font-size: 9px; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.city-clock {
  font-size: 14px; font-weight: 300;
  color: var(--text); letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.footer-bottom {
  max-width: var(--max); margin: 0 auto;
  padding: 28px 0;
  display: flex; justify-content: space-between; align-items: center;
}

.footer-logo { display: block; }
.footer-logo-img {
  height: 32px; width: auto; display: block;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  transition: opacity .25s;
}
.footer-logo:hover .footer-logo-img { opacity: 1; }

.footer-right {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 8px;
}
.footer-copy { font-size: 11px; font-weight: 300; color: var(--muted); }
.footer-nav { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-nav a {
  font-size: 12px; font-weight: 300;
  color: var(--muted); transition: color .25s;
}
.footer-nav a:hover { color: var(--text); }
.footer-social { display: flex; gap: 18px; align-items: center; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45); transition: color .25s;
}
.footer-social a:hover { color: var(--amber); }

/* ══════════════════════════════════════════
   GSAP INITIAL STATES
══════════════════════════════════════════ */
.hero-figure  { opacity: 0; }

.section-label   { opacity: 0; transform: translateY(16px); }
.section-heading { opacity: 0; transform: translateY(24px); }
.contact-heading { opacity: 0; transform: translateY(24px); }
.work-item    { opacity: 0; transform: translateY(20px); }
.svc-pair     { opacity: 1; } /* animated via gsap.from */
.sobre-body    { opacity: 0; transform: translateY(20px); }
.num-stat      { opacity: 0; }
.num-line      { scaleX: 0; opacity: 0; }
.stat-block   { opacity: 0; transform: translateY(16px); }
.sector       { opacity: 0; transform: translateY(16px); }
.contact-inner > * { opacity: 0; transform: translateY(24px); }
.city-time    { opacity: 0; }

/* ══════════════════════════════════════════
   INNER PAGES — override GSAP initial states
══════════════════════════════════════════ */
.page-hero .section-label,
.page-hero .page-hero-heading,
.inner-section .section-label,
.inner-section .section-heading,
.inner-text,
.timeline-item,
.pillar-item,
.dept-item,
.svc-full-item,
.blog-card,
.cert-provider-item,
.cert-badge-item,
.port-item,
.clients-logo-item,
.testi-item {
  opacity: 1 !important;
  transform: none !important;
}

.page-hero {
  padding: 160px 0 80px;
  border-bottom: 1px solid var(--border);
}
.page-hero-heading {
  font-size: clamp(24px, 3.5vw, 48px);
  font-weight: 200;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-top: 4px;
  color: var(--text);
}
.inner-section {
  padding: 0;
  border-bottom: none;
}
.inner-section .section-wrap { padding-top: 56px; padding-bottom: 56px; }
.inner-text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text);
  max-width: 640px;
  margin-top: 20px;
}
.inner-cta-wrap { margin-top: 40px; }

/* Timeline */
.timeline { margin-top: 64px; position: relative; padding-left: 1px; }
.timeline-item {
  padding-left: 40px;
  padding-bottom: 48px;
  position: relative;
  border-left: 1px solid var(--border);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -5px; top: 5px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--blue);
}
.timeline-phase {
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.15em; color: var(--blue);
  margin-bottom: 6px;
}
.timeline-title { font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.timeline-desc {
  font-size: 13px; font-weight: 300;
  color: var(--muted); line-height: 1.7;
}

/* Values / Pillars grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 48px;
}
.pillar-item {
  background: var(--bg);
  padding: 40px 32px 40px 0;
  display: flex; flex-direction: column; gap: 10px;
}
.pillar-item:not(:first-child) { padding-left: 32px; }
.pillar-num { font-size: 10px; font-weight: 400; letter-spacing: 0.15em; color: var(--muted); }
.pillar-title { font-size: 15px; font-weight: 500; }
.pillar-text { font-size: 13px; font-weight: 300; color: var(--muted); line-height: 1.7; }

/* Departments row */
.dept-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 48px;
}
.dept-item {
  background: var(--bg);
  padding: 28px 32px;
  display: flex; align-items: center; gap: 16px;
}
.dept-item:nth-child(3n+1) { padding-left: 0; }
.dept-num { font-size: 10px; font-weight: 400; letter-spacing: 0.15em; color: var(--muted); flex-shrink: 0; }
.dept-name { font-size: 13px; font-weight: 400; }

/* Split blocks — texto + imagem */
.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 48px;
}
.split-row + .split-row { border-top: none; margin-top: 0; }
.split-cell-text {
  padding: 80px 72px 80px 0;
  display: flex; flex-direction: column; gap: 20px; justify-content: center;
}
.split-cell-text--right { padding: 80px 0 80px 72px; }
.split-cell-img {
  min-height: 480px;
  background-size: cover;
  background-position: center;
}

/* Inner page contact section override */
body.page-inner .contact-inner > *,
body.page-inner .contact-heading { opacity: 1 !important; transform: none !important; }

/* ══ INNER PAGE — BLUE HERO HEADER ══ */

body.page-inner .page-hero {
  background: var(--blue);
  padding: var(--nav-h) 0 16px;
  border-bottom: none;
}
body.page-inner .page-hero .section-label { color: rgba(255,255,255,0.5); }
body.page-inner .page-hero .label-alt     { color: rgba(255,255,255,0.28); }
body.page-inner .page-hero .page-hero-heading { color: #fff; margin-top: 0; }

/* Nav always blue on inner pages — fuses with hero, no overlap on scroll */
body.page-inner #nav:not(.scrolled) {
  background: var(--blue);
}
body.page-inner #nav:not(.scrolled) .nav-logo-img { filter: brightness(0) invert(1); }
body.page-inner #nav:not(.scrolled) .lang-btn     { color: rgba(255,255,255,0.65); }
body.page-inner #nav:not(.scrolled) .ham-line     { background: #fff; }

/* Case study hero */
.case-hero {
  position: relative;
  height: 56vh;
  min-height: 360px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.case-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.case-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 70%);
}
.case-hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 56px;
}
.case-hero-cat {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin-bottom: 10px;
  display: block;
}
.case-hero-title {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 300;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

/* YouTube case embed */
.case-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 40px;
  background: var(--surface);
}
.case-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Services expanded */
.svc-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px 1px;
  background: var(--border);
  margin-top: 48px;
}
.svc-full-item {
  background: var(--bg);
  padding: 32px 48px 32px 0;
  display: flex; flex-direction: column; gap: 14px;
}
.svc-full-item:nth-child(even) { padding: 32px 0 32px 48px; }
.svc-full-num { font-size: 10px; font-weight: 400; letter-spacing: 0.15em; color: var(--muted); }
.svc-full-title { font-size: 18px; font-weight: 400; }
.svc-full-desc { font-size: 13px; font-weight: 300; color: var(--muted); line-height: 1.75; }
.svc-full-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.svc-tag {
  font-size: 10px; font-weight: 400; letter-spacing: 0.08em;
  border: 1px solid var(--border); padding: 4px 10px; color: var(--muted);
}

/* Portfolio grid */
.port-filter {
  display: flex; gap: 0; margin-top: 40px;
  border-bottom: 1px solid var(--border);
}
.port-filter-btn {
  font-size: 11px; font-weight: 400; letter-spacing: 0.1em;
  color: var(--muted); background: none; border: none;
  padding: 12px 20px; cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color .25s, border-color .25s;
  margin-bottom: -1px;
}
.port-filter-btn.is-active, .port-filter-btn:hover { color: var(--blue); border-bottom-color: var(--blue); }
.port-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); margin-top: 1px;
}
.port-item { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.port-item-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.6s ease;
}
.port-item:hover .port-item-bg { transform: scale(1.04); }
.port-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.port-item:hover .port-item-overlay { opacity: 1; }
.port-item-info {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 24px;
  transform: translateY(8px); opacity: 0;
  transition: opacity .35s, transform .35s;
}
.port-item:hover .port-item-info { opacity: 1; transform: none; }
.port-item-cat { font-size: 9px; font-weight: 400; letter-spacing: 0.2em; color: rgba(255,255,255,0.7); margin-bottom: 4px; }
.port-item-title { font-size: 16px; font-weight: 400; color: #fff; }

/* Clients static logo grid */
.clients-logo-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0 1px; background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 48px;
}
.clients-logo-item {
  background: var(--bg);
  padding: 48px 20px;
  display: flex; align-items: center; justify-content: center;
}
.clients-logo-item img {
  width: auto; height: 30px;
  filter: grayscale(1) opacity(0.45);
  transition: filter .35s;
}
.clients-logo-item img:hover { filter: grayscale(0) opacity(1); }

/* Contact page */
.contact-page-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; margin-top: 64px;
}
.contact-info-block { display: flex; flex-direction: column; gap: 32px; }
.contact-info-item { display: flex; flex-direction: column; gap: 6px; }
.contact-info-label { font-size: 10px; font-weight: 400; letter-spacing: 0.15em; color: var(--muted); }
.contact-info-value { font-size: 15px; font-weight: 300; color: var(--text); }
.contact-info-value a { color: var(--text); text-decoration: none; }
.contact-info-value a:hover { color: var(--blue); }
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 10px; font-weight: 400; letter-spacing: 0.12em; color: var(--muted); }
.form-input, .form-textarea {
  background: none; border: none;
  border-bottom: 1px solid var(--border);
  padding: 10px 0; font-family: inherit;
  font-size: 14px; font-weight: 300; color: var(--text);
  outline: none; transition: border-color .25s; width: 100%;
}
.form-input:focus, .form-textarea:focus { border-color: var(--blue); }
.form-textarea { resize: none; height: 100px; }
.form-submit {
  align-self: flex-start;
  background: var(--blue); color: #fff; border: none;
  padding: 16px 48px; font-family: inherit;
  font-size: 11px; font-weight: 400; letter-spacing: 0.1em;
  cursor: pointer; transition: opacity .25s;
}
.form-submit:hover { opacity: 0.85; }

/* Certificações page */
.cert-providers {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0 1px; background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 48px;
}
.cert-provider-item {
  background: var(--bg);
  padding: 40px 32px 40px 0;
  display: flex; flex-direction: column; gap: 16px;
}
.cert-provider-item:not(:first-child) { padding-left: 32px; }
.cert-provider-logo {
  height: 72px; display: flex; align-items: center;
  filter: grayscale(1) opacity(0.5);
  transition: filter .35s;
}
.cert-provider-logo:hover { filter: grayscale(0) opacity(1); }
.cert-provider-logo img {
  height: auto; width: auto;
  max-height: 72px; max-width: 220px;
  object-fit: contain;
}
.cert-provider-item:nth-child(2) .cert-provider-logo img {
  max-height: 110px; max-width: 110px;
}
.cert-provider-item:nth-child(1) .cert-provider-logo img,
.cert-provider-item:nth-child(4) .cert-provider-logo img {
  max-height: 52px; max-width: 160px;
}
.cert-provider-name { font-size: 13px; font-weight: 500; }
.cert-provider-desc { font-size: 12px; font-weight: 300; color: var(--muted); line-height: 1.7; }
.cert-items-section { margin-top: 64px; }
.cert-items-label {
  font-size: 10px; font-weight: 400; letter-spacing: 0.15em;
  color: var(--muted); margin-bottom: 20px;
}
.cert-badges-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}
.cert-badge-item {
  background: var(--bg);
  padding: 24px 28px;
  display: flex; flex-direction: column; gap: 6px;
}
.cert-badge-logo {
  height: 52px; display: flex; align-items: center; margin-bottom: 8px;
  filter: grayscale(1) opacity(0.5); transition: filter .3s;
}
.cert-badge-logo img { height: auto; width: auto; max-height: 52px; max-width: 160px; object-fit: contain; }
.cert-badge-item:hover .cert-badge-logo { filter: grayscale(0) opacity(1); }
.cert-badges-grid .cert-badge-item:nth-child(3) .cert-badge-logo img { max-width: 220px; }
.cert-badges-grid .cert-badge-item:nth-child(5) .cert-badge-logo img,
.cert-badges-grid .cert-badge-item:nth-child(6) .cert-badge-logo img { max-height: 56px; max-width: 56px; }
.cert-items-section:last-child .cert-badge-item:nth-child(4) .cert-badge-logo img { max-height: 56px; max-width: 56px; }
.cert-badge-name { font-size: 13px; font-weight: 400; }
.cert-badge-org { font-size: 11px; font-weight: 300; color: var(--muted); }
.cert-badge-active { display: none; }
.cert-badge-pending { display: none; }

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 48px;
  margin-top: 48px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.blog-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: var(--border);
}
.blog-title {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
  flex: 1;
}
.blog-link {
  font-size: 11px;
  font-weight: 400;
  color: var(--blue);
  letter-spacing: 0.05em;
  text-decoration: none;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: block;
}

/* Article page */
.article-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 0 80px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.article-cat {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--blue);
}
.article-date {
  font-size: 11px;
  font-weight: 300;
  color: var(--muted);
}
.article-p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 28px;
}
.article-h2 {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  margin: 48px 0 16px;
  color: var(--text);
}
.article-quote {
  border-left: 3px solid var(--blue);
  padding: 8px 0 8px 24px;
  margin: 40px 0;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text);
  font-style: italic;
}

/* Conteúdo escrito no editor WordPress (posts / cases) — espelha as classes acima */
.article-body p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 28px;
}
.article-body h2 {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  margin: 48px 0 16px;
  color: var(--text);
}
.article-body h3 {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  margin: 36px 0 12px;
  color: var(--text);
}
.article-body blockquote {
  border-left: 3px solid var(--blue);
  padding: 8px 0 8px 24px;
  margin: 40px 0;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text);
  font-style: italic;
}
.article-body ul,
.article-body ol {
  margin: 0 0 28px;
  padding-left: 22px;
}
.article-body li {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 10px;
}
.article-body a {
  color: var(--blue);
  text-decoration: underline;
}
.article-body img {
  max-width: 100%;
  height: auto;
  margin: 32px 0;
  border-radius: 4px;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 600px) {
  .sobre-left { max-width: 100%; }
}

/* ── Google Translate – oculta toolbar ── */
.goog-te-banner-frame,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip-content { display: none !important; }
body { top: 0 !important; }
.goog-te-gadget { display: none !important; }

/* SEO: título acessível fora da tela */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVO — TABLET E MOBILE
   O CSS original era desktop-only (só 2 media queries pontuais).
   Esta camada adapta os layouts sem alterar a linguagem visual:
   reduz o respiro lateral, colapsa os grids e impede estouro
   horizontal. Nada aqui afeta o desktop.
══════════════════════════════════════════════════════════════ */

/* ── TABLET ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --pad: 40px; }

  .testi-grid,
  .port-grid,
  .dept-row,
  .pillars-grid,
  .cert-providers,
  .cert-badges-grid   { grid-template-columns: repeat(2, 1fr); }
  .clients-logo-grid  { grid-template-columns: repeat(4, 1fr); }
  .svc-full-grid,
  .blog-grid          { grid-template-columns: 1fr; }
}

/* ── MOBILE ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --pad: 20px; --nav-h: 64px; }

  /* Nada pode ultrapassar a largura da tela */
  html, body { overflow-x: hidden; }
  img, video, iframe, svg { max-width: 100%; }

  /* ── Grids → coluna única ── */
  .contact-inner,
  .contact-page-grid,
  .split-row,
  .dept-row,
  .pillars-grid,
  .testi-grid,
  .port-grid,
  .svc-full-grid,
  .blog-grid,
  .form-row,
  .sobre-wrap,
  .services-grid,
  .svc-pair,
  .timeline-item,
  .tl-wrap            { grid-template-columns: 1fr !important; }
  .contact-page-grid  { gap: 40px; }

  /* Logos e selos: 2 colunas (1 ficaria grande demais) */
  .clients-logo-grid,
  .cert-providers,
  .cert-badges-grid   { grid-template-columns: repeat(2, 1fr) !important; }

  /* Flex que precisa quebrar linha */
  .footer-bottom,
  .footer-nav,
  .num-row,
  .certs-row,
  .menu-footer,
  .menu-top           { flex-wrap: wrap; }
  .footer-bottom      { gap: 24px; }
  .footer-nav         { gap: 12px 20px; }

  /* ── Tipografia ── */
  .section-heading    { font-size: clamp(26px, 7vw, 34px); line-height: 1.15; }
  .page-hero-heading  { font-size: clamp(26px, 7.5vw, 36px); }
  .contact-heading    { font-size: clamp(26px, 7vw, 34px); }
  .sobre-text,
  .inner-text,
  .testi-text,
  .contact-body       { font-size: 15px; line-height: 1.7; }

  /* ── Hero da home ──
     A tagline é composta por spans com `white-space: nowrap` e letter-spacing
     largo: no mobile precisa de fonte menor e espaçamento reduzido para caber. */
  #hero               { min-height: 78vh; }
  .hero-tagline       { padding: 0 var(--pad); }
  .hero-tagline-inner { flex-wrap: wrap; justify-content: center; gap: 4px 10px; text-align: center; }
  .ht-line            { display: none; }
  .ht-left, .ht-em, .ht-movimento {
    font-size: clamp(12px, 3.6vw, 17px);
    letter-spacing: 0.12em;
    white-space: normal;
    flex-shrink: 1;
  }

  /* ── Hero das internas ── */
  .page-hero          { padding: calc(var(--nav-h) + 24px) 0 28px; }

  /* ── Cases ── */
  .case-card          { min-height: 300px; }
  .case-title         { font-size: clamp(22px, 6vw, 30px); }
  .split-cell-img     { min-height: 240px; }
  .split-cell-text    { padding: 32px var(--pad); }
  .case-video iframe  { height: 220px; }

  /* ── Números ── */
  .num-row            { justify-content: flex-start; gap: 16px; }
  .num-value          { font-size: clamp(38px, 12vw, 56px); }
  .num-line           { display: none; }

  /* ── Depoimentos ── */
  .testi-item         { padding: 24px 0; border-left: 0; border-top: 1px solid var(--border); }
  .testi-photo        { height: 200px; }

  /* ── Formulário ── */
  .form-row           { gap: 0; }
  .form-input,
  .form-textarea      { font-size: 16px; } /* 16px evita zoom automático no iOS */
  .form-submit        { width: 100%; }

  /* ── Menu overlay ── */
  .menu-overlay       { padding: 0 var(--pad); }
  .menu-link          { font-size: clamp(24px, 8vw, 34px); gap: 12px; }
  .menu-list li       { padding: 4px 0; }

  /* ── Seções: menos respiro vertical ── */
  .inner-section,
  #sobre, #numeros, #servicos, #trabalhos, #clientes, #contato { padding: 56px 0; }

  /* ── Artigos ── */
  .article-body       { padding: 40px 0 56px; }
}

/* ── MOBILE PEQUENO ────────────────────────────────────────── */
@media (max-width: 400px) {
  :root { --pad: 16px; }
  .clients-logo-grid,
  .cert-providers,
  .cert-badges-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
