/* Identidade copiada do catálogo Harvest: fundo quase preto, dourado, Cormorant + Work Sans, cards de 20px com brilho dourado. */
:root {
  --bg: #0A0908;
  --text-1: #F3EEE3;
  --text-2: rgba(243,238,227,.68);
  --text-3: rgba(243,238,227,.44);
  --accent: #C9A24B;
  --accent-strong: #D9B45B;
  --accent-light: #E7CD8E;
  --border: rgba(201,162,75,.32);
  --border-strong: rgba(201,162,75,.6);
  --glass: rgba(10,9,8,.55);
  --shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 26px 60px rgba(0,0,0,.55), 0 10px 30px rgba(201,162,75,.07);
  --shadow-glow: 0 1px 0 rgba(255,255,255,.05) inset, 0 26px 60px rgba(0,0,0,.55), 0 0 30px -10px rgba(201,162,75,.35);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Work Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.22,.61,.36,1);
  --gutter: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
body.lock { overflow: hidden; }
img { max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 3px; }

.page-bg { position: fixed; inset: 0; z-index: -5; background: #0A0908 center / cover no-repeat; filter: saturate(.9); }
.page-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,9,8,.82), rgba(10,9,8,.7) 40%, rgba(10,9,8,.86)); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 26px;
  border: 1px solid var(--border); border-radius: 999px;
  background: rgba(10,9,8,.35); backdrop-filter: blur(6px);
  font-size: 12px; letter-spacing: .24px; font-weight: 500; text-decoration: none; color: var(--text-1);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.btn:hover { border-color: var(--accent-strong); background: rgba(201,162,75,.12); }
.btn.solid { background: var(--accent); color: #17120A; border-color: var(--accent); font-weight: 600; }
.btn.solid:hover { background: var(--accent-strong); }
.btn[disabled] { opacity: .6; cursor: wait; }

.brand { font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: .5em; padding-left: .5em; }

/* Login */
.login { min-height: 100svh; display: grid; place-items: center; padding-block: 40px; margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px))); padding-inline: max(20px, env(safe-area-inset-left, 0px)); }
.login-card { width: min(420px, 100%); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 44px 30px; background: var(--glass); backdrop-filter: blur(14px); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-glow); }
.login-card h1 { font-family: var(--font-display); font-weight: 500; font-size: 40px; line-height: 1.05; margin: 4px 0 0; }
.login-card p { margin: 0; color: var(--text-2); font-size: 14px; }
.login-form { width: 100%; display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.field { width: 100%; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255,255,255,.05); color: var(--text-1); font: inherit; font-size: 15px; text-align: center; letter-spacing: .04em; }
.field:focus { outline: none; border-color: var(--accent-strong); background: rgba(255,255,255,.08); }
.login-msg { min-height: 20px; font-size: 13px; color: #e9a58f; }

/* Capa */
.hero { position: relative; min-height: 100svh; margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px))); display: grid; place-items: center; text-align: center; overflow: hidden; padding: 90px max(24px, env(safe-area-inset-left, 0px)); }
.hero-media { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; background: #000 center / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at center, rgba(6,5,4,.25), rgba(6,5,4,.72) 85%), linear-gradient(180deg, rgba(6,5,4,.45), rgba(6,5,4,0) 35%, rgba(6,5,4,.8)); }
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 900px; }
.couple { font-family: var(--font-display); font-weight: 500; font-size: clamp(48px, 11vw, 120px); line-height: 1; margin: 6px 0 0; text-wrap: balance; text-shadow: 0 6px 40px rgba(0,0,0,.5); }
.couple em { font-style: italic; color: var(--accent-light); font-weight: 500; padding: 0 .08em; }
.date { font-size: 13px; letter-spacing: .2em; color: var(--text-2); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }

/* Seções */
.wrap { max-width: 1240px; margin: 0 auto; }
.gallery { padding-block: 90px 40px; }
.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; max-width: 620px; }
.eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; margin: 0; text-wrap: balance; }
.section-head p { margin: 0; color: var(--text-2); }
.mosaic { column-count: 2; column-gap: var(--gutter); }
@media (min-width: 720px) { .mosaic { column-count: 3; } }
@media (min-width: 1040px) { .mosaic { column-count: 4; } }
.card { display: block; width: 100%; padding: 0; margin: 0 0 var(--gutter); break-inside: avoid; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: #15120d; box-shadow: var(--shadow); position: relative; transition: border-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease); }
.card img { display: block; width: 100%; height: auto; transition: transform .8s var(--ease); }
.card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-glow); transform: translateY(-2px); }
.card:hover img { transform: scale(1.03); }
.card.hidden-thumb { visibility: hidden; }

.film { padding-block: 40px 0; }
.film-box { aspect-ratio: 16/9; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-glow); background: #000; }
.film-box iframe { width: 100%; height: 100%; border: 0; display: block; }

.delivery { padding-block: 70px 50px; }
.delivery-grid { display: grid; gap: var(--gutter); grid-template-columns: 1fr; }
@media (min-width: 760px) { .delivery-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } }
.dcard { background: var(--glass); backdrop-filter: blur(10px); border: 1px solid var(--border); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; box-shadow: var(--shadow-glow); min-width: 0; }
.dcard h3 { font-family: var(--font-display); font-weight: 500; font-size: 30px; line-height: 1.1; margin: 0; }
.dcard p { margin: 0; color: var(--text-2); }
.dcard .btn { margin-top: 6px; }
footer { text-align: center; padding-block: 40px 70px; color: var(--text-3); font-size: 12px; letter-spacing: .14em; }
footer .brand { color: var(--text-2); display: block; margin-bottom: 6px; }
.linkbtn { background: none; border: 0; color: var(--text-3); text-decoration: underline; font-size: 12px; margin-top: 14px; padding: 6px; }
.linkbtn:hover { color: var(--text-2); }
html:not([data-pacote="filme"]) .only-film { display: none !important; }

/* Foto ampliada */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(6,5,4,0); visibility: hidden; transition: background .5s var(--ease); touch-action: pan-y; }
.lb.on { visibility: visible; background: rgba(6,5,4,.96); }
.lb-img { position: fixed; margin: 0; border-radius: 16px; object-fit: cover; box-shadow: 0 30px 80px rgba(0,0,0,.6); cursor: zoom-out; max-width: none; transition: left .55s var(--ease), top .55s var(--ease), width .55s var(--ease), height .55s var(--ease), border-radius .55s var(--ease), opacity .25s, transform .25s; }
.lb-img.instant { transition: none; }
.lb-img.swap { transition: opacity .22s, transform .22s; }
.lb-ui { opacity: 0; transition: opacity .4s var(--ease) .2s; }
.lb.on .lb-ui { opacity: 1; }
.lb-btn { position: fixed; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--border); background: rgba(10,9,8,.6); backdrop-filter: blur(8px); transition: border-color .3s, background .3s; }
.lb-btn:hover { border-color: var(--accent-strong); background: rgba(201,162,75,.16); }
.lb-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: calc(14px + env(safe-area-inset-top, 0px)); right: max(14px, env(safe-area-inset-right, 0px)); }
.lb-prev { left: max(14px, env(safe-area-inset-left, 0px)); top: 50%; margin-top: -23px; }
.lb-next { right: max(14px, env(safe-area-inset-right, 0px)); top: 50%; margin-top: -23px; }
.lb-count { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; color: var(--text-2); }
.lb-dl { position: fixed; right: max(14px, env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); min-height: 40px; padding: 0 18px; font-size: 12px; }
@media (max-width: 640px) { .lb-prev, .lb-next { display: none; } }

/* Trailer */
.tr { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px; background: rgba(6,5,4,.94); visibility: hidden; opacity: 0; transition: opacity .4s var(--ease); }
.tr.on { visibility: visible; opacity: 1; }
.tr-box { width: min(1100px, 100%); aspect-ratio: 16/9; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; background: #000; box-shadow: var(--shadow-glow); }
.tr-box video { width: 100%; height: 100%; display: block; object-fit: contain; }
.tr-close { top: calc(14px + env(safe-area-inset-top, 0px)); right: max(14px, env(safe-area-inset-right, 0px)); }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 14px); z-index: 200; max-width: calc(100% - 32px); padding: 12px 20px; border: 1px solid var(--border); border-radius: 999px; background: rgba(10,9,8,.92); font-size: 13px; text-align: center; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}
