:root {
  --airfy-purple: #3124ff;
  --airfy-purple-dark: #2015df;
  --airfy-lime: #c6f806;
  --airfy-ink: #030712;
  --airfy-muted: #4b5563;
  --airfy-surface: #f1f5f9;
  --airfy-border: rgba(3, 7, 18, .09);
  --airfy-shadow: 0 18px 60px rgba(20, 16, 80, .12);
  --airfy-container: 1280px;
}

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

.global-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  background: #fff;
}

.global-header-inner {
  display: grid;
  grid-template-columns: minmax(150px, .55fr) minmax(0, 1.6fr) minmax(190px, .65fr);
  align-items: center;
  min-height: 82px;
  gap: 24px;
}

.global-brand {
  display: inline-flex;
  justify-self: start;
}

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

.global-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.global-navigation a {
  color: var(--airfy-ink);
  font: 500 15px/1.35 Inter, sans-serif;
  text-decoration: none;
  transition: color .2s ease;
}

.global-navigation a:hover,
.global-navigation a[aria-current="page"] {
  color: var(--airfy-purple);
}

.services-dropdown {
  position: relative;
  flex: 0 0 auto;
}

.services-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  color: var(--airfy-ink);
  background: transparent;
  border: 0;
  font: 500 15px/1.35 Inter, sans-serif;
  cursor: pointer;
  transition: color .2s ease;
}

.services-dropdown-trigger > svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform .2s ease;
}

.services-dropdown.is-open .services-dropdown-trigger { color: var(--airfy-purple); }

.services-dropdown.is-open .services-dropdown-trigger > svg { transform: rotate(180deg); }

.services-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 1100;
  display: grid;
  width: min(660px, calc(100vw - 40px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 12px;
  visibility: hidden;
  opacity: 0;
  background: #fff;
  border: 1px solid var(--airfy-border);
  border-radius: 22px;
  box-shadow: var(--airfy-shadow);
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.services-dropdown-menu::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 12px;
}

.services-dropdown.is-open .services-dropdown-menu {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.global-navigation .services-dropdown-menu a,
.site-navigation .services-dropdown-menu a {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 12px;
  color: var(--airfy-ink);
  border-radius: 14px;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.global-navigation .services-dropdown-menu a:hover,
.site-navigation .services-dropdown-menu a:hover {
  color: var(--airfy-purple);
  background: var(--airfy-surface);
  transform: translateY(-1px);
}

.services-dropdown-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  color: #fff;
  background: var(--airfy-purple);
  border-radius: 12px;
}

.services-dropdown-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.services-dropdown-menu strong,
.services-dropdown-menu small { display: block; }

.services-dropdown-menu strong {
  color: inherit;
  font: 600 14px/1.3 Manrope, sans-serif;
}

.services-dropdown-menu small {
  margin-top: 3px;
  color: #6b7280;
  font: 400 12px/1.35 Inter, sans-serif;
}

.site-navigation .services-dropdown-trigger {
  color: #030712;
  font: inherit;
}

.global-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.global-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 15px/1.25 Inter, sans-serif;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.global-button:hover { transform: translateY(-2px); }
.global-button-primary { color: var(--airfy-ink); background: var(--airfy-lime); }
.global-button-primary:hover { background: #b4e900; }
.global-button-secondary { color: var(--airfy-purple); background: #fff; border-color: var(--airfy-purple); }
.global-button-secondary:hover { background: rgba(49, 36, 255, .05); }
.global-button-inverse { color: var(--airfy-ink); background: #fff; }

.global-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  color: var(--airfy-ink);
  background: #fff;
  border: 1px solid var(--airfy-border);
  border-radius: 999px;
  touch-action: manipulation;
}

.global-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.global-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.global-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.global-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

body.nav-open { overflow: hidden; }

body.nav-open::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(3, 7, 18, .32);
  backdrop-filter: blur(2px);
}

.global-footer {
  position: relative;
  overflow: hidden;
  padding: 76px 0 30px;
  color: #fff;
  background: var(--airfy-purple);
}

.global-footer::after {
  content: '';
  position: absolute;
  top: -85px;
  right: -55px;
  width: 190px;
  height: 190px;
  background: var(--airfy-lime);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 62% 100%, 62% 48%, 26% 84%, 0 58%, 35% 23%);
  pointer-events: none;
}

.global-footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, .65fr));
  gap: 52px;
}

.global-footer-brand img {
  width: auto;
  height: 43px;
  padding: 5px 9px;
  background: #fff;
  border-radius: 10px;
  object-fit: contain;
}

.global-footer-brand p {
  max-width: 430px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .8);
  font: 400 16px/1.55 Inter, sans-serif;
}

.global-footer-column h2 {
  margin: 0 0 15px;
  color: #fff;
  font: 600 17px/1.3 Manrope, sans-serif;
}

.global-footer-column a {
  display: block;
  width: fit-content;
  padding: 6px 0;
  color: rgba(255, 255, 255, .78);
  font: 400 14px/1.4 Inter, sans-serif;
  text-decoration: none;
}

.global-footer-column a:hover { color: var(--airfy-lime); }

.global-footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 54px;
  padding-top: 24px;
  color: rgba(255, 255, 255, .72);
  border-top: 1px solid rgba(255, 255, 255, .3);
  font: 400 13px/1.45 Inter, sans-serif;
}

:where(.global-header, .global-footer) a:focus-visible,
.global-menu-toggle:focus-visible {
  outline: 3px solid var(--airfy-lime);
  outline-offset: 3px;
}

#depoimentos [aria-label="Depoimento anterior"],
#depoimentos [aria-label="Próximo depoimento"] {
  min-width: 44px !important;
  min-height: 44px !important;
}

.home-services-section {
  padding: 80px 0;
  color: #fff;
  background: var(--airfy-purple);
}

.home-services-heading {
  max-width: 790px;
  margin: 0 auto 40px;
  text-align: center;
}

.home-services-kicker {
  display: inline-flex;
  padding: 6px 12px;
  color: var(--airfy-ink);
  background: var(--airfy-lime);
  border-radius: 999px;
  font: 600 12px/1.35 Inter, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.home-services-heading h2 {
  margin: 16px 0 0;
  color: #fff;
  font: 600 clamp(34px, 5vw, 56px)/1.12 Manrope, sans-serif;
  letter-spacing: -.045em;
}

.home-services-heading p {
  max-width: 680px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, .8);
  font: 400 18px/1.55 Inter, sans-serif;
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-service-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 26px;
  color: var(--airfy-ink);
  background: #fff;
  border-radius: 24px;
  transition: transform .22s ease, box-shadow .22s ease;
}

.home-service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(3, 7, 18, .18);
}

.home-service-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-service-topline > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 34px;
  color: var(--airfy-purple);
  background: var(--airfy-surface);
  border-radius: 999px;
  font: 600 12px/1 Manrope, sans-serif;
}

.home-service-topline small {
  color: #6b7280;
  font: 600 11px/1.3 Inter, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.home-service-card h3 {
  margin: 34px 0 0;
  color: var(--airfy-ink);
  font: 600 25px/1.25 Manrope, sans-serif;
  letter-spacing: -.03em;
}

.home-service-card > p {
  margin: 12px 0 0;
  color: var(--airfy-muted);
  font: 400 15px/1.55 Inter, sans-serif;
}

.home-service-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 24px;
}

.home-service-bottom strong {
  max-width: 150px;
  color: var(--airfy-ink);
  font: 600 13px/1.35 Inter, sans-serif;
}

.home-service-bottom a {
  color: var(--airfy-purple);
  font: 600 14px/1.35 Inter, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

.home-service-bottom a span { display: inline-block; transition: transform .2s ease; }
.home-service-bottom a:hover span { transform: translateX(4px); }

@media (max-width: 1023px) {
  .global-container { width: min(100% - 48px, var(--airfy-container)); }
  .global-header-inner { grid-template-columns: 1fr auto; }
  .global-navigation {
    position: fixed;
    z-index: 1200;
    top: 82px;
    left: 24px;
    right: 24px;
    display: none;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--airfy-border);
    border-radius: 20px;
    box-shadow: var(--airfy-shadow);
    max-height: calc(100vh - 92px);
    max-height: calc(100dvh - 92px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .global-navigation.is-open { display: flex; }
  .global-navigation > a,
  .site-navigation > a { display: flex; width: 100%; min-height: 44px; align-items: center; padding: 9px 2px; font-size: 17px; }
  .global-navigation .services-dropdown { width: 100%; }
  .global-navigation .services-dropdown-trigger,
  .site-navigation .services-dropdown-trigger {
    width: 100%;
    min-height: 44px;
    justify-content: space-between;
    padding: 9px 2px;
    font-size: 17px;
    text-align: left;
  }
  .global-navigation .services-dropdown-menu,
  .site-navigation .services-dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    grid-template-columns: 1fr;
    margin: 4px 0 8px;
    padding: 7px;
    visibility: visible;
    opacity: 1;
    background: var(--airfy-surface);
    border: 0;
    border-radius: 16px;
    box-shadow: none;
    transform: none;
  }
  .global-navigation .services-dropdown-menu,
  .site-navigation .services-dropdown-menu { display: none; transform: none; }
  .global-navigation .services-dropdown.is-open .services-dropdown-menu,
  .site-navigation .services-dropdown.is-open .services-dropdown-menu { display: grid; }
  .global-navigation .services-dropdown-menu a,
  .site-navigation .services-dropdown-menu a { min-height: 44px; padding: 10px; font-size: 15px; }
  .services-dropdown-icon { width: 38px; height: 38px; flex-basis: 38px; }
  .services-dropdown-menu small { display: none; }
  .site-navigation {
    position: fixed !important;
    z-index: 1200;
    top: 82px;
    left: 24px;
    right: 24px;
    display: none !important;
    max-height: calc(100vh - 96px);
    max-height: calc(100dvh - 96px);
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 22px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    border: 1px solid var(--airfy-border);
    border-radius: 20px;
    box-shadow: var(--airfy-shadow);
    -webkit-overflow-scrolling: touch;
  }
  .site-navigation.is-open { display: flex !important; }
  .site-navigation .services-dropdown { width: 100%; }
  .site-shell .menu-toggle { display: block !important; }
  .site-shell .header-cta { display: none !important; }
  .global-header-cta { display: none; }
  .global-menu-toggle { display: block; }
  .global-footer-grid { grid-template-columns: 1.2fr repeat(2, 1fr); }
  .global-footer-column:last-child { grid-column: 2 / -1; }
  .home-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 360px) {
  .global-navigation,
  .site-navigation {
    right: 12px;
    left: 12px;
    padding: 16px;
  }
}

@media (max-width: 767px) {
  .global-container { width: min(100% - 40px, var(--airfy-container)); }
  .global-header-inner { min-height: 74px; }
  .global-brand img { height: 35px; }
  .global-navigation { top: 70px; left: 20px; right: 20px; }
  .site-navigation { top: 74px; left: 20px; right: 20px; }
  .site-navigation .services-dropdown { width: 100%; }
  .site-navigation .services-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 9px 2px;
    font-size: 17px;
    text-align: left;
  }
  .site-navigation .services-dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    grid-template-columns: 1fr;
    margin: 4px 0 8px;
    padding: 7px;
    visibility: visible;
    opacity: 1;
    background: var(--airfy-surface);
    border: 0;
    border-radius: 16px;
    box-shadow: none;
    transform: none;
  }
  .site-navigation .services-dropdown .services-dropdown-menu { display: none; transform: none; }
  .site-navigation .services-dropdown.is-open .services-dropdown-menu { display: grid; }
  .site-navigation .services-dropdown-menu a { padding: 10px; font-size: 15px; }
  .site-navigation .services-dropdown-icon { width: 38px; height: 38px; flex-basis: 38px; }
  .site-navigation .services-dropdown-menu small { display: none; }
  .global-footer { padding-top: 58px; }
  .global-footer::after { width: 140px; height: 140px; }
  .global-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .global-footer-column:last-child { grid-column: auto; }
  .global-footer-bottom { flex-direction: column; margin-top: 42px; }
  .home-services-section { padding: 54px 0; }
  .home-services-grid { grid-template-columns: 1fr; }
  .home-service-card { min-height: 290px; }
}

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