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

:root {
  --gold: #C9A84C;
  --gold-light: #E8CC84;
  --gold-dark: #8B6914;
  --cream: #FDF8F0;
  --cream-warm: #F5EDD8;
  --deep-navy: #1E2A4A;
  --text-dark: #2C1F0E;
  --text-mid: #5C4A30;
  --text-light: #8A7060;
  --rust: #B85C38;
  --violet: #4B3A8C;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(30, 20, 10, 0.7);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  transition: background 0.3s;
}

nav.scrolled { background: rgba(20, 10, 5, 0.92); }

.nav-logo {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.85rem;
  color: var(--gold-light);
  letter-spacing: 0.1em;
}

.nav-links { display: flex; gap: 2rem; list-style: none; }

.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s;
}

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

.nav-cta {
  background: var(--gold);
  color: var(--text-dark) !important;
  padding: 0.45rem 1.2rem;
  border-radius: 2px;
  font-weight: 700 !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold-light);
  transition: all 0.3s;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/arte-completa.jpg') no-repeat center center / cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(10,5,20,0.45) 0%,
    rgba(20,10,5,0.15) 40%,
    rgba(20,10,5,0.55) 100%);
}

.clouds-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800'%3E%3Cellipse cx='200' cy='150' rx='180' ry='70' fill='rgba(255,255,255,0.06)'/%3E%3Cellipse cx='500' cy='100' rx='220' ry='60' fill='rgba(255,255,255,0.05)'/%3E%3Cellipse cx='900' cy='180' rx='200' ry='65' fill='rgba(255,255,255,0.07)'/%3E%3Cellipse cx='1300' cy='120' rx='160' ry='55' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E") no-repeat center / cover;
  animation: driftClouds 40s linear infinite;
}

@keyframes driftClouds {
  from { transform: translateX(0); }
  to   { transform: translateX(-5%); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
  animation: fadeUp 1.2s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(201,168,76,0.5);
  padding: 0.4rem 1.2rem;
  margin-bottom: 2rem;
  animation: fadeUp 1.2s 0.2s ease both;
}

.hero-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(2.8rem, 8vw, 6rem);
  color: #fff;
  line-height: 1.05;
  text-shadow: 0 4px 40px rgba(0,0,0,0.6);
  animation: fadeUp 1.2s 0.3s ease both;
}

.hero-title span {
  display: block;
  font-size: 0.45em;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  margin: 0.3em 0;
}

.hero-subtitle {
  margin-top: 1rem;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.75);
  font-style: italic;
  animation: fadeUp 1.2s 0.4s ease both;
}

.hero-author {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  animation: fadeUp 1.2s 0.5s ease both;
}

.hero-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.5rem auto;
  animation: fadeUp 1.2s 0.55s ease both;
}

.hero-cta {
  display: inline-block;
  margin-top: 1rem;
  background: var(--gold);
  color: var(--text-dark);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  text-decoration: none;
  border: 2px solid var(--gold);
  transition: background 0.3s, color 0.3s, transform 0.2s;
  animation: fadeUp 1.2s 0.65s ease both;
}

.hero-cta:hover {
  background: transparent;
  color: var(--gold-light);
  transform: translateY(-2px);
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: fadeUp 1.2s 1s ease both;
}

.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 1px solid rgba(255,255,255,0.4);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(6px); }
}

/* GEAR DIVIDER */
.gear-divider {
  text-align: center;
  padding: 2.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.gear-divider::before,
.gear-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.gear-icon { color: var(--gold); }

/* SHARED BG */
#announcement,
#exclusive,
#form-section {
  background: url('../images/fundo-3.png') no-repeat center center / cover;
}

/* ANNOUNCEMENT */
#announcement {
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

#announcement::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.announce-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.announce-text .eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.5rem;
}

.announce-text h2 {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--violet);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.announce-text h2 strong {
  color: var(--text-dark);
  font-style: italic;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}

.ornament-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem 0;
  color: var(--gold);
}

.ornament-line::before,
.ornament-line::after {
  content: '';
  flex: 0 0 40px;
  height: 1px;
  background: var(--gold);
}

.announce-text p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 1rem;
}

.publisher-logo-wrap {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.publisher-logo-wrap img { height: 50px; filter: sepia(20%) saturate(0.8); }

.publisher-name {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}

.book-mockup-wrap { display: flex; justify-content: center; align-items: center; }

.book-mockup {
  width: 280px;
  filter: drop-shadow(0 30px 60px rgba(30,20,10,0.35));
  transform: perspective(800px) rotateY(-8deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.book-mockup:hover {
  transform: perspective(800px) rotateY(-2deg) rotateX(0deg) scale(1.02);
}

.book-mockup img { width: 100%; border-radius: 2px 8px 8px 2px; }

/* EXCLUSIVE */
#exclusive {
  padding: 7rem 2rem;
  position: relative;
  overflow: hidden;
}

.cloud-left, .cloud-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  opacity: 0.12;
  pointer-events: none;
}

.cloud-left  { left: -80px; }
.cloud-right { right: -80px; transform: translateY(-50%) scaleX(-1); }

.exclusive-inner { max-width: 900px; margin: 0 auto; text-align: center; }

.section-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.section-title em { color: var(--violet); font-style: italic; }

.benefits-cta {
  margin: 2rem auto 1rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--rust);
  text-align: left;
  max-width: 600px;
  line-height: 1.5;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
  text-align: left;
}

.benefit-card {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 4px;
  padding: 1.5rem 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(201,168,76,0.12);
}

.benefit-icon { width: 28px; height: 28px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.benefit-card p { font-size: 0.9rem; color: var(--text-mid); line-height: 1.6; }

.closing-text {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  font-style: italic;
}

/* FORM */
#form-section {
  padding: 7rem 2rem;
  position: relative;
  overflow: hidden;
}

.form-bg-gear {
  position: absolute;
  bottom: -80px; right: -80px;
  width: 350px; height: 350px;
  opacity: 0.04;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 15 L55 30 L70 25 L65 40 L80 45 L65 50 L70 65 L55 60 L50 75 L45 60 L30 65 L35 50 L20 45 L35 40 L30 25 L45 30 Z' fill='%23C9A84C'/%3E%3C/svg%3E") no-repeat center / contain;
}

.form-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.form-left h2 {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--violet);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.form-left p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.bonus-box {
  background: linear-gradient(135deg, #FDF4DC 0%, #F5E8B8 100%);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 4px;
  padding: 1.5rem 1.75rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.bonus-icon { font-size: 1.5rem; flex-shrink: 0; }

.bonus-box h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.bonus-box p { font-size: 0.875rem; color: var(--text-mid); line-height: 1.65; margin: 0; }

.form-right {
  background: white;
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(30,20,10,0.1);
}

.form-right iframe { display: block; width: 100%; border: none; }

/* FOOTER */
footer {
  background: var(--deep-navy);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 3rem 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  line-height: 1.8;
}

footer .footer-logo {
  font-family: 'Cinzel Decorative', serif;
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: 1rem;
  display: block;
}

footer a { color: var(--gold); text-decoration: none; }

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .announce-inner,
  .form-inner { grid-template-columns: 1fr; gap: 3rem; }
  .book-mockup-wrap { order: -1; }
  .book-mockup { width: 220px; transform: none; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(20,10,5,0.96);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
    border-top: 1px solid rgba(201,168,76,0.2);
  }

  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .nav-links a { font-size: 0.9rem; }
  .form-right iframe { height: 1800px; }
}

@media (max-width: 600px) {
  nav { padding: 0.85rem 1.25rem; }
  #announcement, #exclusive, #form-section { padding: 4rem 1.25rem; }
  .benefits-grid { grid-template-columns: 1fr; }
}
