@import "fonts/aptos.css";

:root {
  --intro_time: 3.0s;
  --orange: #f37529;
  --teal: #00b6be;
  --ink: #211d1e;
  --paper: #fff;
  --header_bottom_line: clamp(20px, 5vw, 40px);
  --header_height: calc(67 * var(--r));
  --header_skirt: 20px;
  --r: 1.3px;
  --top_margin: 40vh;
  --sans:
    "Aptos", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial,
    sans-serif;
  --serif: "Lora", Georgia, serif;
  user-select: none;
  background: var(--paper);
  --page_max: min(720px, calc(100vw - 100px));
  --page_margin: calc((100vw - var(--page_max)) / 2);
  --steel_x: 60%;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  animation-play-state: var(--animOn) !important;
  touch-action: pan-x pan-y !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  animation: intro_hide_body var(--intro_time) forwards;
}

#quem {
  scroll-margin-top: -30vh;
}

#atuamos {
  scroll-margin-top: calc(160 * var(--r));
}

img {
  display: block;
  max-width: 100%;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.header {
  width: 100%;
  top: 0;
  z-index: 20;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header_height);
  min-height: var(--header_height);
  padding: 12px var(--header_bottom_line);
  position: sticky;
}

.header::after {
  content: "";
  height: var(--header_skirt);
  background:
    linear-gradient( to bottom, #ffffffff, #ffffff00 );
  position: absolute;
  top: 100%;
  left: calc(-1 * var(--header_bottom_line));
  right: 0;
  z-index: -1;
}

.menu_box {
  width: auto;
  height: 40px;
  display: block;
  position: absolute;
  padding: 0;
  opacity: 1;
  top: calc(20 * var(--r));
  right: calc(20 * var(--r));
}

.logo img {
  height: calc(37 * var(--r));
  position: relative;
  max-width: unset;
}

.burger {
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
  transition: 0.2s;
}

.header.open .burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header.open .burger span:nth-child(2) {
  opacity: 0;
}

.header.open .burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header #menu {
  opacity: 0;
  position: absolute;
  right: 0;
  top: 100%;
  background: var(--paper);
  padding: 8px var(--header_bottom_line) 20px;
  box-shadow: -10px 10px 10px rgba(0, 0, 0, 0.03);
  width: 13em;
  text-align: right;
  height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease,
              height 1.2s ease;
  font-size: calc(12 * var(--r));
  width: 13em;
  display: flex;
  flex-direction: column;
  z-index: 10;
}

.header #menu.open {
  opacity: 1;
  height: 9lh;
}

.header #menu a {
  display: inline-block;
  padding: 10px 0;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.header #menu a:hover,
.header #menu a.on {
  border-color: var(--orange);
}

.intro,
.fgrid {
  width: var(--page_max);
  max-width: var(--page_max);
  margin: 0 auto;
  padding-left: var(--header_bottom_line);
  padding-right: var(--header_bottom_line);
}

.intro h2,
.act h2,
.footer h2 {
  font-family: var(--serif);
  font-weight: 400;
}

.intro {
  display: grid;
  gap: 24px;
  padding-top: 48px;
  padding-bottom: 56px;
}

.intro h2 {
  position: relative;
  font-size: 22px;
  line-height: 1.35;
}

.intro h2 em {
  display: block;
  font-style: normal;
  color: var(--teal);
  font-weight: 700;
  margin-top: 12px;
}

.intro p {
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 12px;
}

.intro p:last-child {
  font-weight: 700;
  margin: 0;
}

.vision {
  color: #fff;
  overflow: clip;
}

.vision_box {
  position: relative;
  width: var(--page_max);
  max-width: var(--page_max);
  margin: 0 auto;
  overflow: hidden;
}

.vision_box p {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
  background: #211d1e;
  font-size: calc(14 * var(--r));
  line-height: calc(24 * var(--r));
  padding-top: calc(81 * var(--r));
  padding-bottom: calc(85 * var(--r));
  padding-left: calc(41 * var(--r));
  padding-right: calc(35 * var(--r));
  width: fit-content;
}
@media (max-width: 600px) {
  .vision_box p {
    font-size: calc(12 * var(--r));
    padding-left: calc(25 * var(--r));
    padding-right: calc(25 * var(--r));
  }
}

.marquee {
  overflow-x: hidden;
  display: flex;
  padding-bottom: 18px;
  width: max-content;
  gap: 0;
}

.track {
  display: flex;
  align-items: center;
  margin: 0 auto;
}

.track img {
  margin: 0 calc(35 * var(--r));
  height: calc(var(--h) * var(--r));
  width: calc(var(--w) * var(--r));
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

.stripe {
  background: 
    linear-gradient(
      to top,
      #00000000, 95%, #00000036
    ),
    var(--orange);
  height: calc(41 * var(--r));
}

.footer::after {
  content: "";
  display: block;
  height: calc(5.5 * var(--r));
  background: 
    linear-gradient(
      to top,
      #00000000, 95%, #00000036
    ),
    var(--orange);
}

#inspiracao {
  scroll-margin-top: calc(100 * var(--r));
  overflow: hidden;
}

.inspiracao {
  width: var(--page_max);
  max-width: var(--page_max);
  margin: 0 auto;
  display: grid;
}

.inspiracao .txt {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--serif);
  font-size: calc(12.5 * var(--r));
  padding: 1em 0 calc(6 * var(--r));
}
@media (max-width: 600px) {
  .inspiracao .txt {
    font-size: calc(9.5 * var(--r));
  }
}

.inspiracao p {
  font-size: calc(14 * var(--r));
  line-height: calc(30 * var(--r));
}

.inspiracao .mark {
  background: var(--ink);
  color: #fff;
  padding: 2px 16px 4px 16px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  display: inline-block;
}

.inspiracao .o {
  color: var(--orange);
}

.atuamos {
  padding-top: calc(67*var(--r));
  padding-bottom: calc(103*var(--r));
  position: relative;
}

.act_border_l {
  position: absolute;
  top: 0;
  width: 30px;
  height: 100%;
  background:
    linear-gradient(
      to right,
      #00000000, 86%, #00000036
    ),
    linear-gradient(
      to bottom,
      #00000000, 95%, #00000036
    ),
    linear-gradient(
      to top,
      #00000000, 95%, #00000036
    ),
    var(--teal);
}

.act_border_r {
  position: absolute;
  top: 0;
  width: 30px;
  height: 100%;
  background:
    linear-gradient(
      to left,
      #00000000, 86%, #00000036
    ),
    linear-gradient(
      to bottom,
      #00000000, 95%, #00000036
    ),
    linear-gradient(
      to top,
      #00000000, 95%, #00000036
    ),
    var(--teal);
  right: 0;
}

.act_box {
  width: var(--page_max);
  margin: 0 auto;
  max-width: 500px;
}

.act_hover_hook {
  position: relative;
  --color_a: #000;
  --color_b: #000;
  --color_c: #000;
  --select_s: calc(84 * var(--r));
  --select_h: calc(100 * var(--r));
  --select_position: 0;
  --transtime: 0.6s;
}
@media (max-width: 440px) {
  .act_hover_hook {
    --select_s: calc(108 * var(--r));
    --select_h: calc(124 * var(--r));
  }
}

.act {
  display: grid;
  align-items: center;
  padding-top: calc(12 * var(--r));
  padding-bottom: calc(12 * var(--r));
  padding-left: calc(20 * var(--r));
  padding-right: calc(20 * var(--r));
  width: 100%;
  text-align: left;
  border: none;
  border-top: 1px solid #bdbdbd;
  background: transparent;
  height: var(--select_h);
  min-height: var(--select_h);
  max-height: var(--select_h);
  transition: all var(--transtime) ease;
  color: #000;
  position: relative;
  z-index: 2;
  align-content: center;
}

.act_select {
  background: var(--teal);
  width: 100%;
  position: absolute;
  left: 0;
  z-index: -1;
  border-radius: calc(16 * var(--r));
  height: var(--select_s);
  min-height: var(--select_s);
  max-height: var(--select_s);
  margin-top: calc((var(--select_h) - var(--select_s)) / 2);
  top: calc(var(--select_h) * var(--select_position));
  transition: all var(--transtime) ease;
  z-index: 1;
}

.act1 {
  color: #fff;
}

.act3 {
  border-bottom: 1px solid #bdbdbd;
}

.act_box h2 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.1em;
  margin-bottom: calc(29 * var(--r));
  font-size: calc(14.9*var(--r));
}

.act .t {
  font-size: calc(11.9*var(--r));
  font-family: var(--sans);
  font-weight: 600;
  line-height: 1.1em;
  margin-bottom: 0.4em;
}

.act .d {
  line-height: calc(14.3 * var(--r));
  font-size: calc(9.1 * var(--r));
}

.act .t b {
  display: inline-block;
  width: 1.2em;
  font-weight: 600;
}

.sbr {
  display: inline;
}

.lbr {
  display: none;
}

.glow {
  transition: all 0.2s ease;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.1));
}
.glow:hover {
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

.footer {
  background: var(--ink);
  color: #fff;
  padding-top: 56px;
}

.fgrid {
  display: grid;
  gap: 32px;
}

.footer h2 {
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 14px;
}

.mail {
  font-size: 17px;
  font-weight: 700;
}

.mail:hover,
.social a:hover,
.sitemap a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.flogo {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.flogo img {
  height: 40px;
  width: auto;
}

.flogo .tag {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
}

.social {
  display: flex;
  gap: 20px;
  margin-top: 24px;
  font-size: 13px;
}

.social a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

.social svg {
  width: 58%;
  height: 58%;
}

.sitemap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.sitemap h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sitemap li {
  list-style: none;
  font-size: 13px;
  line-height: 1.9;
}

.copy {
  font: 400 9px var(--serif);
  text-align: center;
  padding: 48px 0 16px;
}

.cursor-circle {
  z-index: 100;
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #f5821f;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease-out;
}

.titulo {
  margin-top: 20vh;
}

#ani_hook, .ani_hook {
  border: 2px solid black;
  position: fixed;
  left: 0;
  bottom: calc((100vh - var(--header_height)) / 2);
  max-width: 1px;
  max-height: 1px;
  visibility: hidden;
}

.ani_bond {
  border: 2px solid red;
  position: absolute;
  max-width: 1px;
  max-height: 1px;
  bottom: 50%;
  visibility: hidden;
}

#curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background:
    url("images/logo/ico.svg"),
    var(--teal);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  z-index: 25;
  transform: translateY(-100vh);
  animation: intro_curtain var(--intro_time) forwards;
  animation-timing-function: cubic-bezier(1.0, 0, 0.2, 1);
  background-size: 13%;
  opacity: 0;
}

.logo_box {
  animation: intro_logo_box var(--intro_time) forwards;
  overflow: hidden;
  margin-left: 0;
  margin-right: unset;
  width: calc(30 * 6.5 * var(--r));
  min-width: calc(30 * 6.5 * var(--r));
  max-width: calc(30 * 6.5 * var(--r));
}

@keyframes intro_curtain {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  30% {
    transform: translateY(0);
    opacity: 1;
  }
  60% {
    transform: translateY(-100vh);
    opacity: 0;
  }
}

@keyframes intro_logo_box {
  0% {
    visibility: hidden;
  }
  26% {
    visibility: hidden;
  }
  27% {
    visibility: visible;
  }
  100% {
    visibility: visible;
  }
}

@keyframes intro_logo_box {
  0% {
    width: calc(30 *  var(--r));
    min-width: calc(30 *  var(--r));
    max-width: calc(30 *  var(--r));
  }
  66% {
    width: calc(30 *  var(--r));
    min-width: calc(30 *  var(--r));
    max-width: calc(30 *  var(--r));
  }
  100% {
    width: calc(30 * 6.5 * var(--r));
    min-width: calc(30 * 6.5 * var(--r));
    max-width: calc(30 * 6.5 * var(--r));
  }
}
