:root {
  --blue: #0e4d92;
  --blue-dark: #07315f;
  --graphite: #303030;
  --ink: #18202a;
  --muted: #667085;
  --line: #e6ebf2;
  --white: #ffffff;
  --soft: #f5f8fb;
  --shadow: 0 18px 55px rgba(14, 77, 146, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 10px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(230, 235, 242, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(14, 77, 146, 0.12);
}

.brand img {
  width: 238px;
  height: 92px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  color: var(--graphite);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.header-cta,
.btn-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(14, 77, 146, 0.24);
}

.btn-primary:hover,
.header-cta:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  color: var(--blue);
  background: var(--white);
  border-color: rgba(14, 77, 146, 0.22);
}

.btn-secondary:hover,
.btn-ghost:hover {
  color: var(--white);
  background: var(--blue);
}

.btn-light {
  color: var(--blue);
  background: var(--white);
}

.btn-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-ghost {
  color: var(--blue);
  background: transparent;
  border-color: rgba(14, 77, 146, 0.28);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--graphite);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  padding: 110px clamp(18px, 6vw, 82px);
  overflow: hidden;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 23, 42, 0.92) 0%, rgba(5, 23, 42, 0.74) 38%, rgba(5, 23, 42, 0.28) 72%),
    url("assets/images/hero-pead-infraestrutura.webp") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.hero-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(360px, 92vw);
  margin-bottom: 26px;
  padding: 10px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.hero-logo-card img {
  width: 100%;
  max-height: 126px;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero .eyebrow,
.cta-section .eyebrow {
  color: #9fceff;
}

.hero h1,
.hero .hero-text {
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.26);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 900px;
  font-size: clamp(2.55rem, 6vw, 5.65rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  color: var(--graphite);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 8px;
  color: var(--graphite);
  font-size: 1.06rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero-text {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions,
.cta-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-panel {
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  bottom: 46px;
  width: min(390px, calc(100% - 36px));
  padding: 22px;
  border-left: 4px solid #9fceff;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  color: var(--graphite);
  box-shadow: var(--shadow);
}

.hero-panel span {
  display: block;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-top: 7px;
  font-size: 1.1rem;
  line-height: 1.35;
}

.section {
  padding: 88px clamp(18px, 5vw, 70px);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.stats-band div {
  padding: 32px 26px;
  background: var(--white);
  text-align: center;
}

.stats-band strong {
  display: block;
  color: var(--blue);
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
}

.stats-band span {
  color: var(--muted);
  font-weight: 700;
}

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

.feature-card {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 38px rgba(48, 48, 48, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(14, 77, 146, 0.32);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
}

.feature-card p,
.product-list p,
.split-content p,
.about-card p,
.contact-info p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: var(--soft);
}

.split-section.import {
  background: var(--white);
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.product-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.product-list article {
  padding: 18px 20px;
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  background: var(--white);
}

.product-gallery-section {
  background: var(--white);
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 38px rgba(48, 48, 48, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  border-color: rgba(14, 77, 146, 0.3);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card div {
  padding: 22px;
}

.product-card p {
  color: var(--muted);
}

.markets {
  background: var(--white);
}

.market-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 34px;
  align-items: stretch;
}

.market-layout img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border-radius: var(--radius);
  object-fit: cover;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.market-grid span {
  display: grid;
  align-items: center;
  min-height: 120px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--graphite);
  background: var(--soft);
  font-size: 1.05rem;
  font-weight: 900;
  text-transform: uppercase;
}

.about {
  background:
    linear-gradient(90deg, rgba(14, 77, 146, 0.96), rgba(7, 49, 95, 0.9)),
    url("assets/images/hero-pead-infraestrutura.webp") center / cover no-repeat;
}

.about-card {
  max-width: 860px;
  padding: clamp(30px, 5vw, 58px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.about-card p {
  font-size: 1.12rem;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  border-bottom: 2px solid var(--blue);
}

.cta-section {
  margin: 0 clamp(18px, 5vw, 70px);
  padding: clamp(30px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: var(--shadow);
}

.cta-section h2 {
  color: var(--white);
}

.cta-section p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: 30px;
  align-items: start;
}

.contact-form,
.contact-info {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 38px rgba(48, 48, 48, 0.05);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.contact-form label {
  color: var(--graphite);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-form label:nth-child(6),
.form-actions {
  grid-column: 1 / -1;
}

input,
textarea {
  width: 100%;
  margin-top: 7px;
  padding: 14px 14px;
  border: 1px solid #d7dee8;
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(14, 77, 146, 0.1);
}

.contact-info a {
  color: var(--blue);
  font-weight: 800;
}

.contact-info iframe {
  width: 100%;
  height: 280px;
  margin-top: 22px;
  border: 0;
  border-radius: var(--radius);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) 1fr;
  gap: 30px;
  align-items: center;
  padding: 46px clamp(18px, 5vw, 70px);
  color: rgba(255, 255, 255, 0.84);
  background: #20242a;
}

.site-footer img {
  width: 220px;
  height: 86px;
  object-fit: contain;
  object-position: left center;
  padding: 8px;
  border-radius: var(--radius);
  background: var(--white);
}

.site-footer a {
  color: var(--white);
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  padding: 14px 18px;
  border-radius: 999px;
  color: var(--white);
  background: #1fa463;
  box-shadow: 0 14px 34px rgba(31, 164, 99, 0.35);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .main-nav.is-open {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 0;
    padding: 12px 0 2px;
    border-top: 1px solid var(--line);
  }

  .main-nav.is-open a {
    padding: 13px 0;
  }

  .split-section,
  .market-layout,
  .contact-layout,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 8px 14px;
  }

  .brand img {
    width: 184px;
    height: 68px;
  }

  .hero {
    min-height: 760px;
    padding-top: 84px;
    padding-bottom: 170px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(5, 23, 42, 0.9) 0%, rgba(5, 23, 42, 0.78) 55%, rgba(5, 23, 42, 0.48) 100%),
      url("assets/images/hero-pead-infraestrutura.webp") center / cover no-repeat;
  }

  .hero-logo-card {
    width: min(280px, 84vw);
    margin-bottom: 22px;
    padding: 8px 14px;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .stats-band,
  .feature-grid,
  .market-grid,
  .contact-form,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .market-layout img {
    min-height: 330px;
  }

  .form-actions .btn {
    width: 100%;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 430px) {
  .brand img {
    width: 158px;
    height: 60px;
  }

  h1 {
    font-size: 2.25rem;
  }

  .hero-panel {
    bottom: 28px;
  }

  .product-card div,
  .feature-card,
  .contact-form,
  .contact-info {
    padding: 20px;
  }
}
