/* ==========================================================================
   LANDING PAGE: LIVRO "COLO" - GABRIELA NESPINI UBALDINI
   Design System & Estilos Globais
   Paleta extraída fielmente dos arquivos da pasta imagens/
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variáveis & Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Paleta Oficial */
  --bg-deep: #041626;         /* Noite profunda / Fundo principal */
  --bg-abyss: #000106;        /* Preto absoluto para sombras e profundidade */
  --bg-navy: #05223c;         /* Azul meia-noite clássico */
  --bg-petrol: #053959;       /* Azul petróleo sofisticado */
  --bg-card: rgba(5, 34, 60, 0.7); /* Vidro escuro */
  --bg-card-hover: rgba(7, 44, 77, 0.85);

  --accent-azure: #004a7c;    /* Azul safira vibrante */
  --accent-ocean: #236486;    /* Azul cerúleo suave */
  --accent-sky: #357a9f;      /* Azul suave para detalhes */
  --accent-moss: #273028;     /* Verde musgo escuro botânico */
  --accent-bronze: #5c4f2e;   /* Bronze oliva terroso */

  /* Dourados Oficiais */
  --gold-primary: #ccb170;    /* Dourado nobre */
  --gold-light: #f2d091;      /* Dourado champagne / iluminação */
  --gold-warm: #d9a86c;       /* Âmbar dourado */
  --gold-muted: #c1a163;      /* Dourado suave para bordas */
  --gold-deep: #85540c;       /* Dourado profundo / sombra */

  /* Textos & Superfícies Claras */
  --text-cream: #f7f4ea;      /* Branco pergaminho suave */
  --text-parchment: #e7e7c8;  /* Creme suave para leitura confortável */
  --text-muted: #a4b8c7;      /* Azul acinzentado para leitura secundária */
  --text-gold: #f2d091;       /* Dourado claro para destaques textuais */

  /* Bordas & Sombras */
  --border-gold-subtle: rgba(204, 177, 112, 0.22);
  --border-gold-bright: rgba(242, 208, 145, 0.55);
  --border-glass: rgba(255, 255, 255, 0.08);

  --shadow-glow: 0 0 35px rgba(204, 177, 112, 0.18);
  --shadow-glow-strong: 0 0 60px rgba(242, 208, 145, 0.35);
  --shadow-card: 0 15px 35px -5px rgba(0, 1, 6, 0.6), 0 0 0 1px var(--border-gold-subtle);
  --shadow-book: 0 25px 50px -12px rgba(0, 0, 0, 0.85), 0 0 40px rgba(35, 100, 134, 0.3);

  /* Tipografia */
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Transições & Spacing */
  --transition-fast: 0.2s ease;
  --transition-base: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
}

/* --------------------------------------------------------------------------
   2. Reset & Estilos Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-parchment);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Fundo cósmico sutil */
#canvas-stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

/* Imagens responsivas */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

/* Container Responsivo Universal */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   3. Tipografia & Elementos de Destaque
   -------------------------------------------------------------------------- */
.serif-title {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--text-cream);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.text-gold-gradient {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-warm) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--gold-light);
  background: rgba(204, 177, 112, 0.1);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  margin-bottom: 1.25rem;
}

.badge-tag svg {
  width: 14px;
  height: 14px;
  fill: var(--gold-primary);
}

/* --------------------------------------------------------------------------
   4. Cabeçalho / Navbar
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: background-color var(--transition-base), padding var(--transition-base), box-shadow var(--transition-base);
}

.header.scrolled {
  background: rgba(4, 22, 38, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border-gold-subtle);
  box-shadow: 0 10px 30px rgba(0, 1, 6, 0.5);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--gold-light);
}

.brand-subtitle {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-parchment);
  position: relative;
  padding: 0.35rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-primary);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--gold-light);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta-btn {
  padding: 0.6rem 1.35rem;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
  color: var(--bg-abyss);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(204, 177, 112, 0.3);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(204, 177, 112, 0.5);
  color: #000;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
  z-index: 1001;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--gold-light);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   5. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7.5rem 0 4rem;
  overflow: hidden;
}

.hero-glow-bg {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(35, 100, 134, 0.28) 0%, rgba(5, 57, 89, 0.15) 50%, transparent 75%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-parchment);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 2.2rem;
  font-weight: 400;
}

.hero-author-credit {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.author-ornament {
  width: 32px;
  height: 1px;
  background: var(--gold-primary);
}

.hero-author-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Ações / Botões do Hero */
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.hero-buttons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Estilo Botão Principal (Dourado - UICLAP / Impresso) */
.btn-primary-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-warm) 100%);
  color: #051421;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: 0 8px 25px rgba(204, 177, 112, 0.35);
  transition: transform var(--transition-base), box-shadow var(--transition-base), filter var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-primary-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: 0.6s ease;
}

.btn-primary-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(204, 177, 112, 0.55);
  filter: brightness(1.05);
}

.btn-primary-gold:hover::before {
  left: 100%;
}

/* Estilo Botão Secundário (Azul Marinho / Safira - Amazon Kindle) */
.btn-secondary-azure {
  background: rgba(5, 57, 89, 0.55);
  color: var(--text-cream);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold-subtle);
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: transform var(--transition-base), background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-base);
}

.btn-secondary-azure:hover {
  background: rgba(35, 100, 134, 0.7);
  border-color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 74, 124, 0.4);
  color: #fff;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Trust list */
.hero-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--gold-primary);
}

/* --------------------------------------------------------------------------
   6. Showcase do Livro 3D (Hero Visual)
   -------------------------------------------------------------------------- */
.hero-book-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

.book-aura-glow {
  position: absolute;
  width: 380px;
  height: 520px;
  background: radial-gradient(circle, rgba(204, 177, 112, 0.22) 0%, rgba(35, 100, 134, 0.25) 45%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); opacity: 0.7; }
  100% { transform: scale(1.08); opacity: 1; }
}

.book-card-3d {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 360px;
  transform-style: preserve-3d;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  cursor: pointer;
}

.book-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-book);
  border: 1px solid var(--border-gold-subtle);
  background: #020c15;
}

.book-cover-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  transform: scale(1.002);
  transition: filter var(--transition-base);
}

/* Efeito de brilho de luz sobre a capa */
.book-sheen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(115deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 45%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
  border-radius: 12px;
}

/* --------------------------------------------------------------------------
   7. Faixa Poética de Respiro (Poetic Breather)
   -------------------------------------------------------------------------- */
.poetic-quote-band {
  position: relative;
  padding: 4.5rem 0;
  background: linear-gradient(180deg, var(--bg-deep) 0%, #03101c 50%, var(--bg-deep) 100%);
  border-top: 1px solid rgba(204, 177, 112, 0.12);
  border-bottom: 1px solid rgba(204, 177, 112, 0.12);
  overflow: hidden;
}

.poetic-band-inner {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.quote-leaf-icon {
  width: 28px;
  height: 28px;
  fill: var(--gold-primary);
  margin: 0 auto 1.25rem;
  opacity: 0.85;
}

.poetic-quote-band blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.8vw, 2.15rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--text-cream);
  margin-bottom: 1.25rem;
}

.poetic-quote-band cite {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-style: normal;
  display: block;
}

/* --------------------------------------------------------------------------
   8. Seção Sinopse & Pilares Emocionais
   -------------------------------------------------------------------------- */
.section-padding {
  padding: 6.5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.synopsis-wrapper {
  background: linear-gradient(145deg, rgba(5, 34, 60, 0.6) 0%, rgba(4, 22, 38, 0.85) 100%);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  margin-bottom: 4rem;
}

.synopsis-wrapper::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 25px;
  font-family: var(--font-serif);
  font-size: 12rem;
  color: rgba(204, 177, 112, 0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.synopsis-content {
  max-width: 840px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.synopsis-paragraph {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.85;
  color: var(--text-parchment);
  margin-bottom: 1.8rem;
  text-align: justify;
}

.synopsis-paragraph:last-child {
  margin-bottom: 0;
}

.synopsis-paragraph strong {
  color: var(--gold-light);
  font-weight: 600;
}

.drop-cap {
  float: left;
  font-family: var(--font-serif);
  font-size: 4.2rem;
  line-height: 0.8;
  padding-top: 4px;
  padding-right: 14px;
  padding-bottom: 4px;
  color: var(--gold-light);
  font-weight: 700;
  text-shadow: 0 0 20px rgba(204, 177, 112, 0.4);
}

/* Grid de Pilares do Livro */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.pillar-card {
  background: rgba(5, 34, 60, 0.45);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  transition: transform var(--transition-base), border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-base);
  backdrop-filter: blur(8px);
  position: relative;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  background: rgba(5, 57, 89, 0.55);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(204, 177, 112, 0.12);
  border: 1px solid var(--border-gold-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--gold-light);
}

.pillar-icon-box svg {
  width: 26px;
  height: 26px;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--text-cream);
  margin-bottom: 0.75rem;
}

.pillar-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. Degustação de Versos (Poemas em Destaque)
   -------------------------------------------------------------------------- */
.verses-section {
  background: linear-gradient(180deg, var(--bg-deep) 0%, #031525 50%, var(--bg-deep) 100%);
  position: relative;
}

.verses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.verse-card {
  background: linear-gradient(160deg, rgba(6, 26, 46, 0.9) 0%, rgba(4, 18, 32, 0.95) 100%);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem 2.25rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), border-color var(--transition-fast), box-shadow var(--transition-base);
}

.verse-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-light);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}

.verse-tag {
  position: absolute;
  top: -12px;
  left: 2rem;
  background: var(--bg-deep);
  border: 1px solid var(--gold-primary);
  padding: 0.25rem 0.85rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  border-radius: var(--radius-full);
}

.verse-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.9;
  color: var(--text-cream);
  margin-bottom: 2rem;
  white-space: pre-line;
}

.verse-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(204, 177, 112, 0.15);
}

.verse-author {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-muted);
}

.btn-copy-verse {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  transition: var(--transition-fast);
}

.btn-copy-verse:hover {
  color: var(--gold-light);
  border-color: var(--border-gold-subtle);
  background: rgba(204, 177, 112, 0.1);
}

.btn-copy-verse svg {
  width: 14px;
  height: 14px;
}

/* --------------------------------------------------------------------------
   10. Para Quem é o Livro? (Identificação & Ressonância)
   -------------------------------------------------------------------------- */
.resonance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

.resonance-card {
  background: rgba(5, 34, 60, 0.35);
  border: 1px solid rgba(204, 177, 112, 0.18);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: transform var(--transition-base), background-color var(--transition-fast);
}

.resonance-card:hover {
  transform: translateY(-4px);
  background: rgba(5, 57, 89, 0.45);
  border-color: var(--gold-primary);
}

.resonance-bullet {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(204, 177, 112, 0.12);
  border: 1px solid var(--border-gold-subtle);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.resonance-bullet svg {
  width: 18px;
  height: 18px;
}

.resonance-content h4 {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  color: var(--text-cream);
  margin-bottom: 0.4rem;
}

.resonance-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   11. Sobre a Autora (Gabriela Nespini Ubaldini)
   -------------------------------------------------------------------------- */
.author-section {
  position: relative;
  overflow: hidden;
}

.author-card-wrapper {
  background: linear-gradient(145deg, rgba(6, 26, 46, 0.8) 0%, rgba(3, 16, 28, 0.95) 100%);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  box-shadow: var(--shadow-card);
  position: relative;
}

.author-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 3.5rem;
}

.author-visual {
  position: relative;
  text-align: center;
}

.author-portrait-frame {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 3/4;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-gold-bright);
  padding: 8px;
  background: linear-gradient(180deg, rgba(204, 177, 112, 0.25) 0%, rgba(5, 34, 60, 0.7) 100%);
  box-shadow: 0 20px 45px rgba(0, 1, 6, 0.7), var(--shadow-glow);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-portrait-art {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
  object-position: center 18%;
  filter: contrast(1.03) brightness(1.02);
  transition: transform var(--transition-base);
}

.author-portrait-frame:hover .author-portrait-art {
  transform: scale(1.03);
}

.author-bio-title {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 0.5rem;
}

.author-badge {
  color: var(--gold-light);
  font-size: 0.88rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  display: block;
}

.author-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-parchment);
  margin-bottom: 1.5rem;
}

.author-quote-box {
  border-left: 3px solid var(--gold-primary);
  padding-left: 1.5rem;
  margin: 2rem 0 0;
}

.author-quote-box p {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--gold-light);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   12. Onde Comprar (Hub de Conversão)
   -------------------------------------------------------------------------- */
.buy-section {
  position: relative;
  background: linear-gradient(180deg, var(--bg-deep) 0%, #03111f 50%, var(--bg-deep) 100%);
}

.buy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 980px;
  margin: 0 auto 3.5rem;
}

.buy-card {
  background: rgba(5, 34, 60, 0.65);
  border-radius: var(--radius-lg);
  padding: 3rem 2.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-gold-subtle);
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-fast);
  backdrop-filter: blur(12px);
}

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

/* Destaque para UICLAP (Livro Físico Oficial) */
.buy-card.uiclap-featured {
  border: 2px solid var(--gold-primary);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(204, 177, 112, 0.25);
  background: linear-gradient(165deg, rgba(6, 42, 73, 0.75) 0%, rgba(4, 22, 38, 0.9) 100%);
}

.buy-card.amazon-card {
  border: 1px solid rgba(35, 100, 134, 0.45);
  background: linear-gradient(165deg, rgba(5, 40, 68, 0.6) 0%, rgba(4, 20, 35, 0.85) 100%);
}

.buy-card.amazon-card:hover {
  border-color: var(--gold-light);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(35, 100, 134, 0.35);
}

.buy-badge-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
  color: #030e17;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(204, 177, 112, 0.4);
  white-space: nowrap;
}

.buy-platform-header {
  text-align: center;
  margin-bottom: 2rem;
}

.platform-logo-box {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.platform-logo-box svg {
  height: 38px;
  fill: currentColor;
}

.buy-format-title {
  font-family: var(--font-serif);
  font-size: 1.95rem;
  color: var(--text-cream);
  margin-bottom: 0.35rem;
}

.buy-format-subtitle {
  font-size: 0.88rem;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.buy-features-list {
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.buy-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-parchment);
}

.buy-features-list li svg {
  width: 18px;
  height: 18px;
  color: var(--gold-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.buy-card-cta {
  width: 100%;
  padding: 1.1rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: all var(--transition-base);
}

.cta-uiclap {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
  color: #030e17;
  box-shadow: 0 8px 25px rgba(204, 177, 112, 0.4);
}

.cta-uiclap:hover {
  box-shadow: 0 12px 35px rgba(204, 177, 112, 0.65);
  transform: translateY(-3px);
  filter: brightness(1.06);
}

.cta-amazon {
  background: rgba(35, 100, 134, 0.6);
  border: 1px solid var(--border-gold-subtle);
  color: var(--text-cream);
}

.cta-amazon:hover {
  background: rgba(35, 100, 134, 0.9);
  border-color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 74, 124, 0.4);
}

.buy-security-banner {
  background: rgba(4, 22, 38, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.security-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.security-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold-primary);
}

/* --------------------------------------------------------------------------
   13. FAQ (Perguntas Frequentes)
   -------------------------------------------------------------------------- */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(5, 34, 60, 0.4);
  border: 1px solid var(--border-gold-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 1.1rem;
  overflow: hidden;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(204, 177, 112, 0.45);
}

.faq-item.active {
  border-color: var(--gold-primary);
  background: rgba(5, 34, 60, 0.65);
}

.faq-question {
  width: 100%;
  padding: 1.4rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.28rem;
  color: var(--text-cream);
  font-weight: 600;
}

.faq-icon {
  width: 22px;
  height: 22px;
  color: var(--gold-primary);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
  padding: 0 1.75rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.75rem 1.5rem;
}

.faq-answer p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-parchment);
}

/* --------------------------------------------------------------------------
   14. Rodapé
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-abyss);
  border-top: 1px solid rgba(204, 177, 112, 0.15);
  padding: 4.5rem 0 2.5rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand .brand-title {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.footer-quote {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-muted);
  max-width: 320px;
  margin-top: 0.75rem;
}

.footer-links-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.footer-nav a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom a:hover {
  color: var(--gold-primary);
}

/* --------------------------------------------------------------------------
   15. Toast Notification (Para Cópia de Poema)
   -------------------------------------------------------------------------- */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(5, 34, 60, 0.95);
  border: 1px solid var(--gold-primary);
  color: var(--text-cream);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), var(--shadow-glow);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  z-index: 2000;
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  pointer-events: none;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   16. Sticky Mobile Bar (Conversão Móvel)
   -------------------------------------------------------------------------- */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(4, 22, 38, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-gold-subtle);
  padding: 0.75rem 1rem;
  z-index: 999;
  box-shadow: 0 -8px 25px rgba(0, 1, 6, 0.6);
  transform: translateY(120%);
  transition: transform var(--transition-base);
}

.mobile-sticky-bar.visible {
  transform: translateY(0);
}

.mobile-sticky-inner {
  display: flex;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto;
}

.mobile-sticky-inner a {
  flex: 1;
  text-align: center;
  padding: 0.75rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

/* --------------------------------------------------------------------------
   17. Responsividade (Full HD, HD, Tablets, Web Mobile)
   -------------------------------------------------------------------------- */
/* Telas Grandes (Full HD / 1920px) */
@media (min-width: 1440px) {
  :root {
    --container-max: 1320px;
  }
  .hero-title {
    font-size: 4.4rem;
  }
  .book-card-3d {
    max-width: 400px;
  }
  .book-aura-glow {
    width: 440px;
    height: 580px;
  }
  .author-portrait-frame {
    max-width: 360px;
  }
}

/* Telas Médias / Notebooks HD (1024px a 1366px) */
@media (max-width: 1200px) {
  .hero-grid {
    gap: 2.5rem;
  }
  .book-card-3d {
    max-width: 320px;
  }
}

/* Tablets e Telas Menores (até 992px) */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3.5rem;
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons-row {
    justify-content: center;
  }

  .hero-trust-list {
    justify-content: center;
  }

  .hero-book-showcase {
    order: -1;
    margin-bottom: 1rem;
  }

  .author-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .author-portrait-frame {
    margin: 0 auto;
    max-width: 290px;
  }

  .author-quote-box {
    border-left: none;
    border-top: 2px solid var(--gold-primary);
    padding-left: 0;
    padding-top: 1.25rem;
    margin-top: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .footer-quote {
    margin: 0.75rem auto 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Tablets e Mobile (até 768px) */
@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: rgba(4, 22, 38, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    padding: 3rem 2rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.8);
    border-left: 1px solid var(--border-gold-subtle);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.15rem;
  }

  .nav-cta-btn {
    display: none;
  }

  .section-padding {
    padding: 4.5rem 0;
  }

  .mobile-sticky-bar {
    display: block;
  }

  body {
    padding-bottom: 60px;
  }
}

/* Smartphones Pequenos (até 480px) */
@media (max-width: 480px) {
  .hero-section {
    padding-top: 6.5rem;
    padding-bottom: 3rem;
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .hero-buttons-row {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary-gold,
  .btn-secondary-azure {
    width: 100%;
  }

  .book-card-3d {
    max-width: 270px;
  }

  .synopsis-wrapper {
    padding: 1.75rem 1.25rem;
  }

  .drop-cap {
    font-size: 3.2rem;
    padding-right: 8px;
  }

  .synopsis-paragraph {
    font-size: 1.1rem;
    text-align: left;
  }

  .buy-card {
    padding: 2.25rem 1.5rem;
  }

  .faq-question {
    font-size: 1.12rem;
    padding: 1.2rem 1.25rem;
  }

  .faq-answer {
    padding: 0 1.25rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 1.25rem 1.25rem;
  }
}
