/* ═══════════════════════════════════════════════════════
   GOOGLE FONTS — carrega Great Vibes + Dancing Script
   (fallback caso o CDN não carregue localmente)
═══════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Dancing+Script:wght@400;700&display=swap');

/* ═══════════════════════════════════════════════════════
   VARIABLES & RESET
═══════════════════════════════════════════════════════ */
:root {
  --dark:        #0a0603;
  --dark-2:      #1a0f0a;
  --dark-3:      #2d1a0d;
  --brown-mid:   #6b4226;
  --gold:        #c8972a;
  --gold-light:  #e8b84b;
  --gold-pale:   #f5d87a;
  --cream:       #f5e8d0;
  --cream-light: #fdf6ec;
  --muted:       #a08060;
  --border-gold: rgba(200, 151, 42, 0.25);

  --font: 'Montserrat', sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%       { transform: translateY(-14px) rotate(-2deg); }
}
@keyframes scrollDot {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(1.08); }
}

.fade-up   { opacity: 0; animation: fadeUp 0.9s var(--ease) forwards; }
.fade-in   { opacity: 0; animation: fadeIn 1.2s ease forwards; }
.delay-1   { animation-delay: 0.2s; }
.delay-2   { animation-delay: 0.5s; }
.delay-3   { animation-delay: 0.8s; }
.delay-4   { animation-delay: 1.1s; }
.delay-5   { animation-delay: 1.4s; }

/* Reveal on scroll */
.reveal       { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal-left  { opacity: 0; transform: translateX(-40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal-right { opacity: 0; transform: translateX(40px);  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal-up    { opacity: 0; transform: translateY(30px);  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }

.visible,
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-up.visible { opacity: 1; transform: none; }

.reveal-up.delay-1 { transition-delay: 0.1s; }
.reveal-up.delay-2 { transition-delay: 0.25s; }
.reveal-up.delay-3 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.08);
  transition: transform 0.1s linear;
  filter: saturate(0.85) brightness(0.7);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 6, 3, 0.88) 0%,
    rgba(26, 15, 10, 0.75) 40%,
    rgba(45, 26, 13, 0.5) 70%,
    rgba(10, 6, 3, 0.8) 100%
  );
}

.hero-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
}
.nav-brand {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.nav-cta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid var(--border-gold);
  padding: 8px 20px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  backdrop-filter: blur(8px);
  background: rgba(200, 151, 42, 0.08);
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

.hero-content {
  position: relative;
  z-index: 5;
  padding: 120px 40px 80px;
  max-width: 600px;
}
.hero-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-tag::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold);
}
.hero-title {
  font-size: clamp(56px, 8vw, 100px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--cream-light);
  margin-bottom: 20px;
}
.hero-title em {
  font-family: 'Great Vibes', 'Dancing Script', cursive !important;
  font-style: normal !important;
  font-weight: 400;
  color: var(--gold-light);
  font-size: 0.62em;
  display: block;
  line-height: 0.85;
  margin-bottom: -0.28em;
  letter-spacing: 0.02em;
}
.hero-sub {
  font-size: 15px;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-quote {
  font-size: 17px;
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 40px;
  border-left: 2px solid var(--gold);
  padding-left: 18px;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 100px;
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s;
  box-shadow: 0 8px 32px rgba(200, 151, 42, 0.35);
}
.hero-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 48px rgba(200, 151, 42, 0.5);
}
.hero-btn svg { transition: transform 0.3s; }
.hero-btn:hover svg { transform: translateY(3px); }

.hero-book {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  justify-content: center;
}
.book-cover-img {
  width: clamp(180px, 22vw, 300px);
  border-radius: 4px 12px 12px 4px;
  box-shadow: -20px 20px 60px rgba(0,0,0,0.7), 0 0 80px rgba(200, 151, 42, 0.15);
  animation: float 6s ease-in-out infinite;
  animation-delay: 1s;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.scroll-dot {
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  animation: scrollDot 1.5s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════
   SHARED SECTION STYLES
═══════════════════════════════════════════════════════ */
.section-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--cream-light);
  margin-bottom: 20px;
}
.divider-gold {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 28px;
  border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════
   SOBRE O LIVRO
═══════════════════════════════════════════════════════ */
.section-sobre {
  padding: 120px 0;
  background: var(--dark-2);
}
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.sobre-book { display: flex; justify-content: center; align-items: center; }
.book-float {
  position: relative;
  display: inline-block;
  width: 100%;
  display: flex;
  justify-content: center;
}
.book-shadow {
  width: clamp(220px, 30vw, 400px);
  border-radius: 4px 12px 12px 4px;
  box-shadow: -16px 24px 60px rgba(0,0,0,0.7), 0 0 80px rgba(200, 151, 42, 0.15);
}
.book-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(200, 151, 42, 0.12) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}
.sobre-paragraphs p {
  font-size: 15px;
  font-weight: 400;
  color: rgba(245, 232, 208, 0.8);
  line-height: 1.85;
  margin-bottom: 16px;
}
.sobre-paragraphs p em { color: var(--gold-light); font-style: italic; }

/* ═══════════════════════════════════════════════════════
   CHAMADO
═══════════════════════════════════════════════════════ */
.section-chamado {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark-3) 100%);
}
.chamado-card {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 64px 48px;
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  background: rgba(200, 151, 42, 0.04);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}
.chamado-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -20%, rgba(200, 151, 42, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.chamado-icon {
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 28px;
  display: block;
}
.chamado-text {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 300;
  font-style: italic;
  color: var(--cream-light);
  line-height: 1.65;
  margin-bottom: 24px;
}
.chamado-sub {
  font-size: 16px;
  font-weight: 400;
  color: rgba(245, 232, 208, 0.75);
  line-height: 1.8;
  margin-bottom: 32px;
}
.chamado-divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 28px;
  opacity: 0.5;
}
.chamado-final {
  font-size: 18px;
  color: var(--cream);
  font-weight: 400;
  line-height: 1.7;
}
.chamado-final strong {
  color: var(--gold-light);
  font-style: italic;
}

/* ═══════════════════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════════════════ */
.section-features {
  padding: 120px 0;
  background: var(--dark);
}
.mb-16 { margin-bottom: 64px; }
.text-center { text-align: center; }
.text-center .section-tag { justify-content: center; }
.text-center .section-tag::before { display: none; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: rgba(245, 232, 208, 0.03);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.4s var(--ease), background 0.4s, box-shadow 0.4s;
}
.feature-card:hover {
  transform: translateY(-8px);
  background: rgba(200, 151, 42, 0.06);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.feature-icon {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--cream-light);
  margin-bottom: 14px;
  line-height: 1.4;
}
.feature-card p {
  font-size: 14px;
  font-weight: 400;
  color: rgba(245, 232, 208, 0.65);
  line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════
   AUTORA
═══════════════════════════════════════════════════════ */
.section-autora {
  padding: 120px 0;
  background: var(--dark-2);
}
.autora-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: center;
}
.autora-text p {
  font-size: 15px;
  color: rgba(245, 232, 208, 0.78);
  line-height: 1.85;
}
.autora-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 100px;
  transition: all 0.3s var(--ease);
}
.autora-btn:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 151, 42, 0.3);
}
.photo-frame {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}
.photo-frame img {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 80px rgba(200, 151, 42, 0.1);
}
/* Borda decorativa dourada — segue a altura real da foto via inset */
.photo-border {
  position: absolute;
  inset: -10px;
  border: 1px solid var(--border-gold);
  border-radius: 22px;
  pointer-events: none;
  max-width: calc(380px + 20px);
  left: 50%;
  transform: translateX(-50%);
}

/* ═══════════════════════════════════════════════════════
   COMPRAR
═══════════════════════════════════════════════════════ */
.section-comprar {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--dark-3) 0%, var(--dark) 100%);
}
.comprar-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 64px 48px;
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  background: rgba(200, 151, 42, 0.04);
  position: relative;
  overflow: hidden;
}
.comprar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(200, 151, 42, 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.comprar-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.comprar-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 300;
  color: var(--cream-light);
  margin-bottom: 12px;
}
.comprar-sub {
  font-size: 15px;
  color: rgba(245, 232, 208, 0.65);
  margin-bottom: 36px;
  line-height: 1.7;
}
.comprar-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.price-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.price-value {
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
}
.comprar-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 40px;
  text-align: left;
}
.comprar-feat {
  font-size: 13px;
  color: rgba(245, 232, 208, 0.75);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.feat-icon {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  background: rgba(200, 151, 42, 0.06);
}
.comprar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--dark);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 18px 40px;
  border-radius: 100px;
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s;
  box-shadow: 0 8px 32px rgba(200, 151, 42, 0.35);
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}
.comprar-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.6s ease;
}
.comprar-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(200, 151, 42, 0.5);
}
.comprar-btn:hover::after { left: 150%; }
.comprar-seguro {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(200, 151, 42, 0.12);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-title {
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  color: var(--gold-light);
}
.footer-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.footer-links {
  display: flex;
  gap: 28px;
}
.footer-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-copy {
  font-size: 12px;
  color: rgba(160, 128, 96, 0.5);
  text-align: center;
}

/* ═══════════════════════════════════════════════════════
   COMPRAR PAGE (comprar.php) — Checkout layout
═══════════════════════════════════════════════════════ */
.checkout-page {
  min-height: 100vh;
  background: var(--dark-2);
}
.checkout-header {
  background: rgba(10, 6, 3, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 151, 42, 0.1);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.checkout-header a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
}
.checkout-header a:hover { color: var(--cream); }
.checkout-brand { font-size: 14px; font-weight: 600; color: var(--gold-light); }

.checkout-main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

/* Card glass */
.glass-card {
  background: rgba(45, 26, 13, 0.6);
  border: 1px solid rgba(200, 151, 42, 0.18);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

/* Book sidebar */
.book-sidebar {
  padding: 36px;
  position: sticky;
  top: 24px;
}
.book-sidebar-img {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}
.book-sidebar-img img {
  width: 160px;
  border-radius: 4px 10px 10px 4px;
  box-shadow: -8px 12px 32px rgba(0,0,0,0.6);
}
.book-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.book-title { font-size: 24px; font-weight: 600; color: var(--cream-light); margin-bottom: 6px; }
.book-vol { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.book-desc { font-size: 13px; color: rgba(245, 232, 208, 0.65); line-height: 1.8; margin-bottom: 24px; }
.book-totals { border-top: 1px solid rgba(200, 151, 42, 0.15); padding-top: 16px; }
.book-totals-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 8px;
}
.book-totals-row span:first-child { color: var(--muted); }
.book-totals-row span:last-child  { font-weight: 500; color: var(--cream); }
.book-total-final {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  border-top: 1px solid rgba(200, 151, 42, 0.15);
  padding-top: 12px;
  margin-top: 8px;
}
.book-total-final span:last-child { color: var(--gold-light); }

/* Form */
.checkout-form { padding: 36px; }
.form-section { margin-bottom: 32px; }
.form-section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--cream-light);
  margin-bottom: 4px;
}
.form-section-sub {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}

/* Delivery radio options */
.delivery-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 8px;
}
.delivery-option {
  border: 1px solid rgba(200, 151, 42, 0.2);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.delivery-option:hover { border-color: var(--gold); }
.delivery-option.active {
  border-color: var(--gold);
  background: rgba(200, 151, 42, 0.07);
}
.delivery-option input[type="radio"] { display: none; }
.delivery-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(200, 151, 42, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  transition: border-color 0.25s;
}
.delivery-option.active .delivery-radio {
  border-color: var(--gold);
  background: var(--gold);
}
.delivery-option.active .delivery-radio::after {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--dark);
  border-radius: 50%;
}
.delivery-info-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}
.delivery-info-sub {
  font-size: 12px;
  color: var(--muted);
}
.delivery-info-sub strong { color: var(--cream); }

/* Form inputs */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 232, 208, 0.6);
  margin-bottom: 7px;
}
.form-input,
.form-textarea {
  width: 100%;
  background: rgba(10, 6, 3, 0.5);
  border: 1px solid rgba(200, 151, 42, 0.18);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--cream);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(160, 128, 96, 0.5); }
.form-input:focus, .form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 151, 42, 0.12);
}
.form-input.readonly { opacity: 0.6; cursor: default; }
.form-textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; gap: 16px; }
.form-row.cols-2 { grid-template-columns: 1fr 1fr; }
.form-row.cols-1-120 { grid-template-columns: 1fr 120px; }
.form-row.cols-1-80  { grid-template-columns: 1fr 80px; }
.char-count { font-size: 11px; color: var(--muted); text-align: right; margin-top: 4px; }

/* Submit button */
.submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--dark);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 100px;
  padding: 18px;
  cursor: pointer;
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s, opacity 0.3s;
  box-shadow: 0 8px 32px rgba(200, 151, 42, 0.35);
  font-family: var(--font);
}
.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(200, 151, 42, 0.5);
}
.submit-btn:disabled { opacity: 0.65; cursor: not-allowed; }
.form-disclaimer {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
}

/* PIX step */
.pix-step { padding: 36px; }
.pix-header { text-align: center; margin-bottom: 28px; }
.pix-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
}
.pix-amount {
  font-size: 40px;
  font-weight: 300;
  color: var(--cream-light);
  margin-bottom: 8px;
}
.pix-sub { font-size: 13px; color: var(--muted); line-height: 1.6; }
.pix-qr { display: flex; justify-content: center; margin: 28px 0; }
.pix-qr img {
  width: 220px;
  height: 220px;
  border-radius: 12px;
  border: 1px solid rgba(200, 151, 42, 0.2);
  background: white;
  padding: 8px;
}
.pix-code-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.pix-code-row { display: flex; gap: 8px; }
.pix-code-input {
  flex: 1;
  background: rgba(10, 6, 3, 0.5);
  border: 1px solid rgba(200, 151, 42, 0.18);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 11px;
  font-family: monospace;
  color: var(--muted);
  outline: none;
}
.pix-copy-btn {
  background: rgba(200, 151, 42, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--gold);
  cursor: pointer;
  transition: background 0.3s;
  font-family: var(--font);
  font-size: 13px;
}
.pix-copy-btn:hover { background: rgba(200, 151, 42, 0.2); }
.pix-steps {
  margin-top: 24px;
  border-top: 1px solid rgba(200, 151, 42, 0.12);
  padding-top: 20px;
  counter-reset: step;
}
.pix-step-item {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: rgba(245, 232, 208, 0.65);
  margin-bottom: 10px;
  counter-increment: step;
}
.pix-step-item::before {
  content: counter(step);
  width: 22px;
  height: 22px;
  background: rgba(200, 151, 42, 0.15);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}
.pix-polling {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid rgba(200, 151, 42, 0.1);
  padding-top: 20px;
  margin-top: 20px;
}
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(200, 151, 42, 0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Success step */
.success-step { padding: 48px 36px; text-align: center; }
.success-icon {
  width: 72px;
  height: 72px;
  background: rgba(200, 151, 42, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 28px;
}
.success-title { font-size: 26px; font-weight: 600; color: var(--cream-light); margin-bottom: 12px; }
.success-sub {
  font-size: 15px;
  color: rgba(245, 232, 208, 0.7);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.success-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-gold);
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 100px;
  transition: all 0.3s;
}
.success-back:hover { border-color: var(--gold); color: var(--gold-light); }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-book { display: none; }
  .sobre-grid, .autora-grid { grid-template-columns: 1fr; gap: 48px; }
  .sobre-book { order: -1; }
  .features-grid { grid-template-columns: 1fr; }
  .checkout-main { grid-template-columns: 1fr; }
  .book-sidebar { position: static; }
  .hero-nav { padding: 20px; }
  .hero-content { padding: 100px 24px 60px; }
  .comprar-features { grid-template-columns: 1fr; }
  .chamado-card, .comprar-card { padding: 40px 28px; }
  .autora-grid { grid-template-columns: 1fr; }
  .autora-photo { order: -1; }
  .photo-frame img { max-width: 300px; }
  .photo-border { max-width: calc(300px + 20px); }
}
@media (max-width: 600px) {
  .delivery-options { grid-template-columns: 1fr; }
  .form-row.cols-2, .form-row.cols-1-120, .form-row.cols-1-80 { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .checkout-form, .book-sidebar, .pix-step, .success-step { padding: 28px 20px; }
  .hide-mobile { display: none; }
}
