/* ============================================================
   Hobbio — Site Institucional
   Identidade oficial (hobbio-flutter/lib/theme/app_theme.dart):
   terracota #CA5A2E · teal #274C54 · creme #F2E3CF · espresso #241A14
   ============================================================ */

:root {
  --terracotta: #ca5a2e;
  --terracotta-soft: #e9d1bd;
  --teal: #274c54;
  --cream: #f2e3cf;
  --paper: #fffcf7;
  --paper-raised: #fff8ef;
  --ink: #241a14;
  --muted: #5a493d;
  --hairline: rgba(36, 26, 20, 0.12);
  /* claros de texto sobre superfícies drenched (teal/terracota/vídeo) */
  --cream-on-teal: #f4efe7;
  --cream-on-terra: #fff5ec;
  --amber-on-dark: #f0b28f;
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(1100px 520px at 85% -5%, rgba(202, 90, 46, 0.14), transparent 60%),
    radial-gradient(900px 480px at -10% 30%, rgba(39, 76, 84, 0.10), transparent 55%),
    var(--cream);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* film grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, .serif {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.02em;
  color: var(--ink);
}

::selection { background: rgba(202, 90, 46, 0.25); }

/* skip link: invisível até receber foco de teclado */
.skip-link {
  position: fixed;
  top: -60px;
  left: 18px;
  z-index: 50;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: top 0.3s var(--ease-spring);
}

.skip-link:focus { top: 18px; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

section.block > h2 em {
  font-style: italic;
  color: var(--terracotta);
}

/* ---------- Nav ilha flutuante ----------
   Componente pronto porém NÃO usado na home por decisão de produto (04/07/2026):
   a home abre direto no hero; links legais/contato ficam no footer.
   O fragmento `nav` em site-fragments.html usa estas regras se voltar a ser incluído. */
.site-nav {
  position: sticky;
  top: 20px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: calc(100vw - 24px);
  margin: 24px auto 0;
  padding: 8px 10px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(36, 26, 20, 0.08);
  box-shadow:
    0 1px 1px rgba(255, 255, 255, 0.7) inset,
    0 20px 45px -18px rgba(36, 26, 20, 0.28);
}

.site-nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 14px 4px 4px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.site-nav .brand img {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  box-shadow: 0 4px 12px -4px rgba(36, 26, 20, 0.4);
}

.site-nav .links { display: flex; align-items: center; }

.site-nav .links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.5s var(--ease-spring), background 0.5s var(--ease-spring);
}

.site-nav .links a:hover { color: var(--ink); background: rgba(36, 26, 20, 0.06); }

.site-nav .links a.cta {
  color: var(--paper);
  background: var(--ink);
  margin-left: 6px;
}

.site-nav .links a.cta:hover { background: var(--terracotta); color: #fff; }

/* ---------- Seletor de idioma (bolinhas, topo direito) ---------- */
.lang-switch {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 30;
  display: flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(36, 26, 20, 0.08);
  box-shadow:
    0 1px 1px rgba(255, 255, 255, 0.7) inset,
    0 16px 35px -18px rgba(36, 26, 20, 0.28);
}

.lang-switch a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.5s var(--ease-spring), transform 0.5s var(--ease-spring);
}

.lang-switch a svg { width: 20px; height: 20px; display: block; }
/* área de toque estendida a 44px (invisível) */
.lang-switch a { position: relative; }
.lang-switch a::after { content: ""; position: absolute; inset: -6px; border-radius: 999px; }

.lang-switch a:hover { background: rgba(36, 26, 20, 0.08); transform: translateY(-1px); }
.lang-switch a.on { background: var(--ink); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-block;
  border: 1px solid var(--hairline);
  background: rgba(255, 252, 247, 0.6);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}

/* ---------- Hero cinema (vídeo full-bleed) ---------- */
.hero-cinema {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--ink);
}

.hero-cinema .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 480px at 80% 0%, rgba(202, 90, 46, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(24, 16, 11, 0.62) 0%, rgba(24, 16, 11, 0.42) 45%, rgba(24, 16, 11, 0.82) 100%);
}

.hero-content {
  position: relative;
  max-width: 820px;
  padding: 140px 24px 120px;
}

.hero-content h1 {
  color: var(--paper);
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  line-height: 1.04;
  text-wrap: balance;
}

.hero-content h1 em { font-style: italic; color: var(--amber-on-dark); }

.hero-content .lead {
  color: rgba(255, 252, 247, 0.93);
  font-size: 1.15rem;
  max-width: 36rem;
  margin: 22px auto 34px;
}

.hero-content .eyebrow {
  background: rgba(255, 252, 247, 0.12);
  border-color: rgba(255, 252, 247, 0.28);
  color: rgba(255, 252, 247, 0.92);
}

.hero-content .hero-ctas { justify-content: center; }

/* sobre o vídeo escuro, a ação primária vira papel (espresso afundaria) */
.hero-cinema .btn {
  background: var(--paper);
  color: var(--ink) !important;
}

.hero-cinema .btn .orb { background: rgba(36, 26, 20, 0.08); }
.hero-cinema .btn:hover { background: var(--terracotta); color: #fff !important; }
.hero-cinema .btn:hover .orb { background: rgba(255, 255, 255, 0.25); }

.hero-cinema .btn.ghost {
  background: transparent;
  color: var(--paper) !important;
  border-color: rgba(255, 252, 247, 0.4);
}

.hero-cinema .btn.ghost .orb { background: rgba(255, 252, 247, 0.14); }
.hero-cinema .btn.ghost:hover { background: rgba(255, 252, 247, 0.12); color: #fff !important; }

.hero-cinema .sound-toggle { bottom: 24px; right: 24px; }

/* ---------- Hero (layout antigo em colunas — usado como referência) ---------- */
.hero {
  max-width: 1140px;
  margin: 0 auto;
  padding: 110px 24px 40px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.04;
}

.hero h1 em {
  font-style: italic;
  color: var(--terracotta);
}

.hero .lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34rem;
  margin: 22px 0 34px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* botão com ícone aninhado */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--paper) !important;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 10px 10px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.6s var(--ease-spring), background 0.6s var(--ease-spring), box-shadow 0.6s var(--ease-spring);
  box-shadow: 0 18px 30px -16px rgba(36, 26, 20, 0.55);
}

.btn .orb {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: transform 0.6s var(--ease-spring), background 0.6s var(--ease-spring);
}

.btn:hover { background: var(--terracotta); transform: translateY(-2px); }
.btn:hover .orb { transform: translate(3px, -1px) scale(1.06); background: rgba(255, 255, 255, 0.28); }
.btn:active { transform: scale(0.98); }

.btn.ghost {
  background: transparent;
  color: var(--ink) !important;
  border: 1.5px solid var(--hairline);
  box-shadow: none;
}

.btn.ghost .orb { background: rgba(36, 26, 20, 0.07); }
.btn.ghost:hover { background: rgba(36, 26, 20, 0.05); transform: translateY(-2px); }

/* ---------- Double-bezel (moldura dupla) ---------- */
.bezel {
  background: rgba(36, 26, 20, 0.055);
  border: 1px solid rgba(36, 26, 20, 0.09);
  border-radius: 2rem;
  padding: 0.45rem;
}

.bezel > .core {
  background: var(--paper);
  border-radius: calc(2rem - 0.45rem);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    0 24px 50px -30px rgba(36, 26, 20, 0.35);
  overflow: hidden;
}

.hero-visual { position: relative; }

.hero-visual .bezel {
  transform: rotate(2.4deg);
  transition: transform 0.9s var(--ease-spring);
}

.hero-visual .bezel:hover { transform: rotate(0.6deg) translateY(-6px); }

.hero-visual .bezel.back {
  position: absolute;
  inset: 8% -6% auto auto;
  width: 62%;
  transform: rotate(-4deg);
  z-index: -1;
  opacity: 0.85;
}

.hero-visual img { display: block; width: 100%; }

/* ---------- Seções ---------- */
section.block {
  max-width: 1140px;
  margin: 0 auto;
  padding: 96px 24px;
}

section.block > h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  max-width: 30rem;
  line-height: 1.15;
  margin-bottom: 14px;
}

section.block > p.sub {
  color: var(--muted);
  max-width: 36rem;
  margin-bottom: 44px;
}

/* ---------- Bento assimétrico ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.bento .cell { grid-column: span 4; }
.bento .cell.wide { grid-column: span 8; }
.bento .cell.half { grid-column: span 6; }

.tile {
  height: 100%;
  background: var(--paper);
  border: 1px solid rgba(36, 26, 20, 0.07);
  border-radius: 1.6rem;
  padding: 30px;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    0 20px 40px -30px rgba(36, 26, 20, 0.3);
  transition: transform 0.7s var(--ease-spring), box-shadow 0.7s var(--ease-spring);
}

.tile:hover {
  transform: translateY(-5px);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    0 34px 60px -30px rgba(36, 26, 20, 0.4);
}

.tile .glyph {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 18px;
  background: var(--cream);
  border: 1px solid var(--hairline);
  color: var(--ink);
}

.tile .glyph svg { width: 22px; height: 22px; }

.tile.accent { background: var(--teal); border-color: transparent; }
.tile.accent h3, .tile.accent p { color: var(--cream-on-teal); }
.tile.accent .glyph { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.15); color: var(--cream-on-teal); }

.tile.terra { background: var(--terracotta); border-color: transparent; }
.tile.terra h3, .tile.terra p { color: var(--cream-on-terra); }
.tile.terra .glyph { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.2); color: var(--cream-on-terra); }

.tile h3 { font-size: 1.08rem; margin-bottom: 6px; color: var(--ink); }
.tile p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Páginas legais ---------- */
.page-head {
  max-width: 780px;
  margin: 0 auto;
  padding: 88px 24px 16px;
  text-align: left;
}

.page-head h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1.08; }
.page-head .meta { color: var(--muted); margin-top: 14px; font-size: 0.95rem; }

main.legal {
  max-width: 780px;
  margin: 40px auto 0;
  padding: 0 24px 110px;
}

main.legal .paper {
  background: var(--paper);
  border: 1px solid rgba(36, 26, 20, 0.07);
  border-radius: 1.8rem;
  padding: clamp(28px, 5vw, 56px);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    0 30px 60px -35px rgba(36, 26, 20, 0.35);
}

main.legal h2 {
  font-size: 1.3rem;
  margin: 40px 0 10px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}

main.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
main.legal p, main.legal li { color: #40332a; margin-bottom: 8px; }
main.legal ul { padding-left: 22px; }
main.legal a { color: var(--terracotta); }
main.legal .intro {
  font-size: 1.06rem;
  color: var(--muted);
  background: var(--paper-raised);
  border: 1px solid var(--hairline);
  border-radius: 1.2rem;
  padding: 18px 22px;
  margin-bottom: 34px;
}

/* ---------- Contato ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.card {
  background: var(--paper);
  border: 1px solid rgba(36, 26, 20, 0.07);
  border-radius: 1.6rem;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    0 20px 40px -30px rgba(36, 26, 20, 0.3);
  transition: transform 0.7s var(--ease-spring);
}

.card:hover { transform: translateY(-5px); }

.card .channel {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--terracotta);
  margin-bottom: 10px;
}

.card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.94rem; flex: 1; margin-bottom: 18px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--hairline);
  background: rgba(255, 252, 247, 0.55);
  padding: 64px 24px 28px;
  font-size: 0.92rem;
  color: var(--muted);
}

.footer-grid {
  max-width: 1140px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 0.9fr;
  gap: 28px;
}

.site-footer .brandline { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.site-footer .brandline img { width: 40px; height: 40px; border-radius: 12px; }
.site-footer .brandline strong { font-size: 1.05rem; color: var(--ink); }
.site-footer h4 { color: var(--ink); margin-bottom: 10px; font-size: 0.95rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--terracotta); }
.site-footer .copyright {
  max-width: 1140px;
  margin: 0 auto;
  border-top: 1px solid var(--hairline);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(46px);
  filter: blur(6px);
  transition:
    opacity 0.9s var(--ease-spring),
    transform 0.9s var(--ease-spring),
    filter 0.9s var(--ease-spring);
}

.reveal.in { opacity: 1; transform: translateY(0); filter: blur(0); }

.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.40s; }
.reveal.d6 { transition-delay: 0.48s; }

/* passos entram pela lateral (mesmo eixo do hover), sem blur */
.steps .reveal { transform: translateX(-28px); filter: none; }
.steps .reveal.in { transform: translateX(0); }

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

/* ---------- Tablet (769–1024px) ---------- */
@media (min-width: 769px) and (max-width: 1024px) {
  section.block { padding: 80px 32px; }
  .hero-content { padding: 120px 32px 100px; }
  .bento .cell { grid-column: span 6; }
  .bento .cell.wide { grid-column: span 12; }
  .split { gap: 36px; }
  .picker-stage { gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
}

/* ---------- Touch: marquee vira scroll nativo (arrastável e pausável) ---------- */
@media (hover: none) {
  .marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .marquee::-webkit-scrollbar { display: none; }
  .marquee .track { animation: none; }
  /* alvos de toque ≥44px nos chips do picker */
  .chip { padding: 13px 20px; }
  .picker-chips.hobby-row .chip { padding: 12px 18px; }
  .lang-switch a::after { inset: -8px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .hero-cinema { min-height: 88svh; }
  .hero-content { padding: 110px 18px 96px; }
  .hero { grid-template-columns: 1fr; padding: 56px 16px 24px; gap: 40px; }
  .hero-visual .bezel.back { display: none; }
  section.block { padding: 64px 16px; }
  .bento { grid-template-columns: 1fr; }
  .bento .cell, .bento .cell.wide, .bento .cell.half { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-nav .links a { padding: 8px 9px; font-size: 0.8rem; }
  .site-nav .brand span { display: none; }
  .site-nav { margin: 16px auto 0 12px; max-width: calc(100vw - 180px); }
  .lang-switch { top: 14px; right: 12px; padding: 4px; }
  .lang-switch a { width: 28px; height: 28px; }
  .lang-switch a svg { width: 18px; height: 18px; }
}

/* ---------- Vídeos ---------- */
.bezel > .core { position: relative; }
.core video { display: block; width: 100%; height: auto; background: var(--ink); cursor: pointer; }

.sound-toggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(36, 26, 20, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  cursor: pointer;
  transition: background 0.5s var(--ease-spring), transform 0.5s var(--ease-spring);
}

.sound-toggle::before { content: ""; position: absolute; inset: -4px; border-radius: 999px; }
.sound-toggle svg { width: 18px; height: 18px; }
.sound-toggle:hover { transform: scale(1.08); background: rgba(36, 26, 20, 0.75); }
.sound-toggle:active { transform: scale(0.95); }
.sound-toggle.on { background: var(--terracotta); border-color: transparent; }

.phone-core video { aspect-ratio: 9 / 16; object-fit: cover; }

.cinema .bezel { max-width: 980px; margin: 0 auto; }
.cinema video { aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Como funciona (split editorial) ---------- */
.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.steps { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid rgba(36, 26, 20, 0.07);
  border-radius: 1.4rem;
  padding: 22px 24px;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    0 18px 36px -28px rgba(36, 26, 20, 0.3);
  transition: transform 0.7s var(--ease-spring);
}

.step:hover { transform: translateX(6px); }

.step .num {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--terracotta);
  line-height: 1.2;
}

.step h3 { font-size: 1.05rem; margin-bottom: 4px; color: var(--ink); }
.step p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* ---------- Voltar (páginas sem menu) ---------- */
.back-link {
  position: sticky;
  top: 20px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 0 24px;
  padding: 9px 20px 9px 14px;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(36, 26, 20, 0.08);
  box-shadow: 0 16px 35px -18px rgba(36, 26, 20, 0.28);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  transition: transform 0.6s var(--ease-spring), background 0.6s var(--ease-spring);
}

.back-link img { width: 26px; height: 26px; border-radius: 8px; }
.back-link:hover { transform: translateX(-3px); background: rgba(255, 252, 247, 0.95); }

@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .cinema .bezel { margin: 0; }
}

/* ---------- Marquee de fotos ---------- */
.marquee {
  overflow: hidden;
  padding: 8px 0 96px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee .track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee 48s linear infinite;
  will-change: transform;
}

.marquee:hover .track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.shot {
  position: relative;
  flex: none;
  width: 250px;
  height: 320px;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(36, 26, 20, 0.09);
  box-shadow: 0 22px 44px -30px rgba(36, 26, 20, 0.45);
}

.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }

.shot span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(36, 26, 20, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.marquee-caption {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  margin: -68px auto 0;
  padding: 0 24px;
  position: relative;
}

.marquee-caption strong { color: var(--ink); }

.shot:nth-child(even) { transform: rotate(1.2deg); }
.shot:nth-child(odd) { transform: rotate(-1.2deg); }

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

/* ---------- Badges das lojas ---------- */
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--ink);
  color: #fff !important;
  text-decoration: none;
  border-radius: 14px;
  padding: 9px 20px 9px 15px;
  box-shadow: 0 18px 30px -16px rgba(36, 26, 20, 0.55);
  transition: transform 0.6s var(--ease-spring), background 0.6s var(--ease-spring);
}

.store-badge:hover { transform: translateY(-2px); background: var(--terracotta); }
.store-badge:active { transform: scale(0.98); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge .txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge .txt small { font-size: 0.62rem; font-weight: 600; opacity: 0.75; letter-spacing: 0.04em; }
.store-badge .txt strong { font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; }

.store-badge.light {
  background: var(--paper);
  color: var(--ink) !important;
  border: 1.5px solid rgba(36, 26, 20, 0.14);
  box-shadow: 0 14px 26px -18px rgba(36, 26, 20, 0.35);
}

.store-badge.light:hover { background: #fff; }

/* pré-lançamento: pílula sem link ("Em breve") */
.store-badge.soon {
  background: var(--paper);
  color: var(--muted) !important;
  border: 1.5px solid rgba(36, 26, 20, 0.14);
  box-shadow: none;
  cursor: default;
}

.store-badge.soon:hover { transform: none; background: var(--paper); }
.store-badge.soon svg { opacity: 0.55; }

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 780px;
}

.faq-item {
  background: var(--paper);
  border: 1px solid rgba(36, 26, 20, 0.07);
  border-radius: 1.4rem;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    0 18px 36px -28px rgba(36, 26, 20, 0.3);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  flex: none;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--hairline);
  color: var(--muted);
  font-weight: 600;
  transition: transform 0.5s var(--ease-spring), background 0.5s var(--ease-spring);
}

.faq-item[open] summary::after {
  content: "–";
  transform: rotate(180deg);
  background: var(--terracotta);
  border-color: transparent;
  color: #fff;
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 1.4rem;
}

.faq-item p {
  padding: 0 24px 20px;
  color: var(--muted);
  max-width: 60ch;
}

.faq-item p a { color: var(--terracotta); }

/* ---------- Picker: loading da foto ---------- */
.picker-photo.loading img.show { filter: saturate(0.75) brightness(0.92); }

.picker-photo::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.95);
  box-shadow: 0 2px 8px rgba(36, 26, 20, 0.35);
  opacity: 0;
  transition: opacity 0.2s;
}

.picker-photo.loading::after {
  opacity: 1;
  animation: hp-pulse 0.9s ease-in-out infinite;
}

@keyframes hp-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.5); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .picker-photo.loading::after { animation: none; }
}

/* ---------- CTA final ---------- */
.cta-final { padding-bottom: 120px; }

.cta-final .panel {
  background: var(--teal);
  border-radius: 2.2rem;
  padding: clamp(48px, 7vw, 88px) clamp(24px, 6vw, 72px);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(39, 76, 84, 0.55);
}

.cta-final .panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px 300px at 12% -10%, rgba(202, 90, 46, 0.35), transparent 60%),
    radial-gradient(480px 280px at 95% 115%, rgba(240, 227, 207, 0.18), transparent 60%);
  pointer-events: none;
}

.cta-final h2 {
  color: var(--cream-on-teal);
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  max-width: 34rem;
  margin: 0 auto 12px;
  position: relative;
}

.cta-final h2 em { font-style: italic; color: var(--amber-on-dark); }

.cta-final p {
  color: rgba(244, 239, 231, 0.8);
  max-width: 30rem;
  margin: 0 auto 34px;
  position: relative;
}

.cta-final .store-badges { justify-content: center; position: relative; }

/* fotos-lembrança no painel final */
.cta-final .snapshots {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.cta-final .snap {
  width: 92px;
  height: 118px;
  border-radius: 12px;
  overflow: hidden;
  border: 4px solid var(--paper);
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.5);
  transform: rotate(-5deg);
}

.cta-final .snap + .snap { margin-left: -14px; }
.cta-final .snap:nth-child(2) { transform: rotate(3deg) translateY(6px); }
.cta-final .snap:nth-child(3) { transform: rotate(-2deg); }
.cta-final .snap:nth-child(4) { transform: rotate(5deg) translateY(4px); }
.cta-final .snap img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Qual é o seu hobby? (picker adaptativo) ---------- */
.picker-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 10px; }

.chip {
  border: 1px solid var(--hairline);
  background: var(--paper);
  color: var(--muted);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.5s var(--ease-spring);
}

.chip:hover { transform: translateY(-2px); color: var(--ink); }

.chip.on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.picker-chips.hobby-row .chip { font-size: 0.82rem; padding: 7px 15px; }
.picker-chips.hobby-row .chip.on { background: var(--hp-accent, var(--terracotta)); border-color: var(--hp-accent, var(--terracotta)); color: #fff; }

.picker-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 34px;
  /* palco "drenched": a cor da categoria É a superfície (escurecida p/ contraste AA) */
  background: var(--hp-accent, var(--terracotta));
  background: color-mix(in oklab, var(--hp-accent, var(--terracotta)) 82%, var(--ink));
  border: 1px solid transparent;
  border-radius: 2rem;
  padding: clamp(20px, 3.5vw, 40px);
  box-shadow: 0 30px 60px -35px rgba(36, 26, 20, 0.5);
  transition: background 0.8s var(--ease-spring), box-shadow 0.8s var(--ease-spring);
}

.picker-photo {
  border-radius: 1.4rem;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  position: relative;
  border: 5px solid rgba(255, 252, 247, 0.92);
  view-transition-name: hp-photo;
}

.picker-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.7s var(--ease-spring), transform 1.4s var(--ease-spring);
}

.picker-photo img.show { opacity: 1; transform: scale(1); }

.picker-copy .cat-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 252, 247, 0.95);
  margin-bottom: 10px;
  view-transition-name: hp-cat;
}

.picker-copy h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  line-height: 1.1;
  color: var(--paper);
  margin-bottom: 12px;
  view-transition-name: hp-name;
}

.picker-copy p { color: rgba(255, 252, 247, 0.92); margin-bottom: 22px; max-width: 26rem; }

/* morph do palco (View Transitions) na troca de hobby */
::view-transition-old(hp-photo),
::view-transition-new(hp-photo) {
  animation-duration: 0.55s;
  animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1);
}

::view-transition-old(hp-name),
::view-transition-new(hp-name),
::view-transition-old(hp-cat),
::view-transition-new(hp-cat) {
  animation-duration: 0.4s;
  animation-timing-function: cubic-bezier(0.32, 0.72, 0, 1);
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none; }
  .picker-stage { transition: none; }
}

@media (max-width: 768px) {
  .picker-stage { grid-template-columns: 1fr; gap: 24px; }
}

