:root {
  --margem: 3.75rem;
  --margem-neg: calc(-1 * var(--margem));
}

section#contacts form label:not(:has(input[type=radio])), h4 {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25rem;
  text-transform: uppercase;
}

section#contacts form input[type=submit], button:not(.icon), .button:not(.icon) {
  background-color: rgba(0, 136, 221, 0.1);
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border: none;
  font-family: "N27", "Hanken Grotesk", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  text-transform: uppercase;
  font-size: 0.875rem;
  line-height: 1.25rem;
  cursor: pointer;
}
@media screen and (max-width: 28.125rem) {
  section#contacts form input[type=submit], button:not(.icon), .button:not(.icon) {
    padding: 0.75rem 1rem;
  }
}
section#contacts form input[type=submit]:hover, button:hover:not(.icon), .button:hover:not(.icon) {
  opacity: 0.5;
}

h1, h2, h3, h4, h5 {
  font-family: "N27", "Hanken Grotesk", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

h1 {
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1;
}
@media screen and (max-width: 48rem) {
  h1 {
    font-size: 2rem;
  }
}
@media screen and (max-width: 28.125rem) {
  h1 {
    font-size: 1.5rem;
  }
}

h2 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25rem;
  text-transform: uppercase;
}

h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25rem;
  text-transform: uppercase;
}

h5 {
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1.25rem;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

p.small {
  font-size: 0.875rem;
  line-height: 1rem;
}

strong {
  font-weight: 700;
}

body, p {
  font-size: 1rem;
  line-height: 1.25;
  font-family: "Hanken Grotesk", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #042932;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease-in-out;
}
a:hover {
  opacity: 0.5;
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  padding: 10%;
  box-sizing: border-box;
  z-index: 9999;
  transition: opacity 1s ease;
}
@media screen and (max-width: 28.125rem) {
  .preloader {
    display: none;
  }
}
.preloader.fade-out {
  opacity: 0;
}

.hidden {
  display: none;
}

#wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100dvh;
}

#container, section {
  height: 100%;
}

main {
  height: inherit;
}

section.modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  padding: calc(var(--margem) * 2);
  background: rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(25px);
          backdrop-filter: blur(25px);
}
@media screen and (max-width: 28.125rem) {
  section.modal {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 25%;
  }
}
section.modal .modal-content {
  margin: 0 auto;
  padding-top: var(--margem);
  width: 50%;
  max-height: 100%;
  padding-bottom: 5%;
  overflow: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
section.modal .modal-content::-webkit-scrollbar {
  display: none;
}
section.modal .modal-content::after {
  content: "";
  background: linear-gradient(transparent, white 40%);
  position: absolute;
  bottom: 0;
  left: 0;
  height: 25%;
  width: 100%;
  pointer-events: none;
}
@media screen and (max-width: 100rem) {
  section.modal .modal-content {
    width: 66.6666666667%;
  }
}
@media screen and (max-width: 64rem) {
  section.modal .modal-content {
    width: 83.3333333333%;
  }
}
@media screen and (max-width: 48rem) {
  section.modal .modal-content {
    width: 100%;
    padding-top: 0;
    padding-bottom: 20%;
  }
}

.soft {
  opacity: 0.7;
}

.background {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
}
.background::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-position: center;
  opacity: 0.05;
  z-index: -3;
}
.background svg {
  height: inherit;
  width: inherit;
  z-index: -1;
  transform: rotate(135deg);
  opacity: 0.05;
  filter: blur(50px);
}
.background svg .main-stop {
  stop-color: #0088DD;
}
.background svg .alt-stop {
  stop-color: #E21990;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem var(--margem);
  z-index: 2;
}
@media screen and (max-width: 48rem) {
  header {
    padding: 1rem;
  }
}
header #branding a {
  display: flex;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
header #branding a img {
  height: 2rem;
}
@media screen and (max-width: 48rem) {
  header #branding a img {
    height: 1.5rem;
  }
}
header button.close {
  display: none;
}
header button.menu {
  display: none;
}
@media screen and (max-width: 48rem) {
  header button.menu {
    display: block;
  }
}

#footer {
  width: 100%;
  z-index: 2;
}
@media screen and (max-width: 48rem) {
  #footer {
    z-index: 1;
  }
}
#footer nav#footer-menu {
  font-family: "N27", "Hanken Grotesk", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-weight: 600;
  font-size: 1.25rem;
  text-transform: uppercase;
}
@media screen and (max-width: 48rem) {
  #footer nav#footer-menu {
    display: none;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(25px);
            backdrop-filter: blur(25px);
  }
}
#footer nav#footer-menu .menu-holder {
  display: flex;
  justify-content: space-around;
  padding: 2.5rem 0;
}
@media screen and (max-width: 48rem) {
  #footer nav#footer-menu .menu-holder {
    height: inherit;
    flex-direction: column;
    gap: 3rem;
    text-align: center;
    justify-content: center;
  }
}
#footer #subfooter {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem var(--margem);
  font-size: 0.75rem;
  line-height: 1rem;
}
@media screen and (max-width: 48rem) {
  #footer #subfooter {
    flex-direction: column;
    text-align: center;
  }
}

.custom-cursor {
  z-index: -1;
  height: 12.5rem;
  width: 12.5rem;
  background: linear-gradient(#0088DD, #E21990);
  opacity: 25%;
  border-radius: 1000px;
  position: fixed;
  filter: blur(50px);
  transition: all 0.3s ease;
}
.custom-cursor.hover {
  height: 6.25rem;
  width: 6.25rem;
  transform: translate(100%, 100%);
  filter: blur(15px);
}

button, .button {
  cursor: pointer;
}
button:not(.icon).small, .button:not(.icon).small {
  font-size: 0.625rem;
  line-height: 1.2;
  padding: 0.25rem 0.5rem;
  letter-spacing: 0.1px;
}
button.icon, .button.icon {
  height: 3rem;
  width: 3rem;
  background: none;
  border: none;
  padding: 0;
  transition: opacity 0.3s ease;
}
@media screen and (max-width: 48rem) {
  button.icon, .button.icon {
    display: block;
    height: 2rem;
    width: 2rem;
    padding: 0.5rem;
    box-sizing: content-box;
  }
}
button.icon:hover, .button.icon:hover {
  opacity: 0.5;
}
button.icon svg, .button.icon svg {
  height: inherit;
  width: inherit;
  stroke: #042932;
  stroke-width: 2;
}
@media screen and (max-width: 48rem) {
  button.icon svg, .button.icon svg {
    stroke-width: 4;
  }
}

section#hero {
  display: flex;
  justify-content: center;
  align-items: center;
}
section#hero h1 {
  max-width: 66.6666666667%;
  text-align: center;
  text-wrap: balance;
  position: relative;
  animation: reveal 2s ease forwards;
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(30%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
section#hero h1 em {
  color: #0088DD;
  font-style: italic;
}
section#hero h1::before {
  content: "";
  display: block;
  position: absolute;
  background-color: white;
  height: 200%;
  width: 140%;
  top: -50%;
  left: -20%;
  z-index: -2;
  border-radius: 100%;
  filter: blur(20px);
}

section#who .modal-content > *:not(:last-child) {
  margin-bottom: 2rem;
}
section#who h4, section#who h5 {
  color: #0088DD;
  margin-bottom: 0.5rem;
}
section#who #people .person-info {
  position: relative;
  margin-left: var(--margem);
  padding-left: 1rem;
}
section#who #people .person-info .photo {
  height: var(--margem);
  width: var(--margem);
  background-color: #042932;
  position: absolute;
  left: calc(var(--margem-neg));
  border-radius: 1000px;
  overflow: hidden;
}
section#who #people .person-info .photo img {
  height: inherit;
}
section#who #people .person-info .position h4 {
  margin-bottom: 0;
}
section#who #people .person-info .cv-list {
  margin: 0.5rem 0;
  display: none;
}
section#who #people .person-info .cv-list ul {
  margin-bottom: 1rem;
}
section#who #people .person-info .cv-list ul .list-item {
  margin-bottom: 0.25rem;
}
section#who #people .person-intro-text {
  margin-top: 1rem;
}

section#what .modal-content > *:not(:last-child) {
  margin-bottom: 2rem;
}
section#what h4, section#what h5 {
  color: #0088DD;
  margin-bottom: 0.5rem;
}
section#what .items-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.5rem;
}
section#what .items-list:not(:last-child) {
  margin-bottom: 1.5rem;
}
section#what .items-list .tag {
  background-color: rgba(0, 136, 221, 0.05);
  border-radius: 0.25rem;
  padding: 0.25rem;
}
section#what .items-list:first-of-type .tag:nth-child(1) {
  background-color: rgba(0, 136, 221, 0.1);
}
section#what .items-list:first-of-type .tag:nth-child(2) {
  background-color: rgba(0, 136, 221, 0.3);
}
section#what .items-list:first-of-type .tag:nth-child(3) {
  background-color: rgba(0, 136, 221, 0.5);
}
section#what .items-list:first-of-type .tag:nth-child(4) {
  background-color: rgba(0, 136, 221, 0.7);
}

section#how .modal-content > *:not(:last-child) {
  margin-bottom: 2rem;
}
section#how h4, section#how h5 {
  color: #0088DD;
  margin-bottom: 0.5rem;
}
section#how .modal-content {
  overflow: hidden;
}
section#how #formula {
  height: 100%;
  padding-bottom: var(--margem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media screen and (max-width: 64rem) {
  section#how #formula {
    flex-direction: column;
  }
}
section#how #formula p {
  font-family: "N27", "Hanken Grotesk", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 1.125rem;
  text-transform: uppercase;
  text-align: center;
}
section#how #formula p#term1 span {
  display: block;
}
section#how #formula p#term2 {
  display: flex;
  position: relative;
  padding: 0.5rem 1rem 0.25rem;
}
section#how #formula p#term2 #bloco {
  display: flex;
  flex-direction: column;
}
section#how #formula .bracket:first-child::before, section#how #formula .bracket:last-child::before {
  content: "";
  height: 100%;
  width: 0.625rem;
  border: 2px solid #0088DD;
  display: block;
  position: absolute;
  top: 0;
}
section#how #formula .bracket:last-child::before {
  right: 0;
  border-left: 0;
}
section#how #formula .bracket:first-child::before {
  border-right: 0;
  left: 0;
}
section#how #formula .addition, section#how #formula .bracket {
  color: #0088DD;
}
section#how #formula .multiply, section#how #formula .sum {
  color: #0088DD;
}

section#contacts .modal-content > *:not(:last-child) {
  margin-bottom: 2rem;
}
section#contacts h4, section#contacts h5 {
  color: #0088DD;
  margin-bottom: 0.5rem;
}
section#contacts h2 {
  margin-bottom: 1rem;
}
section#contacts #addresses .row {
  display: flex;
  gap: 1rem;
}
section#contacts #addresses .row .col {
  width: 50%;
}
section#contacts form p {
  margin-bottom: 1rem;
}
section#contacts form label:not(:has(input[type=radio])) {
  color: #0088DD;
}
section#contacts form label:not(:has(input[type=radio])) .wpcf7-not-valid-tip {
  text-transform: initial;
}
section#contacts form label:has(input[type=radio]) {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
section#contacts form .wpcf7-radio {
  display: flex;
  flex-direction: column;
}
section#contacts form .wpcf7-radio .wpcf7-list-item {
  margin: 0;
}
section#contacts form input[type=text], section#contacts form input[type=email], section#contacts form input[type=tel] {
  width: 100%;
  width: -webkit-fill-available;
  height: 1.5rem;
  padding: 0.5rem;
  box-sizing: content-box;
  border: 1px solid rgba(0, 136, 221, 0.1);
  background: rgba(0, 136, 221, 0.05);
}
section#contacts form input:focus-visible {
  outline-color: #0088DD;
}
section#contacts form input[type=radio] {
  height: 1rem;
  width: 1rem;
  margin: 0;
}
section#contacts hr {
  border: 0.0625rem solid rgba(0, 136, 221, 0.1);
}
section#contacts img {
  filter: brightness(0) saturate(100%) invert(56%) sepia(77%) saturate(2533%) hue-rotate(160deg) brightness(94%) contrast(103%);
  height: 1.5rem;
  width: 1.5rem;
  box-sizing: content-box;
}

.wpcf7 form .wpcf7-response-output {
  border-width: 1px;
  padding: 0.25rem 0.5rem;
  margin: 0;
  background-color: rgba(0, 160, 210, 0.1);
}
.wpcf7 form.sent .wpcf7-response-output {
  background-color: rgba(70, 180, 80, 0.1);
}
.wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output {
  background-color: rgba(220, 50, 50, 0.1);
}
.wpcf7 form.spam .wpcf7-response-output {
  background-color: rgba(245, 110, 40, 0.1);
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output {
  background-color: rgba(255, 185, 0, 0.1);
}

@media screen and (max-width: 28.125rem) {
  section#contacts #addresses .row {
    flex-direction: column;
  }
  section#contacts #addresses .row .col {
    width: 100%;
  }
  section#contacts form .wpcf7-radio {
    gap: 0.5rem;
  }
  section#contacts form input[type=text], section#contacts form input[type=email], section#contacts form input[type=tel] {
    height: 2rem;
  }
  section#contacts form input[type=submit] {
    margin-top: 1rem;
  }
  section#contacts form .wpcf7-response-output {
    background: rgba(70, 180, 79, 0.2);
    border: none;
    border-radius: 2px;
    padding: 0.25rem 0.5rem;
  }
  section#contacts img {
    height: 2rem;
    width: 2rem;
    padding: 0.5rem;
    margin: -rem(8);
  }
}
.error404 header button, .error404 footer nav {
  display: none !important;
}
.error404 article {
  display: flex;
  flex-direction: column;
  height: inherit;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: var(--margem);
}
.error404 article .entry-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  z-index: 1;
}