/* ============================================================
   BINV ENGENHARIA — MAIN STYLESHEET v2
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: #1A1A1A;
  background: #F7F6F2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── TOKENS ── */
:root {
  --verde-noite:    #04342C;
  --verde-primario: #0F6E56;
  --verde-medio:    #1D9E75;
  --verde-menta:    #5DCAA5;
  --off-white:      #F7F6F2;
  --branco:         #FFFFFF;
  --quase-preto:    #1A1A1A;
  --verde-acinz:    #7AAF94;
  --borda-sutil:    #1D4D36;
  --borda-card:     #D5EAD9;
  --verde-claro-bg: #E8F5EC;
  --cinza-suave:    #F0EEE8;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: 'Bebas Neue', sans-serif; line-height: 1.05; letter-spacing: 1px; }

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section-pad { padding: 96px 0; }
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'DM Sans', sans-serif; font-weight: 500;
  font-size: 11px; letter-spacing: 3px; color: var(--verde-medio);
  text-transform: uppercase; margin-bottom: 20px;
}
.tag::before {
  content: ''; display: block; width: 28px; height: 1px;
  background: var(--verde-medio);
}
.tag-light { color: var(--verde-menta); }
.tag-light::before { background: var(--verde-menta); }

/* ── BUTTONS ── */
.btn {
  display: inline-block; font-family: 'DM Sans', sans-serif;
  font-weight: 500; font-size: 14px; letter-spacing: 0.4px;
  padding: 14px 32px; border-radius: 2px;
  transition: background 0.22s, color 0.22s, border-color 0.22s, transform 0.15s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--verde-primario); color: var(--branco);
  border: 1.5px solid var(--verde-primario);
}
.btn-primary:hover { background: var(--verde-medio); border-color: var(--verde-medio); }
.btn-outline {
  background: transparent; color: var(--verde-primario);
  border: 1.5px solid var(--verde-primario);
}
.btn-outline:hover { background: var(--verde-primario); color: var(--branco); }
.btn-outline-white {
  background: transparent; color: var(--branco);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }
.btn-ghost-white {
  background: transparent; color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.22);
  letter-spacing: 0.3px;
}
.btn-ghost-white:hover { border-color: rgba(255,255,255,0.5); color: var(--branco); background: rgba(255,255,255,0.06); }
.btn-dark {
  background: var(--verde-noite); color: var(--branco);
  border: 1.5px solid var(--verde-noite);
}
.btn-dark:hover { background: #062e26; }

/* ── FADE-UP ANIMATION ── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--verde-noite);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  padding: 0 40px;
  height: 68px;
  display: flex; align-items: center;
}
.navbar.scrolled {
  background: rgba(4, 52, 44, 0.96);
  border-bottom-color: var(--borda-sutil);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center;
  flex: 0 0 auto; max-width: min(260px, 34vw);
}
.nav-logo img {
  display: block; width: 100%; height: auto;
  max-height: 44px; object-fit: contain;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-family: 'DM Sans', sans-serif; font-weight: 400;
  font-size: 14px; color: rgba(255,255,255,0.7);
  transition: color 0.2s; letter-spacing: 0.2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--branco); }
.nav-cta { margin-left: 20px; padding: 10px 24px; font-size: 13px; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 1.5px; background: var(--branco);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none; flex-direction: column;
  position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--verde-noite); z-index: 999;
  padding: 48px 40px; gap: 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'DM Sans', sans-serif; font-weight: 400;
  font-size: 22px; color: rgba(255,255,255,0.8);
  padding: 18px 0; border-bottom: 1px solid var(--borda-sutil);
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--branco); }
.mobile-nav .btn { margin-top: 28px; width: fit-content; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--verde-noite); padding: 140px 0 80px;
  border-bottom: 1px solid var(--borda-sutil);
}
.page-hero h1 { font-size: clamp(56px, 7vw, 96px); color: var(--branco); }
.page-hero p {
  font-size: 18px; font-weight: 300; color: var(--verde-acinz);
  max-width: 560px; margin-top: 16px; line-height: 1.7;
}

/* ============================================================
   HOME HERO — SPLIT LAYOUT
   ============================================================ */
.hero {
  background: var(--verde-noite);
  min-height: 100vh;
  display: flex; flex-direction: column;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
}
/* subtle background texture */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(93,202,165,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93,202,165,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-main {
  flex: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  max-width: 1280px; margin: 0 auto; width: 100%;
  padding: 72px 40px 48px;
  align-items: center; gap: 48px;
  position: relative;
}

/* Content left */
.hero-content { display: flex; flex-direction: column; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 500; letter-spacing: 3px;
  color: var(--verde-menta); text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-tag-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--verde-menta);
  box-shadow: 0 0 0 3px rgba(93,202,165,0.25);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(93,202,165,0.25); }
  50% { box-shadow: 0 0 0 6px rgba(93,202,165,0.1); }
}
.hero h1 {
  font-size: clamp(60px, 7.5vw, 108px);
  color: var(--branco); margin-bottom: 0;
}
.hero h1 .accent { color: var(--verde-menta); }
.hero-sub {
  font-size: 17px; font-weight: 300;
  color: var(--verde-acinz); max-width: 480px;
  margin: 24px 0 40px; line-height: 1.7;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* BIM Visual right */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.bim-wrap { position: relative; width: 100%; max-width: 460px; margin: 0 auto; }
.bim-svg { width: 100%; height: auto; }

/* Scan line animation */
.scan-line { animation: scanDown 3.5s ease-in-out infinite; }
@keyframes scanDown {
  0%   { transform: translateY(0px); opacity: 0.9; }
  70%  { transform: translateY(240px); opacity: 0.6; }
  85%  { opacity: 0; }
  100% { transform: translateY(0px); opacity: 0; }
}

/* Floating visual badges */
.vbadge {
  position: absolute;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(4, 52, 44, 0.92);
  border: 1px solid rgba(93,202,165,0.4);
  padding: 7px 14px; border-radius: 4px;
  font-size: 12px; font-weight: 500;
  color: var(--verde-menta);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.vbadge-tr { top: 8%; right: 0; }
.vbadge-bl { bottom: 28%; left: 0; }
.vbadge-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--verde-menta);
  animation: pulse 1.8s infinite;
}

/* Stats bar */
.hero-stats {
  background: rgba(4, 28, 22, 0.95);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--borda-sutil);
  position: relative;
}
.hero-stat {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 28px 20px;
  border-right: 1px solid var(--borda-sutil);
}
.hero-stat:last-child { border-right: none; }
.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px; color: var(--verde-menta); line-height: 1;
  letter-spacing: 1px;
}
.stat-label { font-size: 12px; color: var(--verde-acinz); margin-top: 4px; letter-spacing: 0.3px; }

/* ============================================================
   MANIFESTO BAND
   ============================================================ */
.manifesto-band {
  background: var(--verde-primario);
  padding: 36px 40px; text-align: center;
}
.manifesto-band p {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(20px, 2.5vw, 30px);
  color: var(--branco); letter-spacing: 1.5px;
  max-width: 860px; margin: 0 auto;
}

/* ============================================================
   SERVIÇOS — 2-column layout
   ============================================================ */
.services-section { background: var(--branco); }
.services-layout {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 80px; align-items: start;
}
.services-left { position: sticky; top: 100px; }
.services-left h2 {
  font-size: clamp(40px, 4.5vw, 60px);
  color: var(--verde-noite); margin-bottom: 20px;
}
.services-left p {
  font-size: 15px; color: #555; line-height: 1.75;
  margin-bottom: 36px; max-width: 320px;
}
.services-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--borda-card);
}
.service-card {
  background: var(--branco); padding: 24px;
  border: 1px solid var(--borda-card);
  transition: border-color 0.2s, background 0.2s;
}
.service-card:hover { border-color: var(--verde-medio); background: #fafffe; }
.service-card-button {
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.service-card-button:hover {
  border-color: var(--verde-medio);
  background: #fafffe;
}
.service-card-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--verde-claro-bg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.service-card-icon svg {
  width: 20px; height: 20px;
  stroke: var(--verde-primario); fill: none; stroke-width: 1.5;
}
.service-card h3 {
  font-family: 'DM Sans', sans-serif; font-weight: 600;
  font-size: 15px; color: var(--verde-noite); margin-bottom: 6px;
}
.service-card p { font-size: 13px; color: #666; line-height: 1.6; }
.service-num { font-size: 10px; color: var(--verde-medio); font-weight: 500; letter-spacing: 1.5px; margin-bottom: 6px; }
.service-card-cta {
  background: var(--verde-noite) !important;
  border-color: var(--verde-noite) !important;
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
  gap: 16px; min-height: 140px;
}
.service-card-cta p { font-size: 13px; color: var(--verde-acinz); line-height: 1.6; margin: 0; }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-section { background: var(--off-white); }
.portfolio-header {
  background: var(--verde-noite);
  padding: 64px 0 52px;
  border-bottom: 1px solid var(--borda-sutil);
}
.portfolio-header-row {
  display: flex; justify-content: space-between;
  align-items: flex-end; gap: 32px; flex-wrap: wrap;
}
.portfolio-header h2 {
  font-size: clamp(40px, 5vw, 64px);
  color: var(--branco); margin: 0;
}
.portfolio-grid-wrap { padding: 2px 0; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.portfolio-card {
  position: relative;
  aspect-ratio: 4/3; overflow: hidden; cursor: pointer;
  transition: transform 0.3s ease;
}
.portfolio-card:hover { transform: scale(1.01); z-index: 1; }
.portfolio-card-bg {
  position: absolute; inset: 0;
  background: linear-gradient(150deg, var(--card-base, #062a22) 0%, var(--card-top, #0d3d2e) 100%);
}
.damha-fit-card .portfolio-card-bg {
  background-image: linear-gradient(150deg, rgba(4, 28, 22, 0.2) 0%, rgba(4, 28, 22, 0.48) 100%), url('assets/damha-fit-card.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.portfolio-card-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 38px, rgba(93,202,165,0.08) 38px, rgba(93,202,165,0.08) 39px),
    repeating-linear-gradient(90deg, transparent, transparent 38px, rgba(93,202,165,0.08) 38px, rgba(93,202,165,0.08) 39px);
}
.portfolio-card-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(93,202,165,0.06) 0%, transparent 65%);
}
.damha-fit-card .portfolio-card-bg::before,
.damha-fit-card .portfolio-card-bg::after {
  display: none;
}
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,52,44,0.92) 0%, rgba(4,52,44,0.3) 60%, transparent 100%);
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-end;
  padding: 24px;
  transition: background 0.3s;
}
.portfolio-card:hover .portfolio-overlay {
  background: linear-gradient(to top, rgba(4,52,44,0.97) 0%, rgba(4,52,44,0.5) 60%, rgba(4,52,44,0.15) 100%);
}
.portfolio-tag {
  font-size: 10px; font-weight: 500; letter-spacing: 2px;
  color: var(--verde-menta); text-transform: uppercase;
  border: 1px solid var(--verde-menta); padding: 3px 10px;
  margin-bottom: 10px; border-radius: 1px;
}
.portfolio-overlay h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px; color: var(--branco);
  letter-spacing: 1.5px; margin-bottom: 4px;
}
.portfolio-overlay p { font-size: 13px; color: var(--verde-acinz); }
.portfolio-center { text-align: center; margin-top: 48px; }

/* ============================================================
   SOBRE PREVIEW
   ============================================================ */
.sobre-preview { background: var(--off-white); }
.sobre-preview-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.sobre-preview-content h2 {
  font-size: clamp(44px, 4.5vw, 64px);
  color: var(--verde-noite); margin-bottom: 20px;
}
.sobre-preview-content > p {
  font-size: 16px; color: #555; line-height: 1.75;
  max-width: 440px; margin-bottom: 32px;
}
.sobre-checklist {
  list-style: none; display: flex;
  flex-direction: column; gap: 14px;
  margin-bottom: 36px;
}
.sobre-checklist li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; color: #444; font-weight: 400;
}
.sobre-checklist svg { flex-shrink: 0; }

/* Office visual panel */
.sobre-preview-visual { height: 100%; }
.office-visual {
  background: var(--verde-noite);
  border-radius: 4px; padding: 32px;
  height: 100%; min-height: 380px;
  position: relative; overflow: hidden;
}
.office-visual::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(93,202,165,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93,202,165,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.office-grid {
  display: grid; grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px; height: 100%;
}
.og-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(93,202,165,0.2);
  border-radius: 4px; padding: 20px;
  display: flex; flex-direction: column;
  justify-content: flex-end; gap: 8px;
}
.og-card span { font-size: 13px; color: var(--verde-acinz); }
.og-main { justify-content: flex-start; }
.og-icon { width: 40px; height: 40px; margin-bottom: 4px; }
.og-icon svg { width: 40px; height: 40px; }
.og-icon-sm svg { width: 24px; height: 24px; }
.og-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 44px; color: var(--verde-menta); line-height: 1;
}
.og-num span { font-size: 28px; }
.og-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 16px; }
.og-bar-label { font-size: 12px; color: var(--verde-acinz); white-space: nowrap; }
.og-bar {
  flex: 1; height: 4px;
  background: rgba(93,202,165,0.15); border-radius: 2px;
}
.og-bar-fill {
  height: 100%; background: var(--verde-menta);
  border-radius: 2px; transition: width 1.5s ease;
}
.og-bar-pct { font-size: 13px; font-weight: 500; color: var(--verde-menta); }

/* ============================================================
   CLIENT LOGOS BAND
   ============================================================ */
.clients-band {
  background: var(--branco);
  border-top: 1px solid var(--borda-card);
  border-bottom: 1px solid var(--borda-card);
  padding: 28px 0;
  overflow: hidden;
}
.clients-band .container { display: flex; align-items: center; gap: 32px; }
.clients-label {
  font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
  color: #999; font-weight: 500; white-space: nowrap;
  padding-right: 16px; border-right: 1px solid var(--borda-card);
}
.clients-track-wrap { overflow: hidden; flex: 1; }
.clients-track {
  display: flex; align-items: center; gap: 28px;
  width: max-content;
  animation: tickerScroll 28s linear infinite;
}
.clients-track:hover { animation-play-state: paused; }
.client-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px; letter-spacing: 2px;
  color: #999; white-space: nowrap;
  transition: color 0.2s;
}
.client-name:hover { color: var(--verde-noite); }
.client-sep { color: #ccc; font-size: 18px; }
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   BIM + IA SECTION
   ============================================================ */
.bim-section { background: var(--verde-noite); }
.bim-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: end; margin-bottom: 64px;
}
.bim-section .tag { color: var(--verde-menta); }
.bim-section .tag::before { background: var(--verde-menta); }
.bim-section h2 { font-size: clamp(48px, 6vw, 76px); color: var(--branco); }
.bim-header > p { font-size: 16px; font-weight: 300; color: var(--verde-acinz); line-height: 1.7; }
.bim-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--borda-sutil); }
.bim-card {
  background: rgba(255,255,255,0.02);
  padding: 32px 28px;
  border: 1px solid var(--borda-sutil);
  transition: background 0.2s;
}
.bim-card:hover { background: rgba(255,255,255,0.04); }
.bim-icon {
  width: 42px; height: 42px;
  background: rgba(93,202,165,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.bim-icon svg { width: 22px; height: 22px; stroke: var(--verde-menta); fill: none; stroke-width: 1.5; }
.bim-card h3 {
  font-family: 'DM Sans', sans-serif; font-weight: 600;
  font-size: 15px; color: var(--branco); margin-bottom: 10px; line-height: 1.4;
}
.bim-card p { font-size: 13px; color: var(--verde-acinz); line-height: 1.65; }

/* ============================================================
   RECURSOS / INFRAESTRUTURA
   ============================================================ */
.recursos-section { background: var(--cinza-suave); }
.recursos-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.recursos-content h2 {
  font-size: clamp(40px, 4.5vw, 60px);
  color: var(--verde-noite); margin-bottom: 40px;
}
.recursos-cards { display: flex; flex-direction: column; gap: 24px; }
.rc-card {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 24px;
  background: var(--branco);
  border: 1px solid var(--borda-card);
  border-radius: 4px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.rc-card:hover { border-color: var(--verde-medio); box-shadow: 0 4px 24px rgba(4,52,44,0.06); }
.rc-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--verde-claro-bg); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--verde-primario);
}
.rc-icon svg { width: 20px; height: 20px; }
.rc-card h4 {
  font-family: 'DM Sans', sans-serif; font-weight: 600;
  font-size: 15px; color: var(--verde-noite); margin-bottom: 4px;
}
.rc-card p { font-size: 13px; color: #666; line-height: 1.6; }

/* Recursos visual panel */
.recursos-visual { display: flex; align-items: center; justify-content: center; }
.rv-panel {
  background: var(--verde-noite);
  border: 1px solid var(--borda-sutil);
  border-radius: 8px; padding: 32px;
  width: 100%; max-width: 380px;
  position: relative; overflow: hidden;
}
.rv-panel::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(93,202,165,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93,202,165,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.rv-screen {
  display: flex; flex-direction: column;
  gap: 12px; margin-bottom: 24px;
  position: relative;
}
.rv-bar {
  height: 8px; border-radius: 4px;
  background: rgba(93,202,165,0.15); position: relative; overflow: hidden;
}
.rv-bar::after {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--verde-menta); border-radius: 4px;
  animation: fillBar 2.5s ease-out forwards;
}
.rv-bar-1::after { width: 100%; animation-delay: 0.2s; }
.rv-bar-2::after { width: 88%; animation-delay: 0.5s; }
.rv-bar-3::after { width: 100%; animation-delay: 0.8s; }
.rv-bar-4::after { width: 92%; animation-delay: 1.1s; }
@keyframes fillBar {
  from { width: 0; opacity: 0; }
  to { opacity: 1; }
}
.rv-metric {
  display: flex; flex-direction: column; align-items: center;
  margin-top: 16px;
}
.rv-metric-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 64px; color: var(--verde-menta); line-height: 1;
}
.rv-metric-lbl { font-size: 12px; color: var(--verde-acinz); letter-spacing: 1px; }
.rv-status {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: var(--verde-acinz);
  letter-spacing: 0.5px; border-top: 1px solid var(--borda-sutil);
  padding-top: 16px; position: relative;
}
.rv-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--verde-menta); animation: pulse 2s infinite;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  background: var(--verde-noite);
  position: relative; overflow: hidden;
}
.cta-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(93,202,165,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93,202,165,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.cta-inner {
  display: grid; grid-template-columns: 1fr auto;
  gap: 64px; align-items: center; position: relative;
}
.cta-content h2 {
  font-size: clamp(44px, 5.5vw, 72px);
  color: var(--branco); margin-bottom: 16px;
}
.cta-content p { font-size: 17px; color: var(--verde-acinz); margin-bottom: 40px; }

/* CTA visual */
.handshake-visual { position: relative; width: 200px; height: 200px; }
.hv-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(93,202,165,0.2);
}
.hv-ring-1 { inset: 0; animation: ringPulse 3s ease-in-out infinite; }
.hv-ring-2 { inset: 20px; animation: ringPulse 3s ease-in-out infinite 1s; }
@keyframes ringPulse {
  0%, 100% { border-color: rgba(93,202,165,0.2); transform: scale(1); }
  50% { border-color: rgba(93,202,165,0.4); transform: scale(1.04); }
}
.hv-center {
  position: absolute; inset: 40px;
  background: rgba(93,202,165,0.08);
  border: 1px solid rgba(93,202,165,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--verde-noite);
  border-top: 1px solid var(--borda-sutil);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 1fr 1.2fr;
  gap: 48px; padding-bottom: 56px;
}
.footer-brand { }
.footer-logo { width: min(100%, 280px); margin-bottom: 16px; }
.footer-logo img { display: block; width: 100%; height: auto; object-fit: contain; }
.footer-tagline { font-size: 13px; color: var(--verde-acinz); line-height: 1.65; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--borda-sutil); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--verde-acinz); transition: border-color 0.2s, color 0.2s;
}
.footer-social a:hover { border-color: var(--verde-menta); color: var(--verde-menta); }
.footer-social svg { width: 15px; height: 15px; }
.footer-col h3 {
  font-family: 'DM Sans', sans-serif; font-weight: 600;
  font-size: 12px; color: var(--verde-medio);
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--branco); }
.footer-contact-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: rgba(255,255,255,0.65);
  margin-bottom: 14px; transition: color 0.2s;
}
.footer-contact-item:hover { color: var(--branco); }
.footer-contact-item svg { flex-shrink: 0; stroke: var(--verde-medio); }
.footer-bottom {
  border-top: 1px solid var(--borda-sutil);
  padding: 20px 0; display: flex;
  justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.3); }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg { display: block; }

/* ============================================================
   SOBRE PAGE
   ============================================================ */
.sobre-manifesto {
  background: var(--verde-primario); padding: 56px 0; text-align: center;
}
.sobre-manifesto blockquote {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 4vw, 44px); color: var(--branco);
  letter-spacing: 1.5px; max-width: 800px; margin: 0 auto; line-height: 1.15;
}
.sobre-text-section { background: var(--off-white); }
.sobre-text-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.sobre-text-grid p { font-size: 16px; color: #444; line-height: 1.8; }
.sobre-text-grid .big-text { font-family: 'Bebas Neue', sans-serif; font-size: clamp(44px, 5vw, 72px); color: var(--verde-noite); }
.diferenciais-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; margin-top: 64px; background: var(--borda-card); }
.diferencial-card {
  background: var(--branco); padding: 32px;
  border: 1px solid var(--borda-card); transition: border-color 0.2s;
}
.diferencial-card:hover { border-color: var(--verde-medio); }
.diferencial-card h3 { font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 17px; color: var(--verde-noite); margin-bottom: 10px; }
.diferencial-card p { font-size: 14px; color: #555; line-height: 1.65; }
.diferencial-num { font-family: 'Bebas Neue', sans-serif; font-size: 48px; color: var(--verde-menta); line-height: 1; margin-bottom: 12px; }
.address-section { background: var(--verde-noite); padding: 64px 0; }
.address-section h2 { font-size: 40px; color: var(--branco); margin-bottom: 32px; }
.address-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.address-item h3 { font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 13px; color: var(--verde-medio); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.address-item p { font-size: 15px; color: rgba(255,255,255,0.75); line-height: 1.7; }

/* ============================================================
   SERVIÇOS PAGE
   ============================================================ */
.servicos-block { margin-bottom: 2px; }
.accordion-header {
  background: var(--verde-noite); padding: 28px 32px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; border: 1px solid var(--borda-sutil);
  transition: background 0.2s;
}
.accordion-header:hover { background: #062b23; }
.accordion-header h2 { font-size: 28px; color: var(--branco); font-family: 'Bebas Neue', sans-serif; letter-spacing: 1.5px; }
.accordion-icon { width: 24px; height: 24px; stroke: var(--verde-menta); fill: none; stroke-width: 1.5; transition: transform 0.3s; }
.accordion-header.open .accordion-icon { transform: rotate(45deg); }
.accordion-body { background: var(--off-white); overflow: hidden; max-height: 0; transition: max-height 0.5s ease; }
.accordion-body.open { max-height: 800px; }
.accordion-content { padding: 48px 32px; }
.services-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-detail-card {
  background: var(--branco); padding: 24px;
  border: 1px solid var(--borda-card); transition: border-color 0.2s;
}
.service-detail-card:hover { border-color: var(--verde-medio); }
.service-detail-card-button {
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.service-detail-card-button:hover { background: #fafffe; }
.service-detail-card h3 { font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 16px; color: var(--verde-noite); margin-bottom: 8px; }
.service-detail-card p { font-size: 13px; color: #666; line-height: 1.6; }
.service-detail-icon { width: 36px; height: 36px; background: var(--verde-claro-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.service-detail-icon svg { width: 18px; height: 18px; stroke: var(--verde-medio); fill: none; stroke-width: 1.5; }
.service-detail-link {
  display: inline-flex;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--verde-primario);
}
.service-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1200;
}
.service-modal.open { display: flex; }
.service-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 28, 22, 0.82);
  backdrop-filter: blur(4px);
}
.service-modal-dialog {
  position: relative;
  width: min(1120px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  background: var(--branco);
  border: 1px solid var(--borda-card);
  box-shadow: 0 24px 80px rgba(4, 28, 22, 0.28);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
}
.service-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(4, 52, 44, 0.08);
  color: var(--verde-noite);
  font-size: 28px;
  line-height: 1;
  z-index: 2;
}
.service-modal-media {
  background: #f4f4f1;
  border-right: 1px solid var(--borda-card);
}
.service-modal-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: contain;
}
.service-modal-content { padding: 56px 40px 40px; }
.service-modal-content h3 {
  font-size: clamp(34px, 3vw, 46px);
  color: var(--verde-noite);
  margin-bottom: 18px;
}
.service-modal-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ============================================================
   PORTFOLIO PAGE
   ============================================================ */
.portfolio-filter { display: flex; gap: 2px; margin-bottom: 32px; flex-wrap: wrap; }
.filter-btn {
  padding: 10px 20px; font-size: 13px; font-weight: 500; letter-spacing: 1px;
  text-transform: uppercase; background: var(--branco);
  color: #555; border: 1px solid var(--borda-card);
  cursor: pointer; transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active { background: var(--verde-medio); color: var(--branco); border-color: var(--verde-medio); }

/* ============================================================
   INFRAESTRUTURA PAGE
   ============================================================ */
.infra-highlight { background: var(--verde-primario); padding: 56px 0; }
.infra-highlight p { font-size: 17px; color: rgba(255,255,255,0.85); max-width: 760px; line-height: 1.8; }
.infra-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--borda-card); }
.infra-card {
  background: var(--off-white); padding: 32px;
  border: 1px solid var(--borda-card); transition: border-color 0.2s;
}
.infra-card:hover { border-color: var(--verde-medio); }
.infra-card h3 { font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 17px; color: var(--verde-noite); margin-bottom: 10px; margin-top: 14px; }
.infra-card p { font-size: 13px; color: #555; line-height: 1.65; }
.infra-icon { width: 44px; height: 44px; background: var(--verde-claro-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.infra-icon svg { width: 22px; height: 22px; stroke: var(--verde-medio); fill: none; stroke-width: 1.5; }

/* ============================================================
   CONTATO PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 500; color: #555; letter-spacing: 0.5px; }
.form-group input, .form-group select, .form-group textarea {
  padding: 14px 16px; border: 1px solid var(--borda-card);
  background: var(--branco); font-family: 'DM Sans', sans-serif;
  font-size: 15px; color: var(--quase-preto); border-radius: 2px;
  transition: border-color 0.2s; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--verde-medio); }
.form-group textarea { resize: vertical; min-height: 140px; }
.contact-info { padding-top: 8px; }
.contact-info h2 { font-size: 44px; color: var(--verde-noite); margin-bottom: 32px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 32px; }
.contact-item-icon { width: 44px; height: 44px; background: var(--verde-claro-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item-icon svg { width: 20px; height: 20px; stroke: var(--verde-medio); fill: none; stroke-width: 1.5; }
.contact-item h3 { font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 13px; color: var(--verde-medio); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px; }
.contact-item p { font-size: 15px; color: #444; line-height: 1.6; }

/* ============================================================
   SECTION DIVIDER
   ============================================================ */
.section-divider { border: none; border-top: 1px solid var(--borda-sutil); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero-main { grid-template-columns: 1fr; padding: 60px 40px 40px; max-width: 680px; }
  .hero-visual { display: none; }
  .hero h1 { font-size: clamp(60px, 12vw, 96px); }
  .bim-grid { grid-template-columns: repeat(2, 1fr); }
  .bim-header { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .recursos-grid { grid-template-columns: 1fr; gap: 48px; }
  .recursos-visual { order: -1; }
  .rv-panel { max-width: 100%; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-visual { display: none; }
}

@media (max-width: 900px) {
  .container { padding: 0 28px; }
  .services-layout { grid-template-columns: 1fr; gap: 48px; }
  .services-left { position: static; }
  .sobre-preview-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section-pad { padding: 64px 0; }
  .hero-main { padding: 56px 20px 40px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat { border-right: none; border-bottom: 1px solid var(--borda-sutil); }
  .hero-stat:last-child, .hero-stat:nth-child(even) { border-right: none; }
  .hero-stat:nth-child(3), .hero-stat:nth-child(4) { border-bottom: none; }
  .hero-stat:nth-child(1), .hero-stat:nth-child(3) { border-right: 1px solid var(--borda-sutil); }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-logo { max-width: min(200px, 55vw); }
  .nav-logo img { max-height: 36px; }
  .navbar { padding: 0 20px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .bim-grid { grid-template-columns: 1fr; gap: 1px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-header-row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .services-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .diferenciais-grid { grid-template-columns: 1fr; }
  .sobre-text-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .infra-grid { grid-template-columns: repeat(2, 1fr); }
  .address-grid { grid-template-columns: 1fr; }
  .clients-band .container { flex-direction: column; align-items: flex-start; gap: 16px; }
  .clients-label { border-right: none; padding-right: 0; }
  .manifesto-band { padding: 28px 20px; }
  .service-modal { padding: 12px; }
  .service-modal-dialog {
    grid-template-columns: 1fr;
    max-height: 92vh;
  }
  .service-modal-media {
    border-right: none;
    border-bottom: 1px solid var(--borda-card);
  }
  .service-modal-media img {
    min-height: 260px;
    max-height: 42vh;
  }
  .service-modal-content { padding: 28px 20px 24px; }
}

@media (max-width: 520px) {
  .nav-logo { max-width: min(170px, 54vw); }
  .nav-logo img { max-height: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-logo { width: min(100%, 240px); }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .services-detail-grid { grid-template-columns: 1fr; }
  .infra-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { text-align: center; }
  .bim-header { grid-template-columns: 1fr; }
  .office-grid { grid-template-columns: 1fr 1fr; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; }
}
