:root {
  --brand-red: #a61b20;
  --brand-red-deep: #6e1014;
  --brand-cream: #fffbd5;
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebe57;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Manrope", "Segoe UI", sans-serif;
}

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

html,
body {
  min-height: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--brand-cream);
  background: var(--brand-red-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem) 1.25rem;
  overflow: hidden;
}

.bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bg__photo {
  position: absolute;
  inset: 0;
  background:
    url("assets/bg/living-room.jpg") center / cover no-repeat;
  filter: grayscale(0.15) contrast(1.05) brightness(0.7);
  transform: scale(1.04);
}

.bg__tint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(110, 16, 20, 0.82) 0%,
      rgba(166, 27, 32, 0.88) 45%,
      rgba(90, 12, 16, 0.92) 100%
    );
  mix-blend-mode: multiply;
}

.bg__tint::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(166, 27, 32, 0.55);
}

.bg__lines {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background: repeating-linear-gradient(
    -32deg,
    transparent 0,
    transparent 7px,
    rgba(255, 251, 213, 0.35) 7px,
    rgba(255, 251, 213, 0.35) 8px
  );
  pointer-events: none;
}

.content {
  position: relative;
  z-index: 1;
  width: min(100%, 40rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: rise 0.9s ease-out both;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.brand__mark {
  width: clamp(4.5rem, 12vw, 5.5rem);
  height: auto;
  border-radius: 0.35rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  animation: fade-in 1s ease-out both;
}

.brand__name {
  margin-top: 0.35rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.6rem, 8vw, 3.6rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--brand-cream);
  text-indent: 0.18em;
}

.brand__category {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(0.72rem, 2vw, 0.85rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(255, 251, 213, 0.88);
  text-indent: 0.42em;
}

.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: min(100%, 16rem);
  margin: 1.35rem 0 1.1rem;
}

.rule--footer {
  margin: 0 0 0.85rem;
  width: min(100%, 12rem);
  opacity: 0.75;
}

.rule__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 251, 213, 0.7),
    transparent
  );
}

.rule__diamond {
  width: 0.45rem;
  height: 0.45rem;
  background: var(--brand-cream);
  transform: rotate(45deg);
  flex-shrink: 0;
  opacity: 0.9;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 9vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--brand-cream);
  animation: fade-in 1s 0.15s ease-out both;
}

.hero__tagline {
  margin-top: 0.85rem;
  max-width: 28rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1rem, 2.8vw, 1.2rem);
  line-height: 1.45;
  color: rgba(255, 251, 213, 0.95);
}

.hero__copy {
  margin-top: 1rem;
  max-width: 26rem;
  font-size: clamp(0.88rem, 2.4vw, 0.98rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 251, 213, 0.82);
}

.whatsapp {
  margin-top: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.15rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  animation: fade-in 1s 0.3s ease-out both;
}

.whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
}

.whatsapp:focus-visible {
  outline: 2px solid var(--brand-cream);
  outline-offset: 3px;
}

.whatsapp__icon {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
}

.footer {
  margin-top: clamp(2.4rem, 6vh, 3.4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__domain {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 251, 213, 0.62);
  text-indent: 0.28em;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .page {
    padding-block: 2rem;
  }

  .hero__copy {
    max-width: 22rem;
  }

  .whatsapp {
    width: 100%;
    max-width: 18rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .content,
  .brand__mark,
  .hero__title,
  .whatsapp {
    animation: none;
  }

  .whatsapp:hover {
    transform: none;
  }
}
