:root {
  --navy: #06264d;
  --blue: #0869b5;
  --red: #d71920;
  --ink: #122033;
  --muted: #667085;
  --line: #d8e0ea;
  --soft: #f4f7fb;
  --white: #ffffff;
  --whatsapp: #25d366;
  --shadow: 0 18px 50px rgba(7, 28, 58, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(216, 224, 234, .8);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand img {
  width: auto;
  height: 64px;
  object-fit: contain;
}

.menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.header .nav {
  justify-content: space-between;
}

.menu a {
  padding: 10px 12px;
  color: #20324a;
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
}

.menu a:hover,
.menu a.active {
  color: var(--blue);
  background: #edf5fc;
}

.menu-btn {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
  font-size: 24px;
  line-height: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.float-whatsapp svg {
  width: 21px;
  height: 21px;
}

.btn-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 12px 28px rgba(215, 25, 32, .24);
}

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

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, .58);
}

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

.hero {
  min-height: 650px;
  display: grid;
  align-items: end;
  position: relative;
  color: var(--white);
  background: linear-gradient(90deg, rgba(4, 26, 58, .88), rgba(4, 26, 58, .58) 44%, rgba(4, 26, 58, .12)), url("assets/images/hero-logistica.png") center / cover;
}

.hero .container {
  padding: 92px 0 78px;
}

.hero-copy {
  width: min(720px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9fd1ff;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: var(--red);
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: .98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
}

.hero p {
  width: min(620px, 100%);
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .86);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stats {
  background: var(--navy);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .12);
}

.stat {
  padding: 26px 24px;
  background: var(--navy);
}

.stat strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.stat span {
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

.section {
  padding: 84px 0;
}

.section.alt {
  background: var(--soft);
}

.section-head {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .eyebrow {
  justify-content: center;
}

.lead {
  color: var(--muted);
  font-size: 18px;
}

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

.service-card,
.product-card,
.process-card,
.contact-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 32px rgba(7, 28, 58, .07);
}

.service-card img,
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 24px;
}

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

.link {
  color: var(--blue);
  font-weight: 900;
}

.about-grid,
.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 42px;
  align-items: center;
}

.about-image,
.split-image {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.badge-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.badge-list span {
  padding: 12px 14px;
  border-left: 4px solid var(--red);
  background: #eef5fb;
  color: #20324a;
  font-weight: 800;
  border-radius: 6px;
}

.product-grid {
  grid-template-columns: repeat(4, 1fr);
}

.product-card img {
  height: 170px;
}

.product-media {
  position: relative;
  overflow: hidden;
}

.product-media > img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.product-card h3 {
  font-size: 18px;
}

.cta {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #0a5e9c);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta h2 {
  margin-bottom: 8px;
}

.cta p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .78);
}

.page-hero {
  padding: 94px 0 70px;
  color: var(--white);
  background: linear-gradient(90deg, rgba(4, 26, 58, .9), rgba(4, 26, 58, .55)), url("assets/images/importacao-exportacao.png") center / cover;
}

.page-hero.fire {
  background-image: linear-gradient(90deg, rgba(4, 26, 58, .9), rgba(4, 26, 58, .55)), url("assets/images/prevencao-incendio.png");
}

.page-hero.electric {
  background-image: linear-gradient(90deg, rgba(4, 26, 58, .9), rgba(4, 26, 58, .55)), url("assets/images/materiais-eletricos.png");
}

.page-hero.company,
.page-hero.contact {
  background-image: linear-gradient(90deg, rgba(4, 26, 58, .9), rgba(4, 26, 58, .55)), url("assets/images/hero-logistica.png");
}

.page-hero p {
  width: min(680px, 100%);
  color: rgba(255, 255, 255, .84);
  font-size: 18px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.check-list li {
  padding-left: 30px;
  position: relative;
}

.check-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  position: absolute;
  left: 0;
  top: 3px;
  border-radius: 50%;
  background: var(--red);
}

.process-card {
  padding: 24px;
}

.process-card strong {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
}

.contact-grid {
  align-items: start;
}

.contact-card {
  padding: 28px;
}

.contact-card h3 {
  color: var(--navy);
}

.contact-lines {
  display: grid;
  gap: 16px;
  color: var(--muted);
}

.contact-lines strong {
  display: block;
  color: var(--ink);
}

.form-box {
  padding: 30px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.form-box label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 900;
  color: var(--navy);
}

.form-box input,
.form-box textarea,
.form-box select {
  width: 100%;
  margin-bottom: 14px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
}

.form-box textarea {
  min-height: 118px;
  resize: vertical;
}

.map-section {
  padding: 0 0 84px;
  background: var(--white);
}

.map-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--soft);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.footer {
  color: rgba(255, 255, 255, .78);
  background: #041a33;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr .8fr 1.1fr;
  gap: 34px;
  padding: 58px 0;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  min-height: 118px;
  margin-bottom: 18px;
  padding: 12px;
  background: rgba(255, 255, 255, .96);
  border-radius: 8px;
}

.footer img {
  width: 160px;
  margin-bottom: 0;
}

.footer h4 {
  margin: 0 0 15px;
  color: var(--white);
}

.footer a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, .78);
}

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

.copyright {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .58);
  font-size: 13px;
}

.float-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  background: var(--whatsapp);
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(37, 211, 102, .36);
}

.float-whatsapp svg {
  width: 30px;
  height: 30px;
}

@media (max-width: 960px) {
  .topbar .container {
    display: none;
  }

  .nav {
    min-height: 72px;
  }

  .menu-btn {
    display: block;
  }

  .menu {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 72px;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .menu.open {
    display: grid;
  }

  .hero {
    min-height: 570px;
  }

  .stats-grid,
  .service-grid,
  .product-grid,
  .process-grid,
  .about-grid,
  .split-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 26px, 1180px);
  }

  .brand img {
    width: auto;
    height: 54px;
  }

  .hero .container {
    padding: 70px 0 54px;
  }

  .hero {
    min-height: 520px;
  }

  .section {
    padding: 58px 0;
  }

  .stats-grid,
  .service-grid,
  .product-grid,
  .process-grid,
  .about-grid,
  .split-grid,
  .contact-grid,
  .footer-grid,
  .badge-list {
    grid-template-columns: 1fr;
  }

  .about-image,
  .split-image {
    min-height: 280px;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .float-whatsapp {
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: 16px;
  }

  .map-card iframe {
    height: 330px;
  }
}
