/* =================================================================== */
/* Negócios e Carreira – Terceiro Volume | Identidade Visual
   Fundo papel claro: #F7F5F1 | Alternado: #FFFFFF
   Dourado destaque: #A8771F | Hover: #8A5D12 | Claro: #D4A64A
   Texto principal: #1F1D1A | Secundário: #5C574F
   Seções escuras: #1F1D1A (grafite quente)
====================================================================== */

:root {
  --nc-paper: #F7F5F1;
  --nc-white: #FFFFFF;
  --nc-gold: #A8771F;
  --nc-gold-hover: #8A5D12;
  --nc-gold-light: #D4A64A;
  --nc-text: #1F1D1A;
  --nc-text-muted: #5C574F;
  --nc-dark: #1F1D1A;
  --nc-dark-deep: #151311;
  --nc-border-subtle: rgba(168, 119, 31, 0.22);
  --nc-border-gold: rgba(168, 119, 31, 0.42);
}

/* Base Typography & Canvas */
html,
body {
  background-color: var(--nc-paper);
  color: var(--nc-text);
  font-family: 'Lora', Georgia, serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--nc-text);
  font-weight: 700;
  text-wrap: balance;
}

.font-cursive {
  font-family: 'Dancing Script', cursive !important;
  font-weight: 700;
}

.font-sans {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.text-gold {
  color: var(--nc-gold) !important;
}

.text-gold-light {
  color: var(--nc-gold-light) !important;
}

.text-muted-editorial {
  color: var(--nc-text-muted) !important;
}

.single-col-max {
  max-width: 780px;
}

/* Preloader */
#loader-wrapper .loader-section {
  background: var(--nc-dark);
}

#loader {
  border-top-color: var(--nc-gold-light);
}

/* Editorial Gold Divider (Inspired by Book Cover "— TERCEIRO VOLUME —") */
.gold-rule-divider {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0 auto 24px;
}

.gold-rule-divider .rule-line {
  display: block;
  width: 210px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, var(--nc-gold) 20%, var(--nc-gold-light) 50%, var(--nc-gold) 80%, transparent 100%);
}

.gold-rule-divider .rule-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--nc-gold);
  line-height: 1.2;
}

.gold-hairline {
  width: 72px;
  height: 1.5px;
  background: linear-gradient(90deg, var(--nc-gold), var(--nc-gold-light));
  margin: 14px auto 22px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nc-gold);
  margin-bottom: 12px;
}

.section-kicker::before,
.section-kicker::after {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  background-color: var(--nc-gold);
  opacity: 0.65;
}

.section-kicker-dark {
  color: var(--nc-gold-light);
}

.section-kicker-dark::before,
.section-kicker-dark::after {
  background-color: var(--nc-gold-light);
}

/* Buttons */
.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 50px;
  padding: 0.8rem 2rem !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase !important;
  border-radius: 8px !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease !important;
  cursor: pointer;
  text-decoration: none !important;
  line-height: 1.35 !important;
  vertical-align: middle;
  border: 2px solid transparent !important;
  white-space: normal;
  text-align: center;
}

.btn:focus-visible {
  outline: 3px solid rgba(168, 119, 31, 0.45);
  outline-offset: 2px;
}

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

.btn-primary {
  background-color: var(--nc-gold) !important;
  border-color: var(--nc-gold) !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 18px rgba(168, 119, 31, 0.25);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--nc-gold-hover) !important;
  border-color: var(--nc-gold-hover) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(138, 93, 18, 0.32) !important;
}

.btn-secondary {
  background-color: transparent !important;
  border: 2px solid var(--nc-gold) !important;
  color: var(--nc-gold) !important;
  box-shadow: none !important;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary:not(:disabled):not(.disabled):active {
  background-color: var(--nc-gold) !important;
  border-color: var(--nc-gold) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(168, 119, 31, 0.22) !important;
}

/* Back To Top */
#topcontrol {
  background: var(--nc-dark) !important;
  color: var(--nc-gold-light) !important;
  border: 1px solid rgba(212, 166, 74, 0.45);
}

#topcontrol:hover {
  background: var(--nc-gold) !important;
  color: #FFFFFF !important;
}

/* =================================================================== */
/* HERO SECTION (Papel Claro #F7F5F1 + Detalhes Dourados)              */
/* =================================================================== */
.hero-section {
  background: radial-gradient(circle at 82% 24%, #FFFFFF 0%, var(--nc-paper) 62%, #EFECE5 100%) !important;
  color: var(--nc-text);
  position: relative;
  overflow: hidden;
  min-height: auto !important;
  height: auto !important;
  max-height: none !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: block !important;
}

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

/* Top Brand Bar */
.brand-top-bar {
  position: relative;
  z-index: 20;
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--nc-border-subtle);
  margin-bottom: 40px;
}

.brand-header-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 0;
}

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

.brand-title {
  color: var(--nc-text);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.brand-separator {
  width: 1px;
  height: 20px;
  background-color: var(--nc-gold);
  opacity: 0.45;
  display: inline-block;
}

.brand-tagline {
  color: var(--nc-text-muted);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

@media (max-width: 575.98px) {
  .brand-top-bar {
    padding: 16px 0 14px;
    margin-bottom: 24px;
  }
  .brand-header-content {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 4px;
  }
  .brand-title {
    font-size: 1.15rem;
  }
  .brand-tagline {
    font-size: 0.82rem;
  }
}

/* Hero Copy */
.hero-section .chapter-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--nc-gold);
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--nc-border-gold);
}

.hero-section .headline {
  font-family: 'Dancing Script', cursive !important;
  font-size: clamp(3rem, 5.4vw, 4.5rem) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  color: var(--nc-gold) !important;
  text-shadow: none !important;
  text-transform: none !important;
}

.hero-section .subheadline {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.14rem !important;
  line-height: 1.72 !important;
  color: var(--nc-text-muted) !important;
  max-width: 580px;
  text-shadow: none !important;
}

.hero-section .subheadline strong {
  color: var(--nc-text);
  font-weight: 600;
}

/* Hero CTAs */
.cta-holder {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.hero-section .btn-primary {
  background-color: var(--nc-gold) !important;
  border-color: var(--nc-gold) !important;
  color: #FFFFFF !important;
}

.hero-section .btn-primary:hover,
.hero-section .btn-primary:active,
.hero-section .btn-primary:focus {
  background-color: var(--nc-gold-hover) !important;
  border-color: var(--nc-gold-hover) !important;
  color: #FFFFFF !important;
}

.hero-section .btn-secondary {
  background-color: transparent !important;
  border: 2px solid var(--nc-gold) !important;
  color: var(--nc-gold) !important;
}

.hero-section .btn-secondary:hover,
.hero-section .btn-secondary:active,
.hero-section .btn-secondary:focus {
  background-color: var(--nc-gold) !important;
  border-color: var(--nc-gold) !important;
  color: #FFFFFF !important;
}

@media (max-width: 767.98px) {
  .cta-holder {
    justify-content: center;
  }
  .hero-section .subheadline {
    margin-left: auto;
    margin-right: auto;
  }
}

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

.hero-section .book {
  position: relative;
  width: 168px;
  height: 238px;
  perspective: 1100px;
  transform-style: preserve-3d;
  margin: 28px auto 12px;
  cursor: pointer;
  z-index: 25;
  pointer-events: auto !important;
  transform: scale(1.52);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
  filter: drop-shadow(0 18px 34px rgba(31, 29, 26, 0.2));
}

.hero-section .book:hover,
.hero-section .book.book-opened {
  transform: scale(1.56) translateY(-4px);
  filter: drop-shadow(0 26px 46px rgba(31, 29, 26, 0.28));
}

.coverDesign {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  overflow: hidden;
  border-radius: 0 4px 4px 0;
  background-color: #EFECE5;
  border: 1px solid rgba(168, 119, 31, 0.2);
}

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

/* Book Inside Page */
.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 10px;
  text-align: center;
  box-sizing: border-box;
  background: linear-gradient(135deg, #FFFFFF 0%, #F7F5F1 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 var(--nc-gold);
  box-shadow: 0 4px 10px rgba(168, 119, 31, 0.22);
  overflow: hidden;
  background-color: var(--nc-dark);
  margin-bottom: 7px;
  flex-shrink: 0;
}

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

.book-inside-page .book-author-role {
  font-family: 'Montserrat', sans-serif;
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--nc-gold);
  font-weight: 700;
  display: block;
  line-height: 1.1;
  margin-bottom: 3px;
}

.book-inside-page .book-author-name {
  font-family: 'Dancing Script', cursive;
  font-size: 16px;
  font-weight: 700;
  color: var(--nc-text);
  line-height: 1.1;
  margin: 0 0 4px 0;
}

.book-inside-page .book-mini-divider {
  width: 28px;
  height: 1.5px;
  background: var(--nc-gold);
  margin: 3px auto 5px;
}

.book-inside-page .book-tagline {
  font-family: 'Lora', serif;
  font-size: 8px;
  font-style: italic;
  color: var(--nc-text-muted);
  margin: 0 0 6px 0;
  line-height: 1.25;
}

.book-inside-page .book-publisher-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nc-gold);
  border-top: 1px solid rgba(168, 119, 31, 0.35);
  border-bottom: 1px solid rgba(168, 119, 31, 0.35);
  padding: 2px 5px;
  display: inline-block;
  line-height: 1.3;
}

/* Book Spine & Hardcover Materials (Warm Cream & Gold) */
.book_spine li:first-child {
  background: #DFD8CA !important;
}

.book_spine li:last-child {
  background: #A8771F !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: #D7CEBE !important;
}

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

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

.hardcover_back li:last-child:before {
  box-shadow: 10px -1px 55px 14px rgba(31, 29, 26, 0.16) !important;
}

.hardcover_front li:last-child:before {
  box-shadow: 0px 0px 25px 4px rgba(31, 29, 26, 0.12) !important;
}

/* Book Open State (Click/Tap & Hover) */
.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;
}

.book-hint-text {
  display: inline-block;
  margin-top: 72px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--nc-text-muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.book-hint-text i {
  color: var(--nc-gold);
}

.book-hint-text:hover {
  color: var(--nc-gold);
}

@media (max-width: 991.98px) {
  .hero-section .book {
    transform: scale(1.28);
    margin: 34px auto 8px;
  }
  .book-hint-text {
    margin-top: 52px;
  }
}

@media (max-width: 767.98px) {
  .hero-section > .container {
    margin-top: 0 !important;
    padding-bottom: 32px !important;
  }
  .hero-section .book {
    transform: scale(1.18);
    margin: 24px auto 8px;
  }
  .book-hint-text {
    margin-top: 40px;
  }
}

/* =================================================================== */
/* DECORATIVE TORN-PAPER FLAGS BAND (bandeiras.jpg)                    */
/* =================================================================== */
.flags-banner-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background-color: var(--nc-paper);
}

.flags-banner-wrap--hero {
  background-color: var(--nc-paper);
  border-bottom: 1px solid var(--nc-border-subtle);
}

.flags-banner-wrap--footer {
  background-color: var(--nc-dark);
}

.flags-banner-img {
  width: 100%;
  height: 155px;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 991.98px) {
  .flags-banner-img {
    height: 120px;
  }
}

@media (max-width: 575.98px) {
  .flags-banner-img {
    height: 84px;
  }
}

/* =================================================================== */
/* SECTION HEADINGS                                                    */
/* =================================================================== */
.section-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  color: var(--nc-text);
  letter-spacing: -0.01em;
}

.section-intro {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--nc-text-muted);
}

/* =================================================================== */
/* BENEFITS SECTION (Fundo Branco #FFFFFF)                             */
/* =================================================================== */
.benefits-section {
  background-color: var(--nc-white);
  padding: 64px 0 56px;
}

.benefits-section .item-inner {
  height: 100%;
  background: var(--nc-paper);
  border: 1px solid var(--nc-border-subtle) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, background-color 0.22s ease;
}

.benefits-section .item-inner:hover {
  transform: translateY(-4px);
  border-color: var(--nc-gold) !important;
  background-color: var(--nc-white);
  box-shadow: 0 12px 28px rgba(31, 29, 26, 0.06) !important;
}

.benefits-section .item-icon {
  font-size: 2.35rem;
  color: var(--nc-gold);
  margin-bottom: 14px;
  transition: transform 0.22s ease;
}

.benefits-section .item-inner:hover .item-icon {
  transform: translateY(-2px);
}

.benefits-section .item-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--nc-text);
  margin-bottom: 10px;
}

.benefits-section .item-desc {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--nc-text-muted) !important;
}

@media (max-width: 767.98px) {
  .benefits-section {
    padding-top: 48px !important;
  }
}

/* =================================================================== */
/* ABOUT THE BOOK SECTION (Fundo Papel Claro #F7F5F1)                  */
/* =================================================================== */
.content-section {
  background-color: var(--nc-paper) !important;
  padding: 72px 0;
  border-top: 1px solid var(--nc-border-subtle);
  border-bottom: 1px solid var(--nc-border-subtle);
}

.book-cover-about-wrapper {
  display: inline-block;
  position: relative;
}

.book-cover-about {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid rgba(168, 119, 31, 0.22);
  box-shadow: 0 18px 40px rgba(31, 29, 26, 0.16);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.book-cover-about:hover {
  transform: translateY(-4px);
}

.about-book-text {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--nc-text-muted);
}

.about-book-text strong {
  color: var(--nc-text);
  font-weight: 600;
}

/* Editorial Highlighted Quote (Paper Surface + Fine All-Around Gold Border) */
.editorial-quote-box {
  background-color: var(--nc-white);
  border: 1px solid var(--nc-border-gold);
  border-radius: 10px;
  padding: 24px 26px;
  margin: 26px 0;
  text-align: left;
}

.editorial-quote-text {
  font-family: 'Dancing Script', cursive;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.38;
  color: var(--nc-text);
  margin-bottom: 12px;
}

.editorial-quote-author {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nc-gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.editorial-quote-author::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1.5px;
  background-color: var(--nc-gold);
}

/* =================================================================== */
/* AUDIENCE SECTION (Fundo Branco #FFFFFF)                             */
/* =================================================================== */
.audience-section {
  background-color: var(--nc-white);
  padding: 72px 0;
}

.audience-section .audience {
  max-width: 680px;
}

.audience-section .item {
  padding: 18px 22px;
  border-radius: 10px;
  background-color: var(--nc-paper);
  border: 1px solid var(--nc-border-subtle);
  margin-bottom: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.audience-section .item:hover {
  border-color: var(--nc-gold);
  transform: translateX(3px);
}

.audience-section .item-icon {
  font-size: 1.45rem;
  color: var(--nc-gold) !important;
  line-height: 1.3;
}

.audience-section .item-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--nc-text);
}

.audience-section .item-desc {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--nc-text-muted) !important;
}

/* =================================================================== */
/* FORM / SUMMARY SECTION (Fundo Papel + Bloco Grafite Quente #1F1D1A) */
/* =================================================================== */
.form-section {
  background-color: var(--nc-paper) !important;
  padding: 72px 0;
  border-top: 1px solid var(--nc-border-subtle);
}

.form-section .lead-form-wrapper {
  background: linear-gradient(145deg, #24211E 0%, var(--nc-dark) 100%) !important;
  border: 1px solid rgba(212, 166, 74, 0.35);
  border-radius: 12px !important;
  color: #F7F5F1;
  box-shadow: 0 20px 44px rgba(31, 29, 26, 0.18);
  max-width: 820px;
}

.form-section .form-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
  font-weight: 700;
  color: #FFFFFF;
}

.form-section .form-intro {
  font-family: 'Lora', Georgia, serif;
  color: #DDD6C9 !important;
  font-size: 1.03rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.subscribe-input {
  flex: 1;
  height: 52px !important;
  border-radius: 8px !important;
  padding: 0 1.25rem !important;
  border: 1px solid rgba(212, 166, 74, 0.45) !important;
  background: #FFFFFF !important;
  color: var(--nc-text) !important;
  font-family: 'Lora', Georgia, serif;
  font-size: 0.96rem;
}

.subscribe-input:focus {
  border-color: var(--nc-gold-light) !important;
  box-shadow: 0 0 0 3px rgba(212, 166, 74, 0.25) !important;
}

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

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

/* =================================================================== */
/* AUTHOR SECTION (Grafite Quente #1F1D1A + Detalhes Dourados)         */
/* =================================================================== */
.author-section {
  background: linear-gradient(180deg, #221F1C 0%, var(--nc-dark) 100%) !important;
  color: #F7F5F1;
  padding: 76px 0 64px !important;
  position: relative;
  text-align: center;
  border-top: 2px solid var(--nc-gold);
}

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

.author-section .author-pic {
  width: 176px;
  height: 176px;
  border-radius: 50% !important;
  border: 4px solid var(--nc-gold-light) !important;
  box-shadow: 0 0 0 6px rgba(212, 166, 74, 0.14), 0 14px 34px rgba(0, 0, 0, 0.45) !important;
  background-color: var(--nc-dark-deep) !important;
  object-fit: cover !important;
  object-position: top center !important;
  display: block !important;
  transition: transform 0.28s ease;
}

.author-section .author-pic:hover {
  transform: scale(1.03);
}

.author-name-cursive {
  font-family: 'Dancing Script', cursive !important;
  font-size: clamp(2.6rem, 4.5vw, 3.6rem) !important;
  font-weight: 700 !important;
  color: var(--nc-gold-light) !important;
  line-height: 1.15;
  margin-bottom: 18px;
}

.author-bio {
  font-family: 'Lora', Georgia, serif;
  color: #EAE4D9 !important;
  line-height: 1.85 !important;
  font-size: 1.06rem !important;
  letter-spacing: 0.01em;
}

.author-instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 11px 24px;
  border: 1.5px solid var(--nc-gold-light);
  border-radius: 8px;
  color: var(--nc-gold-light) !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none !important;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.author-instagram-link:hover,
.author-instagram-link:focus {
  background-color: var(--nc-gold);
  border-color: var(--nc-gold);
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

/* =================================================================== */
/* FOOTER                                                              */
/* =================================================================== */
.site-footer {
  background-color: var(--nc-dark-deep);
  border-top: 1px solid rgba(212, 166, 74, 0.3);
  color: #C7BFAF;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
}

.footer-publisher-logo {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

.footer-publisher-logo:hover {
  opacity: 1;
}

/* =================================================================== */
/* MODAL CHECKOUT (Papel & Dourado · Melhor Envio + Asaas)             */
/* =================================================================== */
.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* Override legacy style.css global "::before, ::after { content: ''; }"
   which otherwise injects phantom grid/flex items into containers */
#bookmodal .d-flex::before,
#bookmodal .d-flex::after,
#bookmodal .payment-method-grid::before,
#bookmodal .payment-method-grid::after,
#bookmodal .payment-method-btn::before,
#bookmodal .payment-method-btn::after,
#bookmodal .checkout-step-title::before,
#bookmodal .checkout-step-title::after,
#bookmodal .qty-control::before,
#bookmodal .qty-control::after,
#bookmodal .shipping-options-list::before,
#bookmodal .shipping-options-list::after,
#bookmodal .shipping-option-card::before,
#bookmodal .shipping-option-card::after,
#bookmodal .btn::before,
#bookmodal .btn::after {
  content: none !important;
  display: none !important;
}

#bookmodal .modal-dialog {
  max-width: 1020px;
}

#bookmodal .modal-content {
  border-radius: 14px;
  background-color: var(--nc-paper);
  border: 1px solid var(--nc-border-gold) !important;
  box-shadow: 0 24px 60px rgba(21, 19, 17, 0.38) !important;
}

#bookmodal .modal-content p {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--nc-text-muted);
}

#bookmodal button.close {
  color: var(--nc-text);
  opacity: 0.7;
}

#bookmodal button.close:hover {
  opacity: 1;
  color: var(--nc-gold);
}

#bookmodal .modal-book-title {
  font-family: 'Dancing Script', cursive;
  font-size: 1.9rem;
  color: var(--nc-gold);
  line-height: 1.15;
}

.checkout-summary-card {
  background: var(--nc-white);
  border: 1px solid var(--nc-border-subtle);
  border-radius: 10px;
  padding: 20px;
}

.checkout-kicker {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--nc-gold);
  display: block;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--nc-border-gold);
  border-radius: 6px;
  overflow: hidden;
  background: var(--nc-paper);
}

.qty-control .qty-btn {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--nc-text);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.qty-control .qty-btn:hover {
  background: rgba(168, 119, 31, 0.12);
  color: var(--nc-gold);
}

.qty-control input {
  width: 38px;
  height: 34px;
  border: 0;
  text-align: center;
  background: var(--nc-white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--nc-text);
}

.checkout-total-divider {
  height: 1px;
  background: var(--nc-border-subtle);
}

.checkout-grand-total {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--nc-gold);
}

.checkout-step {
  background: var(--nc-white);
  border: 1px solid var(--nc-border-subtle);
  border-radius: 10px;
  padding: 16px 18px;
}

.checkout-step-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nc-text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkout-step-title .step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--nc-gold);
  color: #FFFFFF;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.checkout-input {
  height: 44px !important;
  border-radius: 8px !important;
  padding: 0 0.9rem !important;
  border: 1px solid rgba(31, 29, 26, 0.18) !important;
  background: var(--nc-paper) !important;
  color: var(--nc-text) !important;
  font-family: 'Lora', Georgia, serif;
  font-size: 0.9rem !important;
}

.checkout-input:focus {
  background: var(--nc-white) !important;
  border-color: var(--nc-gold) !important;
  box-shadow: 0 0 0 3px rgba(168, 119, 31, 0.16) !important;
}

.checkout-cep-btn {
  min-height: 44px !important;
  padding: 0.5rem 1rem !important;
  font-size: 0.78rem !important;
}

.shipping-options-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shipping-option-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 1.5px solid rgba(31, 29, 26, 0.14);
  border-radius: 8px;
  background: var(--nc-paper);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  text-align: left;
  width: 100%;
}

.shipping-option-card:hover {
  border-color: var(--nc-gold);
}

.shipping-option-card.active {
  border-color: var(--nc-gold);
  background: rgba(168, 119, 31, 0.08);
}

.shipping-option-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--nc-text);
}

.shipping-option-eta {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.8rem;
  color: var(--nc-text-muted);
}

.shipping-option-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--nc-gold);
  white-space: nowrap;
}

.payment-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 575.98px) {
  .payment-method-grid {
    grid-template-columns: 1fr;
  }
}

.payment-method-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 10px;
  border: 1.5px solid rgba(31, 29, 26, 0.16);
  border-radius: 8px;
  background: var(--nc-paper);
  color: var(--nc-text);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.payment-method-btn i {
  color: var(--nc-gold);
  flex-shrink: 0;
}

.payment-method-btn:hover {
  border-color: var(--nc-gold);
}

.payment-method-btn.active {
  border-color: var(--nc-gold);
  background: var(--nc-gold);
  color: #FFFFFF;
}

.payment-method-btn.active i {
  color: #FFFFFF;
}

.checkout-alert-error {
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(185, 28, 28, 0.08);
  border: 1px solid rgba(185, 28, 28, 0.35);
  color: #991b1b;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
}

.result-payment-box {
  max-width: 480px;
  background: var(--nc-white);
  border: 1px solid var(--nc-border-gold);
  border-radius: 12px;
  padding: 24px;
}

.pix-qr-image {
  width: 210px;
  height: 210px;
  border: 1px solid var(--nc-border-subtle);
  border-radius: 8px;
  padding: 6px;
  background: #FFFFFF;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
