/* G:\Projetos\AConsultora\novo-dicas - Mentoria\assets\css\style.css */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #121212;
  --bg-card: rgba(22, 22, 22, 0.85);
  --color-white: #ffffff;
  --color-text-muted: #b3b3b3;
  --color-gold: #dfb76c;
  --color-gold-dark: #b38f4d;
  --color-bordo: #800020;
  --color-bordo-dark: #4a0012;
  --font-title: 'Cinzel', 'Playfair Display', serif;
  --font-body: 'Plus Jakarta Sans', 'Montserrat', sans-serif;
  --transition-smooth: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  --slide-transition: transform 0.85s cubic-bezier(0.77, 0, 0.175, 1);
}

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

*::-webkit-scrollbar {
  display: none;
}

body, html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-primary);
  font-family: var(--font-body);
  color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.app-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(128, 0, 32, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(223, 183, 108, 0.05) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

/* Horizontal Book Container — 12 slides */
.book-container {
  display: flex;
  width: 1200vw;
  height: 100%;
  transition: var(--slide-transition);
  will-change: transform;
  z-index: 2;
  position: relative;
}

.slide-section {
  width: 100vw;
  height: 100%;
  flex-shrink: 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8rem 7rem 7rem;
  overflow: hidden;
  box-sizing: border-box;
  background: radial-gradient(circle at center, #141414 0%, #070707 100%);
}

.slide-with-bg {
  background-size: cover;
  background-position: center;
}

.slide-with-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.90);
  z-index: 1;
}

.slide-with-bg .slide-content {
  z-index: 3;
}

.slide-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.8);
  pointer-events: none;
  z-index: 2;
}

.slide-content {
  position: relative;
  width: 100%;
  max-width: 1400px;
  max-height: calc(100vh - 280px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 3;
}

.section-header {
  margin-bottom: 1rem;
  text-align: left;
  flex-shrink: 0;
}

.section-subtitle {
  font-family: var(--font-body);
  color: var(--color-gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-title);
  color: var(--color-white);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.section-title span {
  color: var(--color-gold);
  font-style: italic;
  font-family: 'Playfair Display', serif;
}

/* Single card centered — used for slides with one big card */
.single-card-layout {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Grid 2 columns */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

/* Grid 3 columns */
.grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

/* Premium Card */
.premium-card {
  background: var(--bg-card);
  border: 1px solid rgba(223, 183, 108, 0.15);
  border-radius: 12px;
  padding: 1.4rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-gold);
  opacity: 0;
  transition: var(--transition-smooth);
}

.premium-card:hover {
  border-color: rgba(223, 183, 108, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(128, 0, 32, 0.15);
}

.premium-card:hover::before {
  opacity: 1;
}

.premium-card.problem-card {
  border-color: rgba(128, 0, 32, 0.2);
}

.premium-card.problem-card::before {
  background: var(--color-bordo);
}

.premium-card.problem-card:hover {
  border-color: rgba(128, 0, 32, 0.5);
  box-shadow: 0 20px 40px rgba(128, 0, 32, 0.25);
}

.card-title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.card-title.text-bordo { color: #df5c76; }
.card-title.text-gold { color: var(--color-gold); }

.custom-list { list-style: none; }

.custom-list li {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 0.6rem;
  position: relative;
  padding-left: 1.8rem;
  display: flex;
  align-items: flex-start;
}

.custom-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 12px;
  height: 12px;
}

.problem-list li::before {
  content: '✕';
  color: #df5c76;
  font-weight: bold;
  font-size: 12px;
  line-height: 1;
}

.transform-list li::before {
  content: '✓';
  color: var(--color-gold);
  font-weight: bold;
  font-size: 14px;
  line-height: 1;
}

/* Cover Layout */
.cover-layout {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.cover-text { flex: 1.2; }

.cover-visual {
  flex: 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.cover-img {
  width: 100%;
  max-width: 440px;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(223, 183, 108, 0.2);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

.cover-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(128, 0, 32, 0.25);
  border: 1px solid var(--color-bordo);
  border-radius: 50px;
  color: #ff9fb2;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.cover-title {
  font-family: var(--font-title);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cover-title span {
  display: block;
  color: var(--color-gold);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 3.5rem;
  text-transform: none;
  font-weight: 400;
  margin-top: 0.1rem;
}

.cover-description {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
  max-width: 550px;
}

.navigation-hint {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.2rem;
  color: var(--color-gold);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  animation: pulse-horizontal 2s infinite alternate;
}

.navigation-hint svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Timeline/Deliverables */
.slide-img-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(223, 183, 108, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.deliverables-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.timeline-item {
  display: flex;
  gap: 1rem;
  background: rgba(22, 22, 22, 0.5);
  border: 1px solid rgba(223, 183, 108, 0.08);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  transition: var(--transition-smooth);
}

.timeline-item:hover {
  background: rgba(22, 22, 22, 0.9);
  border-color: rgba(223, 183, 108, 0.2);
  transform: translateX(5px);
}

.timeline-icon {
  width: 26px;
  height: 26px;
  background: rgba(223, 183, 108, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-gold);
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: bold;
}

.timeline-details h4 {
  font-family: var(--font-title);
  font-size: 0.9rem;
  color: var(--color-white);
  margin-bottom: 0.1rem;
}

.timeline-details p {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Decision & Form */
.decision-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.decision-compare {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.compare-card {
  padding: 1.2rem;
  border-radius: 10px;
  border: 1px solid transparent;
}

.compare-card.card-danger {
  background: rgba(74, 0, 18, 0.15);
  border-color: rgba(128, 0, 32, 0.25);
}

.compare-card.card-success {
  background: rgba(223, 183, 108, 0.05);
  border-color: rgba(223, 183, 108, 0.2);
}

.compare-title {
  font-family: var(--font-title);
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.compare-title.danger { color: #df5c76; }
.compare-title.success { color: var(--color-gold); }

.form-card {
  background: #111111;
  border: 1px solid var(--color-gold);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 25px 60px rgba(0,0,0,0.8), 0 0 30px rgba(128, 0, 32, 0.15);
  position: relative;
}

.form-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-bordo), var(--color-gold));
  border-radius: 16px 16px 0 0;
}

.form-header {
  margin-bottom: 1.2rem;
  text-align: center;
}

.form-header h3 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--color-white);
  margin-bottom: 0.3rem;
}

.form-header p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.form-group {
  margin-bottom: 0.8rem;
  position: relative;
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  background: #161616;
  border: 1px solid rgba(223, 183, 108, 0.2);
  border-radius: 8px;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-gold);
  background: #1d1d1d;
  box-shadow: 0 0 10px rgba(223, 183, 108, 0.1);
}

.form-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-gold);
  margin-bottom: 0.4rem;
}

.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  width: 100%;
  text-decoration: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
  color: #000000;
  box-shadow: 0 5px 20px rgba(223, 183, 108, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--color-gold), #fff);
  box-shadow: 0 8px 25px rgba(223, 183, 108, 0.5);
  transform: translateY(-2px);
}

.btn-bordo {
  background: linear-gradient(135deg, var(--color-bordo-dark), var(--color-bordo));
  color: var(--color-white);
  box-shadow: 0 5px 20px rgba(128, 0, 32, 0.3);
}

.btn-bordo:hover {
  background: linear-gradient(135deg, var(--color-bordo), #df5c76);
  box-shadow: 0 8px 25px rgba(128, 0, 32, 0.5);
  transform: translateY(-2px);
}

/* Header */
.nav-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.8rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.nav-link-cta {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.nav-link-cta:hover {
  background: var(--color-gold);
  color: #000;
}

/* Navigation Arrows */
.book-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(223, 183, 108, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-gold);
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
}

.book-nav-arrow:hover {
  background: var(--color-gold);
  color: #000000;
  border-color: var(--color-gold);
  box-shadow: 0 0 20px rgba(223, 183, 108, 0.4);
}

.book-nav-arrow.arrow-left {
  left: 1.5rem;
  opacity: 0;
  pointer-events: none;
}

.book-nav-arrow.arrow-right {
  right: 1.5rem;
}

.book-nav-arrow.arrow-visible {
  opacity: 1;
  pointer-events: all;
}

/* Footer */
.book-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.page-counter {
  font-family: var(--font-title);
  font-size: 0.8rem;
  letter-spacing: 3px;
  color: var(--color-gold);
}

.timeline-progress {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.progress-dot {
  width: 40px;
  height: 3px;
  background: rgba(223, 183, 108, 0.15);
  transition: var(--transition-smooth);
  border-radius: 10px;
  cursor: pointer;
}

.progress-dot.active {
  background: var(--color-gold);
  box-shadow: 0 0 8px var(--color-gold);
  width: 55px;
}

/* Toast — hidden by default, only shown via JS */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--color-gold);
  border-radius: 8px;
  padding: 1rem 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  z-index: 100;
  display: none;
  align-items: center;
  gap: 1rem;
}

.toast-msg.toast-show {
  display: flex;
}

.toast-success-indicator {
  width: 10px;
  height: 10px;
  background: #4caf50;
  border-radius: 50%;
}

@keyframes pulse-horizontal {
  0% { transform: translateX(0); }
  100% { transform: translateX(10px); }
}

/* O PROGRAMA — Pilares Grid */
.pilares-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.pilar-card {
  background: rgba(30, 5, 15, 0.65);
  border: 1px solid rgba(223, 183, 108, 0.25);
  border-radius: 12px;
  padding: 1.8rem 1.4rem 1.6rem;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition-smooth);
}

.pilar-card:hover {
  border-color: rgba(223, 183, 108, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(128, 0, 32, 0.2);
}

.pilar-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
  color: #3a1010;
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(223, 183, 108, 0.35);
  position: relative;
  top: -6px;
}

.pilar-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--color-white);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.pilar-list {
  list-style: none;
  padding: 0;
  width: 100%;
  border-top: 1px solid rgba(223, 183, 108, 0.12);
  padding-top: 0.8rem;
}

.pilar-list li {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 0.4rem;
}

.testimonial-img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 65vh;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(223, 183, 108, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.testimonial-img:hover {
  border-color: rgba(223, 183, 108, 0.45);
  transform: scale(1.02);
  box-shadow: 0 20px 45px rgba(128, 0, 32, 0.25);
}

.testimonial-grid {
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
}

/* Responsive */
@media (max-width: 1200px) {
  .slide-section {
    padding: 7rem 5rem 6rem;
  }
  .section-title {
    font-size: 1.9rem;
  }
  .cover-title {
    font-size: 2.6rem;
  }
  .cover-title span {
    font-size: 2.8rem;
  }
  .cover-img {
    height: 360px;
    max-width: 380px;
  }
}

@media (max-width: 991px) {
  body, html {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
  }

  .app-wrapper {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
    min-height: 100vh !important;
  }

  .book-container {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
    transition: none !important;
  }

  .slide-section {
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    padding: 5.5rem 1.5rem 0 !important;
    flex-shrink: initial !important;
    overflow: visible !important;
  }
  .grid-2col {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .grid-3col {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .deliverables-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .decision-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .cover-layout {
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
  }
  .cover-visual { width: 100%; }
  .cover-img {margin-bottom: 0.6rem; 
    height: auto;
    max-width: 100%;
  }
  .cover-text {
    width: 100%;
    text-align: center;
  }
  .cover-title { font-size: 1.8rem; }
  .cover-title span { font-size: 2rem; }
  .cover-description { margin: 0 auto 0.8rem auto; font-size: 0.85rem; }
  .navigation-hint { display: none; }
  .cover-tag { padding: 0.3rem 0.8rem; font-size: 0.7rem; margin-top: 0.5rem; }
  .btn-premium { padding: 0.8rem 1.5rem; font-size: 0.9rem; }
  .slide-content { max-height: none !important; }
  .nav-header { padding: 0.6rem 2rem; }
  .book-footer { display: flex !important; justify-content: center; align-items: center; position: static; left: auto; right: auto; width: 100%; padding: 1.5rem; background: rgba(10, 10, 10, 0.95); margin-top: 2rem; }
  .page-counter { display: none; }
  .timeline-progress { display: none; }
  .logo-container { justify-content: center; }
  .logo-img { height: 40px; width: auto; }
  .book-nav-arrow { display: none !important; }
  .premium-card { padding: 1.2rem; }
  .form-card { padding: 1.2rem; }
  .slide-img {
    max-height: none;
    max-width: 100%;
  }
  .testimonial-img {
    max-height: none;
    max-width: 100%;
    width: 100%;
  }
  #slide-problem .section-title { font-size: 2.2rem; }
  #slide-problem .section-subtitle { font-size: 0.85rem; }
  #slide-problem .card-title { font-size: 1.5rem; margin-bottom: 0.8rem; }
  #slide-problem .custom-list li { font-size: 0.9rem; margin-bottom: 0.5rem; }
  #slide-problem { margin-top: 0 !important; padding-top: 3rem !important; }
  .pilares-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .pilar-number {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
  .pilar-title {
    font-size: 0.95rem;
  }
  .pilar-list li {
    font-size: 0.8rem;
  }
  @media (max-width: 600px) {
    .pilares-grid {
      grid-template-columns: 1fr;
    }
  }
}

.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
