:root {
  /* Paleta Editorial - Inspirada no mockup */
  --primary: #6B8BA4;           /* Azul Acinzentado */
  --primary-dark: #4A6B82;
  --primary-light: #8FAFC4;
  --accent: #D97B5C;            /* Terracota/Coral */
  --accent-dark: #C4654A;
  --accent-light: #E8A08A;
  --text-dark: #2D2D2D;
  --text-light: #5A5A5A;
  --text-muted: #8A8A8A;
  --bg-light: #F5F3EF;          /* Creme */
  --bg-white: #FDFCFA;
  --bg-dark: #2D2D2D;
  --success: #6B9080;
  --border: #E5E2DC;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

.section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 15px rgba(217, 123, 92, 0.4);
  border-radius: 4px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
  box-shadow: 0 6px 20px rgba(217, 123, 92, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--text-dark);
  border-radius: 4px;
}

.btn-secondary:hover {
  background: var(--text-dark);
  color: white;
}

/* ==================== LANGUAGE SELECTOR ==================== */
.lang-selector-wrapper {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1001;
}

.lang-selector {
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.lang-selector:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15);
}

.lang-selector:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* ==================== HERO SECTION ==================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  background: var(--accent);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 25%;
  height: 100%;
  background: var(--primary);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text-muted);
  padding: 0;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.hero-title span {
  color: var(--text-dark);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.hero-stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.ebook-mockup {
  max-width: 320px;
  width: 100%;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.3));
  animation: none;
}

.hero-quote {
  color: white;
  padding: 2rem;
}

.hero-quote blockquote {
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.hero-quote .btn {
  background: white;
  color: var(--primary);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* ==================== SUMARIO SECTION ==================== */
.sumario {
  background: var(--bg-white);
}

.sumario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.sumario-card {
  background: var(--bg-light);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.sumario-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 40px rgba(217, 123, 92, 0.15);
}

.sumario-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.sumario-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.sumario-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.sumario-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ==================== AUTOR SECTION ==================== */
.autor {
  background: var(--bg-dark);
  color: white;
}

.autor .container {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 4rem;
  align-items: center;
}

.autor-image-wrapper {
  position: relative;
}

.autor-image {
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.autor-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--accent);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(217, 123, 92, 0.4);
}

.autor-content h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.autor-role {
  color: var(--primary-light);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.autor-bio {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.autor-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.credential {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.9rem;
}

.credential svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

/* ==================== BENEFICIOS SECTION ==================== */
.beneficios {
  background: var(--bg-light);
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.beneficio-card {
  background: var(--bg-white);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.beneficio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.beneficio-icon {
  width: 70px;
  height: 70px;
  background: var(--accent-light);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.beneficio-icon svg {
  width: 32px;
  height: 32px;
  color: var(--accent-dark);
}

.beneficio-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.beneficio-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ==================== DEPOIMENTOS SECTION ==================== */
.depoimentos {
  background: var(--bg-white);
}

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

.depoimento-card {
  background: var(--bg-light);
  border-radius: 1.5rem;
  padding: 2rem;
  position: relative;
}

.depoimento-quote {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  color: var(--primary-light);
  opacity: 0.3;
}

.depoimento-text {
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.depoimento-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.depoimento-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.depoimento-info h4 {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.depoimento-info span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.depoimento-stars {
  display: flex;
  gap: 0.25rem;
  margin-top: 0.5rem;
}

.depoimento-stars svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  fill: var(--accent);
}

/* ==================== PRECO SECTION ==================== */
.preco {
  background: var(--primary);
  color: white;
  text-align: center;
}

.preco .section-title {
  color: white;
}

.preco .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.preco-card {
  background: var(--bg-white);
  border-radius: 0.5rem;
  padding: 3rem;
  max-width: 500px;
  margin: 0 auto;
  color: var(--text-dark);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.preco-original {
  font-size: 1.25rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 0.5rem;
}

.preco-atual {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.preco-moeda {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.preco-valor {
  font-family: 'DM Sans', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.preco-lista {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.preco-lista li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.preco-lista li:last-child {
  border-bottom: none;
}

.preco-lista svg {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
}

.preco-cta {
  width: 100%;
  font-size: 1.25rem;
  padding: 1.25rem 2rem;
}

.preco-garantia {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.preco-garantia svg {
  width: 18px;
  height: 18px;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer a {
  color: var(--primary-light);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* ==================== TIMER ==================== */
.timer-container {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  display: inline-block;
}

.timer-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.timer-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timer-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  min-width: 70px;
  line-height: 1;
}

.timer-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.5rem;
  text-transform: uppercase;
}

.timer-separator {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

/* ==================== STICKY CTA ==================== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  padding: 1rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: none;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

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

.sticky-cta .btn {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
}

/* ==================== PULSE ANIMATION ==================== */
.btn-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 15px rgba(217, 123, 92, 0.4);
  }
  50% {
    box-shadow: 0 4px 25px rgba(217, 123, 92, 0.6), 0 0 0 10px rgba(217, 123, 92, 0.1);
  }
  100% {
    box-shadow: 0 4px 15px rgba(217, 123, 92, 0.4);
  }
}

/* ==================== EBOOK WRAPPER ==================== */
.ebook-wrapper {
  perspective: 1000px;
}

/* ==================== HEADER NAV ==================== */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.header-logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.header-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.header-menu a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.header-menu a:hover {
  color: var(--accent);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid var(--text-dark);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.3s ease;
}

.header-cta:hover {
  background: var(--text-dark);
  color: white;
}

.header-cta svg {
  width: 16px;
  height: 16px;
}

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

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .header-menu {
    display: none;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero {
    background: var(--bg-light);
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 2;
  }

  .hero-image {
    order: 1;
  }

  .hero-quote {
    display: none;
  }

  .hero-subtitle {
    margin: 0 auto 2rem;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .ebook-mockup {
    max-width: 250px;
  }

  .autor .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .autor-image-wrapper {
    max-width: 300px;
    margin: 0 auto;
  }

  .autor-credentials {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

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

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  .sumario-grid,
  .beneficios-grid,
  .depoimentos-grid {
    grid-template-columns: 1fr;
  }

  .preco-card {
    padding: 2rem;
  }

  .preco-valor {
    font-size: 3rem;
  }

  .sticky-cta {
    display: block;
  }

  .timer-number {
    font-size: 1.75rem;
    min-width: 55px;
    padding: 0.4rem 0.75rem;
  }

  .timer-separator {
    font-size: 1.5rem;
  }

  body {
    padding-bottom: 80px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .container {
    padding: 0 1rem;
  }
}
