/* =====================================================================
   SHINE HOME — Experiência cinematográfica (Etapa 2)
   ===================================================================== */

:root {
  --moldura:  #1F1A15;
  --base:     #FDF9F0;
  --dourado:  #B8935A;
  --texto:    #3A2E22;
  --creme:    #F0DEB0;

  --serif: 'Fraunces', Georgia, serif;
  --sans:  'Inter', -apple-system, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--moldura);
  color: var(--texto);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; }
p { margin: 0; }

.label {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--dourado);
}

.hairline {
  display: block;
  width: 64px; height: 1px;
  background: var(--dourado);
  border: 0; margin: 24px auto;
}
.hairline--left { margin-left: 0; }

.btn-gold {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--base);
  background: transparent;
  border: 1px solid var(--dourado);
  padding: 18px 42px;
  transition: background-color .45s ease, color .45s ease;
}
.btn-gold:hover { background: var(--dourado); color: var(--moldura); }
.btn-gold--dark { color: var(--texto); }
.btn-gold--dark:hover { color: var(--base); }

/* =====================================================================
   HERO CINEMATOGRÁFICO — vídeo scrubbed pelo scroll
   ===================================================================== */
#hero-cine { position: relative; background: #000; height: 100vh; height: 100svh; }

.hero-cine__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.hero-cine__video,
.hero-cine__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-cine__poster { z-index: 0; }
.hero-cine__video  { z-index: 1; }

/* intro: preto total por um instante, e a cena EMERGE devagar do escuro
   (curva ease-in: começa quase imperceptível e revela aos poucos) */
.hero-cine__sticky { background: #000; }
.hero-cine__poster,
.hero-cine__video {
  opacity: 0;
  transition: opacity 4.5s cubic-bezier(.55, .06, .55, .94);
  transition-delay: .7s;
}
#hero-cine.media-in .hero-cine__poster,
#hero-cine.media-in .hero-cine__video { opacity: 1; }

/* seta dourada, piscar sutil, indica rolagem no estado inicial */
.hero-arrow {
  position: absolute;
  z-index: 3;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  color: var(--dourado);
  opacity: 0;
  transition: opacity .8s ease;
  pointer-events: none;
}
.hero-arrow svg { display: block; width: 100%; height: 100%; }
.hero-arrow.is-on { animation: arrowBlink 2.6s ease-in-out infinite; }
@keyframes arrowBlink {
  0%, 100% { opacity: .95; }
  50%      { opacity: .3; }
}

.hero-cine__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  padding: 0 24px;
}

.hero-text {
  position: absolute;
  left: 24px;
  right: 24px;
  margin: 0 auto;
  max-width: 980px;
  opacity: 0;
  transform: translateY(22px);
  will-change: opacity, transform;
  transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.22,1,.36,1);
}
.hero-text.is-on { opacity: 1; transform: translateY(0); }

/* Faixas que não cruzam a vela (centro do quadro):
   frases na faixa superior, dica de rolagem na faixa inferior */
.hero-text--tagline,
.hero-text--manifesto { top: 7%; }
.hero-text--hint { bottom: 7%; }

/* scrim suave e localizado, só atrás da área do texto */
.hero-text::before {
  content: "";
  position: absolute;
  inset: -70% -20%;
  background: radial-gradient(ellipse, rgba(18, 12, 6, 0.42) 0%, rgba(18, 12, 6, 0) 66%);
  z-index: -1;
  pointer-events: none;
}
.hero-text h1, .hero-text p.big {
  font-family: var(--serif);
  color: var(--base);
  font-size: clamp(1.5rem, 3.4vw, 2.7rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.35;
  text-shadow: 0 1px 6px rgba(18,12,6,.65), 0 2px 26px rgba(18,12,6,.45);
}
.hero-text .label { display: block; margin-bottom: 18px; }

.hero-text--hint p {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--creme);
}
.hero-text--hint .scroll-line {
  width: 1px; height: 56px;
  margin: 22px auto 0;
  background: linear-gradient(to bottom, var(--dourado), transparent);
}

/* véu de transição para o off-white */
.hero-cine__fade {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: var(--base);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}
.hero-cine__fade.is-done { opacity: 1; }

/* =====================================================================
   CORPO — off-white
   ===================================================================== */
.site-body { background: var(--base); position: relative; z-index: 5; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.section { padding: 120px 0; }

/* ---------- Manifesto ---------- */
#manifesto { text-align: center; }
#manifesto .manifesto-quote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--texto);
  max-width: 880px;
  margin: 0 auto;
}
#manifesto .manifesto-quote em { color: var(--dourado); font-style: italic; }

/* ---------- Produtos: linhas editoriais ---------- */
#produtos .section-head { text-align: center; margin-bottom: 90px; }
#produtos h2 { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--texto); }

.prod-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 110px;
}
.prod-row:last-child { margin-bottom: 0; }

.prod-row__media { position: relative; overflow: hidden; }
.prod-row__media .main {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transform: scale(1.06);
  will-change: transform;
}
.prod-row__thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.prod-row__thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.prod-row__thumbs img:hover { transform: scale(1.03); }

.prod-row__info .num {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--dourado);
  letter-spacing: 0.2em;
}
.prod-row__info h3 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 14px 0 20px;
  color: var(--texto);
}
.prod-row__info p { max-width: 46ch; font-size: 1rem; color: var(--texto); }

/* ---------- Para quem ---------- */
#para-quem { background: var(--moldura); color: var(--base); }
#para-quem .section-head { text-align: center; margin-bottom: 80px; }
#para-quem h2 { color: var(--base); font-size: clamp(2rem, 4vw, 3rem); }

.publicos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(184,147,90,.35);
  border-top: 1px solid rgba(184,147,90,.35);
  border-bottom: 1px solid rgba(184,147,90,.35);
}
.publico {
  background: var(--moldura);
  padding: 64px 48px;
  text-align: center;
}
.publico h3 { color: var(--creme); font-size: 1.5rem; margin-bottom: 18px; }
.publico p { color: rgba(253,249,240,.82); max-width: 52ch; margin: 0 auto; }

#para-quem .cta { text-align: center; margin-top: 80px; }

/* ---------- Criadora ---------- */
#criadora .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
.criadora-foto { position: relative; overflow: hidden; }
.criadora-foto img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transform: scale(1.06);
  will-change: transform;
}
.criadora-foto::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(184,147,90,.55);
  pointer-events: none;
}
#criadora blockquote {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.8;
  color: var(--texto);
  margin: 0 0 28px;
}
#criadora .assinatura {
  font-family: var(--serif);
  font-style: italic;
  color: var(--dourado);
  font-size: 1.1rem;
}

/* ---------- Redes ---------- */
#redes { text-align: center; border-top: 1px solid rgba(184,147,90,.25); }
#redes h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--texto); }
#redes .desc { max-width: 46ch; margin: 22px auto 40px; }
.social-row { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.social-row a {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--texto);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--dourado);
  transition: color .4s ease;
}
.social-row a:hover { color: var(--dourado); }

/* ---------- Rodapé ---------- */
#rodape {
  background: var(--moldura);
  color: var(--base);
  text-align: center;
  padding: 80px 28px 60px;
}
#rodape .logo-footer { height: 68px; width: auto; margin: 0 auto 28px; filter: invert(1) brightness(1.5); opacity: .92; }
#rodape .assinatura {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--creme);
  margin-bottom: 30px;
}
#rodape nav { display: flex; justify-content: center; gap: 36px; margin-bottom: 34px; }
#rodape nav a {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--creme);
}
#rodape .copy { font-size: 0.7rem; letter-spacing: .08em; color: rgba(253,249,240,.55); }

/* =====================================================================
   REVEAL (IntersectionObserver)
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =====================================================================
   RESPONSIVO
   ===================================================================== */
@media (min-width: 760px) {
  .publicos { grid-template-columns: 1fr 1fr; }
  .prod-row { grid-template-columns: 1fr 1fr; gap: 72px; }
  .prod-row--invert .prod-row__media { order: 2; }
  .prod-row--invert .prod-row__info  { order: 1; }
  #criadora .grid { grid-template-columns: 5fr 6fr; gap: 88px; }
}

@media (max-width: 759px) {
  .section { padding: 84px 0; }
  .publico { padding: 48px 28px; }
}

/* Mobile: hero vira vídeo em loop (sem scrub) — sem pista de 400vh */
@media (max-width: 820px) {
  #hero-cine { height: 100svh !important; }
}

/* =====================================================================
   PAGER / CAPÍTULOS PÓS-HERO + VITRINE HORIZONTAL DE PRODUTOS
   ===================================================================== */

/* cada tema ocupa 1 viewport (desktop); o pager salta de um para o outro */
.panel { min-height: 100vh; display: flex; align-items: center; }
.panel.section { padding-top: 0; padding-bottom: 0; }

/* ---- Produtos: filmstrip horizontal ---- */
.panel--horizontal {
  display: block;
  height: 100vh;
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
  position: relative;
}
.prod-track {
  display: flex;
  height: 100vh;
  width: 400vw;
  will-change: transform;
}
.prod-panel {
  flex: 0 0 100vw;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6vw;
  padding: 0 9vw;
  box-sizing: border-box;
}
.prod-panel__media { width: 38%; max-width: 460px; }
.prod-panel__media .main {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
}
.prod-panel__thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.prod-panel__thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.prod-panel__thumbs img:hover { transform: scale(1.03); }
.prod-panel__info { width: 38%; max-width: 420px; }
.prod-panel__info .num { font-family: var(--serif); font-size: .95rem; color: var(--dourado); letter-spacing: .2em; }
.prod-panel__info h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 14px 0 18px; color: var(--texto); }
.prod-panel__info p { max-width: 44ch; color: var(--texto); }

/* rótulo e contador fixos sobre a vitrine */
.prod-head {
  position: absolute; top: 40px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  pointer-events: none;
  padding: 14px 30px;
  background: rgba(253, 249, 240, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(184, 147, 90, 0.22);
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(31, 26, 21, 0.06);
}
.prod-count { font-family: var(--serif); color: var(--dourado); letter-spacing: .12em; font-size: .95rem; }
.prod-count b { font-size: 1.15rem; }
.prod-count i { font-style: normal; opacity: .55; }

/* dica de rolagem lateral (seta dourada piscando) */
.prod-hint {
  position: absolute; bottom: 38px; right: 48px; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  color: var(--dourado); font-family: var(--sans);
  font-size: .66rem; letter-spacing: .26em; text-transform: uppercase;
  animation: hintBlinkX 2.6s ease-in-out infinite;
  transition: opacity .5s ease;
}
.prod-hint svg { width: 26px; height: 26px; }
.prod-hint.is-hidden { opacity: 0; }
@keyframes hintBlinkX { 0%,100% { opacity: .9; } 50% { opacity: .35; } }

/* ---- Rodapé como último capítulo ---- */
#rodape.panel { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 0 28px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.footer-follow { max-width: 46ch; text-align: center; color: rgba(253,249,240,.82); }
#rodape .social-row { display: flex; gap: 40px; margin: 8px 0 6px; }
#rodape .social-row a {
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; color: var(--creme);
  padding-bottom: 6px; border-bottom: 1px solid var(--dourado);
}

/* ---- Mobile: sem pager, tudo empilhado vertical ---- */
@media (max-width: 820px) {
  .panel { min-height: auto; display: block; }
  .panel.section { padding-top: 84px; padding-bottom: 84px; }
  .panel--horizontal { height: auto; overflow: visible; }
  .prod-track { flex-direction: column; width: auto; height: auto; transform: none !important; }
  .prod-panel { flex-basis: auto; width: auto; height: auto; flex-direction: column; gap: 26px; padding: 64px 24px; }
  .prod-panel__media, .prod-panel__info { width: 100%; max-width: none; }
  .prod-head { position: static; margin-bottom: 20px; padding-top: 40px; }
  .prod-hint { display: none; }
  #rodape.panel { min-height: auto; padding: 72px 24px; }
}

/* centralização robusta dos capítulos verticais */
.panel { justify-content: center; }
.panel > .wrap { width: 100%; }
@media (max-width: 820px) { .panel { display: block; } }

/* =====================================================================
   CTA WHATSAPP — botão de destaque (dourado, ícone, pulsar sutil)
   ===================================================================== */
.btn-wpp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--moldura);
  background: var(--dourado);
  border: none;
  border-radius: 999px;
  padding: 18px 40px;
  box-shadow: 0 10px 30px rgba(184, 147, 90, 0.35);
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, background-color .35s ease;
  animation: wppPulse 2.4s ease-in-out infinite;
}
.btn-wpp__icon { width: 22px; height: 22px; flex: 0 0 auto; }
.btn-wpp span { display: inline-block; }
.btn-wpp:hover {
  background: #c9a468;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 40px rgba(184, 147, 90, 0.45);
  animation-play-state: paused;
}

/* pulsar: leve respiração de escala + halo dourado */
@keyframes wppPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(184,147,90,.30), 0 0 0 0 rgba(184,147,90,.45); }
  50%      { box-shadow: 0 12px 34px rgba(184,147,90,.38), 0 0 0 14px rgba(184,147,90,0); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-wpp { animation: none; }
}

/* =====================================================================
   RODAPÉ — refinamentos: logo maior, redes em ícones, copyright na base
   ===================================================================== */
#rodape.panel { position: relative; }              /* base para o copyright fixo */

/* redes sociais como ícones circulares delicados */
#rodape .social-icons { display: flex; justify-content: center; gap: 20px; margin: 6px 0 4px; }
#rodape .social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border: 1px solid rgba(184, 147, 90, 0.55);
  border-radius: 999px;
  color: var(--creme);
  transition: background-color .35s ease, color .35s ease, transform .35s cubic-bezier(.22,1,.36,1);
}
#rodape .social-icons a svg { width: 22px; height: 22px; display: block; }
#rodape .social-icons a:hover {
  background: var(--dourado);
  color: var(--moldura);
  transform: translateY(-2px);
}

/* copyright colado na parte inferior do site */
#rodape .copy {
  position: absolute;
  left: 0; right: 0; bottom: 26px;
  text-align: center;
  font-size: 0.7rem; letter-spacing: .08em;
  color: rgba(253, 249, 240, 0.5);
  margin: 0;
}

@media (max-width: 820px) {
  #rodape.panel { padding-bottom: 64px; }
  #rodape .copy { bottom: 22px; }
}
