:root {
  --ink: #1b2632;
  --muted: #65758b;
  --surface: #e1e7ef;
  --paper: #ffffff;
  --line: #d6dee8;
  --field: #204060;
  --clay: #1876f2;
  --steel: #2a6fa3;
  --amber: #1876f2;
  --shadow: 0 18px 42px rgba(27, 38, 50, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--surface);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(18px, 5vw, 68px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header[data-scrolled="true"],
.site-header.open {
  background: rgba(27, 38, 50, 0.96);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.site-header[data-scrolled="true"] {
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
}

.brand-logo {
  width: 86px;
  height: 54px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.32));
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1;
}

.brand small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav .nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: var(--amber);
  padding: 12px 18px;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  content: "";
  background: #fff;
  transition: width 180ms ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  padding: 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(27, 38, 50, 0.92) 0%, rgba(27, 38, 50, 0.64) 50%, rgba(27, 38, 50, 0.22) 100%),
    linear-gradient(0deg, rgba(225, 231, 239, 0.92) 0%, rgba(225, 231, 239, 0.12) 36%, rgba(27, 38, 50, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(850px, calc(100% - 36px));
  margin: 0 auto;
  padding: 140px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.eyebrow.line::before {
  width: 48px;
  height: 3px;
  content: "";
  background: var(--amber);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 6vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h1 span {
  display: block;
  color: var(--amber);
}

h2 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(1.85rem, 3.8vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 12px 18px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--amber);
  color: #fff;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.section-heading p:last-child {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.03rem;
}

.section,
.section-band,
.contact {
  padding: clamp(64px, 9vw, 112px) 0;
}

.section {
  background: var(--paper);
}

#servicos {
  background: #edf2f7;
}

.section-band {
  background: var(--surface);
}

.section-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.intro-grid,
.split,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.intro-grid p:last-child,
.split p,
.contact-panel p {
  color: var(--muted);
  font-size: 1.04rem;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.22em;
  width: 16px;
  height: 16px;
  content: "";
  background: var(--amber);
}

.section-heading {
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  min-height: 298px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(27, 38, 50, 0.12);
}

.service-card.wide {
  grid-column: auto;
  background: #fff;
}

.service-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 2px;
  background: #f4f6f9;
  color: var(--field);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0;
}

.service-card h3 {
  margin-bottom: 12px;
  color: #001226;
  font-size: 1.18rem;
}

.service-card p {
  max-width: 310px;
  color: #526b87;
  font-size: 1rem;
  line-height: 1.62;
}

.timeline span,
.feature-list span {
  color: var(--muted);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
}

.project-grid article {
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 8px;
  overflow: hidden;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(27, 38, 50, 0.08), rgba(27, 38, 50, 0.9)),
    linear-gradient(135deg, #204060, #1876f2);
}

.project-grid article:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(27, 38, 50, 0.08), rgba(27, 38, 50, 0.9)),
    linear-gradient(135deg, #2a6fa3, #1b2632);
}

.project-grid article:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(27, 38, 50, 0.08), rgba(27, 38, 50, 0.9)),
    linear-gradient(135deg, #65758b, #204060);
}

.project-grid article.project-residential {
  background:
    linear-gradient(180deg, rgba(27, 38, 50, 0.08), rgba(27, 38, 50, 0.88)),
    url("ativos/foto-jbs-residencial.jpeg") center / cover no-repeat;
}

.project-grid article.project-industrial {
  background:
    linear-gradient(180deg, rgba(27, 38, 50, 0.08), rgba(27, 38, 50, 0.88)),
    url("ativos/foto-jbs-industrial.jpeg") center / cover no-repeat;
}

.project-grid article.project-photo {
  background:
    linear-gradient(180deg, rgba(27, 38, 50, 0.12), rgba(27, 38, 50, 0.9)),
    url("ativos/foto-jbs-infraestrutura.jpeg") center / cover no-repeat;
}

.project-grid span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-grid strong,
.feature-list strong,
.feature-list span {
  display: block;
}

.project-grid strong {
  max-width: 260px;
  margin-top: 10px;
  font-size: 1.45rem;
  line-height: 1.15;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list div {
  border-left: 4px solid var(--clay);
  background: var(--surface);
  padding: 18px 20px;
}

.contact {
  background: var(--field);
  color: #fff;
}

.contact-panel {
  align-items: stretch;
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-copy {
  display: grid;
  align-content: center;
}

.contact-info {
  display: grid;
  gap: 14px;
}

.contact-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(27, 38, 50, 0.14);
}

.contact-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 8px;
  background: #e9eef5;
  color: var(--field);
}

.contact-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card h3 {
  margin-bottom: 7px;
  color: #142235;
  font-size: 1rem;
}

.contact-card a,
.contact-card address {
  display: block;
  color: #65758b;
  font-style: normal;
  font-weight: 700;
  line-height: 1.55;
}

.contact-card a:hover {
  color: var(--amber);
}

.contact-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.contact-card-actions a {
  border-radius: 999px;
  padding: 8px 12px;
  background: #25d366;
  color: #fff;
  font-size: 0.86rem;
  line-height: 1.2;
}

.contact-card-actions a:hover {
  color: #fff;
  background: #1eb85a;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 9px 12px;
  background: #edf2f7;
  color: var(--field);
  font-size: 0.9rem;
  line-height: 1.2;
}

.social-links a:hover {
  background: var(--amber);
  color: #fff;
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 68px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  gap: 10px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 18px 10px 12px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 30px rgba(27, 38, 50, 0.26);
  font-size: 0.95rem;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.whatsapp-float img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(27, 38, 50, 0.3);
}

@media (max-width: 980px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    background: rgba(27, 38, 50, 0.98);
    box-shadow: var(--shadow);
  }

  .site-header.open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    width: min(100% - 32px, 850px);
    padding-bottom: 44px;
  }

  .intro-grid,
  .split,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card.wide {
    grid-column: auto;
    min-height: 0;
  }

  .site-footer {
    flex-direction: column;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 430px) {
  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 72px;
    height: 46px;
  }

  .brand small {
    display: none;
  }

  .hero-actions .button {
    width: 100%;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }
}
