@import './components/_phone-interactions.css';
@import './components/_notif-popover.css';
@import './sections/_quem-somos.css';
@import './sections/_servicos.css';
@import './sections/_metodo.css';
@import './sections/_por-que.css';
@import './sections/_cta.css';
@import './sections/_footer.css';

:root {
  --bg: #05070b;
  --pad: 72px;
  --maxw: 1320px;
  --headline-w: 920px;
  --cyan: #00b8ff;
  --text: #eaf7ff;
  --glass: rgb(0, 0, 0);
  --glass-border: rgba(255, 255, 255, .24);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html,
body {
  height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #020305;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 184, 255, 0.3);
  border-radius: 10px;
  border: 2px solid #020305;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 184, 255, 0.6);
}

img {
  display: block;
  max-width: 100%
}

a {
  color: inherit;
  text-decoration: none
}

.hero {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  background:
    radial-gradient(900px 620px at 18% 26%, rgba(0, 185, 255, .16), transparent 56%),
    radial-gradient(1000px 700px at 45% 65%, rgba(0, 0, 0, .55), transparent 60%),
    var(--bg);
}

.bg-jelly {
  position: absolute;
  left: -18%;
  top: 10%;
  width: 56vw;
  min-width: 780px;
  opacity: .88;
  filter: blur(2.2px) saturate(1.12) contrast(1.05);
  mix-blend-mode: screen;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.bg-light {
  --size-scale: 1.65;
  position: absolute;
  right: -40%;
  top: -55%;
  width: calc(48vw * var(--size-scale));
  min-width: calc(650px * var(--size-scale));
  height: calc(52vw * var(--size-scale));
  min-height: calc(680px * var(--size-scale));
  pointer-events: none;
  user-select: none;
  z-index: 1;
  background: radial-gradient(ellipse at 45% 35%, rgba(0, 185, 255, 0.32), transparent 76%);
  filter: blur(80px);
  opacity: 0.75;
  mix-blend-mode: screen;
  will-change: transform, opacity;
  animation: glow-breathe 6s ease-in-out infinite alternate;
}

@keyframes glow-breathe {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 0.75;
  }

  100% {
    transform: scale(1.05) translate(-2%, 2%);
    opacity: 0.6;
  }
}

.topbar {
  position: relative;
  z-index: 10;
  padding-top: 34px;
}

.topbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  height: 47px;
  width: auto
}

.top-line {
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(to right, rgba(255, 255, 255, .26), transparent);
  opacity: .95;
  transform: translateY(1px);
}

.menu {
  display: flex
}

.menu-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  transform: translateZ(0);
}

.menu-pill .nav-btn {
  position: relative;
  font-size: 13px;
  font-family: inherit;
  font-weight: 400;
  color: rgba(255, 255, 255, .85);
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .3s cubic-bezier(.2, .8, .2, 1);
  text-decoration: none;
}

.menu-pill .nav-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}



.menu-cta {
  border: 1px solid rgba(255, 255, 255, .75) !important;
  color: #fff !important;
  font-weight: 500 !important;
  padding: 8px 18px;
}

.menu-cta:hover {
  background: rgba(255, 255, 255, .12) !important;
  border-color: #fff !important;
}

.topbar.is-scrolled .menu-pill {
  background: rgba(0, 0, 0, .58);
  border-color: rgba(255, 255, 255, .30);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .55);
}

@media (prefers-reduced-motion: reduce) {
  .bg-light {
    animation: none;
  }
}

.stage {
  position: relative;
  z-index: 5;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  min-height: calc(100vh - 102px);
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(360px, 460px);
  grid-template-rows: auto 1fr;
  column-gap: 56px;
  align-items: start;
}

.t-headline {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 78px;
  width: min(var(--headline-w), 100%);
  text-align: justify;
  text-align-last: center;
  font-size: clamp(52px, 5.2vw, 58px);
  line-height: 1.06;
  font-weight: 650;
  letter-spacing: .005em;
  color: var(--text);
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  text-justify: inter-word;
}

.hl {
  display: inline-block;
  padding: 7px 18px 9px;
  margin-left: 6px;
  color: #000000;
  font-style: italic;
  font-weight: 700;
  background: var(--cyan);
  border-radius: 0;
  box-shadow: 0 0 28px rgba(0, 185, 255, .50);
}

.left-block {
  grid-column: 1 / 2;
  align-self: start;
  margin-top: 118px;
  max-width: 560px;
}

.t-divider {
  display: inline-block;
  width: 54px;
  height: 2px;
  background: rgba(255, 255, 255, .86);
  border-radius: 999px;
  margin-bottom: 18px;
}

.t-subtitle {
  font-size: clamp(38px, 2.8vw, 38px);
  line-height: 1.22;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  text-align: justify;
  text-align-last: left;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  text-justify: inter-word;
}


.t-p1,
.t-p2 {
  max-width: 550px;
  font-size: 18px;
  line-height: 1.22;
  font-weight: 130;
  color: rgba(255, 255, 255, .76);
  text-align: justify;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  text-justify: inter-word;
}


.t-p1 {
  margin-bottom: 10px;
}

.phone-wrap {
  position: relative;
  grid-column: 2 / 3;
  justify-self: end;
  align-self: start;
  margin-top: 58px;
  width: clamp(320px, 24vw, 420px);
  pointer-events: none;
  z-index: 3;

  --px: 0px;
  --py: 0px;

  transform: translate3d(var(--px), var(--py), 0);
  will-change: transform;
}

.phone-stack {
  position: relative;
  width: 100%;
  transform: rotate(5deg) translateZ(0);
  transform-origin: 50% 45%;
  will-change: transform, filter;
  filter:
    drop-shadow(0 28px 46px rgba(0, 0, 0, .78)) drop-shadow(0 0 20px rgba(0, 184, 255, .16));
  animation: phoneFloat 7.0s ease-in-out infinite;
}

@keyframes phoneFloat {
  0% {
    transform: rotate(5deg) translate3d(0, 0, 0);
  }

  50% {
    transform: rotate(7deg) translate3d(0, -10px, 0);
  }

  100% {
    transform: rotate(5deg) translate3d(0, 0, 0);
  }
}

.phone {
  width: 100%;
}

.phone-ui {
  position: absolute;
  left: 29.4%;
  top: 2.8%;
  width: 70%;
  height: 96.0%;
  border-radius: 30px;
  overflow: hidden;
  background: transparent;
}

.phone-ui {
  transform-origin: 50% 12%;
  --ui-content-y: 30px;
  transform:
    rotate(var(--ui-rz, 15.6deg)) rotateX(var(--ui-rx, 10.0deg)) rotateY(var(--ui-ry, -38.0deg)) skewX(var(--ui-skx, -4.7deg)) skewY(var(--ui-sky, -4.3deg)) scale(var(--ui-sc, 1));
  backface-visibility: hidden;
  will-change: transform;
}

.phone-ui .ls-top,
.phone-ui .ls-notifs,
.phone-ui .ls-bottom {
  transform: translateY(var(--ui-content-y));
}


.ls-top {
  padding: 18px 16px 10px;
  text-align: center;
}

.ls-time {
  font-size: 44px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .01em;
  color: rgba(255, 255, 255, .92);
}

.ls-date {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, .62);
}

.ls-notifs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 12px;
}

.ls-notif {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(240, 240, 240, 0.15);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
  transform: translate3d(0, -6px, 0);
  opacity: 0;
  animation: lsNotifIn .62s cubic-bezier(.2, .8, .2, 1) forwards;
}

@keyframes lsNotifIn {
  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

.ls-app {
  width: 34px;
  height: 34px;
  min-width: 34px;
  background: rgba(255, 255, 255, 0.137);
  border-radius: 8.4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.ls-app img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.0);
}

.ls-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .95);
}

.ls-body {
  font-size: 11px;
  line-height: 1.3;
  color: rgba(255, 255, 255, .75);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ls-when {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, .60);
  align-self: flex-start;
  margin-top: 4px;
}

.ls-bottom {
  margin-top: auto;
  padding: 10px 14px 14px;
  display: flex;
  justify-content: center;
}

.ls-hint {
  font-size: 10px;
  color: rgba(255, 255, 255, .45);
}

@media (prefers-reduced-motion: reduce) {
  .phone-stack {
    animation: none;
  }

  .ls-notif {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1366px) {
  :root {
    --pad: 52px;
  }

  .t-headline {
    margin-top: 86px;
  }

  .left-block {
    margin-top: 110px;
  }

  .phone-wrap {
    margin-top: 54px;
    width: clamp(300px, 26vw, 400px);
  }

  .bg-jelly {
    left: -22%;
    width: 60vw;
    top: 12%;
  }
}

@media (max-width: 980px) {
  :root {
    --pad: 28px;
  }

  .stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    row-gap: 34px;
  }

  .t-headline {
    margin-top: 58px;
    width: min(860px, 100%);
  }

  .left-block {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .phone-wrap {
    grid-column: 1 / -1;
    justify-self: center;
    margin-top: 10px;
    width: min(380px, 82vw);
  }

  .bg-jelly {
    left: -30%;
    top: 16%;
    width: 86vw;
    min-width: 560px;
    opacity: .82;
  }
}