:root {
  --avva-shell-carbon: #36302a;
  --avva-shell-cream: #ece4da;
  --avva-shell-light: #f6f3ec;
  --avva-shell-line: rgba(54, 48, 42, 0.22);
  --avva-shell-gutter: clamp(20px, 3.35vw, 43px);
  --avva-shell-font: "Neue Montreal", "Helvetica Neue", Arial, sans-serif;
}

.avva-shell-nav,
.avva-shell-footer,
.avva-shell-contact-modal {
  box-sizing: border-box;
  font-family: var(--avva-shell-font);
  font-weight: 400;
}

.avva-shell-nav *,
.avva-shell-footer *,
.avva-shell-contact-modal * {
  box-sizing: border-box;
}

.avva-shell-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1100;
  height: 48px;
  color: var(--avva-shell-light);
  transition: background-color 320ms cubic-bezier(0.16, 1, 0.3, 1),
    color 320ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.avva-shell-nav.is-scrolled,
.avva-shell-nav.is-open {
  background: rgba(54, 48, 42, 0.94);
  box-shadow: 0 1px 0 rgba(246, 243, 236, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.avva-shell-nav__inner {
  width: 100%;
  height: 100%;
  padding-inline: var(--avva-shell-gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.avva-shell-nav__logo {
  width: 98px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-self: start;
  color: inherit;
}

.avva-shell-nav__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.avva-shell-nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.45rem, 2.15vw, 2rem);
}

.avva-shell-nav a,
.avva-shell-nav button,
.avva-shell-footer a,
.avva-shell-footer button,
.avva-shell-contact-modal a,
.avva-shell-contact-modal button {
  color: inherit;
  font-family: inherit;
}

.avva-shell-nav__link,
.avva-shell-nav__contact,
.avva-shell-nav__menu {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13.5px;
  line-height: 1;
  letter-spacing: -0.015em;
  white-space: nowrap;
  cursor: pointer;
}

.avva-shell-nav__link::after,
.avva-shell-nav__contact::after,
.avva-shell-footer a::after,
.avva-shell-footer button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.3rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.avva-shell-nav__link:hover::after,
.avva-shell-nav__link:focus-visible::after,
.avva-shell-nav__contact:hover::after,
.avva-shell-nav__contact:focus-visible::after,
.avva-shell-footer a:hover::after,
.avva-shell-footer a:focus-visible::after,
.avva-shell-footer button:hover::after,
.avva-shell-footer button:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.avva-shell-nav__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avva-shell-nav__contact {
  text-transform: none;
}

.avva-shell-nav__menu {
  display: none;
  text-transform: none;
}

.avva-shell-nav__mobile-contact {
  display: none;
}

.avva-shell-footer {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: var(--avva-shell-cream);
  color: var(--avva-shell-carbon);
}

.avva-shell-footer__inner {
  height: calc(100dvh - 32px);
  min-height: 568px;
  max-height: 818px;
  padding: 64px var(--avva-shell-gutter) 0;
  display: flex;
  flex-direction: column;
}

.avva-shell-footer__top,
.avva-shell-footer__middle {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(10rem, 3fr) minmax(8rem, 2fr);
  gap: 2rem;
}

.avva-shell-footer__top {
  padding-bottom: clamp(3rem, 7vh, 5rem);
}

.avva-shell-footer__title {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2.7rem, 5.2vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  font-weight: 400;
  text-wrap: balance;
}

.avva-shell-footer__cta {
  position: relative;
  display: inline-block;
  margin-top: 1.7rem;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 1rem;
  line-height: 1.2;
  cursor: pointer;
}

.avva-shell-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.avva-shell-footer__list a,
.avva-shell-footer__list button {
  position: relative;
  width: fit-content;
  border: 0;
  background: transparent;
  padding: 0;
  text-decoration: none;
  font-size: 0.93rem;
  line-height: 1.35;
  cursor: pointer;
}

.avva-shell-footer__middle {
  padding-top: 1rem;
  border-top: 1px solid var(--avva-shell-line);
}

.avva-shell-footer__main-links a,
.avva-shell-footer__main-links button {
  font-size: clamp(1.75rem, 3.15vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.avva-shell-footer__wordmark {
  margin-top: auto;
  padding-top: clamp(3rem, 7vh, 5rem);
  padding-bottom: 1.7rem;
}

.avva-shell-footer__wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

.avva-shell-footer__credits {
  height: 32px;
  min-height: 32px;
  padding: 0 var(--avva-shell-gutter);
  background: var(--avva-shell-carbon);
  color: var(--avva-shell-light);
  display: grid;
  grid-template-columns: 7fr 3fr 2fr;
  gap: 2rem;
  align-items: center;
  font-size: 0.78rem;
  line-height: 1;
}

.avva-shell-footer__back {
  position: relative;
  justify-self: end;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.avva-shell-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(19, 17, 15, 0.68);
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms ease, visibility 260ms ease;
}

.avva-shell-contact-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.avva-shell-contact-modal__panel {
  position: relative;
  width: min(42rem, 100%);
  background: var(--avva-shell-cream);
  color: var(--avva-shell-carbon);
  padding: clamp(1.6rem, 4vw, 3.4rem);
  transform: translateY(1rem);
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.avva-shell-contact-modal.is-open .avva-shell-contact-modal__panel {
  transform: translateY(0);
}

.avva-shell-contact-modal__close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  border: 0;
  background: transparent;
  padding: 0.25rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.avva-shell-contact-modal__title {
  margin: 0 0 2.4rem;
  max-width: 11ch;
  font-size: clamp(2.4rem, 6vw, 4.7rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  font-weight: 400;
  text-wrap: balance;
}

.avva-shell-contact-modal__links {
  display: grid;
  gap: 0.7rem;
}

.avva-shell-contact-modal__links a,
.avva-shell-contact-modal__links span {
  width: fit-content;
  color: inherit;
  font-size: 1.05rem;
  text-decoration: none;
}

.avva-shell-contact-modal__links span {
  margin-top: 0.55rem;
  max-width: 30ch;
  opacity: 0.68;
}

@media (max-width: 767px) {
  .avva-shell-nav {
    height: 56px;
  }

  .avva-shell-nav__inner {
    grid-template-columns: 1fr auto;
  }

  .avva-shell-nav__logo {
    width: 84px;
  }

  .avva-shell-nav__menu {
    display: block;
  }

  .avva-shell-nav__contact {
    display: none;
  }

  .avva-shell-nav__links {
    position: fixed;
    inset: 56px 0 auto;
    min-height: calc(100dvh - 56px);
    background: var(--avva-shell-carbon);
    padding: 3rem var(--avva-shell-gutter);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.75rem);
    transition: opacity 260ms ease, visibility 260ms ease, transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .avva-shell-nav.is-open .avva-shell-nav__links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .avva-shell-nav__link {
    font-size: clamp(2.2rem, 11vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
  }

  .avva-shell-nav__mobile-contact {
    display: block;
    margin-top: auto;
    text-transform: none;
    font-size: 1rem;
  }

  .avva-shell-footer__inner {
    height: auto;
    min-height: 0;
    max-height: none;
    padding-top: 2.3rem;
  }

  .avva-shell-footer__top,
  .avva-shell-footer__middle {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .avva-shell-footer__top {
    padding-bottom: 3rem;
  }

  .avva-shell-footer__title {
    font-size: clamp(2.75rem, 14vw, 4.5rem);
  }

  .avva-shell-footer__middle {
    padding-top: 2rem;
  }

  .avva-shell-footer__main-links a,
  .avva-shell-footer__main-links button {
    font-size: 2rem;
  }

  .avva-shell-footer__wordmark {
    padding-top: 3.5rem;
  }

  .avva-shell-footer__credits {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    padding-block: 0.65rem;
  }

  .avva-shell-footer__credits span:nth-child(2) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .avva-shell-nav,
  .avva-shell-nav *,
  .avva-shell-footer *,
  .avva-shell-contact-modal,
  .avva-shell-contact-modal * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Shell v6: alinhamento visual com a navegação e o rodapé institucionais. */
.avva-shell-nav {
  height: 48px;
  text-transform: uppercase;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1),
    background-color 250ms ease,
    color 250ms ease;
}

.avva-shell-nav.is-hidden {
  transform: translateY(-110%);
}

.avva-shell-nav.is-scrolled {
  color: var(--avva-shell-carbon);
  background: var(--avva-shell-light);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.avva-shell-nav.is-open {
  color: var(--avva-shell-light);
  background: var(--avva-shell-carbon);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: translateY(0);
}

.avva-shell-nav__inner {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  padding-inline: var(--avva-shell-gutter);
}

.avva-shell-nav__logo {
  grid-column: 1 / 3;
  width: 98px;
  height: 44px;
}

.avva-shell-nav__links {
  grid-column: 8 / 12;
  grid-row: 1;
  align-self: center;
  justify-self: start;
  justify-content: flex-start;
  gap: clamp(20px, 2.18vw, 28px);
}

.avva-shell-nav__actions {
  grid-column: 11 / 13;
  grid-row: 1;
  justify-self: end;
}

.avva-shell-nav__link,
.avva-shell-nav__contact,
.avva-shell-nav__menu {
  font-size: clamp(12px, 1.04vw, 13.35px);
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.avva-shell-nav__contact {
  text-transform: uppercase;
}

.avva-shell-nav__mobile-meta {
  display: none;
}

.avva-shell-footer {
  height: max(720px, 100dvh);
  min-height: 720px;
  background: #ece4da;
  text-transform: uppercase;
}

.avva-shell-footer__inner {
  height: max(720px, 100dvh);
  min-height: 720px;
  max-height: none;
  padding: 33px var(--avva-shell-gutter) 0;
  overflow: hidden;
}

.avva-shell-footer__top,
.avva-shell-footer__middle {
  grid-template-columns: minmax(0, 7fr) minmax(10rem, 3fr) minmax(8rem, 2fr);
  gap: 0;
}

.avva-shell-footer__top {
  min-height: 104px;
  padding-bottom: 0;
}

.avva-shell-footer__title {
  max-width: none;
  font-size: clamp(32px, 3.27vw, 50px);
  line-height: 1.05;
  letter-spacing: 0;
  font-weight: 500;
  text-transform: uppercase;
}

.avva-shell-footer__cta {
  margin-top: 30px;
  font-size: 14px;
  line-height: 1.35;
  text-transform: uppercase;
}

.avva-shell-footer__list {
  gap: 4px;
}

.avva-shell-footer__list a,
.avva-shell-footer__list button,
.avva-shell-footer__list span,
.avva-shell-footer__list li {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
  text-transform: uppercase;
}

.avva-shell-footer__top > .avva-shell-footer__list:not(:first-child) li::before {
  content: "•";
  margin-right: 8px;
}

.avva-shell-footer__middle {
  min-height: 124px;
  margin-top: 59px;
  padding-top: 0;
  border-top: 0;
}

.avva-shell-footer__main-links a,
.avva-shell-footer__main-links button {
  font-size: clamp(20px, 1.82vw, 28px);
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 500;
  text-transform: uppercase;
}

.avva-shell-footer__wordmark {
  flex: 0 0 auto;
  height: clamp(430px, 41.8vw, 535px);
  margin-top: 59px;
  padding: 0;
}

.avva-shell-footer__wordmark img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.avva-shell-footer__credits {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 32px;
  padding-inline: var(--avva-shell-gutter);
  font-size: 12px;
  text-transform: none;
}

.avva-shell-footer__location-mobile {
  display: none;
}

@media (max-width: 767px) {
  .avva-shell-nav {
    height: 48px;
  }

  .avva-shell-nav__inner {
    grid-template-columns: 1fr auto;
    padding-inline: 20px 14px;
  }

  .avva-shell-nav__logo {
    grid-column: 1;
    position: relative;
    z-index: 2;
    width: 68px;
    height: 30px;
  }

  .avva-shell-nav__actions {
    grid-column: 2;
    position: relative;
    z-index: 2;
    gap: 20px;
  }

  .avva-shell-nav__contact,
  .avva-shell-nav__menu {
    display: block;
    font-size: 12px;
  }

  .avva-shell-nav__links {
    inset: 0;
    z-index: 1;
    grid-column: 1 / -1;
    width: 100vw;
    min-height: 100dvh;
    padding: 264px 23px 48px;
    gap: 0;
    background: var(--avva-shell-carbon);
  }

  .avva-shell-nav__link {
    font-size: clamp(28px, 7.7vw, 32px);
    line-height: 1.12;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .avva-shell-nav__mobile-contact {
    display: block;
    margin-top: 0;
    font-size: clamp(28px, 7.7vw, 32px);
    line-height: 1.12;
    text-transform: uppercase;
  }

  .avva-shell-nav__mobile-meta {
    width: 100%;
    margin-top: auto;
    display: grid;
    gap: 70px;
    font-size: 12px;
    line-height: 1.55;
    text-transform: uppercase;
  }

  .avva-shell-nav__mobile-meta > a,
  .avva-shell-nav__mobile-social a {
    width: fit-content;
    color: inherit;
    text-decoration: none;
  }

  .avva-shell-nav__mobile-social {
    display: grid;
  }

  .avva-shell-footer {
    height: 800px;
    min-height: 800px;
  }

  .avva-shell-footer__inner {
    height: 800px;
    min-height: 800px;
    padding: 12px 14px 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto auto auto auto 1fr;
    column-gap: 18px;
    align-content: start;
  }

  .avva-shell-footer__top,
  .avva-shell-footer__middle {
    display: contents;
  }

  .avva-shell-footer__top > div {
    grid-column: 1 / -1;
    order: 1;
  }

  .avva-shell-footer__title {
    max-width: 12ch;
    font-size: 28px;
    line-height: 1.02;
    letter-spacing: 0;
  }

  .avva-shell-footer__cta {
    margin-top: 28px;
    font-size: 14px;
  }

  .avva-shell-footer__main-links {
    grid-column: 1;
    order: 2;
    margin-top: 68px;
  }

  .avva-shell-footer__middle > .avva-shell-footer__list:nth-child(2) {
    grid-column: 2;
    order: 3;
    margin-top: 68px;
  }

  .avva-shell-footer__top > .avva-shell-footer__list:nth-child(2) {
    grid-column: 1 / -1;
    order: 4;
    margin-top: 66px;
  }

  .avva-shell-footer__top > .avva-shell-footer__list:nth-child(3) {
    grid-column: 1 / -1;
    order: 5;
    margin-top: 24px;
  }

  .avva-shell-footer__middle > .avva-shell-footer__list:nth-child(3) {
    grid-column: 1 / -1;
    order: 6;
    margin-top: 24px;
  }

  .avva-shell-footer__main-links a,
  .avva-shell-footer__main-links button,
  .avva-shell-footer__list a,
  .avva-shell-footer__list button,
  .avva-shell-footer__list span,
  .avva-shell-footer__list li {
    font-size: 14px;
    line-height: 1.45;
    letter-spacing: 0;
  }

  .avva-shell-footer__main-links a,
  .avva-shell-footer__main-links button {
    font-size: 20px;
    line-height: 1.35;
  }

  .avva-shell-footer__top > .avva-shell-footer__list:not(:first-child) li::before {
    content: none;
  }

  .avva-shell-footer__location-desktop {
    display: none;
  }

  .avva-shell-footer__location-mobile {
    display: inline;
  }

  .avva-shell-footer__wordmark {
    grid-column: 1 / -1;
    order: 7;
    align-self: end;
    height: 138px;
    margin: 40px 4px 20px;
  }

  .avva-shell-footer__credits {
    height: 32px;
    padding: 0 14px;
    font-size: 10px;
  }
}
