:root {
  --color-gold: #c79a4b;
  --color-gold-dark: #a87f3b;
  --color-bg: #f3f3f1;
  --color-bg-alt: #e9e3d8;
  --color-text: #1f1a17;
  --color-white: #ffffff;
  --color-overlay-top: rgba(0, 0, 0, 0.38);
  --color-overlay-bottom: rgba(0, 0, 0, 0.58);

  --container-width: 1240px;
  --content-width: 760px;

  --radius-pill: 999px;
  --transition: 260ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: "Inter", sans-serif;
}

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

a {
  text-decoration: none;
}

button {
  font: inherit;
  border: 0;
}

/* =========================
   HERO
========================= */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
  background: #0f0f0f;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* ajuste fino de enquadramento do vídeo */
  object-position: center center;
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.60) 0%,
      rgba(0, 0, 0, 0.66) 30%,
      rgba(0, 0, 0, 0.70) 55%,
      rgba(0, 0, 0, 0.82) 100%
    );
}

.hero__overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(199, 154, 75, 0.10), transparent 38%);
  pointer-events: none;
}

.hero__shell {
  position: relative;
  z-index: 3;
  width: min(100% - 32px, var(--container-width));
  height: 100%;
  margin: 0 auto;

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

.hero__content {
  width: 100%;
  max-width: var(--content-width);
  max-height: 100%;
  padding:
    clamp(88px, 9vh, 120px)
    0
    clamp(90px, 10vh, 120px);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vh, 22px);

  text-align: center;
  color: var(--color-white);
}

.hero__brand {
  flex: 0 0 auto;
}

.hero__logo {
  width: clamp(82px, 100vw, 120px);
  height: auto;
  opacity: 0.98;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.22));
}

.hero__copy {
  width: 100%;
  display: grid;
  gap: clamp(12px, 1.8vh, 18px);
  justify-items: center;
}

.hero__eyebrow {
  margin: 0;
  font-size: clamp(0.72rem, 0.9vw, 0.92rem);
  line-height: 1.2;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.hero__title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 6.3vw, 4rem);
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero__text {
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  text-wrap: balance;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 54px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition:
    transform var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--color-gold);
  color: #1a1410;
  box-shadow: 0 12px 28px rgba(199, 154, 75, 0.24);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--color-gold-dark);
}

.btn--secondary {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(6px);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  color: #f6ead5;
  border-color: rgba(199, 154, 75, 0.72);
  background: rgba(199, 154, 75, 0.12);
}

/* =========================
   AJUSTES RESPONSIVOS
========================= */

@media (max-width: 991px) {
  .hero__video {
    object-position: center center;
  }

  .hero__content {
    max-width: 720px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 100vh;
    height: 100svh;
    height: 100dvh;
  }

  .hero__shell {
    width: min(100% - 24px, var(--container-width));
  }

  .hero__content {
    padding:
      max(78px, env(safe-area-inset-top) + 28px)
      0
      max(92px, env(safe-area-inset-bottom) + 54px);
    gap: 14px;
  }

  .hero__logo {
    width: clamp(76px, 100vw, 94px);
  }

  .hero__eyebrow {
    font-size: 0.74rem;
    letter-spacing: 0.18em;
  }

  .hero__text {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .hero__actions {
    width: 100%;
    gap: 12px;
  }

  .btn {
    width: 100%;
    min-width: unset;
    min-height: 52px;
    padding: 14px 18px;
  }
}

@media (max-width: 420px) {
  .hero__content {
    padding-top: max(72px, env(safe-area-inset-top) + 22px);
    padding-bottom: max(88px, env(safe-area-inset-bottom) + 48px);
  }

  .hero__text {
    font-size: 0.94rem;
  }
}

@media (min-aspect-ratio: 16/8) {
  .hero__video {
    object-position: center 42%;
  }
}

@media (max-aspect-ratio: 4/5) {
  .hero__video {
    object-position: center center;
  }

  .hero__overlay {
    background:
      linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.42) 0%,
        rgba(0, 0, 0, 0.46) 28%,
        rgba(0, 0, 0, 0.54) 62%,
        rgba(0, 0, 0, 0.66) 100%
      );
  }
}

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

  .btn {
    transition: none;
  }
}