/* ==========================================================================
   Jazmin Mais · Grupo Outlet VIP
   Paleta oficial extraída dos assets da marca:
   sage #7E816B · cream #E6DED2 · charcoal #373737
   ========================================================================== */

:root {
  --sage: #7E816B;
  --sage-deep: #6B6E5A;
  --sage-shadow: #575A48;
  --cream: #E6DED2;
  --cream-soft: #EFE9DF;
  --charcoal: #373737;
  --charcoal-soft: rgba(55, 55, 55, .72);
  --cream-veil: rgba(230, 222, 210, .55);

  --font-sans: "Jost", "Century Gothic", "Futura", sans-serif;
  --font-serif: "Cormorant Garamond", "Georgia", serif;

  --container: 68rem;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- reset ---------- */

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

html { scroll-behavior: smooth; }

html, body { overflow-x: clip; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

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

a { color: inherit; }

strong { font-weight: 500; }

.nowrap { white-space: nowrap; }

.only-desktop { display: none; }

.container {
  width: min(100% - 3rem, var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 2px;
}

/* ---------- reveal on scroll ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .9s var(--ease-out) var(--d, 0s),
    transform .9s var(--ease-out) var(--d, 0s);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

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

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: var(--sage);
  color: var(--cream);
  overflow: hidden;
  padding: clamp(2.5rem, 6vh, 4rem) 1.5rem clamp(4.5rem, 10vh, 6rem);
  text-align: center;
}

/* atmosfera: luz suave + vinheta */
.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(115% 75% at 50% 0%, rgba(230, 222, 210, .14), transparent 60%),
    radial-gradient(130% 90% at 50% 115%, rgba(55, 55, 55, .28), transparent 55%);
  pointer-events: none;
}

/* grain sutil em SVG inline (sem request externo) */
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: .07;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 44rem;
}

.hero__logo {
  width: clamp(150px, 38vw, 200px);
  opacity: 0;
  animation: logo-in 1.1s var(--ease-out) forwards;
}

@keyframes logo-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__logo { animation: none; opacity: 1; }
}

.hero__title {
  margin-top: clamp(2.2rem, 5vh, 3.2rem);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .92;
  letter-spacing: .14em;
  font-size: clamp(3.2rem, 14vw, 7rem);
  text-wrap: balance;
}

.hero__title-line { display: block; }

.hero__title-line--serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: .02em;
  font-size: 1.18em;
  margin: .02em 0;
}

.hero__sub {
  margin-top: 1.6rem;
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  font-weight: 300;
  max-width: 30ch;
  text-wrap: pretty;
}

.hero__sub strong { font-weight: 600; }

.hero__date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: .1rem;
  gap: .55rem;
  margin-top: 1.7rem;
  padding: .6rem 1.25rem;
  border: 1px solid rgba(230, 222, 210, .45);
  border-radius: 999px;
  font-size: .95rem;
  letter-spacing: .06em;
}

.hero__date-icon { width: 1.05rem; height: 1.05rem; flex: none; }

.hero__cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(2rem, 5vh, 2.8rem);
}

.hero__urgency {
  margin-bottom: 1.3rem;
  font-size: .98rem;
  opacity: .92;
  max-width: 34ch;
  text-wrap: pretty;
}

.hero__urgency strong { font-weight: 600; }


/* ==========================================================================
   BOTÕES
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: clamp(1.1rem, 3.6vw, 1.3rem) clamp(1.7rem, 7.5vw, 3.35rem);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: clamp(.95rem, 3.2vw, 1.14rem);
  font-weight: 500;
  letter-spacing: clamp(.12em, .8vw, .22em);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), filter .35s;
  will-change: transform;
}

.btn__icon { width: 1.5rem; height: 1.5rem; flex: none; }

.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: translateY(0) scale(.99); transition-duration: .1s; }

.btn:hover .btn__icon { animation: icon-ring .5s var(--ease-out); }

@keyframes icon-ring {
  0%, 100% { transform: rotate(0); }
  25%      { transform: rotate(-12deg) scale(1.12); }
  60%      { transform: rotate(9deg); }
}

/* CTA verde — vivo, com respiração de brilho e sheen varrendo.
   Só transform/opacity nas animações: nada de box-shadow/left animados
   (repaint contínuo derruba o FPS da rolagem no mobile). */
.btn--green {
  background: linear-gradient(165deg, #64825A 0%, #4B6642 55%, #3E5638 100%);
  color: #F3EEE4;
  border: 1px solid rgba(230, 222, 210, .28);
  text-shadow: 0 1px 2px rgba(38, 52, 34, .35);
  box-shadow: 0 10px 28px rgba(46, 64, 40, .38);
}

.btn--green:hover {
  filter: brightness(1.1) saturate(1.08);
  box-shadow: 0 16px 38px rgba(46, 64, 40, .46);
}

/* respiração: camada de luz interna pulsando (opacity = compositor) */
.btn--green::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(165deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 65%);
  opacity: 0;
  animation: cta-glow 2.6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes cta-glow {
  0%, 100% { opacity: 0; }
  50%      { opacity: 1; }
}

/* sheen que varre o botão (transform = compositor) */
.btn--green::before {
  content: "";
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: 0;
  width: 38%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .32), transparent);
  transform: translateX(-160%) skewX(-18deg);
  animation: cta-sheen 3.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes cta-sheen {
  0%        { transform: translateX(-160%) skewX(-18deg); }
  38%, 100% { transform: translateX(420%) skewX(-18deg); }
}

.btn--green > * { position: relative; z-index: 2; }

@media (prefers-reduced-motion: reduce) {
  .btn--green::before,
  .btn--green::after { animation: none; display: none; }
  .btn:hover .btn__icon { animation: none; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: 3rem 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
}

.footer__logo { width: 130px; opacity: .9; }

.footer__note {
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .6;
  text-wrap: balance;
}

/* ==========================================================================
   BREAKPOINTS
   ========================================================================== */

@media (min-width: 640px) {
  .only-desktop { display: inline; }
}
