@tailwind base;
@tailwind components;
@tailwind utilities;

/* Seu CSS adicional aqui */

/* Reset padrão: remove margem do body e garante altura total */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Fallback para utilitários Tailwind (caso o build não tenha sido gerado) */
/* Centraliza containers, espaçamento horizontal e grid básico */
.max-w-7xl {
  max-width: 80rem;
}

/* --- Footer personalizado (1224 x 130) --- */
.site-footer{
  background: #14284b;
  color: #ffffff;
  width: 100%;
}
.site-footer .footer-inner{
  max-width: 1224px;
  margin: 0 auto;
  padding: 12px 16px;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  box-sizing: border-box;
}

.site-footer .footer-top{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-left: 0;
}
.site-footer .footer-cta{ text-align:left; margin-left:0 }
.site-footer .social-icons{ justify-content:flex-start; margin-left:0 }
.site-footer .footer-cta{
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  color: #ffffff;
  text-align: center;
  margin: 0 0 8px 0;
  line-height: 1.2;
}
.site-footer .social-icons{
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 6px;
}
.site-footer .social-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  color: #ffffff;
  text-decoration: none;
}
.site-footer .social-link svg{
  width: 23px;
  height: 23px;
  display: block;
  fill: currentColor;
}

/* Support for Font Awesome <i> inside .social-link */
.site-footer .social-link i{
  font-style: normal; /* ensure consistent rendering if FA not loaded */
  font-size: 23px;
  line-height: 1;
  display: inline-block;
  width: 23px;
  height: 23px;
  color: currentColor;
}

/* Ajuste específico para o ícone do TikTok (parecer igual ao Instagram) */
.site-footer .social-link[aria-label="TikTok"] i{
  font-size: 23px;
  width: 23px;
  height: 23px;
  line-height: 1;
  display: inline-block;
}
.site-footer .social-link[aria-label="YouTube"]{
  margin-right: 6px; /* aproximado do ícone seguinte (camera/movie) */
  margin-left: -8px; /* aproxima o YouTube do Facebook, movendo-o para a esquerda */
}
.site-footer .footer-bottom{
  margin-top: 8px;
}
.site-footer .copyright{
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #ffffff;
  text-align: center;
  margin: 8px 0 0 0;
}

@media (max-width: 480px){
  /* Centralizar topo do footer e ajustar textos/ícones para caber em uma linha */
  .site-footer .footer-top{
    align-items: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .site-footer .footer-cta{
    font-size: 13px; /* reduzir para caber em uma linha */
    white-space: nowrap; /* impedir quebra de linha */
    overflow: hidden;
    text-overflow: ellipsis; /* caso não caiba, usar elipse */
    margin: 0 auto 4px auto;
    max-width: 100%;
  }

  .site-footer .social-icons{
    gap: 8px;
    justify-content: center;
    margin-top: 6px;
    display: flex;
    align-items: center;
  }

  .site-footer .social-link{
    width: 20px;
    height: 20px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-footer .social-link i{
    font-size: 20px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    display: inline-block;
  }

  /* Neutraliza margens específicas que alteravam espaçamento no mobile */
  .site-footer .social-link[aria-label="YouTube"]{ margin-left: 0; margin-right: 0; }

  /* reduzir ainda mais o copyright em telas pequenas */
  .site-footer .copyright{
    font-size: 11px;
    margin-top: 2px;
  }

  /* posicionar copyright mais abaixo dentro do footer (mobile) */
  .site-footer .footer-inner{
    position: relative;
    padding-bottom: 60px; /* espaço extra para empurrar o copyright para baixo (reduzido) */
  }

  .site-footer .footer-bottom{
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 8px; /* fixa no fundo do container */
    text-align: left;
  }
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.flex {
  display: flex;
}

.justify-end {
  justify-content: flex-end;
}

.grid {
  display: grid;
}

.grid-cols-12 {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.items-center {
  align-items: center;
}

.col-span-12 {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {

  /* Em telas maiores, força colunas fixas: texto à esquerda (1-7), imagem à direita (8-12) */
  .md\:col-span-7 {
    grid-column: 1 / span 7;
  }

  .md\:col-span-5 {
    grid-column: 8 / -1;
  }
}


.btn-primary {
  @apply bg-blue-600 text-white font-semibold px-6 py-3 rounded-md shadow transition-colors;
}

.btn-primary:hover {
  @apply bg-blue-700;
}

.btn-primary:focus {
  @apply ring-2 ring-blue-300 outline-none;
}

/* Grid fixo com linhas automáticas e gap consistente */
.grid-fixed {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 1.5rem;
}

/* Hero section gradient conforme especificado (135deg entre #000000 e #39679e) */
.hero-section {
  background: linear-gradient(135deg, #000000 0%, #39679e 100%);
  color: #ffffff;
  font-family: 'Montserrat', system-ui, sans-serif;
  min-height: 85vh;
  /* Reduz a altura vertical da section */
  width: 100%;
  margin: 0;
  padding: 3rem 0;
  /* Espaçamento vertical reduzido */
  display: flex;
  align-items: center;
  /* centraliza conteúdo verticalmente */
}

.lead-text {
  color: #84b2e0;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-style: italic;
}

/* Animação slideIn para elementos da seção 1 (hero) */
.lead-text{
  animation: slideIn 700ms ease 0.1s both;
}

.hero-title {
  color: #55a3f7;
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  line-height: 1.05;
  font-weight: 700;
}

.hero-title{
  animation: slideIn 800ms ease 0.2s both;
}

.hero-desc {
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
}

.hero-desc{
  animation: slideIn 900ms ease 0.3s both;
}

/* Vitrine (cartão de oferta) */
.vitrine-container {
  margin-top: 24px;
  width: 100%;
  display: flex;
  justify-content: center; /* centraliza a vitrine dentro do container */
  align-items: center;
  padding-inline: 12px; /* evita encostar nas bordas em telas pequenas */
}

  
  /* Justificar textos acima da imagem no modo responsivo */
  .col-offset .lead-text,
  .col-offset .hero-desc {
    text-align: justify;
    text-justify: inter-word; /* prefere distribuir por palavras */
    -webkit-text-size-adjust: 100%;
    hyphens: auto; /* permite hifenização para reduzir espaços grandes */
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    overflow-wrap: break-word;
    word-spacing: -0.08em; /* reduz mais o espaçamento entre palavras */
    letter-spacing: -0.01em; /* reduz levemente espaço entre letras */
  }

  /* Título: evitar justificação para não criar lacunas grandes; alinhar à esquerda e normalizar espaçamentos */
  .col-offset .hero-title {
    text-align: left;
    -webkit-text-size-adjust: 100%;
    hyphens: none;
    overflow-wrap: break-word;
    word-spacing: normal;
    letter-spacing: normal;
  }
.vitrine {
  background: #1975d1;
  border: 0;
  border-radius: 15px;
  padding: 18px; /* padding mais uniforme */
  width: 100%;
  max-width: 420px; /* largura adequada para responsividade */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  animation: slideIn 800ms ease both;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  box-sizing: border-box;
  margin: 0 auto; /* garante centralização quando não estiver dentro de flex */
}

.vitrine-note {
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.vitrine .cta-button {
  margin: 4px 0 2px;
}

.vitrine .price {
  margin: 4px 0 2px;
}

.cta-button {
  display: inline-block;
  background: #55a3f7;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 0 solid #55a3f7;
  cursor: pointer;
  transition: background 220ms ease, border-color 220ms ease;
  animation: slideIn 900ms ease both;
}

.cta-button:hover {
  background: #71aef0;
  color: #ffffff;
  border-color: #000000;
}

.price {
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.price-note {
  color: #55a3f7;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
}

.vitrine .price-note {
  margin: 2px 0 0;
}

/* .imagem-do-ebook removida para evitar conjunto de regras vazio */
.ebook-wrap {
  width: 520px; /* largura reduzida ligeiramente */
  max-width: 100%;
  aspect-ratio: 2 / 3; /* mantém proporção vertical sem alterar posição */
  height: auto;

  /* formato de retângulo inclinado (mantido) */
  clip-path: polygon(0% 0%, 85% 0%, 100% 100%, 15% 100%);

  overflow: hidden;
}

.ebook-wrap{
  animation: slideIn 1000ms ease 0.4s both;
}

.ebook-wrap img,
.ebook-image {
  display: block;
  width: 100%;
  height: auto;
}

/* Utilitários para controlar exibição duplicada da imagem */
.mobile-only { display: none; }
.desktop-only { display: block; }

@media (max-width: 768px) {
  .mobile-only { display: block; }
  .desktop-only { display: none; }
  .mobile-only.ebook-wrap { width: 320px; margin: 0 auto 16px; }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mostrar imagens imediatamente: remover animações/transições das imagens
   para que apareçam instantaneamente ao rolar a página. Mantemos as animações
   para texts e containers, mas evitamos atraso visual nas imagens. */
.carousel-slide,
.carousel-slide img,
.rec-image,
.ebook-wrap,
.ebook-wrap img {
  animation: none !important;
  transition: none !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Respeitar preferência do usuário por reduzir movimento */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0ms !important; animation-delay: 0ms !important; transition-duration: 0ms !important; }
}

/* Garantir que os próprios cards não animem a opacidade/transform,
   já que isso atrasava a exibição das imagens dentro deles. */
.rec-card,
.rec-card *,
.monet-image-inner,
.monet-image-inner * {
  animation: none !important;
  transition: none !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Responsividade */
@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }

  .ebook-wrap { width: 340px; }

  /* Em telas pequenas, garante que a vitrine ocupe espaço central e respire */
  .vitrine { max-width: 92%; padding: 14px; }

  .vitrine-container { padding-inline: 8px; }
}

/* Offset para centralizar mais o bloco de texto em telas maiores */
@media (min-width: 768px) {

  /* Aumenta o espaçamento à esquerda movendo o bloco de texto para a direita */
  .col-offset {
    grid-column: 1 / span 7;
  }

  .ebook-wrap {
    max-width: 420px;
    margin-right: 0;
  }
}

/* Ajuste extra para evitar imagem muito grande */
.ebook-wrap {
  max-width: 520px;
}

/* --- Seção Showcase + carrossel --- */
.showcase-section {
  background: linear-gradient(135deg, #000000 0%, #39679e 100%);
  color: #ffffff;
  min-height: 85vh; /* mesma altura da seção principal */
  display: flex;
  align-items: center;
  padding: 3rem 0;
}
.showcase-title {
  text-align: center;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 24px; /* solicitado */
  max-width: 900px;
  margin: 0 auto 1.5rem;
  line-height: 1.25;
}

/* Aplicar animação slideIn às partes visuais da seção 2 (como a vitrine) */
.showcase-section .showcase-title{ animation: slideIn 700ms ease 0.05s both; }
.showcase-section .carousel{ animation: slideIn 900ms ease 0.12s both; }
.showcase-section .carousel-track-wrapper{ animation: slideIn 950ms ease 0.14s both; }
.showcase-section .carousel-slide{ animation: slideIn 1000ms ease both; animation-fill-mode: both; }
.showcase-section .carousel-slide:nth-child(1){ animation-delay: 0.18s; }
.showcase-section .carousel-slide:nth-child(2){ animation-delay: 0.26s; }
.showcase-section .carousel-slide:nth-child(3){ animation-delay: 0.34s; }
.showcase-section .carousel-slide:nth-child(4){ animation-delay: 0.42s; }
.showcase-section .carousel-arrow{ animation: slideIn 800ms ease 0.16s both; }

.carousel {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
}
.carousel-track {
  display: flex;
  transition: transform 800ms cubic-bezier(.22,.9,.32,1);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  padding: 0 12px; /* small side padding inside wrapper */
}
.carousel-slide img {
  width: 100%;
  max-width: 900px; /* keep image large on desktop */
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.carousel-arrow {
  background: rgba(0,0,0,0.35);
  color: #fff;
  border: none;
  font-size: 28px;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.carousel-arrow:focus { outline: 2px solid rgba(255,255,255,0.25); }


@media (min-width: 1000px) {
  .carousel-slide { padding: 0 16px; }
}

@media (max-width: 768px) {
  .carousel-slide { padding: 0 6px; }
  .showcase-title { font-size: 1.125rem; padding-inline: 8px; }

  /* Ajustes mobile: remover gaps, expandir a imagem do slide horizontal e verticalmente, compactar a seção */
  .carousel { gap: 0; }
  .showcase-section { padding-inline: 10px; }
  .showcase-section .max-w-7xl { max-width: 640px; margin: 0 auto; }

    /* Posicionar o track wrapper para que as setas possam ficar sobre a imagem
      e garantir cantos arredondados visíveis (aplica overflow:hidden no wrapper) */
  .carousel-track-wrapper {
    position: relative;
    overflow: hidden; /* evitar overflow horizontal causador de espaço branco */
    border-radius: 12px; /* garante borda arredondada tanto à direita quanto à esquerda */
    padding: 0;
  }

  /* Forçar cada slide a igualar a largura da imagem para evitar sobrescrever/exibir partes vizinhas */
  .carousel-slide {
    flex: 0 0 calc(100vw - 32px);
    min-width: calc(100vw - 32px);
    padding: 0; /* remove inner gap so image fits exactly */
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    border-radius: 12px; /* arredonda ambos os lados */
    overflow: hidden; /* garante que a imagem respeite o raio */
    margin-left: 0; /* remove deslocamento que causava overflow horizontal */
  }

  .carousel-slide img {
    width: 100%;
    max-width: none;
    height: calc(60vh); /* aumenta verticalmente */
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 0; /* radius aplicado no container para bordas simétricas */
  }

  /* Posicionar as setas dentro da área da imagem para não ocupar espaço horizontal extra */
  .carousel { position: relative; overflow: visible; }
  .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    background: rgba(57,103,158,0.85); /* #39679e com leve transparência (apenas mobile) */
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 26px;
    line-height: 1;
    padding: 0;
    color: #fff;
    border: none;
    cursor: pointer;
  }
  /* posicionar as setas fora da imagem, bem nos cantos esquerdo/direito */
  .carousel-arrow.prev { left: -18px; z-index: 60; }
  .carousel-arrow.next { right: -18px; z-index: 60; }
  /* Reduzir a área visível das setas em telas muito pequenas */
  @media (max-width: 420px) {
    .carousel-arrow { width: 36px; height: 36px; font-size: 20px; }
  }
}

/* Garantir que grid-fixed seja compatível com o layout do showcase */
.showcase-section .grid-fixed { gap: 1.25rem; }

/* helper para setas: manter visíveis em telas pequenas (removida regra de ocultar) */

/* ----------------- Recomendações Exclusivas ----------------- */
.recommendations-section {
  background: linear-gradient(135deg, #000000 0%, #39679e 100%);
  color: #ffffff;
  font-family: 'Montserrat', system-ui, sans-serif;
  /* dimensão fixa solicitada */
  height: 770px;
  display: flex;
  align-items: center; /* centraliza verticalmente */
  justify-content: center; /* centraliza horizontalmente */
  padding: 0; /* remover padding extra para altura exata */
}

/* Container interno com tamanho exato: 1224 x 720 */
.recommendations-section .max-w-7xl {
  width: 100%;
  max-width: 1324px;
  height: 770px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

/* Fallback responsivo: em telas menores que 1224px usar largura 100% e altura automática */
@media (max-width: 1224px) {
  .recommendations-section {
    height: auto;
    padding: 3rem 0;
  }
  .recommendations-section .max-w-7xl {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding-inline: 1rem;
  }
}

.rec-title {
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  margin: 0 0 0.5rem 0;
  text-align: center;
}

.rec-intro {
  color: #55a3f7;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  margin: 0 0 1.5rem 0;
  text-align: center;
}

.rec-grid { 
  align-items: start;
  display: flex;
  gap: 1.5rem;
  flex-wrap: nowrap; /* mantém os cards lado a lado */
  overflow-x: auto; /* permite rolagem horizontal em telas pequenas */
  padding-bottom: 6px; /* espaço para a barra de rolagem quando aparecer */
  justify-content: flex-start;
}

/* Animação slideIn para toda a section 3 (recomendações) */
.rec-title{
  animation: slideIn 700ms ease 0.1s both;
}
.rec-intro{
  animation: slideIn 800ms ease 0.15s both;
}
#rec-grid{
  animation: slideIn 900ms ease 0.2s both;
}
/* animação individual para os cards com delay escalonado */
#rec-grid .rec-card{
  animation: slideIn 700ms ease both;
  animation-fill-mode: both;
}
#rec-grid .rec-card:nth-child(1){ animation-delay: 0.25s; }
#rec-grid .rec-card:nth-child(2){ animation-delay: 0.35s; }
#rec-grid .rec-card:nth-child(3){ animation-delay: 0.45s; }

/* esconder scrollbar visual (track) para rec-grid */
.rec-grid {
  -ms-overflow-style: none; /* IE 10+ */
  scrollbar-width: none; /* Firefox */
}
.rec-grid::-webkit-scrollbar { height: 0; display: none; }

.rec-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  flex: 0 0 400px; /* largura fixa para manter lado a lado */
}

.rec-image {
  width: 400px;
  height: 280px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.rec-card-title {
  color: #55a3f7;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  margin: 6px 0 0 0;
  word-break: normal; /* evitar quebra no meio da palavra */
  overflow-wrap: normal;
}

.rec-card-sub {
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  margin: 6px 0 8px 0;
  word-break: normal; /* evitar quebra no meio da palavra */
  overflow-wrap: normal;
}

.rec-buy {
  background: #55a3f7;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  padding: 10px 16px;
  border-radius: 14px;
  border: 0 solid #55a3f7; /* espessura 0 conforme solicitado */
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 120ms ease;
}

.rec-buy:hover {
  background: #71aef0;
  color: #ffffff;
  border: 0; 
  transform: translateY(-2px);
}

/* Garantir que os links 'Garantir agora' na seção de Recomendações não
   exibam sublinhado em nenhum estado (link/visited/hover/focus) */
.recommendations-section .rec-buy,
.recommendations-section .rec-buy:link,
.recommendations-section .rec-buy:visited,
.recommendations-section .rec-buy:hover,
.recommendations-section .rec-buy:focus {
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rec-footer {
  color: #55a3f7;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  text-align: center;
  margin-top: 1.75rem;
}

@media (max-width: 768px) {
  .rec-title { font-size: 32px; text-align: center; }
  .rec-intro { text-align: center; }
  .rec-card { align-items: center; }
}

/* Em mobile, garantir que a grade comece à esquerda e tenha padding interno
   para que o primeiro card fique visível e alinhado com a margem da página */
@media (max-width: 768px) {
  .rec-grid { justify-content: flex-start; padding-left: 24px; box-sizing: content-box; }
}

/* estilos para os botões de navegação da grade */
.rec-grid-wrap { position: relative; display: flex; align-items: center; }
.rec-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 40; background: rgba(0,0,0,0.45); color: #fff; border: none; width: 40px; height: 40px; border-radius: 999px; display: none; align-items: center; justify-content: center; cursor: pointer; }
.rec-prev { left: -12px; }
.rec-next { right: -12px; }

/* mostrar botões apenas no modo responsivo */
@media (max-width: 768px) {
  .rec-nav { display: flex; }
}

@media (max-width: 768px) {
  /* em mobile cada card ocupa quase toda a viewport para evitar cortes e garantir alinhamento */
  .rec-card { flex: 0 0 calc(100vw - 48px); max-width: calc(100vw - 48px); }
  .rec-image { width: 100%; height: auto; max-width: 100%; }
  /*.rec-image { width: 100%; max-width: 100%; height: auto; aspect-ratio: 400 / 280; object-fit: cover; }

  /* Posiciona as setas SOBRE a imagem, mais próximas do centro (dentro da imagem) */
  .rec-grid-wrap { position: relative; }
  .rec-nav {
    background: rgba(57,103,158,0.65); /* #39679e com leve transparência (apenas mobile) */
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 60;
    border-radius: 999px;
  }
  /* aproximar as setas para mais próximo do canto da imagem */
  .rec-prev { left: 6%; }
  .rec-next { right: 6%; }
  @media (max-width: 420px) {
    .rec-prev { left: 4%; }
    .rec-next { right: 4%; }
    .rec-nav { width: 36px; height: 36px; }
  }
}

/* Hover/feedback visual para desktop: pequeno zoom nas imagens das recomendações */
@media (min-width: 769px) {
  .rec-card .desktop-only {
    display: block;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .rec-card .desktop-only .rec-image {
    transition: transform 260ms cubic-bezier(.22,.9,.32,1), box-shadow 260ms ease;
    transform-origin: center center;
    will-change: transform;
    display: block;
  }

  .rec-card .desktop-only:hover .rec-image,
  .rec-card .desktop-only:focus .rec-image {
    transform: scale(1.06);
    box-shadow: 0 18px 40px rgba(0, 255, 242, 0.28);
  }

  .rec-card .desktop-only:focus {
    outline: 3px solid rgba(57,103,158,0.22);
    outline-offset: 6px;
  }
}

@media (max-width: 420px) {
  .rec-prev, .rec-next { width: 36px; height: 36px; }
}

/* ----------------- Monetização (4ª seção) ----------------- */
.monetization-section {
  background: linear-gradient(135deg, #000000 0%, #39679e 100%);
  color: #ffffff;
  font-family: 'Montserrat', system-ui, sans-serif;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0; /* altura fixa abaixo no container */
}

.monet-wrap {
  width: 1224px;
  max-width: 1224px;
  height: 820px;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center; /* centra verticalmente o conteúdo */
  justify-content: center; /* centra horizontalmente o grid se necessário */
  padding: 40px 0 60px; /* desloca levemente para baixo */
  overflow: hidden;
}

.monet-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 24px; /* altura da linha conforme solicitado */
  column-gap: 16px;
  row-gap: 16px; /* espaçamento entre linhas */
  height: 100%;
  align-items: center; /* centraliza verticalmente os itens */
  align-content: center; /* centra a grade inteira verticalmente dentro do container */
}

.monet-content {
  font-family: 'Montserrat', sans-serif;
  padding: 8px 18px;
  box-sizing: border-box;
  align-self: center; /* centra o bloco de texto verticalmente */
}

.monet-button-wrap {
  text-align: center; /* centraliza apenas o botão */
  margin-top: 28px; /* separa o botão das frases */
}

.monet-content .cta-button {
  display: inline-block;
}

/* Aumenta a largura do botão apenas na seção de monetização (desktop).
   Em telas menores o botão vira largura total para responsividade. */
.monet-button-wrap .cta-button {
  min-width: 400px;
  max-width: 520px;
  width: auto;
  padding: 14px 28px;
  font-size: 16px;
}

@media (max-width: 1224px) {
  .monet-button-wrap .cta-button {
    min-width: 0;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }
}

/* garantir que, quando o botão estiver fora do bloco de texto, ocupe a linha inteira e fique centralizado */
.monet-grid .monet-button-wrap.mobile-only {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 20px;
}

.monet-title {
  font-size: 40px;
  line-height: 1.05;
  margin: 0 0 12px 0;
  font-weight: 400; /* remover negrito conforme solicitado */
  hyphens: none; /* evitar hifenização */
}
.monet-title-white { color: #ffffff; }
.monet-title-blue { color: #55a3f7; display: block; white-space: nowrap; word-break: normal; overflow-wrap: normal; }

.monet-desc {
  color: #ffffff;
  font-size: 16px;
  margin-top: 8px;
}
.monet-cta {
  color: #55a3f7;
  font-size: 14px;
  margin-top: 10px;
}

.monet-image {
  align-self: center;
  display: flex;
  padding: 0 12px;
}
.monet-image-inner img {
  width: 478px;
  height: 479px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.monet-image-inner::after {
  content: '';
  position: absolute;
}
.monet-image-inner { position: relative; }
.monet-image-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.02); /* sobreposição 2% */
  border-radius: 16px;
  pointer-events: none;
}

/* Animação slideIn para a seção 4 (monetização) */
.monet-title{
  animation: slideIn 700ms ease 0.10s both;
}
.monet-desc{
  animation: slideIn 800ms ease 0.15s both;
}
.monet-content .monet-cta,
.monet-cta{
  animation: slideIn 850ms ease 0.18s both;
}
.monet-button-wrap{
  animation: slideIn 900ms ease 0.20s both;
}
.monet-image-inner{
  animation: slideIn 1000ms ease 0.25s both;
}
.monet-image-inner img{
  animation: slideIn 1100ms ease 0.28s both;
}

/* tornar elementos arrastáveis (visual hint) */
.draggable { cursor: move; touch-action: none; }

/* responsividade fallback: em telas menores usa largura 100% e altura automática */
@media (max-width: 1224px) {
  .monet-wrap { width: 100%; max-width: 100%; height: auto; padding: 32px 12px; }
  .monet-grid { grid-auto-rows: auto; row-gap: 12px; column-gap: 12px; }
  .monet-image-inner img { width: 100%; height: auto; max-width: 478px; }
  .monet-title { font-size: 28px; }
  .monet-title-blue { white-space: normal; }
}

/* Separadores horizontais dentro do bloco de conteúdo */
.monet-desc {
  color: #ffffff;
  font-size: 16px;
  margin-top: 24px; /* espaçamento maior entre título e descrição */
}
.monet-cta {
  color: #55a3f7;
  font-size: 14px;
  margin-top: 20px; /* espaçamento entre descrição e CTA */
}

@media (max-width: 768px) {
  .monet-desc { margin-top: 16px; }
  .monet-cta { margin-top: 12px; }
}

/* Forçar layout centralizado igual à section 3 (showcase) no mobile */
@media (max-width: 768px) {
  /* usar flex para empilhar e centralizar conteúdo */
  .monet-grid { display: flex !important; flex-direction: column; align-items: center; gap: 18px; }

  /* garantir que qualquer grid-column inline seja sobrescrito */
  .monet-content, .monet-image, .monet-button-wrap { grid-column: 1 / -1 !important; width: 100%; max-width: 640px; box-sizing: border-box; }

  .monet-content { text-align: center; padding: 0 12px; order: 0; }
  /* esconder cta presente no bloco de texto para evitar duplicação no mobile */
  .monet-content .monet-cta { display: none; }
  .monet-title { font-size: 1.25rem; line-height: 1.25; font-weight: 750; }
  .monet-desc { font-size: 16px; margin-top: 12px; }
  .monet-cta { margin-top: 10px; }

  .monet-image { order: 1; display: flex !important; justify-content: center; padding: 0 12px; }
  .monet-image-inner img { width: 100% !important; max-width: none; height: calc(60vh); object-fit: cover; border-radius: 12px; display: block; }

  .monet-button-wrap { order: 2; display: flex !important; justify-content: center; padding: 12px; }
  .monet-button-wrap.desktop-only { display: none !important; }
  .monet-button-wrap.mobile-only { display: flex !important; }
  .monet-button-wrap.mobile-only .cta-button { width: 100%; max-width: 260px; padding: 14px 20px; font-size: 16px; border-radius: 12px; }

  /* aumentar espaço para evitar cortes */
  .monet-wrap { padding-top: 3rem; padding-bottom: 3rem; }
}
  