:root {
  --brand: #0F5FBC;
  --brand-light: #2B7EDB;
  --brand-lighter: #59A7F2;
  --brand-deep: #0A2E63;
  --brand-soft: #EAF4FF;
  --brand-soft-2: #F4F9FF;
  --brand-pale: #8CC8FF;
  --brand-glow: rgba(15, 95, 188, 0.18);

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-accent: 'Crimson Pro', Georgia, serif;

  --bg-base: #FFFFFF;
  --bg-raised: #F6FAFE;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F4F9FF;
  --bg-dark: #081D3D;

  --white: #FFFFFF;
  --gray-100: #F8FAFC;
  --gray-200: #E4EDF8;
  --gray-300: #C8D7EA;
  --gray-400: #68819D;
  --gray-500: #4F6480;
  --gray-600: #203754;

  --text-main: #133255;
  --text-soft: #5C7693;

  --border: rgba(15, 95, 188, 0.08);
  --border-hover: rgba(15, 95, 188, 0.18);

  --t-fast: 0.22s;
  --t-med: 0.42s;
  --t-slow: 0.7s;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-main);
  overflow-x: clip;
  line-height: 1.6;
}

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

.container {
  /* Abaixo de ~1550px de largura de tela, isso se comporta exatamente como
     antes (max-width fixo de 1240px) — nada muda para laptops, tablets ou
     celular. Acima disso, o conteúdo passa a ocupar 80% da largura da tela
     em vez de ficar travado, até um teto de 1600px (pra parágrafos não
     ficarem com linhas longas demais em monitores ultrawide). */
  max-width: clamp(1240px, 80vw, 1600px);
  margin: 0 auto;
  padding: 0 28px;
}

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

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-500);
  border-radius: 4px;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Header — colado ao topo (barra cheia, sem "flutuar" separada da borda) */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: clamp(64px, 8.7vh, 94px);
  padding: 0;
  display: flex;
  align-items: center;
  background: rgba(8, 22, 48, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  transition:
    background var(--t-med) var(--ease),
    backdrop-filter var(--t-med) var(--ease),
    box-shadow var(--t-med) var(--ease);
}

.site-header.scrolled {
  background: rgba(8, 22, 48, 0.92);
  box-shadow: 0 12px 30px rgba(3, 12, 28, 0.18);
}

.header-inner {
  max-width: clamp(1100px, 90vw, 1400px);
  height: 100%;
  margin: 0 auto;
  padding: 0 18px 0 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  z-index: 10;
  min-height: 0;
}

.logo-img {
  height: clamp(40px, 5.4vh, 58px);
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}

.logo:hover .logo-img {
  opacity: 0.78;
}

.main-nav {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-left: auto;
  padding: 7px;
  border-radius: 12px;
}

.nav-link {
  position: relative;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--gray-300);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--brand-pale);
  transition: width var(--t-med) var(--ease);
  display: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-cta,
.mobile-cta,
.btn-primary,
.btn-whatsapp {
  background: var(--brand);
  color: var(--white);
  border: 1px solid var(--brand-light);
}

.header-cta {
  padding: 12px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  transition: all var(--t-fast) var(--ease);
  margin-left: 28px;
  border-radius: 11px;
  box-shadow: 0 8px 24px rgba(15, 95, 188, 0.2);
}

.header-cta:hover,
.mobile-cta:hover,
.btn-primary:hover,
.btn-whatsapp:hover {
  background: var(--brand-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--brand-glow);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: rgba(8, 22, 48, 0.72);
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: all var(--t-fast) var(--ease);
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(8, 22, 48, 0.97);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-med) var(--ease);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-nav-link {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-300);
  transition: color var(--t-fast) var(--ease);
}

.mobile-nav-link:hover {
  color: var(--white);
}

.mobile-cta {
  margin-top: 8px;
  padding: 14px 30px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.mobile-menu-logo {
  width: min(175px, 50vw);
  height: auto;
  margin-top: 36px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.btn-primary,
.btn-secondary,
.btn-primary--light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 18px 34px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all var(--t-fast) var(--ease);
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
  min-width: 220px;
  min-height: 56px;
  border-radius: 14px;
}

.hero-actions .btn-primary {
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  box-shadow: 0 16px 40px rgba(15, 95, 188, 0.28);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-actions .btn-secondary {
  background: rgba(8, 29, 61, 0.76);
  border-color: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(12px);
}

.btn-primary--light {
  background: var(--white);
  color: var(--brand);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-primary--light:hover {
  background: #F0F7FF;
  transform: translateY(-2px);
}

.hero-contact {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 330px;
  padding: 20px 22px;
  border-radius: 18px;
  background: rgba(8, 22, 48, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.20);
}

.hero-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.hero-contact-item:hover {
  color: var(--white);
  transform: translateX(3px);
}

.hero-contact-icon,
.cert-icon,
.btn-icon,
.info-icon,
.footer-contact-icon {
  flex-shrink: 0;
}

.hero-contact-icon {
  width: 18px;
  height: 18px;
  color: var(--brand-pale);
}

.hero-scroll-cue {
  position: absolute;
  left: 32px;
  bottom: 32px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(8, 22, 48, 0.3);
  backdrop-filter: blur(12px);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.hero-scroll-cue:hover {
  color: var(--white);
  background: rgba(15, 95, 188, 0.55);
  transform: translateY(-2px);
}

.hero-scroll-cue svg {
  width: 15px;
  height: 15px;
}

/* Sections */
.section {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}

.section--dark {
  background: var(--bg-raised);
}

.section--base {
  background: var(--bg-base);
}

.section--cta {
  padding: 82px 0;
  background: var(--bg-base);
}

.section-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 95, 188, 0.15) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(80px);
}

.section-glow--left {
  top: 10%;
  left: -200px;
}

.section-glow--right {
  top: 20%;
  right: -200px;
}

.section-header {
  text-align: center;
  margin-bottom: 78px;
}

.section-tag {
  display: inline-block;
  position: relative;
  padding: 0 38px;
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--brand-pale);
}

.section-tag::before,
.section-tag::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 22px;
  height: 1px;
  background: var(--brand-lighter);
  opacity: 0.5;
}

.section-tag::before {
  right: 0;
}

.section-tag::after {
  left: 0;
}

.section-tag--light {
  color: rgba(255, 255, 255, 0.8);
}

.section-tag--light::before,
.section-tag--light::after {
  background: rgba(255, 255, 255, 0.35);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
}

.section-title em {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  color: var(--brand-light);
}

.section-desc {
  font-size: 16px;
  color: var(--gray-400);
  max-width: 740px;
  margin: 16px auto 0;
  font-weight: 300;
}

/* Projetos — layout dividido (esquerda: texto / direita: tabs + carrossel) */
#projetos .section-header {
  margin-bottom: 48px;
}

.projetos-split {
  display: grid;
  grid-template-columns: minmax(290px, 440px) 1fr;
  gap: 52px;
  align-items: start;
}

.projetos-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.projetos-intro .section-title {
  text-align: left;
  margin: 0;
  font-size: clamp(42.5px, 6.3vw, 72.5px);
}

/* O <em> (parte destacada em azul) mantém o tamanho original — só o texto
   preto do subtítulo aumenta, então as duas partes ficam com tamanhos
   diferentes de propósito. */
.projetos-intro .section-title em {
  font-size: clamp(37px, 5.5vw, 63px);
}

.projetos-intro .section-desc {
  text-align: left;
  max-width: 420px;
  margin: 21px 0 0;
  font-size: 17.5px;
}

.projetos-showcase {
  min-width: 0;
}

/* Pilares */
#pilares {
  isolation: isolate;
}

#pilares .section-header,
#servicos .section-header {
  margin-bottom: 58px;
}

#pilares .section-tag,
#servicos .section-tag,
#projetos .section-tag,
#parceiros .section-tag {
  padding: 8px 14px;
  border: 1px solid rgba(15, 95, 188, 0.12);
  border-radius: 999px;
  color: var(--brand);
  background: var(--brand-soft-2);
  letter-spacing: 2px;
}

#pilares .section-tag::before,
#pilares .section-tag::after,
#servicos .section-tag::before,
#servicos .section-tag::after,
#projetos .section-tag::before,
#projetos .section-tag::after,
#parceiros .section-tag::before,
#parceiros .section-tag::after {
  display: none;
}

#servicos {
  isolation: isolate;
  background: var(--bg-base);
}

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.pilar-card,
.segmento-card,
.contato-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.pilar-card {
  position: relative;
  padding: 40px 28px;
  border-radius: 20px;
  background: linear-gradient(150deg, #fff 0%, #f8fbff 100%);
  transition: all var(--t-med) var(--ease);
  overflow: hidden;
  will-change: transform, opacity;
}

.pilar-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-lighter));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}

.pilar-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-8px);
  box-shadow: 0 22px 60px rgba(15, 95, 188, 0.14);
}

.pilar-card:hover::before {
  transform: scaleX(1);
}

.pilar-icon-box,
.servico-icon-box,
.info-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pilar-icon-box {
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border: 1px solid rgba(15, 95, 188, 0.12);
  border-radius: 15px;
  background: linear-gradient(145deg, var(--brand-soft), #fff);
  box-shadow: 0 10px 28px rgba(15, 95, 188, 0.1);
}

.pilar-icon,
.servico-icon,
.segmento-icon,
.info-icon {
  color: var(--brand-light);
}

.pilar-icon {
  width: 22px;
  height: 22px;
}

.pilar-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.pilar-text {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.6;
  font-weight: 300;
}

.pilar-num {
  position: absolute;
  right: 20px;
  bottom: 12px;
  font-size: 72px;
  font-weight: 900;
  color: rgba(15, 95, 188, 0.065);
  line-height: 1;
}

.pilar-card .pilar-icon-box,
.pilar-card .pilar-title,
.pilar-card .pilar-text,
.pilar-card .pilar-num {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.pilar-card .pilar-icon-box {
  transform: translateY(14px) scale(0.92);
}

.pilar-card .pilar-num {
  transform: translateY(10px) scale(0.96);
}

.pilar-card.visible .pilar-icon-box {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.10s;
}

.pilar-card.visible .pilar-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.18s;
}

.pilar-card.visible .pilar-text {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.26s;
}

.pilar-card.visible .pilar-num {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.34s;
}

.pillars-stats-card {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 0;
  margin-top: 56px;
  padding: 30px 36px;
  background: linear-gradient(135deg, #0F5FBC 0%, #0A3D84 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 42px rgba(15, 95, 188, 0.22);
  border-radius: 24px;
  overflow: hidden;
}

.pillars-stat-item {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 14px 20px;
  text-align: center;
}

.pillars-stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15%;
  right: 0;
  width: 1px;
  height: 70%;
  background: rgba(255, 255, 255, 0.14);
}

.pillars-stat-item strong {
  display: block;
  margin-bottom: 10px;
  font-size: 3rem;
  line-height: 1;
  font-weight: 800;
  color: var(--white);
}

.pillars-stat-item span {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.8);
}

/* Serviços — layout dividido (esquerda: texto fixo / direita: carrossel de serviços) */
.servicos-split {
  display: grid;
  grid-template-columns: minmax(320px, 560px) 1fr;
  gap: 56px;
  align-items: start;
}

.servicos-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.servicos-intro .section-title {
  text-align: left;
  margin: 0;
  font-size: clamp(46px, 8.9vw, 101px);
}

/* Mesma lógica: <em> fica no tamanho original, só o texto preto cresce. */
.servicos-intro .section-title em {
  font-size: clamp(40px, 7.7vw, 88px);
}

.servicos-intro .section-desc {
  text-align: left;
  max-width: 460px;
  margin: 21px 0 0;
  font-size: 17.5px;
}

.servicos-showcase {
  min-width: 0;
}

/* O carrossel de serviços reaproveita o componente .projects-carousel dos
   Projetos (mesmos botões prev/next, mesma lógica em JS), mas cada slide
   tem altura variável (imagem + texto + botão), então aqui o viewport
   cresce com o conteúdo em vez de ter altura fixa, e cada slide some/aparece
   por completo em vez do efeito de "espiar" o slide vizinho. */
#servicos .carousel-viewport {
  height: auto;
  overflow: visible;
}

.carousel-slide.servico-slide {
  position: static;
  width: 100%;
  opacity: 0;
  transform: none;
  filter: none;
  pointer-events: none;
  display: none;
  transition: opacity 0.5s var(--ease);
}

.carousel-slide.servico-slide.is-active {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  filter: none;
}

.servico-card {
  position: relative;
  overflow: hidden;
  transition: all var(--t-med) var(--ease);
  box-shadow: 0 10px 24px rgba(16, 36, 61, 0.06);
  border: 1px solid rgba(15, 95, 188, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  will-change: transform, opacity;
}

.servico-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 18px 38px rgba(15, 95, 188, 0.12);
  transform: translateY(-7px);
}

.servico-img-wrap {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.servico-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}

.servico-card:hover .servico-img {
  transform: scale(1.06);
}

.servico-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(16, 36, 61, 0.04) 45%, rgba(8, 29, 61, 0.32) 100%);
}

.servico-body {
  position: relative;
  padding: 36px;
}

.servico-icon-box {
  width: 52px;
  height: 52px;
  margin: -62px 0 24px;
  position: relative;
  z-index: 2;
  border: 4px solid var(--white);
  border-radius: 15px;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  box-shadow: 0 14px 30px rgba(15, 95, 188, 0.24);
}

.servico-icon {
  width: 20px;
  height: 20px;
  color: var(--white);
}

.servico-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.servico-text,
.segmento-card p,
.info-value {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.7;
}

.servico-text {
  margin-bottom: 24px;
  font-weight: 300;
}

.servico-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand-light);
  padding: 10px 14px;
  border: 1px solid rgba(15, 95, 188, 0.13);
  border-radius: 10px;
  background: var(--brand-soft-2);
  transition: all var(--t-fast) var(--ease);
}

.servico-link:hover {
  color: var(--brand);
  gap: 14px;
  background: var(--brand-soft);
  border-color: rgba(15, 95, 188, 0.22);
}

.servico-img--planning {
  object-position: 0% 42%;
}

.link-arrow {
  width: 15px;
  height: 15px;
  transition: transform var(--t-fast) var(--ease);
}

.servico-link:hover .link-arrow {
  transform: translateX(4px);
}

/* Segmentos */
#segmentos {
  color: var(--white);
  background:
    radial-gradient(circle at 12% 20%, rgba(43, 126, 219, 0.22), transparent 30%),
    radial-gradient(circle at 88% 80%, rgba(15, 95, 188, 0.18), transparent 32%),
    linear-gradient(145deg, #071a36 0%, #0a2e63 100%);
}

#segmentos .section-tag {
  padding: 8px 14px;
  border: 1px solid rgba(140, 200, 255, 0.2);
  border-radius: 999px;
  color: var(--brand-pale);
  background: rgba(255, 255, 255, 0.05);
  letter-spacing: 2px;
}

#segmentos .section-tag::before,
#segmentos .section-tag::after {
  display: none;
}

#segmentos .section-title em {
  color: var(--brand-pale);
}

#segmentos .section-desc {
  color: rgba(255, 255, 255, 0.66);
}

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

.segmento-card {
  position: relative;
  padding: 32px 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  transition: all var(--t-med) var(--ease);
}

.segmento-card:hover {
  transform: translateY(-7px);
  border-color: rgba(140, 200, 255, 0.28);
  background: rgba(255, 255, 255, 0.085);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.segmento-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  padding: 14px;
  border: 1px solid rgba(140, 200, 255, 0.2);
  border-radius: 15px;
  color: var(--brand-pale);
  background: rgba(43, 126, 219, 0.14);
}

.segmento-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Projetos */
.projects-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1320px;
  margin: 0 auto;
}

.projetos-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 34px rgba(16, 36, 61, 0.06);
  backdrop-filter: blur(12px);
  margin-bottom: 48px;
}

.segmento-card p {
  color: rgba(255, 255, 255, 0.62);
}

.segmento-index {
  position: absolute;
  top: 24px;
  right: 24px;
  color: rgba(255, 255, 255, 0.25);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1.5px;
}

.tab-btn {
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-400);
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  transition: all var(--t-fast) var(--ease);
}

.tab-btn:hover {
  color: var(--text-main);
  background: var(--brand-soft-2);
}

.tab-btn.active {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
  box-shadow: 0 8px 22px rgba(15, 95, 188, 0.2);
}

.tab-btn:focus-visible {
  outline: 3px solid rgba(89, 167, 242, 0.42);
  outline-offset: 2px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.carousel-viewport {
  position: relative;
  width: 100%;
  height: 470px;
  overflow: hidden;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 94%;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.88);
  transition:
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  filter: saturate(0.78);
  z-index: 0;
  will-change: transform, opacity, filter;
}

.carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  filter: saturate(1);
  z-index: 3;
}

.carousel-slide.is-left,
.carousel-slide.is-right {
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.carousel-slide.is-left {
  transform: translate(-132%, -50%) scale(0.78);
}

.carousel-slide.is-right {
  transform: translate(32%, -50%) scale(0.78);
}

.carousel-slide.is-hidden-left {
  opacity: 0;
  transform: translate(-170%, -50%) scale(0.68);
  z-index: 1;
}

.carousel-slide.is-hidden-right {
  opacity: 0;
  transform: translate(70%, -50%) scale(0.68);
  z-index: 1;
}

.carousel-slide.is-left::after,
.carousel-slide.is-right::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.carousel-slide.is-left::after {
  background: linear-gradient(
    to right,
    rgba(246, 249, 252, 0.96) 0%,
    rgba(246, 249, 252, 0.60) 28%,
    rgba(246, 249, 252, 0.14) 58%,
    rgba(246, 249, 252, 0) 82%
  );
}

.carousel-slide.is-right::after {
  background: linear-gradient(
    to left,
    rgba(246, 249, 252, 0.96) 0%,
    rgba(246, 249, 252, 0.60) 28%,
    rgba(246, 249, 252, 0.14) 58%,
    rgba(246, 249, 252, 0) 82%
  );
}

.carousel-img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: 0 20px 44px rgba(16, 36, 61, 0.14);
}

.carousel-slide.is-left .carousel-img,
.carousel-slide.is-right .carousel-img {
  height: 290px;
  box-shadow: 0 12px 28px rgba(16, 36, 61, 0.08);
}

.carousel-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px 18px;
  background: rgba(8, 22, 48, 0.86);
  backdrop-filter: blur(8px);
  color: var(--white);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.carousel-slide.is-left .carousel-caption,
.carousel-slide.is-right .carousel-caption {
  opacity: 0.66;
  transform: translateY(6px);
}

.carousel-slide.is-active .carousel-caption {
  opacity: 1;
  transform: translateY(0);
}

.carousel-cat {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-pale);
  margin-bottom: 8px;
}

.carousel-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}

.carousel-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.55;
}

.carousel-btn {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--brand);
  box-shadow: 0 10px 24px rgba(16, 36, 61, 0.08);
  transition: all 0.25s ease;
}

.carousel-btn:hover {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
  transform: translateY(-2px);
}

.carousel-btn.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.project-gallery-trigger {
  cursor: pointer;
}

.project-gallery-trigger:focus-visible {
  outline: 3px solid var(--brand-lighter);
  outline-offset: 3px;
}

/* CTA */
.cta-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 58px 60px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 15%, rgba(89, 167, 242, 0.24), transparent 28%),
    linear-gradient(135deg, #081d3d 0%, #0a3d84 60%, #0f5fbc 100%);
  box-shadow: 0 30px 80px rgba(8, 42, 91, 0.24);
  color: var(--white);
}

.cta-box::after {
  content: '';
  position: absolute;
  right: -70px;
  bottom: -100px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 32px rgba(255,255,255,.025), 0 0 0 64px rgba(255,255,255,.018);
  pointer-events: none;
}

.cta-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.cta-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 780px;
  text-wrap: balance;
}

.cta-text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.8;
}

/* Parceiros */
.parceiros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 42px;
}

.parceiro-card{
    display:flex;
    justify-content:center;
    align-items:center;

    padding:32px;

    background:transparent;
    border:none;
    box-shadow:none;

    transition:.35s ease;
}

.parceiro-logo{

    max-width:160px;
    max-height:80px;

    object-fit:contain;

    transition:.35s ease;
}

.parceiro-card:hover .parceiro-logo{

    transform:scale(1.22);

}

/* Contato */
#contato {
  background:
    radial-gradient(circle at 8% 45%, rgba(43, 126, 219, 0.1), transparent 26%),
    linear-gradient(180deg, #fff 0%, var(--brand-soft-2) 100%);
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.contato-grid--expanded {
  align-items: center;
}

#contato .section-tag {
  display: block;
  width: max-content;
  padding: 0;
  margin-bottom: 18px;
  color: var(--brand);
  letter-spacing: 2px;
}

#contato .section-tag::before,
#contato .section-tag::after {
  display: none;
}

.contato-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  padding: 8px 12px;
  border: 1px solid rgba(15, 95, 188, 0.12);
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(255,255,255,.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.contato-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34,197,94,.11);
}

.contato-desc {
  font-size: 16px;
  color: var(--gray-400);
  line-height: 1.75;
  margin: 20px 0 34px;
  font-weight: 300;
}

.contato-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all var(--t-fast) var(--ease);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(15, 95, 188, 0.2);
}

.btn-icon {
  width: 18px;
  height: 18px;
}

.contato-card {
  padding: 16px;
  border: 1px solid rgba(15, 95, 188, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(8, 29, 61, 0.1);
  backdrop-filter: blur(14px);
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 18px;
  border-bottom: 1px solid rgba(15, 95, 188, 0.08);
  border-radius: 15px;
  transition: background var(--t-fast) ease, transform var(--t-fast) var(--ease);
}

.info-row:hover {
  background: var(--brand-soft-2);
  transform: translateX(3px);
}

.info-row:last-child {
  border-bottom: none;
}

.info-row:first-child {
  padding-top: 22px;
}

.info-icon-box {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid rgba(15, 95, 188, 0.12);
  border-radius: 13px;
  background: linear-gradient(145deg, var(--brand-soft), #fff);
}

.info-icon {
  width: 18px;
  height: 18px;
}

.info-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 5px;
}

.info-value:hover {
  color: var(--brand-light);
}

/* Footer */
.site-footer {
  position: relative;
  padding: 74px 0 26px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 12% 15%, rgba(43, 126, 219, 0.22), transparent 28%),
    linear-gradient(145deg, #07172f 0%, #081d3d 58%, #0a2e63 100%);
  color: var(--white);
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.25fr .65fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 30px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.footer-logo {
  height: 112px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 1;
}

.footer-tagline {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 460px;
}

.footer-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 18px;
  color: var(--white);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  width: fit-content;
  color: rgba(255,255,255,.68);
  font-size: 14px;
  transition: color var(--t-fast) ease, transform var(--t-fast) var(--ease);
}

.footer-nav a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact a {
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.footer-contact a:hover {
  color: var(--white);
  border-color: rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  transform: translateX(2px);
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  line-height: 1.6;
}

.footer-contact-icon {
  width: 18px;
  height: 18px;
  color: var(--brand-pale);
  display: inline-block;
}

.footer-bottom {
  display: block;
  width: 100%;
  padding-top: 20px;
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
}

.footer-copy {
  display: inline-block;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
  color: #ffffff;
  opacity: 1;
  visibility: visible;
}

/* Animações */
.anim-fade {
  opacity: 0;
  transform: translateY(40px) scale(0.985);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}

.anim-fade.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.anim-up {
  opacity: 0;
  transform: translateY(46px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  will-change: opacity, transform;
}

.anim-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  will-change: opacity, transform;
}

.anim-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.anim-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  will-change: opacity, transform;
}

.anim-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.anim-zoom {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  will-change: opacity, transform;
}

.anim-zoom.visible {
  opacity: 1;
  transform: scale(1);
}

.anim-item {
  opacity: 0;
  transform: translateY(18px) translateX(-8px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.anim-item.visible {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

/* Rolagem horizontal — Serviços + Projetos (somente desktop, acima de 1024px).
   Ao rolar para baixo, essas duas seções passam a deslizar na horizontal
   dentro de um bloco "grudado" na tela (position: sticky); a distância extra
   de rolagem do wrapper é convertida em translateX pelo main.js. Em telas
   ≤1024px ou com "reduzir movimento" ativado, nada disso se aplica — as
   divs do wrapper ficam com o comportamento padrão (bloco empilhado). */
@media (min-width: 1025px) {
  .hscroll-wrapper {
    position: relative;
    height: 200vh;
  }

  .hscroll-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
  }

  .hscroll-track {
    display: flex;
    width: 200vw;
    height: 100%;
    will-change: transform;
  }

  .hscroll-panel {
    width: 100vw;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
  }

  .hscroll-panel .container {
    width: 100%;
  }

  /* O brilho decorativo de Serviços ficava bem em cima da costura entre os
     dois painéis durante a transição, evidenciando a divisão. Projetos nunca
     teve esse efeito, então removemos aqui para os fundos ficarem idênticos. */
  #servicos .section-glow {
    display: none;
  }

  /* Versões compactas de Serviços e Projetos para caber inteiras em 100vh */
  #servicos,
  #projetos {
    padding: 2vh 0;
  }

  #servicos .section-header,
  #projetos .section-header {
    margin-bottom: 1.8vh;
  }

  .servicos-split,
  .projetos-split {
    gap: 3vw;
  }

  .servicos-intro .section-title,
  .projetos-intro .section-title {
    font-size: clamp(37px, 8vh, 69px);
  }

  /* <em> trava no tamanho antigo também na versão compacta (desktop hscroll). */
  .servicos-intro .section-title em,
  .projetos-intro .section-title em {
    font-size: clamp(32px, 7vh, 60px);
  }

  .servicos-intro .section-desc,
  .projetos-intro .section-desc {
    font-size: clamp(13.5px, 2vh, 17px);
    margin-top: 1.6vh;
  }

  /* Card de Serviços compacto */
  .servico-img-wrap {
    height: 30vh;
  }

  .servico-body {
    padding: 3.2vh 2.2vw;
  }

  .servico-icon-box {
    width: 52px;
    height: 52px;
    margin: -54px 0 16px;
  }

  .servico-name {
    font-size: clamp(18px, 2.6vh, 26px);
    margin-bottom: 8px;
  }

  .servico-text {
    font-size: clamp(13px, 1.7vh, 16px);
    margin-bottom: 16px;
  }

  .servico-link {
    font-size: 12px;
  }

  /* Carrossel de obras (Projetos) compacto */
  #projetos .carousel-viewport {
    height: 62vh;
  }

  #projetos .carousel-img {
    height: 56vh;
  }

  #projetos .carousel-slide.is-left .carousel-img,
  #projetos .carousel-slide.is-right .carousel-img {
    height: 38vh;
  }

  #projetos .projetos-tabs {
    margin-bottom: 1.6vh;
  }

  #projetos .tab-btn {
    padding: 9px 16px;
  }
}

@media (min-width: 1025px) and (prefers-reduced-motion: reduce) {
  .hscroll-wrapper {
    height: auto;
  }

  .hscroll-sticky {
    position: static;
    height: auto;
    overflow: visible;
  }

  .hscroll-track {
    display: block;
    width: auto;
    transform: none !important;
  }

  .hscroll-panel {
    width: auto;
    height: auto;
    display: block;
  }
}

/* Responsivo */
@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
  }

  .pilares-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .segmentos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .servicos-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .servicos-intro .section-title {
    text-align: center;
  }

  .servicos-intro .section-desc {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 640px;
  }

  .projetos-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .projetos-intro .section-title,
  .projetos-intro .section-desc {
    text-align: center;
  }

  .projetos-intro .section-desc {
    margin-left: auto;
    margin-right: auto;
    max-width: 640px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .pillars-stats-card {
    flex-wrap: wrap;
    padding: 20px;
  }

  .pillars-stat-item {
    flex: 1 1 50%;
    min-width: 220px;
    padding: 24px 16px;
  }

  .pillars-stat-item:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .main-nav,
  .header-cta,
  .site-header .logo {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
  }

  /* No mobile só o botão do menu fica visível no header (logo, nav e CTA
     somem), então a barra de fundo inteira vira um retângulo vazio sem
     necessidade — deixamos só o círculo do próprio botão. */
  .site-header,
  .site-header.scrolled {
    height: 82px;
    padding: 0;
    background: none;
    border-bottom: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header-inner {
    height: 100%;
    min-height: 62px;
    padding: 0 14px 0 16px;
  }

  .logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
  }

  .section {
    padding: 88px 0;
  }

  .section-header {
    margin-bottom: 56px;
  }

  .hero-bg-img {
    object-position: 68% center;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .hero-contact {
    position: static;
    right: auto;
    left: auto;
    bottom: auto;
    width: calc(100% - 32px);
    max-width: 360px;
    min-width: auto;
    margin: 14px auto 0;
    padding: 12px 14px;
    gap: 6px;
    border-radius: 12px;
  }

  .hero-scroll-cue {
    display: none;
  }

  .hero-contact-item {
    font-size: 11px;
    gap: 8px;
  }

  .hero-contact-icon {
    width: 13px;
    height: 13px;
  }

  .pilares-grid,
  .segmentos-grid,
  .contato-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .pilar-card {
    padding: 26px 18px;
    border-radius: 16px;
  }

  .pilar-icon-box {
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
    border-radius: 12px;
  }

  .pilar-icon {
    width: 17px;
    height: 17px;
  }

  .pilar-title {
    font-size: 16px;
    margin-bottom: 7px;
  }

  .pilar-text {
    font-size: 13px;
  }

  .pilar-num {
    font-size: 50px;
    right: 14px;
    bottom: 8px;
  }

  .servico-body {
    padding: 16px;
  }

  .servico-img-wrap {
    height: 160px;
  }

  .servico-icon-box {
    width: 32px;
    height: 32px;
    margin: -34px 0 12px;
    border-width: 2px;
    border-radius: 10px;
  }

  .servico-icon {
    width: 14px;
    height: 14px;
  }

  .servico-name {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .servico-text {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .servico-link {
    font-size: 10px;
    padding: 6px 10px;
  }

  .segmentos-grid {
    gap: 14px;
  }

  .segmento-card {
    padding: 16px 14px;
    border-radius: 14px;
  }

  .segmento-icon {
    width: 32px;
    height: 32px;
    padding: 8px;
    margin-bottom: 12px;
    border-radius: 10px;
  }

  .segmento-card h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .segmento-card p {
    font-size: 12px;
  }

  .segmento-index {
    top: 12px;
    right: 12px;
    font-size: 9px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-top {
    gap: 34px;
  }

  .site-footer {
    padding-top: 58px;
  }

  .projetos-tabs {
    flex-direction: row;
    width: 100%;
    max-width: 400px;
  }

  .tab-btn {
    flex: 1;
    padding: 8px 10px;
    font-size: 10.5px;
    letter-spacing: 1px;
  }

  .projects-carousel {
    gap: 10px;
  }

  .carousel-viewport {
    height: 360px;
  }

  .carousel-slide,
  .carousel-slide.is-active,
  .carousel-slide.is-left,
  .carousel-slide.is-right,
  .carousel-slide.is-hidden-left,
  .carousel-slide.is-hidden-right {
    width: 100%;
    transform: translate(-50%, -50%) scale(1);
  }

  .carousel-slide.is-left,
  .carousel-slide.is-right,
  .carousel-slide.is-hidden-left,
  .carousel-slide.is-hidden-right {
    opacity: 0;
    pointer-events: none;
  }

  .carousel-slide.is-left::after,
  .carousel-slide.is-right::after {
    display: none;
  }

  .carousel-img,
  .carousel-slide.is-left .carousel-img,
  .carousel-slide.is-right .carousel-img {
    height: 360px;
  }

  .carousel-caption {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 14px 16px;
    opacity: 1;
    transform: none;
  }

  .carousel-title {
    font-size: 18px;
  }

  .carousel-btn {
    width: 42px;
    height: 42px;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }

  .contato-card {
    padding: 28px;
  }

  .parceiros-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .parceiro-card {
    padding: 18px 14px;
    min-height: 72px;
  }

  .parceiro-logo {
    max-height: 32px;
  }

}

@media (max-width: 560px) {
  .pillars-stats-card {
    flex-direction: column;
  }

  .pillars-stat-item {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .pillars-stat-item strong {
    font-size: 2.3rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  .section-title {
    font-size: 26px;
  }

  .carousel-viewport {
    height: 280px;
  }

  .carousel-img,
  .carousel-slide.is-left .carousel-img,
  .carousel-slide.is-right .carousel-img {
    height: 280px;
  }

  .carousel-caption {
    padding: 12px 14px;
  }

  .carousel-title {
    font-size: 16px;
  }

  .carousel-cat {
    font-size: 9px;
    letter-spacing: 1.5px;
  }

  .parceiros-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .parceiro-card {
    padding: 14px 10px;
    min-height: 64px;
  }

  .parceiro-logo {
    max-height: 28px;
  }
}

.cta-box .section-tag {
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  letter-spacing: 2px;
}

.cta-box .section-tag::before,
.cta-box .section-tag::after {
  display: none;
}

.cta-actions {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}

.cta-actions .btn-primary--light {
  min-height: 56px;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(3, 12, 28, 0.2);
}

/* ==========================================================
   Hero — Logo | Obra em destaque (Swift Jandira) | Contato
   ========================================================== */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 130px 40px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-media-col {
  width: 100%;
  max-width: 990px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hero-media-frame {
  position: relative;
  width: 100%;
  max-width: 990px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 14px;
  background: var(--bg-raised);
  box-shadow: 0 30px 70px rgba(3, 12, 28, 0.3);
}

.hero-media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.hero-media-img.is-active {
  opacity: 1;
}

.hero-media-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 9px 16px;
  background: rgba(8, 22, 48, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.hero-actions .btn-secondary--light {
  background: var(--white);
  color: var(--text-main);
  border-color: var(--border-hover);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-actions .btn-secondary--light:hover {
  background: var(--brand-soft);
  border-color: var(--brand-light);
  color: var(--text-main);
}

@media (max-width: 1000px) {
  .hero-inner {
    padding: 80px 24px 36px;
    gap: 28px;
  }

  .hero-media-frame {
    max-width: 736px;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    padding: 64px 16px 30px;
    gap: 22px;
  }

  .hero-media-frame {
    aspect-ratio: 4 / 5;
    border-radius: 12px;
  }

  .hero-media-badge {
    left: 12px;
    bottom: 12px;
    padding: 7px 13px;
    font-size: 9px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    min-width: 0;
    min-height: 44px;
    padding: 12px 20px;
    font-size: 11px;
    border-radius: 11px;
  }
}
