/* =========================================================
   BENETI SEMIJOIAS — Página de links (vídeo em tela inteira)
   Cores e fontes ficam nas variáveis abaixo.
   ========================================================= */
:root {
  --chocolate: #2e1c13;
  --creme: #f7efe6;          /* textos e bordas */
  --creme-suave: rgba(247, 239, 230, .86);
  --borda: rgba(247, 239, 230, .88);
  --vidro: rgba(247, 239, 230, .14);

  --serif: "Cormorant Garamond", "Cormorant", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);

  /* escala fluida: tudo cresce/encolhe com a largura do celular */
  --pad-x: clamp(20px, 7.5vw, 40px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  background: var(--chocolate);
}
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--creme);
  font-family: var(--sans);
  font-weight: 300;
  background: var(--chocolate);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
p, h1, h2 { margin: 0; }

/* ---------------- VÍDEO DE FUNDO ---------------- */
.bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100lvh;
  overflow: hidden;
  z-index: 0;
  background: var(--chocolate) url("../assets/img/capa-poster-v2.jpg") center 38% / cover no-repeat;
}
.bg__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%; /* centraliza mãos, anéis, pulseiras e relógio */
  pointer-events: none;
}
.bg__video::-webkit-media-controls,
.bg__video::-webkit-media-controls-start-playback-button,
.bg__video::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; }

/* degradê marrom sutil, só onde há texto */
.bg__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(46, 28, 19, .36) 0%, rgba(46, 28, 19, .08) 18%, rgba(46, 28, 19, 0) 28%),
    linear-gradient(to top, rgba(46, 28, 19, .58) 0%, rgba(46, 28, 19, .36) 28%, rgba(46, 28, 19, .10) 48%, rgba(46, 28, 19, 0) 60%);
}

/* ---------------- CONTEÚDO ---------------- */
.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding:
    calc(env(safe-area-inset-top, 0px) + clamp(40px, 6.5svh, 64px))
    var(--pad-x)
    calc(env(safe-area-inset-bottom, 0px) + clamp(30px, 6svh, 56px));
}

/* Logo */
.logo { text-align: center; }
.logo__mark { display: flex; flex-direction: column; align-items: center; font-weight: inherit; }
.logo__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(29px, 8.85vw, 44px);
  line-height: 1;
  letter-spacing: .3em;
  margin-right: -.3em;          /* compensa o espaço depois da última letra */
  color: var(--creme);
  text-shadow: 0 1px 18px rgba(46, 28, 19, .25);
}
.logo__sub {
  margin-top: clamp(8px, 2.2vw, 12px);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(9.5px, 2.8vw, 12.5px);
  letter-spacing: .62em;
  margin-right: -.62em;
}
.logo__img { display: block; width: clamp(180px, 58vw, 280px); height: auto; }

/* Frase principal — no terço inferior, alinhada à esquerda, deixando o centro para as semijoias */
.intro {
  margin-top: auto;
  padding-left: clamp(2px, 1.5vw, 8px);
}
.intro__title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(30px, 9vw, 44px);
  line-height: 1;
  letter-spacing: -.005em;
  color: var(--creme);
  text-shadow: 0 1px 22px rgba(46, 28, 19, .3);
}
.intro__title .line { display: block; }


/* Botões */
.buttons {
  margin-top: clamp(18px, 3svh, 28px);
  display: flex;
  flex-direction: column;
  gap: clamp(9px, 1.3svh, 12px);
  padding-inline: clamp(0px, 3vw, 14px);
}
.btn {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  min-height: clamp(44px, 10.6vw, 48px);
  padding: 0 clamp(18px, 5.4vw, 26px) 0 clamp(16px, 5vw, 24px);
  border: 1.2px solid var(--borda);
  border-radius: 999px;
  background: rgba(46, 28, 19, .12);
  color: var(--creme);
  transition: background-color .3s ease;
}

.btn__icon {
  width: clamp(21px, 6vw, 25px);
  height: clamp(21px, 6vw, 25px);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .45s var(--ease);
}
.btn__divider {
  width: 1px;
  height: clamp(18px, 5vw, 22px);
  margin-inline: clamp(13px, 3.8vw, 18px);
  background: rgba(247, 239, 230, .7);
}
.btn__label {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(15.5px, 4.5vw, 19px);
  line-height: 1.1;
  letter-spacing: .005em;
  padding-left: clamp(4px, 2vw, 10px);
}
.btn__arrow {
  width: clamp(20px, 5.6vw, 24px);
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .45s var(--ease);
}

@media (hover: hover) {
  .btn:hover { background: rgba(247, 239, 230, .12); }
  .btn:hover .btn__arrow { transform: translateX(4px); }
  .btn:hover .btn__icon { transform: scale(1.06); }
}
.btn.is-touched { background: rgba(247, 239, 230, .14); }
.btn.is-touched .btn__arrow { transform: translateX(4px); }
.btn:focus-visible { outline: 1px solid var(--creme); outline-offset: 3px; }

/* Segunda dobra: horário, discreto, aparece com uma pequena rolagem */
.info {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  padding:
    clamp(8px, 2svh, 20px)
    calc(var(--pad-x) + clamp(0px, 3vw, 14px))
    calc(env(safe-area-inset-bottom, 0px) + clamp(36px, 7svh, 64px));
}
.hours {

  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  padding: clamp(11px, 3.2vw, 14px) clamp(14px, 4.4vw, 20px);
  border-radius: 18px;
  background:
    linear-gradient(rgba(247, 239, 230, .10), rgba(247, 239, 230, .10)),
    rgba(46, 28, 19, .44);
  text-shadow: 0 1px 8px rgba(46, 28, 19, .3);
}
.hours__icon {
  width: clamp(26px, 7.6vw, 34px);
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .95;
}
.hours__divider {
  width: 1px;
  align-self: stretch;
  margin: 2px clamp(12px, 4vw, 18px);
  background: rgba(247, 239, 230, .5);
}
.hours__label {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(9px, 2.65vw, 11.5px);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.hours__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: .55em;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(14px, 4vw, 17px);
  line-height: 1.38;
}
.hours__row i { font-style: normal; opacity: .7; font-family: var(--sans); font-weight: 300; }

/* telas muito baixas (ex.: iPhone SE): aproxima os blocos */
@media (max-height: 700px) {
  .intro { padding-top: 24px; }
  .buttons { margin-top: 16px; }
}

/* ---------------- Animações ---------------- */

/* Entrada única: a página inteira aparece com um fade de 0,45 s, depois que as fontes carregam
   (evita a troca de fonte visível). Sem JavaScript, o conteúdo aparece normalmente. */
.js .page, .js .info { opacity: 0; }
.js.is-ready .page, .js.is-ready .info { opacity: 1; transition: opacity .45s ease-out; }

/* camadas estáveis sobre o vídeo */
.bg { transform: translateZ(0); -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.page, .info { isolation: isolate; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .page, .js .info { opacity: 1; }
}
