/* ============================================================
   ESTRUTURAL ENGENHARIA — design system
   Paleta: #0F2A44 / #3D4F66 / #E6E7EA / #5B5B5B / #F2F3F5
   Tipografia: Exo 2 (display) + Montserrat (apoio)
   ============================================================ */

:root {
  --navy-900: #081A2C;
  --navy-800: #0F2A44;
  --navy-600: #1B3A5C;
  --navy-400: #3D4F66;
  --steel-300: #8E9BAB;
  --gray-100: #E6E7EA;
  --gray-050: #F2F3F5;
  --gray-500: #5B5B5B;
  --white: #FFFFFF;
  --grad: linear-gradient(90deg, #0F2A44 0%, #3D4F66 100%);
  --font-display: "Exo 2", "Segoe UI", sans-serif;
  --font-body: "Montserrat", "Segoe UI", sans-serif;
  --maxw: 1200px;
  --radius: 6px;
  --shadow-lg: 0 24px 60px -18px rgba(8, 26, 44, .35);
  --shadow-sm: 0 8px 24px -10px rgba(8, 26, 44, .22);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--navy-800);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

::selection { background: var(--navy-800); color: #fff; }

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

a { color: inherit; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; font-weight: 600; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ---------- kickers / titles ---------- */
.kicker {
  display: inline-flex; align-items: center;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--navy-400);
}
.on-dark .kicker { color: var(--steel-300); }

.sec-title {
  font-size: clamp(30px, 4.6vw, 48px);
  letter-spacing: -.01em;
  margin: 14px 0 18px;
}
.sec-title em { font-style: normal; color: var(--navy-400); }
.on-dark .sec-title em { color: var(--steel-300); }

.lead { font-size: 17px; color: var(--gray-500); max-width: 62ch; }
.on-dark .lead { color: #B9C3CF; }

/* divisor da marca: linha com degrau */
.brand-rule {
  height: 12px; margin: 40px 0 0; position: relative; overflow: hidden;
}
.brand-rule svg { display: block; width: 100%; height: 12px; }

/* ---------- watermark do símbolo ---------- */
.wm {
  position: absolute; pointer-events: none; z-index: 0;
  color: var(--navy-800);
  opacity: .045;
}
.wm.wm-light { color: #fff; opacity: .05; }
.wm.wm-outline { opacity: .07; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s, padding .35s;
  padding: 22px 0;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.nav.scrolled {
  /* sem backdrop-filter: ele quebra o menu mobile (vira containing block do position:fixed) */
  background: rgba(8, 26, 44, .97);
  padding: 12px 0;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .4);
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand svg.brand-sym { width: 30px; height: 52px; color: #fff; }
.brand .brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand .brand-word b {
  font-family: var(--font-display); font-weight: 600;
  font-size: 22px; letter-spacing: .01em;
}
.brand .brand-word span {
  font-family: var(--font-display); font-weight: 400;
  font-size: 9.5px; letter-spacing: .46em; text-transform: uppercase; margin-top: 4px;
  color: var(--steel-300);
}

.nav-links { display: flex; gap: 34px; align-items: center; list-style: none; }
.nav-links a {
  font-family: var(--font-display); font-weight: 500;
  font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255, 255, 255, .82); text-decoration: none;
  position: relative; padding: 4px 0;
  transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; background: #fff;
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--navy-800) !important; background: #fff;
  padding: 11px 22px !important; border-radius: 3px;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.nav-cta::after { display: none; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(0,0,0,.5); }

.nav-burger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; position: relative; z-index: 130;
}
.nav-burger span {
  display: block; width: 24px; height: 2px; background: #fff; margin: 5px auto;
  transition: transform .3s var(--ease), opacity .3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  background:
    radial-gradient(1200px 700px at 78% 30%, rgba(61, 79, 102, .55), transparent 60%),
    linear-gradient(160deg, #0C2136 0%, #081A2C 55%, #0A2035 100%);
  color: #fff; overflow: hidden;
}
/* foto de fundo com overlay e parallax */
.hero-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-bg img,
.hero-bg video {
  width: 100%; height: 130%; object-fit: cover; object-position: center 30%;
  transform: translateY(0); will-change: transform;
  display: block;
}
.hero-bg video { background: var(--navy-900); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(8,26,44,.96) 22%, rgba(8,26,44,.82) 48%, rgba(10,30,51,.45) 100%),
    linear-gradient(0deg, rgba(8,26,44,.85) 0%, rgba(8,26,44,0) 35%);
}
.hero::after { /* grade fina estilo prancheta */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  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: 72px 72px;
  mask-image: radial-gradient(900px 600px at 30% 45%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 600px at 30% 45%, black 30%, transparent 75%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 130px; padding-bottom: 60px; width: 100%; }

/* palavra fantasma estrutural no rodapé do hero */
.hero-ghost {
  position: absolute; z-index: 1; pointer-events: none; user-select: none;
  left: 50%; bottom: -3.5vw; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(90px, 13.5vw, 230px); line-height: 1; letter-spacing: .02em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .07);
  animation: ghostIn 2s var(--ease) .4s both;
}
@keyframes ghostIn { from { opacity: 0; transform: translateX(-50%) translateY(40px); } }


.hero-kicker {
  display: inline-flex; align-items: center;
  font-family: var(--font-display); font-size: 12.5px; font-weight: 500;
  letter-spacing: .38em; text-transform: uppercase; color: var(--steel-300);
  opacity: 0; animation: rise .9s var(--ease) .15s forwards;
}

.hero h1 {
  margin: 28px 0 14px;
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 700; letter-spacing: -.02em; line-height: 1.08;
}
@media (min-width: 768px) {
  .hero h1 .l1, .hero h1 .l2 { white-space: nowrap; }
}
.hero h1 .l1, .hero h1 .l2 { display: block; opacity: 0; }
.hero h1 .l1 { animation: rise 1s var(--ease) .3s forwards; }
.hero h1 .l2 {
  animation: rise 1s var(--ease) .45s forwards;
  color: var(--steel-300);
}

.hero-sub {
  max-width: 64ch; font-size: 17.5px; color: #B9C3CF;
  opacity: 0; animation: rise 1s var(--ease) .6s forwards;
}

.hero-actions {
  display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap;
  opacity: 0; animation: rise 1s var(--ease) .75s forwards;
}

.btn {
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  padding: 16px 30px; border-radius: 3px; display: inline-flex; align-items: center; gap: 12px;
  transition: transform .28s var(--ease), box-shadow .28s, background .28s, color .28s;
  cursor: pointer; border: 0;
}
.btn svg { width: 16px; height: 16px; transition: transform .28s var(--ease); }
.btn:hover svg { transform: translateX(5px); }
.btn-solid { background: #fff; color: var(--navy-800); }
.btn-solid:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -10px rgba(0,0,0,.55); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -12px rgba(8,26,44,.55); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.35); background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); transform: translateY(-3px); }

/* faixa de stats do hero */
.hero-stats {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, #081A2C 0%, #0B2338 100%);
  color: #fff;
}
.hero-stats .stat b { white-space: nowrap; }
.hero-stats .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-top: 26px; padding-bottom: 26px; gap: 20px;
}
.stat { border-left: 1px solid rgba(255,255,255,.14); padding-left: 20px; }
.stat b {
  display: block; font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px); font-weight: 600; line-height: 1;
}
.stat b sup { font-size: .55em; color: var(--steel-300); }
.stat > span {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--steel-300); display: block; margin-top: 8px;
}
.stat b span { font-size: inherit; color: inherit; letter-spacing: inherit; }

.scroll-cue {
  position: absolute; right: 38px; bottom: 120px; z-index: 3;
  writing-mode: vertical-rl; font-family: var(--font-display);
  font-size: 11px; letter-spacing: .4em; text-transform: uppercase;
  color: rgba(255,255,255,.5); display: flex; align-items: center; gap: 14px;
  text-decoration: none;
}
.scroll-cue::after {
  content: ""; width: 1.5px; height: 56px;
  background: linear-gradient(rgba(255,255,255,.6), transparent);
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue { 50% { transform: translateY(10px); opacity: .4; } }

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

/* ============================================================
   SEÇÕES GENÉRICAS
   ============================================================ */
section { position: relative; }
.sec { padding: 110px 0; position: relative; overflow: hidden; }
.sec-dark { background: linear-gradient(165deg, #0C2136, #081A2C 70%); color: #fff; }
.sec-gray { background: var(--gray-050); }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .1s; } .rv-d2 { transition-delay: .2s; }
.rv-d3 { transition-delay: .3s; } .rv-d4 { transition-delay: .4s; }

/* ============================================================
   A EMPRESA
   ============================================================ */
.empresa-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center;
}
.empresa-fotos { position: relative; }
.empresa-fotos .foto-a {
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  aspect-ratio: 16/10.5; object-fit: cover; width: 100%;
}
.empresa-fotos .selo {
  position: absolute; right: -14px; top: -26px;
  background: var(--navy-800); color: #fff;
  font-family: var(--font-display);
  padding: 18px 22px; border-radius: 4px; text-align: center;
  box-shadow: var(--shadow-sm);
}
.empresa-fotos .selo b { display: block; font-size: 34px; font-weight: 600; line-height: 1; }
.empresa-fotos .selo span { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--steel-300); }

.empresa-txt p + p { margin-top: 16px; }
.empresa-txt p { color: var(--gray-500); }
.empresa-txt p strong { color: var(--navy-800); }

.empresa-marcos { display: flex; gap: 34px; margin-top: 36px; flex-wrap: wrap; }
.marco { border-top: 3px solid var(--navy-800); padding-top: 12px; min-width: 120px; }
.marco b { font-family: var(--font-display); font-size: 30px; font-weight: 600; display: block; line-height: 1; }
.marco b sup { font-size: .55em; color: var(--navy-400); }
.marco span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-500); }

/* ============================================================
   ATUAÇÃO
   ============================================================ */
.atuacao-head { max-width: 640px; margin-bottom: 60px; }
.cards-atuacao {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.card-at {
  position: relative; padding: 34px 30px 30px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius);
  transition: transform .35s var(--ease), background .35s, border-color .35s;
  overflow: hidden;
}
.card-at::before {
  content: attr(data-n);
  position: absolute; top: 14px; right: 20px;
  font-family: var(--font-display); font-weight: 600; font-size: 52px;
  color: rgba(255,255,255,.05); line-height: 1;
  transition: color .35s;
}
.card-at:hover { transform: translateY(-8px); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.card-at:hover::before { color: rgba(255,255,255,.12); }
.card-at .ico {
  width: 52px; height: 52px; border-radius: 4px;
  display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.14);
}
.card-at .ico svg { width: 26px; height: 26px; stroke: #fff; }
.card-at h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.card-at p { font-size: 14.5px; color: #A9B4C2; }

/* ============================================================
   FRENTES DE DESTAQUE (Metálica / Industrial)
   ============================================================ */
.frentes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 56px; }
.frente {
  display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(170deg, #10293F, #0B2033 70%);
  color: #fff; text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.frente:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.frente-media { position: relative; height: 250px; overflow: hidden; flex: none; }
.frente-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
  backface-visibility: hidden; transform: translateZ(0);
}
.frente:hover .frente-media img { transform: translateZ(0) scale(1.06); }
.frente-info {
  position: relative; flex: 1; display: flex; flex-direction: column;
  padding: 6px 34px 32px;
}
.frente-info::before { /* numeral gigante de fundo */
  content: attr(data-n);
  position: absolute; right: 18px; top: -30px;
  font-family: var(--font-display); font-weight: 700; font-size: 130px; line-height: 1;
  color: rgba(255,255,255,.06); pointer-events: none;
}
.frente-info .kicker { color: var(--steel-300); font-size: 12px; }
.frente-info h3 {
  font-size: clamp(24px, 2.4vw, 31px); font-weight: 600; letter-spacing: -.01em;
  margin: 10px 0 16px;
}
.frente-txt {
  font-size: 15.5px; color: #DFE6EE; line-height: 1.65;
  max-width: 46ch; margin: 0 0 28px;
}
.frente-cta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: auto;
  align-self: flex-start;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; color: #fff;
  border-bottom: 2px solid rgba(255,255,255,.4); padding-bottom: 6px;
  transition: border-color .3s, gap .3s var(--ease);
}
.frente:hover .frente-cta { border-color: #fff; gap: 16px; }

@media (max-width: 900px) {
  .frentes-grid { grid-template-columns: 1fr; }
  .frente-media { height: 210px; }
  .frente-info { padding: 4px 24px 26px; }
}

/* ============================================================
   MISSÃO / VISÃO / VALORES
   ============================================================ */
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 60px; }
.mvv {
  padding: 38px 36px;
  border-left: 1px solid var(--gray-100);
}
.mvv:first-child { border-left: 3px solid var(--navy-800); }
.mvv h3 {
  font-size: 15px; letter-spacing: .3em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 18px; display: flex; align-items: center; gap: 12px;
}
.mvv h3 svg { width: 22px; height: 22px; stroke: var(--navy-400); }
.mvv p { color: var(--gray-500); font-size: 15.5px; }

.valores-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px; margin-top: 60px;
}
.valor {
  border-top: 2px solid var(--gray-100);
  padding-top: 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 16.5px;
  color: var(--navy-800); line-height: 1.35;
  transition: border-color .35s var(--ease);
}
.valor::before {
  content: attr(data-n);
  display: block;
  font-size: 12px; font-weight: 600; letter-spacing: .24em;
  color: var(--steel-300); margin-bottom: 10px;
}
.valor:hover { border-top-color: var(--navy-800); }

/* ============================================================
   PORTFÓLIO (home teaser + página)
   ============================================================ */
.pf-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 30px; margin-bottom: 56px; flex-wrap: wrap;
}

.pf-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px;
}
.pf-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  text-decoration: none; color: #fff; display: block;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
}
.pf-card.pf-lg { grid-column: span 7; aspect-ratio: 16/10; }
.pf-card.pf-md { grid-column: span 5; aspect-ratio: auto; }
.pf-card.pf-sm { grid-column: span 4; }
.pf-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
}
.pf-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(185deg, rgba(8,26,44,0) 30%, rgba(8,26,44,.88) 82%);
  transition: background .4s;
}
.pf-card:hover img { transform: scale(1.06); }
.pf-card .pf-info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 26px 28px;
}
.pf-card .pf-tag {
  display: inline-block; font-family: var(--font-display);
  font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  padding: 6px 12px; border-radius: 3px; margin-bottom: 12px;
}
.pf-card .pf-tag.vigente { background: rgba(255,255,255,.92); color: var(--navy-800); border-color: transparent; }
.pf-card h3 { font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; line-height: 1.2; }
.pf-card p { font-size: 13.5px; color: #C6CFDA; margin-top: 6px; }

/* ============================================================
   CLIENTES — marquee
   ============================================================ */
.clientes { padding: 80px 0; background: #fff; overflow: hidden; }
.clientes .kicker { justify-content: center; width: 100%; }
.marquee { margin-top: 52px; display: flex; overflow: hidden; user-select: none;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 84px; padding-right: 84px;
  animation: marquee 70s linear infinite; flex: none;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  width: auto; flex: none;
  transition: transform .35s var(--ease);
}
.marquee-track img:hover { transform: scale(1.07); }
.marquee-track img.card { border-radius: 8px; box-shadow: 0 6px 18px -8px rgba(8,26,44,.25); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   CONTATO / FOOTER
   ============================================================ */
.contato { color: #fff; }
.contato-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; }
.contato-list { list-style: none; margin-top: 36px; display: grid; gap: 8px; }
.contato-list li {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.contato-list svg { width: 22px; height: 22px; stroke: var(--steel-300); flex: none; margin-top: 3px; }
.contato-list b { font-family: var(--font-display); font-weight: 600; display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--steel-300); margin-bottom: 4px; }
.contato-list a { color: #fff; text-decoration: none; }
.contato-list a:hover { text-decoration: underline; }

.card-cta {
  background: #fff; color: var(--navy-800); border-radius: var(--radius);
  padding: 44px 40px; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.card-cta::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--grad);
}
.card-cta h3 { font-size: 26px; margin-bottom: 12px; }
.card-cta p { color: var(--gray-500); font-size: 15px; margin-bottom: 28px; }
.card-cta .btn { width: 100%; justify-content: center; }
.card-cta .btn + .btn { margin-top: 12px; }
.btn-wa { background: var(--navy-800); color: #fff; }
.btn-wa:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.card-cta small { display: block; margin-top: 22px; font-size: 12px; color: var(--gray-500); text-align: center; }

.footer { background: var(--navy-900); color: var(--steel-300); padding: 54px 0 34px; }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.footer .brand .brand-word span { color: var(--navy-400); }
.footer-meta { font-size: 12.5px; line-height: 1.9; text-align: right; }
.footer-meta a { color: var(--steel-300); }

/* ============================================================
   PÁGINA PORTFÓLIO
   ============================================================ */
.page-hero {
  position: relative; padding: 190px 0 90px;
  background:
    radial-gradient(900px 500px at 80% 20%, rgba(61,79,102,.5), transparent 60%),
    linear-gradient(160deg, #0C2136, #081A2C 65%);
  color: #fff; overflow: hidden;
}
.page-hero .hero-bg img { object-position: center 40%; }
.crumbs {
  font-family: var(--font-display); font-size: 12px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--steel-300); margin-bottom: 20px; display: block;
}
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.page-hero h1 { font-size: clamp(38px, 5.6vw, 66px); letter-spacing: -.015em; max-width: 16ch; }
.page-hero .lead { margin-top: 18px; color: #CBD5E1; }

.filtros { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 44px; position: relative; z-index: 2; }
.chip {
  font-family: var(--font-display); font-weight: 500; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 100px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.28); background: transparent; color: rgba(255,255,255,.8);
  transition: all .25s var(--ease);
}
.chip:hover { border-color: #fff; color: #fff; }
.chip.active { background: #fff; color: var(--navy-800); border-color: #fff; }
.chip-destaque {
  background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.85);
  color: #fff; font-weight: 600; position: relative;
}
.chip-destaque::before {
  content: ""; display: inline-block; width: 7px; height: 7px;
  border-radius: 50%; background: #fff; margin-right: 9px;
  vertical-align: 1px;
}
.chip-destaque:hover { background: rgba(255,255,255,.26); }
.chip-destaque.active::before { background: var(--navy-800); }

/* casos em destaque */
.caso {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px;
  align-items: center; padding: 90px 0;
  border-bottom: 1px solid var(--gray-100);
}
.caso:nth-child(even) .caso-media { order: 2; }
.caso-media { position: relative; }
.caso-media .principal {
  width: 100%; aspect-ratio: 16/10.5; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  cursor: zoom-in; transition: transform .4s var(--ease);
}
.caso-media .principal:hover { transform: scale(1.015); }
.caso-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.caso-thumbs img {
  aspect-ratio: 4/3; object-fit: cover; width: 100%;
  border-radius: 4px; cursor: zoom-in; opacity: .92;
  transition: opacity .25s, transform .25s var(--ease);
}
.caso-thumbs img:hover { opacity: 1; transform: translateY(-3px); }

.status {
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 3px; margin-bottom: 20px;
}
.status.andamento { background: var(--navy-800); color: #fff; }
.status.entregue { background: var(--gray-100); color: var(--navy-800); }
.caso-info h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.01em; margin-bottom: 8px; }
.caso-info .cliente {
  font-family: var(--font-display); font-size: 14px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--navy-400); margin-bottom: 20px; display: block;
}
.caso-info p { color: var(--gray-500); }
.caso-specs { display: flex; gap: 30px; margin-top: 28px; flex-wrap: wrap; }
.spec { border-left: 2px solid var(--gray-100); padding-left: 16px; }
.spec b { font-family: var(--font-display); font-size: 22px; font-weight: 600; display: block; line-height: 1.1; }
.spec span { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-500); }

/* tabela de contratos */
.contratos { margin-top: 30px; }
.contrato-filtros { display: flex; gap: 10px; flex-wrap: wrap; margin: 34px 0 26px; }
.contrato-filtros .chip { border-color: var(--gray-100); color: var(--gray-500); }
.contrato-filtros .chip:hover { border-color: var(--navy-400); color: var(--navy-800); }
.contrato-filtros .chip.active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

.tabela { border-top: 2px solid var(--navy-800); }
.linha {
  display: grid; grid-template-columns: 250px 1fr 130px; gap: 24px;
  padding: 20px 8px; border-bottom: 1px solid var(--gray-100);
  transition: background .25s;
  align-items: start;
}
.linha:hover { background: #fff; }
.sec-gray .linha:hover { background: #fff; }
.linha .cli { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.linha .obra { font-size: 14px; color: var(--gray-500); }
.linha .st {
  font-family: var(--font-display); font-weight: 600; font-size: 10.5px;
  letter-spacing: .18em; text-transform: uppercase; text-align: center;
  padding: 6px 10px; border-radius: 3px; align-self: start; justify-self: end; min-width: 110px;
}
.st.vigente { background: var(--navy-800); color: #fff; }
.st.concluido { background: var(--gray-100); color: var(--navy-400); }
.linha.hide { display: none; }

/* galeria */
.galeria { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.galeria a { overflow: hidden; border-radius: 4px; position: relative; display: block; }
.galeria img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  transition: transform .8s var(--ease);
}
.galeria a::after {
  content: "+"; position: absolute; inset: auto 12px 12px auto;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(8,26,44,.85); color: #fff;
  display: grid; place-items: center; font-size: 20px; font-family: var(--font-display);
  opacity: 0; transform: translateY(6px); transition: all .3s var(--ease);
}
.galeria a:hover::after { opacity: 1; transform: none; }
.galeria a:hover img { transform: scale(1.07); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(6, 16, 27, .94);
  align-items: center; justify-content: center; flex-direction: column;
  padding: 40px;
}
.lightbox.open { display: flex; animation: fadeIn .3s; }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox img {
  max-width: min(1200px, 92vw); max-height: 82vh; object-fit: contain;
  border-radius: 4px; box-shadow: 0 40px 120px rgba(0,0,0,.6);
}
.lightbox .lb-cap { color: var(--steel-300); font-size: 14px; margin-top: 18px; font-family: var(--font-display); letter-spacing: .06em; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; font-size: 22px;
  transition: background .25s;
}
.lightbox button:hover { background: rgba(255,255,255,.2); }
.lb-close { top: 26px; right: 26px; }
.lb-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 26px; top: 50%; transform: translateY(-50%); }

/* ============================================================
   PÁGINA DE OBRA
   ============================================================ */
.obra-hero {
  position: relative; min-height: 62vh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; padding: 170px 0 60px;
}
.obra-hero .wrap { position: relative; z-index: 2; width: 100%; }
.obra-hero h1 { font-size: clamp(34px, 4.6vw, 60px); letter-spacing: -.015em; max-width: 20ch; margin: 14px 0 10px; }
.obra-hero .cliente {
  font-family: var(--font-display); font-size: 14.5px; letter-spacing: .14em;
  text-transform: uppercase; color: #C9D3DE;
}
.obra-hero .status { margin-bottom: 4px; }
.obra-hero .status.entregue { background: rgba(255,255,255,.92); color: var(--navy-800); }

.obra-ficha { background: var(--navy-900); color: #fff; }
.obra-ficha .wrap {
  display: flex; gap: 60px; flex-wrap: wrap;
  padding-top: 30px; padding-bottom: 30px;
}
.obra-ficha .spec { border-color: rgba(255,255,255,.16); }
.obra-ficha .spec span { color: var(--steel-300); }

.obra-body { padding: 90px 0 40px; }
.obra-body .lead { max-width: 72ch; }

/* vídeos aéreos da obra */
.obra-videos {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  margin-top: 46px;
}
.obra-video {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.obra-video video {
  width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover;
  background: var(--navy-900); flex: none;
}
.obra-video figcaption {
  font-size: 13.5px; color: var(--gray-500); line-height: 1.5;
  padding: 12px 16px 14px; background: #fff; flex: 1;
}
.obra-videos-label {
  display: flex; align-items: center; gap: 10px; margin-top: 56px;
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  letter-spacing: .24em; text-transform: uppercase; color: var(--steel-300);
}
.obra-videos-label svg { width: 16px; height: 16px; stroke: var(--steel-300); }

@media (max-width: 768px) {
  .obra-videos { grid-template-columns: 1fr; gap: 16px; }
}

.obra-galeria {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 56px;
}
.obra-galeria a {
  display: block; overflow: hidden; border-radius: var(--radius); position: relative;
  box-shadow: var(--shadow-sm);
}
.obra-galeria a:first-child { grid-column: span 2; grid-row: span 2; }
.obra-galeria img {
  width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover;
  transition: transform .9s var(--ease);
}
.obra-galeria a:first-child img { aspect-ratio: auto; min-height: 100%; }
.obra-galeria a:hover img { transform: scale(1.05); }
.obra-galeria a::after {
  content: "+"; position: absolute; inset: auto 14px 14px auto;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(8,26,44,.85); color: #fff;
  display: grid; place-items: center; font-size: 21px; font-family: var(--font-display);
  opacity: 0; transform: translateY(6px); transition: all .3s var(--ease);
}
.obra-galeria a:hover::after { opacity: 1; transform: none; }

.obra-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  border-top: 1px solid var(--gray-100); margin-top: 90px; padding: 40px 0 0;
}
.obra-nav a {
  text-decoration: none; color: var(--navy-800); padding: 20px;
  border-radius: var(--radius); transition: background .3s;
}
.obra-nav a:hover { background: var(--gray-050); }
.obra-nav a.next { text-align: right; }
.obra-nav small {
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: var(--steel-300);
  display: block; margin-bottom: 8px;
}
.obra-nav b { font-family: var(--font-display); font-size: 19px; font-weight: 600; }

.obra-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  color: var(--navy-800);
  border-bottom: 2px solid var(--gray-100); padding-bottom: 6px;
  transition: border-color .3s, gap .3s var(--ease);
}
.obra-link:hover { border-color: var(--navy-800); gap: 16px; }
.obra-link svg { width: 15px; height: 15px; }

@media (max-width: 768px) {
  .obra-hero { min-height: 48vh; padding: 140px 0 40px; }
  .obra-galeria { grid-template-columns: repeat(2, 1fr); }
  .obra-galeria a:first-child { grid-column: span 2; grid-row: auto; }
  .obra-nav { grid-template-columns: 1fr; }
  .obra-nav a.next { text-align: left; }
  .obra-ficha .wrap { gap: 26px; }
}

/* CTA final */
.cta-final { text-align: center; padding: 120px 0; color: #fff; }
.cta-final h2 { font-size: clamp(30px, 4.6vw, 52px); max-width: 22ch; margin: 16px auto 18px; }
.cta-final .lead { margin: 0 auto 40px; }

/* whatsapp flutuante */
.wa-float {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--navy-800); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 34px -8px rgba(8,26,44,.55);
  transition: transform .3s var(--ease), background .3s;
  border: 1px solid rgba(255,255,255,.18);
}
.wa-float:hover { transform: translateY(-4px) scale(1.05); background: var(--navy-600); }
.wa-float svg { width: 27px; height: 27px; fill: #fff; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1024px) {
  .cards-atuacao { grid-template-columns: repeat(2, 1fr); }
  .valores-grid { grid-template-columns: repeat(2, 1fr); }
  .pf-card.pf-lg, .pf-card.pf-md { grid-column: span 12; aspect-ratio: 16/10; }
  .pf-card.pf-sm { grid-column: span 6; }
  .empresa-grid, .contato-grid { grid-template-columns: 1fr; gap: 50px; }
  .caso { grid-template-columns: 1fr; gap: 36px; padding: 70px 0; }
  .caso:nth-child(even) .caso-media { order: 0; }
  .galeria { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .sec { padding: 80px 0; }
  .page-hero { padding: 150px 0 64px; }
  .hero .wrap { padding-top: 110px; }
  .card-cta { padding: 34px 24px; }
  .contato-list div { min-width: 0; word-break: break-word; }
  .lightbox { padding: 16px; }
  .lightbox img { max-height: 72vh; }
  .lightbox button { width: 42px; height: 42px; }
  .lb-close { top: 14px; right: 14px; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .hero-ghost { font-size: 26vw; bottom: -2vw; }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(8,26,44,.93) 0%, rgba(8,26,44,.86) 55%, rgba(8,26,44,.94) 100%);
  }
  .pf-head { margin-bottom: 40px; }
  .sec-title { letter-spacing: 0; }
  .nav-links {
    position: fixed; inset: 0; height: 100dvh; background: #0A1E33;
    flex-direction: column; justify-content: center; gap: 30px;
    transform: translateX(100%); transition: transform .4s var(--ease);
    z-index: 120;
  }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 20px; }
  .nav-burger { display: block; }
  .hero-stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .scroll-cue { display: none; }
  .mvv-grid { grid-template-columns: 1fr; }
  .mvv { border-left: 0; border-top: 1px solid var(--gray-100); padding: 30px 0; }
  .mvv:first-child { border-left: 0; border-top: 3px solid var(--navy-800); }
  .cards-atuacao { grid-template-columns: 1fr; }
  .linha { grid-template-columns: 1fr; gap: 8px; }
  .linha .st { justify-self: start; }
  .galeria { grid-template-columns: repeat(2, 1fr); }
  .caso-thumbs { grid-template-columns: repeat(4, 1fr); }
  .footer .wrap { justify-content: center; text-align: center; }
  .footer-meta { text-align: center; }
  .valores-grid { grid-template-columns: 1fr; }
  .empresa-fotos .selo { right: 0; top: -20px; padding: 13px 16px; }
  .empresa-fotos .selo b { font-size: 26px; }
}

@media (max-width: 560px) {
  .pf-card.pf-sm { grid-column: span 12; aspect-ratio: 16/10; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn, .cta-final .btn { width: 100%; justify-content: center; }
  .hero-stats .wrap { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .stat { padding-left: 14px; }
  .stat b { font-size: 30px; }
  .caso-specs { gap: 18px; }
  .marquee-track { gap: 54px; padding-right: 54px; }
  .contratos .sec-title, .cta-final h2 { font-size: 28px; }
  .footer .wrap { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
