/* ==========================================================================
   STYLE.CSS - REGISTRO DE ESTILOS VISUAIS E ANIMAÇÕES DO GUIA DO BEBÊ
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;605;600;700;800;900&display=swap');

/* Configurações Globais de Tipografia (Fonte Poppins em todo o site) */
* {
  font-family: 'Poppins', sans-serif !important;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  background-color: #FAF6F0;
  color: #5C453F;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Forçar pesos corretos para manter as proporções visuais originais */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700 !important;
  color: #5C453F;
  letter-spacing: -0.02em;
}

strong, b {
  font-weight: 700 !important;
}

/* 3D Perspective e Efeitos para o Mockup Interativo */
.perspective-1000 {
  perspective: 1000px;
}

.transform-preserve-3d {
  transform-style: preserve-3d;
}

/* ==========================================================================
   SISTEMA DE ANIMAÇÕES - CRIAÇÃO DOS KEYFRAMES DO EDITOR
   ========================================================================== */

/* 1. Suave Flutuação (Float/Bounce) */
@keyframes bounce-slow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-bounce-slow {
  animation: bounce-slow 4s ease-in-out infinite;
}

/* 2. Entrada com Desvanecimento (Fade-In) */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fade-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 3. Entrada Acentuada de 1.5s (Fade Up) */
@keyframes fade-up-15s {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up-15s {
  animation: fade-up-15s 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Aplicação de atraso suave para elementos estruturais */
section, main, footer, .reveal-item {
  animation: fade-up-15s 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 4. Scroll infinito do Marquee (Promo Banner e Scrolling Content) */
@keyframes marquee-scroll {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-50%);
  }
}

.animate-marquee-scroll {
  display: flex;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}

/* 5. Pulsação Suave de Alta Conversão (Soft Pulse) */
@keyframes soft-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 10px rgba(44, 209, 94, 0.15), 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  50% {
    transform: scale(1.025);
    box-shadow: 0 10px 24px rgba(44, 209, 94, 0.35), 0 4px 10px rgba(44, 209, 94, 0.2);
  }
}

.animate-soft-pulse {
  animation: soft-pulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* 6. Salto Macio sob Demanda (Soft Jump para Blocos de Autoria) */
@keyframes soft-jump {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-soft-jump {
  animation: soft-jump 2.5s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

/* ==========================================================================
   ESTRUTURA DE PROVA SOCIAL - WHATSAPP SCROLLING TRACK
   ========================================================================== */

.whatsapp-proofs-section {
  padding: 72px 0 84px;
  background: linear-gradient(180deg, #FCFAF7 0%, #FAF6F0 100%);
  overflow: hidden;
  border-top: 1px solid #F0EAE1;
  border-bottom: 1px solid #F0EAE1;
}

.whatsapp-proofs-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 34px;
}

.whatsapp-proofs-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #DFECE1;
  color: #4A6451;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  box-shadow: 0 4px 10px rgba(74, 100, 81, 0.08);
}

.whatsapp-proof-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #2CD15E;
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(44, 209, 94, 0.12);
}

.whatsapp-proofs-header h2 {
  margin: 18px 0 10px;
  color: #5C453F;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.whatsapp-proofs-header p {
  margin: 0 auto;
  color: #827470;
  font-size: 15px;
  line-height: 1.7;
  max-width: 680px;
}

.whatsapp-proofs-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 18px 0 26px;
}

.whatsapp-proofs-container::before,
.whatsapp-proofs-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.whatsapp-proofs-container::before {
  left: 0;
  background: linear-gradient(to right, #FAF6F0 0%, rgba(250, 246, 240, 0) 100%);
}

.whatsapp-proofs-container::after {
  right: 0;
  background: linear-gradient(to left, #FAF6F0 0%, rgba(250, 246, 240, 0) 100%);
}

.whatsapp-proofs-track {
  display: flex;
  align-items: flex-start;
  width: max-content;
  gap: 22px;
  animation: whatsapp-proof-scroll 115s linear infinite;
  will-change: transform;
}

.whatsapp-proofs-track:hover {
  animation-play-state: paused;
}

.whatsapp-image-card {
  width: 245px;
  max-width: 70vw;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(92, 69, 63, 0.16);
  border: 1px solid rgba(92, 69, 63, 0.10);
  background-color: #111;
  object-fit: contain;
  flex: 0 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
}

.whatsapp-image-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 24px 55px rgba(92, 69, 63, 0.22);
}

@keyframes whatsapp-proof-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .whatsapp-proofs-section {
    padding: 54px 0 62px;
  }

  .whatsapp-proofs-header {
    margin-bottom: 24px;
  }

  .whatsapp-proofs-header p {
    font-size: 13px;
  }

  .whatsapp-proofs-track {
    gap: 16px;
    animation-duration: 105s;
  }

  .whatsapp-image-card {
    width: 210px;
    border-radius: 22px;
  }

  .whatsapp-proofs-container::before,
  .whatsapp-proofs-container::after {
    width: 42px;
  }
}

/* ==========================================================================
   UTILIÁRIOS VISUAIS E COMPLEMENTOS MÓVEIS
   ========================================================================== */

/* Custom scrollbar para navegadores desktop */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #FAF6F0;
}

::-webkit-scrollbar-thumb {
  background: #DEC9C1;
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: #946A60;
}

.bg-pattern {
  background-image: radial-gradient(#946A60 0.5px, transparent 0.5px);
  background-size: 16px 16px;
}

/* Enforce Poppins SemiBold on Verified testimonials specifically */
.font-poppins-semibold {
  font-weight: 600 !important;
}

/* Modal Checkout overlay setup overlay transitions */
.modal-overlay {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

/* ==========================================================================
   AJUSTE FINAL DO BLOCO DA CAPA DO PRODUTO
   ========================================================================== */
.product-cover-showcase {
  text-align: center;
}

.product-cover-perspective,
.product-cover-pills {
  width: 100%;
}

.product-cover-card {
  transform-origin: center center;
}

.product-cover-image {
  display: block;
}

.info-pill-jump {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: soft-jump 2.6s cubic-bezier(0.25, 1, 0.5, 1) infinite;
  will-change: transform;
}

@media (max-width: 1023px) {
  .product-cover-showcase {
    max-width: 520px !important;
  }

  .product-cover-card {
    width: min(86vw, 420px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .product-cover-pills {
    margin-top: 2px;
  }
}

@media (max-width: 640px) {
  .product-cover-showcase {
    gap: 18px;
  }

  .product-cover-card {
    width: min(88vw, 360px) !important;
    border-radius: 28px !important;
    padding: 10px !important;
  }

  .product-cover-image {
    border-radius: 22px !important;
  }

  .product-cover-pills .flex {
    gap: 9px !important;
  }

  .info-pill-jump {
    font-size: 12px !important;
    padding: 8px 14px !important;
  }
}
