/* =================================================================== */
/* EditoraSorian Theme Skin
   Primary Brand Teal: #00a8b5
   Deep Navy Contrast: #091a30
   Glow Cyan Accent: #00e5ff
====================================================================== */

:root {
  --sorian-primary: #00a8b5;
  --sorian-primary-dark: #008792;
  --sorian-primary-light: #1fd1e0;
  --sorian-navy: #08182d;
  --sorian-navy-light: #0d2545;
  --sorian-accent: #00e5ff;
}

/* Base Buttons Alignment & Consistency across the Project */
.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 50px;
  padding: 0.75rem 2.2rem !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px !important;
  border-radius: 50px !important;
  transition: all 0.3s ease-in-out !important;
  cursor: pointer;
  text-decoration: none !important;
  line-height: 1.4 !important;
  vertical-align: middle;
  border: 2px solid transparent !important;
}

.btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.btn-primary {
  background: var(--sorian-primary) !important;
  border-color: var(--sorian-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 168, 181, 0.32);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: #00909c !important;
  border-color: #00909c !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 168, 181, 0.42) !important;
}

.btn-secondary {
  background: transparent !important;
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15) !important;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(145deg, #02b6c6 0%, #00a0ad 40%, #007c87 100%) !important;
  position: relative;
  overflow: hidden;
  min-height: 720px !important;
  height: auto !important;
  max-height: none !important;
  padding-top: 32px !important;
  padding-bottom: 70px !important;
  display: block !important;
}

.hero-section > .container {
  margin-top: 0 !important;
  padding-top: 10px !important;
}

/* Subtle Geometric Facets in Hero like the flyer */
.hero-section::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(35deg, rgba(0,0,0,0.06) 25%, transparent 25%),
    linear-gradient(-35deg, rgba(0,0,0,0.06) 25%, transparent 25%),
    linear-gradient(145deg, transparent 75%, rgba(255,255,255,0.05) 75%);
  background-size: 60px 60px;
  opacity: 0.35;
  pointer-events: none;
}

/* Top Brand Bar - Clean and Professional */
.brand-top-bar {
  position: relative;
  z-index: 10;
  padding: 16px 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 28px;
}

.brand-header-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.brand-identity {
  display: flex;
  align-items: center;
}

.brand-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.brand-title {
  color: #ffffff;
  font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1;
}

.brand-separator {
  width: 1.5px;
  height: 22px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  display: inline-block;
}

.brand-tagline {
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.2px;
}

@media (max-width: 575.98px) {
  .brand-top-bar {
    padding: 14px 0 12px;
    margin-bottom: 20px;
  }
  .brand-header-content {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 4px;
  }
  .brand-title {
    font-size: 1.35rem;
  }
  .brand-tagline {
    font-size: 0.85rem;
    opacity: 0.88;
  }
}

/* Hero Typography */
.hero-section .headline {
  font-family: 'Ubuntu', sans-serif;
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 18px rgba(0, 40, 60, 0.25);
}

.hero-section .badge-author {
  display: inline-block;
  background: rgba(8, 24, 45, 0.35);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 15px;
  font-weight: 600;
}

.hero-section .subheadline {
  font-size: 1.22rem;
  line-height: 1.6;
  color: #e6f9fb;
  max-width: 600px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Hero CTA Buttons Alignment */
.cta-holder {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

@media (max-width: 767.98px) {
  .cta-holder {
    justify-content: center;
  }
}

.hero-section .btn-primary {
  color: #008792 !important;
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 24px rgba(0, 50, 70, 0.22);
}

.hero-section .btn-primary:hover,
.hero-section .btn-primary:active,
.hero-section .btn-primary:focus {
  background-color: #f0fdff !important;
  border-color: #f0fdff !important;
  color: #006f78 !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 50, 70, 0.3) !important;
}

.hero-section .btn-secondary {
  border: 2px solid rgba(255, 255, 255, 0.9) !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(4px);
}

.hero-section .btn-secondary:hover,
.hero-section .btn-secondary:active,
.hero-section .btn-secondary:focus {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* 3D Interactive Book Presentation */
.book-3d-wrapper {
  display: inline-block;
  position: relative;
  text-align: center;
}

.hero-section .book {
  position: relative;
  width: 165px;
  height: 220px;
  perspective: 1000px;
  transform-style: preserve-3d;
  margin: 30px auto 10px;
  cursor: pointer;
  z-index: 111;
  pointer-events: auto !important;
  transform: scale(1.65);
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: drop-shadow(0 18px 32px rgba(2, 22, 40, 0.45));
}

.hero-section .book:hover,
.hero-section .book.book-opened {
  transform: scale(1.68) translateY(-4px);
  filter: drop-shadow(0 26px 45px rgba(2, 22, 40, 0.6));
}

/* Front Cover Image Fit */
.coverDesign {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  overflow: hidden;
  border-radius: 0 4px 4px 0;
  background-color: #032b40;
}

.coverDesign .book-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Inside Page Content: Pedro Luiz Gómez Cardoso */
.book-inside-page {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  text-align: center;
  box-sizing: border-box;
  background: linear-gradient(135deg, #ffffff 0%, #f4fbfb 100%);
  border-radius: 0 4px 4px 0;
  overflow: hidden;
}

.book-inside-page .author-avatar-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2px solid #00a8b5;
  box-shadow: 0 4px 10px rgba(0, 168, 181, 0.28);
  overflow: hidden;
  background-color: #ffffff;
  margin-bottom: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.book-inside-page .book-author-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.book-inside-page .book-author-role {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #008792;
  font-weight: 700;
  display: block;
  line-height: 1;
  margin-bottom: 3px;
}

.book-inside-page .book-author-name {
  font-size: 11px;
  font-weight: 800;
  color: #081d33;
  line-height: 1.25;
  margin: 0 0 3px 0;
  font-family: 'Ubuntu', sans-serif;
}

.book-inside-page .book-mini-divider {
  width: 26px;
  height: 2px;
  background: #00a8b5;
  margin: 2px auto 4px;
  border-radius: 2px;
}

.book-inside-page .book-tagline {
  font-size: 8.5px;
  font-style: italic;
  color: #4a5568;
  margin: 0 0 5px 0;
  line-height: 1.2;
}

.book-inside-page .book-publisher-badge {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #008792;
  background: rgba(0, 168, 181, 0.12);
  padding: 2px 6px;
  border-radius: 3px;
  display: inline-block;
  line-height: 1.2;
}

/* Book Realistic Spine & Materials matching the cover */
.book_spine li:first-child {
  background: #022336 !important;
}

.book_spine li:last-child {
  background: #011420 !important;
}

.hardcover_front li:first-child:after,
.hardcover_front li:first-child:before,
.hardcover_front li:last-child:after,
.hardcover_front li:last-child:before,
.hardcover_back li:first-child:after,
.hardcover_back li:first-child:before,
.book_spine li:first-child:after,
.book_spine li:first-child:before,
.book_spine li:last-child:after,
.book_spine li:last-child:before {
  background: #032b40 !important;
}

.hardcover_back li:first-child,
.hardcover_back li:last-child {
  background: #021e2f !important;
}

.hardcover_front li:last-child {
  background: #f7fafc !important;
  border-right: 1px solid #e2e8f0;
}

/* Click & Hover Book Opening */
.book:hover > .hardcover_front,
.book.book-opened > .hardcover_front {
  -webkit-transform: rotateY(-145deg) translateZ(0);
  -moz-transform: rotateY(-145deg) translateZ(0);
  transform: rotateY(-145deg) translateZ(0);
  z-index: 0;
}

.book:hover > .page li:nth-child(1),
.book.book-opened > .page li:nth-child(1) {
  transform: rotateY(-30deg);
  transition-duration: 1.5s;
}

.book:hover > .page li:nth-child(2),
.book.book-opened > .page li:nth-child(2) {
  transform: rotateY(-35deg);
  transition-duration: 1.8s;
}

.book:hover > .page li:nth-child(3),
.book.book-opened > .page li:nth-child(3) {
  transform: rotateY(-118deg);
  transition-duration: 1.6s;
}

.book:hover > .page li:nth-child(4),
.book.book-opened > .page li:nth-child(4) {
  transform: rotateY(-130deg);
  transition-duration: 1.4s;
}

.book:hover > .page li:nth-child(5),
.book.book-opened > .page li:nth-child(5) {
  transform: rotateY(-140deg);
  transition-duration: 1.2s;
}

/* User interaction badge */
.book-hint-badge {
  display: inline-block;
  background: rgba(8, 24, 45, 0.4);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #d1f4f8;
  font-size: 0.82rem;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.book-hint-badge:hover {
  background: rgba(8, 24, 45, 0.65);
  color: #ffffff;
  border-color: rgba(0, 229, 255, 0.5);
}

@media (max-width: 767.98px) {
  .hero-section .book {
    transform: scale(1.35);
    margin: 50px auto 10px;
  }
}

@media (max-width: 575.98px) {
  .hero-section .book {
    transform: scale(1.15);
    margin: 35px auto 10px;
  }
}

/* Book Cover Display */
.book-cover-mockup-wrapper {
  display: inline-block;
  position: relative;
  text-align: center;
}

.book-cover-hero {
  max-width: 320px;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 20px 45px rgba(3, 24, 44, 0.4), 0 6px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.book-cover-hero:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 28px 60px rgba(3, 24, 44, 0.5), 0 10px 24px rgba(0, 0, 0, 0.25);
}

.book-cover-chapters-wrapper {
  display: inline-block;
  position: relative;
  text-align: center;
}

.book-cover-chapters {
  max-width: 270px;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-cover-chapters:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.22);
}

/* Benefits Section */
.benefits-section .item-icon {
  color: var(--sorian-primary);
  transition: transform 0.3s ease;
}
.benefits-section .item-inner:hover .item-icon {
  transform: scale(1.15) translateY(-3px);
}

.benefits-section .item-inner {
  border-radius: 12px;
  transition: all 0.3s ease;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

.benefits-section .item-inner:hover {
  box-shadow: 0 10px 30px rgba(0, 168, 181, 0.12);
  transform: translateY(-4px);
}

/* Audience Section */
.audience-section .item-icon {
  color: var(--sorian-primary);
}

/* Reviews Section */
.reviews-section .icon-holder {
  background: var(--sorian-primary);
}

.reviews-section .item-inner {
  background: #ffffff;
  border-left: 4px solid var(--sorian-primary);
}

/* Subscribe Section */
.form-section {
  background: #f8fafc;
}

.form-section .lead-form-wrapper {
  background: linear-gradient(135deg, #091e36 0%, #0c2b4e 100%);
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(8, 24, 45, 0.2);
}

.subscribe-input-group {
  display: flex;
  align-items: center;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
  gap: 12px;
}

.subscribe-input {
  flex: 1;
  height: 50px !important;
  border-radius: 50px !important;
  padding: 0 1.5rem !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  color: #1e293b !important;
  font-size: 0.95rem;
}

.subscribe-input:focus {
  background: #ffffff !important;
  border-color: var(--sorian-primary) !important;
  box-shadow: 0 0 0 0.2rem rgba(0, 168, 181, 0.25) !important;
}

.btn-subscribe-clean {
  white-space: nowrap;
  flex-shrink: 0;
  height: 50px !important;
}

@media (max-width: 575.98px) {
  .subscribe-input-group {
    flex-direction: column;
    gap: 10px;
  }
  .subscribe-input-group .subscribe-input {
    width: 100%;
  }
  .subscribe-input-group .btn-subscribe-clean {
    width: 100%;
  }
}

/* Author Section */
.author-section {
  background: linear-gradient(135deg, #081a30 0%, #0c2646 60%, #007682 100%) !important;
  position: relative;
  text-align: center;
}

.author-section .author-profile {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 auto !important;
  position: relative;
  text-align: center;
}

.author-section .author-pic {
  width: 170px;
  height: 170px;
  border-radius: 50% !important;
  border: 4px solid #00e5ff !important;
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.45), 0 10px 30px rgba(0, 0, 0, 0.35) !important;
  background-color: #ffffff !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 auto !important;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.author-section .author-pic:hover {
  transform: scale(1.03);
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.65), 0 14px 35px rgba(0, 0, 0, 0.45) !important;
}

/* Separator SVGs */
.bottom-separator path {
  fill: #081a30 !important;
}

/* Modal Checkout Styling */
#bookmodal .modal-content {
  border-radius: 1.25rem;
  background-color: #fdfdf9;
  border: 1px solid rgba(0, 135, 146, 0.15) !important;
  box-shadow: 0 25px 60px rgba(8, 26, 48, 0.35) !important;
}

#bookmodal .modal-content p {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
}

#bookmodal .modal-subtitle {
  color: #64748b;
  font-size: 0.9rem !important;
  margin-bottom: 1rem;
}

#bookmodal .form-control {
  border-radius: 50px;
  padding: 0.6rem 1.2rem;
  height: 46px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  color: #1e293b;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

#bookmodal .form-control:focus {
  border-color: #008792;
  box-shadow: 0 0 0 3px rgba(0, 135, 146, 0.15);
  background: #ffffff;
}

/* Format Cards */
.format-selector {
  margin-bottom: 1.15rem;
}

.format-card {
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
  background: #ffffff;
  transition: all 0.25s ease;
  position: relative;
  text-align: left;
  user-select: none;
}

.format-card:hover {
  border-color: #008792;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.format-card.active {
  border-color: #008792;
  background: #f0fdff;
  box-shadow: 0 6px 18px rgba(0, 135, 146, 0.18);
}

.format-card .format-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: #1e293b;
  margin-bottom: 2px;
}

.format-card.active .format-title {
  color: #008792;
}

.format-card .format-price {
  font-size: 1.22rem;
  font-weight: 800;
  color: #008792;
  line-height: 1.2;
}

.format-card .format-detail {
  font-size: 0.76rem;
  color: #64748b;
  margin-top: 2px;
}

.format-card .format-badge-check {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #008792;
  font-size: 1.05rem;
  display: none;
}

.format-card.active .format-badge-check {
  display: block;
}

/* Payment Pills */
.payment-methods-pills label {
  cursor: pointer;
  margin-bottom: 0;
}

.badge-pix {
  background: #10b981;
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-block;
}

.payment-methods-pills .badge {
  padding: 6px 10px;
  font-size: 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.payment-pill.active .badge-secondary {
  background-color: #1e293b;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.payment-pill.active .badge-light {
  background-color: #e2e8f0;
  border-color: #94a3b8 !important;
}

/* Modal Submit Button */
.btn-checkout-modal {
  border-radius: 50px;
  padding: 13px 24px;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  background-color: #008792;
  border-color: #008792;
  box-shadow: 0 8px 22px rgba(0, 135, 146, 0.3);
  transition: all 0.3s ease;
}

.btn-checkout-modal:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 135, 146, 0.4);
}

.btn-checkout-whatsapp {
  background-color: #25D366 !important;
  border-color: #25D366 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35) !important;
}

.btn-checkout-whatsapp:hover {
  background-color: #1eb956 !important;
  border-color: #1eb956 !important;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45) !important;
}

.btn-checkout-herospark {
  background-color: #008792 !important;
  border-color: #008792 !important;
  color: #ffffff !important;
}

.btn-checkout-herospark:hover {
  background-color: #006f78 !important;
  border-color: #006f78 !important;
}

/* Preloader */
#loader {
  border-top-color: var(--sorian-primary);
}
