/* Rodapé g02 — estilo Tinuiti */
.g02 {
  background: var(--primary-950);
  color: var(--white);
  font-family: var(--font-body);
  padding: clamp(2.5rem, 5vw, 4rem) 0 2rem;
  position: relative;
}

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

.g02 a:hover {
  text-decoration: underline;
}

.g02__top {
  display: grid;
  gap: 2.5rem;
  margin: 0 auto;
  max-width: var(--container);
  padding: 0 1.25rem;
}

@media (min-width: 960px) {
  .g02__top {
    grid-template-columns: 1fr min(22rem, 100%);
    align-items: start;
  }
}

.g02__menus {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .g02__menus {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .g02__menus {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.g02__menu > li > a,
.g02__menu > li > span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.g02__menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.g02__menu .sub-menu a {
  display: block;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.6;
  opacity: 0.92;
  padding: 0.15rem 0;
}

.g02__menu--social .sub-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.g02__menu--social .sub-menu a {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: inline-flex;
  height: 2.5rem;
  justify-content: center;
  padding: 0;
  width: 2.5rem;
}

.g02__menu--social .sub-menu a:hover {
  background: rgba(255, 255, 255, 0.18);
  text-decoration: none;
}

.g02__menu--social svg {
  height: 1.125rem;
  width: 1.125rem;
  fill: currentColor;
}

.g02__form {
  background: var(--primary-800);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
}

.g02__form__heading {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.g02__form__content {
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0 0 1.25rem;
  opacity: 0.95;
}

.g02__form-fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.g02__field {
  position: relative;
}

.g02__field input {
  background: var(--white);
  border: none;
  border-radius: 0.5rem;
  color: var(--primary-900);
  font-family: inherit;
  font-size: 0.875rem;
  padding: 1rem 0.75rem 0.35rem;
  width: 100%;
}

.g02__field label {
  color: var(--primary-700);
  font-size: 0.6875rem;
  font-weight: 700;
  left: 0.75rem;
  letter-spacing: 0.06em;
  pointer-events: none;
  position: absolute;
  text-transform: uppercase;
  top: 0.45rem;
}

.g02__form-submit {
  background: var(--primary-300);
  border: none;
  border-radius: 0.75rem;
  color: var(--primary-900);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
  padding: 1rem 1.25rem;
  text-transform: uppercase;
  transition: filter 0.2s ease;
  width: 100%;
}

.g02__form-submit:hover {
  filter: brightness(1.05);
}

.g02__form-notice {
  font-size: 0.6875rem;
  line-height: 1.45;
  margin-top: 1rem;
  opacity: 0.85;
}

.g02__form-notice a {
  text-decoration: underline;
}

.g02__bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  margin: 2.5rem auto 0;
  max-width: var(--container);
  padding: 1.75rem 1.25rem 0;
}

.g02__logo-link {
  align-items: center;
  display: inline-flex;
  gap: 0.5rem;
  text-decoration: none;
}

.g02__logo-link:hover {
  text-decoration: none;
}

.g02__logo-link .logo__mark {
  flex-shrink: 0;
}

.g02__logo-img {
  display: block;
  height: auto;
  max-height: 4rem;
  width: auto;
}

.g02__logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.g02__bottom__navigation {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.g02__footer-secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.g02__footer-secondary a {
  font-size: 0.75rem;
  opacity: 0.9;
}

.g02__copyright {
  font-size: 0.75rem;
  margin: 0;
  opacity: 0.85;
}

.g02__back-top {
  align-items: center;
  background: var(--primary-700);
  border-radius: 50%;
  bottom: 1.5rem;
  color: var(--white);
  display: inline-flex;
  height: 3rem;
  justify-content: center;
  position: fixed;
  right: 1.5rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  width: 3rem;
  z-index: 40;
}

.g02__back-top:hover {
  background: var(--primary-600);
  text-decoration: none;
  transform: translateY(-2px);
}

.g02__back-top svg {
  height: 1rem;
  width: 1rem;
  fill: currentColor;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
