:root {
  --bg-color: #FBFBF9; /* Soft cream/paper */
  --text-primary: #1C2331; /* Charcoal */
  --text-secondary: #4A5568; /* Lighter slate */
  --accent-gold: #C29B62; /* Elegant gold/bronze */
  --accent-gold-hover: #b08a50;
  --bg-dark: #0D1B2A; /* Deep navy */
  --white: #FFFFFF;
  --border-color: #E2E8F0;
  
  --font-heading: Georgia, 'Times New Roman', Times, serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  
  --transition: all 0.3s ease;
  
  --spacing-section: 5rem 2rem;
  --border-radius: 8px;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header & Nav */
.header {
  background-color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #000000;
}

.nav__logo span {
  color: var(--accent-gold);
}





/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background-color: var(--accent-gold);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(194, 155, 98, 0.3);
}

.btn--primary:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(194, 155, 98, 0.4);
}

.btn--secondary {
  background-color: transparent;
  color: var(--bg-dark);
  border: 1px solid var(--bg-dark);
}

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

.btn--light {
  background-color: var(--white);
  color: var(--bg-dark);
}

.btn--light:hover {
  background-color: var(--bg-color);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  background-color: var(--bg-dark);
  color: var(--white);
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(194, 155, 98, 0.1) 0%, rgba(13, 27, 42, 0) 70%);
  pointer-events: none;
}

.hero__content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero__subtitle {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  display: block;
}

.hero__title {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero__desc {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Sections General */
.section {
  padding: var(--spacing-section);
}

.section--alt {
  background-color: var(--white);
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section__title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section__desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* Collection Cards */
.collection-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.book-card {
  flex: 1 1 calc(33.333% - 2rem);
  min-width: 280px;
  max-width: 350px;
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  position: relative;
}

.book-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--accent-gold);
}

.book-card__img-wrapper {
  background: var(--bg-color);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px; /* Placeholder format */
  position: relative;
}

/* Keep every main book cover at its natural proportion inside the fixed card. */
.page-home #colecao .book-card__img-wrapper > img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 250px;
  object-fit: contain;
  aspect-ratio: auto;
}

.book-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--accent-gold);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.book-card__badge.embreve {
  background-color: var(--text-secondary);
}

.book-card__content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.book-card__title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--bg-dark);
}

.book-card__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.book-card__link {
  font-weight: 600;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.book-card__link:hover {
  gap: 0.8rem;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.feature {
  padding: 2rem;
  background: var(--bg-color);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}

.feature__icon {
  font-size: 2.5rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

.feature__title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Split Section (Image + Text) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split__content {
  padding-right: 2rem;
}

.split__img {
  border-radius: var(--border-radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* Specific Hero Split Adjustment */
.hero .split {
  grid-template-columns: 1.4fr 0.6fr; /* 70% content, 30% image */
  gap: 3rem;
}

.hero .split__img img {
  max-width: 100%;
  height: auto;
  transform: translateY(20px); /* Subtle offset for a more dynamic look */
}

@media (max-width: 900px) {
  .hero .split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero .split__img {
    order: -1; /* no celular, a capa aparece em cima do texto */
  }
  .hero .split__img img {
    transform: none;
    max-width: 250px;
    margin: 0 auto;
  }
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.book-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  background: var(--white);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bg-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
}

.faq-icon {
  transition: transform 0.4s ease;
  color: var(--accent-gold);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 1.5rem;
  color: var(--text-secondary);
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  max-height: 800px;
  opacity: 1;
}

/* Call to Action */
.cta-section {
  background-color: var(--bg-dark);
  color: var(--white);
  text-align: center;
  padding: 5rem 2rem;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

/* Footer */
.footer {
  background-color: #08111a;
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand h3 span {
  color: var(--accent-gold);
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 0.8rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-nav a:hover {
  color: var(--accent-gold);
}

.footer-nav h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Utility */
.highlight {
  color: var(--accent-gold);
}

/* Responsive */
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .split__content {
    padding-right: 0;
  }
  .split.reverse {
    display: flex;
    flex-direction: column-reverse;
  }
}

@media (max-width: 768px) {
  .hero__title { font-size: 2.5rem; }
  .section__title { font-size: 2rem; }
  .footer-top { grid-template-columns: 1fr; }
  
  .hero__actions {
    flex-direction: column;
  }
}

/* ===== Product Page Classes (replacing inline styles) ===== */
.product-features {
  list-style: none !important;
  margin-bottom: 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.product-features li {
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.product-features li svg {
  color: var(--accent-gold);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-right: 10px;
}
.btn--cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  text-transform: uppercase;
}
.btn--cta small {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.8;
}
.secure-badge {
  margin-top: 1.5rem;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  width: auto;
}
.secure-badge svg {
  width: 16px;
}
.section-cta {
  text-align: center;
  margin-top: 2rem;
}
.gallery-hint {
  text-align: center;
  color: var(--text-secondary);
  margin-top: 0.75rem;
  font-size: 0.9rem;
}
.gallery-hint svg {
  width: 14px;
  vertical-align: middle;
}
/* Sales Page Specifics */
.gallery-carousel { display: flex; gap: 1.5rem; overflow-x: auto; padding: 1rem 0 2rem 0; scroll-snap-type: x mandatory; scroll-behavior: smooth; align-items: center; }
.gallery-carousel img { height: 400px; width: auto; max-width: 85vw; object-fit: contain; border-radius: 8px; box-shadow: 0 15px 30px rgba(0,0,0,0.15); scroll-snap-align: center; flex: 0 0 auto; }

/* Pricing Section - Exact Sync with Workspace MKT */
.pricing-section {
    padding: 4rem 0;
}

.pricing-grid {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.pricing-card {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    border: 1px solid #ddd;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: white;
    position: relative;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #212121;
    text-align: left;
}

.pricing-card.premium {
    border: 4px solid #C29B62;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.premium:hover {
    transform: scale(1.08);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.pricing-card.physical {
    overflow: hidden;
    position: relative;
}

.popular-badge {
    background: #C29B62;
    color: #fff;
    text-align: center;
    padding: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.pricing-header {
    padding: 2rem;
    text-align: center;
    background: #f5f7fa;
    border-bottom: 1px solid #eee;
    position: relative;
}

.pricing-card.premium .pricing-header {
    background: linear-gradient(to bottom, #fdfaf5, #fff);
    padding-bottom: 2rem;
}

.price-container {
    margin: 1rem 0;
}

.old-price {
    text-decoration: line-through;
    color: #757575;
    font-size: 1rem;
    display: block;
}

.new-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #212121;
}

.premium .new-price {
    color: #38A169;
}

.pricing-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pricing-features {
    margin-bottom: 2rem;
    flex: 1;
    list-style: none;
    padding: 0;
}

.pricing-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: #212121;
}

.check-icon {
    color: #38A169;
    margin-right: 0.8rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 100%;
        max-width: 450px;
        margin-bottom: 2rem;
    }

    .pricing-card.premium {
        transform: scale(1.02);
    }

}

/* Comparison Section Styles */
.compare-container { display: flex; align-items: center; justify-content: center; gap: 2rem; margin-top: 3rem; flex-wrap: wrap; }
.compare-box { background: transparent; padding: 0; box-shadow: none; text-align: center; max-width: 450px; width: 100%; position: relative; margin-top: 1.5rem; }
.compare-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.85rem; font-weight: 700; color: var(--white); box-shadow: 0 5px 15px rgba(0,0,0,0.2); white-space: nowrap; z-index: 2; }
.compare-badge--old { background: #E53E3E; }
.compare-badge--new { background: #38A169; }
.compare-content img { width: 100%; height: auto; max-height: 60vh; object-fit: contain; border-radius: 0; margin-bottom: 1rem; border: none; }
.compare-caption { font-size: 1.1rem; font-weight: 600; color: var(--text-secondary); }
.compare-caption.highlight { color: #38A169; }
.compare-arrow { font-size: 2rem; color: #C29B62; }

/* Pricing mobile-compact (consolidado das paginas de produto) */
@media (max-width: 768px) {
  .pricing-section .section__header { margin-bottom: 1.5rem !important; }
  .pricing-section .hero__subtitle { font-size: 0.75rem !important; margin-bottom: 0.3rem !important; }
  .pricing-section .section__title { font-size: 1.5rem !important; margin-bottom: 0.3rem !important; }
  .pricing-grid { gap: 1.2rem !important; padding: 0 0.5rem !important; }
  .pricing-card { border-radius: 12px !important; border-width: 3px !important; }
  .popular-badge { padding: 0.4rem 0.5rem !important; font-size: 0.7rem !important; letter-spacing: 0.5px !important; }
  .pricing-header { padding: 1rem 1rem 0.8rem !important; }
  .pricing-header h3 { font-size: 1.25rem !important; margin-bottom: 2px !important; }
  .pricing-header p:not(.new-price):not(.old-price) { font-size: 0.8rem !important; }
  .price-container { margin: 0.5rem 0 !important; }
  .old-price { font-size: 0.85rem !important; margin-bottom: 0 !important; }
  .new-price { font-size: 3rem !important; line-height: 1.1 !important; white-space: nowrap !important; }
  .pricing-body { padding: 0.8rem 1rem 1rem !important; }
  .pricing-features { margin-bottom: 0.8rem !important; }
  .pricing-features li { margin-bottom: 0.35rem !important; font-size: 0.82rem !important; line-height: 1.3 !important; }
  .pricing-card .btn { padding: 0.7rem 0.5rem !important; font-size: 0.9rem !important; }
  .pricing-card .secure-badge { margin-top: 6px !important; font-size: 0.75rem !important; }
}

/* ===== Materiais Complementares ===== */
.nav__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.btn--nav {
  padding: 0.55rem 1rem;
  font-size: 0.84rem;
  line-height: 1.2;
}

.nav__actions .btn--secondary {
  border-color: var(--accent-gold);
  color: var(--bg-dark);
}

.nav__actions .btn--secondary:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--white);
}

.catalog-cta {
  max-width: 850px;
  margin: 3.5rem auto 0;
  padding: 2.25rem;
  border: 1px solid rgba(194, 155, 98, 0.45);
  border-radius: 14px;
  background: linear-gradient(135deg, #fffdf8 0%, #f5ead8 100%);
  text-align: center;
  box-shadow: 0 16px 35px rgba(13, 27, 42, 0.08);
}

.catalog-cta p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.btn--catalog {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.1rem 2.2rem;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.btn--catalog svg {
  width: 20px;
  height: 20px;
}

.materials-hero {
  padding: 6.5rem 2rem;
}

.materials-hero .hero__content {
  max-width: 900px;
}

.materials-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.35rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(194, 155, 98, 0.45);
  border-radius: 999px;
  color: #f0d6ad;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.featured-material {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(320px, 1.22fr);
  gap: 4rem;
  align-items: center;
}

.featured-material__cover {
  width: min(100%, 390px);
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 24px 55px rgba(13, 27, 42, 0.22);
}

.complementary-featured-collection {
  margin-bottom: 4.5rem;
  padding: 3.25rem;
  border-top: 3px solid var(--accent-gold);
  border-radius: 0 0 14px 14px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(13, 27, 42, 0.08);
}

.complementary-featured-collection .featured-material__cover {
  max-width: 350px;
}

.complementary-featured-collection .split__content {
  padding-right: 0;
}

.complementary-individuals-header {
  margin-bottom: 3rem;
}

.offer-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.65rem 1rem;
  margin: 1.4rem 0 1.8rem;
}

.offer-price__old {
  color: var(--text-secondary);
  font-size: 1rem;
  text-decoration: line-through;
}

.offer-price__new {
  color: #2f855a;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.material-card-link {
  display: block;
  width: 100%;
  max-width: 350px;
}

.material-card-link .book-card {
  width: 100%;
  height: 100%;
}

.material-card-link .book-card__img-wrapper {
  height: 360px;
  padding: 1.5rem;
  background: linear-gradient(180deg, #f8f5ee 0%, #eee5d8 100%);
}

.material-card-link .book-card__img-wrapper img {
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 1023 / 1537;
  object-fit: contain;
  border-radius: 5px;
  box-shadow: 0 12px 25px rgba(13, 27, 42, 0.18);
}

.material-card-link--collection {
  max-width: 365px;
}

.material-card-link--collection .book-card {
  border: 2px solid var(--accent-gold);
}

.complementary-hero {
  padding: 4.5rem 2rem;
  text-align: left;
}

.complementary-hero .split {
  position: relative;
  z-index: 2;
}

.complementary-hero .hero__title {
  font-size: clamp(2.4rem, 5vw, 3.7rem);
}

.complementary-hero .hero__desc {
  font-size: 1.12rem;
}

.complementary-cover {
  width: min(100%, 390px) !important;
  height: auto !important;
  max-height: 620px !important;
  aspect-ratio: 1023 / 1537;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 7px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.35);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.topic-card {
  padding: 1.4rem;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 7px 22px rgba(13, 27, 42, 0.05);
}

.topic-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--bg-dark);
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.topic-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.study-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  counter-reset: study-step;
}

.study-step {
  position: relative;
  padding: 2rem 1.5rem 1.5rem;
  border-top: 3px solid var(--accent-gold);
  border-radius: 0 0 10px 10px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(13, 27, 42, 0.06);
  counter-increment: study-step;
}

.study-step::before {
  content: "0" counter(study-step);
  display: block;
  margin-bottom: 0.8rem;
  color: var(--accent-gold);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}

.study-step h3 {
  margin-bottom: 0.55rem;
  font-size: 1.2rem;
}

.study-step p {
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.collection-upsell {
  padding: 2.5rem;
  border: 1px solid rgba(194, 155, 98, 0.5);
  border-radius: 14px;
  background: linear-gradient(135deg, #0d1b2a 0%, #172e45 100%);
  color: var(--white);
  text-align: center;
}

.collection-upsell h2,
.collection-upsell h3 {
  color: var(--white);
}

.collection-upsell p {
  max-width: 700px;
  margin: 0.85rem auto 1.5rem;
  color: rgba(255, 255, 255, 0.76);
}

.pricing-card--digital-only {
  width: min(100%, 470px);
  flex: 0 1 470px;
}

.btn--pending,
.btn--pending:hover {
  background: #d8c4a5;
  color: #0d1b2a;
  box-shadow: none;
  cursor: default;
  transform: none;
}

.checkout-note {
  margin-top: 0.8rem;
  color: #718096;
  font-size: 0.82rem;
  text-align: center;
}

.digital-only-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.questionnaire-demo-section {
  overflow: hidden;
}

.demo-gallery-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1rem 0.25rem 2rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--accent-gold) #e8e2d8;
  scrollbar-width: thin;
}

.demo-gallery-carousel a {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.86rem;
  scroll-snap-align: center;
}

.demo-gallery-carousel img {
  width: min(480px, 82vw);
  height: auto;
  aspect-ratio: 1200 / 1699;
  object-fit: contain;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 35px rgba(13, 27, 42, 0.14);
  transition: var(--transition);
}

.demo-gallery-carousel a:hover img,
.demo-gallery-carousel a:focus-visible img {
  border-color: var(--accent-gold);
  box-shadow: 0 20px 42px rgba(13, 27, 42, 0.2);
  transform: translateY(-3px);
}

.demo-gallery-hint {
  margin-top: 0.25rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 960px) {
  .nav--with-actions {
    height: auto;
    min-height: 80px;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
  }

  .nav--with-actions .nav__logo {
    font-size: 1.2rem;
  }

  .nav--with-actions .btn--nav {
    max-width: 155px;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }

  .featured-material {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .featured-material .offer-price {
    justify-content: center;
  }

  .study-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .nav--with-actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .nav--with-actions .nav__logo {
    width: 100%;
    justify-content: center;
  }

  .nav--with-actions .nav__logo img {
    height: 30px !important;
  }

  .nav__actions {
    width: 100%;
    justify-content: center;
  }

  .nav--with-actions .btn--nav {
    flex: 1;
    max-width: 180px;
  }

  .materials-hero,
  .complementary-hero {
    padding: 4.5rem 1rem;
  }

  .materials-hero .hero__title {
    font-size: 2.35rem;
  }

  .catalog-cta {
    padding: 1.6rem 1rem;
  }

  .complementary-featured-collection {
    margin-bottom: 3.5rem;
    padding: 2rem 1.2rem;
  }

  .complementary-featured-collection .section__title {
    text-align: center !important;
  }

  .complementary-featured-collection .btn {
    width: 100%;
  }

  .btn--catalog {
    width: 100%;
    padding: 1rem;
    font-size: 0.9rem;
  }

  .material-card-link,
  .material-card-link--collection {
    max-width: 100%;
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }

  .collection-upsell {
    padding: 2rem 1.15rem;
  }
}


/* Logo intrinsic sizing */
.nav__logo img,
.footer-brand img {
  width: auto;
  object-fit: contain;
}

/* Real reader testimonials */
.testimonials-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(194, 155, 98, 0.12), transparent 30%),
    linear-gradient(180deg, #f7f3ec 0%, #fbfbf9 100%);
  border-top: 1px solid rgba(194, 155, 98, 0.22);
  border-bottom: 1px solid rgba(194, 155, 98, 0.22);
}

.testimonials-section__header {
  margin-bottom: 3rem;
}

.testimonials-section__eyebrow {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--accent-gold-hover);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.testimonials-section__swipe-hint {
  display: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  position: relative;
  display: flex;
  grid-column: span 2;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--accent-gold);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(13, 27, 42, 0.08);
}

.testimonial-card--wide {
  grid-column: span 3;
}

.testimonial-card__mark {
  height: 2.25rem;
  margin-bottom: 0.35rem;
  color: var(--accent-gold);
  font-family: var(--font-heading);
  font-size: 4.25rem;
  line-height: 0.8;
}

.testimonial-card__quote {
  flex: 1;
  margin: 0 0 1.7rem;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.65;
}

.testimonial-card__person {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 1rem;
  color: var(--text-primary);
  border-top: 1px solid var(--border-color);
}

.testimonial-card__person strong,
.testimonial-card__person small {
  display: block;
}

.testimonial-card__person strong {
  font-size: 0.95rem;
}

.testimonial-card__person small {
  margin-top: 0.05rem;
  color: var(--text-secondary);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}

.testimonial-card__initial {
  display: grid;
  flex: 0 0 2.45rem;
  width: 2.45rem;
  height: 2.45rem;
  place-items: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  background: var(--bg-dark);
  border: 2px solid rgba(194, 155, 98, 0.72);
  border-radius: 50%;
}

.testimonials-section .section-cta {
  padding-right: 1.25rem;
  padding-left: 1.25rem;
}

@media (max-width: 900px) {
  .testimonials-section {
    padding-right: 0;
    padding-left: 0;
  }

  .testimonials-section > .container {
    max-width: none;
    padding-right: 0;
    padding-left: 0;
  }

  .testimonials-section__header {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .testimonials-section__swipe-hint {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    margin: 0 1.25rem 0.35rem;
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .testimonials-section__swipe-hint span {
    color: var(--accent-gold-hover);
    font-size: 1.15rem;
  }

  .testimonials-grid {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.75rem 1.25rem 1.5rem;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1.25rem;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: var(--accent-gold) #e8e2d8;
    scrollbar-width: thin;
  }

  .testimonial-card,
  .testimonial-card--wide {
    grid-column: auto;
    flex: 0 0 min(82vw, 350px);
    min-height: auto;
    padding: 1.6rem;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }
}
