:root {
  --red: #990e0e;
  --black: #050505;
  --white: #f7f6f4;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Google Sans", "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--black);
  background: var(--white);
}

body {
  overflow-x: hidden;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  isolation: isolate;
  background-image: url("assets/fundo-afabino.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(247, 246, 244, 0.18) 0%,
    rgba(247, 246, 244, 0.08) 46%,
    rgba(247, 246, 244, 0.02) 100%
  );
  pointer-events: none;
}

.header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  padding: 42px 84px 0;
}

.logo img {
  width: 270px;
  height: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-top: 18px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.nav a {
  color: var(--black);
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav a:hover {
  color: var(--red);
}

.nav span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--red);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(690px, calc(100% - 48px));
  margin-left: 96px;
  margin-top: 145px;
}

.pre-title {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}

.pre-title i {
  display: block;
  width: 72px;
  height: 1px;
  background: var(--red);
}

.pre-title p {
  margin: 0;
  font-size: 27px;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(74px, 8.8vw, 142px);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.075em;
}

h1 span {
  color: var(--red);
}

h1 .dot {
  color: var(--red);
  letter-spacing: -0.1em;
}

.description {
  margin: 0;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.13;
  letter-spacing: -0.045em;
}

.highlight {
  margin: 20px 0 86px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -0.045em;
}

.buttons {
  display: flex;
  gap: 28px;
}

.buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 198px;
  min-height: 54px;
  padding: 16px 26px;
  border: 1px solid rgba(5, 5, 5, 0.9);
  color: var(--red);
  background: transparent;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.025em;
  transition: all 0.25s ease;
}

.buttons a:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
}

@media (max-width: 1180px) {
  .header {
    padding: 34px 36px 0;
  }

  .logo img {
    width: 220px;
  }

  .hero-content {
    margin-left: 48px;
    margin-top: 120px;
  }

  .description,
  .highlight {
    font-size: 22px;
  }

  .buttons {
    gap: 16px;
  }

  .buttons a {
    min-width: 160px;
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: 100svh;
    background-position: 62% center;
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(247, 246, 244, 0.72);
  }

  .header {
    padding: 28px 24px 0;
    align-items: center;
  }

  .logo img {
    width: 190px;
  }

  .nav {
    display: none;
  }

  .hero-content {
    width: calc(100% - 48px);
    margin: 110px 24px 0;
  }

  .pre-title p {
    font-size: 22px;
  }

  .pre-title i {
    width: 48px;
  }

  h1 {
    font-size: clamp(64px, 17vw, 96px);
  }

  .description,
  .highlight {
    font-size: 19px;
    line-height: 1.22;
  }

  .highlight {
    margin-bottom: 42px;
  }

  .desktop-only {
    display: none;
  }

  .buttons {
    flex-direction: column;
    width: min(100%, 340px);
  }

  .buttons a {
    width: 100%;
  }
}
