/* ═══ CineCircle landing · Brand Kit V1 ═══
   Verde petróleo + dourado envelhecido + creme · Lora (display) + Inter (UI) */

:root {
  --bg: #1e2222;
  --bg-deep: #171a1a;
  --surface: #262b2a;
  --surface-2: #2f2e2e;
  --border: #3b3b3b;
  --petrol: #1f3a34;
  --green-soft: #5c7a6a;
  --gold: #d4b36a;
  --gold-deep: #a9823d;
  --cream: #f2ede6;
  --text-2: #b9b0a4;
  --muted: #847d73;
  --error: #b85c4a;
  --radius: 18px;
  --font-display: 'Lora', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* luz de projetor no topo (attachment fixed no body buga o compositor) */
body::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 130vh;
  background: radial-gradient(110% 80% at 50% 0%, #26363320 0%, #24323000 60%),
    radial-gradient(90% 62% at 50% 0%, #2a3b38 0%, rgba(30,34,34,0) 68%);
  pointer-events: none;
  z-index: -1;
}

/* grão de projeção, bem sutil */
.grain {
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 40;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 9s steps(6) infinite;
}
@keyframes grain-shift {
  0%,100% { transform: translate(0,0) } 20% { transform: translate(-2%,3%) }
  40% { transform: translate(3%,-2%) } 60% { transform: translate(-3%,-3%) } 80% { transform: translate(2%,2%) }
}

::selection { background: var(--gold); color: var(--bg-deep); }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ═══ Nav ═══ */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1120px; margin: 0 auto;
  padding: 26px 24px;
}
.brand {
  font-family: var(--font-display); font-weight: 600; font-size: 21px;
  color: var(--cream); text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
}
.brand-mark {
  width: 30px; height: 30px;
  border-radius: 9px;
  display: block;
}
.nav-cta {
  font-size: 14px; font-weight: 600; text-decoration: none;
  color: var(--bg-deep); background: var(--gold);
  padding: 10px 20px; border-radius: 999px;
  transition: transform .25s cubic-bezier(.2,.9,.3,1.4), background .2s;
}
.nav-cta:hover { background: var(--cream); transform: translateY(-2px); }

/* ═══ Tipografia base ═══ */
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold);
}
h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  line-height: 1.08; letter-spacing: -.01em;
  margin: 18px 0 22px;
}
h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.12; margin: 14px 0 16px;
}
h2 em, h1 em, .closing em { font-style: italic; color: var(--gold); }
h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 8px 0 10px;
}
.section-sub { color: var(--text-2); max-width: 54ch; }

.badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}
.badge-gold { background: rgba(212,179,106,.14); color: var(--gold); border: 1px solid rgba(212,179,106,.35); }
.badge-green { background: rgba(92,122,106,.18); color: #9dbcab; border: 1px solid rgba(92,122,106,.45); }

/* ═══ Hero ═══ */
.hero {
  max-width: 1120px; margin: 0 auto;
  padding: 48px 24px 96px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 48px; align-items: center;
}
.h1-answer { display: inline-block; margin-top: 6px; }

/* palavra "sorteia" com elipse dourada desenhada */
.circled { position: relative; display: inline-block; font-style: italic; color: var(--gold); }
.circle-svg {
  position: absolute; inset: -32% -12%;
  width: 124%; height: 164%;
  overflow: visible; pointer-events: none;
}
.circle-svg ellipse {
  fill: none; stroke: var(--gold-deep); stroke-width: 3;
  stroke-linecap: round; opacity: .9;
  stroke-dasharray: 440; stroke-dashoffset: 440;
  transform: rotate(-4deg); transform-origin: center;
  animation: draw-ellipse 1.1s cubic-bezier(.6,.05,.3,1) 1.15s forwards;
}
@keyframes draw-ellipse { to { stroke-dashoffset: 0; } }

.hero-sub { color: var(--text-2); max-width: 46ch; margin-bottom: 30px; }
.hero-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

.store-row { display: flex; gap: 14px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--cream); text-decoration: none;
  padding: 11px 20px; border-radius: 14px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.store-badge svg { width: 24px; height: 24px; color: var(--gold); }
.store-badge span { display: flex; flex-direction: column; line-height: 1.25; font-weight: 600; font-size: 15px; }
.store-badge small { font-size: 10.5px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.store-badge:hover {
  transform: translateY(-3px);
  border-color: var(--gold-deep);
  box-shadow: 0 12px 32px -14px rgba(212,179,106,.4);
}

/* ═══ Demo do sorteio (assinatura) ═══ */
.hero-demo { display: flex; justify-content: center; }
.draw-stage { display: flex; flex-direction: column; align-items: center; gap: 26px; }

.draw-ring {
  --ring: 300px;
  position: relative;
  width: var(--ring); height: var(--ring);
  display: grid; place-items: center;
}
.ring-track {
  position: absolute; inset: 26px;
  border-radius: 50%;
  border: 1.5px dashed rgba(212,179,106,.28);
  animation: ring-spin 60s linear infinite;
}
@keyframes ring-spin { to { transform: rotate(360deg); } }
.ring-label {
  font-size: 11px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
  text-align: center; max-width: 120px; line-height: 1.5;
  transition: color .4s;
}
.draw-ring.is-locked .ring-label { color: var(--gold); }

.ring-avatar {
  position: absolute; top: 50%; left: 50%;
  width: 58px; height: 58px; margin: -29px 0 0 -29px;
  transform: translate(var(--x), var(--y)) scale(var(--s, 0));
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--petrol);
  border: 2px solid var(--border);
  font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--cream);
  transition:
    transform .5s cubic-bezier(.3,1.5,.4,1),
    border-color .3s, box-shadow .3s, opacity .3s, background .3s;
}
.ring-avatar em {
  position: absolute; top: calc(100% + 5px);
  font-style: normal; font-family: var(--font-body);
  font-size: 11px; font-weight: 500; color: var(--muted);
  transition: color .3s;
}
.ring-avatar.is-hot {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212,179,106,.16), 0 0 34px -4px rgba(212,179,106,.55);
}
.ring-avatar.is-hot em { color: var(--gold); }
.ring-avatar.is-dim { opacity: .38; }
.ring-avatar.is-chosen {
  border-color: var(--gold);
  background: linear-gradient(145deg, #2c4a41, var(--petrol));
  box-shadow: 0 0 0 5px rgba(212,179,106,.2), 0 0 44px -2px rgba(212,179,106,.65);
}

/* card que revela o resultado */
.draw-card {
  width: 300px; min-height: 118px;
  perspective: 900px; position: relative;
}
.draw-card-face {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 18px 22px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
  backface-visibility: hidden;
  transition: transform .7s cubic-bezier(.35,.1,.2,1);
}
.draw-card-front { transform: rotateX(0); }
.draw-card-back { transform: rotateX(180deg); flex-direction: row; align-items: center; gap: 16px; border-color: rgba(212,179,106,.4); }
.draw-card.is-flipped .draw-card-front { transform: rotateX(-180deg); }
.draw-card.is-flipped .draw-card-back { transform: rotateX(0); }

.draw-name { font-family: var(--font-display); font-size: 24px; font-weight: 600; min-height: 32px; }
.draw-hint { font-size: 13px; color: var(--muted); }
.mini-poster {
  width: 56px; height: 82px; border-radius: 8px; flex: none;
  background: linear-gradient(160deg, #2c4a41, #14201d);
  border: 1px solid rgba(212,179,106,.35);
  display: grid; place-items: center; overflow: hidden;
}
.mini-poster span {
  font-family: var(--font-display); font-style: italic;
  font-size: 9px; text-align: center; color: var(--gold);
  padding: 4px; line-height: 1.3;
}
.draw-movie { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.draw-movie-title { font-family: var(--font-display); font-size: 19px; font-weight: 600; line-height: 1.2; }
.draw-movie-rating { font-size: 13px; color: var(--gold); }

/* ═══ Seções ═══ */
.ritual, .memory, .plus { max-width: 1120px; margin: 0 auto; padding: 90px 24px 20px; }
.section-head { max-width: 640px; margin-bottom: 26px; }

/* passos = semanas do ritual */
.steps { list-style: none; display: flex; flex-direction: column; gap: 26px; margin-top: 30px; }
.step {
  display: grid; grid-template-columns: 1fr 300px;
  gap: 44px; align-items: center;
  background: rgba(38,43,42,.55);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 42px 46px;
}
.step:nth-child(even) { grid-template-columns: 300px 1fr; }
.step:nth-child(even) .step-copy { order: 2; }
.step:nth-child(even) .phone { order: 1; }
.step-week {
  font-size: 12px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--green-soft);
}
.step-copy p { color: var(--text-2); max-width: 44ch; }

/* mockup de telefone (telas recriadas em CSS) */
.phone {
  width: 250px; margin: 0 auto;
  border-radius: 34px;
  background: #101414;
  border: 1.5px solid #454b49;
  padding: 12px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.75);
  transition: transform .5s cubic-bezier(.2,.8,.3,1);
}
.step:hover .phone { transform: translateY(-6px) rotate(-1deg); }
.phone-screen {
  border-radius: 24px; background: var(--bg);
  padding: 18px 14px; min-height: 320px;
  display: flex; flex-direction: column; gap: 10px;
  overflow: hidden;
}
.ps-title { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.ps-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 10px 12px;
  display: flex; flex-direction: column; gap: 7px;
}
.ps-card-gold { border-color: rgba(212,179,106,.45); }
.ps-label { font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ps-code { font-family: var(--font-display); font-size: 19px; letter-spacing: .22em; color: var(--gold); }
.ps-member { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; }
.ps-member-big { font-size: 15px; font-family: var(--font-display); }
.ps-avatar {
  width: 24px; height: 24px; border-radius: 50%; flex: none;
  background: var(--petrol); border: 1px solid var(--border);
  display: grid; place-items: center;
  font-size: 11px; font-family: var(--font-display); color: var(--cream);
}
.ps-avatar-gold { width: 32px; height: 32px; font-size: 14px; border-color: var(--gold); box-shadow: 0 0 14px -2px rgba(212,179,106,.6); }
.ps-role { margin-left: auto; font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.ps-quote { font-size: 11px; font-style: italic; color: var(--text-2); }
.ps-stars { margin-left: auto; color: var(--gold); font-size: 11px; letter-spacing: .05em; }
.ps-bar span {
  display: block; font-size: 10px; color: var(--text-2);
  background: linear-gradient(90deg, rgba(92,122,106,.35), rgba(92,122,106,.12));
  border-radius: 5px; padding: 3px 8px; width: var(--w);
  min-width: fit-content; white-space: nowrap;
}
.ps-bar-hot span { background: linear-gradient(90deg, rgba(212,179,106,.5), rgba(212,179,106,.15)); color: var(--gold); }
.ps-poster {
  height: 130px; border-radius: 12px;
  background:
    radial-gradient(80% 90% at 30% 15%, rgba(212,179,106,.24), transparent 55%),
    linear-gradient(165deg, #33544a 0%, #16211e 78%);
  border: 1px solid rgba(212,179,106,.3);
  display: grid; place-items: end start; padding: 10px;
}
.ps-poster-title { font-family: var(--font-display); font-style: italic; font-size: 13px; color: var(--gold); }
.ps-movie { font-size: 13px; font-weight: 600; }
.ps-movie span { color: var(--muted); font-weight: 400; margin-left: 6px; font-size: 11px; }
.ps-providers { display: flex; flex-direction: column; gap: 6px; }
.ps-provider-row { display: flex; gap: 8px; }
.ps-provider-row i {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--surface-2); border: 1px solid var(--border);
}
.ps-provider-row i:first-child { background: linear-gradient(140deg, #3a3a52, #22222f); }
.ps-provider-row i:nth-child(2) { background: linear-gradient(140deg, #2c4a41, #1a2b26); }
.ps-provider-row i:nth-child(3) { background: linear-gradient(140deg, #52402b, #2b2117); }
.ps-progress { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.ps-track { height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.ps-fill { height: 100%; width: 64%; border-radius: 99px; background: var(--gold); }
.ps-average { font-family: var(--font-display); font-size: 26px; color: var(--gold); }
.ps-average span { font-size: 12px; color: var(--muted); font-family: var(--font-body); margin-left: 4px; }

/* ═══ Memória / ranking ═══ */
.ranking-board {
  display: flex; flex-direction: column; gap: 10px;
  max-width: 680px; margin-top: 34px;
}
.rank-row {
  display: flex; align-items: baseline; gap: 18px;
  padding: 16px 22px;
  background: rgba(38,43,42,.55);
  border: 1px solid var(--border); border-radius: 14px;
  transition: transform .3s ease, border-color .3s ease;
}
.rank-row:hover { transform: translateX(6px); border-color: rgba(212,179,106,.4); }
.rank-first { border-color: rgba(212,179,106,.55); background: linear-gradient(120deg, rgba(212,179,106,.1), rgba(38,43,42,.55) 45%); }
.rank-pos { font-family: var(--font-display); font-size: 20px; color: var(--gold); min-width: 44px; }
.rank-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.rank-meta { font-size: 12.5px; color: var(--muted); }
.rank-note { margin-left: auto; color: var(--gold); font-weight: 600; font-size: 14px; white-space: nowrap; }
.rank-last { opacity: .62; }
.rank-last .rank-note { color: var(--error); }

/* ═══ Plus ═══ */
.plus-card {
  background: linear-gradient(135deg, rgba(31,58,52,.65), rgba(38,43,42,.5) 60%);
  border: 1px solid rgba(212,179,106,.3);
  border-radius: 28px;
  padding: 52px 56px;
}
.plus-list { list-style: none; margin: 20px 0; display: flex; flex-direction: column; gap: 10px; }
.plus-list li { padding-left: 28px; position: relative; color: var(--text-2); }
.plus-list li::before {
  content: '★'; position: absolute; left: 0; color: var(--gold); font-size: 14px;
}
.plus-price { font-size: 18px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.plus-price strong { font-family: var(--font-display); font-size: 24px; color: var(--gold); }
.plus-founder {
  font-size: 14px; color: var(--gold);
  background: rgba(212,179,106,.1);
  border: 1px dashed rgba(212,179,106,.4);
  border-radius: 10px;
  padding: 10px 14px; margin-top: 14px;
  max-width: fit-content;
}
.plus-founder strong { font-family: var(--font-display); }
.plus-note { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ═══ Fechamento ═══ */
.closing {
  max-width: 780px; margin: 0 auto; text-align: center;
  padding: 110px 24px 90px;
  display: flex; flex-direction: column; align-items: center; gap: 30px;
}
.waitlist { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 10px; }
.waitlist label { font-size: 13px; color: var(--muted); }
.waitlist-row { display: flex; gap: 10px; }
.waitlist input {
  flex: 1; min-width: 0;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--cream); border-radius: 12px;
  padding: 13px 16px; font-family: var(--font-body); font-size: 15px;
}
.waitlist input::placeholder { color: var(--muted); }
.waitlist button {
  background: var(--gold); color: var(--bg-deep);
  border: 0; border-radius: 12px;
  font-weight: 600; font-size: 15px; font-family: var(--font-body);
  padding: 13px 22px; cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.9,.3,1.4), background .2s;
}
.waitlist button:hover { background: var(--cream); transform: translateY(-2px); }
.waitlist-ok { font-size: 14px; color: var(--green-soft); }

/* ═══ Footer ═══ */
.footer {
  border-top: 1px solid var(--border);
  max-width: 1120px; margin: 0 auto;
  padding: 30px 24px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}
.footer nav { display: flex; gap: 22px; }
.footer a { color: var(--text-2); text-decoration: none; }
.footer a:hover { color: var(--gold); }

/* ═══ Animações de entrada ═══ */
.reveal-load { opacity: 0; transform: translateY(22px); animation: rise .8s cubic-bezier(.2,.7,.3,1) var(--d, 0s) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ═══ Responsivo ═══ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; gap: 56px; }
  .step, .step:nth-child(even) { grid-template-columns: 1fr; gap: 34px; padding: 34px 26px; }
  .step:nth-child(even) .step-copy { order: 1; }
  .step:nth-child(even) .phone { order: 2; }
  .plus-card { padding: 38px 28px; }
  .rank-meta { display: none; }
}
@media (max-width: 480px) {
  .draw-ring { --ring: 250px; }
  .ring-avatar { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
  .draw-card { width: 260px; }
  .waitlist-row { flex-direction: column; }
}

/* ═══ Páginas legais ═══ */
.legal { max-width: 720px; margin: 0 auto; padding: 40px 24px 90px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.25rem; margin-top: 38px; }
.legal p { color: var(--text-2); margin-top: 10px; }
.legal a { color: var(--gold); }
.legal-updated { font-size: 13.5px; color: var(--muted); border-bottom: 1px solid var(--border); padding-bottom: 22px; }

/* ═══ Movimento reduzido ═══ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain, .ring-track { animation: none; }
  .reveal-load, .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .circle-svg ellipse { animation: none; stroke-dashoffset: 0; }
  .ring-avatar { transition: none; --s: 1; }
  .draw-card-face { transition: none; }
  .step:hover .phone, .rank-row:hover, .store-badge:hover, .nav-cta:hover, .waitlist button:hover { transform: none; }
}
