:root {
  --bg: #f3efe6;
  --bg-soft: #ebe5db;
  --ink: #11182f;
  --ink-soft: #5f6470;
  --navy: #111a36;
  --navy-2: #1d2a50;
  --ivory: #faf8f2;
  --line: rgba(17, 24, 47, 0.11);

  --container: 1240px;
  --header-height: 72px;

  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
}

/* RESET */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  color: var(--ink);
  background:
    radial-gradient(
      circle at 74% 30%,
      rgba(255, 255, 255, 0.65),
      transparent 32%
    ),
    linear-gradient(180deg, #f5f1e9 0%, #eee8de 100%);

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* HEADER */

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 100;

  width: min(calc(100% - 42px), 1180px);
  min-height: var(--header-height);

  padding: 10px 12px 10px 20px;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;

  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 25px;

  background: rgba(248, 245, 238, 0.72);

  box-shadow:
    0 14px 45px rgba(23, 27, 39, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);

  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.brand {
  width: 43px;
  display: flex;
  align-items: center;
}

.brand img {
  width: 100%;
}

.main-nav {
  justify-self: center;

  display: flex;
  align-items: center;
  gap: clamp(22px, 2.5vw, 36px);

  font-size: 0.91rem;
  font-weight: 500;
}

.main-nav a {
  color: rgba(17, 24, 47, 0.76);
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.main-nav a:hover {
  color: var(--navy);
  transform: translateY(-1px);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;
  padding: 0 23px;

  border-radius: 999px;

  font-size: 0.9rem;
  font-weight: 650;

  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.header-cta,
.button-primary {
  color: #fff;

  background:
    linear-gradient(
      145deg,
      #172244 0%,
      #0e1730 100%
    );

  box-shadow:
    0 9px 20px rgba(17, 26, 54, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.header-cta:hover,
.button-primary:hover {
  transform: translateY(-2px);

  box-shadow:
    0 14px 28px rgba(17, 26, 54, 0.19),
    inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

/* HERO */

.hero {
  position: relative;

  width: min(calc(100% - 48px), var(--container));
  min-height: 100svh;
  margin: 0 auto;

  padding: 132px 0 62px;

  display: grid;
  grid-template-columns:
    minmax(0, 0.91fr)
    minmax(510px, 1.09fr);

  align-items: center;
  gap: clamp(40px, 4vw, 72px);
}

/* TEXTO */

.hero-copy {
  position: relative;
  z-index: 4;

  max-width: 625px;
  padding-top: 10px;
}

.hero-kicker {
  margin: 0 0 34px;

  color: #536079;

  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 650px;
  margin: 0;

  color: var(--ink);

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: clamp(3.6rem, 5vw, 5.85rem);
  font-weight: 400;
  line-height: 0.93;
  letter-spacing: -0.06em;
}

.hero h1 span {
  display: block;

  margin-top: 12px;

  color: #233052;
}

.hero-description {
  max-width: 570px;

  margin: 43px 0 0;

  color: var(--ink-soft);

  font-size: 1.03rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 14px;

  margin-top: 43px;
}

.button-secondary {
  min-width: 130px;

  color: var(--ink);

  border: 1px solid rgba(17, 24, 47, 0.12);

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.7),
      rgba(255, 255, 255, 0.3)
    );

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 7px 20px rgba(30, 34, 44, 0.04);

  backdrop-filter: blur(10px);
}

.button-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.73);
}

/* PALCO VISUAL */

.hero-stage {
  position: relative;

  min-height: 590px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glow {
  position: absolute;

  width: 540px;
  height: 540px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(35, 48, 82, 0.105) 0%,
      rgba(54, 66, 96, 0.045) 38%,
      transparent 70%
    );

  filter: blur(8px);
}

/* LAPTOP */

.device-laptop {
  position: relative;
  z-index: 3;

  width: min(100%, 570px);

  transform:
    perspective(1500px)
    rotateX(2deg)
    rotateY(-6deg)
    rotateZ(-1deg);

  filter:
    drop-shadow(0 32px 36px rgba(22, 25, 35, 0.17));
}

.laptop-screen {
  position: relative;

  width: 86%;
  margin: 0 auto;

  aspect-ratio: 16 / 10;

  padding: 9px;

  border-radius: 20px 20px 10px 10px;

  background:
    linear-gradient(
      145deg,
      #35383d,
      #101216 44%,
      #2e3136
    );

  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.22),
    inset 0 -1px 1px rgba(0, 0, 0, 0.85);
}

.laptop-screen::after {
  content: "";

  position: absolute;
  top: 5px;
  left: 50%;

  width: 4px;
  height: 4px;

  border-radius: 50%;

  background: #050505;

  transform: translateX(-50%);
}

.demo-browser {
  width: 100%;
  height: 100%;

  overflow: hidden;

  border-radius: 12px 12px 5px 5px;

  background:
    radial-gradient(
      circle at 75% 22%,
      rgba(104, 120, 162, 0.25),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      #16213f,
      #0b1020 62%
    );
}

.demo-browser-bar {
  height: 28px;

  padding-left: 12px;

  display: flex;
  align-items: center;
  gap: 5px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.06);

  background: rgba(7, 11, 20, 0.42);
}

.demo-browser-bar span {
  width: 5px;
  height: 5px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.28);
}

.demo-site {
  height: calc(100% - 28px);

  padding: clamp(34px, 4vw, 55px);

  display: flex;
  flex-direction: column;
  justify-content: center;

  color: #fff;
}

.demo-site p {
  margin: 0 0 18px;

  font-size: 0.49rem;
  letter-spacing: 0.21em;

  opacity: 0.57;
}

.demo-site h2 {
  width: 78%;

  margin: 0;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: clamp(1.7rem, 2.8vw, 3rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.demo-site h2 span {
  display: block;
  color: #b7c0d9;
}

.demo-site-lines {
  width: 50%;

  margin-top: 26px;

  display: grid;
  gap: 7px;
}

.demo-site-lines span {
  display: block;

  height: 4px;

  border-radius: 50px;

  background: rgba(255, 255, 255, 0.12);
}

.demo-site-lines span:nth-child(2) {
  width: 83%;
}

.demo-site-lines span:nth-child(3) {
  width: 61%;
}

.demo-site-button {
  width: 72px;
  height: 24px;

  margin-top: 22px;

  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.08);
}

/* BASE LAPTOP */

.laptop-base {
  position: relative;

  width: 100%;
  height: 143px;

  margin-top: -1px;

  border-radius: 6px 6px 26px 26px;

  background:
    linear-gradient(
      155deg,
      #c6c7c5 0%,
      #f1f1ef 31%,
      #b7b8b7 66%,
      #e0e0dd 100%
    );

  clip-path:
    polygon(
      7% 0,
      93% 0,
      100% 90%,
      96% 100%,
      4% 100%,
      0 90%
    );

  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    inset 0 -4px 8px rgba(0, 0, 0, 0.1);
}

.laptop-keyboard {
  position: absolute;

  top: 13px;
  left: 11%;

  width: 78%;
  height: 62px;

  border-radius: 6px;

  opacity: 0.83;

  background:
    repeating-linear-gradient(
      90deg,
      #35373a 0 8px,
      transparent 8px 11px
    ),
    repeating-linear-gradient(
      0deg,
      #35373a 0 7px,
      transparent 7px 10px
    );
}

.laptop-trackpad {
  position: absolute;

  left: 50%;
  bottom: 15px;

  width: 33%;
  height: 45px;

  border: 1px solid rgba(60, 62, 65, 0.16);
  border-radius: 6px;

  background:
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.5),
      rgba(126, 128, 130, 0.08)
    );

  transform: translateX(-50%);
}

/* CELULAR */

.device-phone {
  position: absolute;

  right: -2px;
  bottom: 40px;

  z-index: 6;

  width: 148px;
  aspect-ratio: 0.5;

  padding: 7px;

  border-radius: 30px;

  background:
    linear-gradient(
      145deg,
      #27292d 0%,
      #090a0c 50%,
      #3b3c3f 100%
    );

  box-shadow:
    0 22px 38px rgba(14, 17, 26, 0.26),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);

  transform:
    rotate(4deg)
    translateY(6px);
}

.device-phone::before {
  content: "";

  position: absolute;
  inset: 7px;

  border-radius: 24px;

  background:
    radial-gradient(
      circle at 70% 18%,
      rgba(105, 120, 164, 0.32),
      transparent 29%
    ),
    linear-gradient(
      155deg,
      #18223f,
      #0c1120 66%
    );
}

.phone-speaker {
  position: absolute;

  top: 14px;
  left: 50%;

  z-index: 3;

  width: 37px;
  height: 5px;

  border-radius: 99px;

  background: #030405;

  transform: translateX(-50%);
}

.phone-content {
  position: absolute;
  inset: 34px 18px 22px;

  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;

  color: white;
}

.phone-symbol {
  margin-bottom: 28px;

  font-family: Georgia, serif;
  font-size: 1.7rem;

  opacity: 0.9;
}

.phone-content small {
  margin-bottom: 10px;

  font-size: 0.43rem;
  letter-spacing: 0.2em;

  opacity: 0.54;
}

.phone-content strong {
  font-family: Georgia, serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.15;
}

.phone-line {
  width: 42px;
  height: 1px;

  margin-top: 18px;

  background: rgba(255, 255, 255, 0.3);
}

/* GLASS NOTES */

.glass-note {
  position: absolute;
  z-index: 8;

  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 17px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.66),
      rgba(240, 237, 230, 0.36)
    );

  box-shadow:
    0 15px 34px rgba(24, 29, 43, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);

  backdrop-filter: blur(17px) saturate(130%);
  -webkit-backdrop-filter: blur(17px) saturate(130%);
}

.glass-note small {
  display: block;

  color: rgba(17, 24, 47, 0.56);

  font-size: 0.63rem;
  line-height: 1.2;
}

.glass-note strong {
  display: block;

  margin-top: 3px;

  color: var(--ink);

  font-size: 0.72rem;
  font-weight: 650;
}

.glass-note-top {
  top: 34px;
  right: 22px;

  min-width: 174px;

  padding: 13px 16px 13px 37px;
}

.glass-dot {
  position: absolute;

  top: 50%;
  left: 15px;

  width: 10px;
  height: 10px;

  border-radius: 50%;

  background: #25345f;

  box-shadow:
    0 0 0 5px rgba(37, 52, 95, 0.1);

  transform: translateY(-50%);
}

.glass-note-bottom {
  left: 5px;
  bottom: 57px;

  min-width: 220px;

  padding: 14px 17px;
}

/* TRANSIÇÃO */

.hero-transition {
  width: min(calc(100% - 48px), var(--container));
  min-height: 42vh;

  margin: 0 auto;
  padding: 70px 0 100px;

  display: flex;
  align-items: center;
}

.hero-transition p {
  max-width: 940px;
  margin: 0;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size: clamp(2.7rem, 5.1vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.052em;

  color: rgba(17, 24, 47, 0.3);
}

.hero-transition p span {
  color: var(--ink);
}

/* ACESSIBILIDADE */

a:focus-visible {
  outline: 3px solid rgba(31, 47, 85, 0.35);
  outline-offset: 4px;
}

/* NOTEBOOK 1366x768 */

@media (max-height: 820px) and (min-width: 901px) {
  .site-header {
    top: 12px;
    min-height: 64px;
  }

  .hero {
    min-height: 100vh;

    padding-top: 108px;
    padding-bottom: 34px;

    grid-template-columns:
      minmax(0, 0.92fr)
      minmax(475px, 1.08fr);
  }

  .hero-kicker {
    margin-bottom: 25px;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 4.55vw, 4.85rem);
  }

  .hero-description {
    margin-top: 31px;
    line-height: 1.62;
  }

  .hero-actions {
    margin-top: 31px;
  }

  .hero-stage {
    min-height: 490px;
  }

  .device-laptop {
    width: min(100%, 505px);
  }

  .laptop-base {
    height: 125px;
  }

  .device-phone {
    right: 10px;
    bottom: 28px;
    width: 126px;
  }

  .glass-note-top {
    top: 18px;
  }

  .glass-note-bottom {
    bottom: 38px;
  }
}

/* TABLET */

@media (max-width: 900px) {
  .site-header {
    width: calc(100% - 28px);
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: auto;

    grid-template-columns: 1fr;

    padding-top: 135px;
    padding-bottom: 70px;

    gap: 65px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero h1 {
    max-width: 720px;
  }

  .hero-description {
    max-width: 610px;
  }

  .hero-stage {
    width: min(100%, 680px);
    min-height: 570px;

    margin: 0 auto;
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .site-header {
    top: 10px;

    width: calc(100% - 20px);
    min-height: 58px;

    padding: 8px 8px 8px 14px;
  }

  .brand {
    width: 34px;
  }

  .header-cta {
    min-height: 41px;
    padding: 0 15px;

    font-size: 0.78rem;
  }

  .hero {
    width: calc(100% - 30px);

    padding-top: 112px;

    gap: 52px;
  }

  .hero-kicker {
    margin-bottom: 21px;

    font-size: 0.65rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 13vw, 4.25rem);
    line-height: 0.94;
  }

  .hero h1 span {
    margin-top: 9px;
  }

  .hero-description {
    margin-top: 30px;

    font-size: 0.96rem;
    line-height: 1.65;
  }

  .hero-actions {
    margin-top: 31px;

    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-stage {
    min-height: 420px;
  }

  .device-laptop {
    width: 94%;
  }

  .laptop-base {
    height: 86px;
  }

  .laptop-keyboard {
    height: 38px;
  }

  .laptop-trackpad {
    bottom: 9px;
    height: 27px;
  }

  .device-phone {
    right: 0;
    bottom: 8px;

    width: 92px;

    border-radius: 22px;
  }

  .device-phone::before {
    border-radius: 17px;
  }

  .phone-content {
    inset: 26px 12px 14px;
  }

  .phone-symbol {
    margin-bottom: 14px;
    font-size: 1.2rem;
  }

  .phone-content strong {
    font-size: 0.69rem;
  }

  .glass-note-top {
    top: -12px;
    right: 5px;

    min-width: 142px;

    padding: 10px 12px 10px 31px;
  }

  .glass-note-bottom {
    left: 0;
    bottom: 28px;

    min-width: 170px;

    padding: 10px 12px;
  }

  .glass-note strong {
    font-size: 0.58rem;
  }

  .glass-note small {
    font-size: 0.52rem;
  }

  .glass-dot {
    left: 12px;

    width: 8px;
    height: 8px;
  }

  .hero-transition {
    width: calc(100% - 30px);
    min-height: 34vh;

    padding: 55px 0 80px;
  }

  .hero-transition p {
    font-size: clamp(2.5rem, 11vw, 4rem);
  }
}

/* MOVIMENTO REDUZIDO */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
