@media (min-width: 561px) {
  .hero h1 { font-size: clamp(48px, 4.55vw, 61px); }
}

.brand img,
.footer__brand img {
  border-radius: 50%;
}
.header .brand img {
  width: 74px;
  height: 74px;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topbar__item svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.topbar p.topbar__item span {
  color: inherit;
  font-size: inherit;
  margin: 0;
}

.nav a { font-size: 14px; }
.hero__copy { padding-bottom: 0; }
.hero__copy > p { font-size: 16px; }

.category-card__icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
  color: var(--blue);
  border-radius: 0;
}

.category-card__icon svg {
  width: 50px;
  height: 50px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(80, 151, 234, .16));
  transition: transform .3s ease, color .3s ease;
}

.category-card:hover .category-card__icon svg {
  color: #8fc5ff;
  transform: translateY(-3px);
}

.service-card__icon svg,
.service-card__ghost svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card__icon svg {
  width: 30px;
  height: 30px;
  transition: transform .3s ease;
}

.service-card__ghost {
  width: 66px;
  height: 66px;
}

.service-card__ghost svg {
  width: 100%;
  height: 100%;
}

.service-card:hover .service-card__icon svg {
  transform: scale(1.08);
}

.category-card p,
.service-card p,
.check-list p,
.benefit-list p,
.insight-card p,
.assurance-card p { font-size: 14px; }
.about__copy > p,
.why__copy > p { font-size: 15px; }
.specialist-card p,
.stats p,
.footer__grid a,
.footer__grid > div > p { font-size: 13px; }
.section-title p,
.assurance__head > p,
.applications__head > p { font-size: 14px; }

.hero__social .hero__social-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 50%;
  margin-bottom: 0;
  transform: none;
}
.hero__social .hero__social-icon img {
  width: 15px;
  height: 15px;
  filter: brightness(0) invert(1);
}
.whatsapp img {
  position: relative;
  width: 29px;
  height: 29px;
  filter: brightness(0) invert(1);
}

@media (min-width: 861px) {
  .menu-toggle { display: none !important; }
}

@media (max-width: 860px) {
  .nav a { font-size: 15px; }
  .menu-toggle {
    flex: 0 0 46px;
    margin-left: auto;
  }
  .header .brand img {
    width: 58px;
    height: 58px;
  }
}

/* Footer alinhado à composição do template de referência */
.contact-band {
  min-height: 190px;
  margin-bottom: 0;
  padding: 58px 0 0;
  overflow: visible;
  background: var(--denim);
}
.contact-band__inner {
  position: relative;
  z-index: 5;
  min-height: 152px;
  padding: 34px 48px;
  grid-template-columns: .78fr 1.22fr;
  gap: 50px;
  color: var(--ink);
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 20px 45px rgba(8,4,32,.16);
  transform: translateY(30px);
}
.contact-band__copy h2 {
  margin: 0;
  font-size: 34px;
}
.contact-band__copy p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.contact-band__form {
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  padding: 0;
  background: transparent;
}
.contact-band input,
.contact-band select {
  height: 56px;
  padding: 0 16px;
  border: 0;
  background: #f7f7fa;
}
.contact-band button {
  height: 56px;
  padding: 0 24px;
  background: var(--denim);
}

.footer {
  min-height: 600px;
  padding: 138px 0 0;
  overflow: hidden;
  background: #080420;
}
.footer::before {
  background: url(../images/footer-tech-pattern.svg) center / cover no-repeat;
  opacity: .72;
}
.footer__grid {
  z-index: 1;
  grid-template-columns: 1.35fr .78fr .95fr 1.12fr;
  gap: 54px;
  padding-bottom: 64px;
}
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer__brand .footer__logo img {
  width: 74px;
  height: 74px;
  margin: 0;
}
.footer__logo span {
  display: grid;
  line-height: 1;
}
.footer__logo strong {
  color: #fff;
  font: 700 25px var(--heading);
  text-transform: uppercase;
}
.footer__logo small {
  margin-top: 7px;
  color: var(--blue);
  font-size: 8px;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.footer__brand p {
  max-width: 330px;
  margin: 0 0 22px;
  color: #bbb9c9;
  font-size: 14px;
  line-height: 1.85;
}
.footer__social {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 0;
}
.footer__social span,
.footer__social a {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px;
  margin: 0;
  background: #fff;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 2px;
  overflow: hidden;
  transition: background-color .25s ease, transform .25s ease;
}
.footer__social img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  margin: 0;
  transform: none;
}
.footer__social a:hover {
  background: var(--blue);
  transform: translateY(-2px);
}
.footer__social a:hover img {
  filter: brightness(0) invert(1);
}
.footer h2 {
  position: relative;
  margin: 16px 0 29px;
  padding-bottom: 12px;
  font-size: 19px;
}
.footer h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 45px;
  height: 2px;
  background: var(--blue);
}
.footer__column > a {
  position: relative;
  margin-bottom: 12px;
  padding-left: 20px;
  color: #c4c2cf;
  font-size: 14px;
}
.footer__column > a::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #fff;
}
.footer__contact p,
.footer__contact a {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding-left: 0;
  color: #c4c2cf;
  line-height: 1.65;
}
.footer__contact a::before { display: none; }
.footer__contact svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer__bottom {
  z-index: 1;
  min-height: 70px;
  justify-content: center;
  color: #c4c2cf;
  font-size: 12px;
}
.footer__bottom b { color: var(--blue); }
.footer__bottom > a {
  position: absolute;
  right: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(80,151,234,.14);
  font-size: 20px;
}

@media (max-width: 860px) {
  .contact-band { min-height: 255px; }
  .contact-band__inner {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 32px;
  }
  .footer { padding-top: 125px; }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px 50px;
  }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .contact-band {
    min-height: 0;
    padding: 42px 0;
  }
  .contact-band__inner {
    padding: 26px 20px;
    transform: none;
  }
  .contact-band__copy h2 { font-size: 29px; }
  .contact-band__form { grid-template-columns: 1fr; }
  .footer { padding-top: 100px; }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer__brand { grid-column: auto; }
  .footer__bottom {
    align-items: center;
    padding: 20px 58px 20px 0;
  }
  .footer__bottom > a { right: 0; }
}
