:root {
  --navy: #0e1a24;
  --navy-2: #15242f;
  --aco: #5b6b76;
  --linha: #d9dcd9;
  --papel: #f4f2ed;
  --branco: #ffffff;
  --tinta: #1a2229;
  --amarelo: #f3cc00;
  --amarelo-esc: #d9b500;
  --wrap: 1180px;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --base: "Barlow", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--base);
  font-size: 17px;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--cond);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
  letter-spacing: .005em;
}
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Rótulo de seção */
.rotulo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--aco);
  margin-bottom: 18px;
}
.rotulo::before { content: ""; width: 28px; height: 3px; background: var(--amarelo); }
.rotulo--claro { color: #c9d0d4; }

/* Botões */
.btn {
  display: inline-block;
  padding: 15px 26px;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--amarelo { background: var(--amarelo); color: var(--navy); }
.btn--amarelo:hover { background: var(--branco); }
.btn--linha { border-color: rgba(255,255,255,.5); color: var(--branco); }
.btn--linha:hover { border-color: var(--branco); background: var(--branco); color: var(--navy); }
.btn--escuro { background: var(--navy); color: var(--branco); }
.btn--escuro:hover { background: var(--navy-2); }

/* Topo */
.topo {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .25s, box-shadow .25s;
}
.topo.is-solido { background: var(--navy); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.topo__in { display: flex; align-items: center; gap: 32px; height: 76px; }
.topo__logo img { height: 40px; width: auto; }
.menu { display: flex; gap: 28px; margin-left: auto; }
.menu a {
  color: #dfe4e7;
  text-decoration: none;
  font-family: var(--cond);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.menu a:hover, .menu a.ativo { color: var(--branco); border-color: var(--amarelo); }
.topo__tel {
  color: var(--amarelo);
  font-family: var(--cond);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  padding-left: 28px;
  border-left: 1px solid rgba(255,255,255,.18);
}
.menu-btn { display: none; }

/* Abertura */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px 0 0;
  color: var(--branco);
  background:
    linear-gradient(90deg, rgba(10,19,27,.94) 0%, rgba(10,19,27,.78) 45%, rgba(10,19,27,.35) 100%),
    url("img/hero-porto.jpg") center / cover no-repeat;
  background-color: var(--navy);
}
.hero__in { padding-bottom: 56px; }
.hero h1 {
  font-size: clamp(42px, 5.6vw, 78px);
  max-width: 18ch;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero__txt { max-width: 560px; font-size: 19px; color: #d2d9dd; margin-bottom: 36px; }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__dados {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero__dados li { padding: 26px 24px 30px 0; }
.hero__dados li + li { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.18); }
.hero__dados strong {
  display: block;
  font-family: var(--cond);
  font-size: 30px;
  color: var(--amarelo);
  line-height: 1.1;
}
.hero__dados span { font-size: 15px; color: #b9c2c8; }

/* Seções */
.secao { padding: 112px 0; }
.secao--escura { background: var(--navy); color: #d2d9dd; }
.secao--escura h2, .secao--escura h3 { color: var(--branco); }
.secao--clara { background: var(--papel); }

.cabeca { max-width: 680px; margin-bottom: 56px; }
.cabeca h2 { font-size: clamp(34px, 4.4vw, 52px); margin-bottom: 18px; }
.cabeca p { color: var(--aco); font-size: 18px; }
.cabeca p a { color: var(--tinta); font-weight: 600; }
.cabeca--linha { margin-bottom: 40px; }

/* Serviços */
.servicos {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--tinta);
}
.servico { padding: 30px 28px 34px 0; position: relative; }
.servico + .servico { padding-left: 28px; border-left: 1px solid var(--linha); }
.servico__num {
  display: block;
  font-family: var(--cond);
  font-weight: 700;
  font-size: 15px;
  color: var(--aco);
  letter-spacing: .1em;
  margin-bottom: 36px;
}
.servico h3 { font-size: 28px; text-transform: uppercase; margin-bottom: 14px; }
.servico p { font-size: 16px; color: #4a5660; margin: 0; }
.servico::after {
  content: ""; position: absolute; left: 0; top: -2px; height: 2px; width: 0;
  background: var(--amarelo); transition: width .35s;
}
.servico + .servico::after { left: -1px; }
.servico:hover::after { width: 100%; }

.setores {
  margin-top: 64px;
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
  padding: 24px 28px;
  background: var(--papel);
}
.setores__titulo {
  margin: 0;
  font-family: var(--cond); font-weight: 700; font-size: 16px;
  letter-spacing: .1em; text-transform: uppercase;
}
.setores ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.setores li { position: relative; padding-left: 16px; color: #3c4851; }
.setores li::before {
  content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; background: var(--amarelo);
}

/* Empresa */
.empresa { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.empresa__foto { position: relative; }
.empresa__foto img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.empresa__foto::before {
  content: ""; position: absolute; left: -16px; top: -16px; width: 96px; height: 96px;
  border-left: 3px solid var(--amarelo); border-top: 3px solid var(--amarelo);
}
.empresa__txt h2 { font-size: clamp(32px, 3.8vw, 46px); margin-bottom: 26px; }
.mv {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  margin-top: 88px;
  border-top: 1px solid rgba(255,255,255,.14);
}
.mv > div { padding: 36px 48px 0 0; }
.mv > div + div { padding-left: 48px; border-left: 1px solid rgba(255,255,255,.14); }
.mv h3 { font-size: 24px; text-transform: uppercase; color: var(--amarelo) !important; margin-bottom: 12px; }
.mv p { margin: 0; font-size: 18px; }

/* Parceiros */
.parceiros { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.parceiro {
  display: grid; grid-template-columns: 170px 1fr; gap: 28px; align-items: start;
  padding: 28px;
  border: 1px solid var(--linha);
}
.parceiro img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 22px; border: 1px solid var(--linha); }
.parceiro h3 { font-size: 26px; text-transform: uppercase; margin-bottom: 10px; }
.parceiro p { font-size: 16px; color: #4a5660; margin: 0; }

/* Clientes */
.logos {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  padding: 1px 0 0 1px;
}
.logos li {
  background: var(--branco); display: grid; place-items: center;
  flex: 0 0 calc(100% / 7);
  padding: 22px 20px; aspect-ratio: 3 / 2;
  border: 1px solid var(--linha); margin: -1px 0 0 -1px;
}
.logos img {
  max-height: 64px; max-width: 100%; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: .75; mix-blend-mode: multiply;
  transition: filter .25s, opacity .25s;
}
.logos li:hover img { filter: none; opacity: 1; }

/* Faixa */
.faixa { background: var(--amarelo); color: var(--navy); }
.faixa__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 38px; padding-bottom: 38px; flex-wrap: wrap; }
.faixa p { margin: 0; font-family: var(--cond); font-weight: 700; font-size: clamp(24px, 3vw, 34px); text-transform: uppercase; line-height: 1.1; }

/* Contato */
.contatos {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--tinta);
}
.contato { padding: 28px 28px 32px 0; display: flex; flex-direction: column; gap: 4px; }
.contato + .contato { padding-left: 28px; border-left: 1px solid var(--linha); }
.contato h3 { font-size: 22px; text-transform: uppercase; margin-bottom: 10px; }
.contato p { margin: 0; color: var(--aco); }
.contato a { text-decoration: none; font-weight: 500; word-break: break-word; }
.contato a:hover { text-decoration: underline; text-decoration-color: var(--amarelo); text-decoration-thickness: 2px; }
.contato a[href^="tel"] { font-family: var(--cond); font-weight: 700; font-size: 24px; }

.bases { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 56px; }
.base { background: var(--papel); }
.base__info { padding: 24px 26px; }
.base__info h3 { font-size: 22px; text-transform: uppercase; margin-bottom: 6px; }
.base__info p { margin: 0; color: #4a5660; font-size: 16px; }
.base iframe { display: block; width: 100%; height: 300px; border: 0; filter: grayscale(.35); }

/* Rodapé */
.rodape { background: var(--navy); color: #8d9aa3; font-size: 14px; }
.rodape__in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding-top: 32px; padding-bottom: 32px; }
.rodape p { margin: 0; }
.rodape p:last-child { margin-left: auto; }
.rodape img { height: 30px; width: auto; }

/* WhatsApp */
.zap {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 54px; height: 54px; display: grid; place-items: center;
  background: #25d366; color: #fff; border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.zap:hover { background: #1fb457; }

:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 3px; }

/* Responsivo */
@media (max-width: 1024px) {
  .servicos { grid-template-columns: 1fr 1fr; }
  .servico:nth-child(3) { padding-left: 0; border-left: 0; }
  .servico:nth-child(n+3) { border-top: 1px solid var(--linha); }
  .parceiros { grid-template-columns: 1fr; }
  .logos li { flex-basis: 25%; }
  .empresa { gap: 48px; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .topo { background: var(--navy); }
  .topo__in { height: 64px; }
  .topo__logo img { height: 34px; }
  .topo__tel { display: none; }
  .menu-btn {
    display: grid; align-content: center; gap: 7px;
    margin-left: auto; width: 44px; height: 44px; padding: 10px;
    background: none; border: 0; cursor: pointer;
  }
  .menu-btn span { display: block; height: 2px; background: var(--branco); transition: transform .25s; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .menu {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--navy); padding: 8px 24px 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    display: none;
  }
  .menu.aberto { display: flex; }
  .menu a { padding: 14px 0; font-size: 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .menu a:hover { border-color: rgba(255,255,255,.08); }

  .hero { padding-top: 120px; background-position: 70% center; }
  .hero__in { padding-bottom: 48px; }
  .hero__txt { font-size: 17px; }
  .hero__dados { grid-template-columns: 1fr; }
  .hero__dados li, .hero__dados li + li { padding: 16px 0; border-left: 0; }
  .hero__dados li + li { border-top: 1px solid rgba(255,255,255,.14); }
  .hero__dados strong { font-size: 24px; }

  .secao { padding: 76px 0; }
  .cabeca { margin-bottom: 40px; }
  .empresa { grid-template-columns: 1fr; }
  .empresa__foto::before { left: -8px; top: -8px; width: 64px; height: 64px; }
  .mv { grid-template-columns: 1fr; margin-top: 56px; }
  .mv > div, .mv > div + div { padding: 28px 0 0; border-left: 0; }
  .contatos { grid-template-columns: 1fr; }
  .contato, .contato + .contato { padding: 22px 0; border-left: 0; }
  .contato + .contato { border-top: 1px solid var(--linha); }
  .bases { grid-template-columns: 1fr; }
  .rodape p:last-child { margin-left: 0; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .servicos { grid-template-columns: 1fr; }
  .servico, .servico + .servico { padding: 24px 0; border-left: 0; }
  .servico + .servico { border-top: 1px solid var(--linha); }
  .servico__num { margin-bottom: 14px; }
  .servico::after { display: none; }
  .parceiro { grid-template-columns: 1fr; padding: 20px; }
  .parceiro img { max-width: 200px; }
  .logos li { flex-basis: 50%; }
  .logos img { max-height: 64px; }
  .hero__acoes .btn { flex: 1 1 100%; text-align: center; }
  .setores { padding: 20px; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
