/* ==========================================================================
   SECRETOS DE CARMEN LUCÍA — STYLE V2 OVERRIDES & NEW COMPONENTS
   Upgrades: Hero com Banner Real, Paper Texture, Botanical Dividers,
   Emotional Portrait, Better Chapter Cards, Authority Bars, Footer Logo
   ========================================================================== */

/* --------------------------------------------------------------------------
   Paper texture body overlay (super sutil, apenas sensação)
   -------------------------------------------------------------------------- */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Botanical Divider
   -------------------------------------------------------------------------- */
.botanical-divider-wrap {
  width: 100%;
  line-height: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  height: 48px;
}

.botanical-divider-wrap svg {
  width: 100%;
  height: 48px;
  display: block;
}

.botanical-divider-flip {
  transform: scaleY(-1);
}

/* --------------------------------------------------------------------------
   HERO V2 — Banner Real como Background
   -------------------------------------------------------------------------- */
.hero-v2 {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

@media (max-width: 767px) {
  .hero-v2 {
    min-height: auto;
  }
}

/* Banner background */
.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* Gradient overlay — escurece à esquerda para legibilidade do texto */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(22, 32, 25, 0.82) 0%,
    rgba(22, 32, 25, 0.72) 40%,
    rgba(22, 32, 25, 0.25) 70%,
    rgba(22, 32, 25, 0.05) 100%
  );
}

/* Hero content container — fica sobre o overlay */
.hero-v2-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 992px) {
  .hero-v2-content {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-spacer-col {
  display: none;
}

@media (min-width: 992px) {
  .hero-spacer-col {
    display: block;
  }
}

/* Badge — versão clara sobre escuro */
.badge-pill-light {
  background: rgba(255, 253, 247, 0.12);
  border-color: rgba(255, 253, 247, 0.3);
  color: #E8DCC8;
  backdrop-filter: blur(4px);
}

/* Título hero sobre banner */
.hero-title-v2 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: #FFFDF7;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
  .hero-title-v2 {
    font-size: 3.2rem;
  }
}

@media (max-width: 480px) {
  .hero-title-v2 {
    font-size: 2rem;
  }
}

/* Subtítulo hero */
.hero-subtitle-v2 {
  font-size: 1.1rem;
  color: rgba(255, 253, 247, 0.88);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  max-width: 540px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

/* Bullets hero sobre escuro */
.hero-bullets-v2 {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.hero-bullets-v2 li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1.02rem;
  font-weight: 500;
  color: rgba(255, 253, 247, 0.92);
}

.check-icon-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background-color: var(--green-natural);
  color: #FFFDF7;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

/* CTA e trust strip no hero */
.hero-cta-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.btn-cta-hero {
  background: linear-gradient(135deg, #B56B4A 0%, #9B5637 100%) !important;
  color: #FFFDF7 !important;
  font-size: 1.05rem;
  padding: 1.15rem 2rem !important;
  border-radius: var(--radius-pill) !important;
  box-shadow: 0 8px 28px rgba(181, 107, 74, 0.45);
  letter-spacing: 0.01em;
  border: none !important;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cta-hero:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 36px rgba(181, 107, 74, 0.5);
}

.btn-arrow {
  font-size: 1.15rem;
  transition: transform 0.2s ease;
}

.btn-cta-hero:hover .btn-arrow {
  transform: translateX(5px);
}

.hero-trust-strip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 253, 247, 0.7);
}

.strip-dot {
  opacity: 0.5;
}

/* Scroll hint icon at bottom of hero */
.hero-scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 253, 247, 0.5);
  animation: scrollBounce 2s ease-in-out infinite;
  z-index: 3;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Mobile: banner como imagem de topo, não como background */
@media (max-width: 767px) {
  .hero-v2 {
    flex-direction: column;
  }

  .hero-bg-wrapper {
    position: relative;
    height: 55vw;
    min-height: 220px;
    max-height: 320px;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(22,32,25,0.1) 0%,
      rgba(22,32,25,0.75) 100%
    );
  }

  .hero-v2-content {
    padding-top: 2rem;
    padding-bottom: 2rem;
    background: var(--bg-main);
    position: static;
    z-index: 1;
  }

  .hero-text-col {
    align-items: center;
    text-align: center;
  }

  .hero-title-v2 {
    color: var(--green-dark);
    text-shadow: none;
  }

  .hero-subtitle-v2 {
    color: var(--text-muted);
    text-shadow: none;
  }

  .hero-bullets-v2 li {
    color: var(--text-primary);
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
  }

  .badge-pill-light {
    background: var(--cream);
    border-color: var(--border-light);
    color: var(--green-natural);
    backdrop-filter: none;
  }

  .hero-trust-strip {
    justify-content: center;
    color: var(--text-muted);
  }

  .hero-scroll-hint {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Capítulos — Número como marca d'água no fundo
   -------------------------------------------------------------------------- */
.chapter-card {
  position: relative;
  overflow: hidden;
}

.chapter-bg-num {
  position: absolute;
  bottom: -0.5rem;
  right: -0.25rem;
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 800;
  color: var(--green-natural);
  opacity: 0.055;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* --------------------------------------------------------------------------
   Seção Emocional — Foto de Carmen em círculo
   -------------------------------------------------------------------------- */
.emotional-portrait-ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold-soft);
  box-shadow: 0 0 0 4px rgba(198, 161, 91, 0.2), 0 8px 24px rgba(0,0,0,0.3);
  margin: 0 auto 2rem auto;
}

.emotional-portrait-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

/* --------------------------------------------------------------------------
   Testimonials — Authority Bar com foto de Carmen
   -------------------------------------------------------------------------- */
.testimonials-authority-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.25rem 0.5rem 0.5rem;
  margin: 0.75rem auto 2.5rem auto;
  box-shadow: var(--shadow-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green-dark);
}

.authority-avatar-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold-soft);
  flex-shrink: 0;
}

.authority-avatar-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

/* --------------------------------------------------------------------------
   Sobre Carmen — Assinatura
   -------------------------------------------------------------------------- */
.about-signature {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

/* --------------------------------------------------------------------------
   CTA Final — Avatar pequeno de Carmen
   -------------------------------------------------------------------------- */
.final-carmen-portrait {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold-soft);
  box-shadow: var(--shadow-sm);
  margin: 0.75rem auto;
}

.final-carmen-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

/* --------------------------------------------------------------------------
   Footer — Logo com foto
   -------------------------------------------------------------------------- */
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  text-align: left;
}

/* --------------------------------------------------------------------------
   Sticky Mobile Bar — Com avatar
   -------------------------------------------------------------------------- */
.sticky-avatar-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-light);
  flex-shrink: 0;
}

.sticky-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

/* Ajuste do sticky bar para incluir o avatar */
.sticky-mobile-bar {
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   Micromelhoria: book mockup final
   -------------------------------------------------------------------------- */
.final-mockup-mini {
  max-width: 260px;
  margin: 0.5rem auto 1.25rem auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 3px solid #FFF;
}

/* --------------------------------------------------------------------------
   Mockup Gallery Inside Pages Card
   -------------------------------------------------------------------------- */
.mockup-gallery-card {
  background: var(--cream);
  padding: 10px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.mockup-gallery-card img,
.mockup-gallery-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  object-fit: cover;
}

