:root {
  --mel: #F5B301;
  --mel-suau: #F7C93E;
  --taronja: #E8850C;
  --fosc: #2B2118;
  --fosc-70: rgba(43, 33, 24, 0.7);
  --fosc-80: rgba(43, 33, 24, 0.8);
  --fosc-90: rgba(43, 33, 24, 0.9);
  --crema: #FFF8E7;
  --crema-75: rgba(255, 248, 231, 0.75);
  --mel-50: rgba(245, 179, 1, 0.5);
  --font-titol: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-cos: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-cos);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1rem);
  line-height: 1.65;
  color: var(--crema);
  background-color: var(--fosc);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--mel);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--mel-suau);
}

:focus-visible {
  outline: 3px solid var(--mel);
  outline-offset: 3px;
  border-radius: 0.25rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.7rem 1.2rem;
  background: var(--mel);
  color: var(--fosc);
  font-weight: 600;
  border-radius: 0 0 0.6rem 0.6rem;
  transition: top 0.25s ease;
}

.skip-link:focus {
  top: 0;
  color: var(--fosc);
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background-color: var(--fosc);
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--fosc-70), var(--fosc-80) 55%, var(--fosc-90));
}

.bg__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2.4s ease-in-out;
}

.bg__img.is-active {
  opacity: 1;
}

.container {
  width: 100%;
  max-width: 70rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

main {
  flex: 1 0 auto;
}

.hero {
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding-block: clamp(3rem, 10vh, 6rem);
}

.hero__kicker {
  margin: 0 0 0.75rem;
  font-family: var(--font-titol);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mel);
}

.hero__title {
  margin: 0;
  font-family: var(--font-titol);
  font-weight: 700;
  font-size: clamp(2.8rem, 2rem + 6vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 24px rgba(43, 33, 24, 0.55);
}

.hero__tld {
  color: var(--mel);
}

.hero__subtitle {
  max-width: 44rem;
  margin: 1.25rem 0 0;
  font-size: clamp(1.1rem, 1rem + 0.8vw, 1.5rem);
  line-height: 1.5;
  color: var(--crema-75);
  text-shadow: 0 2px 14px rgba(43, 33, 24, 0.6);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.9rem;
  margin: 2.25rem 0 0;
  font-family: var(--font-titol);
  font-size: clamp(1.05rem, 0.95rem + 0.8vw, 1.4rem);
  text-shadow: 0 2px 14px rgba(43, 33, 24, 0.6);
}

.hero__email {
  font-weight: 600;
  color: var(--mel);
  text-decoration-color: var(--mel-50);
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.hero__email:hover {
  color: var(--mel-suau);
  text-decoration-color: currentColor;
}

.hero__sep {
  color: var(--taronja);
}

.hero__friend {
  font-weight: 500;
  font-size: 0.92em;
  color: var(--crema-75);
}

.hero__friend-icon {
  display: inline-block;
  width: 6em;
  height: 6em;
  margin-inline-end: 0.45rem;
  vertical-align: middle;
  border-radius: 50%;
  filter: drop-shadow(0 2px 6px rgba(43, 33, 24, 0.55));
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero__friend:hover .hero__friend-icon {
  transform: scale(1.06) rotate(-4deg);
}

.hero__friend a {
  color: var(--mel);
  text-decoration-color: var(--mel-50);
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.hero__friend a:hover {
  color: var(--mel-suau);
  text-decoration-color: currentColor;
}
