:root {
  --bg: #120f0d;
  --bg-2: #1b1714;
  --bg-3: #241e1a;
  --ink: #f4ede3;
  --ink-2: #cfc4b6;
  --ink-3: #9a8f82;
  --gold: #d4ae62;
  --gold-2: #f0d493;
  --gold-deep: #9c7a3a;
  --line: rgba(212, 174, 98, 0.22);
  --blood: #9e1b1b;
  --radius: 14px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-2); }
::selection { background: var(--gold); color: var(--bg); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* grão sutil */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.14; margin: 0; letter-spacing: -.005em; }
h1 { font-size: clamp(38px, 5.4vw, 66px); }
h2 { font-size: clamp(30px, 3.8vw, 46px); }
h1 em, h2 em {
  font-style: italic;
  background: linear-gradient(100deg, var(--gold-deep), var(--gold-2) 45%, var(--gold) 70%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 34em; }

/* ---------- botão ---------- */
.btn {
  --h: 60px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--h); padding: 0 34px;
  border: 0; border-radius: 999px; cursor: pointer;
  font: 700 14px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  color: #1a1307;
  background: linear-gradient(180deg, var(--gold-2), var(--gold) 55%, #b98f45);
  box-shadow: 0 10px 30px -10px rgba(212,174,98,.55), inset 0 1px 0 rgba(255,255,255,.45);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s;
  position: relative; overflow: hidden;
}
.btn::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg);
  animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(212,174,98,.7), inset 0 1px 0 rgba(255,255,255,.45); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 4px; }
.btn[disabled] { filter: grayscale(.4) brightness(.8); cursor: wait; }
.btn svg { width: 18px; height: 18px; flex: none; }
.micro { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); }

/* ---------- topo ---------- */
.top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  padding: 26px 0;
}
.top img { height: 64px; width: auto; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: min(100svh, 980px);
  display: flex; align-items: center;
  background:
    radial-gradient(1200px 700px at 78% 30%, rgba(212,174,98,.14), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(158,27,27,.12), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding-top: 110px; padding-bottom: 70px;
}
.hero-copy .eyebrow { margin-bottom: 26px; }
.hero-copy h1 { margin-bottom: 26px; }
.hero-copy .lead { margin: 0 0 36px; }
.hero-copy .lead strong { color: var(--ink); font-weight: 600; }

.hero-photo { position: relative; justify-self: end; width: 100%; max-width: 480px; }
.hero-photo .frame {
  position: relative; border-radius: 240px 240px var(--radius) var(--radius);
  overflow: hidden; aspect-ratio: 1086 / 1448;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8);
}
.hero-photo .frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(18,15,13,.55));
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .ring {
  position: absolute; inset: -14px; border: 1px solid var(--line);
  border-radius: 254px 254px 22px 22px; pointer-events: none;
}
.hero-photo .caption {
  position: absolute; left: -28px; bottom: 36px; z-index: 2;
  background: rgba(18,15,13,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 20px;
}
.hero-photo .caption b { display: block; font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.1; }
.hero-photo .caption span { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }

/* ---------- seções ---------- */
section { position: relative; }
.pad { padding: 130px 0; }
.divider {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  color: var(--gold); margin: 0 auto;
}
.divider::before, .divider::after { content: ""; height: 1px; width: 80px; background: linear-gradient(90deg, transparent, var(--gold)); }
.divider::after { transform: scaleX(-1); }
.divider svg { width: 18px; height: 18px; }

/* identificação */
.ident { background: var(--bg-2); text-align: center; }
.ident .wrap { max-width: 780px; }
.ident h2 { margin: 28px 0 34px; }
.ident p { color: var(--ink-2); font-size: clamp(17px, 1.7vw, 20px); margin: 0 0 22px; }
.ident p.hl {
  font-family: var(--serif); font-size: clamp(21px, 2.2vw, 26px); line-height: 1.45;
  color: var(--ink); font-style: italic; margin-top: 40px;
}

/* livro */
.book { overflow: hidden; }
.book-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.book-copy h2 { margin: 22px 0 28px; }
.book-copy p { color: var(--ink-2); margin: 0 0 20px; max-width: 32em; }
.book-copy .by { font-family: var(--serif); font-size: 19px; font-style: italic; color: var(--gold-2); margin-top: 30px; }

.cover-stage { position: relative; display: grid; place-items: center; padding: 30px 0; }
.cover-stage::before {
  content: ""; position: absolute; width: 520px; height: 520px; max-width: 110%;
  background: radial-gradient(circle, rgba(212,174,98,.22), transparent 62%);
  filter: blur(10px);
}
.cover {
  position: relative; width: min(330px, 78vw); aspect-ratio: 2 / 3;
  border-radius: 4px 12px 12px 4px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.55) 0 3%, rgba(255,255,255,.08) 3.5%, transparent 6%),
    linear-gradient(160deg, #2a221c, #0f0c0a 70%);
  box-shadow: 30px 40px 70px -30px rgba(0,0,0,.9), -2px 0 0 #3a2f26 inset;
  transform: perspective(1200px) rotateY(-14deg) rotateX(2deg);
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 30px 26px;
}
.cover:hover { transform: perspective(1200px) rotateY(-4deg) rotateX(1deg); }
.cover .facets { position: absolute; inset: 0; opacity: .55; }
.cover .veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,12,10,.1), rgba(15,12,10,.75));
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.cover .inner { position: relative; z-index: 2; }
.cover .lock {
  width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line); color: var(--gold);
  background: rgba(18,15,13,.6);
}
.cover .lock svg { width: 22px; height: 22px; }
.cover .t { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--ink); letter-spacing: .02em; }
.cover .a { margin-top: 12px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.cover .soon {
  position: absolute; bottom: 22px; left: 0; right: 0; z-index: 2;
  font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3);
}
.cover-note {
  position: relative; margin-top: 34px; text-align: center; font-size: 14px; color: var(--ink-3);
}
.cover-note b { color: var(--gold-2); font-weight: 600; }

/* para quem */
.who { background: var(--bg-2); }
.who-head { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.who-head h2 { margin-top: 22px; }
.who-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.who-list li {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 30px 30px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-3), rgba(36,30,26,.4));
  border: 1px solid var(--line);
  font-family: var(--serif); font-size: clamp(18px, 1.7vw, 21px); line-height: 1.4;
}
.who-list .ic {
  flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(212,174,98,.12); color: var(--gold); margin-top: 2px;
}
.who-list .ic svg { width: 20px; height: 20px; }
.who .cta-mid { text-align: center; margin-top: 56px; }

/* formulário */
.join {
  background:
    radial-gradient(800px 500px at 50% 0%, rgba(212,174,98,.13), transparent 65%),
    var(--bg);
}
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.join-copy h2 { margin: 22px 0 26px; }
.join-copy p { color: var(--ink-2); margin: 0 0 18px; max-width: 30em; }
.join-copy .perks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.join-copy .perks li { display: flex; gap: 12px; align-items: center; color: var(--ink-2); font-size: 15.5px; }
.join-copy .perks svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

.card {
  background: linear-gradient(180deg, rgba(36,30,26,.95), rgba(27,23,20,.95));
  border: 1px solid var(--line); border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.9);
}
.card h3 { font-size: 26px; margin-bottom: 6px; }
.card .sub { color: var(--ink-3); font-size: 14.5px; margin: 0 0 28px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ink-2); margin-bottom: 8px; }
.field label small { font-weight: 400; color: var(--ink-3); letter-spacing: 0; }
.field input {
  width: 100%; height: 56px; padding: 0 18px;
  font: 400 16px var(--sans); color: var(--ink);
  background: rgba(18,15,13,.7); border: 1px solid rgba(207,196,182,.18); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #6f665c; }
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212,174,98,.14); }
.field input[aria-invalid="true"] { border-color: #d0605a; }
.field .err { display: none; font-size: 13px; color: #e48b85; margin-top: 6px; }
.field input[aria-invalid="true"] + .err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.card .btn { width: 100%; margin-top: 8px; padding: 0 20px; }
.consent { font-size: 12.5px; line-height: 1.55; color: var(--ink-3); margin: 18px 0 0; }
.consent a { color: var(--ink-2); }
.form-msg { display: none; margin-top: 14px; font-size: 14px; color: #e48b85; text-align: center; }
.form-msg.show { display: block; }

/* rodapé */
footer { border-top: 1px solid rgba(212,174,98,.12); padding: 44px 0; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot img { height: 50px; width: auto; opacity: .9; }
.foot p { margin: 0; font-size: 13px; color: var(--ink-3); }
.foot a { color: var(--ink-3); }

/* barra fixa mobile */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50;
  display: none; transform: translateY(140%); transition: transform .35s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { width: 100%; --h: 54px; font-size: 13px; }

/* reveal */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; } .rv.d2 { transition-delay: .2s; } .rv.d3 { transition-delay: .3s; } .rv.d4 { transition-delay: .4s; }

/* ---------- responsivo ---------- */
@media (max-width: 960px) {
  .hero-grid, .book-grid, .join-grid { grid-template-columns: 1fr; gap: 50px; }
  .book-grid .cover-stage { order: -1; }
  .who-list { grid-template-columns: 1fr; }
  .pad { padding: 96px 0; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .top { padding: 18px 0; }
  .top .wrap { display: flex; justify-content: center; }
  .top img { height: 52px; }

  /* hero no celular: foto de fundo, texto por cima, CTA sem rolar */
  .hero { min-height: 100svh; align-items: flex-end; }
  html.shot .hero { min-height: 780px; }
  .hero-photo {
    position: absolute; inset: 0; max-width: none; justify-self: auto; z-index: 0;
  }
  .hero-photo .frame { border-radius: 0; height: 100%; aspect-ratio: auto; box-shadow: none; }
  .hero-photo img { object-position: 60% 18%; }
  .hero-photo .frame::after {
    background: linear-gradient(180deg, rgba(18,15,13,.35) 0%, rgba(18,15,13,.05) 22%, rgba(18,15,13,.55) 48%, rgba(18,15,13,.96) 66%, var(--bg) 100%);
  }
  .hero-photo .ring, .hero-photo .caption { display: none; }
  .hero-grid { position: static; padding-top: 0; padding-bottom: 36px; gap: 0; }
  .hero-copy { position: relative; z-index: 1; }
  .hero-copy .eyebrow { margin-bottom: 16px; font-size: 10.5px; letter-spacing: .14em; }
  .hero-copy .eyebrow::before { width: 18px; }
  .hero-copy h1 { font-size: clamp(32px, 9vw, 40px); margin-bottom: 16px; }
  .hero-copy .lead { font-size: 15.5px; margin-bottom: 24px; }
  .btn { width: 100%; --h: 58px; padding: 0 18px; font-size: 13px; letter-spacing: .1em; }
  .micro { text-align: center; font-size: 12.5px; }

  .pad { padding: 80px 0; }
  .who-list li { padding: 22px; gap: 16px; }
  .card { padding: 30px 22px; }
  .foot { flex-direction: column; text-align: center; }
  .sticky-cta { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .btn::after { animation: none; }
}
