:root {
  --blue-950: #050b1e;
  --blue-900: #081950;
  --blue-800: #0b2372;
  --blue-700: #142e84;
  --blue-500: #596573;
  --blue-100: #e9eef2;
  --blue-050: #f6f8fa;
  --white: #ffffff;
  --text: #182433;
  --muted: #5d6772;
  --line: #d5dce3;
  --max: 1180px;
  --header: 76px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--white); font-family: "Inter", Arial, sans-serif; letter-spacing: 0; line-height: 1.6; }
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.header { position: fixed; inset: 0 0 auto; z-index: 30; height: var(--header); border-bottom: 1px solid transparent; transition: background .2s ease, border-color .2s ease; }
.header.scrolled { background: rgba(255,255,255,.97); border-color: var(--line); box-shadow: 0 5px 18px rgba(5,38,62,.05); }
.nav-wrap { height: 100%; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; color: var(--white); }
.header.scrolled .brand { color: var(--blue-950); }
.brand-logo { width: 62px; height: 58px; display: block; object-fit: contain; background: transparent; border: 0; box-shadow: none; filter: none; }
.brand strong { display: block; font-family: "Montserrat", sans-serif; font-size: 15px; line-height: 1.05; text-transform: uppercase; }
.brand small { display: block; font-size: 10px; line-height: 1.2; letter-spacing: 1.7px; text-transform: uppercase; }
.nav { display: flex; gap: 25px; color: #d8e0e8; font-size: 14px; }
.header.scrolled .nav { color: var(--muted); }
.nav a:hover, .nav a.active { color: var(--white); }
.header.scrolled .nav a:hover, .header.scrolled .nav a.active { color: var(--blue-800); }
.nav-contact { min-height: 44px; display: inline-flex; align-items: center; padding: 0 20px; border: 1px solid #aebbc8; border-radius: 6px; color: var(--white); font-weight: 600; font-size: 14px; }
.header.scrolled .nav-contact { border-color: var(--blue-700); color: var(--blue-800); }
.nav-contact:hover { background: rgba(255,255,255,.1); }
.header.scrolled .nav-contact:hover { background: var(--blue-100); }
.menu { display: none; width: 44px; height: 44px; border: 1px solid #b9c4cf; border-radius: 6px; background: transparent; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu span:not(.sr-only) { display: block; width: 19px; height: 2px; background: var(--white); }
.header.scrolled .menu { border-color: var(--line); }
.header.scrolled .menu span:not(.sr-only) { background: var(--blue-900); }
.hero { position: relative; min-height: min(870px, 100vh); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background-color: var(--blue-950); background-image: linear-gradient(90deg, rgba(5,11,30,.96) 0%, rgba(8,25,80,.9) 44%, rgba(5,11,30,.56) 100%), url("assets/hero-fundo.webp"); background-size: cover, cover; background-position: center, center right; color: var(--white); }
.blueprint { position: absolute; inset: 0; opacity: .33; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(108deg, transparent 0 60%, rgba(255,255,255,.14) 60% 60.1%, transparent 60.1%); background-size: 54px 54px, 54px 54px, 100% 100%; mask-image: linear-gradient(90deg, transparent, #000 48%, #000); }
.hero-layout { position: relative; display: grid; grid-template-columns: 1.04fr .76fr; align-items: center; gap: 66px; padding: calc(var(--header) + 48px) 0 72px; }
.overline, .label { margin-bottom: 18px; font-size: 12px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; }
.overline { color: #e3e9ee; }
.hero h1 { max-width: 680px; font-family: "Montserrat", sans-serif; font-size: clamp(44px, 5.2vw, 67px); line-height: 1.08; margin-bottom: 25px; }
.hero h1 span { color: #e3e9ee; }
.hero-text { max-width: 600px; margin-bottom: 36px; color: #d5dde5; font-size: 17px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; border-radius: 6px; padding: 0 25px; font-size: 14px; font-weight: 600; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.primary { background: var(--white); color: var(--blue-900); }
.primary:hover { background: var(--blue-100); }
.secondary { border: 1px solid #abb8c5; color: var(--white); }
.secondary:hover { background: rgba(255,255,255,.08); }
.hero-brand { display: flex; flex-direction: column; align-items: center; padding: 0; background: transparent; border: 0; box-shadow: none; backdrop-filter: none; color: var(--white); }
.hero-brand img { display: block; width: min(100%, 470px); aspect-ratio: auto; object-fit: contain; background: transparent; border: 0; box-shadow: none; filter: none; }
.hero-strip { position: relative; border-top: 1px solid rgba(255,255,255,.22); background: rgba(4,34,55,.2); }
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip-grid span { min-height: 72px; display: flex; align-items: center; font-size: 13px; font-weight: 500; text-transform: uppercase; color: #d7dfe7; }
.strip-grid span + span { padding-left: 34px; border-left: 1px solid rgba(255,255,255,.2); }
.section { padding: 98px 0; scroll-margin-top: var(--header); }
.heading .label { color: var(--blue-700); }
.heading h2 { font-family: "Montserrat", sans-serif; font-size: clamp(30px, 3.5vw, 44px); line-height: 1.18; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 76px; align-items: start; }
.about-copy { color: var(--muted); font-size: 17px; }
.about-copy p + p { margin-top: 20px; }
.about-copy strong { color: var(--blue-900); }
.company-data { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 35px; }
.company-data span { padding: 14px; border-radius: 7px; background: var(--blue-050); border: 1px solid var(--line); color: var(--blue-900); font-size: 13px; font-weight: 500; }
.company-data small { display: block; margin-bottom: 5px; color: var(--muted); font-size: 10px; text-transform: uppercase; }
.soft { background: var(--blue-050); border-block: 1px solid var(--line); }
.heading.center { margin-bottom: 46px; text-align: center; }
.heading.center h2 { margin: 0 auto; }
.intro { max-width: 580px; margin: 18px auto 0; color: var(--muted); }
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service { min-height: 265px; padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.service-number { display: block; margin-bottom: 27px; color: var(--blue-700); font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 13px; }
.service h3 { margin-bottom: 12px; font-size: 18px; line-height: 1.3; }
.service p { color: var(--muted); font-size: 14px; }
.work .heading { max-width: 700px; margin-bottom: 48px; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.work-card { padding: 32px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.work-tag { color: var(--blue-700); font-size: 11px; font-weight: 700; text-transform: uppercase; margin-bottom: 13px; }
.work-card h3 { max-width: 430px; margin-bottom: 24px; font-size: 23px; line-height: 1.3; }
.work-card li { position: relative; padding: 11px 0 11px 21px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.work-card li::before { content: ""; position: absolute; top: 19px; left: 2px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-700); }
.mission { background: var(--blue-100); }
.mission-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 70px; }
.mission blockquote { border-left: 3px solid var(--blue-700); padding: 16px 0 16px 30px; color: var(--blue-900); font-size: clamp(19px, 2.3vw, 25px); font-weight: 500; line-height: 1.5; }
.contact { padding: 92px 0; scroll-margin-top: var(--header); background: var(--blue-950); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 76px; }
.contact .label { color: #dce3ea; }
.contact-note { margin-top: 18px; color: #d3dbe3; }
.contact-panel { display: grid; gap: 12px; }
.contact-item, .contact-address { display: flex; flex-direction: column; justify-content: center; min-height: 96px; padding: 18px 24px; border: 1px solid rgba(194,225,244,.3); border-radius: 8px; }
.contact-item small, .contact-address small { margin-bottom: 6px; color: #d7dfe6; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.contact-item strong { font-size: 20px; font-weight: 600; }
.contact-item span { margin-top: 3px; color: #d3dbe3; font-size: 13px; }
.contact-address p { color: #edf1f4; font-size: 15px; }
.contact-item:hover { border-color: #c6d0d9; background: rgba(255,255,255,.05); }
.contact-item.whatsapp { background: rgba(74,84,96,.25); }
.footer { padding: 26px 0; color: var(--muted); border-top: 1px solid var(--line); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; }
.footer a:hover { color: var(--blue-700); }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (max-width: 1030px) {
  .nav-contact { display: none; }
  .menu { display: inline-flex; }
  .nav { display: none; position: fixed; top: var(--header); left: 24px; right: 24px; padding: 10px; background: var(--white); color: var(--muted); border: 1px solid var(--line); border-radius: 8px; flex-direction: column; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav a:hover, .nav a.active { color: var(--blue-800); }
  .hero-layout { grid-template-columns: 1fr .62fr; gap: 38px; }
  .about-grid, .mission-grid, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  :root { --header: 70px; }
  .container { width: min(var(--max), calc(100% - 32px)); }
  .brand strong { font-size: 13px; }
  .hero { min-height: 100svh; }
  .hero-layout { grid-template-columns: 1fr; gap: 36px; padding-top: calc(var(--header) + 30px); padding-bottom: 42px; }
  .hero-content { order: 2; }
  .hero-brand { order: 1; max-width: 278px; padding: 0; }
  .hero h1 { font-size: clamp(37px, 11vw, 47px); }
  .hero-text { font-size: 15px; }
  .strip-grid, .services, .work-grid, .company-data { grid-template-columns: 1fr; }
  .strip-grid { padding: 12px 0; }
  .strip-grid span { min-height: 39px; }
  .strip-grid span + span { padding-left: 0; border: 0; }
  .section { padding: 68px 0; }
  .service { min-height: auto; }
  .work-card { padding: 25px 20px; }
  .mission blockquote { padding-left: 20px; }
  .contact-item strong { font-size: 17px; }
  .footer-inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Image-led institutional sections */
.soft {
  position: relative;
  isolation: isolate;
  background-image: linear-gradient(108deg, rgba(5, 11, 30, .94), rgba(8, 25, 80, .78)), url("assets/sistemas-conectados.webp");
  background-size: cover;
  background-position: center;
  color: var(--white);
  border-block: 0;
}
.soft .label,
.soft .service-number { color: #e3e9ee; }
.soft .intro,
.soft .service p { color: #d5dde5; }
.service {
  border-color: rgba(227, 233, 238, .2);
  background: rgba(10, 19, 43, .46);
  backdrop-filter: blur(10px);
  color: var(--white);
}
.work {
  position: relative;
  background-color: var(--blue-950);
  background-image: linear-gradient(90deg, rgba(5, 11, 30, .95), rgba(5, 11, 30, .67)), url("assets/engenharia-civil.webp");
  background-size: cover;
  background-position: center, center right;
  color: var(--white);
}
.work .label,
.work-tag { color: #e3e9ee; }
.work-card {
  border-color: rgba(227, 233, 238, .2);
  background: rgba(10, 19, 43, .46);
  backdrop-filter: blur(10px);
}
.work-card li { border-color: rgba(227, 233, 238, .18); color: #d5dde5; }
.work-card li::before { background: #e3e9ee; }
.mission {
  position: relative;
  background-color: var(--blue-100);
  background-image: linear-gradient(90deg, rgba(233, 238, 242, .97), rgba(233, 238, 242, .78)), url("assets/automacao-inteligente.webp");
  background-size: cover;
  background-position: center, right center;
}
.mission blockquote {
  padding: 28px 30px;
  border: 1px solid rgba(8, 25, 80, .12);
  border-left: 3px solid var(--blue-700);
  border-radius: 8px;
  background: rgba(255, 255, 255, .46);
  backdrop-filter: blur(10px);
}
@media (max-width: 720px) {
  .soft,
  .work,
  .mission { background-position: center; }
  .service,
  .work-card { backdrop-filter: blur(8px); }
  .mission blockquote { padding: 20px; }
}
.service-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.service-panel {
  padding: 30px;
  border: 1px solid rgba(227, 233, 238, .2);
  border-radius: 8px;
  background: rgba(10, 19, 43, .46);
  backdrop-filter: blur(10px);
}
.panel-label {
  margin-bottom: 13px;
  color: #e3e9ee;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.service-panel h3 {
  margin-bottom: 22px;
  color: var(--white);
  font-size: 23px;
  line-height: 1.3;
}
.service-list {
  display: grid;
  grid-template-columns: 1fr;
}
.service-list li {
  position: relative;
  padding: 10px 0 10px 20px;
  border-top: 1px solid rgba(227, 233, 238, .16);
  color: #d5dde5;
  font-size: 14px;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 18px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e3e9ee;
}
@media (max-width: 820px) {
  .service-columns { grid-template-columns: 1fr; }
  .service-panel { padding: 23px 20px; }
}
