@font-face {
  font-family: "Holage";
  src: url("fonts/Holage.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("fonts/Jost-Light.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("fonts/Jost-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("fonts/Jost-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("fonts/Jost-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  --azul: #396898;
  --marinho: #0b1e39;
  --marinho-deep: #071426;
  --dourado: #bc9c60;
  --dourado-light: #d9c08c;
  --bege: #fdeec4;
  --line: rgba(188, 156, 96, 0.28);
  --panel: rgba(11, 30, 57, 0.55);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Jost", sans-serif;
  font-weight: 300;
  color: var(--bege);
  background-color: var(--marinho-deep);
  background-image:
    linear-gradient(180deg, rgba(7, 20, 38, 0.72) 0%, rgba(7, 20, 38, 0.86) 40%, rgba(5, 14, 28, 0.96) 100%),
    url("img/bg-leather.jpg");
  background-size: 900px, 1400px;
  background-repeat: repeat, repeat;
  background-attachment: fixed, fixed;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Utility ---------- */
.eyebrow {
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--dourado-light);
  opacity: 0.9;
}

.display {
  font-family: "Holage", serif;
  color: var(--bege);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto;
}
.divider .bar {
  height: 1px;
  width: 56px;
  background: linear-gradient(90deg, transparent, var(--line));
}
.divider .bar.right { background: linear-gradient(90deg, var(--line), transparent); }
.divider img { width: 20px; height: auto; opacity: 0.85; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--dourado);
  color: var(--bege);
  background: transparent;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
  cursor: pointer;
}
.btn:hover { background: var(--dourado); color: var(--marinho-deep); }
.btn.solid { background: var(--dourado); color: var(--marinho-deep); }
.btn.solid:hover { background: var(--dourado-light); border-color: var(--dourado-light); }
.btn.block { width: 100%; }

/* ---------- Header / Hero ---------- */
header.hero {
  padding: 68px 0 46px;
  text-align: center;
}
.lantern-mark { width: 34px; margin-bottom: 22px; opacity: 0.92; }

header.hero .eyebrow { display: block; margin-bottom: 16px; }

header.hero h1 {
  font-size: 44px;
  line-height: 1.05;
  margin: 0 0 14px;
}

.motto {
  font-family: "Holage", serif;
  font-style: normal;
  font-size: 19px;
  color: var(--dourado-light);
  margin: 0 0 34px;
}

.hero-photo {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 30px;
  border: 1px solid var(--dourado);
  box-shadow: 0 0 0 8px rgba(188, 156, 96, 0.08), 0 30px 60px -20px rgba(0,0,0,0.7);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-intro {
  font-size: 15.5px;
  line-height: 1.75;
  font-weight: 300;
  color: rgba(253, 238, 196, 0.86);
  max-width: 460px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Section shell ---------- */
section { padding: 58px 0; }
section .section-head { text-align: center; margin-bottom: 40px; }
section .section-head .eyebrow { display: block; margin-bottom: 12px; }
section .section-head h2 {
  font-size: 30px;
  margin: 0 0 10px;
}
section .section-head p {
  font-size: 14.5px;
  color: rgba(253, 238, 196, 0.65);
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---------- Bio ---------- */
.bio-text p {
  font-size: 15px;
  line-height: 1.85;
  font-weight: 300;
  color: rgba(253, 238, 196, 0.85);
  margin: 0 0 20px;
}
.bio-text p.bio-quote {
  border-left: 1px solid var(--dourado);
  padding-left: 22px;
  margin: 38px 0 6px;
  font-family: "Holage", serif;
  font-size: 32px;
  line-height: 1.25;
  color: var(--bege);
}

/* ---------- Book cards ---------- */
.books-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.book-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px 18px 26px;
  text-align: center;
  position: relative;
}
.book-cover {
  width: 118px;
  margin: 0 auto 18px;
  box-shadow: 0 22px 40px -18px rgba(0,0,0,0.75);
  position: relative;
}
.book-cover img { width: 100%; display: block; }
.book-badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dourado-light);
  border: 1px solid var(--line);
  padding: 4px 10px;
  margin-bottom: 12px;
}
.book-card h3 {
  font-family: "Holage", serif;
  font-weight: 400;
  font-size: 18px;
  margin: 0 0 8px;
  line-height: 1.25;
}
.book-card .book-sub {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(253, 238, 196, 0.62);
  min-height: 56px;
  margin: 0 0 18px;
}
.book-card .btn { width: 100%; padding: 12px 10px; font-size: 11px; letter-spacing: 0.12em; }

.book-card.pending .book-badge { color: var(--marinho-deep); background: var(--dourado); border-color: var(--dourado); }

/* ---------- Content (YouTube / Spotify) cards ---------- */
.content-list { display: flex; flex-direction: column; gap: 16px; }
.content-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.content-card:hover { border-color: var(--dourado); background: rgba(11, 30, 57, 0.75); }
.content-icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.content-icon svg { width: 22px; height: 22px; fill: var(--dourado-light); }
.content-body h3 {
  font-family: "Holage", serif;
  font-weight: 400;
  font-size: 17px;
  margin: 0 0 6px;
}
.content-body p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(253, 238, 196, 0.62);
  margin: 0;
}
.content-arrow { margin-left: auto; flex: 0 0 auto; opacity: 0.6; }
.content-arrow svg { width: 16px; height: 16px; fill: var(--dourado-light); }

/* ---------- Social row ---------- */
.social-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.social-row a {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.social-row a:hover { border-color: var(--dourado); transform: translateY(-2px); }
.social-row svg { width: 18px; height: 18px; fill: var(--dourado-light); }

/* ---------- Footer ---------- */
footer {
  padding: 50px 0 60px;
  text-align: center;
}
footer .motto {
  font-size: 30px;
  line-height: 1.3;
  margin-bottom: 18px;
}
footer .copy {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(253, 238, 196, 0.4);
  text-transform: uppercase;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 560px) {
  header.hero { padding: 52px 0 36px; }
  header.hero h1 { font-size: 34px; }
  .hero-photo { width: 190px; height: 190px; }
  section { padding: 46px 0; }
  section .section-head h2 { font-size: 25px; }
  .books-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .book-cover { width: 92px; }
  .book-card { padding: 16px 12px 20px; }
  .book-card h3 { font-size: 15px; }
  .book-card .book-sub { font-size: 11.5px; min-height: 64px; }
  .book-card .btn { font-size: 9.5px; letter-spacing: 0.06em; padding: 12px 6px; white-space: nowrap; }
  .content-card { padding: 16px; gap: 14px; }
  .hero-actions .btn { width: 100%; }
}

@media (min-width: 561px) and (max-width: 680px) {
  .wrap { padding: 0 20px; }
}
