/* Importando as fontes personalizadas */
@import url("https://fonts.cdnfonts.com/css/garet");
@import url("https://fonts.cdnfonts.com/css/solomon-sans");

/* Fallback para Huova */
@font-face {
  font-family: "Huova";
  src: local("Playfair Display");
  font-weight: 700 900;
}

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

:root {
  --navy: #0a2540;
  --red: #c8102e;
  --gold: #d4af37;
  --cream: #faf7f2;
  --gray: #6b7280;
  --light-gray: #f3f4f6;
  --border: #e5e7eb;

  /* Tipografias */
  --font-title: "Garet", "Work Sans", -apple-system, sans-serif;
  --font-title-serif: "Huova", "Playfair Display", serif;
  --font-subtitle: "Garet", "Work Sans", -apple-system, sans-serif;
  --font-porto: "Solomon Sans", "IBM Plex Sans", sans-serif;
  --font-body: "Garet", "Work Sans", -apple-system, sans-serif;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--navy);
  background: var(--cream);
}

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

/* Porto & Porto Brand */
.porto-brand {
  font-family: var(--font-porto);
  font-weight: 700;
  letter-spacing: 1px;
}

/* Hero Section com background orgânico */
.hero {
  /* background: linear-gradient(135deg, #1b5a85 0%, #0a2540 50%, #1a3a5a 100%); */
  background: linear-gradient(135deg, #1b5a85 0%, #267da8 50%, #18537f 100%);
  color: white;
  padding: 80px 20px 60px;
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="0%"><stop offset="0%" style="stop-color:%233999BF;stop-opacity:0.3" /><stop offset="100%" style="stop-color:%232E6EA6;stop-opacity:0.2" /></linearGradient></defs><path d="M0,200 Q300,100 600,200 T1200,200 L1200,0 L0,0 Z" fill="url(%23grad1)"/><path d="M0,400 Q400,300 800,400 T1200,400 L1200,200 L0,200 Z" fill="url(%23grad1)" opacity="0.5"/></svg>');
  background-size: cover;
  background-position: center;
  opacity: 0.6;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 15%;
  right: calc(50% - 600px);
  width: 640px;
  height: 500px;
  background-image: url("https://mktgen.com.br/imagens/celmo-celeno-porto/2026/porto-e-porto-intro.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.95;
  z-index: 1;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.badge {
  /* background: var(--red); */
  background: var(--navy);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-family: var(--font-subtitle);
}

.hero h1 {
  font-family: var(--font-title-serif);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
  max-width: 700px;
}

.hero-subtitle {
  font-family: var(--font-subtitle);
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1.5;
  margin-bottom: 40px;
  opacity: 0.95;
  max-width: 650px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-title-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-family: var(--font-subtitle);
  font-size: 14px;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  /* color: var(--navy); */
  color: #164d69 !important;
  padding: 18px 36px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-subtitle);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.hero-cta:hover {
  color: var(--navy);
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

/* Mini Cart */
.mini-cart {
  position: fixed;
  top: 20px;
  right: 20px;
  background: white;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 90;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-subtitle);
}

.mini-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cart-icon {
  font-size: 24px;
}

.cart-count {
  /* background: var(--red); */
  background: var(--navy);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.minicart-wrapper .block-minicart {
  z-index: 200;
  position: fixed;
  top: 70px;
  right: min(5%, 40px);
  max-width: 400px;
  width: 90%;
  min-width: initial;
}

/* Books Section - Background orgânico sutil */
.books-section,
.new-book {
  padding: 80px 20px;
  background: linear-gradient(180deg, #e8f4f8 0%, #ffffff 50%, #f0f9ff 100%);
  position: relative;
}

.new-book-content {
  align-items: center;
  display: flex;
  gap: 60px;
  margin: 0 auto 3em;
  max-width: 95%;
}
.new-book-content picture {
  flex: 0 0 350px;
}
.new-book-content .txt {
  font-size: 18px;
}
.new-book-content .txt p {
  margin-bottom: 1em;
}
.new-book-content .txt ul {
  display: grid;
  gap: 0.5em;
  padding-left: 1.25em;
}

@media (min-width: 769px) {
  .new-book .book-card {
    align-items: center;
    display: grid;
    gap: 0 3em;
    grid-template-columns: auto auto 1fr;
    grid-template-rows: repeat(3, auto);
  }
  .new-book .book-meta {
    grid-column: 1;
    grid-row: span 2;
    margin-bottom: 0;
  }
  .new-book .book-formats {
    grid-column: 2;
    grid-row: 1;
  }
  .new-book .book-reviews {
    align-self: flex-start;
    grid-column: 2;
    grid-row: 2;
    margin-bottom: 0;
  }
  .new-book .stock-indicator {
    align-self: flex-start;
    grid-column: 2;
    grid-row: 3;
    margin-bottom: 0;
  }
  .new-book .stock-indicator + .stock-indicator {
    grid-row: 4;
  }
  .new-book .book-price-section {
    border-top: 0;
    grid-column: 3;
    grid-row: 1 / 4;
    padding-top: 0;
  }
}
@media (min-width: 1200px) {
  .new-book .book-price-section {
    align-items: center;
    display: flex;
  }
  .new-book .book-installments {
    margin-bottom: 0;
  }
  .new-book .prices {
    flex: 1;
  }
}

.books-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><circle cx="100" cy="100" r="3" fill="%23B8D8E8" opacity="0.3"/><circle cx="300" cy="150" r="2" fill="%23B8D8E8" opacity="0.3"/><circle cx="500" cy="80" r="4" fill="%23B8D8E8" opacity="0.3"/><circle cx="700" cy="120" r="2" fill="%23B8D8E8" opacity="0.3"/><circle cx="900" cy="90" r="3" fill="%23B8D8E8" opacity="0.3"/><circle cx="1100" cy="140" r="2" fill="%23B8D8E8" opacity="0.3"/><circle cx="200" cy="300" r="2" fill="%23B8D8E8" opacity="0.3"/><circle cx="400" cy="350" r="3" fill="%23B8D8E8" opacity="0.3"/><circle cx="600" cy="280" r="2" fill="%23B8D8E8" opacity="0.3"/><circle cx="800" cy="320" r="4" fill="%23B8D8E8" opacity="0.3"/><circle cx="1000" cy="290" r="2" fill="%23B8D8E8" opacity="0.3"/></svg>');
  background-size: cover;
  opacity: 0.5;
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.section-tag {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  font-family: var(--font-subtitle);
}
section.new-book .container .section-header .section-tag {
  background: #164d69 !important;
  color: white;
  border-radius: 6px;
  display: inline-block;
  padding: 0.525em;
  margin: 0 auto 15px;
}

.section-title {
  font-family: var(--font-title-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  /* color: var(--navy); */
  color: #164d69;
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-description {
  font-family: var(--font-subtitle);
  font-size: 18px;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}
section.new-book .container .section-header .section-description:first-of-type {
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.book-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.book-card:hover {
  border-color: var(--navy);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10, 37, 64, 0.12);
}

.book-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.book-badge {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--font-subtitle);
}

.badge-bestseller {
  background: #fef3c7;
  color: #92400e;
}

.badge-new {
  background: #dbeafe;
  color: #1e40af;
}

.badge-promo {
  background: #fee2e2;
  display: none;
  color: #991b1b;
}

.is-promo .badge-promo {
  display: block;
}

.book-image {
  width: 100%;
  height: 320px;
  object-fit: contain;
  margin-bottom: 25px;
  background: var(--light-gray);
  border-radius: 8px;
  padding: 20px;
}

.book-title {
  font-family: var(--font-title-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.book-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--gray);
  font-family: var(--font-body);
}

.book-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.book-formats {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.format-badge {
  padding: 6px 12px;
  background: var(--light-gray);
  color: var(--navy);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-body);
}

.format-badge.active {
  /* background: var(--navy); */
  background: #164d69;
  color: white;
}

.book-reviews {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 2px;
}

.review-count {
  color: var(--gray);
  font-size: 14px;
  font-family: var(--font-body);
}

.book-price-section {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.book-price-old {
  text-decoration: line-through;
  color: var(--gray);
  font-size: 16px;
  display: none;
  margin-bottom: 5px;
  font-family: var(--font-body);
}

.book-price {
  font-family: var(--font-title-serif);
  font-size: 36px;
  font-weight: 900;
  color: #92400e;
  margin-bottom: 8px;
  line-height: 1;
}

.book-installments {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 20px;
  font-family: var(--font-body);
}

.book-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-add-cart {
  /* background: var(--navy); */
  background: #164d69;
  color: white;
  padding: 16px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-subtitle);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1;
  width: 100%;
}

.btn-add-cart:hover {
  background: #1a3a5a;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 37, 64, 0.2);
}

.btn-details,
.btn-details:visited {
  background: transparent;
  /* color: var(--navy); */
  color: #164d69;
  padding: 14px 24px;
  /* border: 2px solid var(--navy); */
  border: 2px solid #164d69;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-subtitle);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
}

.btn-details:hover {
  background: var(--navy);
  color: white;
  text-decoration: none;
}

.stock-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #00855b;
  margin-bottom: 16px;
  font-family: var(--font-body);
}

.stock-dot {
  width: 8px;
  height: 8px;
  background: #00855b;
  border-radius: 50%;
}

/* Bundles Section - Background com assinatura */
.bundles-section {
  padding: 80px 20px;
  background: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.bundles-section::before {
  content: "Celmo Porto";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-5deg);
  font-family: "Brush Script MT", cursive;
  font-size: 180px;
  color: #b8d8e8;
  opacity: 0.08;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.bundles-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 200"><path d="M0,100 Q300,50 600,100 T1200,100 L1200,200 L0,200 Z" fill="%23B8D8E8" opacity="0.15"/></svg>');
  background-size: cover;
  z-index: 0;
}

.bundle-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
}

.bundle-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.bundle-icon {
  font-size: 32px;
}

.bundle-title {
  font-family: var(--font-title-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
}

.bundle-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.bundle-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: var(--light-gray);
  border-radius: 12px;
}

.bundle-item-image {
  width: 60px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
}

.bundle-item-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
  font-family: var(--font-subtitle);
}

.bundle-item-price {
  font-size: 14px;
  color: var(--gray);
  font-family: var(--font-body);
}

.bundle-pricing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: 12px;
  margin-bottom: 20px;
}

.bundle-price-details {
  display: flex;
  flex-direction: column;
}

.bundle-price-old {
  font-size: 18px;
  text-decoration: line-through;
  color: var(--gray);
  margin-bottom: 5px;
  font-family: var(--font-body);
}

.bundle-price-new {
  font-family: var(--font-title-serif);
  font-size: 42px;
  font-weight: 900;
  color: var(--navy);
}

.bundle-savings {
  background: var(--red);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-subtitle);
}

.bundle-cta {
  display: flex;
  gap: 15px;
}

.btn-bundle,
.btn-bundle:visited {
  flex: 1;
  background: var(--navy);
  color: white;
  padding: 18px 32px;
  border: none;
  border-radius: 8px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-subtitle);
  cursor: pointer;
  transition: all 0.3s ease;
  line-height: 1;
}

.btn-bundle:hover {
  background: #1a3a5a;
  color: white;
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(10, 37, 64, 0.2);
}

/* Catalog Link - MANTÉM BRANCO */
.catalog-link-section {
  text-align: center;
  padding: 60px 20px;
  background: white;
}

.btn-catalog {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  /* color: var(--navy); */
  color: #164d69;
  padding: 18px 36px;
  /* border: 3px solid var(--navy); */
  border: 3px solid #164d69;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-subtitle);
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-catalog:hover {
  background: var(--navy);
  color: white;
  transform: translateY(-2px);
  text-decoration: none;
}

/* Benefits Section - Background com padrão de pontos */
.benefits-section {
  padding: 80px 20px;
  /* background: linear-gradient(135deg, #1b5a85 0%, #0a2540 100%); */
  background: linear-gradient(135deg, #1b5a85 0%, #247ea9 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.benefits-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
    circle,
    rgba(57, 153, 191, 0.3) 2px,
    transparent 2px
  );
  background-size: 40px 40px;
  opacity: 0.4;
  z-index: 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.benefit-card {
  text-align: center;
  padding: 30px;
}

.benefit-icon {
  font-size: 48px;
  /* margin-bottom: 20px; */
}
.benefit-icon img {
  width: 64px;
  height: 64px;
}

.benefit-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  font-family: var(--font-subtitle);
}

.benefit-description {
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.6;
  font-family: var(--font-body);
}

/* Testimonials Section - Background com círculos */
.testimonials-section {
  padding: 80px 20px;
  background: #f0f4f8;
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  top: 10%;
  right: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(184, 216, 232, 0.2) 0%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: 0;
}

.testimonials-section::after {
  content: "";
  position: absolute;
  bottom: 15%;
  left: 5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(184, 216, 232, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: white;
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-quote {
  font-size: 18px;
  line-height: 1.7;
  color: var(--navy);
  margin-bottom: 25px;
  font-style: italic;
  font-family: var(--font-body);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  font-family: var(--font-subtitle);
}

.testimonial-author-role {
  font-size: 14px;
  color: var(--gray);
  font-family: var(--font-body);
}

/* Authority Section - Com foto dos autores */
.authority-section {
  padding: 80px 20px;
  background: white;
  position: relative;
  overflow: hidden;
}

.authority-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 250px;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 250"><path d="M0,100 Q300,50 600,100 T1200,80 L1200,0 L0,0 Z" fill="%233999BF" opacity="0.15"/><path d="M0,150 Q400,100 800,150 T1200,130 L1200,0 L0,0 Z" fill="%232E6EA6" opacity="0.1"/></svg>');
  background-size: cover;
  z-index: 0;
}

.authority-content {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.authority-hero {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 60px;
  background: linear-gradient(135deg, #e8f4f8 0%, #ffffff 100%);
  padding: 50px;
  border-radius: 20px;
  flex-wrap: wrap;
}

.authority-hero-text {
  flex: 1;
}

.authority-hero-quote {
  font-family: var(--font-title-serif);
  font-size: clamp(24px, 3vw, 36px);
  color: #2e6ea6;
  line-height: 1.4;
  margin-bottom: 20px;
  font-style: italic;
}

.authority-hero-author {
  font-family: var(--font-porto);
  font-size: 18px;
  color: var(--navy);
  font-weight: 700;
}

.authority-hero-image {
  flex: 1;
  text-align: center;
}

.authority-hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.authority-toggle {
  background: var(--light-gray);
  padding: 20px 30px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.authority-toggle:hover {
  background: #e5e7eb;
}

.authority-toggle-title {
  font-size: 20px;
  font-weight: 700;
  /* color: var(--navy); */
  color: #164d69;
  font-family: var(--font-subtitle);
}

.authority-summary {
  font-size: 18px;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 30px;
  font-family: var(--font-body);
}

.authority-expanded {
  display: none;
}

.authority-expanded.active {
  display: block;
}

.author-profiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.author-profile {
  text-align: center;
}

.author-name {
  font-family: var(--font-title-serif);
  font-size: 24px;
  font-weight: 700;
  /* color: var(--navy); */
  color: #164d69;
  margin-bottom: 8px;
}

.author-title {
  font-size: 14px;
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  font-family: var(--font-subtitle);
}

.author-bio {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray);
  text-align: left;
  font-family: var(--font-body);
}

/* Final CTA - Background com padrão de pontos e assinatura */
.final-cta {
  padding: 100px 20px;
  /* background: linear-gradient(135deg, #0a2540 0%, #1b5a85 100%); */
  background: linear-gradient(135deg, #164d69 0%, #247ea9 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
    circle,
    rgba(57, 153, 191, 0.2) 1.5px,
    transparent 1.5px
  );
  background-size: 30px 30px;
  opacity: 0.5;
  z-index: 0;
}

.final-cta::after {
  content: "Celmo Porto";
  position: absolute;
  bottom: 10%;
  right: 5%;
  font-family: "Brush Script MT", cursive;
  font-size: 120px;
  color: rgba(255, 255, 255, 0.05);
  transform: rotate(-8deg);
  pointer-events: none;
  z-index: 0;
}

.final-cta-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  font-family: var(--font-title-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  margin-bottom: 30px;
  line-height: 1.2;
}

.final-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
  .hero::after {
    width: 300px;
    height: 300px;
    right: -50px;
    bottom: -50px;
  }

  .hero-stats {
    gap: 20px;
  }

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

  .bundle-pricing {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .bundle-price-new {
    font-size: 26px;
  }

  .bundle-savings {
    font-size: 14px;
  }

  .bundle-cta {
    flex-direction: column;
  }

  .final-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .mini-cart {
    top: 10px;
    right: 10px;
  }

  .minicart-wrapper .block-minicart {
    top: 60px;
  }

  .authority-hero {
    padding: 30px;
    gap: 30px;
    flex-direction: column;
  }

  .bundles-section::before {
    font-size: 80px;
  }

  .bundle-items {
    grid-template-columns: 1fr;
  }

  .final-cta::after {
    font-size: 60px;
    bottom: 5%;
  }

  .new-book-content {
    flex-direction: column;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}
