:root {
  --blue: #0000ff;
  --blue-soft: rgba(0, 0, 255, 0.8);
  --overlay: rgba(0, 0, 0, 0.44);
  --text: #4b4f58;
  --heading: #3a3a3a;
  --body-bg: #efefef;
  --white: #ffffff;
  --input: #fafafa;
  --wa: #0dc152;
  --container: 1240px;
  --gutter: 30px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 15px;
  line-height: 24.75px;
  color: var(--text);
  background: var(--body-bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
p { margin: 0 0 1em; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 8px 12px;
  z-index: 2000;
}
.skip-link:focus { left: 8px; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.12em;
  fill: currentColor;
}

/* Header */
.site-header {
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 700;
  text-align: center;
  background: #fff;
}

.header-top {
  display: grid;
  grid-template-columns: 379px 1fr 361px;
  align-items: center;
  column-gap: 20px;
  min-height: 100px;
  height: 100px;
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 0 20px;
}

.logo img {
  width: min(344px, 100%);
  height: auto;
  max-width: 100%;
  aspect-ratio: 344 / 36;
}

.header-center {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
}

.header-phones {
  text-align: right;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 24.75px;
  padding-left: 10px;
  justify-self: end;
}
.header-phones a { color: var(--blue); }
.header-phones .icon { color: var(--blue); width: 16px; height: 16px; }

.nav-bar {
  background: var(--blue);
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-desktop {
  display: flex;
  align-items: stretch;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  min-height: 70px;
}

.nav-desktop > li { position: relative; display: flex; }

.nav-desktop > li > a {
  color: #fff;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 70px;
}
.nav-desktop > li > a:hover,
.nav-desktop > li > a[aria-current="page"] { color: #fff; opacity: 0.85; }

.nav-caret {
  width: 10px;
  height: 6px;
  fill: #fff;
}

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  z-index: 50;
  text-align: left;
}
.has-sub:hover > .sub-menu,
.has-sub:focus-within > .sub-menu { display: block; }
.sub-menu a {
  display: block;
  padding: 10px 18px;
  color: var(--heading);
  font-size: 14px;
  font-weight: 600;
}
.sub-menu a:hover { background: var(--blue); color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  color: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 5px auto;
}

.mobile-panel { display: none; background: var(--blue); }
.mobile-panel.open { display: block; }
.mobile-panel ul { list-style: none; margin: 0; padding: 8px 20px 20px; }
.mobile-panel a {
  color: #fff;
  display: block;
  padding: 10px 0;
  font-weight: 700;
  text-transform: uppercase;
  font-family: "Source Sans Pro", sans-serif;
}
.mobile-panel .sub-mobile { padding-left: 12px; }
.mobile-panel .sub-mobile a { text-transform: none; font-weight: 600; font-size: 14px; }

/* Slider */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #111;
}
.hero-track { height: 100%; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
}
.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 10px;
  font-family: Roboto, Arial, sans-serif;
  max-width: 1200px;
  margin-inline: auto;
  left: 0;
  right: 0;
}
.hero-copy h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 72px);
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  text-transform: none;
  text-shadow: none;
}
.hero-copy p {
  margin: 0;
  font-size: clamp(16px, 2.5vw, 60px);
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
}
.hero-copy h2,
.hero-copy p { white-space: nowrap; }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 30px;
  height: 30px;
  padding: 2px;
  border: 0;
  border-radius: 3px;
  background: rgba(19, 0, 237, 0.67);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 0;
  transition: background 0.3s, opacity 0.4s;
}
.hero-arrow:hover,
.hero-arrow:focus { background: #000; }
.hero-arrow svg { width: 26px; height: 26px; display: block; }
.hero-prev { left: 15px; }
.hero-next { right: 15px; }

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}
.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50px;
  border: 0;
  background: rgba(0, 0, 0, 0.67);
  cursor: pointer;
  padding: 0;
  margin: 4px;
  transition: background-color 0.4s;
}
.hero-dots button.is-active { background: var(--blue); }

/* Faixa */
.faixa {
  background: var(--blue);
  color: #fff;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  padding: 10px 0 0;
  min-height: 82px;
  margin-bottom: 50px;
  line-height: 24.75px;
}
.faixa .icon { width: 18px; height: 18px; fill: #fff; }

/* Welcome */
.welcome {
  width: 100%;
  padding-inline: 100px;
  margin: 0 0 70px;
}
.welcome-title h2 {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--heading);
  margin: 0 0 4px;
  line-height: 41.6px;
}
.welcome-title h1 {
  font-family: "Source Code Pro", monospace;
  font-size: 40px;
  font-weight: 400;
  color: var(--heading);
  margin: 0 0 24px;
  line-height: 56px;
  text-transform: none;
}
.page-servico .welcome-title h2 {
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: -2px;
}
.page-servico .welcome-title h1 {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 35px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2;
}

.welcome-grid {
  display: grid;
  grid-template-columns: 51.94% 48.06%;
  gap: var(--gutter);
  align-items: start;
}
.box-blue {
  background: #fff;
  border: 1px solid var(--blue);
  padding: 35px;
}

.welcome-copy { min-height: 433px; }
.box-blue > :last-child { margin-bottom: 0; }
.welcome-grid h3 {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--blue);
  line-height: 1.45;
  margin: 1em 0 0;
}
.welcome-grid h3 .icon { width: 16px; height: 16px; }

.wp-caption { width: min(100%, 650px); }
.wp-caption img { width: 100%; height: auto; }
.wp-caption-text {
  font-size: 16px;
  color: #fff;
  background: var(--blue);
  margin-top: -5px;
  padding: 10px;
  text-align: center;
  line-height: 24.75px;
}

/* Serviços */
.servicos {
  width: 100%;
  padding-inline: 50px;
  margin: 0 0 100px;
}
.servicos h4 {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 35px;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  color: var(--heading);
  margin: 0 0 5px;
  line-height: 42px;
}
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.servico-card {
  min-height: 400px;
  background-size: cover;
  background-position: center;
  padding: 220px 50px 50px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: #fff;
  transition: transform 0.5s ease;
  position: relative;
}
.servico-card:hover {
  outline: 20px solid var(--blue);
  outline-offset: -15px;
  transform: scale(1.1);
  z-index: 2;
  color: #fff;
}
.servico-card span {
  display: block;
  width: 100%;
  background: var(--blue-soft);
  color: #fff;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 600;
  text-align: center;
  padding: 4px 10px;
}

/* Áreas */
.areas {
  width: 100%;
  padding-inline: 100px;
  margin: 0 0 70px;
}
.areas h4 {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 35px;
  font-weight: 600;
  text-transform: uppercase;
  text-align: left;
  color: var(--heading);
  margin: 0 0 16px;
}
.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  margin-bottom: 70px;
}
.areas-copy { min-height: 370px; }
.areas-copy p { font-family: "Source Sans Pro", sans-serif; }
.areas-copy h3 {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--blue);
  font-family: "Source Sans Pro", sans-serif;
  margin: 1em 0 0;
  line-height: 1.45;
}
.areas-copy h3 .icon { width: 16px; height: 16px; }

.form-cidades {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  margin-bottom: 70px;
}
.form-cidades h3 {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  line-height: 1.45;
  margin: 0 0 16px;
}
.form-cidades h2 {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--heading);
  margin: 0 0 12px;
  line-height: 1.3;
}
.form-cidades .lead { margin-bottom: 1em; }
.form-cidades .city-list {
  font-size: 16px;
  margin: 0;
}
.city-list {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--blue);
  font-family: "Source Sans Pro", sans-serif;
}
.city-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 4px 0;
  line-height: 1.45;
}
.city-line .icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin: 3px 0 0;
}

.form-contato label {
  display: block;
  font-weight: 700;
  margin-bottom: 0;
}
.req { color: #f00; }
.form-contato input,
.form-contato textarea {
  width: 100%;
  background: var(--input);
  border: 1px solid #ddd;
  color: #666;
  font-size: 15px;
  padding: 11.25px;
  margin-bottom: 12px;
  font-family: inherit;
}
.form-contato textarea { min-height: 272px; resize: vertical; }
.form-contato button {
  background: var(--blue);
  color: #fff;
  border: 0;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 15px;
  padding: 15px 30px;
  cursor: pointer;
}
.form-contato button:hover { filter: brightness(1.08); }
.form-feedback { margin-top: 10px; font-weight: 600; }
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.mapa { margin: 0 0 50px; }
.mapa iframe { width: 100%; height: 450px; border: 0; display: block; }

.cidades {
  width: 100%;
  padding-inline: 100px;
  margin: 0 0 50px;
}
.cidades-row {
  display: grid;
  gap: 10px;
  margin-bottom: 50px;
  align-items: stretch;
}
.cidades-row > div {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.cidades-row.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cidades-row.cols-2 {
  grid-template-columns: 1fr 1fr;
  width: calc((100% - 20px) * 2 / 3 + 10px);
  margin-inline: auto;
}
.cidades h2 {
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Source Sans Pro", sans-serif;
  color: var(--heading);
  margin: 0 0 12px;
  line-height: 1.3;
}
.cidades h3 {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--blue);
  font-family: "Source Sans Pro", sans-serif;
  margin: 0;
  line-height: 1.45;
}
.cidades h3 .icon { width: 14px; height: 14px; }
.tamanho-bloco {
  flex: 1;
  min-height: 560px;
  display: flex;
  flex-direction: column;
}

/* Footer */
.site-footer { background: #fff; }
.footer-grid {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 30.6fr) minmax(0, 19.4fr) minmax(0, 25fr) minmax(0, 25fr);
  gap: var(--gutter);
  padding: 45px 0;
  align-items: start;
  font-weight: 700;
  line-height: 1.65;
}
.footer-grid h3 {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: var(--heading);
  margin: 0 0 1em;
  line-height: 1.5;
}
.footer-grid p {
  margin: 0 0 1.75em;
  display: flex;
  flex-direction: column;
  gap: 0.35em;
}
.footer-line {
  display: flex;
  align-items: flex-start;
  gap: 0.4em;
  line-height: 1.65;
}
.footer-line > span { min-width: 0; line-height: 1.65; }
.footer-grid .icon {
  width: 1em;
  height: 1em;
  margin: 0.2em 0 0;
  flex-shrink: 0;
  fill: currentColor;
}
.footer-grid p.footer-cta {
  display: block;
  text-align: center;
  font-weight: 700;
  line-height: 1.65;
  margin: 0 0 1.75em;
}
.social {
  display: flex;
  justify-content: center;
  margin-top: -30px;
}
.social a {
  width: 3em;
  padding: 1em 0;
  line-height: 1em;
  border-radius: 0;
  background: #3a5795;
  color: #fff;
  display: grid;
  place-items: center;
  box-sizing: content-box;
}
.social a svg { width: 1em; height: 1em; fill: #fff; }
.footer-logo { padding-top: 50px; }
.footer-logo img { width: 100%; max-width: 450px; margin: 0 auto; }

.copyright {
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 20px 16px;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1.65;
}
.copyright a { color: #fff; }

/* WhatsApp */
.wa-widget { position: fixed; right: 24px; bottom: 24px; z-index: 80; }
.wa-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wa);
  color: #fff;
  border: 0;
  border-radius: 50px;
  padding: 12px 20px;
  font-weight: 400;
  font-size: 14px;
  font-family: sans-serif;
  height: 40px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}
.wa-toggle svg { width: 20px; height: 20px; fill: #fff; }
.wa-box {
  display: none;
  position: absolute;
  right: 0;
  bottom: 52px;
  width: 324px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.wa-box.open { display: block; }
.wa-box-head {
  background: var(--wa);
  color: #fff;
  padding: 8px 36px 8px 12px;
  font-weight: 700;
  position: relative;
}
.wa-close {
  position: absolute;
  right: 10px;
  top: 8px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}
.wa-account {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: #555;
  border-bottom: 1px solid #f5f5f5;
}
.wa-account:hover { background: #f5f5f5; color: #555; }
.wa-face {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--wa);
  display: grid;
  place-items: center;
}
.wa-face svg { width: 26px; height: 26px; fill: #fff; }

@media (max-width: 1024px) {
  .header-top { grid-template-columns: 1fr auto; }
  .header-center { display: none; }
  .servicos-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 921px) {
  .nav-desktop { display: none; }
  .nav-bar { justify-content: flex-end; padding: 0 12px; min-height: 50px; }
  .nav-toggle { display: block; }
  .header-top {
    grid-template-columns: 1fr auto;
    height: auto;
    min-height: 72px;
    width: 100%;
    padding: 12px 16px;
  }
  .header-phones { display: none; }
}

@media (max-width: 780px) {
  .welcome,
  .areas,
  .cidades,
  .servicos { padding-inline: 5px; }
  .welcome-grid,
  .areas-grid,
  .form-cidades { grid-template-columns: 1fr; }
  .servicos-grid { grid-template-columns: 1fr; }
  .servico-card:hover { transform: none; outline-width: 10px; }
  .cidades-row.cols-3,
  .cidades-row.cols-2 { grid-template-columns: 1fr; width: 100%; max-width: none; }
  .tamanho-bloco { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-logo { padding-top: 10px; }
}

@media (max-width: 600px) {
  h1, h4, .welcome-title h1, .servicos h4, .areas h4 { font-size: 20px !important; line-height: 1.3 !important; }
  h2, h3, .welcome-title h2 { font-size: 20px !important; }
  .faixa { font-size: 15px !important; margin-bottom: 24px; }
  .hero { height: 360px; }
  .hero-copy h2,
  .hero-copy p { white-space: normal; padding-inline: 12px; }
  .hero-arrow { display: none; }
  .cidades h3, .areas-copy h3, .welcome-grid h3 { font-size: 12px !important; }
  .cidades h2, .form-cidades h2 { font-size: 18px !important; }
  .tamanho-bloco { min-height: 260px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-logo { padding-top: 10px; }
  .wa-box { width: min(324px, calc(100vw - 24px)); }
}
