/* ==========================================================================
   LP Capa Negra - Sabores Seletos
   Tipografia e espacamentos calibrados sobre a peca aprovada (base 1080px)
   ========================================================================== */

/* ---------- Fontes ----------
   Titulos: Giane (familia licenciada). Coloque os arquivos em /fonts/ com os nomes
   abaixo e o @font-face passa a valer sozinho; sem eles, a pilha cai em Cormorant
   Garamond, que tem o mesmo desenho de serifa fina e alto contraste.
   Textos: Inter.
   ------------------------------------------------------------------------------ */
@font-face {
  font-family: 'Giane';
  src: url('/fonts/giane-light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Giane';
  src: url('/fonts/giane-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Giane';
  src: url('/fonts/giane-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Giane';
  src: url('/fonts/giane-semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bebas Neue';
  src: url('/fonts/bebas-neue.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #21273f;
  --hero-overlay: 20, 13, 2;
  --olive: #5b5234;
  --preto: #070502;
  --roxo-claro: #372f38;
  --roxo-escuro: #231f23;
  --bege: #e8e3d4;
  --bege-card: #ebe4d7;
  --gold: #f1e3b6;
  --gold-suave: #eee3bb;
  --branco: #ffffff;
  --texto-escuro: #231f23;
  --titulo-escuro: #070502;
  --momento-titulo: #0d0a0a;
  --momento-texto: #372f38;

  /* dourado com corpo, para filetes e realces */
  --gold-claro: #f7ecc8;
  --gold-medio: #c9a961;
  --gold-escuro: #8a6f3a;
  --filete: linear-gradient(90deg, rgba(201, 169, 97, 0) 0%, rgba(201, 169, 97, 0.75) 50%, rgba(201, 169, 97, 0) 100%);

  --font-base: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-display: 'Giane', Georgia, 'Times New Roman', serif;
  --font-cond: 'Bebas Neue', 'Haettenschweiler', 'Arial Narrow', sans-serif;

  --wrap: 1080px;
  --transicao: 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Ornamento: filete com losango ao centro ---------- */
.ornamento {
  position: relative;
  display: block;
  width: 168px;
  height: 1px;
  margin: 22px auto 0;
  background: var(--filete);
}
.ornamento::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  margin: -3px 0 0 -3px;
  transform: rotate(45deg);
  background: var(--gold-medio);
}
.ornamento--esq { margin-left: 0; background: linear-gradient(90deg, rgba(201,169,97,0.75) 0%, rgba(201,169,97,0) 100%); }
.ornamento--esq::after { left: 0; margin-left: -2px; }
.ornamento--escuro { background: linear-gradient(90deg, rgba(138,111,58,0) 0%, rgba(138,111,58,0.85) 50%, rgba(138,111,58,0) 100%); }
.ornamento--escuro::after { background: var(--gold-escuro); }

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--branco);
  background: var(--bege);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
strong { font-weight: 700; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   BARRA HECKE
   ========================================================================== */
.topbar {
  position: relative;
  background: var(--navy);
  height: 116px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 25px;
}
.topbar::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--filete);
}
.topbar__logo { width: 63px; height: auto; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: #140d02;
}
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #140d02 url('/img/hero-vinhedo-poster.jpg?v=2') no-repeat center 46% / cover;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  display: block;
}
.hero__bg::after {   /* veu escuro por cima do video, como na arte */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg,
      rgba(var(--hero-overlay), 0.45) 0%,
      rgba(var(--hero-overlay), 0) 30%,
      rgba(var(--hero-overlay), 0) 70%,
      rgba(var(--hero-overlay), 0.5) 100%),
    linear-gradient(90deg,
      rgba(var(--hero-overlay), 0.94) 0%,
      rgba(var(--hero-overlay), 0.86) 22%,
      rgba(var(--hero-overlay), 0.62) 48%,
      rgba(var(--hero-overlay), 0.55) 100%);
}
.hero__inner {
  position: relative;
  min-height: 540px;
  display: grid;
  grid-template-columns: 391px 1fr;
  align-items: center;
  padding: 72px 24px 78px 114px;
}
.hero__brand img { width: 325px; height: auto; }

.hero__title {
  font-family: var(--font-display);
  font-size: 49px;
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.hero__title::after {
  content: '';
  display: block;
  width: 120px;
  height: 1px;
  margin-top: 20px;
  background: linear-gradient(90deg, rgba(201,169,97,0.85) 0%, rgba(201,169,97,0) 100%);
}
.hero__lead {
  font-size: 20.8px;
  line-height: 30px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 300;
}
.hero__lead strong { color: #fff; font-weight: 600; }

/* ==========================================================================
   A ORIGEM FAZ A DIFERENCA  (bloco dividido + garrafas com parallax)
   ========================================================================== */
.origem {
  position: relative;
  background: var(--olive);
  padding: 92px 0 132px;
  overflow: hidden;
}
.andes {                     /* o desenho vive aqui dentro, em duas camadas */
  display: block;
  width: 100%;
  height: 100%;
}

.origem__montanha {          /* cordilheira dos Andes ao fundo, com parallax */
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;                 /* a base fica exatamente no fim da secao */
  height: 56%;               /* e os picos sobem mais */
  opacity: 0.55;
  pointer-events: none;
  /* o topo desvanece para os picos nao cruzarem o texto */
  transform-origin: 50% 100%;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .origem__montanha { transform: none !important; }
}

.origem::before,
.origem::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--filete);
}
.origem::before { top: 0; }
.origem::after { bottom: 0; }
.origem__topo {
  display: grid;
  grid-template-columns: 452px 1fr;
  gap: 46px;
  align-items: center;
  margin-bottom: 58px;
}

/* --- palco das garrafas --- */
.origem__palco { position: relative; }
.origem__garrafas {
  position: relative;
  height: 430px;
  --p: 0;          /* progresso do scroll: 0 = empilhadas, 1 = lado a lado */
  --mx: 0;         /* mouse -1 a 1 */
  --my: 0;
}
.origem__garrafas::after {   /* sombra de apoio no chao */
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: calc(180px + 200px * var(--p));
  height: 26px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 70%);
  transition: width 0.15s linear;
}
.garrafa-link {
  position: absolute;
  bottom: 0;
  left: 50%;
  height: 100%;
  display: block;
  cursor: pointer;
  transform-origin: 50% 100%;
  transform:
    translate3d(calc(-50% + var(--tx, 0px) + var(--px, 0px)), calc(var(--ty, 0px) + var(--py, 0px)), 0)
    rotate(var(--rot, 0deg))
    scale(var(--sc, 1));
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}
.garrafa-link:focus-visible { outline: none; }
.garrafa-link:focus-visible .garrafa {
  filter:
    drop-shadow(0 0 0 var(--gold-claro)) drop-shadow(0 0 1.4px var(--gold-claro))
    drop-shadow(0 0 18px rgba(201, 169, 97, 0.85));
}

.garrafa {
  display: block;
  height: 100%;
  width: auto;
}
.garrafa-link:nth-of-type(1) { z-index: 1; }
.garrafa-link:nth-of-type(2) { z-index: 3; }
.garrafa-link:nth-of-type(3) { z-index: 2; }
.garrafa-link:hover { z-index: 5; }   /* a garrafa apontada vem para a frente */

/* contorno e brilho ao passar o mouse: o drop-shadow segue o recorte da garrafa */
.garrafa {
  transition: filter var(--transicao);
}
.garrafa-link:hover .garrafa {
  filter:
    drop-shadow(1.2px 0 0 var(--gold-claro)) drop-shadow(-1.2px 0 0 var(--gold-claro))
    drop-shadow(0 1.2px 0 var(--gold-claro)) drop-shadow(0 -1.2px 0 var(--gold-claro))
    drop-shadow(0 0 22px rgba(201, 169, 97, 0.7));
}

/* --- texto --- */
.origem__texto { padding-top: 6px; }
.origem__title {
  font-family: var(--font-display);
  font-size: 50px;
  line-height: 1.16;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.origem__title::after {
  content: '';
  display: block;
  width: 132px;
  height: 1px;
  margin-top: 20px;
  background: linear-gradient(90deg, rgba(201,169,97,0.85) 0%, rgba(201,169,97,0) 100%);
}
.origem__lead {
  font-size: 20.5px;
  line-height: 31px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  max-width: 540px;
}
.origem__lead strong { color: #fff; font-weight: 600; }
.origem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 894px;
  margin: 0 auto;
}
.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(10, 8, 4, 0.8);
  border: 1px solid rgba(201, 169, 97, 0.22);
  border-radius: 4px;
  padding: 30px 20px 30px;
  text-align: center;
  min-height: 196px;
  transition: transform var(--transicao), border-color var(--transicao), box-shadow var(--transicao);
}
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 97, 0.5);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.4);
}
.feature__title {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 82px;          /* cabe ate 3 linhas: os textos dos 3 blocos alinham */
  padding-bottom: 18px;
  font-family: var(--font-display);
  font-size: 19.5px;
  line-height: 26px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold-claro);
  margin-bottom: 0;
}
.feature__title::after {       /* filete sempre na base do bloco do titulo */
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 34px;
  height: 1px;
  transform: translateX(-50%);
  background: rgba(201, 169, 97, 0.55);
}
.feature__text {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 25px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.82);
}

/* ==========================================================================
   CHAMADA
   ========================================================================== */
.escolha {
  position: relative;
  background: var(--preto);
  padding: 66px 24px 70px;
  text-align: center;
}
.escolha__title {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 52px;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
}
.escolha__title::before,
.escolha__title::after {
  content: '';
  display: block;
  width: 160px;
  height: 1px;
  margin: 0 auto;
  background: var(--filete);
  position: relative;
}
.escolha__title::before { margin-bottom: 26px; }
.escolha__title::after  { margin-top: 26px; }

/* ==========================================================================
   LINHAS DE VINHO (RESERVA / RESERVADO)
   ========================================================================== */
.linha { position: relative; }
.linha { overflow: hidden; }
.linha--reserva {
  background: var(--roxo-claro) url('/img/gravura-vinhedo.webp?v=2') no-repeat center top / 2352px auto;
  padding: 74px 0 96px;
}
.linha--reservado {
  background: var(--roxo-escuro) url('/img/gravura-vinhedo.webp?v=2') no-repeat center bottom / 2352px auto;
  padding: 74px 0 86px;
}

.linha__title {
  position: relative;
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: 6.5px;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  margin-bottom: 12px;
}
.linha__title::after {
  content: '';
  display: block;
  width: 150px;
  height: 1px;
  margin: 20px auto 0;
  background: var(--filete);
}
.linha__sub {
  position: relative;
  font-size: 16.8px;
  line-height: 25px;
  font-weight: 300;
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 32px;
}
.linha--reserva .linha__sub { margin-bottom: 38px; }
.linha--reservado .linha__sub { margin-bottom: 29.5px; }

.vinhos {
  position: relative;
  display: grid;
  gap: 9px;
  max-width: 891px;
  margin: 0 auto;
}
.vinhos--3 { grid-template-columns: repeat(3, 1fr); }
.vinhos--4 { grid-template-columns: repeat(4, 1fr); }

.vinho {
  position: relative;
  background: #000;
  border: 1px solid rgba(201, 169, 97, 0.2);
  border-radius: 5px;
  padding: 0 10px 32px;
  margin-top: 96px;          /* espaco para a garrafa passar por cima do bloco */
  text-align: center;
  min-height: 372px;
  transition: transform var(--transicao), border-color var(--transicao), box-shadow var(--transicao);
}
.vinho:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 169, 97, 0.55);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.55);
}
.vinho__foto img { transition: transform var(--transicao), filter var(--transicao); }
.vinho:hover .vinho__foto img { transform: translateY(-8px) scale(1.03); }
.vinho__foto {
  width: 100%;
  margin: -96px auto 12px;   /* sobe a garrafa para fora do bloco */
  display: flex;
  justify-content: center;
}
.vinho__foto img {
  width: auto;
  height: 318px;
}

.vinho__nome {
  position: relative;
  font-family: var(--font-cond);
  font-size: 25px;
  line-height: 34px;      /* folga para os acentos caberem no recorte do gradiente */
  padding-top: 2px;
  font-weight: 400;
  letter-spacing: -0.2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.vinho__tipo {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.2px;
  line-height: 11.2px;
  font-weight: 500;
  letter-spacing: 2.1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 18px;
}
.vinho__tipo::before,
.vinho__tipo::after {
  content: '';
  width: 16px;
  height: 1px;
  background: rgba(201, 169, 97, 0.5);
}
.vinho__tipo span { color: var(--gold-claro); font-weight: 700; }

.vinho__desc {
  font-size: 12.6px;
  line-height: 19.5px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.76);
}

/* ==========================================================================
   VINHO E TEMPO
   ========================================================================== */
.tempo {
  background-color: var(--bege);
  background-image: url('/img/textura-papel.jpg?v=2');
  background-size: 500px 500px;
  color: var(--texto-escuro);
}
.tempo__inner {
  display: grid;
  grid-template-columns: 452px 1fr;
  align-items: start;
  min-height: 660px;
  padding: 0 24px 64px 74px;    /* folga para a assinatura nao encostar no fim */
}
.tempo__img img,
.tempo__video { width: 404px; height: auto; mix-blend-mode: multiply; }

.tempo__texto { padding-top: 72px; }
.tempo__title {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1.14;
  font-weight: 500;
  letter-spacing: 6.5px;
  text-transform: uppercase;
  color: var(--titulo-escuro);
  margin-bottom: 30px;
}
.tempo__title::after {
  content: '';
  display: block;
  width: 118px;
  height: 1px;
  margin-top: 22px;
  background: linear-gradient(90deg, rgba(138,111,58,0.85) 0%, rgba(138,111,58,0) 100%);
}
.tempo__texto p {
  font-size: 19.8px;
  line-height: 31px;
  font-weight: 300;
  color: #3a3530;
  margin-bottom: 12px;
}
.tempo__texto p strong { color: var(--titulo-escuro); font-weight: 600; }
.tempo__texto p:last-of-type { margin-bottom: 0; }

.tempo__assinatura {
  display: flex;
  align-items: flex-end;
  gap: 27px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid rgba(138, 111, 58, 0.28);
}
.tempo__assinatura img { width: 174px; height: auto; }
.tempo__slogan {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--titulo-escuro);
  white-space: nowrap;
  padding-bottom: 7px;
}

/* ==========================================================================
   CADA MOMENTO PEDE UM SABOR
   ========================================================================== */
.momentos {
  position: relative;
  background: var(--roxo-claro);
  padding: 82px 0 86px;
}
.momentos::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--filete);
}
.momentos__title {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: 5.5px;
  text-transform: uppercase;
  text-align: center;
  color: var(--bege);
  margin-bottom: 52px;
}
.momentos__title::after {
  content: '';
  display: block;
  width: 150px;
  height: 1px;
  margin: 22px auto 0;
  background: var(--filete);
}
.momentos__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
}
.momento {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bege-card);
  border: 1px solid rgba(138, 111, 58, 0.18);
  border-radius: 5px;
  padding: 0 0 30px;                /* a foto sangra ate as bordas */
  overflow: hidden;
  text-align: center;
  color: var(--momento-texto);
  min-height: 470px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  transition: transform var(--transicao), box-shadow var(--transicao), border-color var(--transicao);
}
.momento:hover { border-color: rgba(201, 169, 97, 0.5); }
.momento:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.3);
}
.momento__foto img { transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1); }
.momento:hover .momento__foto img { transform: scale(1.07); }
.momento__foto {
  position: relative;
  width: 100%;
  height: 252px;                    /* foto grande, formato retrato */
  border-radius: 0;
  overflow: hidden;
  margin: 0 0 26px;
}
.momento__foto::after {             /* desvanece a base da foto no bege do card */
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 62px;
  background: linear-gradient(180deg, rgba(235, 228, 215, 0) 0%, var(--bege-card) 100%);
}
.momento__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.momento__title-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 93px;          /* cabe os titulos de 3 linhas; todos alinham */
  padding: 0 16px 18px;
  font-family: var(--font-display);
  font-size: 14.6px;
  line-height: 23px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--momento-titulo);
  margin-bottom: 0;
}
.momento__title-card::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 34px;
  height: 1px;
  transform: translateX(-50%);
  background: rgba(138, 111, 58, 0.55);
}
.momento__texto {
  margin-top: 18px;
  padding: 0 16px;
  font-size: 15.5px;
  line-height: 23px;
  font-weight: 300;
  color: #4a4350;
}


/* ==========================================================================
   VIDEO DO EVENTO  (player proprio, tema vinho)
   ========================================================================== */
.evento {
  position: relative;
  background: var(--preto);
  padding: 88px 0 96px;
}
.evento::before,
.evento::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--filete);
}
.evento::before { top: 0; }
.evento::after { bottom: 0; }

.evento__kicker {
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 5px;
  text-transform: uppercase;
  text-align: center;
  color: var(--gold-medio);
  margin-bottom: 20px;
}
.evento__kicker::before,
.evento__kicker::after {
  content: '';
  display: inline-block;
  width: 34px;
  height: 1px;
  margin: 0 14px 4px;
  background: rgba(201, 169, 97, 0.6);
}

.evento__title {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1.24;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  text-align: center;
  color: var(--gold);
}
.evento__title::after {
  content: '';
  display: block;
  width: 150px;
  height: 1px;
  margin: 22px auto 0;
  background: var(--filete);
}
.evento__sub {
  margin: 18px auto 40px;
  font-size: 17px;
  line-height: 26px;
  font-weight: 300;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
}

/* --- moldura --- */
.player {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #0a0806;
  border: 1px solid rgba(201, 169, 97, 0.34);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.6);
}
.player__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.player__canto {              /* cantoneiras douradas, como num rotulo */
  position: absolute;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(201, 169, 97, 0.55);
  pointer-events: none;
  z-index: 3;
  transition: opacity var(--transicao);
}
.player__canto--se { top: 12px; left: 12px; border-right: 0; border-bottom: 0; }
.player__canto--sd { top: 12px; right: 12px; border-left: 0; border-bottom: 0; }
.player__canto--ie { bottom: 12px; left: 12px; border-right: 0; border-top: 0; }
.player__canto--id { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.player--tocando .player__canto { opacity: 0; }


/* --- capa com o botao de play --- */
.player__capa {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: radial-gradient(60% 60% at 50% 50%, rgba(10, 6, 4, 0.25) 0%, rgba(10, 6, 4, 0.62) 100%);
  transition: opacity var(--transicao), visibility var(--transicao);
}
.player--tocando .player__capa { opacity: 0; visibility: hidden; }

.player__botao {
  position: relative;
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 97, 0.8);
  background: rgba(18, 8, 8, 0.4);
  backdrop-filter: blur(2px);
  overflow: hidden;
  transition: transform var(--transicao), border-color var(--transicao);
}
.player__botao::before {          /* anel externo, respira no hover */
  content: '';
  position: absolute;
  inset: -13px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 97, 0.3);
  transition: inset var(--transicao), opacity var(--transicao);
}
.player__liquido {                /* o vinho enche o botao de baixo para cima */
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -60%;
  height: 92%;
  background: linear-gradient(180deg, #8e1f30 0%, #5e1220 100%);
  border-radius: 45% 45% 0 0 / 22% 22% 0 0;
  transition: bottom 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.player__seta {
  position: relative;
  width: 34px;
  height: 34px;
  margin-left: 6px;
  fill: var(--gold-claro);
  transition: fill var(--transicao);
}

.player__capa:hover .player__botao { transform: scale(1.05); border-color: var(--gold-claro); }
.player__capa:hover .player__botao::before { inset: -19px; opacity: 0.75; }
.player__capa:hover .player__liquido { bottom: -6%; }
.player__capa:hover .player__seta { fill: #fff6e0; }

.player__chamada {
  position: absolute;
  top: calc(50% + 82px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 3.4px;
  text-transform: uppercase;
  color: rgba(247, 236, 200, 0.82);
  transition: color var(--transicao), letter-spacing var(--transicao);
}
.player__capa:hover .player__chamada { color: var(--gold-claro); letter-spacing: 4.2px; }

/* --- barra de controles --- */
.player__barra-inferior {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 20px 16px;
  background: linear-gradient(180deg, rgba(6, 4, 3, 0) 0%, rgba(6, 4, 3, 0.86) 62%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transicao), transform var(--transicao);
}
.player:hover .player__barra-inferior,
.player--pausado .player__barra-inferior,
.player__barra-inferior:focus-within { opacity: 1; transform: none; }

.player__btn {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--gold-claro);
  opacity: 0.86;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.player__btn:hover { opacity: 1; transform: translateY(-1px); }
.player__btn svg { width: 21px; height: 21px; }
.player__btn svg[class^='icone-'] { display: none; }
.player__btn > svg:not([class]) { display: block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }

[data-play] .icone-play { display: block; fill: currentColor; }
.player--tocando [data-play] .icone-play { display: none; }
.player--tocando [data-play] .icone-pause { display: block; fill: currentColor; }

.player__btn--taca { width: 30px; }
.taca-volume { display: block; width: 22px; height: 24px; }
.taca-volume__vidro {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linejoin: round;
  opacity: 0.9;
}
.taca-volume__vinho {            /* o nivel acompanha o volume */
  fill: #a8323f;
  transform: translateY(calc(13px - 13px * var(--nivel, 1)));
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.player--mudo .taca-volume__vinho { fill: #4a2a2e; }

.player__tempo {
  flex: none;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1.4px;
  color: var(--gold-claro);
  font-variant-numeric: tabular-nums;
  opacity: 0.9;
}

/* --- trilho: o vinho preenchendo --- */
.player__trilho {
  position: relative;
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.player__trilho:focus-visible { outline: 2px solid var(--gold-medio); outline-offset: 6px; }
.player__buffer {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
}
.player__preenchido {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 3px 0 0 3px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 45%),
    linear-gradient(90deg, #4d0e1a 0%, #7d1a2c 55%, #a8323f 100%);
  box-shadow: 0 0 12px rgba(168, 50, 63, 0.55);
}
.player__preenchido::after {     /* menisco: a superficie do liquido na ponta */
  content: '';
  position: absolute;
  right: -3px;
  top: 0;
  bottom: 0;
  width: 6px;
  border-radius: 50%;
  background: linear-gradient(180deg, #c04452 0%, #8e1f30 100%);
}
.player__gota {                 /* gota de vinho na ponta do progresso */
  position: absolute;
  right: -6px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  background: var(--gold-claro);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.22);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.player:hover .player__gota,
.player--tocando .player__gota { opacity: 1; }

/* --- volume --- */
.player__volume {
  flex: none;
  width: 78px;
  height: 4px;
  border-radius: 2px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(90deg, var(--gold-medio) var(--vol, 100%), rgba(255, 255, 255, 0.16) var(--vol, 100%));
  cursor: pointer;
}
.player__volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold-claro);
  border: 0;
}
.player__volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold-claro);
  border: 0;
}

@media (max-width: 900px) {
  .evento { padding: 62px 0 68px; }
  .evento__title { font-size: 33px; letter-spacing: 4px; }
  .evento__sub { font-size: 16px; margin-bottom: 32px; }
  .player__botao { width: 78px; height: 78px; }
  .player__botao svg { width: 28px; height: 28px; }
  .player__volume { display: none; }
}
@media (max-width: 600px) {
  .evento { padding: 48px 0 54px; }
  .evento__title { font-size: 25px; letter-spacing: 2.6px; }
  .evento__sub { font-size: 15px; }
  .player__barra-inferior { gap: 10px; padding: 22px 12px 12px; }
  .player__tempo { font-size: 11.5px; }
  .player__botao { width: 66px; height: 66px; }
  .player__botao svg { width: 24px; height: 24px; }
}

/* ==========================================================================
   RODAPE
   ========================================================================== */
.rodape {
  position: relative;
  background-color: var(--bege);
  background-image: url('/img/textura-papel.jpg?v=2');
  background-size: 500px 500px;
  padding: 46px 0 44px;
  text-align: center;
  color: var(--texto-escuro);
}
.rodape::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(138,111,58,0) 0%, rgba(138,111,58,0.5) 50%, rgba(138,111,58,0) 100%);
}
.rodape__logo { width: 174px; height: auto; margin: 0 auto 19px; }
.rodape__aviso {
  font-size: 12.8px;
  line-height: 17px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
}
.rodape__logo { margin-bottom: 24px; }
.rodape__origem {
  font-size: 13.2px;
  line-height: 19.8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.rodape__bandeira {
  width: 34px;
  height: auto;
  border: 1px solid rgba(138, 111, 58, 0.4);
  border-radius: 1px;
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */

/* --- Abaixo da largura da peca --- */
@media (max-width: 1079px) {
  .hero__inner { padding-left: 40px; grid-template-columns: 38% 1fr; }
  .origem__topo { grid-template-columns: 40% 1fr; gap: 32px; }
  .origem__garrafas { height: 380px; }
  .hero__brand img { width: 100%; max-width: 325px; }
  .tempo__inner { grid-template-columns: 42% 1fr; padding-left: 24px; }
  .tempo__img img,
  .tempo__video { width: 100%; max-width: 404px; margin: 0 auto; }
}

/* --- Tablet --- */
@media (max-width: 900px) {
  .br-lg { display: none; }

  .hero__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 46px 24px 50px;
    min-height: 0;
    gap: 30px;
  }
  .hero__brand { padding-top: 0; }
  .hero__text { padding-top: 0; }
  .hero__lead { max-width: 520px; margin: 0 auto; }

  .origem { padding: 58px 0 108px; }
  .origem__montanha { height: 40%; bottom: 0; opacity: 0.45; }
  .origem__topo { grid-template-columns: 1fr; gap: 34px; margin-bottom: 44px; text-align: center; }
  .origem__title::after { margin-left: auto; margin-right: auto; background: var(--filete); }
  .hero__title::after { margin-left: auto; margin-right: auto; background: var(--filete); }
  .origem__garrafas { height: 320px; }
  .origem__texto { padding-top: 0; }
  .origem__lead { margin: 0 auto; }
  .origem__title { font-size: 38px; letter-spacing: 2.4px; }
  .origem__lead { font-size: 18px; line-height: 26px; }
  .origem__grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .feature__title { font-size: 18.5px; line-height: 25px; }
  .feature__text { font-size: 16px; line-height: 23px; }

  .escolha { padding: 36px 24px 34px; }
  .escolha__title { font-size: 31px; line-height: 42px; letter-spacing: 3.4px; }

  .linha__title { font-size: 35px; letter-spacing: 4.5px; }
  .linha__sub { font-size: 16px; }
  .vinhos--3, .vinhos--4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .vinho { min-height: 0; padding-bottom: 32px; margin-top: 74px; }
  .vinho__foto { margin-top: -74px; }
  .vinho__foto img { height: 268px; }

  .tempo__inner {
    grid-template-columns: 1fr;
    padding: 0 24px 56px;   /* o video encosta no topo da secao */
    gap: 30px;
    text-align: center;
    min-height: 0;
  }
  .tempo__texto { padding-top: 0; }
  .tempo__title { font-size: 37px; letter-spacing: 4.5px; margin-bottom: 24px; }
  .tempo__texto p { font-size: 18px; line-height: 26px; }
  .tempo__assinatura { justify-content: center; flex-wrap: wrap; gap: 20px; }
  .tempo__slogan { font-size: 18px; }

  .momentos__title { font-size: 30px; letter-spacing: 4px; }
  .momentos__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .momento { min-height: 0; }
  .momento__texto { font-size: 16px; line-height: 22px; }
  .momento__title-card { font-size: 17px; line-height: 25px; }
}

/* --- Mobile --- */
@media (max-width: 600px) {
  .topbar { height: 92px; padding-top: 18px; }
  .topbar__logo { width: 54px; height: auto; }

  .hero__inner { padding: 38px 22px 42px; gap: 24px; }
  .hero__brand img { max-width: 250px; }
  .hero__title { font-size: 31px; letter-spacing: 3.6px; margin-bottom: 16px; }
  .hero__title::after { width: 90px; margin-top: 16px; }
  .hero__lead { font-size: 16.5px; line-height: 24px; }

  .origem { padding: 44px 0 84px; }
  .origem__montanha { height: 30%; bottom: 0; opacity: 0.4; }
  .origem__topo { gap: 26px; margin-bottom: 32px; }
  .origem__garrafas { height: 250px; }
  .origem__title { font-size: 28px; letter-spacing: 2px; margin-bottom: 16px; }
  .origem__title::after { margin: 16px auto 0; background: var(--filete); }
  .origem__lead { font-size: 16.5px; line-height: 24px; margin-bottom: 28px; }
  .origem__grid { grid-template-columns: 1fr; gap: 12px; }
  .feature { min-height: 0; padding: 22px 18px; }
  .feature__text { font-size: 15.5px; line-height: 22px; }

  .escolha { padding: 32px 22px 32px; }
  .escolha__title { font-size: 23px; line-height: 34px; letter-spacing: 2.6px; }
  .escolha__title::before, .escolha__title::after { width: 110px; }

  .linha--reserva, .linha--reservado { padding: 44px 0 48px; }
  .linha__title { font-size: 28px; letter-spacing: 3.4px; margin-bottom: 10px; }
  .linha__title::after { width: 110px; margin-top: 16px; }
  .linha__sub { font-size: 15.5px; line-height: 21px; margin-bottom: 26px; }
  .vinhos--3, .vinhos--4 { grid-template-columns: 1fr; gap: 14px; max-width: 320px; }
  .vinho { margin-top: 70px; }
  .vinho__foto { margin-top: -70px; }
  .vinho__foto img { height: 260px; }
  .vinho__desc { font-size: 13.5px; line-height: 19px; }

  .tempo__inner { padding: 0 22px 46px; gap: 26px; }
  .tempo__title { font-size: 29px; letter-spacing: 3.4px; margin-bottom: 18px; }
  .tempo__texto p { font-size: 16.5px; line-height: 24px; margin-bottom: 14px; }
  .tempo__img img,
  .tempo__video { max-width: 250px; }
  .tempo__slogan { font-size: 17px; padding-bottom: 0; }

  .momentos { padding: 46px 0 50px; }
  .momentos__title { font-size: 23px; letter-spacing: 2.8px; margin-bottom: 30px; }
  .momentos__grid { grid-template-columns: 1fr; gap: 14px; max-width: 320px; }
  .momento__foto { height: 230px; }
  .momento__title-card { font-size: 15px; line-height: 23px; }
  .momento__texto { font-size: 15px; line-height: 21px; }

  .rodape { padding: 30px 0 34px; }
  .rodape__logo { width: 150px; }
  .rodape__aviso, .rodape__origem { font-size: 12.5px; line-height: 17px; }
}



/* ==========================================================================
   NAVEGACAO EM CAMADAS
   Cada secao gruda no lugar e a seguinte sobe por cima, como folhas
   empilhadas. Secoes mais altas que a tela grudam pelo fim, para que
   nenhuma parte fique inacessivel (o topo de cada uma e calculado no JS).
   ========================================================================== */
.camada {
  position: sticky;
  top: 0;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -22px 46px rgba(0, 0, 0, 0.45);
}
.camada:first-of-type { border-radius: 0; box-shadow: none; }

/* a ultima camada precisa cobrir o rodape sem deixar fresta */
.rodape { position: relative; border-radius: 20px 20px 0 0; box-shadow: 0 -22px 46px rgba(0, 0, 0, 0.35); }

@media (max-width: 600px) {
  .camada, .rodape { border-radius: 14px 14px 0 0; }
}

/* sem empilhamento para quem pediu menos movimento */
@media (prefers-reduced-motion: reduce) {
  .camada { position: static; }
}

/* card destacado quando se chega nele clicando na garrafa */
.vinho--destacado {
  border-color: var(--gold-claro);
  box-shadow: 0 0 0 1px rgba(247, 236, 200, 0.5), 0 26px 54px rgba(0, 0, 0, 0.6);
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

/* ---------- Reveal (JS) ---------- */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal--on {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* --- Acessibilidade --- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  * { animation: none !important; transition: none !important; }
}
