/* Believe & Seek — vitrine. Design system v1: toda cor passa por variável, nenhuma cor direto no componente.
   Regras: nunca preto/branco puro; dourado de TEXTO e de PREENCHIMENTO são tokens diferentes. */

@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/playfair-display-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 500; font-display: swap; src: url('fonts/playfair-display-latin-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter-latin-600-normal.woff2') format('woff2'); }

:root, [data-theme="night"] {
  --page: #1B1B1B; --text: #F8F2ED; --muted: rgba(248,242,237,.74);
  --block-a: #232323; --block-b: #171717; --field: #2E2C2A;
  --gold-text: #C9A96A; --gold-fill: #C9A96A; --on-gold: #1B1B1B;
  --line: rgba(201,169,106,.28); --line-strong: rgba(201,169,106,.6);
  --glow: rgba(201,169,106,.20); --nav-bg: rgba(27,27,27,.9);
  --shadow: rgba(0,0,0,.5);
}
[data-theme="day"] {
  --page: #F8F2ED; --text: #1B1B1B; --muted: rgba(27,27,27,.74);
  --block-a: #FFFCF8; --block-b: #F1E8DE; --field: #FFFDFA;
  --gold-text: #9C7A28; --gold-fill: #C9A96A; --on-gold: #1B1B1B;
  --line: rgba(156,122,40,.35); --line-strong: rgba(156,122,40,.7);
  --glow: rgba(201,169,106,.30); --nav-bg: rgba(248,242,237,.92);
  --shadow: rgba(60,40,10,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--page); color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; line-height: 1.15; margin: 0; }
a { color: var(--gold-text); }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
[id] { scroll-margin-top: 84px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold-fill); color: var(--on-gold); padding: 10px 16px; border-radius: 8px; z-index: 20; font-weight: 600; }
.skip:focus { left: 12px; }

/* Barra de topo */
.topbar { position: sticky; top: 0; z-index: 10; background: var(--nav-bg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: block; line-height: 0; flex: none; }
.brand img { height: 26px; width: auto; display: block; }
.brand .logo-day { display: none; }
[data-theme="day"] .brand .logo-day { display: block; }
[data-theme="day"] .brand .logo-night { display: none; }
.nav { display: flex; gap: 6px; margin: 0 auto; }
.nav a { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: 999px; }
.nav a:hover { background: var(--block-a); color: var(--gold-text); }
.theme-btn {
  width: 42px; height: 42px; display: grid; place-items: center; flex: none;
  background: transparent; color: var(--gold-text); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; padding: 0;
}
.theme-btn:hover { border-color: var(--gold-text); }
.theme-btn svg { width: 20px; height: 20px; }
.theme-btn .i-sun { display: block; }
.theme-btn .i-moon { display: none; }
[data-theme="day"] .theme-btn .i-sun { display: none; }
[data-theme="day"] .theme-btn .i-moon { display: block; }
.nav + .theme-btn { margin-left: 0; }
.brand + .theme-btn { margin-left: auto; }
@media (max-width: 640px) { .nav { display: none; } .nav + .theme-btn { margin-left: auto; } .topbar .wrap { gap: 12px; height: 58px; } .brand img { height: 24px; } }

/* Abertura: título e botão principal cabem na primeira tela */
.hero { padding: 40px 0 28px; overflow-x: clip; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.eyebrow { color: var(--gold-text); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); margin: 0 0 18px; }
.hero h1 em { font-style: italic; color: var(--gold-text); }
.hero p.lead { max-width: 540px; color: var(--muted); font-size: 18px; margin: 0 0 26px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; background: var(--gold-fill); color: var(--on-gold); border: 1px solid var(--gold-fill); border-radius: 999px;
  padding: 13px 26px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; line-height: 1.3;
}
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--gold-text); color: var(--gold-text); filter: none; }

.stack { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1 / 1.06; justify-self: center; }
.stack .orbit { position: absolute; inset: -6% -10% -6% -10%; width: 120%; height: 112%; color: var(--gold-text); opacity: .4; pointer-events: none; }
.stack .orbit .spin { transform-origin: 200px 200px; animation: spin 120s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.stack img { position: absolute; display: block; height: auto; border: 1px solid var(--line); box-shadow: 0 18px 40px var(--shadow); }
.stack .cover { right: 1%; top: 0; width: 52%; border-radius: 8px; transform: rotate(4deg); }
.stack .app { left: 0; bottom: 1%; width: 64%; border-radius: 12px; transform: rotate(-3deg); }
@media (max-width: 820px) {
  .hero { padding: 24px 0 20px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero p.lead { font-size: 17px; margin-bottom: 22px; }
  .stack { max-width: 340px; }
}

/* Catálogo */
.catalog { padding: 56px 0 24px; }
.section-title { font-size: clamp(28px, 4.2vw, 38px); margin: 0 0 10px; }
.section-lead { color: var(--muted); max-width: 600px; margin: 0 0 36px; text-align: left; }
.groups { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.group h3 { font-size: 22px; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card { display: flex; flex-direction: column; gap: 12px; color: var(--text); text-decoration: none; min-width: 0; }
.card .art { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--block-b); }
.card .art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card.first .art { border-color: var(--line-strong); }
a.card { transition: transform .2s; }
a.card:hover, a.card:focus-visible { transform: translateY(-4px); }
a.card:hover .art, a.card:focus-visible .art { border-color: var(--gold-text); box-shadow: 0 10px 30px var(--glow); }
.card .kicker { color: var(--gold-text); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0; }
.card h4 { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-size: 22px; line-height: 1.15; margin: 2px 0 6px; }
.card .tag { color: var(--muted); font-size: 15px; line-height: 1.5; margin: 0; }
.card .cta { margin-top: auto; padding-top: 4px; }
.pill { display: inline-block; border: 1px solid var(--gold-text); color: var(--gold-text); border-radius: 999px; padding: 6px 18px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.pill.go { background: var(--gold-fill); border-color: var(--gold-fill); color: var(--on-gold); }
.card.later .art img { filter: brightness(.55) saturate(.75); }
.card.later .art .veil { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,10,10,.25), rgba(10,10,10,.05) 40%, rgba(10,10,10,.55)); }
.card.later .art.dark-art img { filter: none; }
.lock { position: absolute; left: 50%; top: 44%; width: 58px; height: 58px; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; background: rgba(15,15,15,.6); border: 1px solid var(--line-strong); color: #C9A96A; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lock svg { width: 26px; height: 26px; }
@media (max-width: 900px) { .groups { grid-template-columns: 1fr; gap: 36px; } .catalog { padding-top: 40px; } }
@media (max-width: 640px) {
  .cards { display: flex; overflow-x: auto; gap: 16px; padding: 4px 24px 12px; margin: 0 -24px; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; -webkit-overflow-scrolling: touch; }
  .card { flex: 0 0 62%; scroll-snap-align: start; }
}

/* Avise-me */
section.band { padding: 64px 0; margin-top: 40px; background: var(--block-b); }
.notify { max-width: 620px; }
.notify fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.notify legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.opt { display: flex; gap: 12px; align-items: flex-start; margin: 10px 0; font-size: 16px; cursor: pointer; }
.opt input { width: 20px; height: 20px; margin-top: 3px; accent-color: #C9A96A; flex: none; }
.fine { color: var(--muted); font-size: 14px; margin: 16px 0 0; max-width: 560px; }

/* Rodapé */
footer { margin-top: 0; padding: 48px 0 32px; background: var(--block-a); border-top: 1px solid var(--line-strong); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.foot-brand img { height: 26px; width: auto; display: block; margin-bottom: 12px; }
.foot-brand .logo-day { display: none; }
[data-theme="day"] .foot-brand .logo-day { display: block; }
[data-theme="day"] .foot-brand .logo-night { display: none; }
.foot-brand p { color: var(--muted); font-size: 15px; margin: 0; max-width: 280px; }
footer h5 { margin: 0 0 12px; color: var(--gold-text); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin: 0 0 8px; font-size: 15px; }
footer li a { color: var(--text); text-decoration: none; }
footer li a:hover { color: var(--gold-text); text-decoration: underline; }
.foot-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--muted); font-size: 13px; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* Página de texto (privacidade) */
.doc { padding: 40px 0 56px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); margin: 0 0 8px; }
.doc .meta { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.doc h2 { font-size: 24px; margin: 32px 0 10px; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
