/* ==========================================================================
   Design System - Variáveis Premium (Ideal para clonar no Elementor Global Settings)
   ========================================================================== */
:root {
  /* --- Cores Base --- */
  --bg-primary: #FAFAFA;
  --bg-secondary: #FFFFFF;
  --bg-light: #F4F4F5;
  --bg-dark: #1A1A1A;

  --text-main: #1C1C1C;
  --text-muted: #52525B;
  --text-light: #F9FAFB;
  --text-light-muted: #A1A1AA;

  /* --- Paleta de Azuis (Imagem Fornecida) --- */
  --accent-navy: #001178;     /* Azul Escuro / Navy */
  --accent-royal: #0028B3;    /* Azul Principal / Royal */
  --accent-vibrant: #1883FF;  /* Azul Vibrante */
  --accent-clear: #75C3FF;    /* Azul Claro */
  --accent-baby: #C5DBFF;     /* Azul Bebê */

  /* Mapeamento Semântico */
  --accent: var(--accent-royal);
  --accent-hover: var(--accent-navy);
  --accent-light: var(--accent-baby);
  --border-color: #E4E4E7;

  --font-heading: 'Sora', sans-serif;
  --font-body: 'Sora', sans-serif;

  --container-w: 1280px;
  --section-py: 64px;

  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.03);
  --shadow-header: 0 4px 30px rgba(0, 0, 0, 0.04);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
}

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

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

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
}

/* Top Bar Header */
.top-bar {
  background-color: var(--accent);
  color: white;
  padding: 8px 0;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-address {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.9;
}

.top-bar-social {
  display: flex;
  gap: 12px;
}

.top-bar-social a {
  color: white;
  opacity: 0.8;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-bar-social a:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Utilities */
.text-center {
  text-align: center;
}

.section {
  padding: var(--section-py) 0;
}

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

/* Tipografia */
h1,
h2,
h3,
h4,
.font-heading {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.2;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  border-radius: 4px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--accent);
  color: white;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 40, 179, 0.2);
}

.btn-secondary {
  background-color: white;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--text-main);
  background-color: var(--bg-primary);
}

.btn-outline-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
}

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

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.link-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 500;
}

.link-action:hover {
  gap: 12px;
}

/* Header Glassmorphism */
.glass-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-header);
  transition: all 0.4s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.header-logo-img {
  max-height: 48px;
  width: auto;
}

.desktop-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

.desktop-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  position: relative;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

.desktop-nav a:hover::after {
  width: 100%;
}

.desktop-nav a.active {
  color: var(--accent);
}

.desktop-nav a.active::after {
  width: 100%;
}

.desktop-nav a[href="loja.html"] {
  background: var(--accent-light);
  color: var(--accent);
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 600;
}

.desktop-nav a[href="loja.html"]::after {
  display: none;
}

.desktop-nav a[href="loja.html"]:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 40, 179, 0.15);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.2s;
}

.icon-btn:hover {
  color: var(--accent);
  transform: scale(1.05);
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

/* ==========================================================================
     Hero Section & Carousel
     ========================================================================== */
.hero-section {
  padding-top: 140px;
  padding-bottom: 40px;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-title-section {
  padding-top: 140px;
  padding-bottom: 60px;
  background: var(--bg-primary);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.hero-gradient-overlay {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 40, 179, 0.04) 0%, rgba(250, 250, 250, 0) 70%);
  z-index: 1;
}

/* Slider Wrap - Feito com CSS Grid para empilhamento nativo sem sumir da tela */
.hero-slider-wrap {
  display: grid;
  grid-template-areas: "slide";
  width: 100%;
  position: relative;
}

.hero-slide {
  grid-area: slide;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s;
  z-index: 1;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  pointer-events: auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero-description {
  font-size: 1.125rem;
  margin: 24px 0 40px;
  max-width: 480px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

/* Aumento expressivo do mockup e efeito */
.book-mockup {
  position: relative;
  width: 500px;
  transition: var(--transition);
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

.hero-book-img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.25));
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Animação extra ao entrar no slide */
.hero-slide.active .scale-up .hero-book-img {
  animation: scaleUpBook 1s ease-out forwards;
}

.decor-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
}

.circle-1 {
  width: 350px;
  height: 350px;
  background: rgba(0, 40, 179, 0.1);
  top: 50%;
  left: 20%;
  transform: translateY(-50%);
}

.circle-2 {
  width: 250px;
  height: 250px;
  background: rgba(212, 175, 55, 0.1);
  bottom: -10%;
  right: 10%;
}

/* Slider Controls */
.slider-controls {
  position: relative;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  z-index: 10;
  padding-bottom: 40px;
}

.slider-arrow {
  background: white;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.slider-arrow:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: scale(1.1);
}

.slider-dots {
  display: flex;
  gap: 12px;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.slider-dots .dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes scaleUpBook {
  0% {
    opacity: 0;
    transform: scale(0.85) translateY(40px);
  }

  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}


/* ==========================================================================
     Carrossel de Livros (Obras Publicadas)
     ========================================================================== */
.carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.carousel-nav {
  display: flex;
  gap: 12px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.carousel-btn:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: scale(1.05);
}

.books-carousel-track {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 40px;
}

.books-carousel-track::-webkit-scrollbar {
  display: none;
}

.book-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 16px;
  background-color: white;
  transition: var(--transition);
}

.book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Altura aumentada para apresentar capas maiores */
.book-cover {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  transition: var(--transition);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 500px;
}

.book-cover img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
}

/* Internal Pages Navigation */
.internal-actions {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.btn-icon-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

/* Efeito Hover Aprimorado -> Capa levanta com glow de cor */
.book-card:hover .book-cover img {
  transform: translateY(-12px) scale(1.06);
  filter: drop-shadow(0 30px 40px rgba(0, 40, 179, 0.25));
}

.book-overlay {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: 85%;
  opacity: 0;
  transition: var(--transition);
  z-index: 10;
}

.book-card:hover .book-overlay {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.book-overlay .btn {
  width: 100%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.book-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.book-title {
  font-size: 1.35rem;
  margin: 0 0 6px 0;
  font-weight: 600;
}

.book-author {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.book-price {
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text-main);
}

/* Premium Dark Sections / Parallax */
.premium-dark-section {
  background-color: var(--bg-primary);
  padding: 100px 0;
  position: relative;
}

.premium-parallax-section {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  color: white;
}

.premium-parallax-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 30, 36, 0.92) 0%, rgba(0, 17, 120, 0.85) 100%);
  z-index: 1;
}

.premium-parallax-section .container {
  position: relative;
  z-index: 2;
}

.light-text {
  color: white;
}

.light-text-muted {
  color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
     Opinião de quem já leu (Testimonials)
     ========================================================================== */
.opinions-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.opinions-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.opinion-item {
  display: flex;
  gap: 20px;
  text-align: left;
}

.opinion-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(100%);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.opinion-content h4 {
  color: #0076a3;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 8px;
  font-size: 1.15rem;
  font-weight: 700;
  display: block;
}

.opinion-content p {
  font-family: var(--font-body);
  font-style: normal;
  color: var(--text-main);
  line-height: 1.5;
  font-size: 1.05rem;
}

.opinion-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
}

.opinion-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e0e0e0;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.opinion-dots .dot.active {
  background: #333;
}

/* ==========================================================================
     Newsletter Section (Inline Minimalista)
     ========================================================================== */
.newsletter-section {
  background-color: var(--bg-secondary);
  padding: 48px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.newsletter-text {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.newsletter-text h3 {
  color: var(--text-main);
  font-size: 1.25rem;
  font-family: var(--font-body);
  margin: 0;
  white-space: nowrap;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.newsletter-text p {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  flex: 0 0 500px;
  background: white;
  padding: 6px;
  border-radius: 40px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  padding: 0 20px;
  color: var(--text-main);
  font-size: 1rem;
  outline: none;
}

.newsletter-form input::placeholder {
  color: #a1a1aa;
}

.newsletter-form button {
  flex-shrink: 0;
  border-radius: 30px;
  padding: 12px 28px;
  font-weight: 500;
}

.section-lead {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Elementos de Páginas Internas */
.content-block {
  padding: 40px 0;
  font-size: 1.125rem;
}

/* Blog Cards (Design Editorial Moderno) */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 48px 32px;
}

.blog-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 40, 179, 0.08);
}

.blog-img-link {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  margin-bottom: 0;
}

.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.95);
}

.blog-card:hover .blog-img {
  transform: scale(1.08);
  filter: brightness(1);
}

.blog-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  background: var(--accent-light);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  align-self: flex-start;
}

.blog-title {
  font-size: 1.45rem;
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.35;
}

.blog-title a:hover {
  color: var(--accent);
}

.blog-excerpt {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 80px 0 40px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: 64px;
  margin-bottom: 64px;
}

.footer-desc {
  color: var(--text-light-muted);
  font-size: 0.95rem;
  margin-top: 20px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 1rem;
  color: white;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-light-muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: white;
  padding-left: 4px;
}

.footer-trust {
  background: white;
  border-radius: 60px;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.trust-title {
  color: #666;
  font-size: 0.85rem;
  font-family: var(--font-body);
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  text-align: center;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.payment-icons img {
  height: 35px;
  object-fit: contain;
}

.security-seal {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.security-seal img {
  height: 45px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .footer-trust {
    flex-direction: column;
    gap: 24px;
    border-radius: 24px;
    padding: 24px;
  }
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  color: var(--text-light-muted);
  font-size: 0.875rem;
}

/* Observer Animations */
.fade-up-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Menu Lateral Mobile */
.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
  z-index: 2000;
  padding: 40px 24px;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-sidebar.active {
  right: 0;
}

.close-menu-btn {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--text-main);
  cursor: pointer;
  margin-bottom: 32px;
  line-height: 1;
}

.mobile-sidebar .mobile-logo {
  max-height: 48px;
  margin-bottom: 32px;
  display: block;
  align-self: flex-start;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.mobile-menu li {
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.mobile-menu li:last-child {
  border-bottom: none;
}

.mobile-menu a {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-main);
  display: block;
  width: 100%;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--accent);
}

.mobile-menu a[href="loja.html"] {
  background: var(--accent-light);
  color: var(--accent);
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  margin-top: 8px;
  text-align: center;
  border: 1px solid rgba(0, 40, 179, 0.1);
}

/* ==========================================================================
     Novos Elementos de UI (Cookies, Back to Top, Social Share)
     ========================================================================== */

/* Voltar ao Topo */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--accent);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background-color: var(--bg-dark);
  transform: translateY(-3px);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: var(--bg-dark);
  color: var(--text-light);
  z-index: 10000;
  transition: bottom 0.5s ease-out;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.cookie-banner.visible {
  bottom: 0;
}

.cookie-content {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.cookie-content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-light-muted);
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Social Share Flutuante */
.social-share-sticky {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background: white;
  border-radius: 0 8px 8px 0;
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  z-index: 998;
  border: 1px solid var(--border-color);
}

.share-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
  transition: var(--transition);
}

.share-btn:last-child {
  border-bottom: none;
}

.share-btn:hover {
  background: var(--bg-light);
  width: 56px;
}

.share-btn svg {
  width: 22px;
  height: 22px;
}

.share-btn.whatsapp:hover {
  color: #25D366;
}

.share-btn.facebook:hover {
  color: #1877F2;
}

.share-btn.twitter:hover {
  color: #1DA1F2;
}

/* Responsividade */
@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-cta-group {
    justify-content: center;
    flex-wrap: wrap;
  }

  .badge {
    margin: 0 auto 24px;
  }

  .hero-description {
    margin: 24px auto 40px;
  }

  .book-card {
    flex: 0 0 280px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .newsletter-inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .newsletter-text {
    flex-direction: column;
    gap: 8px;
  }

  .newsletter-form {
    width: 100%;
    flex: 1;
    flex-direction: column;
    border: none;
    padding: 0;
    box-shadow: none;
    background: transparent;
  }

  .newsletter-form input {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    background: white;
  }

  .newsletter-form button {
    border-radius: 8px;
    padding: 16px;
  }

  .social-share-sticky {
    display: flex;
    flex-direction: row;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    transform: none;
    border-radius: 0;
    justify-content: space-around;
    background: white;
    z-index: 999;
  }

  .back-to-top {
    bottom: 80px;
  }

  /* Evita o social share embaixo */
}

@media (max-width: 576px) {
  .header-logo-img {
    max-height: 46px !important;
  }

  .mobile-logo {
    max-height: 60px !important;
  }

  :root {
    --section-py: 48px;
  }

  section {
    padding: 48px 0;
  }

  .book-card {
    flex: 0 0 85vw;
  }

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

  .top-bar {
    display: none;
  }

  /* Ocultar Top Bar no celular por causa do endereço longo */
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  h2 {
    font-size: 2rem;
  }

  .book-mockup {
    width: 280px;
    margin: 0 auto;
  }

  .premium-dark-section {
    padding: 80px 0;
  }

  .book-cover {
    height: 380px;
  }
}