/* =====================================================================
   GRUPO VIP — Página manual
   Paleta e valores visuais centralizados neste bloco.
   ===================================================================== */

.gv-page {
  --gv-white: #ffffff;
  --gv-white-rgb: 255, 255, 255;
  --gv-deep: #071811;
  --gv-deep-rgb: 7, 24, 17;
  --gv-green: #21a366;
  --gv-green-rgb: 33, 163, 102;
  --gv-green-dark: #087a49;
  --gv-green-dark-rgb: 8, 122, 73;
  --gv-green-light: #43c982;
  --gv-fallback: linear-gradient(145deg, #173c32 0%, #0b2119 55%, #06120d 100%);
  --gv-text-shadow: 0 3px 22px rgba(var(--gv-deep-rgb), 0.62);

  background: var(--gv-deep);
  color: var(--gv-white);
  overflow: clip;
}

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

/* O stylesheet é carregado apenas nesta manual page. */
.fixed-header {
  display: none !important;
}

.gv-hero {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  background-image: var(--gv-hero-image, var(--gv-fallback));
  background-position: 52% 32%;
  background-repeat: no-repeat;
  background-size: cover;
}

.gv-hero__overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(var(--gv-deep-rgb), 0.52) 0%, rgba(var(--gv-deep-rgb), 0.18) 33%, rgba(var(--gv-deep-rgb), 0.68) 100%),
    radial-gradient(circle at 50% 52%, rgba(var(--gv-deep-rgb), 0.04) 0%, rgba(var(--gv-deep-rgb), 0.62) 100%);
}

.gv-hero__container {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100svh;
  padding-top: max(1.5rem, env(safe-area-inset-top));
  padding-bottom: max(2.25rem, env(safe-area-inset-bottom));
}

.gv-logo {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  min-height: 52px;
  padding: 0.35rem 0.65rem;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.gv-logo:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.gv-logo img {
  display: block;
  width: auto;
  max-width: min(220px, 62vw);
  height: clamp(52px, 7vw, 76px);
  object-fit: contain;
  filter: drop-shadow(0 3px 12px rgba(var(--gv-deep-rgb), 0.42));
}

.gv-hero__content {
  align-self: center;
  justify-self: center;
  width: min(100%, 820px);
  padding: clamp(2.5rem, 10vh, 6.5rem) 0 3rem;
  text-align: center;
}

.gv-hero__title {
  max-width: 780px;
  margin: 0 auto;
  color: var(--gv-white);
  font-size: clamp(2.25rem, 7.8vw, 5rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
  text-shadow: var(--gv-text-shadow);
}

.gv-hero__description {
  max-width: 650px;
  margin: clamp(1.3rem, 3vw, 2rem) auto 0;
  color: rgba(var(--gv-white-rgb), 0.94);
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  line-height: 1.58;
  text-wrap: balance;
  text-shadow: var(--gv-text-shadow);
}

.gv-hero__action {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.75rem, 4vw, 2.6rem);
}

.gv-page .gv-button {
  --btn-bg: linear-gradient(135deg, var(--gv-green-light) 0%, var(--gv-green) 52%, var(--gv-green-dark) 100%);
  --btn-color: var(--gv-white);
  --btn-border-width: 0;
  --btn-hover-bg: linear-gradient(135deg, #55d993 0%, #28b672 52%, #06915a 100%);
  --btn-hover-color: var(--gv-white);
  --btn-font-weight: 750;
  --btn-font-size: clamp(1rem, 2.5vw, 1.16rem);
  --btn-padding-x: clamp(1.45rem, 5vw, 2.4rem);
  --btn-padding-y: 1rem;
  --btn-border-radius: 999px;
  --btn-box-shadow: 0 14px 34px rgba(var(--gv-green-rgb), 0.42);
  --btn-focus-outline-color: var(--gv-green-light);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  min-height: 56px;
  text-align: center;
  animation: gv-button-pulse 2.8s ease-in-out infinite;
  transition: transform 0.28s ease, filter 0.28s ease, box-shadow 0.28s ease;
}

.gv-page .gv-button:hover {
  box-shadow: 0 18px 44px rgba(var(--gv-green-rgb), 0.58);
  filter: saturate(1.08) brightness(1.04);
  transform: translateY(-3px) scale(1.025);
}

.gv-page .gv-button:active {
  transform: translateY(0) scale(0.98);
}

.gv-page .gv-button:focus-visible,
.gv-logo:focus-visible {
  outline: 3px solid var(--gv-green-light);
  outline-offset: 4px;
}

.gv-page .gv-button i {
  font-size: 1.35em;
}

@keyframes gv-button-pulse {
  0%,
  100% {
    box-shadow:
      0 14px 34px rgba(var(--gv-green-rgb), 0.36),
      0 0 0 0 rgba(var(--gv-green-rgb), 0.28);
  }
  50% {
    box-shadow:
      0 18px 42px rgba(var(--gv-green-rgb), 0.5),
      0 0 0 12px rgba(var(--gv-green-rgb), 0);
  }
}

.gv-intro {
  opacity: 0;
  transform: translateY(16px);
}

.gv-page.is-ready .gv-intro {
  animation: gv-intro 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--gv-intro-delay, 0s);
}

@keyframes gv-intro {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .gv-hero {
    background-position: center 34%;
  }
}

@media (min-width: 992px) {
  .gv-hero {
    background-position: center 37%;
  }

  .gv-hero__overlay {
    background:
      linear-gradient(180deg, rgba(var(--gv-deep-rgb), 0.5) 0%, rgba(var(--gv-deep-rgb), 0.14) 32%, rgba(var(--gv-deep-rgb), 0.68) 100%),
      radial-gradient(circle at 50% 50%, rgba(var(--gv-deep-rgb), 0.06) 0%, rgba(var(--gv-deep-rgb), 0.64) 100%);
  }
}

@media (min-width: 992px) and (max-height: 760px) {
  .gv-logo img {
    height: 50px;
  }

  .gv-hero__content {
    padding-top: 2rem;
    padding-bottom: 1rem;
  }

  .gv-hero__title {
    font-size: clamp(2.6rem, 6.5vw, 4.25rem);
  }

  .gv-hero__description {
    margin-top: 1rem;
  }

  .gv-hero__action {
    margin-top: 1.4rem;
  }
}

@media (max-width: 575.98px) {
  .gv-hero {
    background-position: 51% 28%;
  }

  .gv-hero__content {
    align-self: end;
    padding-top: 8rem;
    padding-bottom: 1rem;
  }

  .gv-page .gv-button {
    width: min(100%, 350px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gv-intro,
  .gv-page.is-ready .gv-intro {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .gv-page .gv-button {
    animation: none;
  }

  .gv-logo,
  .gv-page .gv-button {
    transition: none;
  }
}
