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

body {
  line-height: 1.6;
  font-family: Raleway, sans-serif;
}

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

img { max-width: 100%; height: auto; }

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

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 80;
  background: #111;
  color: #fff;
  padding: 8px 12px;
}

.site-header {
  background: #000;
  color: #fff;
  position: relative;
  z-index: 30;
}

.header-bar {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  display: block;
  width: auto;
  height: 52px;
}

.nav-desktop > ul {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.nav-desktop a:hover { color: #52ddaf; }

.chev { margin-left: 4px; }

.has-sub { position: relative; }

.sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: #fff;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  z-index: 40;
}

.has-sub:hover > .sub,
.has-sub:focus-within > .sub { display: block; }

.sub a {
  color: #4a4a4a;
  display: block;
  padding: 8px 18px;
  white-space: nowrap;
  font-weight: 500;
}

.sub a:hover { color: #0099ff; }

.nav-client a {
  display: inline-block;
  border: 1px solid #fff;
  border-radius: 15px;
  line-height: 25px;
  padding: 1px 12px;
}

.nav-client a:hover { color: #fff; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  color: #fff;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
  padding: 6px;
}

.mobile-panel { background: #0e0e0e; }

.mobile-panel ul {
  list-style: none;
  margin: 0;
  padding: 6px 0 18px;
}

.mobile-panel a {
  display: block;
  color: #fff;
  padding: 11px 22px;
}

.mobile-panel ul ul a {
  padding-left: 36px;
  color: #d5d5d5;
  font-size: 14px;
}

.mobile-panel .nav-client { padding: 8px 22px 4px; }

.mobile-panel .nav-client a {
  background: #305397;
  text-align: center;
  border-radius: 4px;
  padding: 12px 16px;
}

.hero { position: relative; background: #dfe7e4; }

.hero-viewport {
  position: relative;
  aspect-ratio: 1920 / 800;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-caption {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: min(380px, 36%);
  background: rgba(88, 90, 94, 0.72);
  color: #fff;
  text-align: center;
  padding: 26px 22px 24px;
  z-index: 2;
}

.hero-caption p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.hero-caption .hero-title {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #1485e0;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.hero-prev { left: 14px; }
.hero-next { right: 14px; }

.intro { padding: 52px 0 8px; }

.intro-title {
  margin: 0 0 34px;
  text-align: center;
  color: #52ddaf;
  font-size: 22px;
  font-weight: 500;
}

.feature-grid,
.feature-rules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-grid { text-align: center; }

.feature-grid img {
  width: 108px;
  height: 108px;
  object-fit: contain;
}

.titulo {
  margin: 16px 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: #2a2a2a;
  line-height: 1.3;
}

.feature-grid p {
  margin: 0;
  color: #6d6d6d;
  font-size: 14px;
  line-height: 1.55;
}

.feature-rules { margin-top: 26px; }

.feature-rules li {
  border-top: 1px solid #e3e3e3;
  height: 1px;
}

.js .aos-flip {
  opacity: 0;
  transform: perspective(800px) rotateX(75deg);
  transform-origin: center bottom;
}

.js .aos-flip.is-in { animation: flipUp 1.8s linear forwards; }

@keyframes flipUp {
  from { opacity: 0; transform: perspective(800px) rotateX(75deg); }
  to { opacity: 1; transform: none; }
}

.servicos { padding: 48px 0 64px; }

.servicos-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: start;
}

.servicos h1 {
  margin: 0 0 26px;
  color: #0099ff;
  font-size: 35px;
  font-weight: 800;
  line-height: 1.2;
}

.borda-img {
  display: block;
  width: 100%;
  border: 1px solid #000;
  border-radius: 15px;
  padding: 10px;
}

.servicos-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.servicos-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: start;
}

.servicos-list img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.servicos-list h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

.servicos-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #6a6a6a;
}

.vantagens {
  position: relative;
  background: #f2f2f4 url('/assets/img/fundo-vantagens.webp') left center / cover no-repeat;
  min-height: 460px;
}

.vantagens-photo { display: none; }

.vantagens-grid {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 460px;
  padding: 36px 0;
}

.vantagens-copy { width: min(520px, 48%); }

.vantagens h3 {
  margin: 0 0 6px;
  color: #0099ff;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
}

.vantagens-kicker {
  margin: 0 0 16px;
  color: #333;
  font-size: 16px;
  font-weight: 600;
}

.vantagens ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vantagens li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 7px;
  color: #4a4a4a;
  font-size: 15px;
  line-height: 1.4;
}

.vantagens li img { margin-top: 3px; flex: none; }

.vantagens a:hover { color: #0099ff; }

.about { padding: 56px 0 10px; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 40px;
  align-items: start;
}

.about h1 {
  margin: 0;
  color: #0099ff;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
}

.about-copy h2 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: #222;
}

.about-copy p {
  margin: 0 0 14px;
  color: #666;
  font-size: 14.5px;
  line-height: 1.65;
}

.cultura { padding: 28px 0 56px; }

.cultura-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 40px;
  align-items: center;
}

.cultura img { display: block; width: 100%; }

.cultura h2 {
  margin: 0 0 16px;
  color: #3dceb0;
  font-size: 22px;
  font-weight: 600;
}

.cultura h3 {
  margin: 18px 0 6px;
  color: #3dceb0;
  font-size: 16px;
  font-weight: 700;
}

.cultura p {
  margin: 0 0 8px;
  color: #666;
  font-size: 14.5px;
  line-height: 1.6;
}

.site-footer { background: #2d2d2d; color: #999; }

.footer-main { padding: 46px 0 34px; }

.footer-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr 1.25fr 1.05fr;
  gap: 22px;
  align-items: start;
}

.footer-brand > img { width: 150px; height: auto; display: block; }

.social {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.social img { width: 32px; height: 32px; display: block; }

.footer-title {
  margin: 8px 0 12px;
  color: #595959;
  font-weight: 700;
}

.footer-list { list-style: none; margin: 0; padding: 0; }

.footer-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 8px;
  line-height: 1.45;
}

.footer-list img { margin-top: 2px; }

.footer-main p { margin: 0; line-height: 1.7; }

.footer-contact a {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 6px;
  color: #999;
}

.footer-contact svg { color: #fff; flex: none; }

.footer-copy {
  background: #1b1b1b;
  text-align: center;
  padding: 14px 16px;
}

.footer-copy p { margin: 0; color: #8a8a8a; font-size: 13px; }

.footer-copy a { color: #8a8a8a; }

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 60px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 45;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.to-top {
  position: fixed;
  left: 14px;
  bottom: 16px;
  width: 40px;
  height: 36px;
  background: #7d7d7d;
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
}

.to-top.is-on { opacity: 1; pointer-events: auto; }

.page-404 { padding: 72px 0 96px; }

.page-404 h1 { color: #0099ff; font-size: 32px; font-weight: 800; }

@media (max-width: 1080px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-bar {
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    padding: 16px 0 12px;
    gap: 8px;
  }
  .logo img { height: 64px; }
  .feature-grid,
  .feature-rules,
  .servicos-grid,
  .about-grid,
  .cultura-grid,
  .footer-grid,
  .vantagens-grid {
    grid-template-columns: 1fr;
  }
  .vantagens-grid {
    display: block;
    min-height: 0;
    padding: 8px 0 28px;
  }
  .vantagens {
    background: #f4f5f7;
    min-height: 0;
  }
  .vantagens-photo { display: block; }
  .vantagens-photo img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: left center;
  }
  .vantagens-copy { width: 100%; }
  .hero-viewport { aspect-ratio: 390 / 560; }
  .hero-caption {
    left: 50%;
    right: auto;
    top: 18%;
    transform: translateX(-50%);
    width: min(320px, 86%);
    padding: 16px 14px;
  }
  .hero-title { font-size: 22px; }
  .hero-arrow { display: none; }
  .about h1,
  .servicos h1 { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .aos-flip { opacity: 1; transform: none; animation: none; }
}
