/* Verve Lasciva — Antologia Erótica */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Cinzel:wght@400;600&family=IM+Fell+English:ital@0;1&display=swap');

:root {
  --preto: #0a0806;
  --vinho: #5c1a1a;
  --carmim: #8b1a1a;
  --ouro: #c9a84c;
  --ouro-claro: #e8cc7a;
  --creme: #f5ede0;
  --creme-escuro: #e8d9c4;
  --cinza-quente: #2a2018;
  --texto: #1a1410;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--preto);
  color: var(--creme);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
  min-height: 100vh;
}

/* ── HEADER ── */
.site-header {
  background: linear-gradient(180deg, #0a0806 0%, #150d08 60%, #1a0f0a 100%);
  border-bottom: 1px solid rgba(201,168,76,0.25);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--ouro);
  text-decoration: none;
  text-transform: uppercase;
}

.site-logo span {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.45em;
  color: rgba(201,168,76,0.6);
  margin-top: 2px;
}

.nav-voltar {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(201,168,76,0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-voltar:hover {
  color: var(--ouro);
}

/* ── HOME — HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 30%, rgba(92,26,26,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(201,168,76,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 30% 50% at 80% 70%, rgba(139,26,26,0.12) 0%, transparent 55%);
  pointer-events: none;
}

.hero-ornamento {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.5em;
  color: rgba(201,168,76,0.5);
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.hero-titulo {
  font-family: 'Cinzel', serif;
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  font-weight: 400;
  line-height: 0.95;
  color: var(--ouro);
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.hero-subtitulo {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.9rem, 2.5vw, 1.4rem);
  letter-spacing: 0.5em;
  color: rgba(201,168,76,0.55);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero-linha {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ouro), transparent);
  margin: 1.5rem auto;
}

.hero-epigraph {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(245,237,224,0.55);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.hero-epigraph-autor {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  color: rgba(201,168,76,0.4);
}

.hero-editorial {
  margin-top: 3.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: rgba(245,237,224,0.3);
  font-family: 'Cinzel', serif;
}

/* ── PREFÁCIO ── */
.prefacio-section {
  max-width: 680px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
  border-top: 1px solid rgba(201,168,76,0.12);
}

.section-titulo {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.55em;
  color: var(--ouro);
  text-transform: uppercase;
  margin-bottom: 3rem;
  text-align: center;
}

.prefacio-texto {
  font-family: 'IM Fell English', serif;
  font-size: 1.1rem;
  line-height: 2;
  color: rgba(245,237,224,0.8);
  text-align: justify;
  hyphens: auto;
}

.prefacio-texto p + p {
  margin-top: 1.5rem;
  text-indent: 2em;
}

/* ── GRADE DE AUTORES ── */
.autores-section {
  padding: 5rem 2rem 8rem;
  max-width: 1200px;
  margin: 0 auto;
}

.autores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5px;
  background: rgba(201,168,76,0.08);
}

.autor-card {
  background: #100c08;
  padding: 2rem 1.75rem;
  text-decoration: none;
  display: block;
  position: relative;
  transition: background 0.3s;
  overflow: hidden;
}

.autor-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.2), transparent);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.autor-card:hover {
  background: #1a110c;
}

.autor-card:hover::after {
  transform: scaleX(1);
}

.card-numero {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: rgba(201,168,76,0.3);
  margin-bottom: 0.75rem;
}

.card-nome {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--creme);
  line-height: 1.3;
  margin-bottom: 0.4rem;
  transition: color 0.3s;
}

.autor-card:hover .card-nome {
  color: var(--ouro-claro);
}

.card-poema-titulo {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: rgba(201,168,76,0.55);
  letter-spacing: 0.05em;
}

.card-seta {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  font-size: 0.8rem;
  color: rgba(201,168,76,0.2);
  transition: color 0.3s, transform 0.3s;
}

.autor-card:hover .card-seta {
  color: var(--ouro);
  transform: translateX(4px);
}

/* ── PÁGINA AUTOR ── */
.autor-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 2rem 10rem;
}

.autor-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5rem;
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
}

.autor-nav-row a {
  color: rgba(201,168,76,0.45);
  text-decoration: none;
  transition: color 0.3s;
}

.autor-nav-row a:hover {
  color: var(--ouro);
}

.autor-nav-row .separador {
  color: rgba(201,168,76,0.2);
}

.autor-numero {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.5em;
  color: rgba(201,168,76,0.35);
  text-align: center;
  margin-bottom: 1rem;
}

.autor-nome-titulo {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--creme);
  text-align: center;
  line-height: 1.15;
  margin-bottom: 0.3rem;
}

.poema-nome {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.45em;
  color: var(--ouro);
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 4rem;
}

.linha-ornamental {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 auto 4rem;
  max-width: 300px;
}

.linha-ornamental::before,
.linha-ornamental::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.4));
}

.linha-ornamental::after {
  background: linear-gradient(90deg, rgba(201,168,76,0.4), transparent);
}

.ornamento-centro {
  color: var(--ouro);
  font-size: 0.9rem;
  opacity: 0.5;
}

.poema-corpo {
  font-family: 'IM Fell English', serif;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 2.1;
  color: rgba(245,237,224,0.92);
  white-space: pre-wrap;
  margin-bottom: 4rem;
  padding: 0 1rem;
  position: relative;
}

.poema-corpo::before {
  content: '"';
  position: absolute;
  left: -2rem;
  top: -1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  color: rgba(201,168,76,0.06);
  line-height: 1;
  pointer-events: none;
}

.bio-separador {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent);
  margin: 0 auto 2.5rem;
}

.autor-bio {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(245,237,224,0.45);
  text-align: center;
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 4rem;
}

/* Navegação entre autores */
.autor-navegacao {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(201,168,76,0.1);
  padding-top: 3rem;
  gap: 1rem;
}

.nav-autor-link {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: rgba(201,168,76,0.4);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: color 0.3s;
  max-width: 42%;
}

.nav-autor-link:hover {
  color: var(--ouro);
}

.nav-autor-link.proximo {
  text-align: right;
}

.nav-autor-nome {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(245,237,224,0.6);
  letter-spacing: 0.02em;
  display: block;
}

.nav-autor-link:hover .nav-autor-nome {
  color: var(--creme);
}

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid rgba(201,168,76,0.1);
  padding: 3rem 2rem;
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: rgba(201,168,76,0.25);
}

.site-footer a {
  color: rgba(201,168,76,0.4);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ouro);
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--preto);
}

::-webkit-scrollbar-thumb {
  background: rgba(201,168,76,0.2);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(201,168,76,0.5);
}

/* ── RESPONSIVO ── */
@media (max-width: 600px) {
  .autores-grid {
    grid-template-columns: 1fr;
  }

  .autor-page {
    padding: 3rem 1.5rem 6rem;
  }

  .autor-navegacao {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-autor-link.proximo {
    text-align: left;
    align-self: flex-end;
  }

  .poema-corpo::before {
    left: -0.5rem;
  }
}
